/* Breaking News Ticker (GDS Mockup GN Style) */
.breaking-news {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: var(--space-sm) 0;
    border-radius: var(--border-radius-sm);
    height: 40px;
}

.breaking-label {
    background-color: var(--color-accent);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 11px;
    padding: 0 var(--space-sm);
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.breaking-content {
    padding-left: var(--space-sm);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Section Title Bar Style */
.section-title-bar {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 4px;
    margin-bottom: var(--space-md);
    display: inline-block;
}

/* ==========================================================================
   TOP DROPDOWN AD POPUP (CNN STYLE INTERACTIVE AD)
   ========================================================================== */
.top-dropdown-ad {
    position: fixed;
    top: -150px; 
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 10px 0;
    transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-dropdown-ad.active {
    top: 0;
}

.top-dropdown-ad-container {
    max-width: 970px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-dropdown-ad-close {
    position: absolute;
    right: -15px;
    top: -5px;
    background-color: #000;
    color: #FFF;
    border: none;
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Overlay Components */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-overlay);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-standard) var(--ease-out);
}

.search-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.search-modal-content {
    background-color: var(--color-bg-body);
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    max-width: 600px;
    width: 90%;
    transform: scale(0.95);
    transition: transform var(--duration-standard) var(--ease-out);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

.search-modal.active .search-modal-content {
    transform: scale(1);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    background-color: var(--color-accent);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-standard) var(--ease-out), transform var(--duration-ultra-fast) var(--ease-out);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--color-accent-hover);
}

.back-to-top:active {
    transform: scale(0.9);
}