/* --- EXISTING STYLES --- */
:root {
    --brand-gold: #FFB71B;
    /* --brand-navy: #0A1929; */
    --brand-navy: #061E47;
    --brand-dark: #121212;
    --brand-slate: #475569;

    --ticker-bg: #ffffff;
    --ticker-border: #e9ecef;
    --label-bg: #212529;
    /* Sober Dark Slate */
    --label-color: #ffffff;
    --accent-color: #b91c1c;
    /* Subtle pink/red accent for distinctiveness */
    --text-color: #343a40;
    --text-muted: #6c757d;
    --linear-bg-navy: linear-gradient(39deg, rgba(16, 33, 66, 1) 0%, rgba(7, 63, 122, 1) 73%, rgba(9, 58, 122, 1) 100%);

}

body {
    font-family: 'Lato', sans-serif;
    color: var(--brand-dark);
    background-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    /* font-family: 'Merriweather', serif; */
}

/* .font-lato {
    font-family: 'Lato', sans-serif;
}

.font-punjabi {
    font-family: "Noto Sans Gurmukhi", sans-serif;
}

:lang(pb) {
    font-family: "Noto Sans Gurmukhi", sans-serif !important;
}

:lang(en) {
    font-family: 'Merriweather', serif !important;
}

:lang(Lato) {
    font-family: 'Lato', sans-serif !important;
} */
:lang(pa),
:lang(pa-Guru) {
    font-family: "Noto Sans Gurmukhi", sans-serif;
    line-height: normal !important;
}

/* Visibility rules */
html.lang-en [lang="pa"],
html.lang-en [lang="pa-Guru"] {
    display: none !important;
}

html.lang-pa [lang="en"] {
    display: none !important;
}

.fw-black {
    font-weight: 900 !important;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.text-brand-navy {
    color: var(--brand-navy) !important;
}

.text-brand-gold {
    color: var(--brand-gold) !important;
}

.bg-brand-navy {
    background-color: var(--brand-navy) !important;
}

.bg-linear-brand-navy {
    background: var(--linear-bg-navy) !important;
}

.bg-brand-gold {
    background-color: var(--brand-gold) !important;
}

.text-shadow {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.text-brand-white {
    color: #fff;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.object-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-link {
    color: var(--brand-navy);
    padding: 28px 0 !important;
    border-bottom: 2px solid transparent;
    transition: color 0.3s;
    font-size: 1rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-gold);
    border-bottom-color: var(--brand-gold);
}

.live-btn {
    background-color: #b91c1c;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
}

.live-dot {
    height: 8px;
    width: 8px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}




.shorts-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.shorts-container::-webkit-scrollbar {
    display: none;
}

.short-card {
    min-width: 140px;
    width: 140px;
    aspect-ratio: 9/16;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    z-index: 2;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.group:hover .play-icon-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.img-wrapper img,
.short-card img,
.ratio img {
    transition: transform 0.7s ease;
}

.group:hover .group-hover-scale {
    transform: scale(1.05);
}

.group:hover .group-hover-text-gold {
    color: var(--brand-gold) !important;
}

.group:hover .group-hover-underline {
    text-decoration: underline;
    text-decoration-color: var(--brand-gold);
    text-underline-offset: 4px;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.filter-gray img {
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.7s;
}

.group:hover .filter-gray img {
    filter: grayscale(0%);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shorts-vertical-snap {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100%;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
}

.shorts-vertical-snap:active {
    cursor: grabbing;
}

.shorts-vertical-snap::-webkit-scrollbar {
    display: none;
}

.shorts-slide {
    scroll-snap-align: start;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
}

.shorts-video {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.shorts-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    z-index: 10;
    pointer-events: none;
}

/* Show icon when we add the class 'paused' */
.shorts-slide.paused .shorts-center-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    display: none;
}

/* 2. Top Right Mute Button */
.shorts-mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 30;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    display: none;
}

.shorts-mute-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 3. Progress Bar Container */
.shorts-progress-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    /* Hit area for mouse */
    z-index: 30;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    /* Align bar to bottom */
}

/* The actual colored line */
.shorts-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    transition: height 0.1s;
}

.shorts-progress-area:hover .shorts-progress-bar {
    height: 8px;
    /* Get thicker on hover */
}

/* The filled part of the bar */
.shorts-progress-fill {
    height: 100%;
    background-color: var(--brand-gold, #ff0000);
    /* Use your brand color or red */
    width: 0%;
    /* JS will update this */
    position: relative;
}

/* --- VIDEO MODAL OVERLAY BUTTON --- */
.video-overlay-center-btn {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show on hover of parent (.group) OR when paused */
.group:hover .video-overlay-center-btn {
    opacity: 1;
}

/* Also ensure native controls don't block custom overlay */
video::-webkit-media-controls-overlay-play-button {
    display: none;
}


/* The container wrapping the video and the controls */
.video-wrapper {
    position: relative;
}

/* The custom controls bar */
.custom-controls {
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
    /* positioning styles... */
}

/* When hovering over the wrapper, show the controls */
.video-wrapper:hover .custom-controls {
    opacity: 1;
}

/* Add support for 3x2 Aspect Ratio */
.ratio-3x2 {
    --bs-aspect-ratio: 66.66%;
    /* (2 / 3) * 100 */
}


.hover-gold {
    /* "all" ensures this doesn't conflict with other transitions */
    transition: all 0.2s ease;
}

.hover-gold:hover {
    color: var(--brand-gold) !important;
}

.hover-underline {
    /* "all" ensures this doesn't conflict with color transitions */
    transition: all 0.2s ease;
    text-decoration: none;
}

.hover-underline:hover {
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--brand-gold);
    transition: all 0.2s ease;
}

/* 1. Make the container wider on large screens (matches Tailwind 'xl') */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px !important;
    }
}

/* 2. Make it even wider on extra-large screens (matches Tailwind '2xl') */
@media (min-width: 1500px) {
    .container {
        max-width: 1536px !important;
    }
}

/* 3. Adjust padding to match the airy feel of the reference */
.container {
    padding-left: 1.5rem;
    /* Matches Tailwind 'px-6' feel */
    padding-right: 1.5rem;
}

.lead {
    font-size: 1.05rem;
    font-weight: 400;
    color: #616161;
}

.small,
small {
    font-size: .775em !important;
}

.shorts-carousel .btn :hover {
    background: var(--brand-gold) !important;
}

.animation-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.live-dot-red {
    height: 12px;
    width: 12px;
    background-color: #b91c1c;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 9, 9, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 9, 9, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.live-dot-gold {
    height: 14px;
    width: 14px;
    background-color: var(--brand-gold);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 207, 16, 0.76);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 9, 9, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-icon-permanent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 1;

}

.group:hover .play-icon-permanent {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.section-key-topics p {
    color: #616161;
}

/* //ticker */

/* --- RESPONSIVE TICKER (BLOCK LAYOUT ON MOBILE) --- */

/* 1. Main Container */
.ticker-wrap {
    position: relative;
    background: var(--ticker-bg);
    border: 1px solid var(--ticker-border);
    height: 56px;
    /* Desktop Height */
    overflow: hidden;
    display: flex;
    /* Flex on Desktop */
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

/* 2. The Label */
.ticker-label {
    background: var(--linear-bg-navy);
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
    /* Desktop Skew */
    min-width: 180px;
    white-space: nowrap;
    padding-right: 36px;
}

/* 3. The Viewport */
.ticker-viewport {
    flex-grow: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

/* 4. News Item */
.news-item {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 50%;
    transform: translateY(20px);
    margin-top: -12px;
    /* Vertically center */
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    pointer-events: none;

}

.news-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 5. Elements */
.badge-category {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 10px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.news-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: "Noto Sans Gurmukhi", sans-serif;
    display: block;
    /* Ensure it behaves like a block for ellipsis */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.time-ago {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #dee2e6;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Controls */
.ticker-controls {
    padding: 0 15px;
    display: flex;
    gap: 5px;
    z-index: 10;
    background: var(--ticker-bg);
    height: 100%;
    align-items: center;
    border-left: 1px solid var(--ticker-border);
}

.control-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- MOBILE BLOCK LAYOUT (The Fix) --- */
@media (max-width: 768px) {
    .ticker-wrap {
        /* Change from Flex to Block to stack items */
        display: block;
        height: auto;
        /* Allow it to grow */
        border-radius: 8px;
    }

    /* Top Row: Label */
    .ticker-label {
        width: 100%;
        min-width: 100%;
        height: 40px;
        /* Slimmer header */
        clip-path: none;
        /* Remove skew */
        justify-content: flex-start;
        /* Align left */
        padding: 0 15px;
    }

    /* Bottom Row: Viewport */
    .ticker-viewport {
        width: 100%;
        height: 40px;
        /* Space for news */
        background: white;
        border-top: 1px solid #eee;
        padding: 0 10px;
    }

    /* Move Controls to the Label bar (Top Right) */
    .ticker-controls {
        position: absolute;
        top: 0;
        right: 0;
        height: 40px;
        /* Match label height */
        background: transparent;
        border: none;
        padding-right: 10px;
    }

    .control-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
    }

    /* Adjust News Item for the new block width */
    .news-link {
        font-size: 0.9rem;
    }

    .badge-category {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Hide time on very small screens if needed */
    .time-ago {
        display: none;
    }
}






.live-section-dark {
    background-color: #1a1a1a;
    padding: 20px;
    font-family: 'Mukta Mahee', sans-serif;
    color: white;
    border-radius: 8px;
    /* Optional rounded corners */
}

.live-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header Styles */


.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 0, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.live-text {
    color: #ff4444;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.live-viewer-count {
    font-size: 12px;
    color: #888;
}

/* Pulsing Animation */
.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Responsive Video (16:9) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Info Section */
.live-info {
    margin-top: 15px;
}

.live-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.live-title-pa {
    margin: 5px 0 0 0;
    font-size: 18px;
    /* Slightly larger for readable Punjabi */
    font-weight: 400;
    color: #ddd;
}

.live-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: 'Mukta Mahee', sans-serif;
    max-width: 400px;
    /* Adjust as needed */
    border: 1px solid #eee;
}

.card-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background: #000;
}

.card-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* The Red Badge on top of video */
.live-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 15px;
}

.card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.card-title-pa {
    margin: 4px 0 0 0;
    font-size: 17px;
    font-weight: 400;
    color: #555;
}

.card-meta {
    margin-top: 10px;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-link-btn {
    background: none;
    border: 1px solid transparent;
    /* Transparent border to prevent jumping on hover */
    cursor: pointer;
    font-family: 'Mukta Mahee', sans-serif;
    /* Matches your Punjabi font */
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-navy, #061E47);
    /* Default to Navy */
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.lang-link-btn:hover {
    color: var(--brand-gold, #FFB71B);
    /* Hover turns Gold */
    background-color: rgba(6, 30, 71, 0.05);
    /* Slight background on hover */
}

/* Optional: Make the globe icon spin slightly on hover */
.lang-link-btn:hover .fa-globe {
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

/* story page */
.article-body p {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--brand-navy);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-family: 'Merriweather', serif;
}

.drop-cap::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    font-weight: 900;
    margin-right: 0.75rem;
    color: var(--brand-navy);
    font-family: 'Merriweather', serif;
}

.article-blockquote {
    border-left: 4px solid var(--brand-gold);
    padding-left: 1.5rem;
    font-style: italic;
    color: #555;
    font-size: 1.2rem;
    margin: 2rem 0;
    font-family: 'Merriweather', serif;
}

.sticky-share {
    position: sticky;
    top: 120px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s;
    background: white;
    margin-bottom: 10px;
}

.share-btn:hover {
    background: var(--brand-navy);
    color: white;
    border-color: var(--brand-navy);
}

.pointer-cursor {
    cursor: pointer;
}

.vertical-news-container {
    height: 440px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.vertical-news-track {
    animation: verticalScroll 25s linear infinite;
}

.vertical-news-container:hover .vertical-news-track {
    animation-play-state: paused;
}

@keyframes verticalScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* --- 2. Share Button & Popup Styles --- */

/* The container holding the button and the popup list */
.share-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    /* Ensure it's above the image */
    display: flex;
    flex-direction: column;
    align-items: end;
}

/* The Main Share Trigger Button */
.share-trigger-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--brand-navy);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

/* Rotate and color change on hover */
.share-container:hover .share-trigger-btn {
    background: var(--brand-gold);
    color: var(--brand-navy);
    transform: rotate(45deg);
}

/* The Hidden Popup List */
.social-popup {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    /* Spacing from trigger button */

    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    /* Smooth Transition */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Show List on Container Hover */
.share-container:hover .social-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Individual Social Icons */
.share-icon-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background 0.2s, color 0.2s;
    font-size: 1.1rem;
}

/* Hover Effects for Icons */
.share-icon-btn:hover {
    transform: scale(1.15);
    /* Pop effect */
    color: white;
}

/* Brand Colors */
.share-icon-btn.whatsapp:hover {
    background-color: #25D366;
}

.share-icon-btn.twitter:hover {
    background-color: #1DA1F2;
}

.share-icon-btn.facebook:hover {
    background-color: #4267B2;
}

.share-icon-btn.link:hover {
    background-color: #333;
}

/* Language Button on Image */
/* Language Switcher Container */
.lang-switch-container {
    /* position: absolute; */
    /* top: 25px;
    right: 80px; */
    /* z-index: 20; */
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    cursor: default;
    user-select: none;
}

/* Common Option Style */
.lang-option {
    cursor: pointer;
    font-weight: 700;
    opacity: 0.7;
    transition: all 0.2s ease;
    color: white;
    /* Default color */
}

.lang-option:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ACTIVE STATE - Force Gold Color */
.lang-option.active {
    color: #FFB71B !important;
    /* Brand Gold with !important */
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Gurmukhi Text Specifics */
.gurmukhi-text {
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1;
}

.lang-separator {
    opacity: 0.6;
    font-size: 0.8rem;
}




/* br> tag margins */
.news-desc br {
    display: block;
    /* Makes the break behave like a block element */
    content: "";
    /* Ensures it has 'substance' to push elements */
    margin-bottom: 2rem;
    /* Your desired spacing */
}

/* Style for the Read More button */
.read-more-btn {
    font-weight: bold;
    color: var(--brand-navy);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 8px;
    cursor: pointer;
}
.more-text {
    display: none;
}
.more-text.d-inline {
    display: inline;
}

/* Add to styles.css if not present */
#related-news-prev:hover,
#related-news-next:hover {
    background-color: var(--brand-gold);
    color: var(--brand-navy) !important;
    border-color: var(--brand-gold) !important;
}


/* Related News Loader */
.related-news-loader {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: linear-gradient(
        to top,
        rgba(255,255,255,0.95),
        rgba(255,255,255,0)
    );
    z-index: 5;
}

.related-news-loader .spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #e5e5e5;
    border-top-color: var(--brand-gold);
    border-radius: 50%;
    display: inline-block;
    animation: scnews-spin 0.8s linear infinite;
}

@keyframes scnews-spin {
    to { transform: rotate(360deg); }
}

