/* ============================================================================
   ALBUM LEGACY THEME — Family-focused private album website
   ============================================================================ */

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  --al-red:       #B30000;
  --al-red-dark:  #8a0000;
  --al-red-light: #fde8e8;
  --al-red-faint: #fff5f5;
  --al-dark:      #1a1614;
  --al-warm:      #2c2420;
  --al-grey-1:    #3a3533;
  --al-grey-2:    #6b6560;
  --al-grey-3:    #9e9790;
  --al-grey-4:    #d4cfc9;
  --al-grey-5:    #f0ece8;
  --al-bg:        #f7f4f0;
  --al-white:     #ffffff;
  --al-font-head: 'DM Serif Display', Georgia, serif;
  --al-font-body: 'Inter', system-ui, sans-serif;
  --al-radius:    12px;
  --al-radius-lg: 20px;
  --al-shadow:    0 2px 16px rgba(0,0,0,0.07);
  --al-shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --al-shadow-lg: 0 8px 48px rgba(0,0,0,0.13);
  --al-ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --al-nav-h:     66px;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--al-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--al-grey-1);
  background: var(--al-bg);
  overflow-x: hidden;
}
body.admin-bar { --al-nav-h: 98px; }
a { color: var(--al-red); text-decoration: none; transition: color 0.2s var(--al-ease); }
a:hover { color: var(--al-red-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.al-container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 28px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.al-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; font-family: var(--al-font-body);
  border: 2px solid transparent;
  transition: all 0.2s var(--al-ease);
  cursor: pointer; white-space: nowrap; text-decoration: none; line-height: 1.3;
}
.al-btn:hover { text-decoration: none; transform: translateY(-1px); }
.al-btn:active { transform: none; }

.al-btn-primary { background: var(--al-red); color: white; border-color: var(--al-red); }
.al-btn-primary:hover { background: var(--al-red-dark); border-color: var(--al-red-dark); color: white; box-shadow: 0 6px 20px rgba(179,0,0,0.35); }

.al-btn-ghost   { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.al-btn-ghost:hover { background: rgba(255,255,255,0.22); color: white; }

.al-btn-white   { background: white; color: var(--al-red); border-color: white; }
.al-btn-white:hover { background: var(--al-grey-5); color: var(--al-red-dark); }

.al-btn-outline { background: transparent; color: var(--al-red); border-color: var(--al-red); }
.al-btn-outline:hover { background: var(--al-red-faint); }

.al-btn-xl  { padding: 14px 28px; font-size: 15.5px; border-radius: 10px; }
.al-btn-sm  { padding: 8px 16px; font-size: 13px; border-radius: 7px; }

/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   Key: transparent with WHITE text on dark hero; solid white with DARK text when scrolled.
   Non-front-page: always solid white with dark text.
   ══════════════════════════════════════════════════════════════════════════ */
.al-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--al-nav-h);
  display: flex;
  align-items: center;
  transition: background 0.28s var(--al-ease), box-shadow 0.28s var(--al-ease);
  /* Default: transparent, white text (for dark hero) */
  background: transparent;
}

/* ── Solid nav on scroll ─────────────────────────────────────────────────── */
.al-nav.al-nav-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--al-grey-4), var(--al-shadow);
}

/* ── Non-front-page: always solid from the start ────────────────────────── */
body:not(.al-front-page) .al-nav {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--al-grey-4), var(--al-shadow);
}

/* ── Nav inner layout ────────────────────────────────────────────────────── */
.al-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 28px;
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */
.al-nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.al-nav-custom-logo { height: 36px; width: auto; }
.al-nav-logo img.custom-logo { height: 36px; width: auto; }

/* Logo name — white on transparent nav, dark on solid nav */
.al-nav-name {
  font-family: var(--al-font-head);
  font-size: 18px;
  color: white; /* default: white on dark hero */
  transition: color 0.2s var(--al-ease);
}
.al-nav-scrolled .al-nav-name { color: var(--al-dark); }
body:not(.al-front-page) .al-nav-name { color: var(--al-dark); }

/* ── Nav links container ─────────────────────────────────────────────────── */
.al-nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end;
}

/* ── Primary menu ────────────────────────────────────────────────────────── */
.al-nav-menu {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}

/* WHITE links on transparent (dark hero background) */
.al-nav-menu li a {
  display: block; padding: 7px 13px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.88); /* white on dark hero */
  border-radius: 7px; text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.al-nav-menu li a:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

/* Dark links on solid scrolled nav */
.al-nav-scrolled .al-nav-menu li a {
  color: var(--al-grey-1);
}
.al-nav-scrolled .al-nav-menu li a:hover {
  background: var(--al-grey-5);
  color: var(--al-dark);
}

/* Always dark on non-front pages */
body:not(.al-front-page) .al-nav-menu li a { color: var(--al-grey-1); }
body:not(.al-front-page) .al-nav-menu li a:hover { background: var(--al-grey-5); color: var(--al-dark); }

/* Album menu (secondary) */
.al-nav-album-menu { list-style: none; padding: 0; margin: 0 0 0 8px; }
.al-nav-album-menu li a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  background: var(--al-red); color: white;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.al-nav-album-menu li a:hover {
  background: var(--al-red-dark); color: white;
  box-shadow: 0 4px 14px rgba(179,0,0,0.35);
  transform: translateY(-1px);
}

/* The "Enter Album" CTA button in nav */
.al-nav-cta { margin-left: 8px; }

/* ── Mobile hamburger ────────────────────────────────────────────────────── */
.al-nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: none; padding: 7px; cursor: pointer;
}
.al-nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: white; /* white on dark hero */
  transition: all 0.2s var(--al-ease);
}
.al-nav-scrolled .al-nav-toggle span { background: var(--al-dark); }
body:not(.al-front-page) .al-nav-toggle span { background: var(--al-dark); }

.al-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.al-nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.al-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Album page nav — always solid (the plugin UI is below) */
.al-nav.al-nav-album {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--al-grey-4), var(--al-shadow);
}
.al-nav.al-nav-album .al-nav-name { color: var(--al-dark); }
.al-nav.al-nav-album .al-nav-menu li a { color: var(--al-grey-1); }
.al-nav.al-nav-album .al-nav-menu li a:hover { background: var(--al-grey-5); color: var(--al-dark); }
.al-nav.al-nav-album .al-nav-toggle span { background: var(--al-dark); }

/* ══════════════════════════════════════════════════════════════════════════
   HERO — full-screen, family cover photo
   ══════════════════════════════════════════════════════════════════════════ */
.al-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-top: var(--al-nav-h);
  /* Fallback gradient when no photo is set */
  background: linear-gradient(160deg, #2c1a14 0%, #3d1a10 40%, #1a0a06 100%);
  overflow: hidden;
}

.al-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  /* NO blur — show the family photo clearly */
  opacity: 1;
  filter: brightness(0.52);
}

.al-hero-overlay {
  position: absolute; inset: 0;
  /* Subtle gradient — darker at bottom for text, lighter at top */
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.38) 60%,
    rgba(0,0,0,0.60) 100%);
}

.al-hero-content {
  position: relative; z-index: 2;
  max-width: 720px; padding: 60px 28px;
}

.al-hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.al-hero-title {
  font-family: var(--al-font-head);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.08; color: white; margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.al-hero-title em { font-style: italic; color: #ffaaaa; }

.al-hero-sub {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 560px; margin: 0 auto 12px;
}

.al-hero-est {
  display: inline-block;
  font-size: 12px; color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 36px;
}

.al-hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 32px;
}

.al-hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); z-index: 2; text-decoration: none;
  animation: al-bounce 2.2s ease-in-out infinite;
  transition: color 0.2s;
}
.al-hero-scroll:hover { color: rgba(255,255,255,0.8); }
@keyframes al-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════════════════ */
.al-stats-bar {
  background: var(--al-warm);
  padding: 32px 0;
}
.al-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
}
.al-stat {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.al-stat:last-child { border-right: none; }
.al-stat-num {
  font-family: var(--al-font-head);
  font-size: 36px; color: white; line-height: 1;
}
.al-stat-label {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTIONS SHARED
   ══════════════════════════════════════════════════════════════════════════ */
.al-section { padding: 88px 0; }
.al-section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }

.al-section-label {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--al-red); background: var(--al-red-faint);
  padding: 4px 14px; border-radius: 50px; margin-bottom: 14px;
}

.al-section-title {
  font-family: var(--al-font-head);
  font-size: clamp(26px, 4vw, 40px); line-height: 1.2;
  color: var(--al-dark); margin-bottom: 16px;
}

.al-section-lead { font-size: 16.5px; color: var(--al-grey-2); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════════════
   WHAT'S INSIDE — 6 section cards
   ══════════════════════════════════════════════════════════════════════════ */
.al-inside { background: var(--al-bg); }

.al-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.al-section-card {
  display: flex; flex-direction: column;
  background: var(--al-white);
  border: 1px solid var(--al-grey-5);
  border-radius: var(--al-radius-lg);
  padding: 28px 24px;
  text-decoration: none; color: inherit;
  transition: transform 0.22s var(--al-ease), box-shadow 0.22s var(--al-ease), border-color 0.22s;
  cursor: pointer;
}
.al-section-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--al-shadow-md);
  border-color: var(--al-grey-4);
  color: inherit;
}

.al-section-card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
  transition: transform 0.2s;
}
.al-section-card:hover .al-section-card-icon { transform: scale(1.08); }

.al-section-card h3 {
  font-family: var(--al-font-head);
  font-size: 19px; color: var(--al-dark); margin-bottom: 8px;
}
.al-section-card p {
  font-size: 14px; color: var(--al-grey-2); line-height: 1.6; flex: 1; margin-bottom: 16px;
}
.al-section-card-link {
  font-size: 13.5px; font-weight: 600; color: var(--al-red);
  transition: gap 0.2s;
}
.al-section-card:hover .al-section-card-link { color: var(--al-red-dark); }

/* ══════════════════════════════════════════════════════════════════════════
   FAMILY QUOTE
   ══════════════════════════════════════════════════════════════════════════ */
.al-quote-section {
  background: var(--al-white);
  padding: 72px 0;
  border-top: 1px solid var(--al-grey-5);
  border-bottom: 1px solid var(--al-grey-5);
}

.al-quote-inner {
  max-width: 700px; margin: 0 auto; text-align: center; padding: 0 28px;
}

.al-quote-mark {
  color: var(--al-grey-5); margin: 0 auto 20px; display: block;
}

.al-quote-inner blockquote {
  font-family: var(--al-font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic; line-height: 1.5;
  color: var(--al-dark); margin-bottom: 20px;
}

.al-quote-inner blockquote::before { content: '\201C'; }
.al-quote-inner blockquote::after  { content: '\201D'; }

.al-quote-inner cite {
  font-size: 14px; color: var(--al-grey-3);
  font-style: normal; font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════════
   ENTER ALBUM CTA
   ══════════════════════════════════════════════════════════════════════════ */
.al-enter-cta {
  background: var(--al-warm);
  padding: 88px 0;
}

.al-enter-inner {
  text-align: center; max-width: 560px; margin: 0 auto; padding: 0 28px;
}

.al-enter-inner h2 {
  font-family: var(--al-font-head);
  font-size: clamp(28px, 4vw, 44px);
  color: white; margin-bottom: 14px; line-height: 1.2;
}

.al-enter-inner > p {
  font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; line-height: 1.6;
}

.al-enter-note {
  margin-top: 18px !important; margin-bottom: 0 !important;
  font-size: 12.5px !important;
  color: rgba(255,255,255,0.35) !important;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.al-footer {
  background: var(--al-dark);
  color: rgba(255,255,255,0.55);
  padding-top: 60px;
}

.al-footer-inner {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.al-footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.al-footer-logo span {
  font-family: var(--al-font-head); font-size: 19px; color: white;
}

.al-footer-tagline { font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }

.al-footer-email {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.al-footer-email:hover { color: white; }

.al-footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }

.al-footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 14px;
}

.al-footer-col ul li,
.al-footer-legal-list li { margin-bottom: 9px; }

.al-footer-col ul li a,
.al-footer-legal-list li a {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s;
}
.al-footer-col ul li a:hover,
.al-footer-legal-list li a:hover { color: white; }

.al-footer-legal-list { list-style: none; padding: 0; margin: 0; }

.al-footer-bottom {
  padding: 18px 0;
}
.al-footer-bottom .al-container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.al-footer-bottom p { font-size: 12.5px; }
.al-footer-credit { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════════════════════════════════════════
   ALBUM PAGE WRAP (nav visible, full-width plugin content)
   ══════════════════════════════════════════════════════════════════════════ */
body.al-album-page { background: #f7f4f0; }

.al-album-wrap {
  padding-top: var(--al-nav-h); /* push below the fixed nav */
}

/* Let the plugin's own full-bleed CSS work unobstructed */
.al-album-wrap .ap-app {
  margin-top: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   STANDARD PAGE (page.php)
   ══════════════════════════════════════════════════════════════════════════ */
.al-page-wrap {
  padding-top: calc(var(--al-nav-h) + 40px);
  min-height: 60vh; padding-bottom: 80px;
}
.al-page-content { max-width: 760px; }

.al-page-header { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--al-grey-5); }
.al-page-title { font-family: var(--al-font-head); font-size: clamp(26px,4vw,40px); color: var(--al-dark); line-height: 1.2; }

.al-page-body { font-size: 16px; line-height: 1.75; color: var(--al-grey-1); }
.al-page-body h2, .al-page-body h3 { font-family: var(--al-font-head); color: var(--al-dark); margin: 28px 0 12px; }
.al-page-body p { margin-bottom: 18px; }
.al-page-body ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.al-page-body ol { list-style: decimal; padding-left: 22px; margin-bottom: 18px; }
.al-page-body li { margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.al-404-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: var(--al-nav-h) 28px 80px;
}
.al-404-inner { text-align: center; max-width: 440px; margin: 0 auto; }
.al-404-code { display: block; font-family: var(--al-font-head); font-size: 110px; line-height: 1; color: var(--al-grey-5); -webkit-text-stroke: 2px var(--al-grey-4); margin-bottom: 0; }
.al-404-title { font-family: var(--al-font-head); font-size: 34px; color: var(--al-dark); margin-bottom: 12px; }
.al-404-sub { font-size: 15px; color: var(--al-grey-2); margin-bottom: 32px; }
.al-404-actions { display: flex; justify-content: center; gap: 12px; }

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */
.al-animate {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s var(--al-ease), transform 0.55s var(--al-ease);
}
.al-animate.al-visible { opacity: 1; transform: translateY(0); }

.al-fade-in { opacity: 0; animation: al-fade 0.65s var(--al-ease) forwards; }
.al-delay-1 { animation-delay: 0.15s; }
.al-delay-2 { animation-delay: 0.3s; }
.al-delay-3 { animation-delay: 0.45s; }
@keyframes al-fade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .al-footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .al-sections-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 767px) {
  :root { --al-nav-h: 58px; }

  /* Mobile nav */
  .al-nav-links {
    position: fixed; top: var(--al-nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: white; border-bottom: 1px solid var(--al-grey-5);
    box-shadow: var(--al-shadow-md);
    padding: 12px 16px 16px;
    opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s, transform 0.22s;
  }
  .al-nav-links.al-nav-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .al-nav-menu { flex-direction: column; width: 100%; }
  .al-nav-menu li a {
    color: var(--al-grey-1) !important; /* always dark on mobile */
    font-size: 16px; padding: 11px 12px; border-radius: 8px;
  }
  .al-nav-album-menu { margin-left: 0; margin-top: 8px; }
  .al-nav-album-menu li a { width: 100%; justify-content: center; border-radius: 8px; }
  .al-nav-cta { width: 100%; margin-left: 0; margin-top: 8px; justify-content: center; }
  .al-nav-toggle { display: flex; }

  /* Hero */
  .al-hero { min-height: auto; padding-bottom: 60px; }
  .al-hero-content { padding: 40px 20px; }
  .al-hero-actions { flex-direction: column; align-items: center; }
  .al-hero-scroll { display: none; }

  /* Stats */
  .al-stats-grid { grid-template-columns: repeat(2,1fr); }
  .al-stat:nth-child(2) { border-right: none; }
  .al-stat:nth-child(3), .al-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }

  /* Sections grid */
  .al-sections-grid { grid-template-columns: 1fr; }

  /* Footer */
  .al-footer-links { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .al-footer-bottom .al-container { flex-direction: column; text-align: center; }

  .al-section { padding: 60px 0; }
  .al-section-header { margin-bottom: 36px; }

  /* Page */
  .al-page-wrap { padding-top: calc(var(--al-nav-h) + 24px); }
}

@media (max-width: 479px) {
  .al-footer-links { grid-template-columns: 1fr; }
  .al-sections-grid { grid-template-columns: 1fr; }
}

/* ── Admin bar offset ─────────────────────────────────────────────────────── */
.admin-bar .al-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .al-nav { top: 46px; }
}
