/*
Theme Name: MugMead Theme
Theme URI: https://mugmead.com
Author: MugMead Team
Author URI: https://mugmead.com
Description: A warm, rustic theme designed for MugMead, a Pacific Northwest meadery and honey bar. Features amber/honey-inspired styling, responsive design, and custom post types for meads, recipes, and events.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: mugmead-theme
Tags: food-drink, portfolio, one-column, custom-menu, custom-logo, featured-images, theme-options
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --mead-amber: #C67B30;
  --mead-gold: #D4A853;
  --mead-dark: #2C1810;
  --mead-cream: #FDF6E8;
  --mead-forest: #2D5016;
  --mead-moss: #4A7C3F;
  --text-primary: #2C1810;
  --text-secondary: #5C3D2E;
  --text-muted: #8B6B5A;
  --border-light: #E8D5C0;
  --bg-light: #FAF3E8;
  --bg-white: #FFFDF9;
}

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

body {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--mead-cream) 0%, #FAF0DC 25%, #F5EBDA 50%, #F0E6D3 75%, #FAF0DC 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
    padding: 0 40px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    max-width: 1200px;
    padding: 0 30px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
    padding: 0 25px;
  }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--mead-dark);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin: 3rem 0 1.5rem; }
h3 { font-size: 1.4rem; margin: 2rem 0 1rem; }

@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }
  .profile-name { font-size: 2.8rem; }
  .profile-title { font-size: 1.3rem; }
  .profile-description { font-size: 1.1rem; line-height: 1.8; }
}

p { margin-bottom: 1rem; }

a {
  color: var(--mead-amber);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #A5641F;
  text-decoration: underline;
}

/* ==========================================================================
   Header
   ========================================================================== */
header, .site-header {
  border-bottom: 3px solid var(--mead-gold);
  background: linear-gradient(135deg, var(--mead-dark) 0%, #3D2517 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo, .site-title a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mead-gold);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--mead-gold);
  text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav, .main-navigation ul {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a, .main-navigation a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover, .main-navigation a:hover,
.main-navigation .current-menu-item a,
.desktop-nav a.active {
  color: var(--mead-gold);
  border-bottom-color: var(--mead-gold);
  text-decoration: none;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--mead-gold);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(44, 24, 16, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Nav Close Button */
.mobile-nav-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  width: 56px;
  height: 56px;
  background: var(--mead-dark);
  border: 3px solid var(--mead-gold);
  border-radius: 50%;
  color: var(--mead-gold);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.active .mobile-nav-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-close .close-icon {
  line-height: 1;
  margin-top: -2px;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus {
  background: #3D2517;
  border-color: var(--mead-amber);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.mobile-nav-link {
  color: var(--mead-cream);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-nav.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-link:hover {
  color: var(--mead-gold);
  transform: scale(1.1);
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-banner {
    min-height: 45vh;
  }
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 24, 16, 0) 0%,
    rgba(44, 24, 16, 0.05) 30%,
    rgba(44, 24, 16, 0.5) 65%,
    rgba(44, 24, 16, 0.92) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 20px 3rem;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: left;
    padding: 4rem 40px 4rem;
    max-width: 1400px;
  }
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #FFFDF9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--mead-gold);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .hero-subtitle {
    font-size: 1.4rem;
  }
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 253, 249, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .hero-description {
    font-size: 1.1rem;
    margin: 0 0 1.5rem;
  }
}

.hero-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-social {
    justify-content: flex-start;
  }
}

.hero-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 123, 48, 0.7);
  color: white;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.hero-social a:hover {
  background: var(--mead-amber);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(198, 123, 48, 0.5);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--mead-amber);
  color: white !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(198, 123, 48, 0.4);
}

.hero-cta:hover {
  background: #A56525;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 123, 48, 0.6);
}

/* ==========================================================================
   Main Content
   ========================================================================== */
main, .site-main {
  padding: 0;
  background: transparent;
  margin: 0;
}

.content-card {
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.95) 0%, rgba(253, 246, 232, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 213, 192, 0.4);
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.08);
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .content-card {
    padding: 4rem;
    margin: 3rem 0;
  }
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 24, 16, 0.12);
}

.profile-card {
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98) 0%, rgba(253, 246, 232, 0.95) 100%);
  border: 1px solid rgba(198, 123, 48, 0.1);
}

/* ==========================================================================
   Profile Section
   ========================================================================== */
.profile {
  text-align: center;
  margin-bottom: 6rem;
}

@media (min-width: 992px) {
  .profile {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    text-align: left;
    align-items: center;
  }

  .profile-image-wrapper {
    justify-self: center;
  }

  .profile-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .social-links {
    justify-content: flex-start;
    margin-top: 2rem;
  }
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: block;
  object-fit: cover;
  object-position: center top;
  border: 6px solid var(--mead-amber);
  box-shadow: 0 8px 24px rgba(198, 123, 48, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .profile-image {
    width: 400px;
    height: 400px;
    border: 8px solid var(--mead-amber);
    box-shadow: 0 12px 36px rgba(198, 123, 48, 0.25);
  }
}

.profile-image:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(198, 123, 48, 0.3);
}

@media (min-width: 992px) {
  .profile-image:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(198, 123, 48, 0.35);
  }
}

.profile-name {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.profile-title {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.profile-description {
  max-width: 800px;
  margin: 1.5rem 0 2rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ==========================================================================
   Metrics Bar
   ========================================================================== */
.metrics-bar {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.95) 0%, rgba(74, 124, 63, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 124, 63, 0.2);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(45, 80, 22, 0.2);
}

.metrics-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 992px) {
  .metrics-container {
    max-width: 1000px;
    gap: 3rem;
  }

  .metric-item {
    padding: 2rem 1rem;
  }

  .metric-number {
    font-size: 3rem;
  }

  .metric-label {
    font-size: 1rem;
  }
}

.metric-item {
  padding: 1rem;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ==========================================================================
   Research Highlights Grid (Our Offerings)
   ========================================================================== */
.research-highlights {
  margin: 3rem 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.95) 0%, rgba(253, 246, 232, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 213, 192, 0.4);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(198, 123, 48, 0.15);
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--mead-amber);
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--mead-dark);
}

.highlight-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.highlight-link {
  color: var(--mead-amber);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.highlight-link:hover {
  color: #A5641F;
}

.highlight-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.highlight-link:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   Impact Section (Why MugMead)
   ========================================================================== */
.impact-section {
  margin: 3rem 0;
  padding: 3rem;
}

.impact-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.impact-content {
  display: grid;
  gap: 2rem;
}

.impact-item-main {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(198, 123, 48, 0.04);
  border-radius: 8px;
  border-left: 4px solid var(--mead-amber);
}

.impact-item-main > i {
  font-size: 1.5rem;
  color: var(--mead-amber);
  flex-shrink: 0;
}

.impact-item-main h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.impact-item-main p {
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Featured Section
   ========================================================================== */
.featured-report-section {
  border-left: 4px solid var(--mead-gold);
}

.featured-report-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.featured-report-text {
  flex: 1;
  min-width: 280px;
}

.featured-badge {
  display: inline-block;
  background: var(--mead-amber);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.featured-subtitle {
  font-style: italic;
  color: var(--text-secondary);
}

.featured-report-cta {
  flex-shrink: 0;
}

.featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--mead-amber);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-btn:hover {
  background: #A5641F;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ==========================================================================
   Quick Links Bar
   ========================================================================== */
.quick-links-bar {
  background: linear-gradient(135deg, var(--mead-dark) 0%, #3D2517 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.quick-links-bar h3 {
  color: var(--mead-gold);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.quick-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(212, 168, 83, 0.15);
  color: var(--mead-cream);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-link-btn:hover {
  background: rgba(212, 168, 83, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

/* ==========================================================================
   Social Links
   ========================================================================== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  padding: 0.5rem;
}

.social-links a:hover {
  color: var(--mead-amber);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* ==========================================================================
   Archive Styling
   ========================================================================== */
.archive-header {
  background: linear-gradient(135deg, var(--mead-dark) 0%, #3D2517 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.archive-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: white;
}

.archive-intro {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.95;
}

.archive-highlight {
  display: inline-block;
  background: rgba(212, 168, 83, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 20px;
  font-weight: 600;
  border: 1px solid rgba(212, 168, 83, 0.4);
}

/* Post Cards */
.post-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(198, 123, 48, 0.12);
}

.post-card h2 {
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  color: var(--mead-dark);
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--mead-amber);
  text-decoration: underline;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.post-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
}

.read-more {
  color: var(--mead-amber);
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  color: #A5641F;
}

/* ==========================================================================
   Single Post/Page Styling
   ========================================================================== */
.single-header {
  background: linear-gradient(135deg, var(--mead-dark) 0%, #3D2517 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 3rem;
}

.single-header h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.single-meta {
  opacity: 0.9;
  font-size: 1rem;
}

.single-content, .page-content, .post-content {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
}

.page-container, .single-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 20px;
}

.page-header, .post-header {
  margin-bottom: 2rem;
}

.page-title, .post-title {
  color: var(--mead-dark);
}

/* Action Buttons */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background: var(--bg-white);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.1);
  text-decoration: none;
}

.action-btn.primary {
  background: var(--mead-amber);
  color: white;
  border-color: var(--mead-amber);
}

.action-btn.primary:hover {
  background: #A5641F;
  border-color: #A5641F;
  color: white;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mead-amber);
  font-weight: 500;
  text-decoration: none;
  margin-top: 2rem;
}

.back-link:hover {
  color: #A5641F;
}

/* Meta Items */
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.5rem;
  color: var(--text-muted);
}

.meta-item i {
  color: var(--mead-amber);
}

/* ==========================================================================
   Editor Content Section
   ========================================================================== */
.editor-content-section {
  margin: 3rem 0;
}

.editor-content {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer, .site-footer {
  border-top: 3px solid var(--mead-gold);
  background: var(--mead-dark);
  color: var(--mead-cream);
  margin-top: 6rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--mead-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--mead-cream);
}

/* Footer Upper (Widgets Area) */
.site-footer .footer-upper {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer .footer-widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.site-footer .footer-column {
  text-align: left;
}

.site-footer .footer-about {
  max-width: 300px;
}

.site-footer .footer-about-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.site-footer .widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--mead-gold);
  display: inline-block;
  color: var(--mead-cream);
}

.site-footer .footer-widget {
  margin-bottom: 1.5rem;
}

.site-footer .footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-widget ul li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-widget ul li a {
  opacity: 0.9;
}

.site-footer .footer-widget ul li a:hover {
  opacity: 1;
}

/* Footer Social Links */
.site-footer .footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(212, 168, 83, 0.15);
  color: var(--mead-gold);
  transition: all 0.2s ease;
}

.site-footer .footer-social a:hover {
  background-color: var(--mead-amber);
  color: white;
  transform: translateY(-2px);
}

.site-footer .footer-social-simple {
  justify-content: center;
  margin-bottom: 1rem;
}

/* Footer Lower (Copyright) */
.site-footer .footer-lower {
  padding: 1.5rem 0;
}

.site-footer .footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.site-footer .footer-copyright {
  margin: 0;
  opacity: 0.9;
}

.site-footer .footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer .footer-links a {
  opacity: 0.9;
  font-size: 0.85rem;
}

.site-footer .footer-links a:hover {
  opacity: 1;
}

/* Simple Layout (copyright only) */
.site-footer.footer-layout-simple .footer-lower {
  padding: 2rem 0;
}

/* Expanded Layout */
.site-footer.footer-layout-expanded .footer-widgets-grid {
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

@media (max-width: 991px) {
  .site-footer.footer-layout-expanded .footer-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-about {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .site-footer .footer-widgets-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-column {
    text-align: center;
  }

  .site-footer .footer-social {
    justify-content: center;
  }

  .site-footer .footer-bottom-content {
    flex-direction: column;
  }
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404-container {
  text-align: center;
  padding: 6rem 2rem;
}

.error-title {
  font-size: 8rem;
  color: var(--mead-amber);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-subtitle {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-message {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  margin-top: 2rem;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hamburger-menu {
    display: flex;
  }

  .desktop-nav, .main-navigation {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  .header-content {
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }

  .profile-name {
    font-size: 1.8rem;
  }

  .social-links {
    gap: 1rem;
  }

  main, .site-main {
    padding: 2rem 0;
    margin: 1rem 0;
  }

  .metrics-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .metric-item {
    padding: 0.5rem;
  }

  .metric-number {
    font-size: 1.8rem;
  }

  .metric-label {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .metrics-bar {
    margin: 2rem 0;
    padding: 2rem 1rem;
  }

  .profile {
    margin-bottom: 3rem;
    display: block;
    text-align: center;
  }

  .profile-image {
    width: 200px;
    height: 200px;
    border: 4px solid var(--mead-amber);
    margin: 0 auto 1rem;
  }

  .archive-header h1 {
    font-size: 2rem;
  }

  .single-content, .page-content, .post-content {
    padding: 2rem;
  }

  .page-container, .single-container {
    margin: 2rem auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .metric-number {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .profile-name {
    font-size: 1.6rem;
  }

  .profile-image {
    width: 180px;
    height: 180px;
    border: 3px solid var(--mead-amber);
  }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Admin bar adjustment */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Video Wrapper
   ========================================================================== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 2rem 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Posts Navigation
   ========================================================================== */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.post-navigation a {
  color: var(--mead-amber);
  text-decoration: none;
  font-weight: 500;
}

.post-navigation a:hover {
  color: #A5641F;
}

/* Post Tags */
.post-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
}

.post-tags a {
  color: var(--mead-amber);
}

/* Posts Pagination */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.nav-links a, .nav-links span {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}

.nav-links .current {
  background: var(--mead-amber);
  color: white;
}

.nav-links a {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.nav-links a:hover {
  background: var(--mead-amber);
  color: white;
  text-decoration: none;
}
