/* ============================================
   NEWS & STORIES WEBSITE - ENHANCED STYLESHEET
   Brand Colors: Slate Dark (#0F172A) & Modern Blue (#3B82F6)
   ============================================ */

/* ========== CSS Variables (Brand Colors) ========== */
:root {
  --primary-color: #0F172A;      /* Slate 900 - Professional & Trustworthy */
  --secondary-color: #3B82F6;    /* Blue 500 - Modern & Engaging */
  --primary-dark: #020617;
  --primary-light: #1E293B;
  --secondary-dark: #2563EB;
  --secondary-light: #60A5FA;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --error-color: #EF4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #3B82F6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(15, 23, 42, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

/* ========== Reset & Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: #FFFFFF;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  font-family: 'Georgia', 'Times New Roman', 'Merriweather', serif;
}

h1 { 
  font-size: 3.5rem; 
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 { 
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

h3 { 
  font-size: 1.875rem; 
  font-weight: 800;
  line-height: 1.3;
}

h4 { 
  font-size: 1.5rem; 
  font-weight: 700;
}

h5 { 
  font-size: 1.25rem; 
  font-weight: 700;
}

h6 { 
  font-size: 1.125rem; 
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-size: 1.0625rem;
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--primary-dark);
}

/* ========== Most Viewed List ========== */
.most-viewed-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.most-viewed-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.most-viewed-list li:last-child {
  border-bottom: none;
}

.most-viewed-list li:hover {
  padding-left: 0.5rem;
  background: var(--bg-light);
  margin: 0 -1rem;
  padding-left: calc(1rem + 0.5rem);
  padding-right: 1rem;
  border-radius: 8px;
}

.viewed-rank {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.most-viewed-list li:nth-child(1) .viewed-rank {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.most-viewed-list li:nth-child(2) .viewed-rank {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.most-viewed-list li:nth-child(3) .viewed-rank {
  background: linear-gradient(135deg, #CD7F32, #B87333);
}

.viewed-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.viewed-content a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.3s ease;
  text-decoration: none;
}

.viewed-content a:hover {
  color: var(--primary-color);
}

.viewed-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.viewed-views {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.viewed-views::before {
  content: '👁️';
  font-size: 0.9rem;
}

.viewed-date {
  color: var(--text-light);
}

/* ========== Header Top Bar ========== */
.header-top {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.header-top-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.date-time {
  font-weight: 500;
}

.header-top-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.top-link:hover {
  color: white;
}

/* ========== Header & Navigation ========== */
.header {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border-color);
}

.header-main {
  border-bottom: 1px solid var(--border-color);
}

.header-main .header-container {
  border-bottom: none;
  position: relative;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  height: 70px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-weight: 600;
  padding: 0 1.25rem;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  border-bottom: 3px solid transparent;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(15, 23, 42, 0.02);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary-color);
  background: rgba(15, 23, 42, 0.02);
  border-bottom-color: var(--primary-color);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* ========== BBC-style Category Navigation ========== */
.category-nav {
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 0;
  background: var(--bg-light);
  width: 100%;
}

.category-nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.category-nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.category-link {
  padding: 0.5rem 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border-right: 1px solid var(--border-color);
  display: block;
}

.category-nav-list li:last-child .category-link {
  border-right: none;
}

.category-link:hover {
  color: var(--primary-color);
  background: rgba(15, 23, 42, 0.02);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.search-bar {
  position: relative;
}

.search-icon-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-dark);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.search-icon-btn:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.search-icon-btn svg {
  width: 20px;
  height: 20px;
}

.search-overlay {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  min-width: 400px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  z-index: 1001;
}

.search-bar.active .search-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-input-full {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-input-full:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-submit-btn {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.search-submit-btn:hover {
  background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle:hover span {
  background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Navigation */
@media (max-width: 1200px) {
  .nav-link {
    padding: 0 1rem;
    font-size: 0.8rem;
  }
  
  .search-overlay {
    min-width: 350px;
  }
}

@media (max-width: 968px) {
  .top-stories-grid {
    grid-template-columns: 1fr;
  }

  .news-grid-bbc {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-top {
    display: none;
  }

  .header-container {
    height: auto;
    padding: 1rem 2rem;
    flex-wrap: wrap;
  }

  .category-nav {
    order: 3;
    width: 100%;
    display: none;
  }

  .category-nav.active {
    display: block;
  }

  .main-nav {
    order: 4;
    width: 100%;
    display: none;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .main-nav.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .nav-menu li {
    height: auto;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link {
    padding: 1rem;
    justify-content: flex-start;
    height: auto;
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .search-overlay {
    min-width: calc(100vw - 4rem);
    right: -2rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .search-overlay {
    min-width: calc(100vw - 2rem);
    right: -1rem;
  }

  .top-stories-grid {
    grid-template-columns: 1fr;
  }

  .news-grid-bbc {
    grid-template-columns: 1fr;
  }

  .story-image {
    height: 250px;
  }

  .side-story {
    flex-direction: column;
  }

  .side-story-image {
    width: 100%;
    height: 200px;
  }
}

/* ========== Video Player Component ========== */
.video-player-wrapper {
  margin-bottom: 2rem;
}

.video-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 2rem 1rem;
}

@media (max-width: 768px) {
  .video-info {
    padding: 1.5rem 0.75rem;
  }
}

.video-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-family: 'Georgia', 'Times New Roman', serif;
  padding: 0 1rem;
}

.video-title-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 2.5rem;
  padding-left: 1rem;
}

.video-title-clickable::after {
  content: '🔍';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-title-clickable:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.video-title-clickable:hover::after {
  opacity: 1;
}

.video-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1rem;
}

.video-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 0;
}

.video-card .video-info {
  padding: 2rem 1.5rem;
}

@media (max-width: 768px) {
  .video-card .video-info {
    padding: 1.5rem 1rem;
  }
}

.video-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 968px) {
  .videos-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .videos-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

.video-section {
  margin-bottom: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 3px solid var(--border-color);
}

@media (max-width: 768px) {
  .video-section {
    padding-bottom: 2.5rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 968px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Social Share Buttons ========== */
.social-share {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .social-share {
    padding: 1.5rem 0;
    margin: 2rem 0;
    gap: 1rem;
  }
}

.share-label {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-light);
  color: var(--text-dark);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-facebook:hover {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
}

.share-twitter:hover {
  background: #1DA1F2;
  color: white;
  border-color: #1DA1F2;
}

.share-linkedin:hover {
  background: #0077B5;
  color: white;
  border-color: #0077B5;
}

.share-whatsapp:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.share-copy:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========== Reading Time Indicator ========== */
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  background: var(--bg-light);
  border-radius: 6px;
}

.reading-time svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========== Related Articles ========== */
.related-articles {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 3px solid var(--border-color);
}

@media (max-width: 768px) {
  .related-articles {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }
}

.related-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-family: 'Georgia', 'Times New Roman', serif;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 968px) {
  .related-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .related-grid {
    gap: 1.5rem;
  }
}

.related-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-item:hover .related-image img {
  transform: scale(1.1);
}

.related-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (max-width: 768px) {
  .related-content {
    padding: 1.5rem;
  }
}

.related-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.related-content h4 {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.related-content h4 a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.related-content h4 a:hover {
  color: var(--primary-color);
}

.related-date {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 968px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== Video Modal ========== */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 1;
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: rotate(90deg);
}

.video-modal-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.video-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-info {
  padding: 2.5rem;
  background: var(--bg-white);
}

@media (max-width: 768px) {
  .video-modal-info {
    padding: 2rem;
  }
}

.video-modal-info h3 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: 'Georgia', 'Times New Roman', serif;
}

.video-modal-info p {
  color: var(--text-light);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    max-height: 85vh;
  }

  .video-modal-info {
    padding: 1.5rem;
  }

  .video-modal-info h3 {
    font-size: 1.5rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .social-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .share-buttons {
    width: 100%;
  }
  
  .share-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ========== Scroll to Top Button ========== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

/* ========== Reading Progress Bar ========== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(15, 23, 42, 0.1);
  z-index: 10000;
}

.reading-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* ========== Newsletter Modal ========== */
.newsletter-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}

.newsletter-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.newsletter-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
  animation: slideUp 0.3s ease;
}

.newsletter-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-dark);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.newsletter-modal-close:hover {
  background: var(--error-color);
  color: white;
  transform: rotate(90deg);
}

.newsletter-modal-body {
  padding: 3rem 2.5rem;
  text-align: center;
}

.newsletter-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.newsletter-modal-body h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: 'Georgia', 'Times New Roman', serif;
}

.newsletter-modal-body p {
  color: var(--text-light);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.newsletter-modal-form {
  margin-top: 2rem;
}

.newsletter-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.newsletter-privacy {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .newsletter-modal-body {
    padding: 2.5rem 2rem;
  }
  
  .newsletter-modal-body h2 {
    font-size: 1.75rem;
  }
  
  .newsletter-icon {
    font-size: 3rem;
  }
}

/* ========== Breadcrumbs ========== */
.breadcrumbs {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-list li::after {
  content: '/';
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
  color: white;
}

.breadcrumb-current span {
  color: white;
  font-weight: 600;
}

/* ========== Card Stats ========== */
.card-meta-info {
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 1rem 0;
}

.card-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.card-views,
.card-comments {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.card-views::before {
  content: '👁️';
  font-size: 1rem;
}

.card-comments::before {
  content: '💬';
  font-size: 1rem;
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(59, 130, 246, 0.85) 100%),
              url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1920&h=1080&fit=crop') center/cover;
  color: white;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  -webkit-text-fill-color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.1s both;
  line-height: 1.2;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-hero-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.hero-stats {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Container & Layout ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-top: 2rem;
}

.content-area {
  min-height: 400px;
}

.sidebar {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 100px;
  border: 1px solid var(--border-color);
}

@media (max-width: 968px) {
  .sidebar {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .sidebar {
    padding: 1.5rem;
  }
}

.sidebar h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid;
  border-image: var(--gradient-primary) 1;
  font-size: 1.5rem;
}

.widget-title-bbc {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.sidebar-widget {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}


/* ========== Cards ========== */
.card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.card-image {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  object-fit: cover;
  display: block;
}

.card-featured .card-image {
  height: 400px;
}

.card-story .card-image {
  height: 280px;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-image img,
.card-image div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img,
.card:hover .card-image div {
  transform: scale(1.1);
}

.card-badge-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

.badge-featured {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  font-weight: 700;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .card-body {
    padding: 1.75rem;
  }
}

.card-category {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.card-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.35;
  transition: color 0.3s ease;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.card:hover .card-title {
  color: var(--primary-color);
}

.card-text {
  color: var(--text-dark);
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-weight: 400;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-light);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.card-meta-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

.card-link {
  color: var(--secondary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  color: var(--secondary-dark);
  transform: translateX(5px);
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-primary {
  background: var(--primary-color);
  color: white;
}

.badge-secondary {
  background: var(--secondary-color);
  color: white;
}

.badge-women-rights {
  background: var(--gradient-primary);
  color: white;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* ========== Grid Layouts ========== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========== Sections ========== */
section {
  margin-bottom: 5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-link:hover {
  color: var(--secondary-dark);
  transform: translateX(5px);
}

.section-featured,
.section-news,
.section-stories {
  margin-bottom: 5rem;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .section-featured,
  .section-news,
  .section-stories {
    margin-bottom: 4rem;
    padding: 0;
  }
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: white;
  padding: 4.5rem 2.5rem 2.5rem;
  margin-top: 6rem;
  position: relative;
}

@media (max-width: 768px) {
  .footer {
    padding: 3.5rem 2rem 2rem;
    margin-top: 4rem;
  }
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.5rem;
  padding-bottom: 2rem;
}

@media (max-width: 968px) {
  .footer-container {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    gap: 2rem;
    padding-bottom: 1.5rem;
  }
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.75rem;
  font-size: 1.375rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(5px);
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.footer-bottom p {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-white);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-weight: 600;
}

.pagination a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.pagination .active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* ========== Popular Articles List ========== */
.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.sidebar ul li:last-child {
  border-bottom: none;
}

.sidebar ul li:hover {
  padding-left: 0.5rem;
}

.sidebar ul li a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar ul li a:hover {
  color: var(--primary-color);
}

/* ========== Weather Widget ========== */
.weather-widget {
  background: var(--gradient-soft);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.weather-temp {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.weather-desc {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.weather-location {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== Trending List ========== */
.trending-list {
  list-style: none;
  padding: 0;
}

.trending-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.trending-list li:last-child {
  border-bottom: none;
}

.trending-list li:hover {
  padding-left: 0.5rem;
}

.trending-number {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.trending-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trending-content a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.trending-content a:hover {
  color: var(--primary-color);
}

.trending-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== Newsletter ========== */
.newsletter-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.newsletter-form {
  margin-top: 1rem;
}

/* ========== Social Links ========== */
.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.social-link {
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient-soft);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
  .main-content {
    grid-template-columns: 1fr 280px;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .search-bar {
    width: 100%;
  }
  
  .search-bar input {
    width: 100%;
    flex: 1;
  }
  
  .search-bar input:focus {
    width: 100%;
  }
  
  .hero {
    padding: 3rem 1.5rem 2.5rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .card-featured .card-image {
    height: 250px;
  }

  .card-story .card-image {
    height: 200px;
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h4 {
    font-size: 1.25rem;
  }
  
  .footer-bottom {
    padding-top: 2rem;
    margin-top: 2.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.9375rem;
  }
  
  .container {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 1.5rem 1rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ========== Animations ========== */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card {
  animation: slideIn 0.5s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* ========== BBC-style Top Stories ========== */
.top-stories-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--border-color);
}

.section-title-bbc {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 4px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Georgia', 'Times New Roman', serif;
  position: relative;
  padding-left: 0.5rem;
}

@media (max-width: 768px) {
  .section-title-bbc {
    font-size: 1.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
}

.section-title-bbc::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--secondary-color);
}

.top-stories-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.top-story-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-image:hover img {
  transform: scale(1.05);
}

.story-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--error-color);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.story-content {
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .story-content {
    padding: 1.5rem 0;
  }
}

.story-category {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.story-headline {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.story-headline a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.story-headline a:hover {
  color: var(--primary-color);
}

.story-summary {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.story-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  flex-wrap: wrap;
  align-items: center;
}

.story-share {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.story-time {
  font-weight: 600;
}

.story-author {
  color: var(--text-dark);
  font-weight: 600;
}

.top-stories-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-story {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.side-story:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-story-image {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.side-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.side-story:hover .side-story-image img {
  transform: scale(1.1);
}

.side-story-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-story-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.side-story-content h3 a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.side-story-content h3 a:hover {
  color: var(--primary-color);
}

/* ========== BBC-style News Grid ========== */
.news-section-bbc {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--border-color);
}

.news-grid-bbc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 968px) {
  .news-grid-bbc {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .news-grid-bbc {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

.news-item-bbc {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.news-item-bbc:hover {
  transform: translateY(-5px);
}

.news-image-bbc {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-image-bbc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item-bbc:hover .news-image-bbc img {
  transform: scale(1.1);
}

.news-content-bbc {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.news-category-bbc {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 4px;
}

.news-headline-bbc {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.news-headline-bbc a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.news-headline-bbc a:hover {
  color: var(--primary-color);
}

.news-meta-bbc {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.news-time-bbc {
  font-weight: 500;
}

.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.view-all-link {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.view-all-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* ========== Page Header ========== */
.page-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: white;
  padding: 5rem 2.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--secondary-color);
}

@media (max-width: 768px) {
  .page-header {
    padding: 4rem 2rem 3rem;
  }
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="news-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23news-pattern)"/></svg>');
  opacity: 0.3;
}

.page-header h1 {
  color: white;
  -webkit-text-fill-color: white;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-header h1 {
  color: white;
  -webkit-text-fill-color: white;
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
}

/* ========== Filters Bar ========== */
.filters-bar {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .filters-bar {
    padding: 1.5rem;
    margin-bottom: 2rem;
    gap: 1rem;
  }
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* ========== News Grid ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .news-grid {
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

/* ========== Category List ========== */
.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-list a:hover {
  color: var(--primary-color);
}

.category-list span {
  color: var(--text-light);
  font-size: 0.85rem;
  background: var(--bg-light);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

/* ========== Authors List ========== */
.authors-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.author-item:hover {
  background: var(--gradient-soft);
  transform: translateX(5px);
}

.author-details {
  flex: 1;
}

.author-stories {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== Contact Page ========== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.contact-form-wrapper {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.map-section {
  margin-top: 4rem;
}

.map-section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.map-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
}

/* ========== About Page ========== */
.about-section {
  margin-bottom: 5rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.member-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-section {
  background: var(--gradient-soft);
  padding: 4rem 2rem;
  border-radius: 16px;
  margin-top: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-box {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-box .stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-box .stat-label {
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ========== Weather Page ========== */
.weather-main {
  max-width: 1000px;
  margin: 0 auto;
}

.current-weather {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.weather-header h2 {
  color: white;
  -webkit-text-fill-color: white;
  margin-bottom: 0.5rem;
}

.weather-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.weather-icon-large {
  font-size: 4rem;
}

.weather-temp-large {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.weather-desc-large {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.detail-value {
  font-size: 1.25rem;
  font-weight: 600;
}

.forecast-section {
  margin-bottom: 3rem;
}

.forecast-section h2 {
  margin-bottom: 2rem;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.forecast-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.forecast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.forecast-day {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.forecast-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.forecast-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.forecast-temps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.temp-high {
  font-weight: 700;
  color: var(--text-dark);
}

.temp-low {
  color: var(--text-light);
}

.forecast-condition {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hourly-section {
  margin-bottom: 3rem;
}

.hourly-section h2 {
  margin-bottom: 1.5rem;
}

.hourly-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
}

.hourly-item {
  min-width: 100px;
  text-align: center;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.hourly-time {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.hourly-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hourly-temp {
  font-weight: 700;
  color: var(--text-dark);
}

.weather-alerts {
  margin-top: 3rem;
}

.weather-alerts h2 {
  margin-bottom: 1.5rem;
}

.alert-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--warning-color);
}

.alert-icon {
  font-size: 2rem;
}

.alert-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.alert-content p {
  color: var(--text-light);
  margin: 0;
}

/* ========== Archive Page ========== */
.archive-filters {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.search-box {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.archive-search {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
}

.filter-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.archive-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.archive-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-card:hover .archive-image img {
  transform: scale(1.1);
}

.archive-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.archive-content {
  padding: 1.5rem;
}

.archive-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.archive-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.archive-content h3 a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.archive-content h3 a:hover {
  color: var(--primary-color);
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.stat-row strong {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* ========== Listen/Podcast Page ========== */
.podcast-featured {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin-bottom: 4rem;
  border: 1px solid var(--border-color);
}

.podcast-image-large {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.podcast-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.play-button-large:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

.podcast-info h2 {
  margin-bottom: 1rem;
}

.podcast-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.podcast-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  color: var(--text-light);
  font-size: 0.95rem;
}

.podcast-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.podcast-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.podcast-item {
  display: flex;
  gap: 2rem;
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.podcast-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.podcast-image {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.podcast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

.podcast-content {
  flex: 1;
}

.podcast-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.podcast-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.podcast-content h3 {
  margin-bottom: 0.75rem;
}

.podcast-content h3 a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.podcast-content h3 a:hover {
  color: var(--primary-color);
}

.podcast-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.podcast-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-light);
  font-size: 0.9rem;
}

.subscribe-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subscribe-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  background: var(--gradient-soft);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateX(5px);
}

/* ========== Responsive Updates ========== */
@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .podcast-featured {
    grid-template-columns: 1fr;
  }

  .podcast-item {
    flex-direction: column;
  }

  .podcast-image {
    width: 100%;
    height: 300px;
  }

  .weather-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .forecast-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 768px) {
  .filters-bar {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .filter-select {
    flex: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .weather-details {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}
