/* =========================================================
   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: #b32a24;
  --ed-serif: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ed-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, 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-fact-detail),
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: 55px !important;
}

.nav-links a,
.site-shell .nav-links a {
  font-family: var(--ed-sans) !important;
  font-size: 15px !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-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: 800;
  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: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  color: #b32a24 !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: 40px;
  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 { 
  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-fact-detail,
.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: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-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: 55px !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: 15px!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:#b32a24 !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: #b32a24;
}

.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, 6vw, 4.6rem);
  line-height: .98;
  margin: 14px 0 18px;
  max-width: 13ch;
}
.underline-text {
    position: relative;
    display: inline-block;
    padding-bottom: 28px;
}

.underline-text::after {
    content: ""; 
    position: absolute; 
    width: 190px;
    height: 18px; 
    right: -12px;
    bottom: 0; 
    border-top: 6px solid #bd2026;
    border-radius: 50%; 
    transform: rotate(-1deg);
}
.underline-text::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 18px;
    right: -12px;
    bottom: 0;
    border-top: 6px solid #bd2026;
    border-radius: 50%;
    transform: rotate(-1deg) scaleX(0);
    transform-origin: left center;
    animation: drawUnderline 1.2s ease-out 0.4s forwards;
}
.underline-text::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 18px;
    right: -12px;
    bottom: 0;
    border-top: 6px solid #bd2026;
    border-radius: 50%;
    transform-origin: left center;
    animation: underlineBounce 3s ease-in-out infinite;
}

@keyframes underlineBounce {
    0% {
        transform: rotate(-1deg) scaleX(0);
        opacity: 0;
    }
    30% {
        transform: rotate(-1deg) scaleX(1.12);
        opacity: 1;
    }
    45%, 80% {
        transform: rotate(-1deg) scaleX(1);
        opacity: 1;
    }
    100% {
        transform: rotate(-1deg) scaleX(0);
        opacity: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .underline-text::after {
        animation: none;
        transform: rotate(-1deg) scaleX(1);
        opacity: 1;
    }
}

.page-home .ed-intro .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ed-muted);
  max-width: 28rem;
  margin: 0 0 var(--space-lg);
}

.page-home .hero-search {
  max-width: 600px;
  height: 52px;
  border-radius: 25px !important;
  border-color: var(--ed-border) !important;
  box-shadow: 0 5px 18px rgba(17, 37, 68, .10);
}

.page-home .hero-search input {
  font-size: 1rem !important;
  color: var(--ed-text) !important;
}

.page-home .hero-search .btn {
    border-radius: 50px;
    height: 40px;
    font-size: 16px;
    padding: 0 35px;
    font-weight: 400;
}

.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: 40px;
  line-height: .98;
  font-weight: 700;
  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: #b32a24;
  border-color: transparent;
}

.page-blog-listing .chip-f.active {
  background: transparent !important;
  color: #b32a24 !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: 11 / 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: #b32a24;
  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(2rem, 1vw, 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: 10px !important;
  aspect-ratio: 16 / 9;
}


 Blog featured image - show full image without cropping 

.page-blog .post-body picture {
    display: block;
    width: 100%;
    height: auto;
}

.page-blog .post-body .hero-img,
.page-blog .post-body .post-image {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 12px !important;
}
*/


.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);
  border-radius: 10px;
}

.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: 1px solid #e2eaed;
  border-radius: 10px;
  padding: 15px;
}

/* ----- Record detail (World in One Year, Fact Finder, holidays) ----- */
.page-fact-detail {
  background: #fff;
  color: var(--ed-text);
}

.page-fact-detail .fd-hero,
.page-fact-detail .fd-article,
.page-fact-detail .fd-lead,
.page-fact-detail .rel-card,
.page-fact-detail .fd-side .more-tools-section {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.page-fact-detail .fd-hero {
  padding: 8px 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid #b32a24 !important;
  align-items: flex-end;
  gap: 0;
}

.page-fact-detail .fd-avatar,
.page-fact-detail .rel-ico {
  display: none !important;
}

.page-fact-detail .fd-hero h1 {
  font-family: var(--ed-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--ed-text);
  margin: 10px 0 0;
}

.page-fact-detail .fd-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 40rem;
  margin: 12px 0 0;
}

.page-fact-detail .fd-article {
  padding: 8px 0 0;
}

.page-fact-detail .fd-body {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-fact-detail .fd-body h2 {
  font-family: var(--ed-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ed-text);
  margin: 28px 0 12px;
}

.page-fact-detail .fd-body p,
.page-fact-detail .fd-lead p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ed-text);
}

.page-fact-detail .fd-lead {
  padding: 0 0 20px;
  margin-bottom: 8px;
  background: transparent !important;
}

.page-fact-detail .qf-card,
.page-fact-detail .share-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ed-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 20px 0;
}

.page-fact-detail .qf-card h3,
.page-fact-detail .share-card h3,
.page-fact-detail .rel-card h3,
.page-fact-detail .related h2 {
  font-family: var(--ed-serif);
  font-weight: 700;
  color: var(--ed-text);
}

.page-fact-detail .shb {
  border-radius: 30px;
  box-shadow: none;
  background: #fff;
}

.page-fact-detail .related {
  margin-top: 80px;
}

.page-fact-detail .related h2 {
  font-size: 1.8rem;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ed-text);
}

.page-fact-detail .rel-grid {
  gap: 32px;
}

.page-fact-detail .rel-card {
  padding: 0;
  transform: none !important;
}

.page-fact-detail .rel-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.page-fact-detail .rel-top {
  margin-bottom: 8px;
}

.page-fact-detail .rel-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
}

.page-fact-detail .rel-more {
  color: var(--ed-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-fact-detail .rel-card:hover .rel-more,
.page-fact-detail .back:hover {
  color: var(--ed-accent);
}

.page-fact-detail .back {
  color: var(--ed-text);
  font-weight: 600;
}

/* ----- Fact Finder listing ----- */
.page-fact-finder {
  background: #fff;
  color: var(--ed-text);
}

.page-fact-finder .hero {
  padding: 5px 0px !important;
  margin: 0 !important;
}

.page-fact-finder .hero h1 {
  font-family: var(--ed-serif);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ed-text);
}

.page-fact-finder .hero .sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 40rem;
  margin-top: 12px;
}

.page-fact-finder .search-panel { 
  margin: 28px 0 36px;
}

.page-fact-finder .sp-field select,
.page-fact-finder .sp-field input,
.page-fact-finder .btn,
.page-fact-finder .sp-toggle,
.page-fact-finder .pager button {
  border-radius: 20px !important;
  box-shadow: none !important;
}

.page-fact-finder .res-head {
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ed-text);
}

.page-fact-finder .res-head h2 {
  font-family: var(--ed-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ed-text);
}

.page-fact-finder .fact-card,
.page-fact-finder .fact-card:hover {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 0 8px;
}

.page-fact-finder .fc-ico {
  display: none !important;
}

.page-fact-finder .fc-subj {
  font-family: var(--ed-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ed-text);
}

.page-fact-finder .fc-more {
  color: var(--ed-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-fact-finder .fact-card:hover .fc-more {
  color: var(--ed-accent);
}

/* ----- 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;
  }
}
