/*
Theme Name: Plymouth Orthodontics v6
Theme URI: https://plymouth-orthodontics.com
Author: Plymouth Orthodontics
Description: Exact match theme for Plymouth Orthodontics blog - Version 3
Version: 6.0
Text Domain: po-theme-v6
*/

/* ================================
   BRAND COLORS + TYPOGRAPHY
================================ */
:root {
  --primary: #18468B;
  --accent: #66C4EA;
  --ink: #0c1b36;
  --text-on-primary: #ffffff;
  --bg: #ffffff;
  --muted: #f4f7fb;
  --shadow: 0 10px 30px rgba(24,70,139,.12);
  --header-height: 90px;
  --header-height-mobile: 70px;
}

@font-face {
  font-family: 'Orion Esperanto Normala';
  src: url('fonts/ORION.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Orion Esperanto Normala', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.4;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* A11y: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  z-index: 1000;
}

/* ================================
   GLOBAL WRAPPERS
================================ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* EXCEPTIONS - icons/logos don't stretch */
.header-logo img,
.nav-call-icon,
.icon-img,
.ui-icon,
.call-icon-wrapper img,
.burger-icon img,
.mobile-drawer img,
.custom-logo-link img,
.site-logo img {
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.image-wrap { aspect-ratio: auto; }

@media (max-width: 900px) {
  .image-wrap { aspect-ratio: 3 / 4; }
}

.section {
  padding: clamp(48px, 6vw, 96px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.eyebrow {
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: .9rem;
  text-decoration: none;
  display: inline-block;
}

.eyebrow:hover,
.eyebrow:focus {
  text-decoration: none;
  color: #005fa3;
}

.h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--primary);
  text-shadow: 0 3px 10px rgba(0,0,0,0.07);
  margin: 0 0 16px;
}

/* ============================================================
   UNIVERSAL PLYMOUTH ORTHODONTICS HEADER — ISOLATED MODULE
   Exact copy of /includes/header.css
============================================================ */

/* --- Container --- */
.po-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: var(--primary, #18468B);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  box-shadow: 0 6px 18px rgba(24,70,139,0.25);
  z-index: 9999;
}

.po-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Logo --- */
.po-logo img {
  height: 58px;
  width: auto;
}

/* --- Desktop Nav --- */
.po-primary-nav {
  display: flex;
  gap: 28px;
  justify-self: end;
}

.po-nav-item {
  position: relative;
}

.po-top-link {
  padding: 6px 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.po-top-link:hover {
  color: var(--accent, #66C4EA);
}

/* Dropdown */
.po-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--primary, #18468B);
  padding: 14px;
  min-width: 240px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.po-dropdown a {
  color: #fff;
  padding: 6px 8px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}

.po-dropdown a:hover {
  background: rgba(255,255,255,0.15);
}

.po-has-dropdown:hover .po-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- Header Right Side: Call + Burger --- */
.po-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Call Button */
.po-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.po-call-icon {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.85));
}

/* Burger Button */
.po-burger-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.po-burger-icon,
.po-burger-icon::before,
.po-burger-icon::after {
  content: "";
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: .25s ease;
}

.po-burger-icon::before { transform: translateY(-7px); }
.po-burger-icon::after  { transform: translateY(4px); }

/* Burger open state */
.po-burger-btn.open .po-burger-icon {
  background: transparent;
}
.po-burger-btn.open .po-burger-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.po-burger-btn.open .po-burger-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Drawer --- */
.po-mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--primary, #18468B);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 8px 22px rgba(24,70,139,0.35);
  padding: 18px;
  display: none;
  transform: translateY(-10px);
  opacity: 0;
  transition: 0.35s ease;
  z-index: 9998;
}

.po-mobile-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 2-COLUMN GRID */
.po-drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.po-mobile-drawer a {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}

.po-mobile-drawer a:hover {
  background: rgba(255,255,255,0.28);
}

/* --- Responsive Rules --- */
@media (max-width: 900px) {
  .po-primary-nav {
    display: none;
  }
  .po-header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .po-header-actions {
    justify-self: end;
  }
  .po-logo img {
    height: 50px;
  }
}

@media (min-width: 900px) {
  .po-burger-btn {
    display: none !important;
  }
}

/* Phone wiggle on hover */
.po-call-btn:hover .po-call-icon {
  animation: phone-wiggle 0.5s ease-in-out;
}

@keyframes phone-wiggle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(15deg); }
  75%  { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

/* ================================
   CARD GRID SECTIONS
================================ */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.2vw, 24px);
}

.card h3 {
  color: var(--primary);
  font-size: clamp(18px, 2.6vw, 24px);
  margin-bottom: 8px;
}

.card p { color: #2a3c5f; }

.icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--muted);
  margin-bottom: 10px;
  font-weight: 900;
  color: var(--primary);
}

/* ================================
   SPLIT LAYOUT
================================ */
.split {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.split .photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--muted);
}

.split .photo img {
  width: 100%;
  height: auto;
  display: block;
}

.split .copy p {
  color: #2a3c5f;
  font-size: clamp(16px, 2.2vw, 18px);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.badge {
  background: var(--muted);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials {
  background: linear-gradient(180deg, var(--muted), #fff);
}

.quote {
  background: #fff;
  border-left: 6px solid var(--accent);
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: clamp(16px, 2.2vw, 18px);
}

.quote cite {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  color: var(--primary);
}

/* ================================
   CONTACT + MAP
================================ */
.contact {
  background: linear-gradient(180deg, #fff, var(--muted));
}

.form { display: grid; gap: 14px; }

.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #dfe8f4;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.textarea { min-height: 120px; resize: vertical; }

.btn {
  display: inline-block;
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-family: inherit;
}

.btn:hover { transform: translateY(-1px); }
.btn.secondary { background: var(--accent); color: #083052; }

.map {
  min-height: 320px;
  border: 0;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #b8d7f0;
}

/* ================================
   CTA BUTTONS
================================ */
.cta-fixed {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 60;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(24,70,139,0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-fixed:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 8px 24px rgba(24,70,139,0.5);
}

.cta-button {
  display: inline-block;
  background-color: #64b0e3;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}

.cta-center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 40px 0;
}

.cta-button:hover { background-color: #4795cb; }
.cta-button:focus { outline: none; }

.attention-btn {
  display: inline-block;
  background: linear-gradient(145deg, #0096c7, #0077b6);
  color: #fff;
  font-family: 'Orion Esperanto Normala', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 32px;
  box-shadow: 6px 6px 12px rgba(0,0,0,0.2), -6px -6px 12px rgba(255,255,255,0.2);
  transition: all 0.2s ease;
  position: relative;
  border: none;
  cursor: pointer;
}

.attention-btn.attention {
  animation: softPulse 2.5s infinite ease-in-out;
}

.attention-btn:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.25), -6px -6px 16px rgba(255,255,255,0.25);
}

.attention-btn:active {
  transform: translateY(2px);
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.3), inset -4px -4px 8px rgba(255,255,255,0.2);
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

/* ================================
   FOOTER
================================ */
.site-footer {
  background: var(--primary);
  color: var(--text-on-primary);
  padding: 36px 0 20px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
  justify-items: center;
  text-align: left;
}

.footer-grid img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
}

.footer-grid a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: block;
  padding: 3px 0;
}

.footer-grid a:hover { opacity: 0.85; }

.footer-grid h4 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 15px;
}

.footer-meta {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
  text-align: center;
}

/* Push content below fixed header */
body {
  padding-top: var(--header-height);
}

@media (max-width: 900px) {
  body {
    padding-top: var(--header-height-mobile);
  }
}

/* ================================
   BLOG INDEX
================================ */

/* Hero */
.blog-hero {
  position: relative;
  overflow: hidden;
  background: #eaf4fb;
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
  text-align: center;
}

.blog-hero-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.blog-hero-content {
  position: relative;
  z-index: 1;
}

.blog-hero .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.blog-hero-title {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--primary);
  margin: 0 0 16px;
  line-height: 1.1;
}

.blog-hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #2a3c5f;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Posts wrapper */
.blog-wrap {
  padding: clamp(40px, 6vw, 80px) 0;
  background: #fff;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

/* Card */
.blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(24,70,139,.16);
}

/* Thumbnail */
.blog-card-thumb-link {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.03);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, var(--muted), #dce8f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Card body */
.blog-card-body {
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Category tag */
.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.blog-card-cat:hover { opacity: 1; }

/* Title */
.blog-card-title {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.3;
  margin: 0 0 10px;
}

.blog-card-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover { color: var(--accent); }

/* Meta */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.meta-dot { color: #ddd; }

/* Excerpt */
.blog-card-excerpt {
  font-size: 14px;
  color: #4a5e7a;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.blog-card-excerpt p { margin: 0; }

/* Read more */
.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.blog-card-read-more:hover {
  color: var(--accent);
  border-color: var(--primary);
}

/* Empty state */
.blog-empty {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 20px;
}

.blog-empty-icon { font-size: 48px; margin-bottom: 16px; }

.blog-empty h2 {
  color: var(--primary);
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 12px;
}

.blog-empty p {
  color: #2a3c5f;
  font-size: clamp(15px, 2vw, 18px);
  max-width: 440px;
  margin: 0 auto 28px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: clamp(32px, 5vw, 56px) 0 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination .current {
  padding: 10px 16px;
  background: var(--muted);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
}

.pagination .current {
  background: var(--primary);
  color: #fff;
}

/* ================================
   SINGLE POST
================================ */

.post-hero {
  position: relative;
  overflow: hidden;
  background: #eaf4fb;
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
}

.post-hero-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.post-hero-content {
  position: relative;
  z-index: 1;
}

.post-hero .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.post-hero h1 {
  color: var(--primary);
  font-size: clamp(26px, 4.5vw, 48px);
  margin: 0 0 16px;
  max-width: 820px;
  margin-inline: auto;
  line-height: 1.2;
}

.post-hero .post-meta {
  color: #888;
  font-size: 14px;
}

.post-hero .post-meta a {
  color: var(--accent);
  text-decoration: none;
}

/* Post body — solid white background below hero */
.post-body {
  background: #fff;
  position: relative;
  z-index: 2;
  isolation: isolate;
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* Featured image */
.post-thumbnail-wrap {
  max-width: 880px;
  margin: clamp(24px, 4vw, 48px) auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-thumbnail-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post body */
.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(48px, 6vw, 80px);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: #2a3c5f;
}

.post-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary);
  margin: clamp(28px, 4vw, 44px) 0 12px;
}

.post-content h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--primary);
  margin: clamp(20px, 3vw, 32px) 0 10px;
}

.post-content p { margin-bottom: 20px; }

.post-content a {
  color: var(--primary);
  text-decoration-color: var(--accent);
}

.post-content img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 28px 0;
}

.post-content ul,
.post-content ol {
  margin: 18px 0;
  padding-left: 26px;
}

.post-content li { margin-bottom: 8px; }

.post-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--muted);
  padding: 16px 20px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #555;
}

/* Post tags */
.post-tags {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--muted);
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.2s;
}

.post-tag:hover { background: #dce8f5; }

/* Post comments wrapper */
.post-comments {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 40px;
}

/* Post nav */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 clamp(16px, 4vw, 40px);
}

.post-nav a {
  display: block;
  padding: 14px 18px;
  background: var(--muted);
  border-radius: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

.post-nav a:hover { background: #dce8f5; }
.post-nav .nav-next { text-align: right; }

/* ================================
   SCROLL ANIMATIONS
================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  will-change: opacity, transform;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .po-header-inner { height: var(--header-height-mobile); }
  .po-primary-nav  { display: none !important; }
  .po-burger-btn   { display: flex !important; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split  { grid-template-columns: 1fr; }

  .blog-grid { grid-template-columns: 1fr; }
  .post-nav  { grid-template-columns: 1fr; }
  .post-nav .nav-next { text-align: left; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-grid img { max-width: 150px; }
  .footer-meta { text-align: center; margin-top: 12px; }

  .po-drawer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .po-burger-btn   { display: none !important; }
  .po-mobile-drawer { display: none !important; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid img { max-width: 130px; }
  .footer-meta { font-size: 13px; }
}

/* WordPress alignment helpers */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { text-align: center; font-size: 13px; color: #666; margin-top: 6px; font-style: italic; }
