.article-header { position: relative; border-bottom-color: rgba(35, 63, 99, .1); background: #08090b; }
.article-header .site-nav a:hover, .article-header .site-nav a.active { color: #f8f6f0; }
.article-list-page { min-height: 82vh; padding: 115px 0 125px; background: #f5f7fa; }
.article-list-intro { max-width: 680px; padding: 42px 0 58px; }
.article-list-intro h1 { max-width: 620px; margin: 0 0 20px; color: var(--cream); font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.3; }
.article-list-intro p:not(.eyebrow) { max-width: 570px; margin: 0; color: var(--muted); font-size: .95rem; line-height: 2.1; }
.article-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.article-list-card { position: relative; min-height: 285px; padding: 28px 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 9px 25px rgba(33, 61, 92, .04); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.article-list-card:hover { border-color: rgba(220, 154, 61, .55); box-shadow: 0 17px 30px rgba(33, 61, 92, .08); transform: translateY(-4px); }
.article-list-card.featured { border-color: rgba(220, 154, 61, .45); background: linear-gradient(145deg, #fff8e9, #fff); }
.article-list-card > span { color: var(--gold-soft); font-size: .72rem; font-weight: 700; }
.article-list-card h2 { max-width: 265px; margin: 55px 0 14px; color: var(--cream); font-size: 1.2rem; line-height: 1.7; }
.article-list-card p { max-width: 280px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 2; }
.article-list-card b { position: absolute; right: 25px; bottom: 22px; color: var(--gold-soft); font-size: .75rem; }
.official-source-box { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 55px; padding: 35px 40px; border: 1px solid rgba(220, 154, 61, .35); border-radius: 10px; background: #111317; }
.official-source-box h2 { margin: 15px 0 8px; color: #f8f6f0; font-size: 1.35rem; }
.official-source-box p { max-width: 650px; margin: 0; color: #aeb7c3; font-size: .8rem; line-height: 1.9; }
.official-source-box .button { flex: 0 0 auto; }
.article-page { min-height: 80vh; padding: 135px 0 120px; background: #f5f7fa; }
.article-container { max-width: 940px; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--gold-soft); font-size: .78rem; }
.article-hero { max-width: 780px; padding: 18px 0 60px; }
.article-hero h1 { max-width: 780px; margin: 17px 0 18px; color: var(--cream); font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: 1.35; }
.article-hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 2.1; }
.article-body { max-width: 760px; padding: 48px clamp(24px, 6vw, 72px); border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(33, 61, 92, .04); }
.article-body p { margin: 0 0 24px; color: #4e5b6c; font-size: .94rem; line-height: 2.25; }
.article-body h2 { margin: 40px 0 13px; color: var(--cream); font-size: 1.35rem; line-height: 1.7; }
.article-body a { color: var(--gold-soft); text-decoration: underline; text-decoration-color: rgba(189, 118, 34, .4); text-underline-offset: 4px; }
.article-callout { margin: 30px 0; padding: 21px 23px; border-right: 3px solid var(--gold); border-radius: 5px; background: #fff8e9; color: #62513a; font-size: .84rem; line-height: 2; }
.article-next { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); }
.article-next a { font-size: .82rem; font-weight: 700; }
.article-list-page + .site-footer, .article-page + .site-footer { background: #0d0f12; }

@media (max-width: 900px) {
  .article-list-grid { grid-template-columns: repeat(2, 1fr); }
  .official-source-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .article-header .site-nav { display: flex; position: static; flex-direction: row; gap: 14px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .article-header .site-nav a { padding: 8px 0; font-size: .68rem; }
  .article-list-page, .article-page { padding-top: 105px; }
  .article-list-grid { grid-template-columns: 1fr; }
  .article-list-card { min-height: 260px; }
  .official-source-box { padding: 28px 22px; }
  .article-body { padding: 34px 22px; }
  .article-body p { font-size: .88rem; }
}
/* Editorial system for the scheduled Konkur knowledge base */
:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --paper: #fffdf8;
  --line: #e7e5df;
  --accent: #087f5b;
  --accent-dark: #065f46;
  --accent-soft: #e8f7f1;
  --gold: #b7791f;
}

.article-page,
.mag-page { background: var(--paper); color: var(--ink); }
.article-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.article-hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(8,127,91,.13), transparent 30%),
    linear-gradient(155deg, #f4fbf8 0%, #fffdf8 58%, #fff8e8 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: #64748b; font-size: .88rem; margin-bottom: 30px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.article-kicker { display: inline-flex; padding: 7px 13px; border-radius: 999px; color: var(--accent-dark); background: var(--accent-soft); font-weight: 800; font-size: .84rem; }
.article-hero h1 { max-width: 920px; margin: 22px 0 20px; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.18; letter-spacing: -.04em; }
.article-summary { max-width: 820px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 2; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(15,23,42,.09); }
.article-meta img { border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 22px rgba(15,23,42,.12); }
.article-meta div { display: grid; gap: 3px; }
.article-meta strong { font-size: .98rem; }
.article-meta span, .article-meta time { color: #64748b; font-size: .84rem; }
.article-meta time { margin-inline-start: auto; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 76px; align-items: start; padding-block: 76px; }
.toc { grid-column: 2; position: sticky; top: 110px; padding: 25px; border: 1px solid var(--line); background: #fff; border-radius: 22px; box-shadow: 0 12px 40px rgba(15,23,42,.045); }
.toc strong { display: block; margin-bottom: 16px; font-size: .95rem; }
.toc ol { margin: 0; padding: 0 20px 0 0; display: grid; gap: 11px; }
.toc li { color: #94a3b8; font-size: .83rem; }
.toc a { color: var(--ink-soft); line-height: 1.65; text-decoration: none; }
.toc a:hover { color: var(--accent); }
.article-content { grid-column: 1; grid-row: 1; min-width: 0; }
.article-section { scroll-margin-top: 110px; margin: 0 0 50px; }
.article-section h2 { margin: 0 0 22px; padding-right: 18px; border-right: 4px solid var(--accent); font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.45; letter-spacing: -.025em; }
.article-section p { margin: 0 0 18px; color: #263449; font-size: 1.08rem; line-height: 2.15; }
.article-section details { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 20px; }
.article-section summary { cursor: pointer; padding: 18px 0; font-weight: 800; line-height: 1.8; }
.article-section details p { padding-bottom: 18px; margin: 0; }
.editor-note { margin-bottom: 48px; padding: 24px 27px; border-radius: 20px; border: 1px solid #bde5d7; background: var(--accent-soft); }
.editor-note strong { color: var(--accent-dark); }
.editor-note p { margin: 7px 0 0; color: #365d51; line-height: 1.9; }

.author-box { display: grid; grid-template-columns: 92px 1fr; gap: 24px; margin: 66px 0 30px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.author-box img { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; }
.author-box span { color: var(--gold); font-size: .78rem; font-weight: 900; }
.author-box h2 { margin: 4px 0 7px; font-size: 1.5rem; }
.author-box p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.9; }
.author-box a { color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.article-cta { overflow: hidden; position: relative; padding: 42px; color: #fff; border-radius: 28px; background: linear-gradient(135deg, #0f2e2a, #065f46); }
.article-cta::after { content: "SJ"; position: absolute; inset: auto auto -48px 18px; font: 900 9rem/1 sans-serif; opacity: .06; direction: ltr; }
.article-cta > * { position: relative; z-index: 1; }
.article-cta > span { color: #8be2c4; font-weight: 800; }
.article-cta h2 { margin: 9px 0 10px; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.article-cta p { max-width: 620px; margin: 0 0 24px; color: #d7eee7; line-height: 1.9; }
.article-cta .button { display: inline-flex; background: #fff; color: var(--accent-dark); }

.related { padding-bottom: 88px; }
.related-title span, .mag-list-heading span { color: var(--gold); font-weight: 900; font-size: .83rem; }
.related-title h2, .mag-list-heading h2 { margin: 6px 0 24px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { min-height: 205px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,23,42,.08); }
.related-card span { color: var(--accent); font-size: .75rem; font-weight: 800; }
.related-card strong { margin: 13px 0; font-size: 1.06rem; line-height: 1.75; }
.related-card small { margin-top: auto; color: #64748b; }
.article-footer { padding: 32px 0; color: #dce9e5; background: #0a211e; }
.article-footer .container { display: flex; align-items: center; gap: 20px; }
.article-footer span { color: #8ba8a1; }
.article-footer a { margin-inline-start: auto; color: #fff; text-decoration: none; }

.mag-hero { padding: 105px 0 82px; background: linear-gradient(145deg, #092824 0%, #0c4439 64%, #765313 145%); color: #fff; }
.mag-hero > .container { position: relative; }
.mag-hero > .container > span { color: #8be2c4; font-weight: 900; }
.mag-hero h1 { max-width: 850px; margin: 16px 0; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1.2; letter-spacing: -.05em; }
.mag-hero h1 em { color: #f6c86d; font-style: normal; }
.mag-hero p { max-width: 650px; color: #c8ddd7; font-size: 1.15rem; line-height: 2; }
.mag-count { position: absolute; inset: auto auto 0 0; display: grid; justify-items: center; }
.mag-count strong { font: 900 4.5rem/1 sans-serif; color: #fff; }
.mag-count span { color: #9bb6af; font-size: .78rem; }
.mag-list { padding-block: 76px 100px; }
.mag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mag-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.mag-card > span { color: var(--accent); font-size: .78rem; font-weight: 900; }
.mag-card h2 { margin: 12px 0; font-size: 1.35rem; line-height: 1.65; }
.mag-card h2 a { color: var(--ink); text-decoration: none; }
.mag-card p { color: var(--ink-soft); line-height: 1.9; }
.mag-card > div { display: flex; justify-content: space-between; gap: 15px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); }
.mag-card time { color: #94a3b8; font-size: .8rem; }
.mag-card > div a { color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.legacy-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #f8faf8; }
.legacy-links strong { width: 100%; margin-bottom: 5px; }
.legacy-links a { padding: 9px 13px; border-radius: 12px; background: #fff; color: var(--accent-dark); text-decoration: none; font-size: .88rem; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { grid-column: 1; grid-row: 1; position: static; }
  .article-content { grid-column: 1; grid-row: 2; }
  .related-grid { grid-template-columns: 1fr; }
  .mag-count { position: static; justify-items: start; margin-top: 30px; }
}
@media (max-width: 680px) {
  .article-container { width: min(100% - 28px, 1160px); }
  .article-hero { padding: 58px 0 46px; }
  .article-hero h1 { font-size: 2.25rem; }
  .article-meta { align-items: flex-start; flex-wrap: wrap; }
  .article-meta time { width: 100%; margin: 5px 70px 0 0; }
  .article-layout { padding-block: 42px; }
  .toc { padding: 20px; }
  .article-section p { font-size: 1rem; }
  .author-box { grid-template-columns: 1fr; padding: 22px; }
  .article-cta { padding: 29px 23px; }
  .mag-grid { grid-template-columns: 1fr; }
  .mag-hero { padding: 70px 0 55px; }
  .article-footer .container { align-items: flex-start; flex-direction: column; }
  .article-footer a { margin: 0; }
}
