/**
 * Bhairav Page / Post Generator
 * Frontend: Main Content
 *
 * Bhairav AMS Corporate Presentation
 *
 * Visual language:
 * - Deep Navy
 * - Light Blue
 * - Gold
 * - Soft Grey
 * - White
 */


/* =========================================================
   CONTENT WRAPPER
========================================================= */

.bams-ppg-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    color: #4f5d6b;

    font-size: 17px;
    line-height: 1.72;

    overflow-wrap: anywhere;
}


/* =========================================================
   CONTENT INNER
========================================================= */

.bams-ppg-content-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   CONTENT BODY
========================================================= */

.bams-ppg-content-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.bams-ppg-content p {
    margin: 0 0 18px;

    color: #536170;

    font-size: 17px;
    line-height: 1.72;
}

.bams-ppg-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HEADINGS — BASE
========================================================= */

.bams-ppg-content h1,
.bams-ppg-content h2,
.bams-ppg-content h3,
.bams-ppg-content h4,
.bams-ppg-content h5,
.bams-ppg-content h6 {

    color: #082d5c;

    font-weight: 700;

    overflow-wrap: anywhere;
}


/* =========================================================
   H1
========================================================= */

.bams-ppg-content h1 {

    position: relative;

    margin: 0 0 30px;
    padding: 0 0 18px;

    font-size: 32px;
    line-height: 1.25;

    letter-spacing: -0.015em;

    border-bottom: 1px solid #a9d4ef;
}


/* Gold H1 accent */

.bams-ppg-content h1::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 64px;
    height: 3px;

    background: #f2ad24;
}


/* =========================================================
   H2 — SECTION HEADING
========================================================= */

.bams-ppg-content h2 {

    position: relative;

    display: flex;
    align-items: center;

    gap: 14px;

    margin: 34px 0 18px;
    padding: 0 0 10px;

    font-size: 24px;
    line-height: 1.3;

    letter-spacing: -0.01em;
}


/*
 * Engineering slash graphic
 */

.bams-ppg-content h2::before {

    content: "";

    display: inline-block;

    flex: 0 0 auto;

    width: 30px;
    height: 22px;

    background:
        linear-gradient(
            125deg,
            transparent 0 30%,
            #082d5c 31% 43%,
            transparent 44% 52%,
            #72b9e5 53% 65%,
            transparent 66% 72%,
            #f2ad24 73% 85%,
            transparent 86%
        );
}


/*
 * Light-blue horizontal line
 */

.bams-ppg-content h2::after {

    content: "";

    display: block;

    flex: 1 1 auto;

    height: 1px;

    margin-left: 4px;

    background: #a9d4ef;
}


/* =========================================================
   H3
========================================================= */

.bams-ppg-content h3 {

    position: relative;

    margin: 28px 0 12px;
    padding: 0 0 8px;

    font-size: 21px;
    line-height: 1.35;
}


/*
 * Small gold accent
 */

.bams-ppg-content h3::after {

    content: "";

    display: block;

    width: 38px;
    height: 2px;

    margin-top: 8px;

    background: #f2ad24;
}


/* =========================================================
   H4
========================================================= */

.bams-ppg-content h4 {

    margin: 22px 0 10px;

    color: #0a315f;

    font-size: 18px;
    line-height: 1.4;
}


/* =========================================================
   H5 / H6
========================================================= */

.bams-ppg-content h5,
.bams-ppg-content h6 {

    margin: 18px 0 8px;

    color: #36526e;

    font-size: 16px;
    line-height: 1.45;
}


/* =========================================================
   STRONG / BOLD
========================================================= */

.bams-ppg-content strong,
.bams-ppg-content b {

    color: #273f56;

    font-weight: 700;
}


/* =========================================================
   UNORDERED LIST
========================================================= */

.bams-ppg-content ul {

    margin: 14px 0 24px;
    padding: 0;

    list-style: none;
}


/* =========================================================
   ORDERED LIST
========================================================= */

.bams-ppg-content ol {

    margin: 14px 0 24px;
    padding-left: 28px;
}


/* =========================================================
   LIST ITEMS
========================================================= */

.bams-ppg-content li {

    position: relative;

    margin: 0 0 10px;

    color: #536170;

    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   UNORDERED LIST MARKER
========================================================= */

.bams-ppg-content ul > li {

    padding-left: 22px;
}


/*
 * Gold circular engineering marker
 */

.bams-ppg-content ul > li::before {

    content: "";

    position: absolute;

    left: 0;
    top: 9px;

    width: 7px;
    height: 7px;

    box-sizing: border-box;

    border: 2px solid #f2ad24;
    border-radius: 50%;

    background: #ffffff;
}


/* =========================================================
   ORDERED LIST MARKERS
========================================================= */

.bams-ppg-content ol > li {

    padding-left: 4px;
}


/* =========================================================
   LINKS
========================================================= */

.bams-ppg-content a {

    color: #0b4f82;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    overflow-wrap: anywhere;

    transition:
        color 0.2s ease;
}

.bams-ppg-content a:hover {

    color: #d89412;
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.bams-ppg-content blockquote {

    margin: 28px 0;

    padding: 18px 24px;

    background: #f4f8fb;

    border-left: 4px solid #f2ad24;

    color: #536170;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   CODE
========================================================= */

.bams-ppg-content code {

    padding: 2px 6px;

    background: #f2f6f9;

    color: #173c60;

    font-size: 0.9em;

    border-radius: 2px;
}


.bams-ppg-content pre {

    max-width: 100%;

    margin: 24px 0;

    padding: 20px;

    box-sizing: border-box;

    background: #082d5c;

    color: #ffffff;

    overflow-x: auto;
}


/* =========================================================
   HORIZONTAL RULE
========================================================= */

.bams-ppg-content hr {

    height: 1px;

    margin: 34px 0;

    border: 0;

    background:
        linear-gradient(
            to right,
            #f2ad24 0,
            #f2ad24 60px,
            #a9d4ef 60px,
            #a9d4ef 100%
        );
}


/* =========================================================
   IMAGES
========================================================= */

.bams-ppg-content img {

    display: block;

    max-width: 100%;
    height: auto;

    margin: 24px 0;

    box-sizing: border-box;
}


/* =========================================================
   FIGURES
========================================================= */

.bams-ppg-content figure {

    max-width: 100%;

    margin: 28px 0;
}


.bams-ppg-content figcaption {

    margin-top: 8px;

    color: #71808f;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   TABLES
========================================================= */

.bams-ppg-content table {

    width: 100%;
    max-width: 100%;

    margin: 28px 0;

    border-collapse: collapse;

    font-size: 15px;
}


.bams-ppg-content th {

    padding: 12px 14px;

    background: #082d5c;

    color: #ffffff;

    text-align: left;

    font-weight: 700;
}


.bams-ppg-content td {

    padding: 11px 14px;

    border-bottom: 1px solid #dce6ef;

    color: #536170;

    vertical-align: top;
}


.bams-ppg-content tr:nth-child(even) td {

    background: #f7f9fb;
}


/* =========================================================
   WORDPRESS BLOCKS
========================================================= */

.bams-ppg-content .wp-block {

    max-width: 100%;
}


.bams-ppg-content .wp-block-image {

    max-width: 100%;
}


.bams-ppg-content .wp-block-image img {

    max-width: 100%;
    height: auto;
}


.bams-ppg-content .wp-block-table {

    max-width: 100%;

    overflow-x: auto;
}


/* =========================================================
   CONTENT SPACING
========================================================= */

.bams-ppg-content-spacing-compact {

    padding-block: 16px;
}


.bams-ppg-content-spacing-standard {

    padding-block: 24px;
}


.bams-ppg-content-spacing-large {

    padding-block: 40px;
}


/* =========================================================
   TEXT SAFETY
========================================================= */

.bams-ppg-content p,
.bams-ppg-content li,
.bams-ppg-content h1,
.bams-ppg-content h2,
.bams-ppg-content h3,
.bams-ppg-content h4,
.bams-ppg-content h5,
.bams-ppg-content h6 {

    overflow-wrap: anywhere;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .bams-ppg-content {

        font-size: 16px;
        line-height: 1.7;
    }


    .bams-ppg-content h1 {

        font-size: 30px;
    }


    .bams-ppg-content h2 {

        font-size: 22px;
    }


    .bams-ppg-content h3 {

        font-size: 20px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .bams-ppg-content {

        font-size: 16px;
        line-height: 1.68;
    }


    .bams-ppg-content h1 {

        font-size: 27px;

        margin-bottom: 24px;
    }


    .bams-ppg-content h2 {

        gap: 10px;

        margin-top: 28px;

        font-size: 21px;
    }


    .bams-ppg-content h2::before {

        width: 25px;
        height: 19px;
    }


    .bams-ppg-content h2::after {

        min-width: 30px;
    }


    .bams-ppg-content h3 {

        font-size: 19px;
    }


    .bams-ppg-content p {

        font-size: 16px;
    }


    .bams-ppg-content li {

        font-size: 15px;
    }


    .bams-ppg-content blockquote {

        padding: 16px 18px;
    }


    .bams-ppg-content table {

        display: block;

        overflow-x: auto;
    }
}