@media (max-width: 991px) {
    .details-page__content h2 {
        color: #00245a;
        font-size: 24px !important;
    }
}

/* ============================
   Blog Post Header
   ============================ */

.blog-post-header {
    margin-bottom: 36px;
}

.blog-post-header__hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 36, 90, 0.10);
    margin-bottom: 24px;
}

.blog-post-header__hero img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

.blog-post-header__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-post-header__date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(157, 250, 80, 0.15);
    color: #00245a;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(157, 250, 80, 0.5);
    letter-spacing: 0.2px;
}

.blog-post-header__date .fa {
    color: #00245a;
    opacity: 0.6;
    font-size: 12px;
}

.blog-post-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: #00245a;
    line-height: 1.3;
    margin: 0 0 20px;
    letter-spacing: -0.3px;
}

.blog-post-header__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9dfa50, #7dd83a);
    border-radius: 2px;
}

.blog-post-body {
    font-size: 16px;
    line-height: 1.85;
    color: #2d3748;
    padding-top: 28px;
}

.blog-post-body p {
    margin-bottom: 1.25em;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.blog-post-body h2,
.blog-post-body h3 {
    color: #00245a;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 600;
}

.blog-post-body a {
    color: #00245a;
    text-decoration: underline;
    text-decoration-color: #9dfa50;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.blog-post-body a:hover {
    text-decoration-color: #00245a;
}

/* ============================
   Video Play Button & Modal
   ============================ */

.blog-post-header__hero--video {
    cursor: pointer;
}

.blog-post-header__hero--video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 36, 90, 0.2);
    transition: background 0.3s;
    z-index: 1;
}

.blog-post-header__hero--video:hover::after {
    background: rgba(0, 36, 90, 0.1);
}

.blog-post-header__play {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 76px;
    height: 76px;
    background: rgba(157, 250, 80, 0.92);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, background 0.3s;
}

.blog-post-header__hero--video .blog-post-header__play {
    display: flex;
}

.blog-post-header__hero--video:hover .blog-post-header__play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #9dfa50;
}

.blog-post-header__play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent #00245a;
    margin-left: 4px;
}

/* listing play badge */
.blog-posts__item-thumb {
    display: block;
    position: relative;
    margin-bottom: 15px;
}

.blog-posts__item-thumb--video::after {
    content: '\f04b';
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(157, 250, 80, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00245a;
    font-size: 15px;
    padding-left: 3px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.blog-posts__item-thumb--video:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
}

/* video modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.video-modal--active {
    display: flex;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 920px;
    z-index: 1;
    animation: vmFadeIn 0.25s ease;
}

.video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 4px 8px;
    line-height: 1;
}

.video-modal__close:hover {
    opacity: 1;
}

.video-modal__player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

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

@keyframes vmFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---- responsive ---- */

@media (max-width: 768px) {
    .blog-post-header__hero img {
        max-height: 260px;
    }

    .blog-post-header h1 {
        font-size: 24px;
        line-height: 1.35;
    }

    .blog-post-body {
        font-size: 15px;
        line-height: 1.75;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .blog-post-header__hero {
        border-radius: 10px;
        margin-bottom: 18px;
    }

    .blog-post-header h1 {
        font-size: 22px;
    }

    .blog-post-header__date {
        font-size: 12px;
        padding: 5px 12px;
    }
}
