/* ======================================
   NEWS SECTION STYLES
   ====================================== */

.news-hero {
  background: linear-gradient(135deg, rgba(94, 149, 171, 0.08) 0%, rgba(106, 139, 99, 0.08) 100%);
  padding: 4rem 0;
}

.news-hero h1 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* ======================================
   TIMELINE STYLES
   ====================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--sea) 0%, var(--sea-light) 50%, var(--sea-dark) 100%);
  opacity: 0.4;
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--navy);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--sea);
  top: 0;
  z-index: 10;
}

.timeline-content {
  width: calc(50% - 40px);
  background: var(--white);
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(26, 38, 48, 0.08);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content:hover {
  box-shadow: 0 8px 24px rgba(26, 38, 48, 0.15);
  transform: translateY(-4px);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-date {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.date-badge {
  display: inline-block;
  background: rgba(94, 149, 171, 0.1);
  color: var(--sea);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
}

.post-type {
  display: inline-block;
  background: rgba(106, 139, 99, 0.1);
  color: var(--green);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
}

.timeline-content h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.timeline-link {
  color: var(--navy);
  transition: color 0.3s ease;
  text-decoration: none;
}

.timeline-link:hover {
  color: var(--sea);
}

.timeline-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-meta {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======================================
   ARTICLE STYLES
   ====================================== */
.article-full {
  max-width: 720px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(94, 149, 171, 0.2);
}

.article-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: center;
}

.post-type-badge {
  display: inline-block;
  background: rgba(94, 149, 171, 0.1);
  color: var(--sea);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.separator {
  color: var(--text-muted);
}

.post-date {
  color: var(--text-muted);
}

.read-time {
  color: var(--text-muted);
}

.article-title {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.article-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.6;
}

.article-content {
  margin-bottom: 3rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.article-content h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-footer {
  padding-top: 2rem;
  border-top: 2px solid rgba(94, 149, 171, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.article-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: rgba(94, 149, 171, 0.1);
  color: var(--sea);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--sea);
  color: var(--white);
}

.article-share {
  text-align: right;
}

.share-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ======================================
   ARTICLE CARDS
   ====================================== */
.article-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(26, 38, 48, 0.08);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(26, 38, 48, 0.15);
  transform: translateY(-4px);
}

.article-card-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.post-type-small {
  display: inline-block;
  background: rgba(94, 149, 171, 0.1);
  color: var(--sea);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.post-date-small {
  display: inline-block;
  background: rgba(217, 203, 160, 0.2);
  color: var(--sand-dark);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
}

.article-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  font-weight: 600;
}

.article-card p {
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.read-more {
  color: var(--sea);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--navy);
  transform: translateX(4px);
  display: inline-block;
}

/* ======================================
   NEWSLETTER SIGNUP
   ====================================== */
.newsletter-signup {
  background: linear-gradient(135deg, rgba(94, 149, 171, 0.08) 0%, rgba(106, 139, 99, 0.08) 100%);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.95rem;
  border: 1.5px solid var(--sea);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  width: 100%;
  max-width: 400px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(94, 149, 171, 0.1);
}

.newsletter-form button {
  white-space: nowrap;
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 900px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px !important;
    margin-right: 0 !important;
  }

  .article-footer {
    flex-direction: column;
  }

  .article-share {
    text-align: left;
  }

  .share-btn {
    margin-left: 0;
    margin-right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .news-hero {
    padding: 3rem 0;
  }

  .news-hero h1 {
    font-size: 1.8rem;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    left: 15px;
    width: 14px;
    height: 14px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    padding: 1.5rem;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .article-content h2 {
    font-size: 1.3rem;
  }

  .articles-grid {
    grid-template-columns: 1fr !important;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    max-width: 100%;
  }

  .newsletter-form button {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .article-meta {
    font-size: 0.8rem;
  }

  .timeline-content {
    width: calc(100% - 35px);
    margin-left: 35px !important;
    padding: 1.25rem;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }

  .date-badge,
  .post-type {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}
