/* =========================================================
   Article Detail V1 — unified editorial article page
   ========================================================= */

.site-main > article.article-v1-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.article-v1-page {
  overflow: hidden;
  background: #fff;
  color: #3d3d3d;
}

.article-v1-page *,
.article-v1-page *::before,
.article-v1-page *::after {
  box-sizing: border-box;
}

.article-v1-container {
  width: min(1500px, calc(100% - 40px));
  margin-inline: auto;
}

.article-v1-container--reading {
  width: min(940px, calc(100% - 48px));
}

/* Hero ----------------------------------------------------- */

.article-v1-hero {
  padding: clamp(58px, 6.5vw, 92px) 0;
  color: #fff;
  background: radial-gradient(
    circle at 50% 35%,
    #6e6e6e 0%,
    #565656 38%,
    #4f4f4f 72%,
    #474747 100%
  );
}

.article-v1-hero__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
}

.article-v1-hero__grid--single {
  grid-template-columns: minmax(0, 980px);
}

.article-v1-hero__copy {
  min-width: 0;
}

.article-v1-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
}

.article-v1-breadcrumb a {
  color: #ead2a8;
  text-decoration: none;
}

.article-v1-breadcrumb a:hover {
  text-decoration: underline;
}

.article-v1-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-v1-kicker,
.article-v1-heading__kicker {
  margin: 0;
  color: #ead2a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-v1-gold-title {
  margin: 14px 0 0;
  color: #d6b15f;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: clamp(2.35rem, 4.5vw, 4.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  background: linear-gradient(
    105deg,
    #ffdfbc 0%,
    #be8c3c 16%,
    #d3b15f 32%,
    #faf0a0 50%,
    #d3b15f 68%,
    #bb8332 86%,
    #e1b453 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-v1-hero h1.article-v1-gold-title {
  max-width: 900px;
}

.article-v1-gold-title--on-white {
  background-image: linear-gradient(
    105deg,
    #9b6224 0%,
    #be8c3c 22%,
    #d3b15f 42%,
    #a4692a 72%,
    #bb8332 100%
  );
}

.article-v1-date {
  display: block;
  margin-top: 22px;
  color: #dfc28d;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-v1-lead {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.82;
}

.article-v1-hero__media {
  margin: 0;
  overflow: hidden;
  background: #444;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.article-v1-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Divider -------------------------------------------------- */

.article-v1-gold-line {
  height: 2px;
  background: linear-gradient(
    90deg,
    #a2682a 0%,
    #be8c3c 12%,
    #d3b15f 27%,
    #faf0a0 40%,
    #ffffc2 49%,
    #d3b15f 58%,
    #be8c3c 70%,
    #b17b32 80%,
    #d4a245 90%,
    #a4692a 100%
  );
}

/* Editorial body ------------------------------------------ */

.article-v1-body {
  padding: clamp(64px, 7vw, 104px) 0;
  background:
    radial-gradient(
      circle at 15% 8%,
      rgba(190, 140, 60, 0.045),
      transparent 28%
    ),
    #fff;
}

.article-v1-sections {
  display: grid;
  gap: clamp(54px, 6vw, 82px);
}

.article-v1-section {
  min-width: 0;
}

.article-v1-section + .article-v1-section {
  padding-top: clamp(42px, 5vw, 64px);
  border-top: 1px solid #e7e0d6;
}

.article-v1-section > h2,
.article-v1-prose h2 {
  margin: 0 0 24px;
  color: #9a6529;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  font-weight: 500;
  line-height: 1.2;
}

.article-v1-prose {
  color: #444;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.9;
}

.article-v1-prose > *:first-child {
  margin-top: 0;
}

.article-v1-prose > *:last-child {
  margin-bottom: 0;
}

.article-v1-prose p,
.article-v1-prose ul,
.article-v1-prose ol {
  margin: 0 0 1.4em;
}

.article-v1-prose ul,
.article-v1-prose ol {
  padding-left: 1.4em;
}

.article-v1-prose li + li {
  margin-top: 0.55em;
}

.article-v1-prose h2 {
  margin-top: 2.2em;
}

.article-v1-prose h3 {
  margin: 1.9em 0 0.7em;
  color: #8f6028;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
}

.article-v1-prose h4 {
  margin: 1.7em 0 0.65em;
  color: #4b4b4b;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
}

.article-v1-prose a {
  color: #916028;
}

.article-v1-prose a:hover {
  color: #bb8332;
}

.article-v1-prose strong {
  color: #333;
}

.article-v1-prose img {
  display: block;
  width: 100%;
  height: auto;
  margin: 36px 0;
}

.article-v1-prose blockquote {
  margin: 36px 0;
  padding: 22px 26px;
  border-left: 3px solid #bb8332;
  background: #faf7f1;
  color: #555;
}

/*
 * Legacy articles may still contain structural wrappers such
 * as template-page-01 / section-block / card-soft.
 * Inside Article Detail they behave as editorial content, not
 * as a second independent page layout.
 */
.article-v1-prose--legacy .template-page-01,
.article-v1-prose--legacy .template-hero,
.article-v1-prose--legacy .section-block,
.article-v1-prose--legacy .card-soft,
.article-v1-prose--legacy .two-col {
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.article-v1-prose--legacy .section-block + .section-block,
.article-v1-prose--legacy .card-soft + .card-soft {
  margin-top: 42px;
}

.article-v1-prose--legacy .two-col {
  display: block;
}

.article-v1-prose--legacy .template-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 30px;
}

.article-v1-prose--legacy .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #e2d6c5;
  background: #faf7f1;
  color: #77542d;
  font-size: 0.82rem;
}

/* FAQ ------------------------------------------------------ */

.article-v1-faq,
.article-v1-related {
  padding: clamp(60px, 7vw, 92px) 0;
  border-top: 1px solid #eee8df;
  background:
    radial-gradient(
      circle at 82% 72%,
      rgba(164, 105, 42, 0.04),
      transparent 30%
    ),
    #faf9f6;
}

.article-v1-heading {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.article-v1-heading__kicker {
  color: #a4692a;
}

.article-v1-heading .article-v1-gold-title {
  margin-top: 10px;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.article-v1-faq__list {
  border-top: 1px solid #ded6ca;
}

.article-v1-faq__list details {
  border-bottom: 1px solid #ded6ca;
}

.article-v1-faq__list summary {
  position: relative;
  padding: 23px 48px 23px 0;
  color: #3e3e3e;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
  list-style: none;
}

.article-v1-faq__list summary::-webkit-details-marker {
  display: none;
}

.article-v1-faq__list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  color: #bb8332;
  font-size: 1.7rem;
  font-weight: 400;
}

.article-v1-faq__list details[open] summary::after {
  content: "−";
}

.article-v1-faq__answer {
  padding: 0 0 25px;
  color: #555;
  line-height: 1.8;
}

.article-v1-faq__answer > *:first-child {
  margin-top: 0;
}

.article-v1-faq__answer > *:last-child {
  margin-bottom: 0;
}

/* Related -------------------------------------------------- */

.article-v1-related {
  background: #fff;
}

.article-v1-related__group + .article-v1-related__group {
  margin-top: 38px;
}

.article-v1-related__group h3 {
  margin-bottom: 14px;
  color: #8f6028;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.article-v1-related__group ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e3ddd4;
  list-style: none;
}

.article-v1-related__group li {
  border-bottom: 1px solid #e3ddd4;
}

.article-v1-related__group a {
  display: block;
  padding: 15px 0;
  color: #444;
  text-decoration: none;
}

.article-v1-related__group a:hover {
  color: #a4692a;
}

.article-v1-page a:focus-visible,
.article-v1-page summary:focus-visible {
  outline: 3px solid #d3b15f;
  outline-offset: 3px;
}

/* Article CTA --------------------------------------------- */

.article-v1-cta {
  padding: clamp(72px, 8vw, 110px) 0;
  background: radial-gradient(
    circle at 50% 45%,
    #626262 0%,
    #505050 48%,
    #424242 100%
  );
  color: #fff;
  text-align: center;
}

.article-v1-cta .article-v1-gold-title {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.article-v1-cta p {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-v1-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.article-v1-cta .button {
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid #bb8332;
  border-radius: 0;
  background: #bb8332;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.article-v1-cta .button:hover {
  border-color: #a4692a;
  background: #a4692a;
  color: #fff;
  transform: none;
}

.article-v1-cta .button.article-v1-cta__button--outline {
  border-color: rgba(241, 207, 136, 0.78);
  background: transparent;
  color: #f1cf88;
}

.article-v1-cta .button.article-v1-cta__button--outline:hover,
.article-v1-cta .button.article-v1-cta__button--outline:focus-visible {
  border-color: #d3b15f;
  background: #bb8332;
  color: #fff;
}

body:has(.article-v1-page) .site-footer,
body.visual-parity-v1:has(.article-v1-page) .site-footer {
  margin-top: 0;
}

/* Responsive ---------------------------------------------- */

@media (max-width: 980px) {
  .article-v1-hero__grid {
    grid-template-columns: 1fr;
  }

  .article-v1-hero__copy {
    max-width: 860px;
  }

  .article-v1-hero__media {
    max-width: 860px;
  }
}

@media (max-width: 560px) {
  .article-v1-container,
  .article-v1-container--reading {
    width: min(100% - 24px, 1500px);
  }

  .article-v1-hero {
    padding: 50px 0 54px;
  }

  .article-v1-gold-title {
    font-size: clamp(2.05rem, 10vw, 2.85rem);
  }

  .article-v1-hero__media img {
    aspect-ratio: 16 / 10;
  }

  .article-v1-body,
  .article-v1-faq,
  .article-v1-related {
    padding: 54px 0;
  }

  .article-v1-cta {
    padding: 58px 0;
  }

  .article-v1-cta__actions .button {
    width: 100%;
  }

  .article-v1-sections {
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-v1-page *,
  .article-v1-page *::before,
  .article-v1-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.article-v1-lead > * {
  color: inherit;
}

.article-v1-lead > *:first-child {
  margin-top: 0;
}

.article-v1-lead > *:last-child {
  margin-bottom: 0;
}

.article-v1-lead p {
  margin: 0 0 0.8em;
}

.article-v1-lead a {
  color: #f3d79a;
  text-decoration: underline;
}

.article-v1-lead strong {
  color: #fff;
  font-weight: 700;
}

/* Public inline article media */
.article-media-group {
  width: 100%;
  margin: clamp(28px, 4vw, 48px) 0;
}

.article-media-grid {
  display: grid;
  gap: clamp(10px, 1.6vw, 18px);
}

.article-media-grid--cols-1 {
  grid-template-columns: 1fr;
}
.article-media-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.article-media-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.article-media-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-media-card {
  min-width: 0;
  margin: 0;
}

.article-media-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}

.article-media-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.article-media-card__media:hover img {
  transform: scale(1.02);
  filter: brightness(0.94);
}

.article-media-card__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(38, 38, 38, 0.62);
  color: #f2d99a;
  font-size: 22px;
  line-height: 1;
}

.article-media-card figcaption {
  margin-top: 8px;
  color: #777;
  font-size: 12px;
  line-height: 1.55;
}

.article-media-carousel {
  position: relative;
}

.article-media-carousel__track {
  display: grid;
  grid-auto-columns: minmax(240px, 31%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: hidden;
  padding: 2px 52px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.article-media-carousel__track::-webkit-scrollbar {
  display: none;
}

.article-media-carousel__track .article-media-card {
  scroll-snap-align: start;
}

.article-media-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #cfae75;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #8f6028;
  cursor: pointer;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.article-media-carousel__nav--prev {
  left: 0;
}
.article-media-carousel__nav--next {
  right: 0;
}

html.article-media-lightbox-open,
html.article-media-lightbox-open body {
  overflow: hidden;
}

.article-media-lightbox[hidden] {
  display: none !important;
}

.article-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 54px 18px 24px;
  background: rgba(15, 15, 15, 0.96);
}

.article-media-lightbox__stage {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
}

.article-media-lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.article-media-lightbox__stage figcaption {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  text-align: center;
}

.article-media-lightbox__close,
.article-media-lightbox__nav {
  border: 0;
  background: transparent;
  color: #f1d99d;
  cursor: pointer;
}

.article-media-lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 30px;
}

.article-media-lightbox__nav {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  font-size: 42px;
  line-height: 1;
}

@media (max-width: 900px) {
  .article-media-group-settings,
  .article-media-item__action-row {
    grid-template-columns: 1fr;
  }

  .article-media-item {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .article-media-item__actions {
    grid-column: 1 / -1;
  }

  .article-media-grid--cols-3,
  .article-media-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-media-carousel__track {
    grid-auto-columns: minmax(230px, 72%);
  }
}

@media (max-width: 620px) {
  .article-inline-media-manager__head,
  .article-media-group-card__head {
    align-items: stretch;
    flex-direction: column;
  }

  .article-media-item {
    grid-template-columns: 1fr;
  }

  .article-media-item__preview,
  .article-media-item__preview img {
    min-height: 190px;
    height: 190px;
  }

  .article-media-grid--cols-2,
  .article-media-grid--cols-3,
  .article-media-grid--cols-4 {
    grid-template-columns: 1fr;
  }

  .article-media-carousel__track {
    grid-auto-columns: 86%;
    padding-inline: 42px;
  }

  .article-media-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-inline: 6px;
  }
}

