/* HIMAA News Landing — page-scoped (custom-himaa-news) */

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,800;0,900&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap");

.wrap-custom-himaa-news,
.wrap-custom-himaa-news *,
.wrap-custom-himaa-news *::before,
.wrap-custom-himaa-news *::after {
    box-sizing: border-box;
}

.wrap-custom-himaa-news a {
    text-decoration: none !important;
}

/* Required CMS spacing overrides */
#footer-main {
    margin-top: 0 !important;
}

.jumbotron.generic-banner {
    display: none !important;
    margin-bottom: 0 !important;
}

.wrap-custom-himaa-news {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
    color: #19242e;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    --custom-himaa-news-indigo: #004174;
    --custom-himaa-news-orange: #f57f36;
    --custom-himaa-news-blue: #598dec;
    --custom-himaa-news-muted: rgba(25, 36, 46, 0.78);
    --custom-himaa-news-border: rgba(0, 65, 116, 0.1);
    --custom-himaa-news-border-strong: rgba(0, 65, 116, 0.15);
    --custom-himaa-news-shadow:
        0 1px 2px rgba(0, 65, 116, 0.06),
        0 18px 44px -18px rgba(0, 65, 116, 0.22);
    --custom-himaa-news-shadow-soft:
        0 1px 2px rgba(0, 65, 116, 0.05),
        0 10px 22px -18px rgba(0, 65, 116, 0.15);
    --custom-himaa-news-radius: 18px;
    --custom-himaa-news-container: 1140px;
}

.wrap-custom-himaa-news p,
.wrap-custom-himaa-news li,
.wrap-custom-himaa-news a {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}

.visually-hidden-custom-himaa-news {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* —— Hero (blue-bg-pattern) —— */
.hero-custom-himaa-news {
    position: relative;
    overflow: hidden;
    padding: clamp(3.25rem, 6.5vw, 5.25rem) 1.25rem clamp(2.25rem, 4.5vw, 3.25rem);
    background: linear-gradient(135deg, #004174 0%, #598dec 100%);
}

.hero-custom-himaa-news::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://general-files-for-access.s3-ap-southeast-2.amazonaws.com/membes-styles/himaa-assets/bg_pattern-himaa-lowres.png");
    background-repeat: repeat;
    background-size: 980px auto;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.hero-inner-custom-himaa-news {
    position: relative;
    z-index: 1;
    max-width: var(--custom-himaa-news-container);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-kicker-custom-himaa-news {
    margin: 0 0 0.75rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92) !important;
}

.hero-title-custom-himaa-news {
    margin: 0 auto !important;
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em;
    line-height: 1.07;
    color: #ffffff !important;
    font-size: clamp(2.1rem, 3.6vw, 3.1rem) !important;
}

.hero-title-custom-himaa-news::after {
    content: "";
    display: block;
    width: 70px;
    height: 6px;
    border-radius: 999px;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.95) 0%,
        var(--custom-himaa-news-blue) 52%,
        var(--custom-himaa-news-orange) 100%
    );
}

.hero-subtitle-custom-himaa-news {
    margin: 1.15rem auto 0 !important;
    max-width: 68ch;
    font-size: 1.15rem !important;
    line-height: 1.75 !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

/* —— Releases / tiles —— */
.releases-custom-himaa-news {
    padding: clamp(2.75rem, 5vw, 3.75rem) 1.25rem clamp(2.5rem, 4.5vw, 3.5rem);
    background:
        radial-gradient(ellipse at center, transparent 45%, rgba(0, 65, 116, 0.04) 100%),
        linear-gradient(180deg, #ffffff 0%, rgba(241, 242, 242, 0.35) 50%, #ffffff 100%);
}

.releases-inner-custom-himaa-news {
    max-width: var(--custom-himaa-news-container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.section-heading-row-custom-himaa-news {
    margin: 0;
}

.section-title-custom-himaa-news {
    margin: 0 !important;
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: var(--custom-himaa-news-indigo) !important;
    letter-spacing: -0.02em;
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.6rem;
    margin-bottom: 0.35rem !important;
    border-bottom: 1px solid rgba(0, 65, 116, 0.12);
}

.section-icon-custom-himaa-news {
    display: block !important;
    width: 1.35rem !important;
    height: 1.35rem !important;
    max-width: none !important;
    flex: 0 0 auto;
    object-fit: contain;
}

.section-desc-custom-himaa-news {
    margin: 0.65rem 0 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    color: var(--custom-himaa-news-muted) !important;
}

.tiles-grid-custom-himaa-news {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.05rem, 2vw, 1.6rem);
    align-items: stretch;
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .tiles-grid-custom-himaa-news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .tiles-grid-custom-himaa-news {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-title-custom-himaa-news {
        justify-content: center;
    }
}

.tile-custom-himaa-news {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background:
        radial-gradient(760px 220px at 0% 0%, rgba(89, 141, 236, 0.08) 0%, rgba(89, 141, 236, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.7) 100%);
    border-radius: var(--custom-himaa-news-radius);
    border: 1px solid var(--custom-himaa-news-border) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        var(--custom-himaa-news-shadow-soft);
    overflow: hidden;
    padding: 1.15rem 1.15rem 1.1rem;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.tile-custom-himaa-news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--custom-himaa-news-indigo) 0%,
        var(--custom-himaa-news-blue) 55%,
        var(--custom-himaa-news-orange) 100%
    );
}

.tile-custom-himaa-news:hover {
    transform: translateY(-4px);
    border-color: var(--custom-himaa-news-border-strong) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        var(--custom-himaa-news-shadow);
}

.tile-top-custom-himaa-news {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.badge-row-custom-himaa-news {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.badge-category-custom-himaa-news {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.77rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 65, 116, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: rgba(0, 65, 116, 0.94) !important;
}

.badge-category-custom-himaa-news::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-right: 0.5rem;
    background: linear-gradient(145deg, var(--custom-himaa-news-indigo) 0%, var(--custom-himaa-news-blue) 100%);
    box-shadow: 0 0 0 2px rgba(0, 65, 116, 0.09);
}

.badge-category-media-custom-himaa-news {
    border-color: rgba(0, 65, 116, 0.16);
    background: rgba(0, 65, 116, 0.06);
}

.badge-category-matters-custom-himaa-news {
    border-color: rgba(89, 141, 236, 0.26);
    background: rgba(89, 141, 236, 0.09);
}

.badge-category-matters-custom-himaa-news::before {
    background: linear-gradient(145deg, rgba(89, 141, 236, 1) 0%, rgba(0, 65, 116, 1) 100%);
}

/* Optional: add this class beside the category badge when Heather flags time-sensitive */
.badge-flag-urgent-custom-himaa-news {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.77rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffffff !important;
    background: linear-gradient(180deg, #ff9348 0%, var(--custom-himaa-news-orange) 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.tile-meta-custom-himaa-news {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: rgba(0, 65, 116, 0.78) !important;
}

.tile-meta-custom-himaa-news::before,
.tile-meta-custom-himaa-news::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.tile-meta-icon-custom-himaa-news {
    display: block !important;
    width: 1.05rem !important;
    height: 1.05rem !important;
    max-width: none !important;
    flex: 0 0 auto;
    object-fit: contain;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.tile-title-custom-himaa-news {
    margin: 0 0 0.65rem !important;
    color: var(--custom-himaa-news-indigo) !important;
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
    font-size: 1.17rem !important;
}

.tile-summary-custom-himaa-news {
    margin: 0 0 1rem !important;
    color: var(--custom-himaa-news-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    flex: 1 1 auto;
}

.tile-actions-custom-himaa-news {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cta-custom-himaa-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.9rem 1.15rem;
    min-height: 48px;
    transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.cta-primary-custom-himaa-news {
    color: #ffffff !important;
    background: linear-gradient(180deg, #ff9348 0%, var(--custom-himaa-news-orange) 50%, #e86f24 100%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 22px rgba(245, 127, 54, 0.24);
}

.cta-icon-custom-himaa-news {
    display: block !important;
    width: 1rem !important;
    height: 1rem !important;
    max-width: none !important;
    flex: 0 0 auto;
    object-fit: contain;
}

.cta-primary-custom-himaa-news:hover {
    background: linear-gradient(180deg, #0d5c96 0%, var(--custom-himaa-news-indigo) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 14px 28px rgba(0, 65, 116, 0.22);
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-custom-himaa-news:focus-visible {
    outline: 3px solid rgba(89, 141, 236, 0.85) !important;
    outline-offset: 3px;
}

.board-note-custom-himaa-news {
    margin: 0.5rem 0 0 !important;
    padding: 0.75rem 0;
    display: flex !important;
    align-items: flex-start;
    gap: 0.45rem;
    color: var(--custom-himaa-news-muted) !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
}

.board-note-icon-custom-himaa-news {
    display: block !important;
    width: 1.05rem !important;
    height: 1.05rem !important;
    max-width: none !important;
    flex: 0 0 auto;
    object-fit: contain;
    margin-top: 0.2rem;
}

/* —— HIMAA Matters subscribe strip (blue-bg-pattern) —— */
.subscribe-custom-himaa-news {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) 1.25rem;
    background: linear-gradient(135deg, #004174 0%, #598dec 100%);
}

.subscribe-custom-himaa-news::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://general-files-for-access.s3-ap-southeast-2.amazonaws.com/membes-styles/himaa-assets/bg_pattern-himaa-lowres.png");
    background-repeat: repeat;
    background-size: 980px auto;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.subscribe-inner-custom-himaa-news {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem 2rem;
    max-width: var(--custom-himaa-news-container);
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.subscribe-copy-custom-himaa-news {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: min(100%, 16rem);
}

.subscribe-title-custom-himaa-news {
    margin: 0 0 0.4rem !important;
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
}

.subscribe-desc-custom-himaa-news {
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 52ch;
}

.subscribe-actions-custom-himaa-news {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.cta-subscribe-custom-himaa-news {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-left: 0;
    color: #ffffff !important;
    background: linear-gradient(180deg, #ff9348 0%, #f57f36 48%, #e86f24 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 4px 16px rgba(245, 127, 54, 0.38);
}

.cta-subscribe-custom-himaa-news:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 6px 22px rgba(0, 26, 46, 0.28);
    transform: translateY(-2px);
}

.cta-matters-custom-himaa-news {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 4px 14px rgba(0, 26, 46, 0.18);
}

.cta-matters-custom-himaa-news:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 6px 18px rgba(0, 26, 46, 0.24);
    transform: translateY(-2px);
}

/* —— Media contact —— */
.media-contact-custom-himaa-news {
    padding: clamp(1.75rem, 3.5vw, 2.25rem) 1.25rem !important;
    margin-bottom: 0 !important;
}

.media-contact-inner-custom-himaa-news {
    max-width: var(--custom-himaa-news-container);
    margin: 0 auto;
    text-align: center;
}

.media-contact-line-custom-himaa-news {
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: var(--custom-himaa-news-muted) !important;
}

.media-contact-link-custom-himaa-news {
    color: var(--custom-himaa-news-orange) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    border-bottom: 2px solid rgba(245, 127, 54, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.media-contact-link-custom-himaa-news:hover {
    color: #d96b26 !important;
    border-bottom-color: rgba(217, 107, 38, 0.55);
}

.media-contact-link-custom-himaa-news:focus-visible {
    outline: 3px solid rgba(89, 141, 236, 0.75) !important;
    outline-offset: 3px;
    border-radius: 2px;
}

@media (max-width: 640px) {
    .subscribe-inner-custom-himaa-news {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .subscribe-desc-custom-himaa-news {
        max-width: none;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .subscribe-actions-custom-himaa-news {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .cta-subscribe-custom-himaa-news,
    .cta-matters-custom-himaa-news {
        margin-left: 0;
        width: 100%;
    }

    .cta-primary-custom-himaa-news {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tile-custom-himaa-news,
    .cta-custom-himaa-news {
        transition: none !important;
    }

    .tile-custom-himaa-news:hover,
    .cta-subscribe-custom-himaa-news:hover,
    .cta-matters-custom-himaa-news:hover {
        transform: none !important;
    }
}
