/*
Theme Name: Alta Sociedade
Theme URI: https://altasociedade.com
Author: Alta Sociedade
Author URI: https://altasociedade.com
Description: Tema premium para o portal de luxo Alta Sociedade. Design elegante com paleta dourada e tipografia sofisticada.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alta-sociedade
Tags: luxury, magazine, editorial, gold, elegant, responsive, custom-logo, custom-menu, featured-images
*/

/* =============================================
   ALTA SOCIEDADE - LUXURY DESIGN SYSTEM
   ============================================= */

:root {
  /* Luxury Color Palette */
  --as-background: hsl(30, 15%, 98%);
  --as-foreground: hsl(0, 0%, 8%);

  --as-card: hsl(30, 20%, 99%);
  --as-card-foreground: hsl(0, 0%, 8%);

  /* Gold Champagne Primary */
  --as-primary: hsl(40, 45%, 45%);
  --as-primary-foreground: hsl(30, 20%, 99%);

  /* Warm Gray Secondary */
  --as-secondary: hsl(30, 5%, 92%);
  --as-secondary-foreground: hsl(0, 0%, 15%);

  --as-muted: hsl(30, 10%, 94%);
  --as-muted-foreground: hsl(0, 0%, 40%);

  /* Champagne Accent */
  --as-accent: hsl(38, 50%, 55%);
  --as-accent-foreground: hsl(0, 0%, 8%);

  --as-border: hsl(30, 15%, 88%);

  /* Custom Luxury Variables */
  --as-gold: hsl(40, 60%, 50%);
  --as-gold-light: hsl(42, 55%, 65%);
  --as-gold-dark: hsl(38, 55%, 35%);
  --as-champagne: hsl(38, 35%, 85%);
  --as-ivory: hsl(40, 30%, 97%);
  --as-charcoal: hsl(0, 0%, 15%);
  --as-slate: hsl(0, 0%, 35%);

  /* Gradients */
  --as-gradient-gold: linear-gradient(135deg, hsl(40, 60%, 50%) 0%, hsl(42, 55%, 65%) 100%);
  --as-gradient-dark: linear-gradient(180deg, hsl(0, 0%, 8%) 0%, hsl(0, 0%, 15%) 100%);
  --as-gradient-overlay: linear-gradient(180deg, transparent 0%, hsla(0, 0%, 0%, 0.7) 100%);

  /* Shadows */
  --as-shadow-elegant: 0 4px 30px -10px hsla(0, 0%, 0%, 0.1);
  --as-shadow-card: 0 2px 20px -5px hsla(0, 0%, 0%, 0.08);
  --as-shadow-hover: 0 10px 40px -10px hsla(0, 0%, 0%, 0.15);

  /* Typography */
  --as-font-display: 'Playfair Display', Georgia, serif;
  --as-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --as-radius: 0.25rem;
}

/* Dark Mode */
body.dark-mode {
  --as-background: hsl(0, 0%, 8%);
  --as-foreground: hsl(30, 15%, 95%);

  --as-card: hsl(0, 0%, 12%);
  --as-card-foreground: hsl(30, 15%, 95%);

  --as-primary: hsl(42, 55%, 55%);
  --as-primary-foreground: hsl(0, 0%, 8%);

  --as-secondary: hsl(0, 0%, 18%);
  --as-secondary-foreground: hsl(30, 15%, 90%);

  --as-muted: hsl(0, 0%, 15%);
  --as-muted-foreground: hsl(0, 0%, 60%);

  --as-accent: hsl(42, 55%, 60%);
  --as-accent-foreground: hsl(0, 0%, 8%);

  --as-border: hsl(0, 0%, 20%);

  --as-gold: hsl(42, 60%, 55%);
  --as-gold-light: hsl(44, 55%, 70%);
  --as-gold-dark: hsl(40, 55%, 45%);
  --as-champagne: hsl(38, 25%, 25%);
  --as-ivory: hsl(0, 0%, 95%);
  --as-charcoal: hsl(0, 0%, 95%);
  --as-slate: hsl(0, 0%, 65%);

  --as-shadow-elegant: 0 4px 30px -10px hsla(0, 0%, 0%, 0.4);
  --as-shadow-card: 0 2px 20px -5px hsla(0, 0%, 0%, 0.3);
  --as-shadow-hover: 0 10px 40px -10px hsla(0, 0%, 0%, 0.5);
}

/* Dark Mode Newsletter Section Override */
body.dark-mode .newsletter-section {
  background-color: hsl(0, 0%, 5%);
}

/* Dark Mode Footer Override */
body.dark-mode .site-footer {
  background-color: hsl(0, 0%, 3%);
}

/* Theme Switch Slider */
.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.theme-switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-switch-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 56px;
  height: 28px;
  padding: 0 6px;
  background-color: var(--as-muted);
  border: 1px solid var(--as-border);
  border-radius: 28px;
  transition: all 0.3s ease;
}

.theme-switch-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--as-gradient-gold);
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 2;
}

.theme-switch-input:checked+.theme-switch-slider {
  background-color: hsl(0, 0%, 20%);
  border-color: hsl(0, 0%, 30%);
}

.theme-switch-input:checked+.theme-switch-slider::before {
  transform: translateX(28px);
}

.theme-switch-slider svg {
  width: 14px;
  height: 14px;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.theme-switch-slider .icon-sun {
  color: var(--as-gold);
}

.theme-switch-slider .icon-moon {
  color: var(--as-slate);
}

.theme-switch-input:checked+.theme-switch-slider .icon-sun {
  color: hsl(0, 0%, 50%);
}

.theme-switch-input:checked+.theme-switch-slider .icon-moon {
  color: var(--as-gold-light);
}

/* =============================================
   BASE STYLES
   ============================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--as-background);
  color: var(--as-foreground);
  font-family: var(--as-font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--as-font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--as-foreground);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--as-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--as-gold-dark);
}

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

/* =============================================
   CONTAINER
   ============================================= */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--as-background);
  border-bottom: 1px solid var(--as-border);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.site-logo {
  font-family: var(--as-font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--as-foreground);
  text-transform: uppercase;
}

.site-logo span {
  color: var(--as-gold);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search input {
  width: 200px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  font-family: var(--as-font-body);
  font-size: 0.875rem;
  background-color: var(--as-background);
  color: var(--as-foreground);
  transition: border-color 0.3s ease, width 0.3s ease;
}

.header-search input:focus {
  outline: none;
  border-color: var(--as-gold);
  width: 280px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* =============================================
   NAVIGATION
   ============================================= */

.main-navigation {
  border-top: 1px solid var(--as-border);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1rem 0;
  margin: 0;
  list-style: none;
}

.nav-menu li a {
  position: relative;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--as-foreground);
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--as-primary);
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  opacity: 1;
  color: var(--as-primary);
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-menu li.current-menu-item a {
  color: var(--as-primary);
  opacity: 1;
}

.nav-menu li.current-menu-item a::after {
  width: 100%;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--as-foreground);
  margin: 5px 0;
  transition: all 0.3s ease;
}

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

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .nav-menu.active {
    display: flex;
  }
}

/* =============================================
   HERO SLIDER
   ============================================= */

.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--as-gradient-overlay);
}

.hero-slide-content {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  padding: 0 4rem;
  color: var(--as-ivory);
  max-width: 800px;
}

.hero-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--as-gold-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--as-font-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-excerpt {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-slide-content .btn,
.hero-slide-content a.btn,
.hero-slide-content a.btn:link,
.hero-slide-content a.btn:visited,
.hero-slide-content a.btn:hover,
.hero-slide-content a.btn:active {
  background: #ffffff !important;
  color: hsl(42, 60%, 55%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.hero-slide-content .btn:hover,
.hero-slide-content a.btn:hover {
  background: hsl(30, 15%, 95%) !important;
  color: hsl(42, 60%, 55%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Dark mode: botão preto com texto dourado */
body.dark-mode .hero-slide-content .btn,
body.dark-mode .hero-slide-content a.btn,
body.dark-mode .hero-slide-content a.btn:link,
body.dark-mode .hero-slide-content a.btn:visited,
body.dark-mode .hero-slide-content a.btn:hover,
body.dark-mode .hero-slide-content a.btn:active {
  background: #000000 !important;
  color: hsl(42, 60%, 55%) !important;
}

body.dark-mode .hero-slide-content .btn:hover,
body.dark-mode .hero-slide-content a.btn:hover {
  background: hsl(0, 0%, 15%) !important;
  color: hsl(42, 60%, 55%) !important;
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  display: flex;
  gap: 0.75rem;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background-color: var(--as-gold);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
    min-height: 450px;
  }

  .hero-slide-content {
    padding: 0 1.5rem;
    bottom: 15%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-excerpt {
    font-size: 1rem;
  }

  .hero-slider-dots {
    right: 1.5rem;
  }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--as-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.5s ease;
}

.btn-primary {
  background-color: var(--as-charcoal);
  color: var(--as-ivory);
}

.btn-primary:hover {
  background-color: var(--as-gold);
  color: var(--as-charcoal);
}

.btn-outline {
  background-color: transparent;
  color: var(--as-charcoal);
  border: 1px solid var(--as-charcoal);
}

.btn-outline:hover {
  background-color: var(--as-charcoal);
  color: var(--as-ivory);
}

.btn-gold {
  background: var(--as-gradient-gold);
  color: var(--as-charcoal);
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* =============================================
   ARTICLE CARDS
   ============================================= */

.article-card {
  position: relative;
  overflow: hidden;
  background-color: var(--as-card);
  box-shadow: var(--as-shadow-card);
  transition: all 0.5s ease;
}

.article-card:hover {
  box-shadow: var(--as-shadow-hover);
  transform: translateY(-4px);
}

.article-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-content {
  padding: 1.5rem;
}

.article-card-category {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--as-gold);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.article-card-category:hover {
  color: var(--as-gold-dark);
}

.article-card-title {
  font-family: var(--as-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-card-title a {
  color: var(--as-foreground);
}

.article-card-title a:hover {
  color: var(--as-primary);
}

.article-card-excerpt {
  font-size: 0.875rem;
  color: var(--as-muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--as-slate);
}

/* Featured Card (Large) */
.article-card-featured {
  grid-column: span 2;
}

.article-card-featured .article-card-image {
  aspect-ratio: 16 / 9;
}

.article-card-featured .article-card-title {
  font-size: 1.75rem;
}

/* Compact Card */
.article-card-compact {
  display: flex;
  gap: 1rem;
}

.article-card-compact .article-card-image {
  width: 100px;
  min-width: 100px;
  aspect-ratio: 1;
}

.article-card-compact .article-card-content {
  padding: 0.5rem 0;
}

.article-card-compact .article-card-title {
  font-size: 0.9rem;
}

/* =============================================
   SECTIONS
   ============================================= */

.section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--as-border);
}

.section-title {
  font-family: var(--as-font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0;
}

.section-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--as-gold);
}

.section-link:hover {
  color: var(--as-gold-dark);
}

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.article-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .article-grid,
  .article-grid-2,
  .article-grid-4 {
    grid-template-columns: 1fr;
  }

  .article-card-featured {
    grid-column: span 1;
  }
}

/* Featured Section */
.featured-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .featured-section {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   NEWSLETTER
   ============================================= */

.newsletter-section {
  background-color: var(--as-charcoal);
  padding: 5rem 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--as-font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--as-ivory);
  margin-bottom: 1rem;
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--as-radius);
  background-color: transparent;
  color: var(--as-ivory);
  font-family: var(--as-font-body);
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--as-gold);
}

@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background-color: var(--as-foreground);
  color: var(--as-ivory);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--as-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--as-gold);
}

.footer-description {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-title {
  font-family: var(--as-font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--as-gold);
}

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

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-menu li a:hover {
  color: var(--as-gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--as-ivory);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--as-gold);
  color: var(--as-charcoal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* =============================================
   CATEGORY TAG
   ============================================= */

.category-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--as-gold);
  transition: color 0.3s ease;
}

.category-tag:hover {
  color: var(--as-gold-dark);
}

/* =============================================
   SEPARATOR
   ============================================= */

.separator-luxury {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--as-gold), transparent);
  margin: 2rem auto;
}

/* =============================================
   SINGLE ARTICLE
   ============================================= */

.single-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.single-article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.single-article-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--as-gold);
  margin-bottom: 1rem;
}

.single-article-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.single-article-meta {
  font-size: 0.875rem;
  color: var(--as-muted-foreground);
}

.single-article-image {
  width: 100%;
  margin-bottom: 3rem;
}

.single-article-image img {
  width: 100%;
  height: auto;
}

.single-article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-article-content p {
  margin-bottom: 1.5rem;
}

.single-article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.single-article-content blockquote {
  margin: 2rem 0;
  padding: 2rem;
  border-left: 3px solid var(--as-gold);
  background-color: var(--as-muted);
  font-family: var(--as-font-display);
  font-size: 1.25rem;
  font-style: italic;
}

/* =============================================
   SIDEBAR WIDGETS
   ============================================= */

.widget {
  margin-bottom: 2.5rem;
}

.widget-title {
  font-family: var(--as-font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--as-border);
}

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--as-border);
  transition: all 0.3s ease;
}

.pagination a:hover {
  border-color: var(--as-gold);
  color: var(--as-gold);
}

.pagination .current {
  background-color: var(--as-charcoal);
  border-color: var(--as-charcoal);
  color: var(--as-ivory);
}

/* =============================================
   UTILITIES
   ============================================= */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .hidden-desktop {
    display: none;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* =============================================
   WORDPRESS SPECIFIC
   ============================================= */

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

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

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--as-muted-foreground);
  padding: 0.5rem 0;
}

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

.gallery-item {
  margin: 0;
}

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