.weekly-featured-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(42px, 7vw, 96px);
  padding-top: clamp(92px, 10vw, 148px);
  padding-bottom: clamp(86px, 9vw, 136px);
  background:
    radial-gradient(ellipse at 82% 22%, rgba(255, 255, 255, 0.95), transparent 42%),
    radial-gradient(ellipse at 18% 24%, rgba(200, 162, 74, 0.18), transparent 40%),
    radial-gradient(ellipse at 54% 74%, rgba(167, 122, 36, 0.13), transparent 54%),
    linear-gradient(180deg, rgba(255, 253, 248, 0) 0%, rgba(239, 230, 216, 0.5) 15%, rgba(255, 248, 236, 0.82) 54%, rgba(255, 253, 248, 0) 100%);
  box-shadow:
    inset 0 1px 0 rgba(200, 162, 74, 0.16),
    inset 0 -1px 0 rgba(200, 162, 74, 0.1);
}

.weekly-featured-section::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - clamp(40px, 10vw, 144px)));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 74, 0.58), transparent);
  content: "";
  transform: translateX(-50%);
}

.weekly-featured-section::after {
  position: absolute;
  z-index: 0;
  inset: clamp(58px, 8vw, 104px) 0 auto;
  height: min(560px, 52vw);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.76), transparent 54%),
    radial-gradient(ellipse at 50% 58%, rgba(200, 162, 74, 0.16), transparent 68%);
  filter: blur(2px);
  content: "";
  pointer-events: none;
}

.weekly-featured-heading {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(100%, 1320px);
  margin: 0 auto clamp(38px, 4.5vw, 64px);
  padding-bottom: clamp(14px, 2vw, 24px);
}

.weekly-featured-heading > div {
  display: grid;
  width: 100%;
  max-width: 820px;
  min-width: 0;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(10px, 1.25vw, 16px);
}

.weekly-featured-heading .eyebrow {
  grid-column: auto;
}

.weekly-featured-heading h2 {
  grid-column: auto;
  min-width: 0;
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.1rem, 4.15vw, 3.95rem);
  line-height: 0.98;
  text-wrap: balance;
}

.weekly-featured-heading::after {
  display: block;
  width: clamp(96px, 10vw, 150px);
  height: 1px;
  margin-top: clamp(20px, 2.6vw, 30px);
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.86), rgba(200, 162, 74, 0));
  content: "";
}

.weekly-featured-heading p:not(.eyebrow) {
  grid-column: auto;
  min-width: 0;
  max-width: 660px;
  margin: 0;
  color: rgba(17, 17, 17, 0.72);
  line-height: 1.64;
}

.weekly-featured-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(18px, 2.5vw, 34px);
}

.weekly-featured-grid::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(200, 162, 74, 0.16);
  border-radius: clamp(34px, 4vw, 58px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 253, 248, 0.2));
  box-shadow:
    0 42px 110px rgba(167, 122, 36, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  content: "";
}

.featured-profile-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 154, 69, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 248, 0.96)),
    #ffffff;
  box-shadow:
    0 28px 78px rgba(17, 17, 17, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.featured-profile-card.is-spotlight {
  border-color: rgba(200, 162, 74, 0.5);
  box-shadow:
    0 34px 92px rgba(17, 17, 17, 0.11),
    0 18px 44px rgba(167, 122, 36, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.featured-profile-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(180deg, rgba(200, 162, 74, 0.1), transparent 42%);
}

.featured-profile-card:hover {
  border-color: var(--gold);
  box-shadow:
    0 34px 92px rgba(17, 17, 17, 0.12),
    0 18px 44px rgba(167, 122, 36, 0.1);
  transform: translateY(-5px);
}

.featured-profile-card.is-spotlight:hover {
  box-shadow:
    0 40px 106px rgba(17, 17, 17, 0.14),
    0 22px 54px rgba(167, 122, 36, 0.14);
}

.featured-profile-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.2 / 1;
  background: var(--beige);
}

.featured-profile-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.26));
  content: "";
  pointer-events: none;
}

.featured-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 700ms ease,
    transform 900ms ease;
}

.featured-profile-slides {
  position: absolute;
  inset: 0;
  display: block;
}

.featured-profile-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
}

.featured-profile-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.featured-profile-card:hover .featured-profile-slide.is-active {
  transform: scale(1.035);
}

.featured-profile-ribbon {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(12px);
  color: #fffdf8;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-profile-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px);
}

.featured-profile-kicker,
.featured-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.featured-profile-category {
  border-color: var(--category-color, var(--gold));
  background: var(--category-color, var(--gold));
  color: var(--category-text, #111111);
}

.featured-profile-location {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.featured-profile-location .badge-icon {
  width: 18px;
  height: 18px;
  margin-right: 0;
}

.featured-profile-location .badge-icon svg {
  width: 15px;
  height: 15px;
}

.featured-profile-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.05;
}

.featured-profile-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.featured-profile-rating {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(200, 162, 74, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--text);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(167, 122, 36, 0.08);
}

.featured-profile-meta {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 12px 0;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 850;
}

.featured-profile-meta span:not(:last-child)::after {
  content: " · ";
  color: var(--gold-dark);
  font-weight: 900;
  padding-left: 8px;
}

.featured-profile-description {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.featured-profile-card .small-button {
  width: fit-content;
}

.featured-profile-cta {
  min-height: 42px;
  gap: 8px;
  border-color: rgba(200, 162, 74, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.88));
  box-shadow: 0 12px 28px rgba(167, 122, 36, 0.08);
}

.featured-profile-cta span {
  transition: transform 180ms ease;
}

.featured-profile-card:hover .featured-profile-cta {
  border-color: var(--gold);
  background: var(--text);
  color: #fffdf8;
}

.featured-profile-card:hover .featured-profile-cta span {
  transform: translateX(3px);
}

@media (min-width: 1600px) {
  .weekly-featured-grid {
    align-items: stretch;
  }

  .featured-profile-card {
    grid-template-rows: auto 1fr;
  }

  .featured-profile-body {
    grid-template-rows: auto minmax(4.8rem, auto) auto minmax(5.25rem, auto) auto;
    height: 100%;
  }

  .featured-profile-title-row {
    min-height: 4.8rem;
    align-items: start;
  }

  .featured-profile-card h3 {
    max-width: 100%;
  }

  .featured-profile-rating {
    margin-top: 2px;
  }

  .featured-profile-description {
    min-height: 5.25rem;
  }

  .featured-profile-cta {
    align-self: end;
    margin-top: auto;
  }
}

@media (max-width: 1120px) {
  .weekly-featured-heading > div {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .weekly-featured-heading h2,
  .weekly-featured-heading p:not(.eyebrow) {
    grid-column: auto;
  }

  .weekly-featured-heading h2 {
    max-width: 820px;
  }

  .weekly-featured-heading p:not(.eyebrow) {
    max-width: 660px;
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .weekly-featured-heading > div {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .weekly-featured-heading h2,
  .weekly-featured-heading p:not(.eyebrow) {
    grid-column: auto;
  }

  .weekly-featured-heading p:not(.eyebrow) {
    max-width: 660px;
    margin-top: 0;
  }

  .weekly-featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-profile-card {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  }

  .featured-profile-image {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (max-width: 720px) {
  .weekly-featured-section {
    margin-top: 28px;
    padding-top: 76px;
    padding-bottom: 70px;
    background:
      radial-gradient(ellipse at 50% 24%, rgba(200, 162, 74, 0.14), transparent 46%),
      linear-gradient(180deg, rgba(255, 253, 248, 0) 0%, rgba(239, 230, 216, 0.42) 18%, rgba(255, 248, 236, 0.62) 54%, rgba(255, 253, 248, 0) 100%);
  }

  .weekly-featured-section::after {
    inset: 54px 0 auto;
    height: 360px;
    opacity: 0.62;
  }

  .weekly-featured-heading {
    margin-bottom: 28px;
    padding-bottom: 12px;
  }

  .weekly-featured-heading::after {
    width: 104px;
    margin-top: 20px;
  }

  .weekly-featured-heading h2 {
    white-space: normal;
  }

  .weekly-featured-grid {
    gap: 16px;
    padding: 14px;
  }

  .weekly-featured-grid::before {
    border-radius: 30px;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.72), transparent 48%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 253, 248, 0.16));
    box-shadow: 0 24px 70px rgba(167, 122, 36, 0.08);
  }

  .featured-profile-card {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .featured-profile-card.is-spotlight {
    box-shadow:
      0 28px 78px rgba(17, 17, 17, 0.1),
      0 12px 34px rgba(167, 122, 36, 0.08);
  }

  .featured-profile-image {
    height: clamp(240px, 62vw, 270px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .featured-profile-body {
    gap: 9px;
    padding: 18px;
  }

  .featured-profile-ribbon {
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    font-size: 0.66rem;
  }

  .featured-profile-kicker {
    gap: 6px;
  }

  .featured-profile-category,
  .featured-profile-location {
    min-height: 27px;
    padding: 5px 9px 5px 7px;
    font-size: 0.72rem;
  }

  .featured-profile-location .badge-icon {
    width: 16px;
    height: 16px;
  }

  .featured-profile-location .badge-icon svg {
    width: 13px;
    height: 13px;
  }

  .featured-profile-card h3 {
    font-size: clamp(2rem, 8.4vw, 2.35rem);
    line-height: 1.01;
  }

  .featured-profile-title-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .featured-profile-rating {
    width: fit-content;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .featured-profile-meta {
    gap: 4px 0;
    padding: 9px 0;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .featured-profile-meta span:not(:last-child)::after {
    padding: 0 6px;
  }

  .featured-profile-card .small-button {
    min-height: 36px;
    padding: 7px 14px;
  }

  .featured-profile-description {
    min-height: 0;
    line-height: 1.52;
  }
}
