/* Archive page hero header styling - matches bulletin page */
body.post-type-archive-talks .talks-archive-header .aht-page__post-head {
    min-height: 400px !important;
    max-height: 400px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Background image with 50% opacity */
body.post-type-archive-talks .talks-archive-header .aht-page__post-head::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/wp-content/uploads/2025/09/header-bulletins.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    opacity: 0.5 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Content layer above background */
body.post-type-archive-talks .talks-archive-header .aht-page__post-head .container {
    position: relative !important;
    z-index: 1 !important;
}

/* Center all content */
body.post-type-archive-talks .talks-archive-header .aht-page__post-head .post-head--middle {
    text-align: center !important;
    flex-direction: column !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 400px !important;
    padding: 30px 0 !important;
}

/* Title styling */
body.post-type-archive-talks .talks-archive-header .post-title {
    color: #000000 !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 15px 0 !important;
    text-align: center !important;
}

/* Edit link styling - only visible to admins/editors */
.talk-edit-link {
    display: inline-block;
    margin-left: 10px;
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.talk-edit-link:hover {
    color: #06c;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.post-type-archive-talks .talks-archive-header .aht-page__post-head {
        min-height: 200px !important;
        max-height: 200px !important;
    }

    body.post-type-archive-talks .talks-archive-header .aht-page__post-head .post-head--middle {
        min-height: 200px !important;
    }

    body.post-type-archive-talks .talks-archive-header .post-title {
        font-size: 1.8rem !important;
    }
}
