:root {
  --primary-red: #c41e3a;
  --dark-gray: #2c3e50;
  --light-gray: #ecf0f1;
  --border-color: #bdc3c7;
}

body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: #2c3e50;
}

.newspaper-header {
  background: linear-gradient(135deg, var(--primary-red), #a91830);
  color: white;
  padding: 2rem 0;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.newspaper-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.newspaper-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-style: italic;
}

.news-date {
  font-size: 0.9rem;
  opacity: 0.8;
}

.breaking-news {
  background: #ff4757;
  color: white;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  border-radius: 5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-nav .nav-link {
  padding: 0.8rem 1rem;
  margin: 0 0.2rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: #fff !important;
}

.navbar-nav .nav-link:hover {
  background: var(--primary-red);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  background: var(--primary-red);
  font-weight: bold;
}



.section-header {
  border-bottom: 3px solid var(--primary-red);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  color: var(--primary-red);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lead-story {
  border: 2px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-story:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* hero stuff */


.hero-article {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(196, 30, 58, 0.3),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-excerpt {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-meta {
  font-size: 1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-excerpt {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-article {
    padding: 3rem 0;
    min-height: 300px;
  }
}




/* end hero stuff */


  /* Header Styling */
        .article-header {
            background: white;
            padding: 2rem 0;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }

        .article-title {
            font-size: 2.5rem;
            color: var(--dark-gray);
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            margin-bottom: 1rem;
        }

        .category-badge, .subcategory-badge {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .category-badge {
            background: var(--primary-red);
            color: white;
        }

        .subcategory-badge {
            background: var(--light-gray);
            color: var(--dark-gray);
            border: 1px solid var(--border-color);
        }

        .article-clicks {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #666;
            font-size: 0.9rem;
        }

        /* Main Content Layout */
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        /* Article Content */
        .article-content {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .article-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: cover;
            border-radius: var(--radius);
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }

        .article-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--dark-gray);
        }

        .article-text p {
            margin-bottom: 1.5rem;
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* Related Articles Section */
        .related-section {
            background: white;
            padding: 2rem 0;
            margin-top: 3rem;
        }

        .section-title {
            font-size: 2rem;
            color: var(--dark-gray);
            margin-bottom: 2rem;
            text-align: center;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--primary-red);
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .article-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-title {
            font-size: 1.2rem;
            color: var(--dark-gray);
            margin-bottom: 1rem;
            font-weight: 600;
            line-height: 1.4;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .card-category {
            background: var(--primary-red);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .card-clicks {
            color: #666;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* Loading and Error States */
        .loading {
            text-align: center;
            padding: 3rem;
            font-size: 1.2rem;
            color: #666;
        }

        .error {
            text-align: center;
            padding: 3rem;
            color: var(--primary-red);
            font-size: 1.2rem;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                order: -1;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }

            .article-title {
                font-size: 2rem;
            }

            .article-meta {
                justify-content: center;
                text-align: center;
            }

            .article-content {
                padding: 1.5rem;
            }

            .articles-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .section-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .article-title {
                font-size: 1.8rem;
            }

            .article-content {
                padding: 1rem;
            }

            .card-content {
                padding: 1rem;
            }

            .article-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
        }

        /* Eye icon for views */
        .eye-icon {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }


        .sidebar {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 5px;
  margin-bottom: 2rem;
}


.social-links a {
  /* color: ; */
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-red);
}



.blog-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quill-content iframe {
  width: 100%;
  height: 400px;
  max-width: 100%;
  margin: 1.5rem 0;
  border: none;
  border-radius: 8px;
}


.quill-content a {
  color: #0077cc;
  text-decoration: underline;
}
