/*
Theme Name: Admiralty Capital
Theme URI: https://www.oceancedaram.com/
Author: Antigravity AI
Description: A custom, code-first theme for Admiralty Capital.
Version: 1.0
Author URI: https://antigravity.google/
*/

/* Global Styles & Variables */
@font-face {
    font-family: "Playfair Display Regular";
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.gstatic.com/s/playfairdisplay/v40/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvUDQ.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav Regular";
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.gstatic.com/s/yantramanav/v15/flU8Rqu5zY00QEpyWJYWN6f0.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Open Sans Regular";
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.gstatic.com/s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4n.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav Black";
    font-style: normal;
    font-weight: 900;
    src: url('https://fonts.gstatic.com/s/yantramanav/v15/flUhRqu5zY00QEpyWJYWN59wesNZ.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav Bold";
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.gstatic.com/s/yantramanav/v15/flUhRqu5zY00QEpyWJYWN59IeMNZ.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav Bold";
    font-style: normal;
    font-weight: 700;
    src: url('https://fonts.gstatic.com/s/yantramanav/v15/flUhRqu5zY00QEpyWJYWN59IeMNZ.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav Light";
    font-style: normal;
    font-weight: 300;
    src: url('https://fonts.gstatic.com/s/yantramanav/v15/flUhRqu5zY00QEpyWJYWN59Yf8NZ.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav Light";
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.gstatic.com/s/yantramanav/v15/flUhRqu5zY00QEpyWJYWN59Yf8NZ.ttf') format('truetype');
    font-display: swap;
}

:root {
    --dark-red: #5c0b1b;
    --gold: #b48738;
    --off-white: #f2f0eb;
    --light-grey: #e2e2e2;
    --bs-body-bg: #fff;
    --bs-body-color: #212529;
    --bs-heading-color: inherit;
    --bs-font-sans-serif: "Yantramanav Regular", system-ui, -apple-system, sans-serif;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    width: 100%;
}

body {
    text-size-adjust: 100%;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-family: var(--bs-font-sans-serif);
    margin: 0;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Modal / Fraud Alert */
.yns-fraud-alert {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .55);
}

.yns-fraud-alert[hidden] {
    display: none;
}

.yns-fraud-alert__panel {
    width: 100%;
    max-width: 980px;
    max-height: calc(100vh - 48px);
    background: #fff;
    box-shadow: 0 16px 60px rgba(0, 0, 0, .25);
    overflow: auto;
}

.yns-fraud-alert__inner {
    padding: 48px 64px;
}

.yns-fraud-alert__title {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: .06em;
    text-align: center;
    color: #2b2b2b;
    margin: 0 0 22px 0;
}

.yns-fraud-alert__message {
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}

.yns-fraud-alert__message p {
    margin: 0 0 14px 0;
}

.yns-fraud-alert__actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.yns-fraud-alert__accept {
    appearance: none;
    border: 0;
    background: #3d3434;
    color: #fff;
    min-width: 280px;
    padding: 14px 22px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
}

/* Header & Typography */
h1, h2, h3, h4 {
    margin-top: 0;
    font-family: "Playfair Display Regular", serif;
    font-weight: 400;
}

h1 { font-size: 57px; line-height: 1.26; font-style: italic; }
h2 { font-size: 54px; line-height: 1.29; color: var(--dark-red); margin-bottom: 52px; }
h3 { font-size: 36px; line-height: 1.1; margin-bottom: .5rem; }
h4 { font-size: 33px; font-style: italic; line-height: 1.33; text-transform: capitalize; }

.container {
    max-width: 1281px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 150px;
    padding-right: 150px;
}

@media only screen and (max-width: 991px) {
    .container { padding-left: 30px; padding-right: 30px; }
}

/* Theme Elements */
header.yns-template {
    left: 0;
    padding: 1.33333em 0 1.77778em;
    position: fixed;
    top: 0;
    transition: background-color .5s ease-in-out;
    width: 100%;
    z-index: 9999;
    background-color: var(--dark-red); /* Set as active by default for now */
}

header.yns-template .navbar-brand {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 999;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-family: "Playfair Display Regular", serif;
}

/* Hero Section */
.yns-home--banner {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.yns-home--banner video {
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.home--banner-content {
    padding: 2.66667em 0 4.77778em;
    width: 100%;
    color: #fff;
    padding-bottom: 80px;
}

.home--banner-content--wrapper {
    max-width: 34.2778em;
    position: relative;
}

.home--banner-content label {
    font-family: "Yantramanav Bold", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Trailblazers / Brand Img Section */
.yns-ate--img--full-width {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 22.6667em;
    position: relative;
    padding: 80px 0;
}

.yns-ate--img--full-width .ate--img--content {
    margin: 0 auto;
    max-width: 41.7222em;
    padding: 1.11111em 1.55556em;
    text-align: center;
}

.yns-ate--img--full-width .ate--img--content header {
    margin-bottom: .833333em;
}

.yns-ate--img--full-width .ate--img--content header h2 {
    color: #fff;
    font-family: "Yantramanav Black", sans-serif;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.13;
    margin-bottom: 0;
    text-transform: uppercase;
}

.yns-ate--img--full-width .ate--img--content p {
    color: var(--off-white);
    font-family: "Playfair Display Regular", serif;
    font-size: 33px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.33;
    margin: 0;
}

/* Two-column Sections */
.home--two-col-text {
    background-color: var(--off-white);
    padding: 3.83333em 0 4.83333em;
}

.home--two-col-text aside {
    width: 43.5%;
}

.home--two-col-text main {
    width: 50.3%;
}

@media only screen and (max-width: 991px) {
    .home--two-col-text aside, .home--two-col-text main { width: 100%; }
}


/* Infographic Section (Count-up Match) */
.yns-home--infographic {
    padding: 100px 0;
}

.yns-home--infographic .container {
    max-width: 976px;
    padding: 0 30px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
}

@media only screen and (max-width: 991px) {
    .yns-home--infographic .container {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 0 20px !important;
    }
}

.yns-home--infographic-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 24px;
}

.yns-home--infographic-item--number, .yns-home--infographic-item--symbol {
    color: var(--dark-red);
    font-family: "Playfair Display Regular", serif;
    font-size: 145px;
    font-weight: 400;
    line-height: 1.1;
}

.yns-home--infographic-item--text {
    display: block;
    font-family: "Playfair Display Regular", serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.33;
    margin-top: 69px; /* Audit Match */
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .yns-home--infographic-item--number, .yns-home--infographic-item--symbol { font-size: 80px; }
    .yns-home--infographic-item--text { font-size: 18px; margin-top: 15px; }
    .yns-home--infographic-item { padding-bottom: 0; }
}

/* Intro / Expertise Section (Sticky Aside) */
.home--two-col-text--v2 {
    padding: 69px 0 87px 0; /* Audit Match */
    background-color: #f2f0eb;
}

.home--two-col-text--v2 .container {
    max-width: 976px; /* Use the same clean container width */
    display: flex;
    justify-content: space-between;
    gap: 60.5px; /* Audit Match */
    padding: 0;
}

.home--two-col-text--v2 aside {
    width: 424.55px; /* Audit Match */
    flex: 0 0 424.55px;
}

@media only screen and (min-width: 768px) {
    .home--two-col-text--v2 aside {
        align-self: flex-start;
        position: sticky;
        top: 200px;
    }
}

.home--two-col-text--v2 main {
    width: 490.93px; /* Audit Match */
    flex: 0 0 490.93px;
}

.home--two-col-text--v2 label {
    font-family: "Yantramanav Regular", sans-serif;
    display: inline-block;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--dark-red);
    margin-bottom: 15px;
}

.home--two-col-text--v2 h2 {
    font-size: 54px;
    line-height: 1.29;
    color: var(--dark-red);
}

.home--two-col-text--v2 main h3 {
    font-size: 36px;
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 30px;
}

.home--two-col-text--v2 main h4 {
    font-size: 33px;
    font-style: italic;
    line-height: 1.33;
    color: var(--gold);
    margin-bottom: 1.11111em;
}

.home--two-col-text--v2 main p {
    margin-bottom: 1.77778em;
    color: #444;
}

@media only screen and (max-width: 991px) {
    .home--two-col-text--v2 aside, .home--two-col-text--v2 main { width: 100%; margin-right: 0; position: static; }
}

/* Home Section Alt (Dark Red) */
.home--two-col-text--alt {
    background-color: var(--dark-red);
    padding: 100px 0 80px 0;
}

.home--two-col-text--alt .container {
    max-width: 976px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 0;
}

@media only screen and (max-width: 991px) {
    .home--two-col-text--alt .container {
        flex-direction: column;
        padding: 0 30px;
    }
}

.home--two-col-text--alt aside {
    width: 424px;
    flex: 0 0 424px;
}

.home--two-col-text--alt main {
    width: 490px;
    flex: 0 0 490px;
}

.home--two-col-text--alt h2, .home--two-col-text--alt h4, .home--two-col-text--alt p {
    color: #fff;
}

/* Link Underline Component */
.link--underline {
    display: inline-block;
    padding: 0 0 8px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Open Sans Regular", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.link--underline::after {
    background-color: var(--gold);
    bottom: 0;
    content: "";
    height: .277778em;
    left: 0;
    position: absolute;
    transition: width .5s ease-in-out;
    width: 50%;
}

.link--underline:hover::after {
    width: 100%;
}

.link--underline._ffffff {
    color: #ffffff;
}

/* --- Mobile Responsiveness Fixes --- */

@media only screen and (max-width: 991px) {
    /* Responsive Containers */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }

    /* Homepage Sections */
    .home--two-col-text--v2 .container,
    .home--two-col-text--alt .container {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }

    .home--two-col-text--v2 aside,
    .home--two-col-text--v2 main,
    .home--two-col-text--alt aside,
    .home--two-col-text--alt main {
        width: 100% !important;
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }

    .home--two-col-text--v2 h2 {
        font-size: 38px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    /* Services Intro Wrapper */
    .home--services-intro--wrapper {
        padding: 5em 1.5em 2em !important;
    }

    /* Practice Areas (Fixing the major overflow) */
    .home--practice-areas .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }

    .home--practice-areas--wrapper {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .home--practice-areas aside {
        width: 100% !important;
        margin-bottom: 30px !important;
        flex: 0 0 auto !important;
    }

    .home--practice-areas main {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    /* The actual list of services */
    .home--practice-areas main .d-flex.flex-nowrap,
    .home--practice-areas main .d-flex.flex-wrap,
    .responsive-flex-container {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
        justify-content: center !important;
        display: flex !important;
    }

    .home--practice-area.scroll-trigger--item {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        height: auto !important;
        min-height: 400px !important;
        flex: 0 0 auto !important;
    }
}

@media only screen and (max-width: 575px) {
    h1 { font-size: 36px !important; }
    h2 { font-size: 32px !important; }
    h3 { font-size: 28px !important; }

    .yns-home--banner {
        height: 70vh !important;
    }

    .home--banner-content {
        padding-bottom: 40px !important;
    }
}

/* ==========================================================================
   Typographic & image polish
   1. Justified body text      2. Banners / images on touch & mobile
   Rules use !important where a page template has an inline <style> or
   style="" attribute that would otherwise win.
   ========================================================================== */

/* ---- 1. Justified text ------------------------------------------------- */
main :is(p, li, dd, blockquote),
main :is(.page-intro--text h4, .expert-header h4, h4.gold-italic-intro),
.home--practice-areas aside > div,
.footer--legal-info p {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Centered blocks stay centered (banners, call-to-actions, infographics) */
main :is(.ate--img--content, .cta, .cta--full-width, .cta--full-width--bkgd,
         .licensing-commitment, .ip-dual--header, .oval-text, .text-center,
         .home--banner-content, .tab-box, .yns-home--infographic) :is(p, li, h4, div) {
    text-align: center;
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* Short utility lines (contact labels, card meta) must not stretch */
main :is(.text-sm, .text-xs, .team-card--title, .team-card--bio) {
    text-align: left;
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* Long gold quotes: smaller on phones so justified lines stay even */
@media only screen and (max-width: 575px) {
    main :is(.page-intro--text h4, h4.gold-italic-intro, .expert-header h4) {
        font-size: 21px !important;
        line-height: 1.45 !important;
    }
}

/* ---- 2. Full-width banners -------------------------------------------- */

/* iOS Safari (and every touch device) cannot render background-attachment:
   fixed + cover correctly: the picture is blown up and shifted. Use scroll. */
@media only screen and (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .ate--img--full-width,
    .yns-ate--img--full-width {
        background-attachment: scroll !important;
    }
}

/* Photo banners: keep the subject in frame (focal point per picture) */
.ate--img--full-width[style*="admiralty-capital.jpg"],
.yns-ate--img--full-width[style*="admiralty-capital.jpg"] {
    background-position: 62% 55% !important;      /* the two engraved pencils */
}

.ate--img--full-width[style*="imgi_8_Home-Page-2"] {
    background-position: 45% 30% !important;      /* the three people */
}

.ate--img--full-width[style*="aboutUs2"] {
    background-position: 50% 50% !important;      /* the framed painting */
}

/* Pencils on phones: dedicated crop with both engraved pencils in frame */
@media only screen and (max-width: 767px) {
    .yns-ate--img--full-width[style*="admiralty-capital.jpg"],
    .ate--img--full-width[style*="admiralty-capital.jpg"] {
        background-image: url("images/mobile/admiralty-capital-m.jpg") !important;
        background-position: center !important;
        background-size: cover !important;
        justify-content: flex-start !important;    /* text above the engraving */
    }
}

/* Home photo banners on phones: frame = picture ratio, caption small enough
   to leave faces / engraving visible, light veil so the white text stays legible */
@media only screen and (max-width: 767px) {
    .yns-ate--img--full-width[style*="admiralty-capital.jpg"] {
        aspect-ratio: 390 / 500 !important;
        background-position: 55% center !important;
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"],
    .ate--img--full-width[style*="imgi_8_Home-Page-2"] {
        min-height: 0 !important;
        aspect-ratio: 390 / 363;
        padding: 28px 0 !important;
    }

    .ate--img--full-width[style*="imgi_8_Home-Page-2"] {
        justify-content: flex-end !important;      /* text under the faces */
        aspect-ratio: 390 / 320;
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"] .ate--img--content,
    .ate--img--full-width[style*="imgi_8_Home-Page-2"] .ate--img--content {
        padding: 0 1.2em;
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"] .ate--img--content > p,
    .ate--img--full-width[style*="imgi_8_Home-Page-2"] .ate--img--content > p {
        font-size: 21px !important;
        line-height: 1.3 !important;
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"] .ate--img--content header h2,
    .ate--img--full-width[style*="imgi_8_Home-Page-2"] .ate--img--content header h2 {
        font-size: 19px !important;
        letter-spacing: 1.5px !important;
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"] .ate--img--content header,
    .ate--img--full-width[style*="imgi_8_Home-Page-2"] .ate--img--content header {
        margin-bottom: .5em;
    }
}

/* Page-top photos (object-fit: cover) */
.page-intro--img img[src*="aboutUs1"] { object-position: 50% 25%; }
.page-intro--img img[src*="philo1"]   { object-position: 50% 30%; }
.img-box img[src*="imgi_2_investigation"] { object-position: 72% 40%; }

@media only screen and (max-width: 767px) {
    .page-intro--img img[src*="aboutUs1"] { object-position: 52% 25%; }
    .page-intro--img img[src*="philo1"]   { object-position: 85% 30%; }

    .ate--img--full-width[style*="aboutUs2"] {
        min-height: 380px !important;
    }

    /* Investigation intro picture: fixed size, centered, never squeezed */
    .ate--icon-content .icon-box {
        flex: 0 0 auto !important;
        width: 180px;
        max-width: 60%;
        margin: 0 auto;
    }
}

/* Illustration banners (service pages): on phones show the whole drawing
   on a pre-cropped version, framed on the page background colour. */
@media only screen and (max-width: 767px) {
    .ate--img--full-width[style*="imgi_4_"],
    .ate--img--full-width[style*="imgi_6_"] {
        background-color: #f1f0eb;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: var(--banner-ratio, 1.5);
        margin: 2.25em 0 !important;
    }

    .ate--img--full-width[style*="imgi_4_Capital-rising"] {
        background-image: url("images/mobile/imgi_4_Capital-rising-banner-copy-3-m.jpg") !important;
        --banner-ratio: 1300 / 1031;
    }
    .ate--img--full-width[style*="imgi_4_Classic-Corporate-Finance"] {
        background-image: url("images/mobile/imgi_4_Classic-Corporate-Finance-2-m.jpg") !important;
        background-color: #fff;
        --banner-ratio: 1300 / 812;
    }
    .ate--img--full-width[style*="imgi_4_Corporate-Intelligence"] {
        background-image: url("images/mobile/imgi_4_Corporate-Intelligence-Banner-copy-m.jpg") !important;
        --banner-ratio: 1300 / 813;
    }
    .ate--img--full-width[style*="imgi_4_Investment-Research"] {
        background-image: url("images/mobile/imgi_4_Investment-Research-Merchant-Banking-copy-m.jpg") !important;
        --banner-ratio: 1300 / 812;
    }
    .ate--img--full-width[style*="imgi_4_Litigation-Support"] {
        background-image: url("images/mobile/imgi_4_Litigation-Support-copy-m.jpg") !important;
        --banner-ratio: 1300 / 929;
    }
    .ate--img--full-width[style*="imgi_4_Mergers-Acquisitions"] {
        background-image: url("images/mobile/imgi_4_Mergers-Acquisitions-Valuations-Banner-copy-m.jpg") !important;
        --banner-ratio: 1300 / 812;
    }
    .ate--img--full-width[style*="imgi_4_Real-estate"] {
        background-image: url("images/mobile/imgi_4_Real-estate-Banner-copy-m.jpg") !important;
        --banner-ratio: 1300 / 1012;
    }
    .ate--img--full-width[style*="imgi_4_Restructuring"] {
        background-image: url("images/mobile/imgi_4_Restructuring-Crisis-Management-banner-copy-m.jpg") !important;
        --banner-ratio: 1300 / 813;
    }
    .ate--img--full-width[style*="imgi_6_Investigation"] {
        background-image: url("images/mobile/imgi_6_Investigation-Service-Banner-copy-m.jpg") !important;
        --banner-ratio: 1300 / 1040;
    }
}

/* Picture + text blocks must stack on tablets / phones (the flex-column helper
   classes are not defined on every page, so the row layout survived). */
@media only screen and (max-width: 991px) {
    .ate--img-content > .d-flex {
        flex-direction: column !important;
    }

    .ate--img-content .img-box,
    .ate--img-content .ate--img-content--text {
        width: 100% !important;
    }

    .ate--img-content .img-box {
        aspect-ratio: 3 / 2;
    }

    .ate--img-content .img-box img {
        height: 100%;
        object-fit: cover;
        object-position: 72% 40%;
    }

    .ate--img-content .ate--img-content--text {
        padding: 3em 1.5em 4em !important;
    }
}

/* Home photo banners on phones: no veil over the picture (colours stay vivid);
   a soft gradient only behind the caption keeps the white text readable. */
@media only screen and (max-width: 767px) {
    .yns-ate--img--full-width[style*="admiralty-capital.jpg"]::before,
    .ate--img--full-width[style*="imgi_8_Home-Page-2"]::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        pointer-events: none;
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"]::before {
        top: 0;
        height: 38%;
        background: linear-gradient(to bottom, rgba(10, 4, 0, .62), rgba(10, 4, 0, 0));
    }

    .ate--img--full-width[style*="imgi_8_Home-Page-2"]::before {
        bottom: 0;
        height: 48%;
        background: linear-gradient(to top, rgba(10, 4, 0, .66), rgba(10, 4, 0, 0));
    }

    .yns-ate--img--full-width[style*="admiralty-capital.jpg"] .ate--img--content,
    .ate--img--full-width[style*="imgi_8_Home-Page-2"] .ate--img--content {
        position: relative;
        z-index: 1;
        text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
    }
}

/* Parallax layer (class added by assets/js/mobile-parallax.js on touch / small
   screens): the picture sits in a pseudo-element 16% taller than the banner and
   is shifted with the scroll position, like background-attachment: fixed. */
.has-parallax {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.has-parallax::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8%;
    bottom: -8%;
    z-index: -1;
    background: inherit;
    transform: translate3d(0, var(--plx, 0px), 0);
    will-change: transform;
    pointer-events: none;
}
