.articles-hero { padding: 4rem 0 2.5rem; background: linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%); border-bottom: 1px solid rgba(18, 52, 44, 0.08); }
.articles-hero__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 2rem; align-items: end; }
.articles-hero h1 { max-width: 860px; margin: .35rem 0 1rem; font-size: clamp(2.1rem, 4vw, 4.5rem); line-height: .98; letter-spacing: -.05em; color: #12342c; }
.articles-hero p { max-width: 760px; color: #47645d; font-size: 1.12rem; line-height: 1.7; }
.articles-search-card { background: #fff; border: 1px solid rgba(18, 52, 44, .12); border-radius: 1.4rem; box-shadow: 0 20px 55px rgba(24, 64, 56, .10); padding: 1.2rem; }
.articles-search-card label { display: block; font-weight: 800; color: #173d34; margin-bottom: .7rem; }
.articles-search-card div { display: flex; gap: .6rem; }
.articles-search-card input { width: 100%; border: 1px solid rgba(18, 52, 44, .14); border-radius: .9rem; padding: .85rem .95rem; }
.articles-section { padding: 3.5rem 0 4.5rem; }
.articles-section__head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.4rem; }
.articles-section__head h2 { margin: .25rem 0 0; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #12342c; letter-spacing: -.03em; }
.articles-section__head p { max-width: 560px; color: #5d716d; line-height: 1.6; }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-card { display: flex; flex-direction: column; gap: .85rem; min-height: 100%; background: #fff; border: 1px solid rgba(18, 52, 44, .10); border-radius: 1.25rem; padding: 1.25rem; box-shadow: 0 16px 42px rgba(24, 64, 56, .08); }
.article-card__meta, .article-card__footer { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; color: #607872; font-size: .86rem; font-weight: 700; }
.article-card__meta span, .article-card__footer span { display: inline-flex; gap: .35rem; align-items: center; border: 1px solid rgba(18, 52, 44, .10); border-radius: 999px; padding: .28rem .55rem; background: #f7fbfa; }
.article-card h3 { margin: 0; font-size: 1.18rem; line-height: 1.25; color: #12342c; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; }
.article-card p { color: #4f6761; line-height: 1.62; margin: 0; }
.article-card__cta { margin-top: auto; color: #176b5c; font-weight: 800; text-decoration: none; }
.article-card__cta:hover { text-decoration: underline; }
.articles-empty { text-align: center; background: #fff; border: 1px dashed rgba(18, 52, 44, .18); border-radius: 1.4rem; padding: 3rem 1.5rem; color: #47645d; }
.articles-empty i { font-size: 2rem; color: #176b5c; }
.articles-empty h2 { color: #12342c; margin-bottom: .4rem; }
.article-show { padding: 2.4rem 0 4.5rem; }
.article-show__container { max-width: 1040px; }
.article-breadcrumb { display: flex; gap: .55rem; align-items: center; color: #607872; margin-bottom: 1.5rem; font-weight: 700; }
.article-breadcrumb a { color: #176b5c; text-decoration: none; }
.article-show__header { background: linear-gradient(135deg, #f7fbfa 0%, #ffffff 100%); border: 1px solid rgba(18, 52, 44, .10); border-radius: 1.8rem; padding: clamp(1.4rem, 4vw, 3rem); box-shadow: 0 18px 58px rgba(24, 64, 56, .08); }
.article-show__header h1 { color: #12342c; font-size: clamp(2rem, 4.2vw, 4.2rem); letter-spacing: -.055em; line-height: 1; margin: .35rem 0 1rem; }
.article-show__standfirst { color: #425f58; font-size: 1.18rem; line-height: 1.72; max-width: 820px; }
.article-meta-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 1.4rem 0 0; }
.article-meta-list div { background: #fff; border: 1px solid rgba(18, 52, 44, .10); border-radius: 1rem; padding: .75rem; }
.article-meta-list dt { color: #6d817d; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.article-meta-list dd { margin: .2rem 0 0; color: #12342c; font-weight: 850; }
.article-topic-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.article-topic-links a { display: inline-flex; gap: .45rem; align-items: center; color: #176b5c; background: #edf8f5; border: 1px solid rgba(23, 107, 92, .18); border-radius: 999px; padding: .45rem .75rem; text-decoration: none; font-weight: 800; }
.article-update-note { margin: 1rem 0; border-left: .35rem solid #176b5c; background: #f7fbfa; border-radius: 1rem; padding: 1rem 1.15rem; color: #425f58; }
.article-update-note p { margin: .3rem 0 0; }
.article-reading-shell { display: grid; grid-template-columns: minmax(0, 820px) minmax(190px, 1fr); gap: clamp(1.1rem, 3vw, 2rem); align-items: start; margin: 2rem 0 0; }
.article-reading-main { min-width: 0; }
.article-body { max-width: none; margin: 0; font-size: 1.05rem; line-height: 1.78; color: #243f38; }
.article-body h2 { margin-top: 2.2rem; color: #12342c; font-size: 1.7rem; letter-spacing: -.025em; }
.article-body h3 { margin-top: 1.5rem; color: #173d34; font-size: 1.25rem; }
.article-body a { color: #176b5c; font-weight: 750; }
.article-show__footer { max-width: none; margin: 2rem 0 0; background: #fffbeb; border: 1px solid rgba(146, 107, 12, .18); border-radius: 1rem; padding: 1rem 1.15rem; color: #5d4a1a; }
.article-reading-rail { position: sticky; top: 6.5rem; background: #fff; border: 1px solid rgba(18, 52, 44, .10); border-radius: 1.15rem; box-shadow: 0 12px 34px rgba(24, 64, 56, .06); padding: 1rem; color: #425f58; }
.article-reading-rail h2 { margin: 0 0 .75rem; color: #12342c; font-size: 1rem; letter-spacing: -.015em; }
.article-reading-rail dl { display: grid; gap: .7rem; margin: 0; }
.article-reading-rail dt { color: #6d817d; font-size: .74rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.article-reading-rail dd { margin: .15rem 0 0; color: #12342c; font-weight: 750; line-height: 1.35; }
.article-preview-banner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: #fff7ed; border: 1px solid rgba(194, 65, 12, .22); border-radius: 1.2rem; padding: 1rem 1.15rem; margin: 0 0 1.2rem; color: #7c2d12; }
.article-preview-banner strong { display: block; color: #7c2d12; font-size: 1rem; margin-bottom: .2rem; }
.article-preview-banner p { margin: 0; color: #9a3412; line-height: 1.45; }
.article-preview-banner__actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.article-related { margin-top: 3rem; }
.article-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.article-related-card { display: block; background: #fff; border: 1px solid rgba(18, 52, 44, .10); border-radius: 1.1rem; padding: 1rem; color: #12342c; text-decoration: none; box-shadow: 0 10px 30px rgba(24, 64, 56, .06); }
.article-related-card span { display: block; color: #176b5c; font-weight: 850; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.article-related-card strong { display: block; line-height: 1.3; }
.article-related-card small { display: block; margin-top: .45rem; color: #607872; line-height: 1.45; }
@media (max-width: 900px) { .articles-hero__inner, .articles-grid, .article-related__grid, .article-reading-shell { grid-template-columns: 1fr; } .article-reading-rail { position: static; } .article-meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .articles-section__head { display: block; } .article-preview-banner { align-items: flex-start; flex-direction: column; } }
@media (max-width: 560px) { .articles-search-card div { flex-direction: column; } .article-meta-list { grid-template-columns: 1fr; } }

/* Article Public UX Polish v1 */
.article-show--polished .article-show__header { overflow: visible; }
.article-show__hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .34fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.article-show__hero-copy { min-width: 0; }
.article-show__hero-actions { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; justify-self: end; width: min(100%, 255px); }
.article-show__hero-actions .button, .article-beta-cta .button { justify-content: center; text-align: center; }
.dh-share-slot--article-hero { display: flex; justify-content: flex-end; position: relative; z-index: 5; }
.dh-share-slot--article-hero .dh-public-share { width: 100%; }
.dh-share-slot--article-hero .dh-public-share__button { width: 100%; justify-content: center; }
.dh-share-slot--article-hero .dh-public-share__popover { right: 0; left: auto; min-width: min(86vw, 360px); }
.article-beta-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; margin: 1.2rem 0 0; padding: clamp(1rem, 2.5vw, 1.4rem); border: 1px solid rgba(23, 107, 92, .16); border-radius: 1.25rem; background: linear-gradient(135deg, #ecfdf8 0%, #ffffff 68%); box-shadow: 0 14px 38px rgba(24, 64, 56, .07); color: #173d34; }
.article-beta-cta--bottom { margin: 2.4rem 0 0; background: linear-gradient(135deg, #f5fbf9 0%, #ffffff 70%); }
.article-beta-cta__eyebrow { display: inline-flex; width: fit-content; margin-bottom: .35rem; padding: .25rem .55rem; border-radius: 999px; background: #dff7ef; color: #176b5c; font-size: .75rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.article-beta-cta h2 { margin: 0 0 .25rem; color: #12342c; font-size: clamp(1.22rem, 2vw, 1.55rem); line-height: 1.15; letter-spacing: -.02em; }
.article-beta-cta p { max-width: 680px; margin: 0; color: #425f58; line-height: 1.55; }
.article-beta-cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; align-items: center; }
.article-rail-cta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(18, 52, 44, .10); }
.article-rail-cta strong { display: block; color: #12342c; margin-bottom: .25rem; }
.article-rail-cta p { margin: 0 0 .65rem; color: #607872; font-size: .92rem; line-height: 1.45; }
.article-rail-cta a { display: inline-flex; width: 100%; justify-content: center; align-items: center; border-radius: .8rem; padding: .65rem .75rem; background: #176b5c; color: #fff; font-weight: 850; text-decoration: none; }
.article-rail-cta a:hover { background: #12342c; }
.article-show__footer { display: grid; gap: .35rem; }
.article-show__footer p { margin: 0; }
.article-show__footer-review { font-size: .92rem; color: #7a6224; }
.article-related-card { display: flex; flex-direction: column; min-height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.article-related-card:hover { transform: translateY(-2px); border-color: rgba(23, 107, 92, .22); box-shadow: 0 14px 34px rgba(24, 64, 56, .10); }
.article-related-card__cta { display: inline-flex; margin-top: auto; padding-top: .8rem; color: #176b5c; font-style: normal; font-weight: 850; }
.article-show--polished .article-body > p:first-child { font-size: 1.08rem; color: #1f3932; }
.article-show--polished .article-body ul, .article-show--polished .article-body ol { padding-left: 1.35rem; }
.article-show--polished .article-body li { margin: .35rem 0; }
@media (max-width: 900px) {
  .article-show__hero-grid, .article-beta-cta { grid-template-columns: 1fr; }
  .article-show__hero-actions { justify-self: stretch; width: 100%; flex-direction: row; flex-wrap: wrap; }
  .article-show__hero-actions .button, .article-show__hero-actions .dh-share-slot--article-hero { flex: 1 1 180px; }
  .article-beta-cta__actions { justify-content: flex-start; }
  .dh-share-slot--article-hero { justify-content: stretch; }
}
@media (max-width: 560px) {
  .article-show__hero-actions { flex-direction: column; }
  .article-beta-cta__actions { flex-direction: column; align-items: stretch; }
}

/* Article Sticky Offset + Width Alignment Hotfix v1
   Keeps the sticky article context rail below the public header/announcement offset,
   and aligns the article reading shell with the padded hero content width. */
.article-show--polished {
  --article-hero-inset: clamp(1.4rem, 4vw, 3rem);
}

.article-show--polished .article-reading-shell,
.article-show--polished .article-related {
  padding-inline: var(--article-hero-inset);
}

.article-show--polished .article-reading-rail {
  top: calc(var(--public-sticky-offset, 92px) + 1rem);
}

@media (max-width: 900px) {
  .article-show--polished .article-reading-shell,
  .article-show--polished .article-related {
    padding-inline: 0;
  }
}

/* Article Public Polish Follow-up v1
   Keeps final article CTAs template-owned and preserves sticky rail/hero width alignment. */
.article-show--polished[data-article-public-polish-followup-v1="1"] .article-beta-cta {
  scroll-margin-top: calc(var(--public-sticky-offset, 92px) + 1rem);
}
