/* ================================================================
   Ainsley Art™ — Main Stylesheet
   Author: McCrossen Marketing
   Version: 1.0.0
   ================================================================ */

/* ----------------------------------------------------------------
   CSS Variables
   ---------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-primary:        #8C52FF;
  --color-primary-dark:   #7340e8;
  --color-primary-darker: #5e2fd4;
  --color-primary-light:  #e8d5ff;
  --color-primary-pale:   #f5eeff;
  --color-primary-glow:   rgba(140, 82, 255, 0.18);

  /* UI Colors */
  --color-text:           #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-light:     #888888;
  --color-white:          #ffffff;
  --color-border:         #e4d5ff;
  --color-bg-soft:        #faf7ff;

  /* Header */
  --header-bg-start: #ffffff;
  --header-bg-mid:   #fdf0ff;
  --header-bg-end:   #ffe8fb;

  /* Footer */
  --footer-bg:         #1c1030;
  --footer-text:       #c8b0e8;
  --footer-text-hover: #ffffff;
  --footer-muted:      #9278b8;
  --footer-border:     #2e1e4a;

  /* Typography */
  --font-nav:  'Fuzzy Bubbles', cursive;
  --font-body: 'Poppins', sans-serif;

  /* Sizes */
  --header-height:   80px;
  --container-max:   1200px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(140, 82, 255, 0.08);
  --shadow-md:  0 4px 24px rgba(140, 82, 255, 0.14);
  --shadow-lg:  0 8px 48px rgba(140, 82, 255, 0.2);
  --shadow-btn: 0 4px 16px rgba(140, 82, 255, 0.3);

  /* Transitions */
  --transition: 0.22s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-primary-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  line-height: 1.25;
  font-weight: 700;
}

/* ----------------------------------------------------------------
   Layout Utilities
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-large {
  padding: 14px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 7px 18px;
  font-size: 13px;
}

/* Focus rings for accessibility */
.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: linear-gradient(
    135deg,
    var(--header-bg-start) 0%,
    var(--header-bg-mid)   55%,
    var(--header-bg-end)   100%
  );
  box-shadow: 0 2px 16px rgba(140, 82, 255, 0.1);
  border-bottom: 1px solid rgba(140, 82, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  gap: 24px;
}

/* -- Logo -- */
.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-branding .custom-logo-link {
  display: flex;
  align-items: center;
}

.site-branding .custom-logo-link img,
.site-branding img {
  height: 56px;
  width: auto;
  transition: opacity var(--transition);
}
.site-branding .custom-logo-link:hover img { opacity: 0.85; }

.site-name-text {
  font-family: var(--font-nav);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

/* -- Primary Nav -- */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li { position: relative; }

.nav-menu li a {
  font-family: var(--font-nav);
  font-size: 19px;
  font-weight: 700;
  color: #333333;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: block;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

/* Animated underline bar */
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-menu li a:hover { color: var(--color-primary); }
.nav-menu li a:hover::after { transform: scaleX(1); }

/* Active page */
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-menu li.current-menu-ancestor > a {
  color: var(--color-primary);
}
.nav-menu li.current-menu-item > a::after,
.nav-menu li.current_page_item > a::after,
.nav-menu li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Dropdown support (future) */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 8px 0;
  z-index: 100;
}
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu li a {
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 0;
  color: var(--color-text);
}
.nav-menu .sub-menu li a::after { display: none; }
.nav-menu .sub-menu li a:hover { color: var(--color-primary); background: var(--color-primary-pale); }

/* -- Header CTA -- */
.header-cta { flex-shrink: 0; }

/* -- Mobile Toggle -- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}
.mobile-menu-toggle:hover { background: var(--color-primary-pale); }

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Animated hamburger → X */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -- Mobile Nav Drawer -- */
.mobile-nav {
  background: linear-gradient(
    135deg,
    var(--header-bg-start) 0%,
    var(--header-bg-mid)   100%
  );
  border-top: 1px solid var(--color-border);
  padding: 16px 28px 24px;
}
.mobile-nav[hidden] { display: none; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.mobile-menu li a {
  font-family: var(--font-nav);
  font-size: 22px;
  font-weight: 700;
  color: #333;
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu li a:hover,
.mobile-menu li.current-menu-item > a,
.mobile-menu li.current_page_item > a {
  color: var(--color-primary);
  padding-left: 8px;
}

.mobile-cta-wrap { padding-top: 4px; }
.mobile-portal-btn { width: 100%; justify-content: center; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  background-color: #1a0a30;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 0, 25, 0.2)  0%,
    rgba(20, 5, 50, 0.42) 50%,
    rgba(20, 5, 50, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 28px;
  max-width: 720px;
  width: 100%;
  color: var(--color-white);
}

.hero-eyebrow {
  font-family: var(--font-nav);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-tagline {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #dfc8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtext {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 36px;
  opacity: 0.88;
  -webkit-text-fill-color: var(--color-white);
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   GALLERY CYA SECTION
   ================================================================ */
.gallery-cya-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--color-bg-soft) 0%,
    #fff0fb              100%
  );
}

.gallery-cya-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.gallery-cya-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.gallery-cya-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.gallery-cya-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ================================================================
   PAGE BANNER (shared across pages)
   ================================================================ */
.page-banner {
  background: linear-gradient(
    135deg,
    var(--color-primary-pale) 0%,
    #ffe8fb                   100%
  );
  padding: 56px 28px 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

/* ================================================================
   GENERIC PAGE CONTENT
   ================================================================ */
.page-content-wrap {
  padding: 60px 0 80px;
}

.page-content-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-featured-image {
  margin-bottom: 40px;
}

.page-thumb {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* -- Entry Content (WP default) -- */
.entry-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 20px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--color-primary);
  margin: 36px 0 16px;
}

.entry-content h2 { font-size: 1.8rem; }
.entry-content h3 { font-size: 1.4rem; }

.entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--color-primary-dark); }

.entry-content ul,
.entry-content ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
.entry-content ul li { list-style: disc; margin-bottom: 8px; }
.entry-content ol li { list-style: decimal; margin-bottom: 8px; }

.entry-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-primary-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.entry-content th,
.entry-content td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
}
.entry-content th {
  background: var(--color-primary-pale);
  color: var(--color-primary);
  font-weight: 600;
}

.entry-content hr {
  border: none;
  border-top: 2px solid var(--color-border);
  margin: 40px 0;
}

/* ================================================================
   GALLERY PAGE
   ================================================================ */
.gallery-page-main .page-banner { margin-bottom: 0; }

.gallery-content-wrap {
  padding: 48px 0 80px;
}

.gallery-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.gallery-intro-default {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* -- ArtistFlow gallery output adapts to theme -- */
/* Watermarked images and grid will inherit these styles */
.mccm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.mccm-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mccm-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   BLOG — Archive & Post Cards
   ================================================================ */
.blog-main { min-height: 60vh; }

.blog-content-wrap {
  padding: 56px 0 80px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 56px;
}

.post-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.post-card:hover .post-card-thumb-img { transform: scale(1.04); }

.post-card-body {
  padding: 24px;
}

.post-card-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
  font-weight: 500;
}

.post-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--color-primary); }

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Pagination */
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.no-posts {
  text-align: center;
  color: var(--color-text-secondary);
  padding: 60px 0;
}

/* ================================================================
   SINGLE BLOG POST
   ================================================================ */
.single-post-main { min-height: 60vh; }

.post-meta-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  opacity: 0.9;
}

.post-category {
  color: var(--color-text-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.single-post-main .page-banner .single-post-title {
  color: var(--color-primary);
  text-align: center;
}

.single-post-wrap {
  padding: 60px 0 80px;
}

.single-post-inner {
  max-width: 780px;
  margin: 0 auto;
}

.single-post-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.single-thumb-img { width: 100%; }

.single-post-content { font-size: 1.05rem; }

.post-nav {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding-top: 32px;
}

.nav-previous a,
.nav-next a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}
.nav-previous a:hover,
.nav-next a:hover { color: var(--color-primary); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 28px 28px;
  text-align: center;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.footer-logo .custom-logo-link img {
  height: 48px;
  width: auto;
  /* Invert dark-bg logos so they glow on the dark footer */
  filter: brightness(0) invert(1) opacity(0.9);
  transition: filter var(--transition);
}
.footer-logo .custom-logo-link:hover img {
  filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 8px rgba(140,82,255,0.6));
}

.footer-site-name {
  font-family: var(--font-nav);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Footer Nav */
.footer-nav { margin-bottom: 18px; }

.footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-menu li { display: flex; align-items: center; }

.footer-menu li + li::before {
  content: '|';
  color: var(--footer-muted);
  padding: 0 4px;
  font-size: 13px;
}

.footer-menu li a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--footer-text);
  padding: 4px 10px;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-menu li a:hover { color: var(--footer-text-hover); }

/* Copyright */
.footer-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--footer-muted);
  line-height: 1.7;
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  margin-top: 4px;
}

.footer-copyright a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-copyright a:hover { color: var(--footer-text-hover); }

/* ================================================================
   404
   ================================================================ */
.error-404-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
  background: linear-gradient(135deg, var(--color-bg-soft) 0%, #fff0fb 100%);
}

.error-404-content { max-width: 480px; }

.error-404-number {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.18;
  margin-bottom: -20px;
}

.error-404-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}

.error-404-text {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ================================================================
   WP BLOCK ALIGNMENT
   ================================================================ */
.wp-block-image.alignleft, .alignleft {
  float: left;
  margin: 0 28px 16px 0;
}
.wp-block-image.alignright, .alignright {
  float: right;
  margin: 0 0 16px 28px;
}
.wp-block-image.aligncenter, .aligncenter {
  display: block;
  margin: 0 auto 16px;
}

.alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

/* WP core blocks */
.wp-block-separator {
  border: none;
  border-top: 2px solid var(--color-border);
  margin: 40px 0;
}

.wp-block-quote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  background: var(--color-primary-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

/* Gutenberg columns (About page layout) */
.wp-block-columns {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin: 0 0 32px !important;
}
.wp-block-column { flex: 1; min-width: 0; }
.wp-block-column img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 900px) {
  .wp-block-columns { flex-direction: column; gap: 32px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  /* Hide desktop nav + CTA, show hamburger */
  .site-nav      { display: none; }
  .header-cta    { display: none; }
  .mobile-menu-toggle { display: flex; }

  /* Hero */
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row .btn { width: 100%; max-width: 300px; }

  /* Gallery CYA */
  .gallery-cya-card { padding: 36px 24px; }

  /* Page banner */
  .page-banner { padding: 40px 20px 32px; }

  /* Blog grid */
  .posts-grid { grid-template-columns: 1fr; }

  /* Single post */
  .single-post-inner { padding: 0; }

  .header-inner { padding: 0 16px; }
  .container    { padding: 0 16px; }
}

/* Small mobile */
@media (max-width: 420px) {
  .gallery-cya-icon { font-size: 38px; }
  .gallery-cya-title { font-size: 1.5rem; }
  .footer-menu { flex-direction: column; gap: 4px; }
  .footer-menu li + li::before { display: none; }
}

/* ================================================================
   SCREEN READER ONLY
   ================================================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  clip: auto !important;
  height: auto;
  width: auto;
  position: static !important;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 100000;
}
