/* --- 1. BRANDING & VARIABLES --- */
:root {
    --brand-dark: #1e272e;
    --brand-accent: #0fb9b1;
    --bg-white: #ffffff;
    --line-color: #d2dae2;
    --text-main: #333333;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- 2. GLOBAL RESET & STYLES --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-stack);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

iframe,
img,
video {
    max-width: 100%;
    height: auto;
}

/* --- 3. HEADER & NAVIGATION --- */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line-color);
}

.header-left,
.header-right {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-center {
    width: 40%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

#banner-image {
    height: 250px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border: 1px solid var(--line-color);
    border-radius: 4px;
    transition: opacity 0.5s ease-in-out;
    display: block;
    margin: 0 auto;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* Header Buttons */
.report-button-link,
.youtube-button-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 50%;
}

.report-graphic,
.youtube-graphic {
    display: block;
    width: 260px;
    height: 160px;
    border-radius: 50%;
}

.report-button-link:hover,
.youtube-button-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

.report-button-link:active,
.youtube-button-link:active {
    transform: scale(0.98);
}

/* Navigation */
.main-nav {
    background-color: var(--brand-dark);
    padding: 12px 20px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: var(--brand-accent);
}

/* Social Nav Icons */
.social-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white, #ffffff);
    transition: color 0.3s ease, transform 0.2s ease;
}

.main-nav .social-links a:hover {
    color: var(--brand-accent);
    transform: scale(1.15);
}

.main-nav .social-links svg {
    display: block;
}

.main-nav .social-links .bluesky-link {
    color: #0085ff;
}

.main-nav .social-links .bluesky-link:hover {
    color: var(--brand-accent);
}

/* --- 4. THE 3-COLUMN GRID --- */
.content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.outlined-box {
    border: 1px solid var(--line-color);
    border-radius: 6px;
    padding: 20px;
    background-color: var(--bg-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    min-width: 0;
    word-wrap: break-word;
}

.outlined-box h2 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* --- 5. COMPONENT: DISCLOSURE CLOCK --- */
.clock-display {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin: 15px 0;
    text-align: center;
}

.time-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #0d6efd;
    color: #ffffff;
    padding: 8px 2px;
    border-radius: 4px;
    flex: 1;
    min-width: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #0a58ca;
}

.time-box span {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.1;
    margin-bottom: 2px;
}

.time-box small {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #e2e8f0;
}

.clue-text {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}

/* --- 6. COMPONENT: VIDEO STACK --- */
.video-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.video-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--line-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-item img {
    width: 42%;
    height: auto;
    object-fit: cover;
    border-right: 1px solid var(--line-color);
}

.video-title {
    width: 58%;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: var(--brand-dark);
    font-weight: 600;
    text-align: left;
    line-height: 1.3;
}

.channel-name {
  font-size: 0.6rem;
  font-weight: normal;
}

/* --- 7. BUTTONS & UI --- */
.action-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 8px 12px;
    background-color: var(--brand-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background-color: var(--brand-dark);
}

/* --- 8. MAP COMPONENTS --- */
.map-container {
    width: 100%;
    min-height: 500px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line-color);
    margin-top: 10px;
    position: relative;
}

.map-container iframe {
    width: 100% !important;
    height: 500px !important;
    display: block;
}

.map-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.map-click-overlay:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* --- 9. RESPONSIVE QUERIES --- */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .col-center {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 10px;
    }

    .header-center {
        order: -1;
        width: 100%;
    }

    .header-left,
    .header-right {
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-links {
        margin-left: 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* --- 10. FOOTER --- */
.site-footer {
    background-color: var(--brand-dark);
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 4px solid var(--brand-accent);
}

.site-footer p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.site-footer .disclaimer {
    font-size: 0.75rem;
    color: #a4b0be;
    margin-top: 10px;
    line-height: 1.4;
}