/*
 * Quick Link Card — skin-aware molecule per al component quick-links.
 * Costa: il·lustració gran (h-32 w-32) + hover scale-110.
 * Terres: icona compacta (h-12 w-12) + card bg-light hover + rounded-3xl.
 */

.quick-link-card {
  text-decoration: none;
  color: inherit;
}

.qlc-title {
  font-size: 1.25rem;
  color: rgb(var(--brand-primary, 4 36 64));
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.qlc-description {
  font-size: 0.875rem;
  color: rgb(var(--neutral-text-muted, 75 85 99));
  line-height: 1.5;
  max-width: 18rem;
}

.qlc-description-hide-mobile {
  display: none;
}
@media (min-width: 768px) {
  .qlc-description-hide-mobile {
    display: block;
  }
}

/* ===========================================
   Skin Costa: il·lustració SVG h-32 + scale hover
   =========================================== */

.qlc-costa,
body.theme-costa .quick-link-card:not(.qlc-terres) {
  padding: 1rem;
}

.qlc-costa .qlc-illustration,
body.theme-costa .quick-link-card:not(.qlc-terres) .qlc-illustration {
  width: 8rem;
  height: 8rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.qlc-costa.group:hover .qlc-illustration,
body.theme-costa .quick-link-card.group:hover:not(.qlc-terres) .qlc-illustration {
  transform: scale(1.1);
}

.qlc-costa .qlc-illustration-img,
body.theme-costa .quick-link-card:not(.qlc-terres) .qlc-illustration-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qlc-costa .qlc-icon-wrap,
body.theme-costa .quick-link-card:not(.qlc-terres) .qlc-icon-wrap {
  width: 8rem;
  height: 8rem;
  margin-bottom: 1.5rem;
  color: rgb(var(--brand-primary, 4 36 64));
  transition: transform 0.3s ease;
}
.qlc-costa.group:hover .qlc-icon-wrap,
body.theme-costa .quick-link-card.group:hover:not(.qlc-terres) .qlc-icon-wrap {
  transform: scale(1.1);
}
.qlc-costa .qlc-icon,
body.theme-costa .quick-link-card:not(.qlc-terres) .qlc-icon {
  font-size: 5rem;
}

.qlc-costa.group:hover .qlc-title,
body.theme-costa .quick-link-card.group:hover:not(.qlc-terres) .qlc-title {
  color: rgb(var(--brand-accent, 255 215 0));
}

/* ===========================================
   Skin Terres: icona h-12 + card hover bg-light + rounded-3xl
   =========================================== */

.qlc-terres,
body.theme-terres .quick-link-card:not(.qlc-costa) {
  padding: 1rem;
  border-radius: 1.5rem;
  transition: background-color 0.3s ease;
}

.qlc-terres.group:hover,
body.theme-terres .quick-link-card.group:hover:not(.qlc-costa) {
  background-color: rgb(var(--neutral-bg, 240 240 240));
}

.qlc-terres .qlc-icon-wrap,
body.theme-terres .quick-link-card:not(.qlc-costa) .qlc-icon-wrap {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: rgb(var(--brand-primary, 6 115 153));
  transition: color 0.3s ease;
}
.qlc-terres .qlc-icon,
body.theme-terres .quick-link-card:not(.qlc-costa) .qlc-icon {
  font-size: 3rem;
}
.qlc-terres.group:hover .qlc-icon-wrap,
body.theme-terres .quick-link-card.group:hover:not(.qlc-costa) .qlc-icon-wrap {
  color: rgb(var(--brand-accent, 128 186 39));
}

.qlc-terres .qlc-illustration,
body.theme-terres .quick-link-card:not(.qlc-costa) .qlc-illustration {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}
.qlc-terres .qlc-illustration-img,
body.theme-terres .quick-link-card:not(.qlc-costa) .qlc-illustration-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
