/* =========================================================
   DYNAMIC PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;
    min-height: 500px;
    height: 500px;
    overflow: hidden;
    background: #0d2b52;
}

/* Hero Image */
.page-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

/* Dark gradient over image */
.page-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 31, 66, 0.90) 0%,
            rgba(5, 31, 66, 0.70) 35%,
            rgba(5, 31, 66, 0.30) 68%,
            rgba(5, 31, 66, 0.08) 100%
        );

    z-index: 1;
}

/* Hero Content */
.page-hero .container {
    position: relative;
    height: 100%;
    z-index: 2;
}

.page-hero-content {
    position: absolute;

    top: 50%;
    left: 0;

    transform: translateY(-50%);

    max-width: 720px;

    color: #fff;
}

/* Small Label */
.page-hero-label {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #ffc72c;
}

/* Page Title */
.page-hero-content h1 {
    margin: 0;

    font-family: var(--font-display, inherit);

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;

    font-weight: 800;

    color: #fff;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

.page-content-section {
    padding: 52px 0;

    background: #fff;
}

/* Main content wrapper */
.page-content-section > .container {
    max-width: 1100px;
}


/* =========================================================
   TYPOGRAPHY INSIDE DYNAMIC CONTENT
   ========================================================= */

.page-content-section {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.page-content-section p {
    margin-bottom: 20px;
}

.page-content-section h1,
.page-content-section h2,
.page-content-section h3,
.page-content-section h4,
.page-content-section h5,
.page-content-section h6 {
    margin-top: 35px;
    margin-bottom: 15px;

    color: #15294a;

    font-weight: 700;
    line-height: 1.3;
}

.page-content-section h1 {
    font-size: 40px;
}

.page-content-section h2 {
    font-size: 34px;
}

.page-content-section h3 {
    font-size: 28px;
}

.page-content-section h4 {
    font-size: 23px;
}

.page-content-section h5 {
    font-size: 20px;
}

.page-content-section h6 {
    font-size: 18px;
}


/* Links */
.page-content-section a {
    color: #09a7d8;
    font-weight: 600;
    text-decoration: none;

    transition: color 0.2s ease;
}

.page-content-section a:hover {
    color: #078db7;
    text-decoration: underline;
}


/* Lists */
.page-content-section ul,
.page-content-section ol {
    margin: 0 0 25px;
    padding-left: 30px;
}

.page-content-section li {
    margin-bottom: 8px;
}


/* Images added from TinyMCE */
.page-content-section img {
    max-width: 100%;
    height: auto;

    display: block;

    margin: 25px auto;

    border-radius: 10px;
}


/* Tables added from editor */
.page-content-section table {
    width: 100% !important;

    margin: 30px 0;

    border-collapse: collapse;

    overflow: hidden;
}

.page-content-section table th,
.page-content-section table td {
    padding: 12px 15px;

    border: 1px solid #e5e9ee;

    text-align: left;
}

.page-content-section table th {
    background: #e9f8fc;

    color: #15294a;

    font-weight: 700;
}


/* Blockquote */
.page-content-section blockquote {
    margin: 30px 0;

    padding: 20px 25px;

    border-left: 5px solid #ffc72c;

    background: #f6f9fb;

    color: #555;

    border-radius: 0 8px 8px 0;
}


/* Horizontal line */
.page-content-section hr {
    margin: 35px 0;

    border: 0;
    border-top: 1px solid #e5e9ee;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .page-hero {
        height: 380px;
        min-height: 380px;
    }

    .page-hero-content {
        left: 25px;
        right: 25px;
    }

    .page-hero-content h1 {
        font-size: 48px;
    }

    .page-content-section {
        padding: 60px 0 80px;
    }

}


@media (max-width: 767px) {

    .page-hero {
        height: 330px;
        min-height: 330px;
    }

    .page-hero-image {
        object-position: center;
    }

    .page-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 31, 66, 0.88) 0%,
                rgba(5, 31, 66, 0.65) 100%
            );
    }

    .page-hero-content {
        left: 20px;
        right: 20px;
    }

    .page-hero-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .page-hero-content h1 {
        font-size: 40px;
    }

    .page-content-section {
        padding: 45px 0 65px;
    }

    .page-content-section {
        font-size: 16px;
        line-height: 1.7;
    }

    .page-content-section h1 {
        font-size: 32px;
    }

    .page-content-section h2 {
        font-size: 28px;
    }

    .page-content-section h3 {
        font-size: 24px;
    }

    .page-content-section table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}


@media (max-width: 480px) {

    .page-hero {
        height: 290px;
        min-height: 290px;
    }

    .page-hero-content h1 {
        font-size: 34px;
    }

    .page-content-section {
        padding: 35px 0 50px;
    }

}