/*
Theme Name: Authentic Doc
Theme URI: https://example.com/
Author: Authentic Doc
Description: Editorial WordPress theme for Authentic Doc. Poppins typography, a visible premium layout, a touch carousel, and a mobile-safe article layout.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: authentic-doc
*/

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/poppins-800.woff2") format("woff2");
}

:root {
  --ad-ink: #111827;
  --ad-muted: #667085;
  --ad-line: #e6e8ec;
  --ad-bg: #ffffff;
  --ad-soft: #f6f7f9;
  --ad-brand: #e64b2f;
  --ad-brand-dark: #c83b22;
  --ad-radius: 14px;
  --ad-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  --ad-site-width: 1180px;
  --ad-logo-width: 190px;
  --ad-logo-height: 44px;
  --ad-base-font: 16px;
  --ad-header-height: 72px;
  --ad-body-font: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --ad-heading-font: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --ad-menu-font: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --ad-body-weight: 400;
  --ad-heading-weight: 700;
  --ad-menu-weight: 600;
  --ad-body-line-height: 1.65;
  --ad-heading-line-height: 1.15;
  --ad-card-cols: 2;
  --ad-footer-follow-bg: var(--ad-brand);
  --ad-footer-follow-text: #ffffff;
  --ad-footer-icon-bg: rgba(255, 255, 255, 0.18);
  --ad-footer-icon-border: rgba(255, 255, 255, 0.45);
  --ad-footer-follow-size: 44px;
  --ad-footer-follow-gap: 10px;
  --ad-top-social-size: 40px;
  --ad-top-social-gap: 8px;
  --ad-top-share-brand: #e64b2f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ad-bg);
  color: var(--ad-ink);
  font-family: var(--ad-body-font);
  font-weight: var(--ad-body-weight);
  font-size: var(--ad-base-font);
  line-height: var(--ad-body-line-height);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4, h5, h6,
.site-title, .section-head h2, .post-title, .single-title, .archive-head h1, .hero h1, .ad-slide-caption h3 {
  font-family: var(--ad-heading-font);
  font-weight: var(--ad-heading-weight);
  line-height: var(--ad-heading-line-height);
  overflow-wrap: anywhere;
}
.container { width: min(var(--ad-site-width), calc(100% - 32px)); margin-inline: auto; }
.site-main { min-height: 60vh; }

.skip-link.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link.screen-reader-text:focus {
  position: fixed !important; top: 10px; left: 10px; width: auto; height: auto;
  margin: 0; padding: 10px 14px; overflow: visible; clip: auto; white-space: normal;
  z-index: 99999; background: #111827; color: #fff; border-radius: 8px;
}

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ad-line);
}
.ad-sticky-enabled .site-header { position: sticky; top: 0; }
.ad-header-shadow .site-header { box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07); }
.header-inner {
  min-height: var(--ad-header-height);
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
}
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo {
  width: min(var(--ad-logo-width), calc(100vw - 150px));
  max-height: var(--ad-logo-height);
  height: auto;
  object-fit: contain;
}
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px;
  background: var(--ad-brand); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.premium-pill {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  height: 26px; padding: 0 9px; border-radius: 999px;
  background: var(--ad-brand); color: #fff;
  font-family: var(--ad-menu-font); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--ad-line);
  background: #fff; color: var(--ad-ink); border-radius: 12px; padding: 0; cursor: pointer;
  position: relative; z-index: 70;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 4px; margin: 2px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.primary-nav { display: none; }
.site-header.menu-open .primary-nav {
  display: block;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--ad-line);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1);
  padding: 8px 16px 14px;
  max-height: calc(100vh - var(--ad-header-height));
  overflow: auto;
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.primary-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  color: #344054; font-family: var(--ad-menu-font); font-size: 15px; font-weight: var(--ad-menu-weight);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav a[aria-current="page"] {
  background: var(--ad-soft); color: var(--ad-ink);
}
.menu-overlay { display: none; }
.site-header.menu-open + .menu-overlay {
  display: block; position: fixed; inset: 0; background: rgba(17, 24, 39, 0.28); z-index: 40;
}
body.menu-is-open { overflow: hidden; }

.hero { padding: 28px 0 8px; }
.breadcrumb { font-size: 13px; color: var(--ad-muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--ad-brand); }
.ad-hide-breadcrumbs .breadcrumb { display: none; }
.hero-grid { display: grid; gap: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
  color: var(--ad-brand); margin-bottom: 10px;
}
.eyebrow:before { content: ""; width: 22px; height: 2px; background: var(--ad-brand); }
.eyebrow.no-line:before, .ad-no-eyebrow-line .eyebrow:before { display: none; }
.hero h1 {
  font-size: clamp(30px, 8vw, 56px);
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
.hero p { font-size: 16px; color: var(--ad-muted); margin: 0; max-width: 680px; }
.hero-side {
  padding: 16px; border: 1px solid var(--ad-line); border-radius: var(--ad-radius); background: var(--ad-soft);
}
.hero-side strong { display: block; font-size: 16px; margin-bottom: 6px; }
.hero-side span { font-size: 13px; color: var(--ad-muted); }

.ad-carousel { margin: 22px 0 8px; max-width: 100%; }
.ad-carousel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ad-carousel-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.ad-carousel-viewport { overflow: hidden; border-radius: calc(var(--ad-radius) + 2px); width: 100%; touch-action: pan-y; background: #111827; }
.ad-carousel-track { display: flex; width: 100%; transition: transform 0.45s ease; }
.ad-slide { flex: 0 0 100%; width: 100%; min-width: 0; max-width: 100%; }
.ad-slide-media { position: relative; aspect-ratio: 16 / 10; }
.ad-slide-media img, .post-thumb img, .single-featured img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ad-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(17, 24, 39, 0.88));
  color: #fff;
}
.ad-slide-caption .post-cat { color: #ffd2c8; }
.ad-slide-caption h3 { margin: 6px 0 0; color: #fff; font-size: clamp(20px, 5vw, 32px); letter-spacing: -0.03em; }
.ad-carousel-ui { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.ad-carousel-arrow {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  border: 1px solid var(--ad-line); background: #fff; color: var(--ad-ink); cursor: pointer;
  display: grid; place-items: center;
}
.ad-carousel-arrow:hover { border-color: var(--ad-brand); color: var(--ad-brand); }
.ad-carousel-dots { display: flex; justify-content: center; gap: 2px; flex: 1; min-width: 0; }
.ad-carousel-dots button {
  width: 28px; height: 28px; border: 0; background: transparent; padding: 0; cursor: pointer;
}
.ad-carousel-dots button::before {
  content: ""; display: block; width: 8px; height: 8px; margin: 10px auto; border-radius: 99px; background: #d0d5dd;
}
.ad-carousel-dots button.is-active::before { width: 18px; background: var(--ad-brand); }
@media (prefers-reduced-motion: reduce) {
  .ad-carousel-track { transition: none; }
  html { scroll-behavior: auto; }
}

.content-layout { display: grid; gap: 28px; align-items: start; margin-top: 28px; }
.section-head {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  border-bottom: 1px solid var(--ad-line); padding-bottom: 12px; margin-bottom: 16px;
}
.section-head h2 { font-size: 22px; letter-spacing: -0.03em; margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--ad-muted); font-size: 13px; }
.section-head .btn, .archive-actions .btn { width: 100%; }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.post-card {
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius); overflow: hidden; background: #fff;
  min-width: 0;
}
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-thumb { aspect-ratio: 16 / 9; background: #1f2937; overflow: hidden; }
.post-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.post-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--ad-muted); font-size: 12px; }
.post-cat { color: var(--ad-brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.post-title { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.post-excerpt { margin: 0; color: var(--ad-muted); font-size: 14px; }
.ad-hide-post-excerpts .post-excerpt { display: none; }
.card-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; width: 100%; padding: 0 14px; border-radius: 10px;
  background: var(--ad-brand); color: #fff; font-weight: 600; font-size: 14px;
}
.topic-card .post-body { min-height: 0; }

.sidebar { display: grid; gap: 16px; min-width: 0; }
.sidebar-card { border: 1px solid var(--ad-line); border-radius: var(--ad-radius); padding: 16px; background: #fff; }
.sidebar-card h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -0.02em; }
.category-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.category-list a {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  min-height: 44px; padding: 8px 10px; border-radius: 10px; background: var(--ad-soft); font-size: 14px;
}
.category-list a:hover { background: #eef0f3; }
.category-list span:last-child { color: var(--ad-muted); }

.search-form { display: flex; flex-direction: column; gap: 8px; }
.search-form input, .newsletter input[type="email"] {
  width: 100%; min-width: 0; border: 1px solid var(--ad-line); border-radius: 10px;
  padding: 12px; min-height: 44px; outline: none; background: #fff; color: var(--ad-ink);
}
.search-form input:focus { border-color: var(--ad-brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; background: var(--ad-brand); color: #fff;
  min-height: 44px; padding: 10px 16px; font-weight: 600; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--ad-brand-dark); }
.btn-ghost { background: #fff; color: var(--ad-ink); border: 1px solid var(--ad-line); }
.btn-ghost:hover { background: var(--ad-soft); color: var(--ad-brand-dark); border-color: #d9dce2; }
.btn:focus-visible, .menu-toggle:focus-visible, .ad-carousel-arrow:focus-visible {
  outline: 2px solid var(--ad-brand); outline-offset: 2px;
}

.archive-head { padding: 28px 0 8px; }
.archive-head h1 { font-size: clamp(30px, 7vw, 44px); letter-spacing: -0.04em; margin: 0 0 8px; }
.archive-head p { margin: 0; color: var(--ad-muted); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin: 28px 0; }
.pagination a, .pagination span, .nav-links a, .nav-links span {
  min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ad-line);
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: #fff;
}
.pagination .current, .nav-links .current { background: var(--ad-brand); color: #fff; border-color: var(--ad-brand); }
.no-posts { padding: 28px 16px; border: 1px dashed var(--ad-line); border-radius: 12px; color: var(--ad-muted); text-align: center; }

.single-wrap { padding: 28px 0 10px; }
.single-wrap article { max-width: 820px; margin: 0 auto; min-width: 0; }
.single-title { font-size: clamp(30px, 8vw, 52px); letter-spacing: -0.045em; margin: 8px 0 12px; }
.single-featured { border-radius: 16px; overflow: hidden; margin: 18px 0; aspect-ratio: 16 / 9; background: #111827; }
.single-content { font-size: 17px; }
.single-content p, .single-content ul, .single-content ol { margin: 0 0 1.1em; }
.single-content h2, .single-content h3 { letter-spacing: -0.03em; margin-top: 1.5em; }
.single-content blockquote {
  margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--ad-brand); background: var(--ad-soft); color: #344054;
}
.single-content img { border-radius: 12px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; align-items: center; }
.post-tags a { background: var(--ad-soft); padding: 8px 12px; border-radius: 999px; font-size: 13px; min-height: 36px; }

.ad-article-meta-bar {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  color: var(--ad-muted); font-size: 14px; margin: 0 0 8px;
}
.ad-meta-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ad-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.ad-meta-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; color: #64748b; }
.ad-meta-icon svg { width: 18px; height: 18px; }
.ad-author-link { color: var(--ad-brand); font-weight: 600; }
.ad-author-link:hover { text-decoration: underline; }
.article-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.article-actions .btn { width: 100%; padding-inline: 10px; }
.ad-preferred-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--ad-line);
  background: #fff; color: var(--ad-ink); font-size: 13px; font-weight: 600; width: 100%;
}
.ad-google-g { color: var(--ad-top-share-brand); font-weight: 700; }
.ad-social-inline { display: flex; flex-wrap: wrap; gap: var(--ad-top-social-gap); }
.ad-social-link {
  width: var(--ad-top-social-size); height: var(--ad-top-social-size); min-width: 44px; min-height: 44px;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}
.ad-social-link svg { width: 18px; height: 18px; display: block; }
.ad-social-link svg.icon-fill path { fill: currentColor; }
.ad-social-x { background: #111827; }
.ad-social-facebook { background: #2563eb; }
.ad-social-whatsapp { background: #16a34a; }
.ad-social-youtube { background: #dc2626; }
.ad-social-instagram { background: #c026d3; }
.ad-social-google { background: #4285f4; }
.ad-social-text-icon { font-weight: 700; font-size: 16px; line-height: 1; }

.author-box, .related-posts { margin-top: 28px; }
.author-box {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--ad-line); border-radius: var(--ad-radius); background: var(--ad-soft);
}
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-box h2 { margin: 0 0 4px; font-size: 16px; }
.author-box p { margin: 0; color: var(--ad-muted); font-size: 14px; }

.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--ad-brand); }
.back-to-top {
  position: fixed; right: 14px; bottom: 14px; width: 48px; height: 48px; border: 0; border-radius: 999px;
  background: var(--ad-brand); color: #fff; display: grid; place-items: center; z-index: 45;
  box-shadow: 0 10px 24px rgba(230, 75, 47, 0.35); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.footer-follow { margin-top: 48px; background: var(--ad-footer-follow-bg); color: var(--ad-footer-follow-text); }
.footer-follow-inner {
  min-height: 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px; padding: 16px 0;
}
.footer-follow-label { font-size: 16px; font-weight: 700; }
.footer-follow-icons { display: flex; flex-wrap: wrap; gap: var(--ad-footer-follow-gap); }
.footer-follow .ad-social-link,
.footer-follow .ad-social-link.ad-social-x,
.footer-follow .ad-social-link.ad-social-facebook,
.footer-follow .ad-social-link.ad-social-whatsapp,
.footer-follow .ad-social-link.ad-social-youtube,
.footer-follow .ad-social-link.ad-social-instagram,
.footer-follow .ad-social-link.ad-social-google {
  width: var(--ad-footer-follow-size);
  height: var(--ad-footer-follow-size);
  background: var(--ad-footer-icon-bg);
  color: var(--ad-footer-follow-text);
  border: 1px solid var(--ad-footer-icon-border);
  box-shadow: none;
}
.footer-follow .ad-social-link:hover { background: rgba(255, 255, 255, 0.28); }

.site-footer { margin-top: 48px; background: #111827; color: #d7dde7; }
.footer-follow + .site-footer { margin-top: 0; }
.footer-top { padding: 36px 0; display: grid; gap: 22px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.footer-top p { font-size: 14px; color: #aeb7c7; margin: 0; max-width: 360px; }
.footer-col h3 { font-size: 12px; color: #fff; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul, .footer-col .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 14px; color: #aeb7c7; display: inline-flex; min-height: 32px; align-items: center; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 0 22px; color: #98a2b3; font-size: 13px; }

.ad-premium-mode .site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}
.ad-premium-mode .hero {
  background:
    radial-gradient(620px 220px at 100% 0%, rgba(230, 75, 47, 0.16), transparent 70%),
    linear-gradient(#fff, #fff);
}
.ad-premium-mode .post-card {
  border-color: transparent;
  box-shadow: var(--ad-shadow);
}
.ad-premium-mode .post-card .post-thumb img { transition: transform 0.45s ease; }
.ad-premium-mode .post-card:hover .post-thumb img { transform: scale(1.04); }
.ad-premium-mode .ad-carousel-viewport { box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14); }
.ad-no-card-hover .post-card:hover .post-thumb img { transform: none; }
.ad-slide-link { display: block; color: inherit; }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.comment-list .children { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid var(--ad-line); border-radius: 10px; padding: 12px; font: inherit; }
.comment-form p { margin: 0 0 12px; }

@media (min-width: 720px) {
  .brand { font-size: 22px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: end; }
  .hero p { font-size: 18px; }
  .ad-slide-media { aspect-ratio: 16 / 8; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head .btn { width: auto; }
  .post-grid { grid-template-columns: repeat(var(--ad-card-cols, 2), minmax(0, 1fr)); gap: 18px; }
  .search-form { flex-direction: row; }
  .search-form .btn { width: auto; }
  .article-actions { display: flex; flex-wrap: wrap; width: auto; }
  .article-actions .btn, .ad-preferred-btn { width: auto; }
  .ad-article-meta-bar { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .footer-follow-inner { flex-direction: row; align-items: center; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .single-content { font-size: 18px; }
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .primary-nav { display: block; margin-left: auto; min-width: 0; }
  .site-header.menu-open .primary-nav,
  .primary-nav {
    position: static; background: transparent; border: 0; box-shadow: none;
    padding: 0; max-height: none; overflow: visible;
  }
  .primary-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
  .primary-nav a { min-height: 40px; padding: 8px 10px; font-size: 14px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .content-layout.content-full { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .site-header.menu-open + .menu-overlay { display: none; }
}
