/* Gold restyle for the legacy generated pages (blog articles, FAQ, sourcing guide). Scoped to body.kc-legacy. */
.kc-legacy { background: var(--kc-paper); color: var(--kc-ink); }
.kc-legacy .container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.kc-legacy .section { padding: 72px 0; }
.kc-legacy .section-alt { background: var(--kc-cream); }
.kc-legacy .section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.kc-legacy h1, .kc-legacy h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-variant-numeric: lining-nums; line-height: 1.1; color: var(--kc-ink); }
.kc-legacy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 14px; }
.kc-legacy h3 { color: var(--kc-ink); }
.kc-legacy p { line-height: 1.7; }
.kc-legacy main a { color: #1a4f94; }
.kc-legacy .eyebrow { margin: 0 0 12px; color: #8a5f10; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kc-legacy .text-center { text-align: center; }
.kc-legacy .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 18px 0 0; color: var(--kc-muted); font-size: .85rem; }
.kc-legacy .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--kc-muted); text-decoration: none; }
.kc-legacy .breadcrumb a:hover { color: var(--kc-ink); text-decoration: underline; }

/* Buttons */
.kc-legacy .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 99px; font-weight: 700; text-decoration: none; cursor: pointer; }
.kc-legacy .btn-primary { color: var(--kc-ink); background: var(--kc-gold); border-color: var(--kc-gold); }
.kc-legacy .btn-primary:hover { background: #e2b45c; }
.kc-legacy .btn-outline-light, .kc-legacy .btn-ghost-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.kc-legacy .btn-outline-light:hover, .kc-legacy .btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.kc-legacy .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kc-legacy .actions.center { justify-content: center; }

/* Page hero (FAQ, sourcing) */
.kc-legacy .page-hero { position: relative; display: flex; align-items: center; min-height: 340px; padding: 80px 0; color: #fff; background: linear-gradient(90deg, rgba(5,15,31,.9), rgba(5,15,31,.55)), var(--hero) center / cover no-repeat, var(--kc-navy); }
.kc-legacy .page-hero h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.kc-legacy .page-hero .eyebrow { color: var(--kc-gold); }
.kc-legacy .page-hero p { max-width: 640px; margin: 16px 0 0; color: #dbe5f1; font-size: 1.08rem; }

/* FAQ */
.kc-legacy .faq-container { max-width: 860px; }
.kc-legacy .faq-list { border-top: 1px solid var(--kc-line); }
.kc-legacy .faq-list details { border-bottom: 1px solid var(--kc-line); }
.kc-legacy .faq-list summary { display: flex; align-items: center; min-height: 58px; padding: 8px 0; color: var(--kc-ink); font-weight: 700; cursor: pointer; }
.kc-legacy .faq-list p { margin: 0 0 18px; color: var(--kc-muted); }
.kc-legacy .faq-cta { margin-top: 40px; padding: 32px; text-align: center; background: var(--kc-cream); border-radius: 16px; }
.kc-legacy .faq-cta p { margin: 0 0 16px; font-weight: 700; }

/* Sourcing guide */
.kc-legacy .sourcing-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.kc-legacy .sourcing-step { display: flex; gap: 20px; padding: 26px; background: #fff; border: 1px solid var(--kc-line); border-radius: 14px; }
.kc-legacy .sourcing-step-n { flex: none; color: #8a5f10; font-size: .85rem; font-weight: 800; letter-spacing: .14em; }
.kc-legacy .sourcing-step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.kc-legacy .sourcing-step p { margin: 0; color: var(--kc-muted); font-size: .94rem; }
.kc-legacy .sourcing-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kc-legacy .sourcing-article-card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--kc-line); border-radius: 14px; }
.kc-legacy .sac-tag { color: #8a5f10; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kc-legacy .sourcing-article-card h3 { margin: 10px 0; font-size: 1.1rem; line-height: 1.3; }
.kc-legacy .sourcing-article-card h3 a { color: var(--kc-ink); text-decoration: none; }
.kc-legacy .sourcing-article-card p { margin: 0 0 14px; color: var(--kc-muted); font-size: .92rem; }
.kc-legacy .sac-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.kc-legacy .dark-cta, .kc-legacy .global-cta { padding: 80px 0; color: #fff; text-align: center; background: var(--kc-navy-2); }
.kc-legacy .dark-cta h2, .kc-legacy .global-cta h2 { color: #fff; }
.kc-legacy .dark-cta p, .kc-legacy .global-cta p { max-width: 640px; margin: 0 auto; color: #cbd8e8; }
.kc-legacy .dark-cta .eyebrow, .kc-legacy .global-cta .eyebrow { color: var(--kc-gold); }
.kc-legacy .global-cta .actions, .kc-legacy .dark-cta .actions { margin-top: 28px; }

/* Blog article */
.kc-legacy .blog-article-header { padding: 36px 0 12px; }
.kc-legacy .blog-article-header-inner > * { max-width: 820px; }
.kc-legacy .blog-article-header h1 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.kc-legacy .blog-meta { margin: 14px 0 0; color: var(--kc-muted); font-size: .9rem; }
.kc-legacy .article-layout { display: grid; grid-template-columns: minmax(0, 800px) 280px; gap: 64px; align-items: start; padding-bottom: 48px; }
.kc-legacy .blog-hero-img { margin: 12px 0 28px; overflow: hidden; background: #fff; border: 1px solid var(--kc-line); border-radius: 18px; }
.kc-legacy .blog-hero-img img, .kc-legacy .blog-img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; }
.kc-legacy .article-quick-answer { margin: 0 0 28px; padding: 20px 24px; background: var(--kc-cream); border-left: 4px solid var(--kc-gold); border-radius: 10px; }
.kc-legacy .quick-answer-label, .kc-legacy .toc-label { color: #8a5f10; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kc-legacy .article-quick-answer p { margin: 6px 0 0; color: var(--kc-ink); }
.kc-legacy .article-quick-answer ul { margin: 10px 0 0; padding-left: 20px; }
.kc-legacy .article-quick-answer li { margin: 6px 0; color: var(--kc-ink); line-height: 1.65; }
.kc-legacy .kc-table-wrap { margin: 0 0 8px; overflow-x: auto; border: 1px solid var(--kc-line); border-radius: 12px; background: #fff; }
.kc-legacy .kc-table-wrap table { min-width: 560px; }
.kc-legacy .kc-table-wrap thead th { background: var(--kc-cream); color: #8a5f10; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.kc-legacy .kc-table-wrap tbody th { color: var(--kc-ink); font-weight: 700; }
.kc-legacy .kc-table-wrap tbody tr:last-child th, .kc-legacy .kc-table-wrap tbody tr:last-child td { border-bottom: 0; }
.kc-legacy .article-faq h3 { margin: 22px 0 6px; font-size: 1.08rem; }
.kc-legacy .article-faq p { margin: 0; }
.kc-legacy .blog-content { font-size: 1.04rem; }
.kc-legacy .blog-content p, .kc-legacy .blog-content li { line-height: 1.8; color: #26374d; }
.kc-legacy .blog-content h2 { margin: 44px 0 14px; font-size: 2rem; }
.kc-legacy .blog-content h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.kc-legacy .blog-content img { max-width: 100%; height: auto; border-radius: 12px; }
.kc-legacy .blog-content table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.kc-legacy .blog-content th, .kc-legacy .blog-content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--kc-line); }
.kc-legacy .article-toc { position: sticky; top: 100px; padding: 20px; background: #fff; border: 1px solid var(--kc-line); border-radius: 14px; }
.kc-legacy .article-toc ul { margin: 10px 0 0; padding: 0; list-style: none; }
.kc-legacy .article-toc a { display: block; padding: 6px 0; color: var(--kc-muted); font-size: .88rem; line-height: 1.4; text-decoration: none; }
.kc-legacy .article-toc a:hover { color: var(--kc-ink); }
.kc-legacy .blog-article-cta { margin: 36px 0 0; padding: 22px 26px; background: var(--kc-cream); border-radius: 12px; }
.kc-legacy .blog-article-cta p { margin: 0; }
.kc-legacy .blog-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.kc-legacy .blog-prev, .kc-legacy .blog-next-right { padding: 18px 20px; background: #fff; border: 1px solid var(--kc-line); border-radius: 12px; font-size: .92rem; }
.kc-legacy .blog-next-right { text-align: right; }
.kc-legacy .blog-prev span, .kc-legacy .blog-next-right span { display: block; margin-bottom: 4px; color: var(--kc-muted); font-size: .78rem; font-weight: 700; }
.kc-legacy .article-further-reading { background: var(--kc-cream); }
.kc-legacy .article-further-reading .section-head { margin-bottom: 24px; text-align: left; }
.kc-legacy .article-fr-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kc-legacy .article-fr-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; color: var(--kc-ink); text-decoration: none; background: #fff; border: 1px solid var(--kc-line); border-radius: 14px; }
.kc-legacy .article-fr-card strong { color: var(--kc-ink); }
.kc-legacy .article-fr-card span:not(.article-fr-tag) { color: var(--kc-muted); font-size: .9rem; line-height: 1.55; }
.kc-legacy .article-fr-tag { color: #8a5f10; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 900px) {
  .kc-legacy .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .kc-legacy .article-toc { position: static; order: -1; }
  .kc-legacy .sourcing-articles-grid, .kc-legacy .article-fr-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .kc-legacy .container { width: calc(100% - 32px); }
  .kc-legacy .section { padding: 52px 0; }
  .kc-legacy .page-hero { min-height: 280px; padding: 56px 0; }
  .kc-legacy .sourcing-steps, .kc-legacy .blog-nav { grid-template-columns: minmax(0, 1fr); }
  .kc-legacy .blog-next-right { text-align: left; }
}
.kc-legacy main .btn-primary, .kc-legacy main .btn-primary:hover { color: var(--kc-ink); }
.kc-legacy main .btn-outline-light, .kc-legacy main .btn-ghost-light { color: #fff; }
.kc-legacy main .sourcing-article-card h3 a, .kc-legacy main .article-fr-card, .kc-legacy main .article-toc a { color: inherit; }
.kc-legacy main .article-toc a { color: var(--kc-muted); }
.kc-legacy .blog-figure { margin: 8px 0 28px; }
.kc-legacy .blog-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.kc-legacy .blog-figure figcaption { margin-top: 8px; color: var(--kc-muted); font-size: .85rem; line-height: 1.5; }
.kc-legacy .blog-figure-portrait { max-width: 340px; margin-left: auto; margin-right: auto; }
