@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #c30000;
    --dark-color: #111111;
    --text-color: #333333;
    --text-muted: #777777;
    --bg-light: #f8f9fa;
    --border-color: #e5e5e5;
    --success-color: #27ae60;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Outfit', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-sans);
    background-color: #f5f6f8;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

/* ─────────────────────────────────────────────────────────────────────────
   HEADER SECTION
   ───────────────────────────────────────────────────────────────────────── */

/* Tier 1: Top Bar */
.hindustan-top-bar {
    background-color: var(--dark-color);
    color: #ffffff;
    font-size: 0.86rem;
    padding: 12px 0;
    border-bottom: 3px solid var(--primary-color);
    z-index: 1030;
    position: relative;
}
.hindustan-top-bar a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition-base);
}
.hindustan-top-bar a:hover {
    color: #ffffff;
}
.top-bar-date {
    font-weight: 500;
}
.top-bar-ticker {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.top-bar-ticker-label {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 5px 14px 5px 28px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-right: 14px;
    letter-spacing: 0.8px;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    animation: breaking-label-pulse 1.45s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(239, 57, 74, 0);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
.top-bar-ticker-label::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 50%;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75);
    animation: breaking-dot-ping 1.2s ease-out infinite;
}
.top-bar-ticker-label::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-20deg);
    animation: breaking-label-shine 2.4s ease-in-out infinite;
}
.top-bar-ticker-content {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.top-bar-ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-animation 25s linear infinite;
}
.top-bar-ticker-text:hover {
    animation-play-state: paused;
}
.top-bar-ticker-text span {
    margin-right: 40px;
}
@keyframes ticker-animation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
@keyframes breaking-label-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(239, 57, 74, 0);
    }
    50% {
        transform: scale(1.09);
        box-shadow: 0 0 22px rgba(239, 57, 74, 0.75), 0 0 0 5px rgba(239, 57, 74, 0.16);
    }
}
@keyframes breaking-dot-ping {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75);
    }
    80%, 100% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}
@keyframes breaking-label-shine {
    0%, 35% {
        left: -45%;
    }
    70%, 100% {
        left: 120%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .top-bar-ticker-label,
    .top-bar-ticker-label::before,
    .top-bar-ticker-label::after {
        animation: none;
    }
}
.top-bar-socials {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.top-bar-socials a {
    font-size: 0.9rem;
}

/* Tier 2: Main Branding Header */
.hindustan-branding-header {
    background-color: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.logo-box {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.logo-main {
    display: flex;
    align-items: center;
}
.logo-title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--dark-color);
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
}
.logo-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 1.8rem;
    font-weight: 800;
    margin-left: 6px;
    line-height: 1;
    letter-spacing: -1px;
    border-radius: 4px;
}
.logo-slogan {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 4px;
    padding-left: 2px;
}
.header-ad-banner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-ad-banner .ad-container {
    width: 100%;
    max-width: 728px;
    margin: 0 !important;
    line-height: 1;
}
.header-ad-banner .ad-container a,
.header-ad-banner .ad-container picture {
    display: block;
}
.header-ad-banner .ad-container img {
    width: 100%;
    height: 90px;
    max-height: 90px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 6px;
}
.header-ad-banner .ad-container > div:last-child {
    line-height: 1.2;
    margin-top: 2px !important;
}
.header-ad-box {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #94a3b8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
}
.header-ad-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(195,0,0,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.header-ad-text {
    z-index: 2;
}
.header-ad-text h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 600;
}
.header-ad-text p {
    font-size: 0.78rem;
    margin: 0;
}
.header-ad-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    z-index: 2;
    transition: var(--transition-base);
}
.header-ad-btn:hover {
    background-color: #9e0000;
    color: #ffffff;
}

/* Tier 3: Main Navbar */
.hindustan-nav {
    background-color: #ffffff;
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0;
}
.hindustan-nav .nav-link {
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark-color);
    font-size: 0.88rem;
    padding: 14px 16px !important;
    transition: var(--transition-base);
    position: relative;
}
.hindustan-nav .nav-link:hover,
.hindustan-nav .nav-link.active {
    color: var(--primary-color) !important;
}
.hindustan-nav .nav-link.active-home {
    background-color: var(--primary-color);
    color: #ffffff !important;
}
.hindustan-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition-base);
}
.hindustan-nav .nav-link:hover::after,
.hindustan-nav .nav-link.active::after {
    transform: scaleX(1);
}
.hindustan-nav .nav-link.active-home::after {
    display: none;
}
.nav-search-btn {
    border: none;
    background: none;
    color: var(--dark-color);
    font-size: 1.1rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-base);
}
.nav-search-btn:hover {
    color: var(--primary-color);
}

/* Trending topics bar */
.trending-topics-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.trending-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.trending-label {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--dark-color);
    letter-spacing: 0.5px;
    margin-right: 10px;
}
.trending-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.trending-pill {
    font-size: 0.78rem;
    background-color: var(--bg-light);
    color: #555555;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    transition: var(--transition-base);
}
.trending-pill:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO / MAIN SECTION
   ───────────────────────────────────────────────────────────────────────── */

.hero-section {
    margin: 24px 0;
}
.featured-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--dark-color);
    display: block;
    aspect-ratio: 16/10;
}
.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-card:hover .featured-img {
    transform: scale(1.05);
}
.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0) 100%);
    padding: 30px;
    z-index: 2;
}
.featured-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.featured-title-text {
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-decoration: none;
    display: block;
}
.featured-meta {
    font-size: 0.78rem;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.featured-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.featured-desc {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Key News / Top Stories */
.top-stories-card {
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.top-stories-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-stories-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin: 0;
    border-left: 4px solid var(--primary-color);
    padding-left: 8px;
}
.story-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}
.story-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.story-item:first-child {
    padding-top: 0;
}
.story-img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.story-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.story-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--dark-color);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-base);
}
.story-item:hover .story-title {
    color: var(--primary-color);
}
.story-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   CATEGORIZED BLOCKS
   ───────────────────────────────────────────────────────────────────────── */

.category-block {
    margin-bottom: 35px;
}
.category-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.category-block-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin: 0;
    position: relative;
}
.category-block-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}
.category-view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--primary-color);
    padding: 3px 10px;
    border-radius: 4px;
    transition: var(--transition-base);
}
.category-view-all:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Custom Grid News Card */
.news-grid-card {
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}
.news-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-grid-img-link {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #eaeaea;
}
.news-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-grid-card:hover .news-grid-img {
    transform: scale(1.05);
}
.news-grid-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-grid-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.news-grid-title {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-grid-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition-base);
}
.news-grid-title a:hover {
    color: var(--primary-color);
}
.news-grid-text {
    font-size: 0.82rem;
    color: #555555;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-grid-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.news-grid-more:hover {
    color: var(--dark-color);
}

/* ─────────────────────────────────────────────────────────────────────────
   SIDEBAR WIDGETS
   ───────────────────────────────────────────────────────────────────────── */

.hindustan-sidebar-widget {
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.widget-header-accent {
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 16px;
}
.widget-title-accent {
    font-size: 1.05rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* 1. Live Updates */
.live-updates-box {
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
}
.live-updates-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-updates-header h4 {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.2s infinite;
}
@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
.live-updates-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 15px;
    list-style: none;
    margin: 0;
}
.live-update-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 0.85rem;
}
.live-update-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}
.live-update-item:last-child {
    margin-bottom: 0;
}
.live-update-time {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 6px;
}
.live-update-text {
    color: var(--dark-color);
    text-decoration: none;
}
.live-update-text:hover {
    color: var(--primary-color);
}

/* 2. Weather Widget */
.weather-card {
    background: linear-gradient(135deg, #eef2f7 0%, #d9e2ec 100%);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.weather-city-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334e68;
    margin-bottom: 4px;
}
.weather-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}
.weather-temp-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark-color);
    line-height: 1;
}
.weather-icon-svg {
    width: 44px;
    height: 44px;
}
.weather-condition {
    font-size: 0.82rem;
    font-weight: 600;
    color: #486581;
    text-transform: uppercase;
}
.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
}
.weather-detail-item {
    font-size: 0.72rem;
    color: #627d98;
    text-align: left;
}
.weather-detail-item strong {
    color: var(--dark-color);
}
.weather-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #486581;
    border: 1px solid #bcccdc;
    padding: 5px;
    border-radius: 4px;
    background-color: #ffffff;
    transition: var(--transition-base);
}
.weather-btn:hover {
    background-color: #bcccdc;
    color: var(--dark-color);
}

/* 3. Gold & Silver Rates */
.gold-rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.gold-rates-table th, 
.gold-rates-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}
.gold-rates-table th {
    font-weight: 700;
    color: var(--text-muted);
    text-align: left;
}
.rate-value {
    font-weight: 700;
    color: var(--dark-color);
}
.rate-change {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.rate-up {
    color: var(--success-color);
}
.rate-down {
    color: var(--primary-color);
}
.fuel-location {
    color: var(--dark-color);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.fuel-note {
    color: var(--text-muted);
    font-size: 0.74rem;
    margin-top: 8px;
}
.fuel-unit {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

/* 4. Cricket Live Score */
.cricket-widget {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
}
.cricket-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.cricket-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.cricket-team-name {
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.team-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--dark-color);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-mi { background-color: #004ba0; }
.team-gt { background-color: #1c2d3d; }
.cricket-score-val {
    font-weight: 800;
    font-size: 0.9rem;
}
.cricket-status {
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
}
.cricket-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background-color: var(--dark-color);
    border: none;
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    transition: var(--transition-base);
}
.cricket-btn:hover {
    background-color: var(--primary-color);
}

/* 5. Follow Us */
.social-follow-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.social-follow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-base);
}
.social-follow-item i {
    font-size: 1rem;
}
.social-follow-item:hover {
    filter: brightness(0.9);
    color: #ffffff;
}
.social-fb { background-color: #3b5998; }
.social-tw { background-color: #1da1f2; }
.social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-yt { background-color: #ff0000; }
.social-tg { background-color: #0088cc; }
.social-follow-btn {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────────────────
   WEB STORIES SECTION
   ───────────────────────────────────────────────────────────────────────── */

.web-stories-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    margin: 30px 0;
}
.web-stories-header {
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}
.web-stories-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin: 0;
}
.web-stories-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
}
.web-stories-slider::-webkit-scrollbar {
    height: 4px;
}
.web-stories-slider::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 2px;
}
.web-story-item {
    flex-shrink: 0;
    width: 110px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}
.web-story-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    border: 3px solid var(--primary-color);
    margin: 0 auto 8px;
    overflow: hidden;
    transition: var(--transition-base);
}
.web-story-item:hover .web-story-circle {
    transform: scale(1.05);
}
.web-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.web-story-text {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER SECTION
   ───────────────────────────────────────────────────────────────────────── */

.hindustan-footer {
    background-color: var(--dark-color);
    color: #bbbbbb;
    padding: 50px 0 20px;
    font-size: 0.88rem;
    border-top: 5px solid var(--primary-color);
}
.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}
.footer-text {
    font-size: 0.82rem;
    line-height: 1.7;
}
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li {
    margin-bottom: 10px;
}
.footer-links-list a {
    color: #bbbbbb;
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 0.82rem;
}
.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.footer-social-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-social-icons {
    display: flex;
    gap: 12px;
}
.footer-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #222222;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-base);
}
.footer-social-icon:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}
.footer-divider {
    border-top: 1px solid #222222;
    margin: 30px 0 20px;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.78rem;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: #888888;
    text-decoration: none;
    transition: var(--transition-base);
}
.footer-bottom-links a:hover {
    color: #ffffff;
}

/* responsive offset adjustment */
.page-body-offset {
    padding-top: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE MEDIA QUERIES
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .featured-card {
        aspect-ratio: 16/9;
    }
    .featured-title-text {
        font-size: 1.5rem;
    }
    .header-ad-banner {
        justify-content: center;
        margin-top: 6px;
    }
    .header-ad-banner .ad-container img {
        height: 80px;
        max-height: 80px;
    }
    .hindustan-nav .nav-link {
        padding: 10px 15px !important;
    }
}
@media (max-width: 575.98px) {
    .logo-title {
        font-size: 1.8rem;
    }
    .logo-badge {
        font-size: 1.3rem;
    }
    .featured-overlay {
        padding: 15px;
    }
    .featured-title-text {
        font-size: 1.2rem;
    }
    .header-ad-banner .ad-container img {
        height: 70px;
        max-height: 70px;
    }
}
