/* World Assessment Council — Spotlight (index, article pages and the home page section).
   Loaded after wac-news.css, which provides the header, footer, hero and shared tokens. */

:root {
  --sp-ai: #1e3a8a; --sp-ai2: #2563eb;
  --sp-int: #0f4c4a; --sp-int2: #0d9488;
  --sp-skill: #7a3d06; --sp-skill2: #d97706;
  --sp-assess: #3b1a78; --sp-assess2: #7c3aed;
}

/* Cover: the article's key figure, set large on the centre's colour */
.spot-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 1.25rem; border-radius: 14px 14px 0 0; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #0a1628) 0%, var(--c2, #1a4b8c) 100%); }
.spot-cover::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.spot-cover::after { content: ""; position: absolute; right: 40px; bottom: -90px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, 0.06); }
.spot-stat { position: relative; z-index: 1; font-family: "Kumbh Sans", var(--wn-font); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; }
.spot-stat.long { font-size: 2.5rem; }
.spot-stat-label { position: relative; z-index: 1; margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.4; color: rgba(255, 255, 255, 0.92); max-width: 26em; }
.c-ai { --c1: var(--sp-ai); --c2: var(--sp-ai2); }
.c-int { --c1: var(--sp-int); --c2: var(--sp-int2); }
.c-skill { --c1: var(--sp-skill); --c2: var(--sp-skill2); }
.c-assess { --c1: var(--sp-assess); --c2: var(--sp-assess2); }

/* Cards */
.spot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.spot-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wn-line); border-radius: 15px; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.spot-card:hover { box-shadow: 0 12px 32px rgba(16, 38, 73, 0.12); transform: translateY(-3px); border-color: #b9c8de; }
.spot-card[hidden] { display: none; }
.spot-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.2rem; }
.spot-centre { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.55rem; color: var(--c1, #1a4b8c); }
.page-news .post-content .spot-card-title, .wac-spot-home .spot-card-title { font-family: var(--wn-font); font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 0.55rem; color: var(--wn-ink); text-transform: none; }
.page-news .spot-card-title a, .wac-spot-home .spot-card-title a { color: var(--wn-ink); }
.page-news .spot-card-title a:hover, .wac-spot-home .spot-card-title a:hover { color: var(--wn-blue); }
.spot-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 15px; }
.page-news .post-content p.spot-card-dek, .wac-spot-home p.spot-card-dek { font-size: 0.94rem; line-height: 1.55; color: var(--wn-muted); margin: 0 0 1rem; }
.spot-card-meta { margin-top: auto; font-size: 0.8125rem; color: var(--wn-muted); }
#wrapper #main .spot-card a:hover, #wrapper #main .spot-card a:focus { text-decoration: none; }

/* Featured card (first article) */
.spot-card.featured { grid-column: 1 / -1; flex-direction: row; }
.spot-card.featured .spot-cover { flex: 0 0 42%; border-radius: 14px 0 0 14px; min-height: 300px; padding: 2rem; }
.spot-card.featured .spot-stat { font-size: 5.5rem; }
.spot-card.featured .spot-stat.long { font-size: 4rem; }
.spot-card.featured .spot-stat-label { font-size: 1rem; }
.spot-card.featured .spot-card-body { padding: 2rem 2.25rem; justify-content: center; }
.page-news .post-content .spot-card.featured .spot-card-title, .wac-spot-home .spot-card.featured .spot-card-title { font-size: 1.85rem; line-height: 1.2; margin-bottom: 0.8rem; }
.page-news .post-content .spot-card.featured p.spot-card-dek, .wac-spot-home .spot-card.featured p.spot-card-dek { font-size: 1.0625rem; }
.spot-read { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-weight: 600; font-size: 0.9375rem; color: var(--wn-blue); }

/* Filter chips on the index */
.spot-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; }
.page-news .spot-chip { border: 1px solid var(--wn-line); background: #fff; color: #24406b; padding: 0.5rem 0.95rem; border-radius: 50px; font-family: var(--wn-font); font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.page-news .spot-chip:hover, .page-news .spot-chip[aria-pressed="true"] { border-color: var(--wn-blue); background: #eef4fd; color: #17438a; }
.spot-archive { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 2rem; }
.spot-archive li { padding: 0.65rem 0; border-bottom: 1px solid #eef1f5; font-size: 0.975rem; }
#wrapper #main .spot-archive a { color: #1d4ed8; }
.spot-archive span { display: block; font-size: 0.8125rem; color: var(--wn-muted); }

/* Article page */
.spot-hero { padding-bottom: 48px; }
.spot-hero .spot-centre { color: #fff; background: rgba(255, 255, 255, 0.16); padding: 0.4rem 0.8rem; border-radius: 50px; letter-spacing: 0.04em; margin-bottom: 1rem; }
.page-news .post-content h1.spot-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.14; color: #fff; margin: 0 0 1rem; max-width: 20em; letter-spacing: -0.02em; }
.page-news .post-content p.spot-dek { font-size: 1.2rem; line-height: 1.55; color: rgba(255, 255, 255, 0.92); max-width: 44em; margin: 0; }
.spot-byline { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-top: 1.4rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.88); }
.spot-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; max-width: var(--wac-cw, 1192px); margin: 0 auto; }
.spot-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.25rem; }
.spot-aside .spot-cover { border-radius: 14px; min-height: 200px; }
.spot-box { border: 1px solid var(--wn-line); border-radius: 14px; padding: 1.2rem 1.3rem; background: var(--wn-soft); }
.page-news .post-content .spot-box h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--wn-muted); margin: 0 0 0.8rem; }
.spot-box ul { margin: 0; padding: 0; list-style: none; }
.spot-box li { position: relative; padding: 0 0 0.75rem 1.1rem; font-size: 0.925rem; line-height: 1.5; color: #232a35; }
.spot-box li:last-child { padding-bottom: 0; }
.spot-box li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--wn-accent); }
.spot-body { max-width: 720px; }
.page-news .post-content .spot-body p { font-size: 1.125rem; line-height: 1.75; color: #1f2733; margin: 0 0 1.35rem; }
.page-news .post-content .spot-body > p:first-of-type { font-size: 1.22rem; line-height: 1.65; color: #111826; }
.page-news .post-content .spot-body h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; margin: 2.4rem 0 1rem; color: var(--wn-ink); }
.spot-body ul { margin: 0 0 1.35rem; padding: 0 0 0 1.25rem; }
.spot-body li { font-size: 1.0825rem; line-height: 1.7; color: #1f2733; margin: 0 0 0.6rem; }
.spot-body blockquote { margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.5rem; border-left: 4px solid var(--c2, var(--wn-accent)); background: none; font-style: normal; }
.page-news .post-content .spot-body blockquote p { font-family: "Kumbh Sans", var(--wn-font); font-size: 1.55rem; line-height: 1.35; font-weight: 700; color: var(--wn-ink); margin: 0 0 0.6rem; letter-spacing: -0.015em; }
.page-news .post-content .spot-body blockquote footer { font-size: 0.95rem; color: var(--wn-muted); font-style: normal; }
#wrapper #main .spot-body sup a { color: #1d4ed8; font-size: 0.72em; font-weight: 600; padding: 0 1px; text-decoration: none; }
#wrapper #main .spot-body sup a:hover { text-decoration: underline; text-decoration-style: solid; }
.spot-body sup { line-height: 0; }
.spot-view { border-top: 3px solid var(--c2, var(--wn-accent)); }

.spot-leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0; }
.spot-leader { border: 1px solid var(--wn-line); border-radius: 12px; padding: 1.1rem 1.2rem; background: #fff; border-top: 3px solid var(--c2, var(--wn-accent)); }
.page-news .post-content .spot-leader h3 { font-family: var(--wn-font); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wn-muted); margin: 0 0 0.5rem; }
.page-news .post-content .spot-leader p { font-size: 0.95rem; line-height: 1.55; margin: 0; color: #232a35; }
.page-news .post-content h2.spot-sub { font-size: 1.25rem; font-weight: 700; margin: 2.5rem 0 0.9rem; color: var(--wn-ink); }
.spot-sources { margin: 0; padding: 0 0 0 1.5rem; }
.spot-sources li { font-size: 0.925rem; line-height: 1.5; margin: 0 0 0.6rem; color: #3b4656; scroll-margin-top: 100px; }
.spot-sources li:target { background: #fff8db; }
#wrapper #main .spot-sources a, #wrapper #main .spot-related a { color: #1d4ed8; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.spot-related { margin: 0; padding: 0; list-style: none; }
.spot-related li { padding: 0.55rem 0; border-bottom: 1px solid #eef1f5; font-size: 0.975rem; }
.spot-related time { color: var(--wn-muted); font-size: 0.8125rem; margin-left: 0.4rem; }

/* Home page section */
.wac-spot-home { padding: 80px 5%; background: #fff; font-family: var(--wn-font); }
.wac-spot-home .spot-wrap { max-width: var(--wac-cw, 1192px); margin: 0 auto; }
.wac-spot-home .strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.wac-spot-home .strip-head p { margin: 0; color: var(--wn-muted); font-size: 1.0625rem; max-width: 46em; }
.wac-spot-home .spot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wac-spot-home .spot-card:not(.featured) .spot-cover { min-height: 150px; }
.wac-spot-home .spot-card:not(.featured) .spot-stat { font-size: 2.6rem; }
.wac-spot-home .spot-card:not(.featured) .spot-stat.long { font-size: 2rem; }
.wac-spot-home .spot-card:not(.featured) .spot-card-title { font-size: 1.0625rem; }
.wac-spot-home .spot-card:not(.featured) p.spot-card-dek { display: none; }
#wrapper #main .wac-spot-home a:hover, #wrapper #main .wac-spot-home a:focus { text-decoration: none; }
.wac-spot-home .news-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--wn-blue); color: #fff !important; border: 0; padding: 0.8rem 1.4rem; border-radius: 8px; font-family: var(--wn-font); font-size: 0.9375rem; font-weight: 600; transition: background 0.2s; white-space: nowrap; }
.wac-spot-home .news-btn:hover { background: var(--wn-navy); }

@media (max-width: 1100px) {
  .spot-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .spot-aside { position: static; flex-direction: row; flex-wrap: wrap; order: -1; }
  .spot-aside > * { flex: 1 1 280px; }
  .spot-body { max-width: none; }
  .wac-spot-home .spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-card.featured .spot-stat { font-size: 4.2rem; }
  .spot-card.featured .spot-stat.long { font-size: 3rem; }
  .page-news .post-content .spot-card.featured .spot-card-title, .wac-spot-home .spot-card.featured .spot-card-title { font-size: 1.5rem; }
}
@media (max-width: 760px) {
  .spot-card.featured { flex-direction: column; }
  .spot-card.featured .spot-cover { flex: none; border-radius: 14px 14px 0 0; min-height: 200px; padding: 1.5rem; }
  .spot-card.featured .spot-card-body { padding: 1.4rem 1.25rem; }
  .spot-leaders { grid-template-columns: minmax(0, 1fr); }
  .spot-archive { grid-template-columns: minmax(0, 1fr); }
  .page-news .post-content .spot-body p { font-size: 1.0625rem; }
  .page-news .post-content .spot-body > p:first-of-type { font-size: 1.125rem; }
  .page-news .post-content .spot-body blockquote p { font-size: 1.3rem; }
  .page-news .post-content p.spot-dek { font-size: 1.0625rem; }
  .wac-spot-home { padding: 56px 5%; }
}
@media (max-width: 640px) {
  .spot-grid, .wac-spot-home .spot-grid { grid-template-columns: minmax(0, 1fr); }
  .spot-stat { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .spot-card { transition: none; } .spot-card:hover { transform: none; } }

/* Heading sizes that must hold on phones too (the site-wide phone rule sets every h2 to a large size) */
html body #main .spot-box h2 { font-size: 0.8125rem; }
html body #main h2.spot-sub { font-size: 1.25rem; }
html body #main .spot-body h2:not(.spot-sub) { font-size: clamp(1.35rem, 5.2vw, 1.6rem); }
html body #main .spot-leader h3 { font-size: 0.8125rem; }
html body #main .spot-card-title { font-size: 1.2rem; }
html body #main .spot-card.featured .spot-card-title { font-size: clamp(1.4rem, 3vw, 1.85rem); }
html body #main .wac-spot-home .spot-card:not(.featured) .spot-card-title { font-size: 1.0625rem; }
html body #main .news-cta h2 { font-size: 1.3rem; }

/* the centre label in an article's hero links to the centre's page */
.page-news .spot-hero .spot-centre a { color: #fff; }
#wrapper #main .spot-hero .spot-centre a:hover, #wrapper #main .news-hero-meta a:hover { text-decoration: underline; }
.page-news .news-hero-meta a { color: #fff; }
