:root {
    --imares-about-blue: #00457c;
    --imares-about-blue-dark: #083d62;
    --imares-about-cyan: #51c8e8;
    --imares-about-ink: #18354b;
    --imares-about-muted: #61798d;
    --imares-about-line: #d8e5ed;
    --imares-about-soft: #f5f9fb;
}

.imares-about-body .inii-content-main {
    background: #ffffff;
}

.imares-about-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 58px;
    color: var(--imares-about-ink);
}

.imares-about-heading {
    margin-bottom: 28px;
}

.imares-about-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--imares-about-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.imares-about-page h1 {
    margin: 0;
    color: var(--imares-about-blue-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
}

.imares-about-lead {
    max-width: 820px;
    margin: 12px 0 0;
    color: var(--imares-about-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.imares-about-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 42px;
    align-items: center;
    margin-bottom: 40px;
}

.imares-about-hero-figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--imares-about-line);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(18, 73, 108, .10);
}

.imares-about-hero-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.imares-about-prose {
    max-width: 860px;
}

.imares-about-prose h2 {
    margin: 28px 0 12px;
    color: var(--imares-about-blue);
    font-size: 1.35rem;
    font-weight: 800;
}

.imares-about-prose h2:first-child {
    margin-top: 0;
}

.imares-about-prose p,
.imares-about-list {
    color: #263f52;
    font-size: 1rem;
    line-height: 1.78;
}

.imares-about-prose p {
    margin: 0 0 16px;
}

.imares-about-list {
    padding-left: 1.2rem;
}

.imares-about-list li + li {
    margin-top: 7px;
}

.imares-history-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 44px;
    align-items: start;
}

.imares-history-gallery {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.imares-history-gallery img {
    display: block;
    width: 100%;
    border: 1px solid var(--imares-about-line);
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(18, 73, 108, .08);
}

.imares-history-gallery img:nth-child(1),
.imares-history-gallery img:nth-child(2) {
    aspect-ratio: 1.8 / 1;
}

.imares-history-gallery img:nth-child(3) {
    aspect-ratio: 1.35 / 1;
}

.imares-personal-list {
    display: grid;
    gap: 18px;
}

.imares-person-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
    overflow: hidden;
    border: 1px solid var(--imares-about-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 73, 108, .06);
}

.imares-person-photo {
    min-height: 150px;
    background: var(--imares-about-soft);
}

.imares-person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
}

.imares-person-content {
    padding: 22px 24px 22px 0;
}

.imares-person-heading h2 {
    margin: 0 0 4px;
    color: var(--imares-about-blue-dark);
    font-size: 1.25rem;
    font-weight: 800;
}

.imares-person-role {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eaf5fa;
    color: var(--imares-about-blue);
    font-size: .82rem;
    font-weight: 800;
}

.imares-person-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 15px;
}

.imares-person-contact > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.imares-person-contact span {
    color: var(--imares-about-muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.imares-person-contact a {
    color: var(--imares-about-blue);
    font-weight: 700;
    text-decoration: none;
}

.imares-person-contact a:hover {
    text-decoration: underline;
}

.imares-person-summary {
    margin: 16px 0 0;
    color: #40586a;
    line-height: 1.65;
}

.imares-personal-empty {
    max-width: 760px;
}

@media (max-width: 991.98px) {
    .imares-about-hero,
    .imares-history-layout {
        grid-template-columns: 1fr;
    }

    .imares-about-hero {
        gap: 24px;
    }

    .imares-history-gallery {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .imares-history-gallery img {
        height: 100%;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 767.98px) {
    .imares-about-page {
        width: min(100% - 24px, 1180px);
        padding-top: 24px;
    }

    .imares-history-gallery {
        grid-template-columns: 1fr;
    }

    .imares-history-gallery img {
        aspect-ratio: 16 / 9 !important;
    }

    .imares-person-card {
        grid-template-columns: 1fr;
    }

    .imares-person-photo {
        max-height: 280px;
    }

    .imares-person-photo img {
        max-height: 280px;
        object-position: center 25%;
    }

    .imares-person-content {
        padding: 0 18px 20px;
    }
}
