/* HR editorial redesign 2026-08. Additive, scoped output layer. */
:root {
  --hr-ink: #0f172a;
  --hr-ink-muted: #475569;
  --hr-paper: #fffdf8;
  --hr-surface: #ffffff;
  --hr-line: #d7dee6;
  --hr-brand: #0e7490;
  --hr-brand-strong: #155e75;
  --hr-accent: #c2410c;
  --hr-cyan: #1cade6;
  --hr-max: 1280px;
  --hr-copy: 740px;
  --hr-shell: 1180px;
  --hr-header: 88px;
  --hr-gutter: clamp(16px, 3vw, 32px);
  --hr-radius: 6px;
  --hr-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --hr-transition: 150ms ease;
}

html { scroll-behavior: smooth; }
body {
  background: var(--hr-paper);
  color: var(--hr-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before { display: none; }
a { color: var(--hr-brand-strong); }
a:hover, a:focus-visible { color: var(--hr-brand); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.45);
  outline-offset: 3px;
}
.page-main { max-width: var(--hr-max); padding: 32px var(--hr-gutter) 80px; }

/* Editorial masthead: static, compact and recognizable. */
.news-ticker { background: var(--hr-ink); border: 0; }
.news-ticker__viewport { max-width: var(--hr-max); margin: 0 auto; padding: 0 var(--hr-gutter); overflow-x: auto; }
.news-ticker__track { animation: none; padding: 9px 0; }
.news-ticker__item { font-size: 12px; letter-spacing: .01em; }
.news-ticker__item::after { color: #94a3b8; margin-inline: 14px; }
.site-header {
  background: var(--hr-surface);
  border-bottom: 1px solid var(--hr-line);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
}
.site-header__inner { max-width: var(--hr-max); min-height: var(--hr-header); padding: 12px var(--hr-gutter); gap: 28px; }
.site-header__brand img { max-height: 62px; }
.site-header__nav-list { gap: 4px; }
.site-header__nav-link {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--hr-radius);
  color: var(--hr-ink);
  font-size: 12px;
  letter-spacing: .025em;
}
.site-header__nav-link:hover, .site-header__nav-link:focus-visible,
.nav-link--current-news { color: var(--hr-brand-strong); background: #e6f3f5; }
.site-header__submenu { border: 1px solid var(--hr-line); border-top: 3px solid var(--hr-brand); box-shadow: var(--hr-shadow); }
.site-header__submenu-link { color: var(--hr-ink); }
.site-header__toggle { border-radius: var(--hr-radius); box-shadow: none; }

/* Type hierarchy. H1 remains semantic and visible on every page. */
h1, h2, h3, h4, .post-header h1, .category-hero h1, .category-hero__title,
.section-heading, .hero-title, .article-card__title, .category-featured__title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--hr-ink);
  letter-spacing: -.018em;
}
.post-header { justify-items: start; text-align: left; padding-bottom: 24px; border-bottom: 1px solid var(--hr-line); }
.post-header h1 { max-width: 900px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.03; letter-spacing: -.03em; }
.post-secondary-title { max-width: var(--hr-copy); color: var(--hr-brand); border-bottom: 0; padding-bottom: 0; font-size: .78rem; letter-spacing: .12em; }
.category-hero { margin-block: 8px 24px; padding: clamp(24px, 4vw, 44px); background: var(--hr-surface); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); box-shadow: none; }
.category-hero__title, .calendar-hero h1 { max-width: 900px; font-size: clamp(2.15rem, 5vw, 3.8rem); line-height: 1.04; font-weight: 700; }
.category-hero__description { color: var(--hr-ink-muted); max-width: 720px; }
.calendar-hero { text-align: left; justify-items: start; background: var(--hr-surface); }
.calendar-hero::after { display: none; }
.calendar-hero h1 { max-width: 900px; font-weight: 700; }

/* Cards are editorial surfaces, not floating SaaS tiles. */
.article-card--hero, .article-card--highlight, .article-card--visual, .article-card--featured,
.category-featured, .section-panel, .latest-news-box, .event-card, .info-inset,
.category-latest-info {
  background: var(--hr-surface);
  border: 1px solid var(--hr-line);
  border-radius: var(--hr-radius);
  box-shadow: none;
}
.article-card--hero .article-card__body, .article-card--highlight .article-card__body,
.article-card--visual .article-card__body, .article-card--featured .article-card__body,
.category-featured__body { border-top: 3px solid var(--hr-brand); }
.article-card--hero .article-card__title, .article-card--highlight .article-card__title,
.article-card--visual .article-card__title, .article-card--featured .article-card__title,
.category-featured__title { line-height: 1.12; }
.article-card__body { padding: 20px; }
.article-card__excerpt, .category-featured__excerpt { color: var(--hr-ink-muted); }
.event-card:hover { transform: none; box-shadow: none; border-color: var(--hr-brand); }
.event-date-badge { background: var(--hr-brand); box-shadow: none; }
.section-panel, .section-panel--soft { background: var(--hr-paper); }
.region-tabs__tab, .calendar-filter { border-radius: var(--hr-radius); box-shadow: none; }
.region-tabs__tab--active, .calendar-filter.is-active { background: var(--hr-brand); border-color: var(--hr-brand); box-shadow: none; }

/* Article reading experience. */
.two-column-layout { max-width: var(--hr-shell); grid-template-columns: minmax(0, var(--hr-copy)) 300px; gap: 56px; margin: 0 auto; }
.post-content { max-width: var(--hr-copy); font-size: 1.08rem; line-height: 1.82; }
.post-content > p:first-child { font-size: 1.16rem; line-height: 1.72; }
.post-content h2 { margin-top: 2.6em; line-height: 1.16; }
.post-content h3 { line-height: 1.22; }
.post-caption { max-width: var(--hr-copy); background: #f1f5f9; border-bottom: 2px solid var(--hr-brand); color: var(--hr-ink-muted); }
.post-meta--under-hero { max-width: var(--hr-copy); color: var(--hr-ink-muted); border-top: 1px solid var(--hr-line); }
.post-meta__icon, .post-meta__share-link { color: var(--hr-brand); }
.post-hero img, .post-featured-image img { width: 100%; height: auto; }

/* Facts and sources are visible editorial modules; machine JSON-LD stays in head. */
.article-keyfacts {
  max-width: var(--hr-copy);
  margin: 36px 0 42px;
  padding: 24px clamp(20px, 3vw, 32px);
  border: 1px solid #b7d7de;
  border-left: 4px solid var(--hr-brand);
  border-radius: var(--hr-radius);
  background: #f3fafb;
  color: var(--hr-ink);
}
.article-keyfacts h2 { margin-bottom: 12px; color: var(--hr-ink); font-size: 1.35rem; }
.article-keyfacts__summary { font-size: 1rem; font-weight: 600; }
.article-keyfacts__item { grid-template-columns: minmax(130px, .32fr) minmax(0, 1fr); border-top: 1px solid #cfe3e7; }
.article-keyfacts__item dt { color: var(--hr-brand-strong); }
.article-keyfacts__meta { color: var(--hr-ink-muted); }
.article-keyfacts__meta a { color: var(--hr-brand-strong); }
.article-sources {
  max-width: var(--hr-copy);
  margin: 48px 0 32px;
  padding: 22px 24px;
  border-top: 2px solid var(--hr-ink);
  border-bottom: 1px solid var(--hr-line);
  background: var(--hr-paper);
  scroll-margin-top: calc(var(--hr-header) + 24px);
}
.article-sources__heading { margin: 0 0 12px; font-size: 1.2rem; }
.article-sources__list { margin: 0; padding-left: 1.2rem; }
.article-sources__item + .article-sources__item { margin-top: 7px; }
.event-info { max-width: var(--hr-copy); margin: 34px 0 40px; padding: 24px; border: 1px solid #f0c6b4; border-left: 4px solid var(--hr-accent); border-radius: var(--hr-radius); background: #fff8f4; }
.event-info__headline { margin: 0 0 14px; font-size: 1.45rem; }
.event-info__row { grid-template-columns: minmax(110px, .3fr) minmax(0, 1fr); border-top-color: #f3d8cc; }

/* Calendar: readable date cards, no gradients, keyboard-friendly controls. */
.calendar-search input { border: 1px solid var(--hr-line); border-radius: var(--hr-radius); box-shadow: none; padding: 14px 16px; font-weight: 500; }
.calendar-search input:focus { border-color: var(--hr-brand); box-shadow: 0 0 0 3px rgba(14, 116, 144, .12); transform: none; }
.calendar-toolbar { justify-content: flex-start; margin-top: 0; }
.calendar-toolbar--time { padding: 14px 0; background: transparent; border: 0; box-shadow: none; }
.calendar-filter { border: 1px solid #b7d7de; color: var(--hr-brand-strong); padding: 9px 14px; }
.calendar-filter:hover, .calendar-filter:focus-visible { transform: none; border-color: var(--hr-brand); }
.calendar-event { border: 1px solid var(--hr-line); border-radius: var(--hr-radius); box-shadow: none; }
.calendar-event__open { background: var(--hr-surface); }
.calendar-event__datebox { background: var(--hr-brand); }
.calendar-event__article-link { color: var(--hr-brand-strong); }
.events-modal__panel { border-radius: var(--hr-radius); }

/* Ads retain existing markup and consent behavior, but receive stable space. */
.post-ad-slot, .post-inline-ad-slot { min-height: 120px; display: grid; place-items: center; }
.post-ad-slot:has(ins[data-ad-status="unfilled"]), .post-inline-ad-slot:has(ins[data-ad-status="unfilled"]) { min-height: 0; }

/* Footer: dark editorial close. */
.site-footer { background: var(--hr-ink); color: #e2e8f0; border-top: 4px solid var(--hr-brand); }
.site-footer a { color: #e2e8f0; }
.site-footer a:hover, .site-footer a:focus-visible { color: #ffffff; }

@media (max-width: 1023px) {
  .site-header__inner { min-height: 76px; }
  .two-column-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  :root { --hr-header: 64px; }
  .page-main { padding-top: 20px; padding-bottom: 56px; }
  .site-header__inner { padding-block: 8px; }
  .site-header__brand img { max-height: 48px; }
  .post-header h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .post-content { font-size: 1.03rem; line-height: 1.75; }
  .post-content > p:first-child { font-size: 1.08rem; }
  .article-keyfacts__item, .event-info__row { grid-template-columns: 1fr; gap: 4px; }
  .article-sources { padding: 18px; }
  .category-latest-row__link { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .calendar-toolbar { gap: 8px; }
  .calendar-filter { padding: 8px 10px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
