/* Base Styles */
:root {
  --primary: #333;
  --secondary: #4a6baf;
  --accent: #E0A458;
  --background: #FAFAFA;
  --text: #333;
  --light-text: #767B91;
  --card-bg: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

header {
  background-color: var(--primary);
  color: white;
  padding: 1.5rem 1.5rem 1.2rem;
  text-align: center;
  position: relative;
  height: auto;
}

/* Main Navigation - Standardized across all pages */
.main-nav {
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.main-nav a.active {
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

footer {
  background-color: var(--primary);
  color: white;
  padding: 2rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  color: var(--primary);
  font-weight: 600;
  font-size: 2.2rem;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.tagline {
  font-size: 1rem;
  font-weight: 300;
  margin: 0.3rem 0 0.7rem 0;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

/* Page Headers - Consistent across all pages */
.page-header, .edition-header, .archive-header, .about-header, .contact-header {
  text-align: center;
  padding: 1rem 0 2rem;
  position: relative;
  margin-top: 1rem;
}

.page-title, .edition-title, .archive-title, .about-title, .contact-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--text);
  margin: 0 0 0.5rem 0;
  position: relative;
  display: inline-block;
}

.page-title::after, .edition-title::after, .archive-title::after, .about-title::after, .contact-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 3px;
}

.page-description, .archive-description {
  color: var(--light-text);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* Footer styles */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.legal-links {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: white;
  text-decoration: underline;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-title, .edition-title, .archive-title, .about-title, .contact-title {
    font-size: 1.8rem;
  }
  
  main {
    padding: 2rem 1rem;
  }
}
  