/*
|--------------------------------------------------------------------------
| CGEI Advisory Page
|--------------------------------------------------------------------------
*/

.advisory-page {
    width: 100%;

    background: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
}

body,
body * {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13pt !important;
}

/*
|--------------------------------------------------------------------------
| Advisory opening section
|--------------------------------------------------------------------------
*/

.advisory-opening-section,
.advisory-support-section,
.advisory-intelligence-strip {
    width: calc(100% - 40px);
    max-width: calc(var(--content-width) - 40px);

    margin-right: auto;
    margin-left: auto;
}

.advisory-opening-section {
    padding: 24px 10px 0;
}

.advisory-opening-section p {
    margin: 0;
    padding: 0;

    color: #000000;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
    font-weight: 400;
    line-height: 1.7;

    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;

    -webkit-hyphens: none;
    hyphens: none;

    word-break: normal;
    overflow-wrap: normal;
}

/*
|--------------------------------------------------------------------------
| Advisory support section
|--------------------------------------------------------------------------
*/

.advisory-support-section {
    padding: 24px 10px 18px;
}

/*
|--------------------------------------------------------------------------
| Section heading
|--------------------------------------------------------------------------
*/

.advisory-section-heading {
    margin: 0 0 20px;
    padding: 0;

    color: #001d50;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.35;

    text-align: center;
}

.advisory-section-heading::before,
.advisory-section-heading::after {
    display: none !important;

    width: 0;
    height: 0;

    content: none !important;
}

/*
|--------------------------------------------------------------------------
| Advisory support cards
|--------------------------------------------------------------------------
*/

.advisory-support-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 18px;

    width: 100%;
}

.advisory-support-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;

    gap: 15px;

    flex: 0 1 calc(25% - 14px);

    width: calc(25% - 14px);
    min-width: 0;
    min-height: 148px;

    padding: 18px;

    overflow: hidden;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            120deg,
            #00163e 0%,
            #00275f 55%,
            #001235 100%
        );

    color: #ffffff;
}

/*
|--------------------------------------------------------------------------
| Transparent gold support icons
|--------------------------------------------------------------------------
*/

.advisory-support-icon {
    display: block;

    width: 78px;
    height: 78px;
    max-width: 78px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent !important;
    box-shadow: none !important;

    object-fit: contain;
    object-position: center;
}

.advisory-support-card h2 {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.45;

    text-align: left;
}

/*
|--------------------------------------------------------------------------
| Intelligence Assets and Advisory CTA strip
|--------------------------------------------------------------------------
*/

.advisory-intelligence-strip {
    display: grid;

    grid-template-columns:
        145px
        3px
        minmax(0, 1.55fr)
        minmax(250px, 0.75fr);

    align-items: center;

    gap: 30px;

    min-height: 200px;

    margin-top: 16px;
    margin-bottom: 24px;

    padding: 26px 46px;

    overflow: hidden;

    border-radius: 11px;

    background:
        linear-gradient(
            110deg,
            #00163e 0%,
            #00275f 55%,
            #001235 100%
        );

    color: #ffffff;
}

/*
|--------------------------------------------------------------------------
| Handshake icon
|--------------------------------------------------------------------------
*/

.advisory-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    margin: 0;
    padding: 0;

    background: transparent;
}

.advisory-strip-icon img {
    display: block;

    width: 120px;
    height: 120px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent !important;
    box-shadow: none !important;

    object-fit: contain;
}

/*
|--------------------------------------------------------------------------
| Gold vertical divider
|--------------------------------------------------------------------------
*/

.advisory-strip-divider {
    width: 3px;
    height: 128px;

    background: #ffb700;
}

/*
|--------------------------------------------------------------------------
| Intelligence Assets content
|--------------------------------------------------------------------------
*/

.advisory-strip-information {
    min-width: 0;
}

.advisory-strip-information h2,
.advisory-strip-action h2 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.4;
}

.advisory-strip-information h2 {
    width: fit-content;
    max-width: 100%;

    margin: 0 0 11px;
    padding: 0 0 5px;

    border-bottom: 4px solid #d4af37;
}

.advisory-strip-information p {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
    font-weight: 400;
    line-height: 1.6;

    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;

    -webkit-hyphens: none;
    hyphens: none;

    word-break: normal;
    overflow-wrap: normal;
}

/*
|--------------------------------------------------------------------------
| Advisory CTA
|--------------------------------------------------------------------------
*/

.advisory-strip-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    min-width: 0;
}

.advisory-strip-action h2 {
    margin-bottom: 15px;

    text-align: center;
}

.advisory-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 11px 22px;

    border-radius: 7px;

    background:
        linear-gradient(
            100deg,
            #ffad00 0%,
            #ffc72c 50%,
            #ffad00 100%
        );

    color: #111111;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
    font-weight: 700;

    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}

.advisory-contact-button:hover,
.advisory-contact-button:focus-visible {
    filter: brightness(1.06);

    transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| Medium desktop screens
|--------------------------------------------------------------------------
*/

@media (max-width: 1250px) {

    .advisory-support-card {
        flex-basis: calc(33.333% - 13px);
        width: calc(33.333% - 13px);
    }

    .advisory-intelligence-strip {
        grid-template-columns:
            120px
            3px
            minmax(0, 1.4fr)
            minmax(220px, 0.7fr);

        gap: 24px;

        padding: 24px 32px;
    }

    .advisory-strip-icon img {
        width: 102px;
        height: 102px;
    }
}

/*
|--------------------------------------------------------------------------
| Tablet screens
|--------------------------------------------------------------------------
*/

@media (max-width: 950px) {

    .advisory-support-section {
        padding-right: 0;
        padding-left: 0;
    }

    .advisory-support-card {
        flex-basis: calc(50% - 9px);
        width: calc(50% - 9px);
    }

    .advisory-intelligence-strip {
        grid-template-columns: 110px minmax(0, 1fr);

        gap: 22px;

        padding: 24px 28px;
    }

    .advisory-strip-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .advisory-strip-divider {
        display: none;
    }

    .advisory-strip-information {
        grid-column: 2;
        grid-row: 1;
    }

    .advisory-strip-action {
        grid-column: 2;
        grid-row: 2;

        display: grid;
        grid-template-columns: minmax(0, 1fr) 210px;
        align-items: center;

        gap: 20px;
    }

    .advisory-strip-action h2 {
        margin: 0;

        text-align: left;
    }

    .advisory-strip-icon img {
        width: 95px;
        height: 95px;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile devices
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .advisory-opening-section,
    .advisory-support-section,
    .advisory-intelligence-strip {
        width: calc(100% - 28px);
    }

    .advisory-opening-section {
        padding: 18px 0 0;
    }

    .advisory-opening-section p {
        font-size: 13pt;
        font-weight: 400;
        line-height: 1.6;

        text-align: justify;
        text-align-last: left;
        text-justify: inter-word;
    }

    .advisory-support-section {
        padding-top: 18px;
    }

    .advisory-section-heading {
        margin-bottom: 16px;

        font-size: 13pt;
    }

    .advisory-support-grid {
        gap: 12px;
    }

    .advisory-support-card {
        grid-template-columns: 70px minmax(0, 1fr);

        flex-basis: 100%;

        width: 100%;
        min-height: 122px;

        padding: 15px;
    }

    .advisory-support-icon {
        width: 66px;
        height: 66px;
        max-width: 66px;
    }

    .advisory-support-card h2 {
        font-size: 13pt;
    }

    /*
    |--------------------------------------------------------------------------
    | Mobile intelligence and CTA strip
    |--------------------------------------------------------------------------
    */

    .advisory-intelligence-strip {
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 15px;

        min-height: auto;

        margin-top: 12px;
        margin-bottom: 18px;

        padding: 22px 18px;
    }

    .advisory-strip-icon {
        width: 100%;
    }

    .advisory-strip-icon img {
        width: 90px;
        height: 90px;
    }

    .advisory-strip-information {
        width: 100%;
    }

    .advisory-strip-information h2 {
        width: fit-content;
        max-width: 100%;

        margin: 0 auto 10px;
        padding-bottom: 5px;

        border-bottom: 4px solid #d4af37;

        font-size: 13pt;
        text-align: center;
    }

    .advisory-strip-information p {
        font-size: 13pt;
        line-height: 1.55;

        text-align: justify;
        text-align-last: left;
        text-justify: inter-word;
    }

    .advisory-strip-action {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        padding-top: 16px;

        border-top: 1px solid rgba(255, 183, 0, 0.75);
    }

    .advisory-strip-action h2 {
        margin-bottom: 13px;

        font-size: 13pt;
        text-align: center;
    }

    .advisory-contact-button {
        width: 100%;
        min-width: 0;

        font-size: 13pt;
    }
}

/*
|--------------------------------------------------------------------------
| Very narrow mobile devices
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .advisory-support-card {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .advisory-support-icon {
        width: 56px;
        height: 56px;
        max-width: 56px;
    }

    .advisory-intelligence-strip {
        padding-right: 15px;
        padding-left: 15px;
    }
}