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

body {
    font-family: {{ session('locale') == 'ur' ? "'Jameel Noori Nastaleeq', sans-serif" : "'Mangal', sans-serif" }};
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
}

.epaper-link a,
.lang-switcher a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    transition: all 0.3s ease;
}

.epaper-link a:hover,
.lang-switcher a:hover {
    background: linear-gradient(90deg, #ee5a24, #ff6b6b);
}

.nav-bar {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Breaking News */
.breaking-news {
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
}

.breaking-text {
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    font-weight: bold;
    font-size: 1rem;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ePaper Slider */
.epaper-slider {
    margin: 1.5rem 0;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.epaper-slider .swiper-slide {
    height: 180px;
    text-align: center;
    cursor: pointer;
}

.epaper-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.epaper-slider .swiper-slide-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    padding: 0.5rem;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

/* Featured Article */
.featured-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.featured-content {
    padding: 1rem;
}

.featured-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.featured-excerpt {
    color: #666;
    font-size: 1rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-image {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.news-content {
    padding: 0.75rem;
}

.news-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #999;
}

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

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    border-bottom: 3px solid #667eea;
}

.trending-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.trending-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.trending-title {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.footer-section h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    .main-content {
        grid-template-columns: 1fr;
    }
    .epaper-slider .swiper-slide {
        height: 120px;
    }
    .featured-image,
    .news-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    .epaper-slider .swiper-slide {
        height: 100px;
    }
    .featured-title {
        font-size: 1.2rem;
    }
}
.sample-newspaper {
    width: 100%;
    height: 800px;
    background: #fff;
    border: 2px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.newspaper-masthead {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    width: 100%;
}
.epaper-image {
    max-width: 100%;
    max-height: 700px;
    object-fit: contain;
    margin-top: 10px;
}
