/* Set hero header height to 400px */
body.single-bulletins .blog--single__full .aht-page__post-head,
body.single.single-bulletins .blog--single__full .aht-page__post-head {
    min-height: 400px !important;
    max-height: 400px !important;
}

/* Ultra-specific selectors using body classes for 50% opacity background */
body.single-bulletins .blog--single__full .aht-page__post-head,
body.single.single-bulletins .blog--single__full .aht-page__post-head {
    position: relative !important;
    overflow: hidden !important;
}

/* Pseudo-element with maximum specificity */
body.single-bulletins .blog--single__full .aht-page__post-head::before,
body.single.single-bulletins .blog--single__full .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 */
body.single-bulletins .blog--single__full .aht-page__post-head .container,

/* Add spacing between header and PDF viewer */
body.single-bulletins .blog--single__full .aht-page__post-content,
body.single.single-bulletins .blog--single__full .aht-page__post-content {
    padding-top: 65px !important;
}
body.single.single-bulletins .blog--single__full .aht-page__post-head .container {
    position: relative !important;
    z-index: 1 !important;
}

/* Text styling to match reference page */
body.single-bulletins .blog--single__full .aht-page__post-head .post-title,
body.single.single-bulletins .blog--single__full .aht-page__post-head .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;
    flex-direction: column !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-date,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-date {
    color: #000000 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    flex-direction: column !important;
    margin-bottom: 10px !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-cats,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-cats {
    text-align: center !important;
    flex-direction: column !important;
    margin-top: 10px !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-cats a,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-cats a {
    color: #000000 !important;
}

/* Center the entire post-head content */
body.single-bulletins .blog--single__full .aht-page__post-head .post-head--middle,
body.single.single-bulletins .blog--single__full .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;
}

/* Blue button styling for Bulletin category link */
body.single-bulletins .blog--single__full .aht-page__post-head .post-cats,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-cats {
    text-align: center !important;
    flex-direction: column !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-cats-item,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-cats-item {
    display: inline-block !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-cats a,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-cats a {
    background-color: #007bff !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-cats a:hover,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-cats a:hover {
    background-color: #0056b3 !important;
}

/* Reorder: button first, then title, then date */
body.single-bulletins .blog--single__full .aht-page__post-head .post-title,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-title {
    order: 2 !important;
    margin-top: 10px !important;
}

body.single-bulletins .blog--single__full .aht-page__post-head .post-date,
body.single.single-bulletins .blog--single__full .aht-page__post-head .post-date {
    order: 3 !important;
    margin-top: 10px !important;
}
