﻿/* =====================================================
   INFORMATION HUB POST - SHARED
   ===================================================== */

.hub-post-page {
    width: 100%;
    background: #ffffff;
}


/* =====================================================
   HERO
   ===================================================== */

.hub-post-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f1f1f;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}


    .hub-post-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.42);
    }


.hub-post-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 170px 20px 130px;
}


.hub-post-category {
    margin: 0 0 20px;
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
}


.hub-post-title {
    max-width: 950px;
    margin: 0 auto 35px;
    color: #ffffff !important;
    font-size: 54px;
    line-height: 1.12;
    font-weight: 700;
}


.hub-post-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    min-height: 43px;
    padding: 0 22px;
    border: 1px solid #88a52e;
    background: #88a52e;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}


    .hub-post-return:hover {
        background: #ffffff;
        color: #55732b !important;
    }


/* =====================================================
   CONTENT
   ===================================================== */

.hub-post-content-section {
    width: 100%;
    padding: 85px 20px 100px;
    box-sizing: border-box;
    background: #ffffff;
}


.hub-post-content {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    color: #444444;
    font-size: 16px;
    line-height: 1.65;
}


    .hub-post-content p {
        margin: 0 0 22px;
        color: #444444;
    }


    .hub-post-content h1,
    .hub-post-content h2,
    .hub-post-content h3,
    .hub-post-content h4 {
        color: #55732b !important;
        font-weight: 700;
    }


    .hub-post-content h1 {
        margin: 42px 0 18px;
        font-size: 34px;
        line-height: 1.2;
    }


    .hub-post-content h2 {
        margin: 38px 0 18px;
        font-size: 32px;
        line-height: 1.2;
    }


    .hub-post-content h3 {
        margin: 30px 0 14px;
        font-size: 24px;
        line-height: 1.25;
    }


    .hub-post-content ul,
    .hub-post-content ol {
        margin: 0 0 25px;
        padding-left: 28px;
    }


    .hub-post-content li {
        margin-bottom: 9px;
        color: #444444;
    }


    .hub-post-content strong {
        font-weight: 700;
    }


    .hub-post-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 30px auto;
        object-fit: contain;
    }


    .hub-post-content a {
        color: #55732b;
        text-decoration: underline;
    }


/* =====================================================
   SIDE-BY-SIDE SOURCE IMAGES
   ===================================================== */

.hub-post-image-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 30px 0;
}


    .hub-post-image-row img {
        width: 100%;
        margin: 0;
    }


/* =====================================================
   VIDEO
   ===================================================== */

.hub-post-video-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 35px auto;
    aspect-ratio: 16 / 9;
    background: #000000;
}


    .hub-post-video-wrap iframe,
    .hub-post-content iframe {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: 16 / 9;
        margin: 35px auto;
        border: 0;
    }


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1024px) {

    .hub-post-hero {
        min-height: 540px;
    }


    .hub-post-title {
        font-size: 46px;
    }


    .hub-post-content-section {
        padding: 70px 35px 85px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .hub-post-hero {
        min-height: 470px;
    }


    .hub-post-hero-inner {
        padding: 140px 20px 100px;
    }


    .hub-post-category {
        font-size: 14px;
        letter-spacing: 4px;
    }


    .hub-post-title {
        font-size: 36px;
    }


    .hub-post-content-section {
        padding: 55px 20px 70px;
    }


    .hub-post-content {
        font-size: 15px;
    }


        .hub-post-content h1 {
            font-size: 28px;
        }


        .hub-post-content h2 {
            font-size: 27px;
        }


        .hub-post-content h3 {
            font-size: 22px;
        }


    .hub-post-image-row {
        grid-template-columns: 1fr;
    }
}
