* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Comic Sans MS', 'Trebuchet MS', cursive, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
  background: #f0f4ff;
  padding: 0;
  margin: 0;
}

/* HEADER SECTION */
header.site-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-bottom: 4px solid #ff6b9d;
  padding: 20px 0;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header-logo img {
  height: 60px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
}

.header-branding {
  flex: 1;
}

.site-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 1px;
}

.site-title a {
  text-decoration: none;
  color: #fff;
}

.site-tagline {
  font-size: 14px;
  color: #fff;
  margin: 5px 0 0 0;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.header-action {
  flex-shrink: 0;
}

.btn-submit {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.btn-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

/* NAVIGATION */
nav.site-nav {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.nav-primary {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 3px solid rgba(255,255,255,0.2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-primary li {
  flex: 1;
  min-width: 120px;
  border-right: 2px solid rgba(255,255,255,0.1);
}

.nav-primary li:last-child {
  border-right: none;
}

.nav-primary a {
  display: block;
  padding: 14px 12px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-primary a:hover {
  background: rgba(255, 107, 157, 0.8);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.nav-secondary {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-secondary li {
  flex: 1;
  min-width: 100px;
  border-right: 2px solid rgba(255,255,255,0.1);
}

.nav-secondary li:last-child {
  border-right: none;
}

.nav-secondary a {
  display: block;
  padding: 12px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  text-align: center;
  transition: background 0.2s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-secondary a:hover {
  background: rgba(255, 182, 193, 0.7);
}

/* MAIN CONTENT */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.container {
  max-width: 100%;
}

/* STORY PAGES */
.story-hero {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 12px;
  border-left: 6px solid #ff6b9d;
  box-shadow: 0 8px 32px rgba(255, 107, 157, 0.2);
}

.kicker {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff1654 100%);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255, 22, 84, 0.3);
}

a.kicker {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

a.kicker:hover {
  background: linear-gradient(135deg, #ff1654 0%, #c41e3a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 22, 84, 0.5);
}

.story-hero h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin: 15px 0;
  color: #2c3e50;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.story-lead {
  font-size: 18px;
  color: #2c3e50;
  margin: 15px 0 20px;
  font-style: italic;
  font-weight: 500;
}

.story-meta {
  font-size: 13px;
  color: #667eea;
  margin-top: 10px;
  font-weight: 600;
}

/* ARTICLE CONTENT */
.article {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-top: 4px solid #667eea;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.article h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: #764ba2;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
}

.article h2:first-child {
  margin-top: 0;
}

.article p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #2c3e50;
}

.article a {
  color: #ff1654;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.article a:hover {
  color: #ff6b9d;
  text-decoration: underline;
}

/* DIGEST PAGES */
.digest-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.digest-hero h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.digest-hero p {
  font-size: 16px;
  margin: 10px 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.recent-stories {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.recent-stories h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
  color: #764ba2;
}

.story-item {
  padding: 25px 0;
  border-bottom: 2px solid #f0f4ff;
}

.story-item:last-child {
  border-bottom: none;
}

.story-item .kicker {
  margin-bottom: 10px;
}

.story-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.3;
}

.story-button {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff1654 100%);
  color: #fff;
  padding: 12px 20px;
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255, 22, 84, 0.2);
}

.story-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 22, 84, 0.4);
  background: linear-gradient(135deg, #ff1654 0%, #c41e3a 100%);
}

.story-item-date {
  font-size: 13px;
  color: #667eea;
  margin: 8px 0;
  font-weight: 600;
}

.story-item-teaser {
  color: #2c3e50;
  margin: 10px 0;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 30px 0;
  margin-top: 50px;
  font-size: 13px;
  box-shadow: 0 -4px 15px rgba(102, 126, 234, 0.2);
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer p {
  margin: 10px 0;
}

footer a {
  color: #ffd89b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* UTILITIES */
.text-center {
  text-align: center;
}

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

hr {
  border: none;
  border-top: 2px solid #f0f4ff;
  margin: 30px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .header-logo {
    justify-content: center;
  }

  .header-branding {
    margin-bottom: 10px;
  }

  .site-title {
    font-size: 24px;
  }

  .nav-primary,
  .nav-secondary {
    font-size: 12px;
  }

  .nav-primary a,
  .nav-secondary a {
    padding: 10px 8px;
  }

  .story-hero h1 {
    font-size: 26px;
  }

  .story-lead {
    font-size: 16px;
  }

  .article,
  .recent-stories {
    padding: 20px;
  }

  .story-hero {
    padding: 20px;
  }
}
