/* ── SHARED STYLES (Admin Bar, Authors, Videos) ── */

/* ── ADMIN BAR (TOP MIDDLE) ── */
.admin-bar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(225, 173, 1, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: slideDown 0.5s ease;
}

.admin-bar-btn {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-bar-btn:hover {
    opacity: 1;
    color: var(--accent);
}

.admin-bar-divider {
    width: 1px;
    height: 15px;
    background: var(--border);
}

@keyframes slideDown {
    from { transform: translate(-50%, -100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* ── AUTHOR CARD ── */
.author-card {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.author-info h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--accent);
}

.author-role {
    font-size: 0.85rem;
    opacity: 0.6;
    display: block;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ── VIDEO EMBED ── */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 20px;
    margin: 2rem 0;
}

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

/* ── ARTICLE HERO (NEW) ── */
.article-hero {
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-text-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

#article-meta {
    background: var(--accent);
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 800;
}

#article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-top: 1.5rem;
    line-height: 1.2;
}

/* ── ARTICLE DETAIL CONTAINER ── */
#article-detail-container {
    max-width: 800px;
    margin: -5rem auto 5rem;
    position: relative;
    z-index: 5;
    background: var(--bg-main);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

.footer-col h4.accent-text, 
.modal-content h3.accent-text {
    color: var(--accent) !important;
}

.full-width { width: 100%; box-sizing: border-box; }
.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    margin-top: 1.5rem;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    .admin-bar {
        width: 90%;
        padding: 8px 15px;
    }
    .admin-bar-btn span {
        display: none;
    }
}
