/* ==========================================================================
   Rank & Cart — theme.css
   All colors come from CSS custom properties set by the Customizer.
   ========================================================================== */

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: var(--rac-font-size-base, 16px);
}

body {
  font-family: var(--rac-font-body, system-ui, sans-serif);
  font-size: var(--rac-font-size-base, 16px);
  line-height: 1.7;
  color: var(--rac-text);
  background: var(--rac-bg);
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rac-font-heading, inherit);
}

a {
  color: var(--rac-primary);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--rac-accent); }

/* ── Screen-reader utilities ──────────────────────────────── */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
  background: var(--rac-bg);
  border: 2px solid var(--rac-primary);
  border-radius: .25rem;
  padding: .5rem 1rem;
  font-weight: 600;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: min(var(--rac-container-max, 1400px), 92vw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  background: var(--rac-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgb(0 0 0 / .15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .875rem;
}

/* Branding */
.site-branding { display: flex; flex-direction: column; }

.site-logo img {
  height: 48px;
  width: auto;
}

.site-name-link {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.site-name-link:hover { color: rgb(255 255 255 / .85); }

.site-description {
  font-size: .78rem;
  color: rgb(255 255 255 / .65);
  margin-top: .15rem;
}

/* Nav */
.main-navigation { display: flex; align-items: center; }

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: .25rem;
}

.main-navigation a {
  color: rgb(255 255 255 / .88);
  font-size: .9rem;
  font-weight: 500;
  padding: .45rem .75rem;
  border-radius: .35rem;
  transition: background .18s, color .18s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: rgb(255 255 255 / .12);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .4rem;
  border-radius: .3rem;
  transition: background .15s;
}
.nav-toggle:hover { background: rgb(255 255 255 / .1); }
.nav-toggle-icon { display: flex; flex-direction: column; gap: 5px; }
.nav-toggle-icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1.25rem;
  border-radius: .4rem;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  border: 2px solid transparent;
  line-height: 1.25;
  text-decoration: none;
}
.btn-primary {
  background: var(--rac-accent);
  color: #fff;
  border-color: var(--rac-accent);
}
.btn-primary:hover {
  background: var(--rac-primary);
  border-color: var(--rac-primary);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--rac-primary);
  border-color: var(--rac-primary);
}
.btn-outline:hover {
  background: var(--rac-primary);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — MAGAZINE LAYOUT
   ══════════════════════════════════════════════════════════ */

/* Hero */
.hero-post { padding-block: 3rem 2rem; }

.hero-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-thumbnail {
  border-radius: .75rem;
  overflow: hidden;
}
.hero-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.hero-thumbnail:hover img { transform: scale(1.03); }

.hero-content { display: flex; flex-direction: column; gap: 1rem; }

.hero-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.025em;
  color: var(--rac-text);
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--rac-primary); }

.hero-excerpt { color: var(--rac-text-light); font-size: 1.05rem; }

/* Category strip */
.category-strip { padding-block: 1.25rem 0; }

.category-strip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--rac-bg-alt);
  border: 1.5px solid var(--rac-border);
  border-radius: 2rem;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--rac-primary);
  transition: background .18s, border-color .18s;
}
.category-chip:hover {
  background: var(--rac-primary);
  border-color: var(--rac-primary);
  color: #fff;
}
.cat-count {
  background: var(--rac-primary);
  color: #fff;
  border-radius: 1rem;
  font-size: .72rem;
  padding: .1rem .45rem;
  line-height: 1.4;
  transition: background .18s;
}
.category-chip:hover .cat-count { background: rgb(255 255 255 / .3); }

/* Section heading */
.section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-block: 2rem 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--rac-border);
  color: var(--rac-text);
}

/* Post grid */
.post-grid-section { padding-bottom: 3rem; padding-top: 1.5rem; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ── Post Card ──────────────────────────────────────────── */
.post-card {
  border-radius: .6rem;
  overflow: hidden;
  background: var(--rac-bg);
  border: 1px solid var(--rac-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover {
  box-shadow: 0 8px 32px rgb(0 0 0 / .08);
  transform: translateY(-3px);
}

.post-card-thumb {
  display: block;
  overflow: hidden;
}
.post-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

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

.post-card-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--rac-accent);
}
.post-card-cat:hover { color: var(--rac-primary); }

.post-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.post-card-title a { color: var(--rac-text); }
.post-card-title a:hover { color: var(--rac-primary); }

.post-card-excerpt {
  font-size: .875rem;
  color: var(--rac-text-light);
  line-height: 1.55;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .78rem;
  color: var(--rac-text-light);
  margin-top: auto;
}
.post-card-meta .sep { opacity: .4; }

/* ── Entry category badges (hero) ─────────────────────────── */
.entry-categories { display: flex; gap: .5rem; flex-wrap: wrap; }
.category-badge {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  background: var(--rac-accent);
  padding: .25rem .7rem;
  border-radius: .25rem;
}
.category-badge:hover { background: var(--rac-primary); color: #fff; }

.entry-meta { font-size: .85rem; color: var(--rac-text-light); }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — BLOG + SIDEBAR LAYOUT
   ══════════════════════════════════════════════════════════ */
.layout-blog-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding-block: 2.5rem 3rem;
  align-items: start;
}

.post-list { display: flex; flex-direction: column; gap: 1.75rem; }

.post-list-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rac-border);
}
.post-list-item:last-child { border-bottom: none; }

.post-list-thumb {
  border-radius: .45rem;
  overflow: hidden;
}
.post-list-thumb img { width: 100%; height: auto; display: block; }

.post-list-body { display: flex; flex-direction: column; gap: .4rem; }

.post-list-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.post-list-title a { color: var(--rac-text); }
.post-list-title a:hover { color: var(--rac-primary); }

.post-list-excerpt { font-size: .875rem; color: var(--rac-text-light); }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — FULLWIDTH FEED LAYOUT
   ══════════════════════════════════════════════════════════ */
.layout-fullwidth { padding-block: 2.5rem 3rem; }

.post-feed { display: flex; flex-direction: column; gap: 2.5rem; }

.post-feed-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rac-border);
}
.post-feed-item:last-child { border-bottom: none; }

.post-feed-thumb {
  border-radius: .6rem;
  overflow: hidden;
}
.post-feed-thumb img { width: 100%; height: auto; display: block; }

.post-feed-body { display: flex; flex-direction: column; gap: .6rem; }

.post-feed-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
}
.post-feed-title a { color: var(--rac-text); }
.post-feed-title a:hover { color: var(--rac-primary); }

.post-feed-excerpt { font-size: .95rem; color: var(--rac-text-light); }

/* ══════════════════════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════════════════════ */
.layout-single {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding-block: 2.5rem 3rem;
  align-items: start;
}

.single-article { max-width: 780px; }

.single-header { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.75rem; }

.single-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
  color: var(--rac-text);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--rac-text-light);
}
.author-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.single-meta .sep { opacity: .4; }

.single-featured-image {
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}
.single-featured-image .featured-img { width: 100%; height: auto; }

/* Content typography */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--rac-text);
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--rac-font-heading, inherit);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: var(--rac-text);
}
.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: var(--rac-accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--rac-primary); }
.entry-content blockquote {
  border-left: 4px solid var(--rac-accent);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--rac-bg-alt);
  border-radius: 0 .45rem .45rem 0;
  font-style: italic;
  color: var(--rac-text-light);
}
.entry-content pre, .entry-content code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: .88rem;
}
.entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: .5rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.entry-content :not(pre) > code {
  background: var(--rac-bg-alt);
  border: 1px solid var(--rac-border);
  border-radius: .25rem;
  padding: .1rem .35rem;
  color: var(--rac-primary);
}
.entry-content img { border-radius: .5rem; margin-bottom: 1rem; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figcaption { font-size: .82rem; color: var(--rac-text-light); text-align: center; margin-top: .4rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.entry-content th, .entry-content td { border: 1px solid var(--rac-border); padding: .6rem .85rem; text-align: left; }
.entry-content th { background: var(--rac-bg-alt); font-weight: 600; }

/* Post footer */
.single-footer { margin-top: 2.5rem; border-top: 1px solid var(--rac-border); padding-top: 1.5rem; }

.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tag-pill {
  font-size: .78rem;
  font-weight: 600;
  color: var(--rac-text-light);
  background: var(--rac-bg-alt);
  border: 1px solid var(--rac-border);
  border-radius: 2rem;
  padding: .25rem .75rem;
  transition: background .18s, color .18s;
}
.tag-pill:hover { background: var(--rac-primary); color: #fff; border-color: var(--rac-primary); }

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.nav-previous, .nav-next {
  background: var(--rac-bg-alt);
  border: 1px solid var(--rac-border);
  border-radius: .5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.nav-next { text-align: right; }
.nav-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--rac-text-light); }
.nav-title { font-size: .9rem; font-weight: 600; color: var(--rac-primary); }
.nav-previous a:hover .nav-title, .nav-next a:hover .nav-title { color: var(--rac-accent); }

/* ══════════════════════════════════════════════════════════
   SIDEBAR & WIDGETS
   ══════════════════════════════════════════════════════════ */
.widget-area {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.widget {
  background: var(--rac-bg-alt);
  border: 1px solid var(--rac-border);
  border-radius: .6rem;
  padding: 1.25rem;
}

.widget-title {
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--rac-primary);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--rac-border);
}

.widget ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.widget ul li a { font-size: .88rem; color: var(--rac-text); }
.widget ul li a:hover { color: var(--rac-accent); }

/* Search widget */
.widget_search .search-form { display: flex; gap: .4rem; }
.widget_search input[type="search"] {
  flex: 1;
  padding: .5rem .75rem;
  border: 1.5px solid var(--rac-border);
  border-radius: .35rem;
  font-size: .875rem;
  background: var(--rac-bg);
  color: var(--rac-text);
  outline: none;
  transition: border-color .18s;
}
.widget_search input[type="search"]:focus { border-color: var(--rac-accent); }
.widget_search .search-submit {
  background: var(--rac-primary);
  color: #fff;
  border: none;
  border-radius: .35rem;
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}
.widget_search .search-submit:hover { background: var(--rac-accent); }

/* ══════════════════════════════════════════════════════════
   ARCHIVE HEADER
   ══════════════════════════════════════════════════════════ */
.archive-header {
  padding: 2rem 0 1.25rem;
}
.archive-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--rac-text);
  margin-bottom: .4rem;
}
.archive-description { font-size: .95rem; color: var(--rac-text-light); }

/* ══════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════ */
.nav-links, .page-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  padding-block: 2rem;
}
.page-numbers, .nav-links a, .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding-inline: .6rem;
  border: 1.5px solid var(--rac-border);
  border-radius: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--rac-text);
  transition: background .18s, color .18s, border-color .18s;
}
.page-numbers:hover, .nav-links a:hover {
  background: var(--rac-primary);
  color: #fff;
  border-color: var(--rac-primary);
}
.page-numbers.current {
  background: var(--rac-primary);
  color: #fff;
  border-color: var(--rac-primary);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer-widgets {
  background: var(--rac-bg-alt);
  border-top: 1px solid var(--rac-border);
  padding-block: 2.5rem;
}

.footer-bottom {
  background: var(--rac-primary);
  color: rgb(255 255 255 / .8);
  padding-block: 1.1rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-copy { font-size: .84rem; }
.footer-copy a { color: rgb(255 255 255 / .75); }
.footer-copy a:hover { color: #fff; }

.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  list-style: none;
}
.footer-navigation a {
  font-size: .82rem;
  color: rgb(255 255 255 / .65);
  padding: .2rem .5rem;
  border-radius: .2rem;
  transition: color .15s;
}
.footer-navigation a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════
   404 / PAGES
   ══════════════════════════════════════════════════════════ */
.error-404, .page-article {
  max-width: 680px;
  margin-inline: auto;
  padding-block: 4rem 3rem;
}
.page-title, .error-404 .page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-content p { font-size: 1rem; color: var(--rac-text-light); margin-bottom: 1rem; }

/* Search form (global) */
.search-form { display: flex; gap: .4rem; max-width: 480px; }
.search-field {
  flex: 1;
  padding: .6rem .9rem;
  border: 1.5px solid var(--rac-border);
  border-radius: .4rem;
  font-size: .9rem;
  background: var(--rac-bg);
  color: var(--rac-text);
  outline: none;
  transition: border-color .18s;
}
.search-field:focus { border-color: var(--rac-accent); }
.search-submit {
  background: var(--rac-primary);
  color: #fff;
  border: none;
  border-radius: .4rem;
  padding: .6rem 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}
.search-submit:hover { background: var(--rac-accent); }

/* ══════════════════════════════════════════════════════════
   COMMENTS
   ══════════════════════════════════════════════════════════ */
.comments-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rac-border); }
.comments-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }

.comment-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.comment-body {
  background: var(--rac-bg-alt);
  border: 1px solid var(--rac-border);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
}
.comment-author .fn { font-weight: 700; }
.comment-meta { font-size: .8rem; color: var(--rac-text-light); margin-bottom: .5rem; }
.comment-content p { font-size: .9rem; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-blog-sidebar { grid-template-columns: 1fr 280px; gap: 2rem; }
  .post-feed-item { grid-template-columns: 280px 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .main-navigation #primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--rac-primary);
    flex-direction: column;
    padding: .75rem 1.25rem 1.25rem;
    box-shadow: 0 8px 24px rgb(0 0 0 / .18);
  }
  .main-navigation #primary-menu.is-open { display: flex; }
  .main-navigation ul { flex-direction: column; gap: 0; }
  .main-navigation a { display: block; padding: .6rem .5rem; border-radius: .3rem; }

  /* Hero */
  .hero-article { grid-template-columns: 1fr; }
  .hero-thumbnail { aspect-ratio: 16/9; }

  /* Grids → single column */
  .post-grid { grid-template-columns: 1fr; }
  .layout-blog-sidebar { grid-template-columns: 1fr; }
  .layout-single { grid-template-columns: 1fr; }
  .widget-area { position: static; }

  /* Feed */
  .post-feed-item { grid-template-columns: 1fr; }
  .post-list-item { grid-template-columns: 120px 1fr; gap: 1rem; }

  /* Post nav */
  .post-navigation { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-thumb { aspect-ratio: 16/9; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════ */
@media print {
  .site-header, .site-footer, .widget-area, .post-navigation,
  .comments-section, .nav-toggle { display: none !important; }
  .layout-single, .layout-blog-sidebar { grid-template-columns: 1fr; }
  .entry-content a::after { content: ' (' attr(href) ')'; font-size: .8rem; }
}
