/* ============================================
   AYYAPPA SAMAAJ ARIZONA - MODERN DESIGN SYSTEM
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors - Deep Navy/Blue Theme */
  --color-primary-900: #0a1628;
  --color-primary-800: #0f2240;
  --color-primary-700: #153158;
  --color-primary-600: #1a3f6f;
  --color-primary-500: #2563eb;
  --color-primary-400: #3b82f6;
  --color-primary-300: #60a5fa;
  
  /* Accent Colors - Gold/Saffron */
  --color-accent-500: #ffd700;
  --color-accent-400: #ffdf33;
  --color-accent-600: #e6c200;
  --color-accent-glow: rgba(255, 215, 0, 0.3);
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-overlay: 500;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

/* ============================================
   2. BASE RESET & TYPOGRAPHY
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-800) 50%, var(--color-primary-900) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-accent-500);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-200);
}

a {
  color: var(--color-accent-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-400);
}

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

/* ============================================
   3. LAYOUT & CONTAINER
   ============================================ */
.page-wrapper {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-4);
}

#main {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-6);
  background: transparent;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */
header {
  background: linear-gradient(135deg, rgba(15, 34, 64, 0.95) 0%, rgba(21, 49, 88, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#strapline {
  padding: var(--space-6) var(--space-8);
  text-align: center;
}

#welcome_slogan h3 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-accent-500);
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  margin: 0;
  letter-spacing: -1px;
}

#welcome_slogan h3 span {
  color: var(--color-accent-400);
  font-weight: 500;
}

/* Navigation */
nav {
  padding: 0 var(--space-4);
}

#menubar {
  display: flex;
  justify-content: center;
  padding: var(--space-2) 0 var(--space-4);
}

#nav {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

#nav li {
  margin: 0;
}

#nav li a {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#nav li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-400) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-lg);
  z-index: -1;
}

#nav li a:hover::before,
#nav li.current a::before {
  opacity: 1;
}

#nav li a:hover,
#nav li.current a {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: rgba(15, 34, 64, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-accent-500) !important;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ============================================
   5. MAIN CONTENT AREA
   ============================================ */
#site_content {
  background: linear-gradient(180deg, rgba(15, 34, 64, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-top: none;
  padding: var(--space-8);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-8);
  min-height: 500px;
}

#content {
  width: 100%;
}

.content_item {
  margin-bottom: var(--space-8);
}

.content_item h1,
.content_item h2 {
  color: var(--color-accent-500);
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-6);
}

.content_container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.content_container:hover {
  border-color: rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.content_container h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.content_container p {
  margin-bottom: var(--space-4);
}

/* ============================================
   6. SIDEBAR
   ============================================ */
.sidebar_container,
#sidesection {
  grid-column: 2;
}

.sidebar {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
  transition: all var(--transition-base);
}

.sidebar:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: var(--shadow-glow);
}

.sidebar_item {
  margin-bottom: var(--space-4);
}

.sidebar_item:last-child {
  margin-bottom: 0;
}

.sidebar h2,
.sidebar h3 {
  font-size: var(--text-lg);
  color: var(--color-accent-500);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.sidebar p {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-gray-300);
}

/* Sidebar Buttons */
.sidebar button {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-400) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  overflow: hidden;
}

.sidebar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  border-color: var(--color-accent-500);
}

.sidebar button img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ============================================
   7. IMAGE SLIDESHOW
   ============================================ */
.slideshow {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

ul.slideshow {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

ul.slideshow li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

ul.slideshow li.show {
  opacity: 1;
  z-index: 1;
}

ul.slideshow li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   8. BUTTONS
   ============================================ */
.button_small,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-400) 100%);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.button_small:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, var(--color-primary-400) 0%, var(--color-primary-300) 100%);
}

.button_small a,
.btn a {
  color: var(--color-white);
  text-decoration: none;
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent-600) 0%, var(--color-accent-500) 100%);
  color: var(--color-primary-900);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--color-accent-500) 0%, var(--color-accent-400) 100%);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* ============================================
   9. TABLES
   ============================================ */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-6) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

th, td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
}

th {
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-600) 100%);
  color: var(--color-accent-500);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-accent-500);
}

td {
  background: rgba(15, 34, 64, 0.6);
  color: var(--color-gray-200);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  font-size: var(--text-sm);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(37, 99, 235, 0.15);
}

/* Table heading spanning multiple columns */
th[colspan] h4 {
  margin: 0;
  color: var(--color-accent-500);
}

/* ============================================
   10. FORMS
   ============================================ */
.form_settings {
  margin: var(--space-6) 0;
}

.form_settings input,
.form_settings textarea,
.form_settings select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  margin-bottom: var(--space-4);
}

.form_settings input:focus,
.form_settings textarea:focus,
.form_settings select:focus {
  outline: none;
  border-color: var(--color-accent-500);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form_settings select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffd700' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form_settings .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary-900);
  background: linear-gradient(135deg, var(--color-accent-600) 0%, var(--color-accent-500) 100%);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.form_settings .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* ============================================
   11. FOOTER
   ============================================ */
footer {
  background: linear-gradient(135deg, rgba(15, 34, 64, 0.95) 0%, rgba(21, 49, 88, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-8);
  text-align: center;
}

footer a {
  color: var(--color-accent-500);
  font-weight: 500;
  transition: color var(--transition-fast);
  margin: 0 var(--space-3);
}

footer a:hover {
  color: var(--color-accent-400);
}

footer p {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* ============================================
   12. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--color-accent-glow);
  }
  50% {
    box-shadow: 0 0 20px var(--color-accent-glow), 0 0 30px var(--color-accent-glow);
  }
}

/* Animate elements on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger animation for children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   13. UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gold { color: var(--color-accent-500); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-gray-400); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.hidden { display: none; }

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* Contact Grid - Responsive layout for contact info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-4) 0;
}

.contact-grid > div {
  text-align: center;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Small Button Variant - Normal on desktop, smaller on mobile */
.btn-sm {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-base);
}

/* ============================================
   14. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  #site_content {
    grid-template-columns: 1fr;
    padding: var(--space-6);
  }
  
  .sidebar_container,
  #sidesection {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .sidebar {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
  }
  
  #main {
    padding: var(--space-3);
  }
  
  header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
  }
  
  #strapline {
    padding: var(--space-4);
  }
  
  #welcome_slogan h3 {
    font-size: var(--text-2xl);
  }
  
  /* Mobile Navigation */
  .nav-toggle {
    display: block;
    position: absolute !important;
    top: var(--space-4);
    right: var(--space-4);
  }
  
  #menubar {
    padding: var(--space-4);
  }
  
  #nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: var(--space-2);
  }
  
  #nav.active {
    display: flex;
  }
  
  #nav li a {
    display: block;
    text-align: center;
    padding: var(--space-4);
  }
  
  /* Content Grid */
  #site_content {
    padding: var(--space-4);
  }
  
  .sidebar_container,
  #sidesection {
    grid-template-columns: 1fr;
  }
  
  /* Contact Grid - 2 columns on tablet/mobile */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  
  .contact-grid > div {
    padding: var(--space-2);
    font-size: var(--text-sm);
  }
  
  /* Tables - Mobile Card Layout */
  table {
    display: block;
    overflow-x: visible;
  }
  
  table thead {
    display: none;
  }
  
  table tbody {
    display: block;
  }
  
  table tr {
    display: block;
    background: rgba(15, 34, 64, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    padding: var(--space-4);
  }
  
  table td {
    display: block;
    text-align: left;
    padding: var(--space-2) 0;
    border-bottom: none;
    font-size: var(--text-sm);
    min-width: 0;
  }
  
  table td:first-child {
    font-size: var(--text-base);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: var(--space-2);
  }
  
  table td:nth-child(2) {
    font-size: var(--text-lg);
  }
  
  table td:last-child {
    color: var(--color-accent-500);
    font-size: var(--text-xs);
    word-break: break-all;
  }
  
  /* Slideshow */
  .slideshow {
    height: 200px;
  }
  
  /* Footer */
  footer {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }
  
  footer a {
    display: block;
    margin: var(--space-2) 0;
  }
  
  /* Glass card padding adjustment */
  .glass-card {
    padding: var(--space-4);
  }
  
  /* Smaller buttons on mobile */
  .btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
  
  /* Sidebar buttons smaller on mobile - scale proportionally */
  .sidebar button {
    padding: var(--space-2);
    max-width: 180px;
    margin: 0 auto;
    display: block;
  }
  
  .sidebar button img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  :root {
    --text-4xl: 1.5rem;
    --text-3xl: 1.25rem;
    --text-2xl: 1.125rem;
  }
  
  #main {
    padding: var(--space-2);
  }
  
  .content_container {
    padding: var(--space-4);
  }
  
  .sidebar {
    padding: var(--space-4);
  }
  
  .slideshow {
    height: 160px;
    border-radius: var(--radius-md);
  }
}

/* ============================================
   15. PRINT STYLES
   ============================================ */
@media print {
  body {
    background: white;
    color: black;
  }
  
  header, footer, .sidebar_container, #sidesection, .slideshow {
    display: none;
  }
  
  #site_content {
    display: block;
    background: none;
    border: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}
