/* =========================================
   MARINA PUBLICATIONS - ALL UNIT MANAGEMENT
========================================= */

.aum-page {
    --aum-navy: #172554;
    --aum-blue: #244DFF;
    --aum-orange: #D9480F;
    --aum-text: #52658A;
    --aum-muted: #687A9D;
    --aum-white: #FFFFFF;

    width: 100%;
    color: var(--aum-navy);
    font-family: inherit;
    overflow: hidden;
}

.aum-page *,
.aum-page *::before,
.aum-page *::after {
    box-sizing: border-box;
}

.aum-container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

/* Shared headings */
.aum-page h1,
.aum-page h2,
.aum-page h3 {
    color: var(--aum-navy);
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.aum-page p {
    color: var(--aum-text);
    font-size: 16px;
    line-height: 1.85;
}

/* =========================================
   HERO SECTION
========================================= */

.aum-hero {
    position: relative;
    padding: 82px 0 78px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 220, 157, 0.72),
            transparent 36%
        ),
        linear-gradient(
            110deg,
            #EEF2FF 0%,
            #FFFFFF 55%,
            #FFF6EA 100%
        );
}

.aum-eyebrow {
    display: inline-block;
    margin: 0 0 22px;
    color: var(--aum-orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.aum-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    font-size: clamp(38px, 5vw, 58px);
}

.aum-hero-description {
    max-width: 820px;
    margin: 0;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

/* =========================================
   PARENT COMPANY
========================================= */

.aum-parent-section {
    padding: 66px 0 30px;
    background: #FFFFFF;
}

.aum-parent-card {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    padding: 42px;
    border: 1px solid #E0E7F5;
    border-radius: 24px;
    background: #F1F4FC;
    box-shadow: 0 12px 35px rgba(23, 37, 84, 0.07);
}

.aum-parent-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 20px;
    border-radius: 18px;
    background: #FFFFFF;
}

.aum-parent-logo {
    display: block;
    width: 100%;
   
    object-fit: contain;
}

.aum-parent-content .aum-eyebrow {
    margin-bottom: 14px;
}

.aum-parent-content h2 {
    margin: 0 0 16px;
    font-size: clamp(29px, 3vw, 38px);
}

.aum-parent-content p {
    margin: 0 0 14px;
}

.aum-parent-content p:last-child {
    margin-bottom: 0;
}

/* =========================================
   BUSINESS UNIT LOGO GRID
========================================= */

.aum-units-section {
    padding: 58px 0 78px;
    background: #FFFFFF;
}

/* Two logos per row */
.aum-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 1050px;
    margin: 0 auto;
}

.aum-brand-card {
    --brand-color: #244DFF;
    --brand-light: #EEF3FF;
    --brand-border: #D9E4FF;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 225px;
    padding: 28px;
    overflow: hidden;

    /* Individual brand-coloured border */
    border: 2px solid var(--brand-color);

    border-radius: 22px;
    background: var(--brand-light);
    box-shadow: 0 8px 26px rgba(23, 37, 84, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Brand-colour accent */
.aum-brand-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--brand-color);
    content: "";
}

.aum-brand-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-color);
    box-shadow: 0 15px 34px rgba(23, 37, 84, 0.11);
}

.aum-brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 155px;
    padding: 15px;
    border: 1px solid rgba(23, 37, 84, 0.06);
    border-radius: 16px;
    background: #FFFFFF;
}

.aum-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.aum-brand-card:hover .aum-brand-logo {
    transform: scale(1.04);
}

/* Centre the fifth logo beneath the first four */
.aum-brand-card:nth-child(5):last-child {
    grid-column: 1 / -1;
    width: calc(50% - 13px);
    justify-self: center;
}

/* Tablet */
@media (max-width: 900px) {
    .aum-units-section {
        padding: 44px 0 60px;
    }

    .aum-brand-grid {
        gap: 20px;
    }

    .aum-brand-card {
        min-height: 195px;
        padding: 22px;
    }

    .aum-brand-logo-wrap {
        min-height: 135px;
    }

    .aum-brand-logo {
        max-height: 110px;
    }

    .aum-brand-card:nth-child(5):last-child {
        width: calc(50% - 10px);
    }
}

/* Mobile: retain two columns */
@media (max-width: 600px) {
    .aum-units-section {
        padding: 36px 0 48px;
    }

    .aum-brand-grid {
        gap: 12px;
    }

    .aum-brand-card {
        min-height: 145px;
        padding: 12px;
        border-radius: 15px;
    }

    .aum-brand-logo-wrap {
        min-height: 105px;
        padding: 9px;
        border-radius: 11px;
    }

    .aum-brand-logo {
        max-height: 82px;
    }

    .aum-brand-card:nth-child(5):last-child {
        width: calc(50% - 6px);
    }
}

/* =========================================
   CLOSING BANNER
========================================= */

.aum-closing-section {
    padding: 0 0 78px;
    background: #FFFFFF;
}

.aum-closing-banner {
    position: relative;
    overflow: hidden;
    padding: 48px 36px;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 183, 105, 0.22),
            transparent 40%
        ),
        linear-gradient(120deg, #172554, #243B78);
    text-align: center;
}

.aum-closing-banner h2 {
    margin: 0 0 14px;
    color: #FFFFFF;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.025em;
}

.aum-closing-banner p {
    max-width: 700px;
    margin: 0 auto;
    color: #E4EAFB;
    font-size: 16px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    .aum-container {
        width: min(100% - 36px, 760px);
    }

    .aum-hero {
        padding: 64px 0;
    }

    .aum-parent-card {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 26px;
        padding: 28px;
    }

    .aum-parent-logo-wrap {
        min-height: 150px;
        padding: 15px;
    }

    .aum-parent-logo {
        height: 120px;
    }

    .aum-units-section {
        padding: 38px 0 60px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .aum-container {
        width: calc(100% - 32px);
    }

    .aum-hero {
        padding: 48px 0 44px;
    }

    .aum-eyebrow {
        margin-bottom: 15px;
        font-size: 12px;
    }

    .aum-hero h1 {
        margin-bottom: 16px;
        font-size: 37px;
    }

    .aum-hero-description {
        font-size: 16px !important;
    }

    .aum-parent-section {
        padding: 36px 0 18px;
    }

    .aum-parent-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
        padding: 22px;
        border-radius: 20px;
    }

    .aum-parent-logo-wrap {
        min-height: 140px;
    }

    .aum-parent-logo {
        max-width: 200px;
        height: 115px;
    }

    .aum-parent-content h2 {
        font-size: 30px;
    }

    .aum-units-section {
        padding: 38px 0 48px;
    }

    .aum-section-heading {
        margin-bottom: 30px;
        text-align: left;
    }

    .aum-section-heading h2 {
        font-size: 32px;
    }

    .aum-section-heading p {
        font-size: 15px;
    }

    .aum-closing-section {
        padding-bottom: 48px;
    }

    .aum-closing-banner {
        padding: 34px 22px;
        border-radius: 19px;
    }

    .aum-closing-banner h2 {
        font-size: 29px;
    }

    .aum-closing-banner p {
        font-size: 15px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .aum-brand-card {
        transition: none;
    }

    .aum-brand-card:hover {
        transform: none;
    }

    .aum-brand-logo {
        transition: none;
    }
}