/*
Theme Name: Wanderwide v2
Theme URI: https://yoursite.com
Author: Your Name
Description: A fast, clean, Pinterest-optimized travel blog theme for national parks, road trips, and adventure travel. System fonts, full-width posts, Google Ads ready.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: wanderwide
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --c-bg:        #FAFAF8;
  --c-surface:   #F3F1ED;
  --c-border:    #E4E0D8;
  --c-text:      #1C1C1A;
  --c-muted:     #6B6560;
  --c-accent:    #B85C3A;
  --c-accent-dk: #8F3F22;
  --c-link:      #2563A8;

  /* System font stack — zero loading time */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif, "Apple Color Emoji";
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono:  "Courier New", Courier, monospace;

  /* Layout */
  --max-w:       1100px;
  --post-w:       740px;
  --gap:          1.5rem;
  --radius:       6px;

  /* Transitions */
  --t: 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: .3em; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.post-container {
  max-width: var(--post-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  padding: .5rem 1rem;
  background: var(--c-accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  z-index: 9999;
}
.skip-link:focus { left: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  height: 60px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

/* Logo icon — small square/circle badge */
.site-logo img,
.site-logo .custom-logo-link img,
.site-logo .custom-logo,
header .custom-logo,
header .custom-logo-link img {
  height: 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 4px;
}

.site-logo .custom-logo-link,
.site-logo a {
  display: flex !important;
  align-items: center !important;
  gap: .55rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

/* Blog name text shown next to the icon */
.site-logo .custom-logo-link::after,
.site-logo a.has-custom-logo::after {
  content: attr(data-blogname);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.02em;
  white-space: nowrap;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }

.site-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.02em;
  white-space: nowrap;
  line-height: 1;
}
.site-logo:hover .site-logo-text { color: var(--c-accent); }

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: .125rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  display: block;
  padding: .4rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-text);
  border-radius: var(--radius);
  transition: background var(--t), color var(--t);
}
.primary-nav a:hover {
  background: var(--c-surface);
  color: var(--c-accent);
  text-decoration: none;
}
.primary-nav a.current { color: var(--c-accent); }

/* ---- Dropdown — works with both custom class and WordPress default .sub-menu ---- */
.primary-nav li { position: relative; list-style: none; }

.primary-nav li:hover > a,
.primary-nav li.current-menu-item > a,
.primary-nav li.current-menu-parent > a {
  color: var(--c-accent);
}

/* Parent item with children — show arrow */
.primary-nav li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.primary-nav li.menu-item-has-children > a::after {
  content: '▾';
  font-size: .65rem;
  line-height: 1;
  transition: transform var(--t);
}
.primary-nav li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* The dropdown panel — targets WordPress's .sub-menu class */
.primary-nav .sub-menu,
.primary-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 500;
  padding: .4rem 0;
  list-style: none;
  margin: 0;
}

/* Show on hover */
.primary-nav li.menu-item-has-children:hover > .sub-menu,
.primary-nav li.menu-item-has-children:hover > .dropdown-menu,
.primary-nav .has-dropdown:hover > .sub-menu,
.primary-nav .has-dropdown:hover > .dropdown-menu {
  display: block;
}

.primary-nav .sub-menu li,
.primary-nav .dropdown-menu li {
  position: static;
}

.primary-nav .sub-menu li a,
.primary-nav .dropdown-menu li a {
  display: block;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  border-radius: 0;
  transition: background var(--t), color var(--t);
}
.primary-nav .sub-menu li a:hover,
.primary-nav .dropdown-menu li a:hover {
  background: var(--c-surface);
  color: var(--c-accent);
  text-decoration: none;
}

/* Old .has-dropdown references kept for fallback */
.primary-nav .has-dropdown { position: relative; }

/* ---- Mobile submenu (second level in drawer) ---- */
.mobile-nav .mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  border-radius: var(--radius);
}
.mobile-nav .mobile-sub-toggle::after {
  content: '▾';
  font-size: .7rem;
  transition: transform var(--t);
  flex-shrink: 0;
}
.mobile-nav .mobile-sub-toggle.open::after { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  flex-direction: column;
  background: var(--c-surface);
  border-radius: var(--radius);
  margin-bottom: .25rem;
  overflow: hidden;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
  padding: .65rem 1.5rem !important;
  font-size: .95rem !important;
  font-weight: 500 !important;
  border-bottom: 1px solid var(--c-border) !important;
  color: var(--c-muted) !important;
}
.mobile-submenu a:last-child { border-bottom: none !important; }

/* ---- Category photo grid ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } }

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  text-decoration: none;
}
.cat-card:hover { text-decoration: none; }

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.cat-card:hover img { transform: scale(1.05); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: .9rem 1rem;
}
.cat-card-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
@media (max-width: 500px) { .cat-card-name { font-size: .85rem; } }

/* ---- National Parks subcategory grid (NP archive page) ---- */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0 3rem;
}
@media (max-width: 700px) { .subcat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .subcat-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--t);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--c-bg);
  z-index: 190;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: .25rem;
  overflow-y: auto;
  border-top: 1px solid var(--c-border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: .75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav a:hover { background: var(--c-surface); text-decoration: none; }

/* ============================================================
   GOOGLE ADS — HEADER LEADERBOARD
   ============================================================ */
.ad-leaderboard {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
  padding: .5rem 1rem;
  font-size: .7rem;
  color: var(--c-muted);
  overflow: hidden;
}
/* The actual ad unit goes here via Google Ads snippet */

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.home-hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 3.5rem 1.25rem;
  text-align: center;
}
.home-hero .eyebrow { display: block; margin-bottom: .6rem; }
.home-hero h1 { margin-bottom: .75rem; max-width: 22ch; margin-inline: auto; }
.home-hero p {
  color: var(--c-muted);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* ============================================================
   POST CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: 2.5rem 0 3rem;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

.post-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.post-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Pinterest-ratio thumbnail on cards */
.card-thumb {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--c-surface);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .card-thumb img { transform: scale(1.03); }

.card-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.card-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  text-decoration: none;
}
.card-cat:hover { text-decoration: underline; }

.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--c-accent); text-decoration: none; }

.card-meta {
  font-size: .75rem;
  color: var(--c-muted);
  margin-top: auto;
  padding-top: .5rem;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--c-border);
  padding-bottom: .75rem;
  margin-bottom: 1.75rem;
}
.section-head h2 { font-size: 1.1rem; font-weight: 700; }
.section-head a {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-accent);
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */
.home-section { padding: 2.5rem 0; }
.home-section + .home-section { border-top: 1px solid var(--c-border); }

/* ============================================================
   SINGLE POST — PINTEREST-OPTIMIZED
   ============================================================ */

/* Featured pin image at top — tall 2:3 ratio */
.post-pin-wrap {
  background: var(--c-surface);
  display: flex;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
}

.post-pin-image {
  width: 100%;
  max-width: 500px; /* Pinterest pin max display width */
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  position: relative;
}

.post-pin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* On mobile, constrain pin height so it doesn't dominate */
@media (max-width: 600px) {
  .post-pin-image {
    max-width: 320px;
  }
}

/* Post header — sits below the pin */
.post-header {
  padding: 2rem 1.25rem 0;
  max-width: var(--post-w);
  margin: 0 auto;
}

.post-header .eyebrow {
  display: block;
  margin-bottom: .5rem;
}

.post-header h1 {
  margin-bottom: .75rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-size: .8rem;
  color: var(--c-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

/* Ad unit — below post header, above content */
.ad-in-content {
  max-width: var(--post-w);
  margin: 1.5rem auto;
  padding: 0 1.25rem;
  text-align: center;
  font-size: .7rem;
  color: var(--c-muted);
}

/* Post body */
.post-body {
  max-width: var(--post-w);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2a2825;
}

.post-body > * + * { margin-top: 1.25em; }
.post-body p { margin-top: 0; margin-bottom: 1.4em; }

.post-body h2 { font-size: 1.4rem; margin-top: 2.25em; margin-bottom: .6em; }
.post-body h3 { font-size: 1.15rem; margin-top: 2em; margin-bottom: .5em; }

.post-body a { color: var(--c-link); }
.post-body a:hover { color: var(--c-accent-dk); }

.post-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: .5em 1.25em;
  margin: 1.75em 0;
  color: var(--c-muted);
  font-style: italic;
}

/* Images inside post body — also get Pinterest data attrs */
.post-body img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

/* Tall pin images inside the body keep their ratio */
.post-body .pin-image {
  max-width: 500px;
  margin-inline: auto;
}

.post-body ul, .post-body ol { margin-bottom: 1.4em; }

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--c-border);
  max-width: var(--post-w);
  margin: 0 auto;
}
.post-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .3em .85em;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  color: var(--c-muted);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.post-tag:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  text-decoration: none;
}

/* Post navigation */
.post-nav {
  max-width: var(--post-w);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  border-top: 1px solid var(--c-border);
}
.post-nav a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-accent);
  max-width: 45%;
}
.post-nav .prev::before { content: '← '; }
.post-nav .next::after  { content: ' →'; }

/* ============================================================
   AD — BEFORE RELATED POSTS
   ============================================================ */
.ad-between {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 1rem;
  text-align: center;
  font-size: .7rem;
  color: var(--c-muted);
}

/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-section {
  padding: 2.5rem 0 3rem;
  background: var(--c-surface);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ARCHIVE / CATEGORY
   ============================================================ */
.archive-head {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}
.archive-head .eyebrow { display: block; margin-bottom: .4rem; }
.archive-head h1 { margin-bottom: .4rem; }
.archive-head p { color: var(--c-muted); max-width: 50ch; margin-inline: auto; font-size: .95rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  padding: 1.5rem 0 2.5rem;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .5rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.page-numbers:hover { background: var(--c-surface); text-decoration: none; }
.page-numbers.current {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */
.search-form {
  display: flex;
  gap: .5rem;
  max-width: 480px;
  margin: 1.5rem auto;
}
.search-form input[type="search"] {
  flex: 1;
  padding: .6rem .9rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  background: #fff;
  color: var(--c-text);
  outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--c-accent); }
.search-form button {
  padding: .6rem 1.1rem;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t);
}
.search-form button:hover { background: var(--c-accent-dk); }

/* ============================================================
   404 / NO RESULTS
   ============================================================ */
.no-results {
  padding: 4rem 1.25rem;
  text-align: center;
}
.no-results h1 { margin-bottom: 1rem; }
.no-results p { color: var(--c-muted); margin-bottom: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-text);
  color: #ccc;
  padding: 2.5rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .site-logo-text {
  color: #fff;
  display: block;
  margin-bottom: .75rem;
}
.footer-brand p { font-size: .875rem; line-height: 1.65; }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { font-size: .875rem; color: #ccc; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.25rem auto 0;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — HEADER
   ============================================================ */
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle   { display: flex; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .ad-leaderboard,
  .ad-in-content, .ad-between, .related-section,
  .post-nav, .post-tags { display: none; }
  body { font-size: 12pt; }
  .post-body { max-width: 100%; }
}
