/*
Theme Name: The Last Goonies
Theme URI: https://thelastgoonies.com
Author: The Last Goonies Team
Author URI: https://thelastgoonies.com
Description: Rolling Stone of the South - Progressive pop-culture magazine for Gen X/Xennial audiences covering music, events, and activism across the Southeast. Never Say Die!
Version: 1.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lastgoonie
Tags: blog, magazine, music-reviews, entertainment, activism, regional, custom-menu, featured-images, threaded-comments, translation-ready

The Last Goonies WordPress Theme - Rolling Stone Edition
Southeast Regional Cultural Magazine
Copyright 2025 The Last Goonies
*/

/* CSS Variables - Design System */
:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-primary: #1a2b3c;        /* Dark navy for header/footer */
  --color-accent: #f0a500;         /* Golden-yellow for CTAs */
  --color-accent-hover: #d18e00;   /* Darker gold on hover */
  --color-80s-pop: #00d9ff;        /* Vibrant teal for 80s accents */
  --color-urgent: #e74c3c;         /* Red for urgent activism */
  --color-positive: #27ae60;       /* Green for positive actions */
  --color-light-bg: #f9f9f9;       /* Light gray for cards */
  --color-border: #e0e0e0;         /* Subtle borders */
  --color-meta: #777777;           /* Metadata text */
  
  /* Typography */
  --font-heading: 'Montserrat', 'Oswald', sans-serif;
  --font-body: 'Roboto', 'Open Sans', 'Verdana', sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Layout */
  --max-width: 1200px;
  --sidebar-width: 300px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--color-accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-positive {
  background: var(--color-positive);
}

.btn-positive:hover {
  background: #229954;
}

.btn-urgent {
  background: var(--color-urgent);
}

.btn-urgent:hover {
  background: #c0392b;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* Main Layout Structure */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  padding: var(--spacing-lg) 0;
}

/* Two-column layout for content + sidebar */
.content-area-wrapper {
  display: flex;
  gap: var(--spacing-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.main-content {
  flex: 3;
  min-width: 0; /* Prevents flex overflow */
}

aside.sidebar {
  flex: 1;
  min-width: var(--sidebar-width);
  max-width: var(--sidebar-width);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .content-area-wrapper {
    flex-direction: column;
  }
  
  aside.sidebar {
    max-width: 100%;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 600px) {
  body {
    font-size: 17px; /* Slightly larger for mobile readability */
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}
