/*
Theme Name: Fiction Sisters
Theme URI: https://fictionsisterstheme.com
Author: Fiction Sisters
Author URI: https://fictionsisterstheme.com
Description: A dark, elegant digital literary library WordPress theme featuring gold accents, editorial typography, and sections for stories, videos, writing prompts, and community engagement. Converted from a React/Tailwind theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: fiction-sisters
Tags: dark, literary, editorial, one-column, custom-menu, custom-logo, featured-images, theme-options
*/

/* ==========================================================================
   CSS Custom Properties (from React theme)
   ========================================================================== */

:root {
  --background: 30 10% 7%;
  --foreground: 38 25% 88%;

  --card: 30 10% 10%;
  --card-foreground: 38 25% 88%;

  --popover: 30 10% 10%;
  --popover-foreground: 38 25% 88%;

  --primary: 40 65% 50%;
  --primary-foreground: 30 10% 7%;

  --secondary: 30 8% 14%;
  --secondary-foreground: 38 25% 80%;

  --muted: 30 6% 16%;
  --muted-foreground: 30 10% 50%;

  --accent: 40 65% 50%;
  --accent-foreground: 30 10% 7%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;

  --border: 30 8% 18%;
  --input: 30 8% 18%;
  --ring: 40 65% 50%;

  --radius: 0.375rem;

  --gold: 40 65% 50%;
  --gold-muted: 40 40% 35%;
  --warm-cream: 38 25% 88%;
  --warm-gray: 30 6% 30%;
  --deep-brown: 25 15% 12%;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  margin: 0;
  padding: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Lora', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, textarea {
  font-family: inherit;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .navbar-inner {
    height: 5rem;
  }
}

.site-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .site-brand {
    font-size: 1.25rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.75rem;
  font-family: 'Lora', Georgia, serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: hsl(var(--primary));
}

/* Mobile menu toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background-color: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 1.5rem;
}

.mobile-nav.is-open {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--background) / 0.8);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--background) / 0.4),
    transparent,
    hsl(var(--background))
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  animation: fadeIn 0.5s ease-out forwards;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out forwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Lora', Georgia, serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid hsl(var(--foreground) / 0.3);
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Lora', Georgia, serif;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--secondary) / 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 2rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .stat-item {
    padding: 2.5rem 0;
  }
}

.stat-item:not(:last-child) {
  border-right: none;
}

@media (min-width: 768px) {
  .stat-item:not(:last-child) {
    border-right: 1px solid hsl(var(--border));
  }
}

.stat-item:nth-child(-n+2) {
  border-bottom: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .stat-item:nth-child(-n+2) {
    border-bottom: none;
  }
}

.stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Section Common
   ========================================================================== */

.section-heading {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.section-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  transition: color 0.3s ease;
}

.section-link:hover {
  color: hsl(var(--primary) / 0.8);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Featured Section
   ========================================================================== */

.featured-section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .featured-section {
    padding: 7rem 0;
  }
}

.featured-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
}

.featured-story-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .featured-story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-image-wrap {
  position: relative;
  overflow: hidden;
}

.featured-image-wrap img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}

@media (min-width: 768px) {
  .featured-image-wrap img {
    height: 100%;
  }
}

.featured-image-wrap:hover img {
  transform: scale(1.05);
}

.featured-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.8), transparent);
  pointer-events: none;
}

.featured-story-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.featured-story-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .featured-story-title {
    font-size: 1.875rem;
  }
}

.featured-excerpt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Right Column Cards */
.prompt-block blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(var(--foreground));
  line-height: 1.75;
  border-left: 2px solid hsl(var(--primary));
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}

.book-card {
  background-color: hsl(var(--secondary) / 0.5);
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
}

.book-card img {
  width: 8rem;
  height: 11rem;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.book-card h3 {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.book-card p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.875rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  text-align: center;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.book-card .section-link {
  display: block;
  text-align: center;
}

/* ==========================================================================
   Archive Section
   ========================================================================== */

.archive-section {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .archive-section {
    padding: 6rem 0;
  }
}

.archive-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .archive-grid {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
}

.archive-story {
  padding: 2rem 0;
  border-bottom: 1px solid hsl(var(--border));
  cursor: pointer;
}

.archive-story:hover .archive-story-title {
  color: hsl(var(--primary));
}

.archive-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.archive-meta .category-label {
  margin-bottom: 0;
}

.archive-meta-divider {
  color: hsl(var(--muted-foreground) / 0.3);
}

.archive-meta-lang {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.archive-story-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.archive-excerpt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.875rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

/* Comments sidebar */
.comment-item {
  border-left: 2px solid hsl(var(--border));
  padding-left: 1rem;
  transition: border-color 0.3s ease;
  margin-bottom: 1.5rem;
}

.comment-item:hover {
  border-left-color: hsl(var(--primary));
}

.comment-story {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.comment-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.875rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
}

/* Newsletter */
.newsletter-block h2 {
  margin-bottom: 0.75rem;
}

.newsletter-block p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: hsl(var(--muted-foreground));
}

.newsletter-form input[type="email"]:focus {
  border-color: hsl(var(--primary));
}

.newsletter-form button {
  padding: 0.75rem 1.25rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Lora', Georgia, serif;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: hsl(var(--primary) / 0.9);
}

/* ==========================================================================
   Browse by Mood
   ========================================================================== */

.mood-section {
  padding: 4rem 0;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .mood-section {
    padding: 5rem 0;
  }
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .mood-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.mood-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.mood-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.5s ease;
}

.mood-item:hover .mood-icon {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 20px hsl(var(--primary) / 0.15);
}

.mood-icon svg {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary) / 0.7);
  transition: color 0.3s ease;
}

.mood-item:hover .mood-icon svg {
  color: hsl(var(--primary));
}

.mood-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

.mood-sublabel {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Video Shelf
   ========================================================================== */

.video-section {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .video-section {
    padding: 7rem 0;
  }
}

.video-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  position: relative;
  overflow: hidden;
  background-color: hsl(var(--secondary));
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border));
  transition: all 0.5s ease;
}

.video-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.video-card-gradient {
  position: absolute;
  inset: 0;
}

.video-card-gradient--amber {
  background: linear-gradient(to bottom right, hsl(25 80% 20% / 0.6), hsl(var(--background) / 0.9));
}

.video-card-gradient--teal {
  background: linear-gradient(to bottom right, hsl(175 50% 20% / 0.6), hsl(var(--background) / 0.9));
}

.video-card-gradient--rose {
  background: linear-gradient(to bottom right, hsl(350 60% 20% / 0.6), hsl(var(--background) / 0.9));
}

.video-play-btn {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.play-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid hsl(var(--foreground) / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.5s ease;
}

.video-card:hover .play-circle {
  border-color: hsl(var(--primary));
  transform: scale(1.1);
}

.play-circle svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--foreground) / 0.7);
  margin-left: 2px;
  transition: color 0.3s ease;
}

.video-card:hover .play-circle svg {
  color: hsl(var(--primary));
}

.video-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 10;
}

.video-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.video-info p {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Quote Banner
   ========================================================================== */

.quote-section {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .quote-section {
    padding: 7rem 0;
  }
}

.quote-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.quote-inner blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: hsl(var(--foreground));
  line-height: 1.4;
  margin: 0 0 2rem 0;
}

@media (min-width: 768px) {
  .quote-inner blockquote {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .quote-inner blockquote {
    font-size: 2.25rem;
  }
}

.quote-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* ==========================================================================
   Write With Us
   ========================================================================== */

.write-section {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .write-section {
    padding: 7rem 0;
  }
}

.write-card {
  max-width: 42rem;
  margin: 0 auto;
  background-color: hsl(var(--secondary) / 0.5);
  border: 1px solid hsl(var(--border));
  padding: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .write-card {
    padding: 3.5rem;
  }
}

.write-card .section-heading {
  margin-bottom: 1rem;
}

.write-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .write-card h2 {
    font-size: 2.25rem;
  }
}

.write-card .write-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 2rem;
}

.btn-outline-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Lora', Georgia, serif;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid hsl(var(--border));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.page-404 p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

/* Alignment classes */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.5rem;
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: hsl(var(--secondary));
  clip: auto !important;
  clip-path: none;
  color: hsl(var(--foreground));
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Post content */
.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content a {
  color: hsl(var(--primary));
  transition: color 0.3s ease;
}

.entry-content a:hover {
  color: hsl(var(--primary) / 0.8);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-gold-gradient {
  background: linear-gradient(135deg, hsl(40 65% 50%), hsl(45 70% 65%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-gold {
  box-shadow: 0 0 20px hsl(40 65% 50% / 0.15);
}

.right-col-space > * + * {
  margin-top: 2.5rem;
}
