/* ==========================================================================
   TNN (1982) Corporate — main stylesheet
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections  6. Blog
   7. Widgets 8. Footer 9. Responsive 10. Motion / a11y
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --blue: #0b4f9e;
  --blue-dark: #073a76;
  --blue-deep: #05264c;
  --blue-bright: #1e88e5;
  --blue-soft: #e8f0fb;
  --white: #ffffff;
  --surface: #f4f7fb;
  --border: #dde3ec;
  --muted: #5b6b80;
  --ink: #101a28;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Thai', sans-serif;
  --font-head: 'Barlow', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, 'Noto Sans Thai', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 40, .06), 0 2px 8px rgba(16, 26, 40, .05);
  --shadow-md: 0 8px 28px rgba(11, 79, 158, .10);
  --shadow-lg: 0 18px 48px rgba(11, 79, 158, .16);

  --container: 1200px;
  --gap: 1.75rem;
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --header-h: 76px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--blue-deep); margin: 0 0 .6em; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1.1rem; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-bright); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px;
}
ul, ol { padding-left: 1.15rem; }
blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--blue); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); border-radius: 6px; }
pre { padding: 1rem; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--border); padding: .65rem .8rem; text-align: left; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.rounded { border-radius: var(--radius); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
  left: 1rem; top: 1rem; padding: .75rem 1.1rem; background: var(--blue); color: #fff; border-radius: 8px;
}

/* 3. Layout ------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--surface { background: var(--surface); }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
body.no-sidebar .content-with-sidebar { grid-template-columns: minmax(0, 1fr); }

/* 4. Components --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .975rem; line-height: 1;
  padding: .85rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--border); }
.btn--outline:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn--light { background: #fff; color: var(--blue-dark); }
.btn--light:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .78rem; color: var(--blue-bright); margin: 0 0 .6rem;
}
.eyebrow--light { color: #9fd0ff; }
.section-heading { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-heading--center { text-align: center; }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-title { margin-bottom: .5rem; }
.section-text { color: var(--muted); margin: 0; }
.lead { font-size: 1.075rem; color: var(--muted); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--service:hover, .card--post:hover, .card--reason:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #c9d9ef; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-bright) 100%); color: #fff;
  box-shadow: 0 8px 18px rgba(11,79,158,.25); flex: 0 0 auto;
}
.card__icon--soft { background: var(--blue-soft); color: var(--blue); box-shadow: none; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 0; }
.card__title { margin-bottom: .45rem; font-size: 1.18rem; }
.card__text { color: var(--muted); margin: 0; }
.card--reason { display: flex; gap: 1rem; align-items: flex-start; }
.card--contact { background: var(--surface); }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); }
.check-list li svg { color: var(--blue-bright); flex: 0 0 auto; margin-top: .3rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem;
  border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 600; font-size: .85rem;
}
.intro__badges { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Header ---------------------------------------------------------------- */
.topbar { background: var(--blue-deep); color: #cfe1f7; font-size: .85rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; min-height: 42px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: #cfe1f7; margin: 0; }
.topbar__item:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; color: #fff; font-family: var(--font-head);
  font-weight: 800; letter-spacing: .02em; font-size: .95rem;
  background: linear-gradient(140deg, var(--blue-dark), var(--blue-bright));
}
.brand__text { display: grid; }
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--blue-deep); font-size: .98rem; line-height: 1.2; }
.brand__tagline { font-size: .75rem; color: var(--muted); }
.custom-logo { max-height: 54px; width: auto; }

.main-navigation { display: flex; align-items: center; gap: 1.25rem; }
.nav-menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a {
  display: block; padding: .6rem .85rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
  color: var(--blue-deep);
}
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu a[aria-current] { background: var(--blue-soft); color: var(--blue); }
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; padding: .5rem; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 20;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu-toggle { display: none; background: none; border: 0; color: inherit; padding: .35rem; cursor: pointer; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--blue-deep); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }

/* 5. Sections ----------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(5,38,76,.95) 0%, rgba(7,58,118,.90) 45%, rgba(11,79,158,.68) 100%);
}
.hero__content { max-width: 660px; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.hero__text { color: #dbe8f8; font-size: 1.075rem; max-width: 58ch; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0; margin: 2rem 0 0; color: #cfe1f7; font-weight: 600; font-size: .93rem; }
.hero__points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__points svg { color: #7ec2ff; }

.intro__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split__media img { box-shadow: var(--shadow-lg); }

.stats { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; text-align: center; }
.stat { padding: 1rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.stat__number { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 0; color: #fff; }
.stat__label { margin: .25rem 0 0; color: #cfe1f7; font-size: .93rem; }

.cta { background: linear-gradient(120deg, var(--blue-dark), var(--blue-bright)); color: #fff; padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.cta__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta__title { color: #fff; margin-bottom: .35rem; }
.cta__text { color: #e3eefb; margin: 0; max-width: 56ch; }
.cta .btn-row { margin-top: 0; }

.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list strong { display: block; color: var(--blue-deep); font-family: var(--font-head); }

/* Forms ----------------------------------------------------------------- */
.field { margin: 0 0 1rem; display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--blue-deep); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], select, textarea {
  width: 100%; padding: .8rem .95rem; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(30,136,229,.14); outline: none; }
textarea { resize: vertical; }
.field--check { display: flex; gap: .6rem; align-items: flex-start; }
.field--check label { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form-note { font-size: .8rem; color: var(--muted); margin: .75rem 0 0; }
.contact-form { display: block; }
.search-form { display: flex; gap: .5rem; }
.search-form .search-field { flex: 1; }
.search-form .search-submit { padding-inline: 1.1rem; }

/* 6. Blog / entries ------------------------------------------------------ */
.page-hero { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero__title { color: #fff; margin-bottom: .5rem; }
.page-hero__text { color: #cfe1f7; margin: 0; max-width: 62ch; }
.page-hero__search { max-width: 480px; margin-top: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 .85rem; font-size: .85rem; color: #cfe1f7; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumbs a { color: #9fd0ff; }

.card--post { padding: 0; overflow: hidden; }
.card--post .card__link { display: block; color: inherit; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.5rem; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--blue); margin-top: .75rem; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.page-hero .entry-meta { color: #cfe1f7; }
.entry-media { margin: 0 0 2rem; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide, .entry-content > .alignfull, .entry-content > figure, .entry-content > .wp-block-image { max-width: 100%; }
.entry--wide .entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2rem; }
.entry-footer { margin-top: 2rem; }
.tags a { display: inline-block; background: var(--surface); padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; margin: 0 .35rem .35rem 0; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0; }
.post-navigation a { display: block; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 .75rem; border: 1px solid var(--border); border-radius: 10px; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.no-results { text-align: center; }
.error-404 { text-align: center; }
.error-code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--blue-soft); line-height: 1; margin: 0; }
.error-404__search { max-width: 460px; margin: 1.5rem auto 0; }

/* Comments */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.comment-list .children { list-style: none; padding-left: 1.5rem; margin-top: 1.25rem; display: grid; gap: 1.25rem; }
.comment-body { background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.comment-author img { border-radius: 50%; margin-right: .6rem; }
.comment-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.comment-form { display: grid; gap: 1rem; margin-top: 2rem; }
.comment-form label { font-weight: 600; font-size: .9rem; color: var(--blue-deep); display: block; margin-bottom: .3rem; }
.comment-form .form-submit { margin: 0; }

/* 7. Widgets ------------------------------------------------------------ */
.widget-area { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.widget-title { font-size: 1.05rem; margin-bottom: .9rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.widget li a { color: var(--ink); font-weight: 500; }
.widget li a:hover { color: var(--blue); }

/* 8. Footer ------------------------------------------------------------- */
.site-footer { background: var(--blue-deep); color: #b9cee8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-col--about .footer-title { font-size: 1.15rem; }
.brand__mark--footer { margin-bottom: 1rem; }
.footer-text { color: #b9cee8; }
.footer-address { font-style: normal; display: grid; gap: .75rem; margin-top: 1.25rem; }
.footer-line { display: flex; gap: .6rem; align-items: flex-start; }
.footer-line svg { color: #7ec2ff; flex: 0 0 auto; margin-top: .25rem; }
.footer-line a, .footer-menu a { color: #b9cee8; }
.footer-line a:hover, .footer-menu a:hover { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 2rem; padding-bottom: 2rem; }
.footer-widgets .widget { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; color: #b9cee8; }
.footer-widgets .widget-title, .footer-widgets a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.25rem; font-size: .875rem; }
.copyright { margin: 0; }
.legal-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }

/* 9. Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .widget-area { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-navigation {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    gap: .5rem; padding: 1rem 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .main-navigation.is-open { display: flex; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-menu a { padding: .8rem .5rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 0 1rem; display: none;
  }
  .nav-menu li.is-open > .sub-menu { display: block; }
  .submenu-toggle { display: inline-flex; position: absolute; right: 0; top: .45rem; transform: rotate(90deg); transition: transform .2s ease; }
  .nav-menu li.is-open > .submenu-toggle { transform: rotate(-90deg); }
  .nav-cta { margin-top: .75rem; }
  .split, .intro__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
@media (max-width: 640px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero__points { gap: .75rem 1rem; }
}

/* 10. Motion / a11y ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .widget-area { display: none !important; }
  body { color: #000; }
}
