/* =========================================================
   editorial.css — ONL.LI publication layer (sitewide)
   Loaded from custom-head.html on public pages (not admin).
   Tokens, header, footer, hubs, tools, and article chrome.
   Admin templates use admin-custom-head.html and skip this file.
   ========================================================= */

:root {
  --ed-bg: #ffffff;
  --ed-surface: #f7f6f3;
  --ed-text: #161616;
  --ed-muted: #6b6b6b;
  --ed-border: #dedede;
  --ed-accent: #4f46e5;
  --ed-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ed-sans: "Inter", Arial, sans-serif;
  --ed-radius: 0;
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;
  --serif: var(--ed-serif);
  --sans: var(--ed-sans);
}

body {
  background: var(--ed-bg);
  color: var(--ed-text);
  font-family: var(--ed-sans);
}

body:has(.page-calculator),
body:has(.math-calculator),
body:has(.conversion-calc),
body:has(.financial-calc),
body:has(.word-text-calc),
body:has(.page .toolpage),
body:has(.page-all-features),
body:has(.page-games),
body:has(.page-trivia),
body:has(.page-quotes-leadership),
body:has(.page-giftfinder),
body:has(.page-directory),
body:has(.page-search-results),
body:has(.page-dashboard),
body:has(.page-polls),
body:has(.page-calendar),
body:has(.page-blog-all-posts),
body:has(.page-staff-schedule),
body:has(.page-auth),
body:has(.page-my-private-quizzes) {
  background: var(--ed-bg) !important;
}

/* ----- Shared publication header ----- */
header.nav,
header#siteNav,
.nav,
.site-shell .nav {
  background: #fff !important;
  border-bottom: 1px solid var(--ed-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

header.nav .nav-in,
.nav-in,
.site-shell .nav-in {
  height: 64px !important;
  min-height: 64px !important;
  gap: 16px !important;
}

.nav .logo-img,
.site-shell .nav .logo-img {
  height: 34px !important;
}

.nav-links a,
.site-shell .nav-links a {
  font-family: var(--ed-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .02em;
  color: var(--ed-text) !important;
}

.nav-links a:hover,
.site-shell .nav-links a:hover {
  color: var(--ed-accent) !important;
}

.nav-search,
.site-shell .nav-search,
.site-shell button.nav-search {
  box-shadow: none !important;
  border-color: var(--ed-border) !important;
  border-radius: 2px !important;
  height: 36px !important;
}

.nav-login,
.site-shell .nav-login {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.wrap,
.nav > .wrap.nav-in,
footer .wrap,
#siteFooter .wrap,
.site-shell .nav > .wrap.nav-in {
  max-width: 1280px !important;
}

@media (min-width: 1600px) {
  .wrap,
  footer .wrap,
  #siteFooter .wrap {
    max-width: 1400px !important;
  }
}

footer,
#siteFooter {
  background: #fff;
  border-top: 1px solid var(--ed-border);
}

#siteFooter .socials.socials-facebook .facebook-follow {
  border-radius: 2px !important;
  box-shadow: none !important;
}

#siteFooter .socials.socials-facebook .facebook-follow:hover {
  transform: none;
}

:is(a, button):focus-visible {
  outline: 2px solid var(--ed-accent);
  outline-offset: 3px;
}

/* ----- Shared type / kickers / heroes ----- */
.serif,
.hero h1,
.hub-intro h1,
.gf-hero h1,
.about-hero h1,
.faq-wrap h1,
.tos-hero h1,
.pp-hero h1,
.contact-wrap h1,
.calc-header h1,
.qr-title,
.tri-hero-txt h1,
.res-hero h1,
.page-dashboard .hero h1,
.page-polls .hero h1,
.page-games .hero h1,
.page-quotes-leadership .hero h1,
.page-directory .hero h1,
.page-search-results .res-hero h1,
.page-blog-all-posts .hero h1,
.page-calendar h1,
.page-fact-finder h1,
.cd-hero h1 {
  font-family: var(--ed-serif);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ed-text);
}

.eyebrow,
.hub-eyebrow,
.h-eyebrow,
.gf-eyebrow,
.tri-eyebrow,
.about-hero-label,
.cat-eyebrow,
.ic-eyebrow {
  display: inline-block;
  font-family: var(--ed-sans);
  font-size: .75rem !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--ed-accent) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero,
.hub-intro,
.gf-hero,
.tri-herocard,
.page-games .hero,
.page-quotes-leadership .hero,
.page-directory .hero,
.page-polls .hero,
.page-dashboard .hero,
.page-search-results .page-card,
.page-blog-all-posts .hero,
.about-hero,
.res-hero {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.hero h1,
.hub-intro h1,
.gf-hero h1,
.tri-hero-txt h1,
.page-games .hero h1,
.about-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.hicon,
.gf-hicon,
.tri-hicon,
.cd-hero-icon {
  display: none !important;
}

/* Flatten dashboard-style cards on listing/hubs; leave game canvases alone */
.tcard,
.game-card,
.gf-opt,
.h-sidecard,
.page-quotes-leadership .q-card,
.page-directory .d-card,
.page-polls .poll-card,
.page-dashboard .dash-card,
.page-search-results .result-card,
.page-blog-all-posts .post-card,
.page-calculator .panel,
.math-calculator .panel,
.page-trivia .tri-card,
.page-giftfinder .gf-opt,
.page-all-features .tcard,
.page-calendars-hub .cd-tile,
.page-calendars-hub .cd-panel {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.page-all-features,
.page-games,
.page-quotes-leadership,
.page-giftfinder,
.page-directory,
.page-trivia,
.page-polls,
.page-dashboard,
.page-search-results,
.page-blog-all-posts,
.page-calculator,
.math-calculator,
.conversion-calc,
.financial-calc,
.word-text-calc,
.page .toolpage,
.page-calendar,
.page-fact-finder,
.page-maps {
  --page: #ffffff;
  --card: #ffffff;
  --ink: var(--ed-text);
  --muted: var(--ed-muted);
  --border: var(--ed-border);
  --serif: var(--ed-serif);
  --sans: var(--ed-sans);
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

.conversion-calc .panel,
.financial-calc .panel,
.word-text-calc .panel,
.page .toolpage .panel,
.conversion-calc .calc-header,
.financial-calc .calc-header,
.word-text-calc .calc-header {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.conversion-calc .calc-header h1,
.financial-calc .calc-header h1,
.word-text-calc .calc-header h1,
.page .toolpage h1 {
  font-family: var(--ed-serif);
  font-weight: 700;
}

.page-all-features .hub-stats,
.page-games .stats {
  gap: 24px;
}

.btn-teal,
.page-calculator .btn,
.math-calculator .btn-primary,
.gf-opt {
  border-radius: 2px;
}

.chip-f,
.fchip,
.cat-tab,
.page-polls .chip,
.page-search-results .tab {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.page-calculator .calc-header,
.math-calculator .calc-header {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-auth .auth-panel {
  border-radius: 2px;
  box-shadow: none;
  border: 1px solid var(--ed-border);
}

.page-auth h1 {
  font-family: var(--ed-serif);
}

/* Hide calculator/game explore + related links on all pages */
.more-tools-section,
.related-links,
.related-links-section,
.panel.related-links,
.calc-bottom:has(.related-links) {
  display: none !important;
}

.page-calculator .calc-side,
.math-calculator .calc-side,
.conversion-calc .calc-side,
.financial-calc .calc-side,
.word-text-calc .calc-side,
.page-time-date-calculators .calc-side,
.page-all-calculators-tools .calc-side,
.page-other-tools .calc-side,
.page-utility-tools .calc-side,
.page-time-tools .calc-side,
.page-time-tool .calc-side,
.page-calendar .calc-side {
  display: none !important;
}

.page-calculator .calc-layout,
.math-calculator .calc-layout,
.conversion-calc .calc-layout,
.financial-calc .calc-layout,
.word-text-calc .calc-layout,
.page-time-date-calculators .calc-layout,
.page-all-calculators-tools .calc-layout,
.page-other-tools .calc-layout,
.page-utility-tools .calc-layout,
.page-time-tools .calc-layout,
.page-calendar .calc-layout {
  grid-template-columns: 1fr !important;
}

@media (max-width: 768px) {
  header.nav .nav-in,
  .nav-in,
  .site-shell .nav-in {
    height: 56px !important;
    min-height: 56px !important;
  }
}

.page-home,
.page-blog-listing,
.page-blog {
  --ed-bg: #ffffff;
  --ed-surface: #f7f6f3;
  --ed-text: #161616;
  --ed-muted: #6b6b6b;
  --ed-border: #dedede;
  --ed-accent: #4f46e5;
  --ed-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ed-sans: "Inter", Arial, sans-serif;
  --ed-radius: 0;
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;
}

.page-home,
.page-blog-listing {
  background: var(--ed-bg) !important;
  color: var(--ed-text);
  font-family: var(--ed-sans);
}

.page-home {
  font-size: 16px;
  line-height: 1.6;
}

.page-home .home-main :is(a, button):focus-visible,
.page-blog-listing :is(a, button):focus-visible,
.page-blog :is(a, button):focus-visible {
  outline: 2px solid var(--ed-accent);
  outline-offset: 3px;
}

/* ----- Header: compact publication chrome ----- */
.page-home .nav,
.page-blog-listing .nav,
.page-blog .nav {
  background: #fff !important;
  border-bottom: 1px solid var(--ed-border) !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.page-home .nav-in,
.page-blog-listing .nav-in,
.page-blog .nav-in {
  height: 64px !important;
  min-height: 64px !important;
  gap: 16px !important;
}

.page-home .nav .logo-img,
.page-blog-listing .nav .logo-img,
.page-blog .nav .logo-img {
  height: 34px !important;
}

.page-home .nav-links a,
.page-blog-listing .nav-links a,
.page-blog .nav-links a {
  font-family: var(--ed-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .02em;
  color: var(--ed-text) !important;
}

.page-home .nav-links a:hover,
.page-blog-listing .nav-links a:hover,
.page-blog .nav-links a:hover {
  color: var(--ed-accent) !important;
}

.page-home .nav-search,
.page-blog-listing .nav-search,
.page-blog .nav-search {
  box-shadow: none !important;
  border-color: var(--ed-border) !important;
  border-radius: 2px !important;
  height: 36px !important;
}

.page-home .nav-login,
.page-blog-listing .nav-login,
.page-blog .nav-login {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.page-home .wrap:not(.nav-in),
.page-home .hero .wrap,
.page-blog-listing .blog-wrap {
  max-width: 1280px !important;
}

@media (min-width: 1600px) {
  .page-home .wrap:not(.nav-in),
  .page-blog-listing .blog-wrap {
    max-width: 1400px !important;
  }
}

/* ----- Type ----- */
.page-home .ed-serif,
.page-home h1,
.page-home h2,
.page-home .ed-story h3,
.page-home .feat-copy h2,
.page-blog-listing h1,
.page-blog-listing .feature-card h2,
.page-blog-listing .post-card h4,
.page-blog .article-main h1,
.page-blog .also-like h2 {
  font-family: var(--ed-serif);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ed-text);
}

.page-home .ed-kicker,
.page-blog-listing .ed-kicker,
.page-blog .ed-kicker,
.page-blog .cat-eyebrow {
  display: inline-block;
  font-family: var(--ed-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ed-accent);
}

.page-home .ed-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ed-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ed-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .ed-link:hover,
.page-home a:hover .ed-link {
  text-decoration: underline;
  color: var(--ed-accent);
}

.page-home .ed-section {
  padding: var(--space-xxl) 0 0;
  scroll-margin-top: 80px;
}

.page-home .ed-section-head {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--ed-text);
}

.page-home .ed-section-head h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  margin: 0;
}

.page-home .ed-section-head p {
  margin: 10px 0 0;
  font-size: 1rem;
  color: var(--ed-muted);
  max-width: 42rem;
}

/* ----- Intro / search ----- */
.page-home .hero,
.page-home .hero-panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.page-home .ed-intro {
  padding: var(--space-xl) 0 var(--space-lg);
}

.page-home .ed-intro h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: .98;
  margin: 14px 0 18px;
  max-width: 14ch;
}

.page-home .ed-intro .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ed-muted);
  max-width: 40rem;
  margin: 0 0 var(--space-lg);
}

.page-home .hero-search {
  max-width: 560px;
  height: 52px;
  border-radius: 2px !important;
  border-color: var(--ed-border) !important;
  box-shadow: none !important;
}

.page-home .hero-search input {
  font-size: 1rem !important;
  color: var(--ed-text) !important;
}

.page-home .hero-search .btn {
  border-radius: 2px;
  height: 40px;
  font-size: 13px;
}

.page-home .ed-intro .hero-ctas {
  display: none;
}

/* ----- Featured story ----- */
.page-home .ed-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--ed-border);
}

.page-home .ed-feature-main {
  display: block;
  color: inherit;
  min-width: 0;
}

.page-home .ed-feature-media,
.page-home .ed-story-media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ed-surface);
  border-radius: var(--ed-radius);
}

.page-home .ed-feature-media {
  aspect-ratio: 16 / 8;
}

.page-home .ed-story-media {
  aspect-ratio: 16 / 9;
}

.page-home .ed-feature-media img,
.page-home .ed-story-media img,
.page-home .post .pthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.page-home .ed-feature-main:hover img,
.page-home .ed-story:hover img,
.page-home .post:hover img {
  transform: scale(1.02);
}

.page-home .ed-feature-copy {
  padding-top: var(--space-md);
}

.page-home .ed-feature-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  margin: 10px 0 14px;
}

.page-home .ed-feature-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ed-muted);
  margin: 0 0 16px;
}

.page-home .ed-feature-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-width: 0;
}

.page-home .ed-side-story {
  display: block;
  padding-top: 0;
  color: inherit;
}

.page-home .ed-side-story h3 {
  font-family: var(--ed-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 10px 0 8px;
}

.page-home .ed-side-story p {
  margin: 0;
  color: var(--ed-muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ----- Discover / Explore lists ----- */
.page-home .ed-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-xl);
}

.page-home .ed-item {
  display: block;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--ed-border);
  color: inherit;
}

.page-home .ed-item:first-child {
  padding-top: 0;
}

.page-home .ed-item h3 {
  font-family: var(--ed-serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  margin: 8px 0 10px;
}

.page-home .ed-item p {
  margin: 0 0 12px;
  color: var(--ed-muted);
  line-height: 1.65;
}

.page-home .ed-item:hover h3 {
  color: var(--ed-accent);
}

.page-home .ed-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--space-lg);
}

.page-home .ed-explore-grid .ed-item h3 {
  font-size: 1.45rem;
}

/* Hide leftover dashboard chrome if present */
.page-home .do-card,
.page-home .ibadge,
.page-home .cat .ibadge,
.page-home .pcard-head .ibadge {
  display: none !important;
}

.page-home .cat {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  padding: var(--space-lg) 0 !important;
}

.page-home .cat-grid {
  gap: 0;
}

/* ----- Today ----- */
.page-home .ed-today {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-xl);
}

.page-home .pcard {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.page-home .pcard-head {
  border-bottom: 1px solid var(--ed-text);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.page-home .pcard-head h3 {
  font-family: var(--ed-serif);
  font-size: 1.6rem;
}

.page-home .hist {
  border-bottom: 1px solid var(--ed-border);
  padding: 16px 0;
}

.page-home .hist .yr {
  font-size: 13px;
  color: var(--ed-accent);
  min-width: 52px;
}

.page-home .hist .ev {
  font-size: 1rem;
  line-height: 1.45;
}

.page-home .card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ed-text);
}

.page-home .home-poll-option {
  border-radius: 2px;
}

.page-home .btn-teal {
  border-radius: 2px;
}

/* ----- Journal / posts ----- */
.page-home .post {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.page-home .post:hover {
  transform: none;
  box-shadow: none !important;
}

.page-home .post .pthumb {
  aspect-ratio: 16 / 9;
  height: auto !important;
  border: 0;
  background: var(--ed-surface);
}

.page-home .post .pbody {
  padding: 16px 0 0 !important;
}

.page-home .post h3,
.page-home .post h4 {
  font-family: var(--ed-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.page-home .post p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ed-muted);
}

.page-home .post .btn {
  display: none;
}

.page-home .ed-more {
  margin-top: var(--space-lg);
}

.page-home .posts-foot .btn {
  background: transparent !important;
  color: var(--ed-text) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto;
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
}

.page-home .posts-controls {
  display: none;
}

.page-home .post-carousel {
  overflow: visible;
}

.page-home .post-carousel .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  overflow: visible;
  scroll-snap-type: none;
}

.page-home .post-carousel .post {
  flex: none;
  max-width: none;
  width: auto;
}

@media (max-width: 1040px) {
  .page-home .post-carousel .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-home .posts-controls {
    display: flex;
  }

  .page-home .post-carousel {
    overflow: hidden;
  }

  .page-home .post-carousel .post-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
  }

  .page-home .post-carousel .post {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ----- Blog listing ----- */
.page-blog-listing {
  --serif: var(--ed-serif);
  --sans: var(--ed-sans);
  background: var(--ed-bg) !important;
}

.page-blog-listing .blog-hero {
  padding: var(--space-xl) 0 var(--space-md);
}

.page-blog-listing .blog-hero .eyebrow {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ed-accent);
  font-size: .75rem;
  letter-spacing: .12em;
}

.page-blog-listing .blog-hero h1 {
  font-family: var(--ed-serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: .98;
  font-weight: 700;
  max-width: 14ch;
  margin: 14px 0 16px;
}

.page-blog-listing .blog-hero p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ed-muted);
}

.page-blog-listing .blog-stats {
  display: none;
}

.page-blog-listing .filter-row {
  margin: 8px 0 40px;
  gap: 8px;
}

.page-blog-listing .chip-f {
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
  border-color: transparent;
  color: var(--ed-muted);
  padding: 8px 4px;
}

.page-blog-listing .chip-f:hover {
  color: var(--ed-text);
  border-color: transparent;
}

.page-blog-listing .chip-f.active {
  background: transparent !important;
  color: var(--ed-text) !important;
  border-color: transparent !important;
  border-bottom: 2px solid var(--ed-text);
  border-radius: 0;
  box-shadow: none !important;
}

.page-blog-listing .chip-f .d {
  display: none;
}

.page-blog-listing .feature-card {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: var(--space-lg);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin-bottom: var(--space-xxl);
  align-items: center;
}

.page-blog-listing .feature-card .f-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ed-surface);
}

.page-blog-listing .feature-card .f-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.page-blog-listing .feature-card:hover .f-media img {
  transform: scale(1.02);
}

.page-blog-listing .feature-card .f-media::after {
  display: none;
}

.page-blog-listing .feature-card .f-body {
  padding: 0;
  background: transparent;
}

.page-blog-listing .feature-card h2 {
  font-family: var(--ed-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 10px 0 14px;
}

.page-blog-listing .tag,
.page-blog-listing .t-orange,
.page-blog-listing .t-blue,
.page-blog-listing .t-green,
.page-blog-listing .t-purple,
.page-blog-listing .t-teal {
  background: none !important;
  color: var(--ed-accent) !important;
  padding: 0;
  border-radius: 0;
  font-size: .75rem;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.page-blog-listing .read-link {
  color: var(--ed-text);
  font-weight: 600;
  font-size: .95rem;
}

.page-blog-listing .feature-card:hover .read-link,
.page-blog-listing .post-card:hover .read-link {
  color: var(--ed-accent);
  text-decoration: underline;
}

.page-blog-listing .sec-head {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--ed-text);
}

.page-blog-listing .sec-head h3 {
  font-family: var(--ed-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
}

.page-blog-listing .sec-head .see-all {
  color: var(--ed-text);
  font-weight: 600;
}

.page-blog-listing .post-grid {
  gap: var(--space-lg);
}

.page-blog-listing .post-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.page-blog-listing .post-card:hover {
  transform: none;
  box-shadow: none !important;
  border-color: transparent;
}

.page-blog-listing .post-card .p-media {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background-color: var(--ed-surface);
}

.page-blog-listing .post-card .p-body {
  padding: 16px 0 0;
}

.page-blog-listing .post-card h4 {
  font-family: var(--ed-serif);
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 700;
}

.page-blog-listing .blog-load-more-btn {
  background: transparent !important;
  color: var(--ed-text) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0;
  padding: 0;
  font-weight: 600;
  text-decoration: underline;
}

/* ----- Article ----- */
.page-blog {
  --serif: var(--ed-serif);
  --sans: var(--ed-sans);
  background: var(--ed-bg);
}

.page-blog .crumb {
  display: none;
}

.page-blog .cat-eyebrow {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--ed-accent);
}

.page-blog .article-main h1 {
  font-family: var(--ed-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
}

.page-blog .article-dek {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 40rem;
  margin: 0 0 24px;
}

.page-blog .hero-img {
  border-radius: 2px !important;
  aspect-ratio: 16 / 9;
}

.page-blog .prose {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-blog .crumb-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ed-muted);
  margin-bottom: 16px;
}

.page-blog .crumb-trail a:hover {
  color: var(--ed-accent);
}

.page-blog .also-like {
  margin-top: var(--space-xxl);
}

.page-blog .also-like h2 {
  font-size: 1.8rem;
  margin: 0 0 var(--space-lg);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ed-text);
}

.page-blog .also-like-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.page-blog .also-card {
  display: block;
  color: inherit;
}

.page-blog .also-media {
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: var(--ed-surface);
}

.page-blog .also-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog .also-body h3 {
  font-family: var(--ed-serif);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 12px 0 8px;
}

.page-blog .also-body .ed-link,
.page-blog .ed-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ed-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ed-text);
  text-decoration: none;
}

.page-blog .also-card:hover .ed-link,
.page-blog .ed-link:hover {
  color: var(--ed-accent);
  text-decoration: underline;
}

.page-blog .side-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1040px) {
  .page-home .ed-feature,
  .page-home .ed-split,
  .page-home .ed-today,
  .page-home .ed-explore-grid,
  .page-blog-listing .post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .ed-feature-media {
    aspect-ratio: 16 / 9;
  }

  .page-blog-listing .feature-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-home .ed-feature,
  .page-home .ed-split,
  .page-home .ed-today,
  .page-home .ed-explore-grid,
  .page-blog .also-like-grid,
  .page-blog-listing .post-grid,
  .page-blog-listing .feature-card {
    grid-template-columns: 1fr;
  }

  .page-home .ed-intro {
    padding-top: var(--space-lg);
  }

  .page-home .ed-intro h1,
  .page-blog-listing .blog-hero h1 {
    max-width: none;
  }

  .page-home .ed-section {
    padding-top: var(--space-xl);
  }

  .page-home .hero-search {
    max-width: none;
  }

  .page-home .nav-in {
    height: 56px !important;
    min-height: 56px !important;
  }

  .page-home .ed-feature-media {
    aspect-ratio: 16 / 10;
  }
}
