/* --- Professional News Portal Styling --- */
:root {
    --primary-color: #8b1e1e;
    --secondary-color: #333;
    --bg-light: #f4f7f6;
    --text-main: #222;
    --text-muted: #666;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --font-hindi: 'Mukta', sans-serif;
    --font-latin: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-hindi);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- Layout Overrides --- */
.container {
    max-width: 1200px;
}

/* --- Navigation & Header --- */
.main-nav {
    background: #fff;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-link {
    color: #333 !important;
    font-weight: 700;
    padding: 15px 18px !important;
    text-transform: uppercase;
    font-size: 0.95em;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(139, 30, 30, 0.05);
}

/* --- Cards & Components --- */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
}

/* Specific News Card hover for Category Page */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.badge-danger {
    background-color: var(--primary-color);
}

/* --- News Detail Page --- */
.news-detail-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
}

.news-detail-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.news-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

/* --- Reporter Card --- */
.reporter-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px !important;
}

/* --- App Bottom Nav --- */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    z-index: 1050;
    border-top: 1px solid #eee;
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 0.7em;
    text-decoration: none !important;
}

.app-nav-item i {
    font-size: 1.5em;
    margin-bottom: 3px;
}

.app-nav-item.active {
    color: var(--primary-color);
}

/* --- Newsletter Enhancements --- */
.newsletter-box {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px dashed rgba(255,255,255,0.2);
}

.newsletter-box h4 {
    border-left: none !important;
    padding-left: 0 !important;
    font-size: 1.4rem;
    color: #fff;
}

.newsletter-box .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px !important;
    background: #fff !important;
}

.newsletter-box .btn-danger {
    border-radius: 0 25px 25px 0 !important;
    height: 50px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 25px;
    background-color: var(--primary-color);
    border: none;
}

.newsletter-widget-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.newsletter-widget-sidebar .widget-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newsletter-widget-sidebar .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
}

.newsletter-widget-sidebar .btn-danger {
    border-radius: 10px;
    font-weight: 700;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.8rem;
    }
    .main-featured-card div[style*="height: 450px"] {
        height: 300px !important;
    }
}
