@charset "UTF-8";
/* ===== BASE & UTILITY ===== */
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main-content-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide any BOM-generated space */
body::before {
    display: none !important;
    content: none !important;
}
.breaking-news {
    background: #ff0000;
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1000;
}

    .breaking-news marquee {
        display: inline-block;
        width: 100%;
    }

.article-card {
    margin-bottom: 20px;
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.article-image {
    height: 200px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

.big-block-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
    background-color: #f8f9fa;
}

.carousel-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #f8f9fa;
}

.section-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background-color: #f8f9fa;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 100px;
    width: auto;
}

.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    z-index: 1;
}

.breaking-badge {
    background: #ff0000;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-left: 10px;
}

.popular-list-item {
    transition: background 0.3s;
}

    .popular-list-item:hover {
        background: #f8f9fa;
    }

.custom-navbar {
    background: linear-gradient(to right, #f8f1e5, #efe4c9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

    .custom-navbar .nav-link,
    .custom-navbar .navbar-brand {
        color: #333 !important;
    }

    .custom-navbar .nav-link {
        font-weight: 500;
        margin: 0 8px;
        position: relative;
        transition: all 0.3s ease;
    }

        .custom-navbar .nav-link::after {
            content: "";
            position: absolute;
            width: 0%;
            height: 2px;
            left: 0;
            bottom: -4px;
            background: linear-gradient(to right, #f8f1e5, #efe4c9);
            transition: width 0.3s ease;
        }

        .custom-navbar .nav-link:hover::after {
            width: 100%;
        }

        .custom-navbar .nav-link:hover {
            color: #000 !important;
        }

        .custom-navbar .nav-link.active {
            font-weight: 600;
        }

.navbar-toggler {
    border: none;
    border-color: rgba(0,0,0,0.2);
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar-brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.verse-text {
    font-size: 0.7rem;
    color: #A38550;
    font-style: italic;
    letter-spacing: 0.3px;
    margin-top: -5px;
    margin-bottom: 5px;
    padding-left: 5px;
    max-width: 280px;
    line-height: 1.3;
    border-left: 2px solid #A38550;
    padding-left: 10px;
}

    .verse-text i {
        font-size: 0.6rem;
        color: #A38550;
        margin: 0 2px;
    }

/* ===== SHIMMER ANIMATIONS ===== */
.bmc-button-wrapper {
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 30px;
}

    .bmc-button-wrapper iframe {
        height: 50px !important;
        display: block;
        position: relative;
        z-index: 1;
        transition: all 0.2s ease;
    }

    .bmc-button-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background: linear-gradient(115deg, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.4) 55%, transparent 65%, transparent 100%);
        transform: skewX(-12deg);
        animation: bmc-shine-sweep 4s infinite ease-in-out;
        pointer-events: none;
        z-index: 2;
        border-radius: 30px;
    }

@keyframes bmc-shine-sweep {
    0% {
        left: -100%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.bmc-button-wrapper:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

    .bmc-button-wrapper:hover iframe {
        filter: brightness(1.02);
    }

.btn-shine-animation {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    background-color: #5F7FFF;
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 30px;
    padding: 6px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .btn-shine-animation::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background: linear-gradient(115deg, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.5) 55%, transparent 65%, transparent 100%);
        transform: skewX(-12deg);
        animation: shine-sweep 4s infinite ease-in-out;
        pointer-events: none;
        z-index: 1;
    }

    .btn-shine-animation span,
    .btn-shine-animation i {
        position: relative;
        z-index: 2;
    }

@keyframes shine-sweep {
    0% {
        left: -100%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.btn-shine-animation:hover {
    transform: scale(1.02);
    background-color: #4a6bff;
    box-shadow: 0 4px 12px rgba(95, 127, 255, 0.4);
}

/* ===== SOCIAL LINKS ===== */
.social-nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 16px;
}

    .social-nav-links a {
        color: #333;
        font-size: 1.25rem;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

        .social-nav-links a:hover {
            color: #A38550;
            transform: translateY(-2px);
        }

/* ===== SUPPORT STATS & USER INFO ===== */
.support-stats {
    display: inline-flex;
    gap: 20px;
    background: rgba(0,0,0,0.05);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

    .support-stats:hover {
        background: rgba(95,127,255,0.1);
        transition: all 0.3s ease;
    }

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .stat-item i {
        font-size: 16px;
    }

.stat-label {
    font-weight: 600;
    color: #333;
}

.stat-value {
    font-weight: 700;
    color: #5F7FFF;
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 4px;
}

.google-signin-container {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 30px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.logout-btn {
    background: none;
    border: none;
    color: #e63946;
    cursor: pointer;
    font-size: 14px;
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
}

/* ===== SUBSCRIPTION MODAL ===== */
.subscribe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    padding: 15px; /* Add padding for small screens */
    box-sizing: border-box;
}

.subscribe-modal {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh; /* Maximum height relative to viewport */
    overflow-y: auto; /* Enable scrolling when content is too tall */
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease;
    position: relative;
    /* Improve scrolling experience */
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

    /* Custom scrollbar for webkit browsers */
    .subscribe-modal::-webkit-scrollbar {
        width: 6px;
    }

    .subscribe-modal::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 10px;
    }

    .subscribe-modal::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

        .subscribe-modal::-webkit-scrollbar-thumb:hover {
            background: #aaa;
        }

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.subscribe-modal h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 28px;
    padding-right: 30px; /* Space for close button */
}

.subscribe-modal .modal-icon {
    font-size: 60px;
    color: #5F7FFF;
    margin-bottom: 20px;
}

.subscribe-modal p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.subscribe-modal .benefits {
    text-align: left;
    background: #f0f4ff;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
    list-style: none;
}

    .subscribe-modal .benefits li {
        margin: 10px 0;
        color: #333;
    }

    .subscribe-modal .benefits i {
        color: #5F7FFF;
        margin-right: 10px;
        width: 20px;
    }

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    background: none;
    border: none;
    z-index: 1; /* Keep above scrolling content */
}

    .close-modal-btn:hover {
        color: #333;
    }

.dismiss-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

    .dismiss-button:hover {
        background: #e9ecef;
        border-color: #dc3545;
        color: #dc3545;
        transform: translateY(-2px);
    }

    .dismiss-button:active {
        transform: translateY(0);
    }

    .dismiss-button i {
        font-size: 16px;
    }

.newsletter-checkbox {
    margin: 15px 0;
    text-align: left;
}

    .newsletter-checkbox label {
        color: #333;
        cursor: pointer;
    }

    .newsletter-checkbox input {
        margin-right: 10px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

/* Mobile adjustments for modal */
@media (max-width: 768px) {
    .subscribe-modal {
        padding: 25px 20px;
        max-height: 85vh;
    }

        .subscribe-modal h2 {
            font-size: 22px;
            padding-right: 25px;
        }

        .subscribe-modal .modal-icon {
            font-size: 45px;
        }

    .close-modal-btn {
        top: 12px;
        right: 15px;
    }

    .dismiss-button {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* ===== ARTICLES & TAGS ===== */
.other-articles-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #A38550;
    padding-left: 15px;
}

.tag-badge {
    display: inline-block;
    background: #6c757d;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 5px;
}

.tag-poetry {
    background: #9b59b6;
}

.tag-short-story {
    background: #e67e22;
}

.tag-lifestyle {
    background: #28a745;
}

.tag-mentalhealth {
    background: #17a2b8;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 0 5px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 20px;
    cursor: grab;
}
.carousel-track:active {
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-btn:hover {
        background: rgba(11, 164, 224, 0.9);
        transform: translateY(-50%) scale(1.1);
    }

.carousel-btn-prev {
    left: -10px;
}

.carousel-btn-next {
    right: -10px;
}


.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

    .carousel-dot.active {
        background: #007bff;
    }

/* Article count indicator */
.carousel-article-count {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

    .carousel-article-count i {
        margin-right: 5px;
        color: #0BA4E0;
    }
/* Responsive */
@media (max-width: 991px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(100% - 10px);
        min-width: calc(100% - 10px);
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .carousel-btn-prev {
        left: -5px;
    }

    .carousel-btn-next {
        right: -5px;
    }
}

/* Jobs Carousel */
#jobsCarousel .carousel-slide .card {
    border-top: 3px solid #e67e22;
}

    #jobsCarousel .carousel-slide .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

#jobsCarousel .btn-outline-primary {
    border-color: #e67e22;
    color: #e67e22;
}

    #jobsCarousel .btn-outline-primary:hover {
        background-color: #e67e22;
        border-color: #e67e22;
        color: white;
    }

#jobsCarousel .tag-badge {
    background: #e67e22 !important;
}

/* Happiness Carousel */
#happinessCarousel .carousel-slide .card {
    border-top: 3px solid #f39c12;
    background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
}

    #happinessCarousel .carousel-slide .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
    }

#happinessCarousel .btn-outline-warning {
    border-color: #f39c12;
    color: #f39c12;
}

    #happinessCarousel .btn-outline-warning:hover {
        background-color: #f39c12;
        border-color: #f39c12;
        color: white;
    }

#happinessCarousel .tag-badge {
    background: #f39c12 !important;
}

/* ===== WEATHER WIDGET ===== */
.weather-widget {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .weather-widget .weather-icon {
        font-size: 3rem;
    }

    .weather-widget .temp {
        font-size: 2rem;
        font-weight: bold;
    }

    .weather-widget .location {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .weather-widget .condition {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .weather-widget .details {
        font-size: 0.8rem;
        border-top: 1px solid rgba(255,255,255,0.2);
        margin-top: 10px;
        padding-top: 10px;
    }

    .weather-widget .refresh-btn {
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .weather-widget .refresh-btn:hover {
            background: rgba(255,255,255,0.3);
        }

.weather-city-selector {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .weather-city-selector:hover {
        background: rgba(255,255,255,0.3);
    }

    .weather-city-selector:focus {
        outline: none;
        background: rgba(255,255,255,0.35);
        border-color: rgba(255,255,255,0.5);
    }

    .weather-city-selector option {
        background: #2a5298;
        color: white;
    }

/* ===== ARTICLE CONTENT ===== */
.article-content img {
    max-width: 100%;
    height: auto;
}

.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.article-content .video-wrapper {
    position: relative;
    display: block;
    margin: 40px auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
}

.article-content .video-large {
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
}

.article-content .video-shorts {
    width: 100%;
    max-width: 450px;
    padding-bottom: 177.78%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-radius: 20px;
}

.article-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-content iframe[src*="youtube"] {
    width: 100%;
    min-height: 400px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin: 20px 0;
}

.article-content .video-wrapper:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ===== COMMENTS & STATS ===== */
.share-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.comment-card {
    transition: transform 0.2s;
}

    .comment-card:hover {
        transform: translateX(5px);
    }

.comment-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

.comment-success {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

.stats-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-brand-wrapper {
        align-items: center;
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .verse-text {
        font-size: 0.65rem;
        max-width: 100%;
        text-align: center;
        border-left: none;
        padding-left: 0;
    }

    .bmc-button-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 5px auto;
    }

    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .navbar-nav.ms-auto {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
        align-items: center;
    }

    .social-nav-links {
        margin-right: 0;
        justify-content: center;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .support-stats {
        display: none;
    }

    .google-signin-container {
        margin-left: 0;
        margin-top: 10px;
    }

    .carousel-slide {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }

    .carousel-btn-prev {
        left: -10px;
    }

    .carousel-btn-next {
        right: -10px;
    }

    .article-content .video-shorts {
        max-width: 320px;
    }

    .article-content iframe[src*="youtube"] {
        min-height: 250px;
    }

    .dismiss-button {
        padding: 14px 20px;
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .bmc-button-wrapper {
        margin-left: 5px;
    }
}

.admin-btn-icon {
    font-size: 1rem;
    margin-right: 5px;
}

.navbar .nav-item .btn-shine-animation {
    margin-left: 0;
    font-size: 0.9rem;
}

/* ===== Google donate button ===== */
/* Google Donation Button Styles */
.google-donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #34A853;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(52, 168, 83, 0.3);
}

    .google-donate-btn i {
        font-size: 18px;
    }

    .google-donate-btn:hover {
        background: #2d8e47;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 168, 83, 0.4);
    }

    .google-donate-btn:active {
        transform: translateY(0);
    }

#modalDonationButton {
    margin: 15px 0 5px 0;
}

/* ===== Google preferred button ===== */
.preferred-source-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .preferred-source-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
        border-radius: 6px;
    }

.preferred-source-img {
    height: 60px; /* Changed from 40px to 28px */
    width: auto;
    display: block;
    border-radius: 6px;
}

.preferred-source-note {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

    .preferred-source-note i {
        margin-right: 5px;
        color: #1a73e8;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .preferred-source-img {
        height: 60px; /* Changed from 36px to 24px */
    }
}

/* ===== ADVERTISEMENT PLACEHOLDER STYLES ===== */
.advert-placeholder {
    width: 100%;
    margin: 30px 0;
    text-align: center;
    display: block;
}

.advert-banner {
    /* Solid fallback for mobile */
    background: #f8f9fa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Border fallback */
    border: 2px solid #adb5bd;
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 20px;
    min-height: 120px;
    /* Flexbox with vendor prefixes */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s ease;
    /* Hardware acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Ensure proper box sizing */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .advert-banner:hover {
        background: #e9ecef;
        background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
        border-color: #0BA4E0;
        border-style: dashed;
    }

    .advert-banner i {
        font-size: 28px;
        margin-bottom: 8px;
        color: #adb5bd;
        display: inline-block;
    }

    .advert-banner .advert-title {
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 4px;
        color: #495057;
        text-decoration: none !important;
    }

    .advert-banner .advert-size {
        font-size: 12px;
        opacity: 0.7;
        color: #6c757d;
        text-decoration: none !important;
    }

    .advert-banner .advert-cta {
        margin-top: 10px;
        font-size: 13px;
        color: #0BA4E0;
        font-weight: 500;
        text-decoration: none !important;
    }

.advert-sidebar {
    background: #f8f9fa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #adb5bd;
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 15px;
    min-height: 250px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #6c757d;
    margin-bottom: 20px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .advert-sidebar:hover {
        background: #e9ecef;
        background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
        border-color: #0BA4E0;
        border-style: dashed;
    }

    .advert-sidebar i {
        font-size: 24px;
        margin-bottom: 8px;
        color: #adb5bd;
    }

    .advert-sidebar .advert-title {
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #495057;
        text-decoration: none !important;
    }

    .advert-sidebar .advert-size {
        font-size: 11px;
        opacity: 0.7;
        color: #6c757d;
        text-decoration: none !important;
    }

    .advert-sidebar .advert-cta {
        margin-top: 10px;
        font-size: 12px;
        color: #0BA4E0;
        font-weight: 500;
        text-decoration: none !important;
    }

.advert-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    width: 100%;
    cursor: pointer;
}

    .advert-link:hover,
    .advert-link:focus,
    .advert-link:active,
    .advert-link:visited {
        text-decoration: none !important;
        color: inherit !important;
        outline: none;
    }

    .advert-link * {
        text-decoration: none !important;
    }

/* Responsive */
@media (max-width: 768px) {
    .advert-banner {
        min-height: 100px;
        padding: 15px 10px;
    }

        .advert-banner i {
            font-size: 22px;
        }

        .advert-banner .advert-title {
            font-size: 12px;
            letter-spacing: 1px;
        }

    .advert-sidebar {
        min-height: 200px;
        padding: 12px;
    }

        .advert-sidebar i {
            font-size: 20px;
        }
}
/* Facebook Video Embed Styles */
.facebook-video-wrapper {
    margin: 25px 0;
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fb-video-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
}

    .fb-video-container iframe {
        width: 100%;
        height: 500px;
        border: none;
        display: block;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .fb-video-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .fb-video-container iframe {
        height: 280px;
    }
}

/* Alternative Facebook embed via div (if using SDK) */
.fb-video {
    margin: 20px 0;
    min-height: 400px;
    background: #f0f2f5;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .fb-video {
        min-height: 350px;
    }
}
