/* Premium News Site Styles - NYT & WaPo Inspired */

/* CSS Reset & Base */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: ui-serif, Georgia, serif;
  color: #121212;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-weight: 400;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #121212;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  line-height: 1.2;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #333;
}

/* Body Text */
p {
  font-family: ui-serif, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #121212;
  font-weight: 400;
}

/* Links */
a {
  color: #326891;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  outline: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #1a4971;
}

a:focus {
  color: #1a4971;
  outline: 2px solid #326891;
  outline-offset: 2px;
}

a:visited {
  color: #5a4fcf;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.text-muted {
  color: #666;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}
