/* ============================================================
   Insights (blog) - listing, article and generic pages.
   Builds on assets/site.css, which carries the shared tokens,
   header, mobile menu, buttons, cards and footer.
   ============================================================ */

.wrap.narrow { max-width: 760px; }

/* ---------- Insights header ---------- */
.ins-hero { padding-block: 64px 48px; background:
  radial-gradient(circle at 1px 1px, rgba(19,41,75,.07) 1px, transparent 0) 0 0 / 22px 22px,
  linear-gradient(180deg, var(--surface-sunken), var(--paper)); border-bottom: 1px solid var(--border); }
.ins-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ins-hero--solo .ins-hero-grid { grid-template-columns: minmax(0, 760px); }
.ins-back { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--ink-500); text-decoration: none; margin-bottom: 22px; }
.ins-back:hover { color: var(--brass); }
.ins-hero h1 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.06; letter-spacing: -.01em; margin-top: 14px; max-width: 15ch; }
.ins-hero--solo h1 { max-width: 22ch; }
.ins-hero .lede { font-size: 17.5px; line-height: 1.55; color: var(--ink-700); max-width: 48ch; margin-top: 18px; }
.ins-service-link { display: inline-flex; gap: 6px; margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--brass); text-decoration: none; border-bottom: 1px solid rgba(31,111,74,.35); padding-bottom: 2px; }
.ins-service-link:hover { border-color: var(--brass); }
.ins-hero-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.ins-stats { margin: 0; font-size: 13.5px; color: var(--ink-500); display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.ins-stats strong { color: var(--ink); font-weight: 700; font-size: 15px; }
.ins-stats span { color: var(--border-strong); margin-inline: 4px; }

.ins-search { position: relative; flex: 0 1 280px; }
.ins-search svg { position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--ink-500); stroke-width: 1.8; stroke-linecap: round; }
.ins-search input { width: 100%; box-sizing: border-box; height: 42px; padding: 0 14px 0 38px; border: 1px solid var(--border-strong); border-radius: 100px; background: var(--surface); font: 500 14px/1 var(--font-sans); color: var(--ink); }
.ins-search input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(31,111,74,.14); }

/* featured briefing */
.feature { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 380px; box-sizing: border-box;
  padding: 36px 38px 32px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 30px 60px -28px rgba(10,25,48,.55); transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease; }
a.feature:hover { transform: translateY(-4px); box-shadow: 0 38px 70px -28px rgba(10,25,48,.6); }
.feature-routes { position: absolute; right: 14px; top: 12px; width: 210px; height: 120px; fill: none; stroke: #8FCDA8; stroke-width: 1.3; opacity: .38; pointer-events: none; }
.feature-routes .dotted { stroke-dasharray: 2 5; }
.feature-routes circle { fill: #8FCDA8; stroke: none; }
.feature-routes .hub { fill: #fff; }
.feature-routes .pulse { fill: none; stroke: #8FCDA8; stroke-width: 1.5; transform-origin: 40px 180px; animation: featPulse 2.6s ease-out infinite; }
@keyframes featPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.feature-label { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: #8FCDA8; padding: 5px 10px; border-radius: 100px; }
.feature-topic { margin-top: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.feature h2 { position: relative; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.16; max-width: 20ch; }
.feature-standfirst { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 50ch; flex: 1; }
.feature-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 20px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.14); }
.feature .by-name { color: #fff; }
.feature .by-meta, .feature-when { color: rgba(255,255,255,.62); font-size: 13px; }
.feature .by-avatar { background: #8FCDA8; color: var(--ink); }
.feature-cta { position: absolute; right: 38px; top: 36px; font-size: 13.5px; font-weight: 600; color: #8FCDA8; text-decoration: none; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
a.feature:hover .feature-cta { opacity: 1; transform: none; }
.feature--empty { min-height: 300px; justify-content: center; }
.feature--empty .feature-cta { position: static; opacity: 1; transform: none; margin-top: 8px; }

/* byline */
.by { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.by-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 600 12px/1 var(--font-sans); letter-spacing: .04em; }
.by-avatar--lg { width: 40px; height: 40px; font-size: 14px; }
.by-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.by-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.by-meta { font-size: 12.5px; color: var(--ink-500); }

/* ---------- topic bar ---------- */
.topic-bar { background: var(--paper); border-bottom: 1px solid var(--border); }
.topic-bar-inner { display: flex; flex-wrap: wrap; gap: 4px; padding-block: 12px; }
@media (max-width: 1240px) { .topic-bar-inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.topic-bar-inner::-webkit-scrollbar { display: none; }
.topic-bar a { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-700); text-decoration: none;
  padding: 7px 12px; border-radius: 100px; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.topic-bar a i { width: 7px; height: 7px; border-radius: 50%; background: var(--topic); }
.topic-bar a span { font-size: 11.5px; font-weight: 600; color: var(--ink-500); }
.topic-bar a:hover { background: var(--surface); border-color: var(--border-strong); }
.topic-bar a.is-active { background: var(--ink); color: #fff; }
.topic-bar a.is-active span { color: rgba(255,255,255,.65); }
.topic-bar a.is-active i { background: #8FCDA8; }

/* ---------- cards ---------- */
.ins-body { padding-block: 52px 80px; }
.ins-section-title { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 20px; }
.brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.brief-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; overflow: hidden; min-height: 290px; box-sizing: border-box;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease; }
.brief-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--topic); }
.brief-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 22px 40px -22px rgba(10,25,48,.32); }
.brief-topic { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--topic, var(--brass)); }
.brief-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.24; color: var(--ink-900); }
.brief-card:hover h3 { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.brief-standfirst { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-700); flex: 1; }
.brief-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--border); }
.brief-arrow { font-size: 17px; color: var(--ink-500); transition: transform .2s ease, color .2s ease; }
.brief-card:hover .brief-arrow { color: var(--brass); transform: translateX(3px); }

/* Ask the partners */
.ask-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 30px 30px 26px; border-radius: 14px; box-sizing: border-box;
  background: var(--brass-subtle); border: 1px dashed rgba(31,111,74,.45); min-height: 290px; }
.ask-card--span2 { grid-column: span 2; }
.ask-card--span3 { grid-column: 1 / -1; min-height: 0; }
.ask-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.22; color: var(--ink); margin-top: 8px; }
.ask-intro p { font-size: 14.5px; line-height: 1.55; color: var(--ink-700); margin: 10px 0 18px; max-width: 54ch; }
.ask-card--span2 .ask-intro, .ask-card--span3 .ask-intro { max-width: 620px; }
.ask-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ask-form[hidden] { display: none; }
.ask-card--span1 .ask-form { grid-template-columns: 1fr; }
.ask-form .full { grid-column: 1 / -1; }
.ask-form label span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 5px; }
.ask-form input, .ask-form textarea, .brief-form input[type=email] { width: 100%; box-sizing: border-box; font: 400 14.5px/1.4 var(--font-sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: 10px 12px; }
.ask-form textarea { resize: vertical; min-height: 84px; }
.ask-form input:focus, .ask-form textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(31,111,74,.14); }
.ask-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ask-submit span { font-size: 12px; color: var(--ink-500); }
.ask-done h3 { margin-top: 0; }
.ask-done p { font-size: 14.5px; color: var(--ink-700); margin-top: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 10px 0 0; font-size: 13px; color: #B42318; }

@media (max-width: 1000px) {
  .ins-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .ins-hero h1 { max-width: 20ch; }
  .brief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask-card--span2, .ask-card--span3 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ins-hero { padding-block: 40px 32px; }
  .ins-search { flex-basis: 100%; }
  .feature { padding: 28px 24px 24px; min-height: 0; }
  .feature-routes { width: 150px; height: 86px; opacity: .3; }
  .feature-cta { position: static; opacity: 1; transform: none; }
  .brief-grid { grid-template-columns: 1fr; }
  .brief-card, .ask-card { min-height: 0; }
  .ask-form { grid-template-columns: 1fr; }
  .ins-body { padding-block: 36px 56px; }
}

/* ---------- earlier briefings (compact list) ---------- */
.brief-list { margin-top: 64px; }
.brief-row { display: grid; grid-template-columns: 110px 190px minmax(0, 1fr) 60px; gap: 20px; align-items: baseline; padding: 17px 4px;
  border-top: 1px solid var(--border); text-decoration: none; color: inherit; transition: background-color .15s ease; }
.brief-row:last-child { border-bottom: 1px solid var(--border); }
.brief-row:hover { background: var(--surface); }
.brief-row-date, .brief-row-mins { font-size: 13px; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.brief-row-mins { text-align: right; }
.brief-row-topic { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--topic); }
.brief-row-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--ink-900); }
.brief-row:hover .brief-row-title { color: var(--brass); }
@media (max-width: 760px) {
  .brief-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .brief-row-date { order: 2; } .brief-row-mins { order: 4; }
  .brief-row-topic { order: 1; grid-column: 1 / -1; }
  .brief-row-title { order: 3; grid-column: 1 / -1; font-size: 18px; }
}

/* ---------- the A&B Brief band ---------- */
.brief-band { background: var(--ink); color: #fff; padding-block: 64px; position: relative; overflow: hidden; }
.brief-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(143,205,168,.18); box-shadow: 0 0 0 60px rgba(143,205,168,.03), 0 0 0 120px rgba(143,205,168,.025); pointer-events: none; }
.brief-band-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.brief-band .eyebrow { color: #8FCDA8; }
.brief-band h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-top: 12px; max-width: 22ch; }
.brief-band-copy p:last-child { color: rgba(255,255,255,.74); font-size: 15.5px; line-height: 1.55; margin-top: 14px; max-width: 52ch; }
.brief-form { display: flex; gap: 10px; }
.brief-form input[type=email] { height: 50px; flex: 1; min-width: 0; border-color: transparent; font-size: 15px; padding-inline: 16px; }
.brief-form input[type=email]:focus { outline: none; box-shadow: 0 0 0 3px rgba(143,205,168,.5); }
.brief-form .btn { height: 50px; padding-inline: 24px; white-space: nowrap; }
.brief-note { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 12px; }
.brief-done { font-size: 15px; color: rgba(255,255,255,.85); background: rgba(143,205,168,.12); border: 1px solid rgba(143,205,168,.35); border-radius: 10px; padding: 16px 18px; }
.brief-done strong { color: #8FCDA8; }
.brief-band .form-error { color: #FFB4A8; }
@media (max-width: 860px) { .brief-band-inner { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .brief-form { flex-direction: column; } .brief-band { padding-block: 48px; } }

/* pagination */
.navigation.pagination { margin-top: 40px; }
.navigation.pagination h2 { display: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav-links .page-numbers {
  display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--ink-700); text-decoration: none;
}
.nav-links .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-links a.page-numbers:hover { border-color: var(--brass); color: var(--brass); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ---------- article ---------- */
.article-head { padding-block: 56px 28px; }
.article-head .back-link { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--ink-500); text-decoration: none; margin-bottom: 26px; }
.article-head .back-link:hover { color: var(--brass); }
.article-head .eyebrow { display: block; text-decoration: none; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; margin-top: 12px; }
.article-head .lede { font-size: 19px; line-height: 1.5; color: var(--ink-700); margin-top: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 26px; padding-block: 16px; border-block: 1px solid var(--border); }
.article-when { font-size: 13.5px; color: var(--ink-500); }

/* ---------- share ---------- */
/* A quiet line at the end of the article: muted text links, no boxes or colour until hovered. */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border); }
.share-label { margin: 0; font-size: 12.5px; color: var(--ink-500); }
.share-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--ink-500);
  font: 500 12.5px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: color .15s; }
.share-btn[hidden] { display: none; }
.share-btn svg { width: 13px; height: 13px; flex: none; opacity: .8; }
.share-btn:hover, .share-btn.is-copied { color: var(--ink); }
.share-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
/* Phones with a share sheet: it covers X, Facebook and email, so keep the line short. */
.share.has-native .share-x, .share.has-native .share-facebook, .share.has-native .share-email, .share.has-native .share-label { display: none; }

.article-figure { margin-bottom: 36px; }
.article-figure img { width: 100%; height: auto; border-radius: 14px; display: block; max-height: 520px; object-fit: cover; }

.article-body { font-size: 17.5px; line-height: 1.72; color: var(--ink-900); padding-bottom: 20px; }
.article-body p { margin: 0; }
/* Space between blocks, including paragraph after paragraph; tighter under a heading. */
.article-body > * + *, .article-body > * + p { margin-top: 1.1em; }
.article-body > h2 + *, .article-body > h3 + * { margin-top: .55em; }
.article-body h2 { font-size: 28px; line-height: 1.2; margin-top: 1.8em; }
.article-body h3 { font-size: 22px; line-height: 1.25; margin-top: 1.6em; }
.article-body h4 { font-family: var(--font-sans); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-700); margin-top: 1.6em; }
.article-body a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: #17573B; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass);
  font-family: var(--font-display); font-size: 22px; line-height: 1.45; color: var(--ink);
}
.article-body blockquote p { margin: 0; }
.article-body img, .article-body figure img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body figure { margin: 1.6em 0; }
.article-body figcaption, .article-body .wp-element-caption { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body th, .article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.article-body th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.article-body code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-sunken); padding: 2px 6px; border-radius: 4px; }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }
.article-body .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 6px; padding: 12px 22px; text-decoration: none; font-weight: 600; font-size: 15px; }

.article-cta {
  margin-top: 48px; margin-bottom: 72px;
  background: var(--ink); color: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 32px !important;
}
.article-cta h2 { color: #fff; font-size: 22px; }
.article-cta p { color: rgba(255,255,255,.75); font-size: 14.5px; margin: 8px 0 0; max-width: 46ch; }
.article-cta .btn--primary { background: #fff; color: var(--ink); }
.article-cta .btn--primary:hover { background: var(--ink-subtle); }
.article-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.article-cta-alt { font-size: 13.5px; font-weight: 600; color: #8FCDA8; text-decoration: none; }
.article-cta-alt:hover { color: #fff; text-decoration: underline; }

.more-insights { background: var(--ink-subtle); border-top: 1px solid var(--border); padding-block: 64px 80px; }
.more-insights h2 { font-size: 26px; margin-bottom: 26px; }

@media (max-width: 640px) {
  .article-head { padding-block: 36px 20px; }
  .article-body { font-size: 16.5px; }
  .article-cta { margin-inline: 16px; }
}

/* current-page marker in the shared header */
nav.links > a.current { color: var(--ink); border-bottom: 2px solid var(--brass); padding-bottom: 3px; }
.mobile-menu-links a.current { color: var(--brass); font-weight: 700; }
.feature-label + h2 { margin-top: 18px; }
