/* ==========================================================================
   Natassist — style.css
   Editorial sports-book blog theme
   1.  Design tokens
   2.  Base + reset
   3.  Layout helpers
   4.  Header / navigation
   5.  Search overlay + mobile drawer
   6.  Page banner + breadcrumb
   7.  Section title
   8.  Post grid card
   9.  Content + sidebar layout
   10. Widgets
   11. Article (single post)
   12. FAQ accordion
   13. Footer
   14. Floating UI (scroll-top, progress)
   15. Motion
   16. Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --ff-display: "Playfair Display", "Times New Roman", serif;
  --ff-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;

  --c-ink: #111213;
  --c-ink-soft: #2a2b2d;
  --c-body: #4a4d50;
  --c-muted: #8b8f93;
  --c-line: #e7e7e7;
  --c-line-strong: #d8d8d8;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f7;
  --c-banner: #e8e8e8;
  --c-footer: #1e1f21;
  --c-footer-deep: #131415;
  --c-accent: #111213;

  --container: 1170px;
  --gutter: 30px;
  --radius: 0px;

  --shadow-sm: 0 1px 2px rgba(17, 18, 19, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(17, 18, 19, 0.35);

  --header-h: 100px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base + reset -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-body);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

nav ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  color: var(--c-ink);
  font-weight: 700;
  margin: 0;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 26px;
}

::selection {
  background: var(--c-ink);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--c-ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 70px 0 90px;
}

/* 4. Header / navigation ------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  padding: 12px 0;
}

.site-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.site-branding img {
  width: auto;
  height: 74px;
  object-fit: contain;
}

.site-branding .logo-light {
  display: none;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-menu > li > a {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding: 6px 0;
  position: relative;
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-ink);
  transition: width 0.3s var(--ease);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.is-current > a::after {
  width: 100%;
}

.nav-menu > li.is-current > a {
  color: var(--c-muted);
}

.nav-menu > li.is-current > a::after {
  background: var(--c-muted);
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  border-radius: 50%;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn:hover {
  background: var(--c-bg-soft);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

/* sticky duplicate bar */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.5);
  transform: translateY(-102%);
  transition: transform 0.4s var(--ease);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 8px 0;
}

.sticky-bar .site-branding img {
  height: 46px;
}

.sticky-bar .nav-menu > li > a {
  font-size: 14px;
}

/* 5. Search overlay + mobile drawer -------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  width: min(760px, 90vw);
  transform: translateY(18px);
  transition: transform 0.45s var(--ease);
}

.search-overlay.is-open .search-overlay__inner {
  transform: translateY(0);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--c-ink);
  padding-bottom: 14px;
}

.search-form input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--ff-display);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  color: var(--c-ink);
}

.search-form input::placeholder {
  color: #c3c3c3;
}

.search-hint {
  margin: 18px 0 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.search-results {
  margin-top: 26px;
  max-height: 44vh;
  overflow-y: auto;
  list-style: none;
}

.search-results li + li {
  border-top: 1px solid var(--c-line);
}

.search-results a {
  display: block;
  padding: 14px 2px;
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
}

.search-results a:hover {
  opacity: 0.55;
}

.overlay-close {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: var(--c-ink);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(330px, 84vw);
  z-index: 130;
  background: #fff;
  padding: 30px 28px;
  transform: translateX(105%);
  transition: transform 0.42s var(--ease);
  overflow-y: auto;
  border-left: 1px solid var(--c-line);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__logo img {
  height: 62px;
  width: auto;
}

.drawer .nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 34px;
  width: 100%;
}

.drawer .nav-menu > li {
  width: 100%;
  border-bottom: 1px solid var(--c-line);
}

.drawer .nav-menu > li > a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: rgba(15, 15, 15, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* 6. Page banner + breadcrumb -------------------------------------------- */
.page-banner {
  background: var(--c-banner);
  padding: 88px 0 92px;
}

.page-banner__title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  margin-bottom: 14px;
  max-width: 960px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 16px;
  color: var(--c-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "-";
  margin-left: 6px;
  color: var(--c-muted);
  font-style: italic;
}

.breadcrumb a {
  color: var(--c-ink-soft);
}

.breadcrumb a:hover {
  color: var(--c-muted);
}

/* 7. Section title -------------------------------------------------------- */
.sec-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.sec-title h1,
.sec-title h2 {
  font-size: clamp(32px, 5.2vw, 50px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.sec-title .sub-title {
  margin: 16px 0 0;
  font-size: 17px;
  color: #6e7275;
}

/* 8. Post grid card ------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.post-card {
  background: #fff;
  border: 1px solid var(--c-line);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-card__media {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--c-bg-soft);
}

.post-card__media img {
  width: 100%;
  transition: transform 0.7s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.06);
}

.post-card__body {
  padding: 26px 28px 34px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  list-style: none;
  font-size: 15px;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.post-meta li {
  display: inline-flex;
  align-items: center;
}

.post-meta li:not(:last-child)::after {
  content: "\2022";
  margin-left: 8px;
  color: #bdbdbd;
  font-size: 12px;
}

.post-meta a {
  color: var(--c-ink-soft);
  font-weight: 600;
}

.post-meta a:hover {
  color: var(--c-muted);
}

.post-card__title {
  font-size: 25px;
  line-height: 1.34;
}

.post-card__title a:hover {
  opacity: 0.6;
}

.post-card__excerpt {
  margin: 16px 0 0;
  font-size: 16px;
  color: #63676a;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.read-more svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.3s var(--ease);
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* 9. Content + sidebar layout --------------------------------------------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: start;
  padding: 76px 0 96px;
}

/* 10. Widgets -------------------------------------------------------------- */
.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 40px;
}

.widget-search {
  display: flex;
  align-items: center;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  padding: 6px 8px 6px 18px;
}

.widget-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--c-ink);
  padding: 12px 0;
}

.widget-search button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
}

.widget-search svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.widget__title {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding-bottom: 16px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

.widget__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 52px;
  height: 3px;
  background: var(--c-ink);
}

.widget-list {
  list-style: none;
}

.widget-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}

.widget-list img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  flex: 0 0 66px;
}

.widget-list .wl-meta {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.5;
}

.widget-list .wl-title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.36;
  margin-top: 4px;
  display: block;
}

.widget-list .wl-title:hover {
  opacity: 0.6;
}

.widget-ad img {
  width: 100%;
}

.tax-list {
  list-style: none;
}

.tax-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 16px;
}

.tax-list a {
  color: var(--c-ink-soft);
}

.tax-list a:hover {
  opacity: 0.6;
}

.tax-list span {
  color: var(--c-muted);
}

/* table of contents */
.toc {
  border-left: 2px solid var(--c-line);
  padding-left: 18px;
  list-style: none;
  font-size: 15.5px;
}

.toc li + li {
  margin-top: 10px;
}

.toc a {
  color: #6c7073;
}

.toc a:hover,
.toc a.is-active {
  color: var(--c-ink);
  font-weight: 600;
}

/* 11. Article -------------------------------------------------------------- */
.article__figure {
  margin: 0 0 26px;
  position: relative;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}

.article__figure img {
  width: 100%;
}

.article__figure figcaption {
  font-size: 14px;
  color: var(--c-muted);
  padding: 12px 16px;
  border-top: 1px solid var(--c-line);
  font-style: italic;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  list-style: none;
  font-size: 15.5px;
  color: var(--c-muted);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 38px;
}

.article__meta li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.article__meta li:not(:last-child)::after {
  content: "\2022";
  color: #c6c6c6;
  font-size: 12px;
}

.article__meta img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.article__meta a {
  color: var(--c-ink-soft);
  font-weight: 600;
}

.entry-content {
  font-size: 17.5px;
  color: #4b4e51;
}

.entry-content h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 22px;
}

.entry-content h3 {
  font-size: 22px;
  margin: 34px 0 14px;
}

.entry-content .rule {
  width: 100px;
  height: 1px;
  background: var(--c-line-strong);
  border: 0;
  margin: 52px 0 46px;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 26px;
  padding-left: 22px;
}

.entry-content li {
  margin-bottom: 9px;
}

.entry-content strong {
  color: var(--c-ink);
  font-weight: 700;
}

.entry-content a:not(.read-more) {
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line-strong);
}

.entry-content a:not(.read-more):hover {
  opacity: 0.6;
}

.lead {
  font-size: 20px;
  line-height: 1.7;
  color: #3d4043;
}

.callout {
  border-left: 3px solid var(--c-ink);
  background: var(--c-bg-soft);
  padding: 24px 28px;
  margin: 0 0 30px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 30px;
  border: 1px solid var(--c-line);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 520px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-line);
}

.data-table thead th {
  background: var(--c-bg-soft);
  font-family: var(--ff-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 44px 0 0;
  list-style: none;
}

.tag-row a {
  display: inline-block;
  border: 1px solid var(--c-line-strong);
  padding: 7px 15px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.tag-row a:hover {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--c-line);
}

.post-nav__item span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.post-nav__item h4 {
  font-size: 20px;
  line-height: 1.35;
}

.post-nav__item:last-child {
  text-align: right;
  border-left: 1px solid var(--c-line);
  padding-left: 30px;
}

.post-nav__item:last-child span {
  flex-direction: row-reverse;
}

.post-nav__item a:hover h4 {
  opacity: 0.6;
}

/* 12. FAQ accordion --------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--c-line);
  margin-bottom: 30px;
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 0;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
}

.faq__q .faq__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  position: relative;
  margin-top: 4px;
}

.faq__q .faq__icon::before,
.faq__q .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--c-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq__q .faq__icon::before {
  width: 16px;
  height: 2px;
}

.faq__q .faq__icon::after {
  width: 2px;
  height: 16px;
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}

.faq__a-inner {
  padding: 0 40px 24px 0;
  font-size: 17px;
}

.faq__a-inner p:last-child {
  margin-bottom: 0;
}

/* 13. Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--c-footer);
  color: #cfd1d3;
}

.footer-top {
  padding: 46px 0;
}

.footer-top__inner {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  height: 66px;
  width: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
}

.footer-nav a {
  font-size: 16.5px;
  color: #d7d9db;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  list-style: none;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d7d9db;
}

.footer-social a:hover {
  background: #fff;
  color: var(--c-footer);
  border-color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  background: var(--c-footer-deep);
  padding: 22px 0;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: #bfc2c4;
}

/* 14. Floating UI ------------------------------------------------------------ */
.scroll-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--c-ink);
  z-index: 140;
  transition: width 0.1s linear;
}

/* 15. Motion ----------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 16. Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
  :root {
    --container: 992px;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }
}

@media (max-width: 991px) {
  :root {
    --container: 768px;
    --header-h: 82px;
  }

  .main-nav,
  .sticky-bar {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-branding img {
    height: 58px;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
    padding: 56px 0 74px;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-banner {
    padding: 58px 0 62px;
  }

  .section {
    padding: 54px 0 70px;
  }

  .footer-top__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 26px;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --container: 100%;
  }

  body {
    font-size: 16.5px;
  }

  .container {
    padding: 0 20px;
  }

  .post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .post-card__body {
    padding: 22px 22px 28px;
  }

  .post-card__title {
    font-size: 23px;
  }

  .sec-title {
    margin-bottom: 38px;
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .post-nav__item:last-child {
    text-align: left;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--c-line);
    padding-top: 24px;
  }

  .post-nav__item:last-child span {
    flex-direction: row;
  }

  .article__meta {
    font-size: 14.5px;
  }

  .lead {
    font-size: 18.5px;
  }

  .faq__q {
    font-size: 18px;
  }

  .faq__a-inner {
    padding-right: 8px;
  }

  .overlay-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 479px) {
  .site-branding img {
    height: 50px;
  }

  .footer-nav {
    gap: 20px;
  }

  .entry-content {
    font-size: 16.5px;
  }
}
