/*
Theme Name: The Gioi Vo Bien
Theme URI: https://thegioivobien.com
Author: The Gioi Vo Bien
Author URI: https://thegioivobien.com
Description: Custom theme for reading website - Stories, Books, Essays. Modern, elegant, mobile-responsive.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thegioivobien-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, custom-colors, one-column, two-columns, full-width-template, flexible-header, sticky-post, theme-options

Reading website theme - Thế Giới Vô Biên
*/

/* ==========================================================================
   CSS Variables - Design Tokens
   Modernized Nostalgia 2000s spec
   ========================================================================== */

:root {
  /* 0.1 Colors - nền trắng, link xanh 2000s */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-text: #222222;
  --color-text-muted: #777777;
  --color-accent: #2f6fed;
  --color-accent-hover: #5a8dff;
  --color-accent-muted: #5a8dff;
  --color-border: #e9e9e9;
  --color-card-bg: #ffffff;
  --color-link: #2f6fed;
  --color-link-hover: #5a8dff;
  --color-shadow: rgba(0, 0, 0, 0.04);
  --color-overlay: rgba(0, 0, 0, 0.5);

  /* Ornamental / cloud pattern */
  --ornament-color: rgba(47, 111, 237, 0.08);

  /* 0.2 Typography - Lora (serif), Be Vietnam Pro (sans) - optimized for Vietnamese */
  --font-sans: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', 'Georgia', 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', 'Menlo', 'Monaco', monospace;

  /* 0.3 Type scale - mobile-first */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.8125rem;  /* 13px */
  --font-size-base: 1.0625rem; /* 17px mobile */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;    /* ~24px H3 */
  --font-size-3xl: 1.625rem;  /* ~26px H2 mobile */
  --font-size-4xl: 2.125rem;   /* ~34px H1 desktop */

  --line-height-tight: 1.25;
  --line-height-base: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-content: 1.8;

  /* 0.4 Spacing scale: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64 */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 0.75rem;   /* 12px */
  --space-base: 1rem;    /* 16px */
  --space-lg: 1.25rem;   /* 20px */
  --space-xl: 1.5rem;    /* 24px */
  --space-2xl: 2rem;     /* 32px */
  --space-3xl: 2.5rem;   /* 40px */
  --space-4xl: 3rem;     /* 48px */
  --space-5xl: 4rem;     /* 64px */

  /* Legacy spacing aliases */
  --space-6xl: 5rem;

  /* 0.5 Layout width */
  --content-max: 720px;
  --listing-max: 1280px;
  --container-max: 1280px;
  --reader-max: 720px;

  /* 0.6 Border / Radius / Shadow */
  --radius-card: 12px;
  --radius-card-mobile: 14px;
  --radius-btn: 12px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;

  --shadow-sm: 0 1px 2px var(--color-shadow);
  --shadow-md: 0 2px 8px var(--color-shadow);
  --shadow-lg: 0 4px 16px var(--color-shadow);

  /* 0.8 Transitions - micro-interactions */
  --transition-fast: 0.16s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.22s ease;

  /* Page padding */
  --page-pad-mobile: 16px;
  --page-pad-tablet: 24px;
  --page-pad-desktop: 28px;

  --touch-min: 44px;

  /* Reader specific */
  --reader-font-size: 1.0625rem;
  --reader-line-height: 1.8;
}

/* Respect user motion preferences - reduce animations/transitions */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0.01ms;
    --transition-base: 0.01ms;
    --transition-slow: 0.01ms;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Dark mode (optional) - spec 0.1 */
.reader-dark,
body.dark-mode {
  --color-bg: #121212;
  --color-bg-alt: #1a1a1a;
  --color-text: #eaeaea;
  --color-text-muted: #b7b7b7;
  --color-accent: #5a8dff;
  --color-accent-hover: #7aa3ff;
  --color-border: #2a2a2a;
  --color-card-bg: #1a1a1a;
  --color-link: #5a8dff;
  --color-link-hover: #7aa3ff;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px mobile - spec 0.3 */
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem; /* 18px desktop */
  }
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-link-hover);
}

/* Spec 0.8: link trong nội dung có underline mảnh khi hover */
.entry-content a:hover,
.post-body a:hover,
.reader-body a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Figure + figcaption - ensure caption is visible (entry-content, post-body) */
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption,
.post-body figure,
.post-body .wp-block-image,
.post-body .wp-caption {
  margin: 1.5em 0;
}

.entry-content figcaption,
.entry-content .wp-block-image figcaption,
.entry-content .wp-caption-text,
.post-body figcaption,
.post-body .wp-block-image figcaption,
.post-body .wp-caption-text {
  display: block !important;
  margin-top: 0.5em;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
  font-style: italic;
}

/* ==========================================================================
   Header - refined, with depth and accent cues
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(47, 111, 237, 0.06);
  padding: var(--space-base) 0;
  transition: box-shadow var(--transition-base);
}

.site-header:hover {
  box-shadow: 0 4px 20px rgba(47, 111, 237, 0.08);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  position: relative;
}

.site-branding__link {
  color: var(--color-text);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.site-branding__link:hover {
  color: var(--color-accent);
  opacity: 0.92;
}

.site-branding__text {
  letter-spacing: -0.02em;
}

.site-branding img {
  max-height: 48px;
  width: auto;
  transition: opacity var(--transition-base);
}

.site-branding__link:hover img {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .site-branding__link {
    font-size: 1.5rem;
  }

  .site-branding img {
    max-height: 56px;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-md);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  flex-basis: 100%;
  background: var(--color-bg-alt);
  display: none;
  padding: var(--space-base) 0;
  margin-top: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.menu-toggle[aria-expanded="true"] ~ .site-nav {
  display: block;
}

@media (min-width: 768px) {
  .site-nav {
    flex-basis: auto;
    display: block;
    padding: 0;
    position: relative;
    margin-top: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--space-lg));
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
    opacity: 0.8;
  }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .site-nav__list {
    flex-direction: row;
    gap: var(--space-lg);
  }
}

.site-nav__list a {
  display: block;
  padding: var(--space-base) var(--space-lg);
  color: var(--color-text);
  font-weight: 500;
  font-family: var(--font-serif);
  position: relative;
  transition: color var(--transition-base);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 1px;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item a {
  color: var(--color-accent);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item a::after {
  transform: scaleX(1);
}

/* Header search - pill style, accent on focus */
.site-header__search {
  display: none;
}

@media (min-width: 768px) {
  .site-header__search {
    display: block;
    flex: 1;
    max-width: 280px;
    margin: 0 var(--space-lg);
  }
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-bg-alt);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.search-form:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  background: transparent;
  font-size: var(--font-size-sm);
}

.search-form__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.9;
}

.search-form__input:focus {
  outline: none;
}

.search-form__submit {
  padding: var(--space-sm) var(--space-md);
  background: rgba(47, 111, 237, 0.08);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-accent);
  transition: background var(--transition-base), color var(--transition-base);
}

.search-form__submit:hover {
  background: rgba(47, 111, 237, 0.14);
  color: var(--color-accent-hover);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Footer - refined layout, visual hierarchy, accent touches
   ========================================================================== */

.site-footer {
  margin-top: var(--space-4xl);
  padding: var(--space-3xl) 0 var(--space-4xl);
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #eef1f6 100%);
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: url("assets/images/fotter-line.png");
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
  pointer-events: none;
}

.site-footer__brand {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.site-footer__brand-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: var(--space-xs);
  transition: color var(--transition-base), opacity var(--transition-base);
}

.site-footer__brand-link:hover {
  color: var(--color-accent);
  opacity: 0.9;
}

.site-footer__tagline {
  font-family: var(--font-serif);
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin: 0;
  font-style: italic;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Single column when only links (no contact block) */
.site-footer__row--links-only {
  grid-template-columns: 1fr;
}

@media (max-width: 639px) {
  .site-footer__row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .site-footer__contact,
  .site-footer__links {
    padding: var(--space-base);
  }

  .site-footer__newsletter {
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
  }
}

/* Contact block */
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-base);
  padding: var(--space-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-card);
  border: 1px solid rgba(47, 111, 237, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.site-footer__contact-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: var(--space-xs);
}

.site-footer__contact-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
}

.site-footer__contact-link:hover {
  color: var(--color-accent);
}

.site-footer__contact-link--email::before {
  content: "✉";
  font-size: 1em;
  opacity: 0.8;
}

.site-footer__contact-link--phone::before {
  content: "📞";
  font-size: 1em;
  opacity: 0.8;
}

.site-footer__contact-link--youtube::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: var(--space-xs);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.site-footer__contact-link--facebook::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: var(--space-xs);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.site-footer__contact-link--x::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: var(--space-xs);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.site-footer__contact-link--tiktok::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: var(--space-xs);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .58.06v-3.2a6 6 0 0 0-1 .05A6.1 6.1 0 0 0 4 10.74a6 6 0 0 0 6 5.9 6 6 0 0 0 5.92-4.9 6 6 0 0 0 3.67-4.95z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .58.06v-3.2a6 6 0 0 0-1 .05A6.1 6.1 0 0 0 4 10.74a6 6 0 0 0 6 5.9 6 6 0 0 0 5.92-4.9 6 6 0 0 0 3.67-4.95z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  border: 1px solid rgba(47, 111, 237, 0.06);
}

.site-footer__links span[aria-hidden="true"] {
  color: var(--color-border);
  font-weight: 300;
  user-select: none;
}

.site-footer__links--full {
  grid-column: 1 / -1;
}

.site-footer__links a {
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color var(--transition-base);
}

.site-footer__links a:hover {
  color: var(--color-accent);
}

.site-footer__newsletter {
  max-width: 420px;
  margin: 0 auto var(--space-3xl);
  padding: var(--space-2xl);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(47, 111, 237, 0.08);
  position: relative;
  z-index: 1;
}

.site-footer__newsletter-title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.site-footer__newsletter-desc {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.site-footer__newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-footer__newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);
}

.site-footer__newsletter-form button {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}

.site-footer__newsletter-form button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.site-footer__text {
  margin: 0;
  padding: var(--space-xl) var(--space-base);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Layout - spec 0.5 */
.site-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-mobile);
}

@media (min-width: 768px) {
  .site-container {
    padding: 0 var(--page-pad-tablet);
  }
}

@media (min-width: 1024px) {
  .site-container {
    padding: 0 var(--page-pad-desktop);
  }
}

/* Archive & grid styles are enqueued in functions.php */
