/* NEWS, ANNOUNCEMENTS AND NOTIFICATIONS */
.bmh-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bmh-news-card {
    position: relative;
    min-width: 0;
}

.bmh-news-card .section-item,
.bmh-news-card .row-item,
.bmh-news-card .slide-inner {
    height: 100%;
}

.bmh-news-card .slide-inner {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--bmh-border);
    border-radius: 14px;
    background: var(--bmh-white);
    box-shadow: 0 7px 20px rgba(18, 78, 49, 0.07);
}

.bmh-news-card .slide-img {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-bottom: 1px solid var(--bmh-border);
    background: var(--bmh-green-soft);
}

.bmh-news-media-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 150px;
    place-items: center;
    overflow: hidden;
    background: var(--bmh-green-dark);
}

.bmh-news-media-fallback[hidden] {
    display: none;
}

.bmh-news-fallback-image {
    width: 44% !important;
    height: 44% !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1);
    opacity: .94;
}

.bmh-news-card .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bmh-news-card .slide-img .slide-img-default {
    object-fit: contain;
    padding: 20px;
}

.bmh-news-card .section-item-title {
    min-height: 64px;
    padding: 12px 14px 8px;
    color: var(--bmh-green-dark);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.bmh-news-card .section-item-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 8px 14px 12px;
}

.bmh-news-card .section-item-date {
    color: var(--bmh-muted);
    font-size: 0.76rem;
}

.bmh-news-card .view-more {
    color: var(--bmh-red);
    font-size: 0.78rem;
    font-weight: 800;
}

.bmh-news-card .new-icon-lg {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.bmh-news-pagination {
    margin-top: 14px;
}

.bmh-news-detail {
    min-width: 0;
}

.bmh-news-detail__layout {
    display: grid;
    width: 100%;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.bmh-news-date-card,
.bmh-news-article {
    border: 1px solid var(--bmh-border);
    border-radius: 14px;
    background: var(--bmh-white);
    box-shadow: var(--bmh-shadow);
}

.bmh-news-date-card {
    overflow: hidden;
    text-align: center;
}

.bmh-news-date-card time.icon {
    display: flex;
    flex-direction: column;
}

.bmh-news-date-card time.icon strong {
    order: 1;
    padding: 7px 4px;
    background: var(--bmh-gold);
    color: #4b3c00;
    font-size: 0.78rem;
    font-style: normal;
    text-transform: uppercase;
}

.bmh-news-date-card time.icon span {
    order: 2;
    padding: 6px 4px 2px;
    color: var(--bmh-green-dark);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.bmh-news-date-card time.icon em {
    order: 3;
    padding: 2px 4px 8px;
    color: var(--bmh-muted);
    font-size: 0.7rem;
    font-style: normal;
}

.bmh-news-article {
    width: 100%;
    min-width: 0;
    padding: 14px;
}

.bmh-news-article__meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bmh-border);
    color: var(--bmh-muted);
    font-size: 0.78rem;
    flex-wrap: wrap;
}

.bmh-news-document {
    min-height: 300px;
    padding: 14px;
    border: 1px solid var(--bmh-border);
    border-radius: 12px;
    background: linear-gradient(135deg, #f7faf8, var(--bmh-white));
}

.bmh-news-detail .page-body,
.bmh-news-detail .page-body1 {
    min-width: 0;
    color: var(--bmh-ink);
    font-size: 0.9rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.bmh-missing-media {
    display: grid;
    min-height: 270px;
    place-content: center;
    gap: 7px;
    padding: 24px;
    color: var(--bmh-muted);
    text-align: center;
}

.bmh-missing-media i {
    color: var(--bmh-green);
    font-size: 2.5rem;
}

.bmh-missing-media strong {
    color: var(--bmh-green-dark);
    font-size: 1rem;
}

.bmh-missing-media span {
    font-size: 0.82rem;
}

.bmh-missing-media-image {
    display: block;
    width: min(34%, 170px) !important;
    height: auto !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .94;
}

.bmh-missing-media-fallback {
    display: grid;
    width: 100%;
    min-height: 300px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bmh-green-dark);
}

.bmh-news-detail__aside {
    padding: 14px;
}

.bmh-news-detail__aside h2 {
    margin: 0 0 8px;
    color: var(--bmh-green-dark);
    font-size: 1rem;
}

.bmh-news-detail__aside > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bmh-border);
    color: var(--bmh-ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.bmh-news-detail__aside > a i {
    width: 16px;
    color: var(--bmh-green);
    text-align: center;
}

.bmh-news-share {
    margin-top: 10px;
}

.bmh-news-share summary {
    color: var(--bmh-green-dark);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 800;
}

.bmh-news-share .social-media-content {
    width: 100%;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}

.bmh-news-share .social-media-content > div {
    width: 100%;
    padding: 0 !important;
}

.bmh-news-share .social-media-content b {
    display: none;
}

.bmh-news-detail .page-body > :first-child,
.bmh-news-detail .page-body1 > :first-child {
    margin-top: 0;
}

.bmh-news-detail .page-body img,
.bmh-news-detail .page-body1 img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
}

@media (min-width: 1025px) {
    .bmh-news-detail .bmh-content-gallery__link {
        display: block;
        width: 100%;
    }

    .bmh-news-detail .bmh-content-gallery__link img {
        width: auto !important;
        max-width: min(72%, 960px) !important;
    }
}

.bmh-news-detail .page-body iframe,
.bmh-news-detail .page-body video,
.bmh-news-detail .page-body table,
.bmh-news-detail .page-body1 iframe,
.bmh-news-detail .page-body1 video,
.bmh-news-detail .page-body1 table {
    max-width: 100%;
}

.bmh-news-detail .page-body table,
.bmh-news-detail .page-body1 table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
}

.bmh-news-detail .page-body a,
.bmh-news-detail .page-body1 a {
    color: #075ea8;
    text-decoration: underline;
}

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

    .bmh-news-detail__layout {
        grid-template-columns: 70px minmax(0, 1fr);
    }

}

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

    .bmh-news-detail__layout {
        grid-template-columns: 1fr;
    }

    .bmh-news-date-card {
        display: none;
    }

}

@media (max-width: 480px) {
    .bmh-news-grid {
        grid-template-columns: 1fr;
    }

    .bmh-news-card .slide-img {
        height: 140px;
    }

    .bmh-news-card .section-item-title {
        min-height: 0;
    }

    .bmh-news-article {
        padding: 10px;
    }

    .bmh-news-document {
        min-height: 220px;
        padding: 10px;
    }

    .bmh-missing-media {
        min-height: 200px;
    }
}
