body.page-atp-profile-modern {
    --atp-profile-ink: #082d4d;
    --atp-profile-blue: #176faa;
    --atp-profile-blue-bright: #268bd2;
    --atp-profile-sky: #e9f5fb;
    --atp-profile-border: #d4e1ec;
    --atp-profile-muted: #5a7288;
    --atp-profile-soft: #f6fafc;
    --atp-profile-accent: #f2632b;
    --atp-profile-shadow: 0 24px 64px rgba(8, 45, 77, 0.12);
    background:
        radial-gradient(circle at 10% 8%, rgba(38, 139, 210, 0.12), transparent 28%),
        linear-gradient(180deg, #f7fbfd 0%, #ffffff 320px, #f5f9fb 100%);
    color: #163247;
}

body.page-atp-profile-modern .main {
    padding-bottom: 0;
}

body.page-atp-profile-modern.atp-profile-no-gallery .main {
    padding-bottom: clamp(56px, 6vw, 72px);
}

body.page-atp-profile-modern .atp-profile-hero .container,
body.page-atp-profile-modern .atp-profile-overlap-shell .container,
body.page-atp-profile-modern .atp-profile-gallery-section .container {
    width: min(100% - 32px, 1350px) !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-atp-profile-modern .atp-profile-hero .container {
    width: min(100%, 1420px) !important;
}

.atp-profile-hero {
    position: relative;
    margin-top: 24px;
    padding: 0 0 112px;
    color: #ffffff;
    background-color: #051f36;
    background-image:
        linear-gradient(90deg, rgba(5, 31, 54, 1) 0%, rgba(5, 31, 54, 0.98) 30%, rgba(5, 31, 54, 0.88) 46%, rgba(5, 31, 54, 0.56) 61%, rgba(5, 31, 54, 0.14) 78%, rgba(5, 31, 54, 0) 88%),
        linear-gradient(0deg, rgba(3, 19, 34, 0.18), rgba(3, 19, 34, 0.18)),
        url("../images/global-data-network-concept-hero-1600.jpg");
    background-position: center, center, calc(100% + 72px) center;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, 58% auto;
    overflow: hidden;
}

@media (min-width: 1400px) {
    .atp-profile-hero {
        background-image:
            linear-gradient(90deg, rgba(4, 20, 37, 0.98) 0%, rgba(4, 20, 37, 0.96) 24%, rgba(5, 24, 44, 0.84) 40%, rgba(6, 27, 49, 0.44) 58%, rgba(6, 27, 49, 0.08) 74%, rgba(6, 27, 49, 0) 100%),
            linear-gradient(0deg, rgba(3, 19, 34, 0.18), rgba(3, 19, 34, 0.18)),
            url("../images/global-data-network-concept-hero-2400.jpg");
    }
}

.atp-profile-hero::before,
.atp-profile-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.atp-profile-hero::before {
    inset: 0 60% 0 0;
    background: #051f36;
}

.atp-profile-hero::after {
    top: 0;
    bottom: 0;
    left: calc(40% - 44px);
    width: 500px;
    background: linear-gradient(90deg, rgba(5, 31, 54, 1) 0%, rgba(5, 31, 54, 0.98) 18%, rgba(5, 31, 54, 0.86) 40%, rgba(5, 31, 54, 0.54) 64%, rgba(5, 31, 54, 0.14) 86%, rgba(5, 31, 54, 0) 100%);
}

.atp-profile-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 252px;
    padding: 38px 18px 26px;
}

.atp-profile-hero-lockup {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    flex: 1 1 auto;
}

.atp-profile-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 114px;
    height: 114px;
    padding: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transform: translateY(20px);
}

.atp-profile-logo-badge img {
    display: block;
    width: 100%;
    height: auto;
}

.atp-profile-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    max-width: 720px;
    transform: translateY(50px);
}

.atp-profile-hero-title-row {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.atp-profile-hero-title-row--has-award {
    padding-right: 0;
}

.atp-profile-hero-copy h1 {
    display: block;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.atp-profile-title-text {
    display: block;
    min-width: 0;
}

.atp-profile-hero-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 0;
    color: #dcecf7;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.atp-profile-hero-location i {
    color: #ffffff;
    font-size: 14px;
}

.atp-profile-award-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    text-align: center;
}

.atp-profile-award-badge img {
    display: block;
    width: 88px;
    height: auto;
}

.atp-profile-hero-award {
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-flex;
    align-items: center;
    transform: translateY(-48%);
}

.atp-profile-hero-award .atp-profile-award-badge img {
    width: 88px;
}

.atp-profile-award-badge span {
    color: var(--atp-profile-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.atp-profile-panel-director {
    margin-left: var(--atp-profile-contact-column-width);
    padding-bottom: 22px;
    text-align: left;
}

.atp-profile-panel-director::before {
    content: none;
}

.atp-profile-overlap-shell {
    position: relative;
    z-index: 3;
    margin-top: -72px;
}

.atp-profile-card {
    --atp-profile-contact-column-width: 43.81%;
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid var(--atp-profile-border);
    border-radius: 14px;
    box-shadow: var(--atp-profile-shadow);
    overflow: hidden;
}

.atp-profile-card::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: var(--atp-profile-contact-column-width);
    width: 1px;
    background: var(--atp-profile-border);
}

.atp-profile-card::after {
    content: "";
    display: table;
    clear: both;
}

.atp-profile-panel-contact {
    float: left;
    width: var(--atp-profile-contact-column-width);
}

.atp-profile-panel-about {
    margin-left: var(--atp-profile-contact-column-width);
    margin-top: 0;
    padding-top: 22px;
}

.atp-profile-panel-about::before {
    content: none;
}

.atp-profile-panel-about::after {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: var(--atp-profile-border);
}

.atp-profile-panel {
    position: relative;
    min-width: 0;
    padding: 28px 30px 28px;
}

.atp-profile-panel + .atp-profile-panel {
    border-left: 0;
}

.atp-profile-panel h2 {
    margin: 0 0 18px;
    color: var(--atp-profile-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.atp-profile-panel-contact h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--atp-profile-blue);
}

.atp-profile-contact-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-style: normal;
}

.atp-profile-contact-list--locations {
    gap: 11px;
}

.atp-profile-location-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px 12px;
    border: 1px solid rgba(23, 111, 170, 0.08);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 8px 18px rgba(4, 42, 71, 0.025);
}

.atp-profile-location-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--atp-profile-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.atp-profile-location-heading i {
    color: var(--atp-profile-blue);
    font-size: 12px;
}

.atp-profile-location-group .atp-profile-contact-row {
    gap: 12px;
}

.atp-profile-location-group .atp-profile-contact-icon {
    flex: 0 0 18px;
    width: 18px;
    padding-top: 1px;
    font-size: 17px;
}

.atp-profile-location-group .atp-profile-contact-text {
    gap: 2px;
    font-size: 14px;
    line-height: 1.36;
}

.atp-profile-contact-online {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 111, 170, 0.08);
}

.atp-profile-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.atp-profile-contact-row + .atp-profile-contact-row {
    margin-top: 0;
}

.atp-profile-contact-icon {
    display: flex;
    flex: 0 0 22px;
    justify-content: center;
    width: 22px;
    padding-top: 2px;
    color: var(--atp-profile-blue);
    font-size: 23px;
}

.atp-profile-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    color: #1b364a;
    font-size: 15px;
    line-height: 1.55;
}

.atp-profile-contact-text a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.atp-profile-contact-text a:hover {
    color: var(--atp-profile-blue);
    text-decoration: underline;
}

.atp-profile-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.atp-profile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--atp-profile-border);
    border-radius: 999px;
    background: var(--atp-profile-soft);
    color: var(--atp-profile-blue);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.atp-profile-social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 111, 170, 0.32);
    background: #ffffff;
    color: var(--atp-profile-ink);
    text-decoration: none;
}

.atp-profile-director-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    text-align: left;
}

.atp-profile-director-icon {
    display: inline-flex;
    flex: 0 0 60px;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1d75b1 0%, #0c4e7d 100%);
    color: #ffffff;
    font-size: 27px;
    box-shadow: 0 14px 28px rgba(23, 111, 170, 0.2);
}

.atp-profile-director-name {
    margin: 0;
    color: var(--atp-profile-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.atp-profile-director-role {
    margin: 0;
    color: var(--atp-profile-muted);
    font-size: 15px;
    font-weight: 600;
}

.atp-profile-richtext {
    max-width: 100%;
    color: #234157;
    font-size: 15px;
    line-height: 1.75;
}

.atp-profile-richtext p {
    margin: 0 0 14px;
}

.atp-profile-richtext p:last-child {
    margin-bottom: 0;
}

.atp-profile-gallery-section {
    padding: 32px 0 72px;
}

.atp-profile-gallery-shell h2 {
    margin: 0 0 18px;
    color: var(--atp-profile-ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.atp-profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.atp-profile-gallery-item {
    --atp-gallery-frame: 6px;
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    padding: var(--atp-gallery-frame);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(8, 45, 77, 0.1);
}

.atp-profile-gallery-item::after {
    content: "";
    position: absolute;
    inset: var(--atp-gallery-frame);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(8, 45, 77, 0) 0%, rgba(8, 45, 77, 0.14) 100%);
    opacity: 0.75;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.atp-profile-gallery-item:hover::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(8, 45, 77, 0.05) 0%, rgba(8, 45, 77, 0.32) 100%);
}

.atp-profile-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform-origin: center top;
    border-radius: 10px;
    transition: none;
}

body.page-atp-profile-modern a:focus-visible,
body.page-atp-profile-modern button:focus-visible {
    outline: 3px solid rgba(242, 99, 43, 0.85);
    outline-offset: 3px;
    border-radius: 6px;
}

.atp-profile-contact-text a:focus-visible,
.atp-profile-social-link:focus-visible {
    outline-offset: 4px;
}

.atp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1199px) {
    .atp-profile-hero {
        padding-bottom: 104px;
        background-position: center, center, calc(100% + 56px) center;
        background-size: 100% 100%, 100% 100%, 60% auto;
    }

    .atp-profile-hero-content {
        min-height: 236px;
        padding: 34px 18px 24px;
    }

    .atp-profile-logo-badge {
        width: 108px;
        height: 108px;
        padding: 18px;
        transform: translateY(16px);
    }

    .atp-profile-hero-copy {
        max-width: 640px;
        transform: translateY(38px);
    }

    .atp-profile-hero-copy h1 {
        font-size: 44px;
    }

    .atp-profile-hero-location {
        margin-top: 6px;
    }

    .atp-profile-hero-award .atp-profile-award-badge img {
        width: 84px;
    }

    .atp-profile-card {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    }
}

@media (max-width: 991px) {
    .atp-profile-hero {
        padding-bottom: 96px;
        background-position: center, center, calc(100% + 42px) center;
        background-size: 100% 100%, 100% 100%, 64% auto;
    }

    .atp-profile-hero::before {
        inset: 0 56% 0 0;
    }

    .atp-profile-hero::after {
        left: calc(44% - 26px);
        width: 320px;
    }

    .atp-profile-hero-content {
        gap: 22px;
        min-height: 220px;
        padding: 30px 16px 20px;
    }

    .atp-profile-hero-lockup {
        gap: 22px;
    }

    .atp-profile-logo-badge {
        width: 96px;
        height: 96px;
        padding: 16px;
        transform: translateY(10px);
    }

    .atp-profile-hero-copy {
        max-width: 540px;
        transform: translateY(28px);
    }

    .atp-profile-hero-copy h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .atp-profile-hero-location {
        margin-top: 6px;
        font-size: 15px;
    }

    .atp-profile-hero-award .atp-profile-award-badge img {
        width: 80px;
    }

    .atp-profile-panel {
        padding: 30px 24px 28px;
    }

    .atp-profile-card {
        --atp-profile-contact-column-width: 46%;
    }

    .atp-profile-panel-director {
        padding-bottom: 20px;
    }

    .atp-profile-panel-director::before {
        top: 30px;
    }

    .atp-profile-panel-about {
        padding-top: 20px;
    }

    .atp-profile-panel-about::before {
        bottom: 30px;
    }

    .atp-profile-panel-about::after {
        left: 24px;
        right: 24px;
    }

    .atp-profile-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.page-atp-profile-modern .atp-profile-hero .container,
    body.page-atp-profile-modern .atp-profile-overlap-shell .container,
    body.page-atp-profile-modern .atp-profile-gallery-section .container {
        width: min(100% - 24px, 1350px) !important;
    }

    .atp-profile-hero {
        margin-top: 0;
        padding-top: 24px;
        padding-bottom: 80px;
        background-size: 100% 100%, 100% 100%, 118% auto;
        background-position: center, center, 112% 0;
        overflow: hidden;
    }

    .atp-profile-hero::before,
    .atp-profile-hero::after {
        display: none;
    }

    .atp-profile-hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        min-height: 0;
        padding: 18px 18px 20px;
    }

    .atp-profile-hero-lockup {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-top: 10px;
        width: 100%;
    }

    .atp-profile-logo-badge {
        width: 94px;
        height: 94px;
        padding: 16px;
        margin-top: 42px;
        transform: none;
    }

    .atp-profile-hero-copy {
        max-width: 100%;
    }

    .atp-profile-hero-title-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
    }

    .atp-profile-hero-title-row--has-award {
        padding-right: 0;
    }

    .atp-profile-hero-copy h1 {
        font-size: 32px;
        line-height: 1.08;
    }

    .atp-profile-hero-location {
        margin-top: 10px;
        font-size: 15px;
    }

    .atp-profile-hero-copy {
        transform: none;
    }

    .atp-profile-hero-award {
        display: inline-flex;
        width: fit-content;
        margin-top: 0;
        position: static;
        transform: none;
    }

    .atp-profile-title-text {
        max-width: 100%;
    }

    .atp-profile-hero-award .atp-profile-award-badge img {
        width: 72px;
    }

    .atp-profile-overlap-shell {
        margin-top: -58px;
    }

    .atp-profile-card {
        border-radius: 18px;
    }

    .atp-profile-card::before {
        content: none;
    }

    .atp-profile-panel-contact,
    .atp-profile-panel-director,
    .atp-profile-panel-about {
        float: none;
        width: auto;
        margin-left: 0;
    }

    .atp-profile-panel-director::before,
    .atp-profile-panel-about::before,
    .atp-profile-panel-about::after {
        content: none;
    }

    .atp-profile-panel {
        padding: 26px 22px;
    }

    .atp-profile-panel + .atp-profile-panel {
        border-top: 1px solid var(--atp-profile-border);
        border-left: 0;
    }

    .atp-profile-panel-about {
        padding-top: 26px;
        border-top: 1px solid var(--atp-profile-border);
    }

    .atp-profile-panel h2 {
        margin-bottom: 18px;
        font-size: 20px;
    }

    .atp-profile-director-name {
        font-size: 18px;
    }

    .atp-profile-gallery-section {
        padding: 28px 0 56px;
    }

    .atp-profile-gallery-shell h2 {
        font-size: 26px;
    }

    .atp-profile-gallery-grid {
        gap: 14px;
    }
}

@media (max-width: 479px) {
    .atp-profile-hero {
        padding-top: 28px;
        padding-bottom: 72px;
        background-size: 100% 100%, 100% 100%, 132% auto;
        background-position: center, center, 124% 0;
    }

    .atp-profile-hero-content {
        padding-top: 16px;
    }

    .atp-profile-logo-badge {
        margin-top: 48px;
    }

    .atp-profile-hero-copy h1 {
        font-size: 28px;
    }

    .atp-profile-hero-location {
        gap: 8px;
        margin-top: 8px;
        font-size: 14px;
    }

    .atp-profile-hero-award .atp-profile-award-badge img {
        width: 68px;
    }

    .atp-profile-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .atp-profile-gallery-item {
        aspect-ratio: auto;
    }

    .atp-profile-gallery-item img {
        height: auto;
        object-fit: contain;
    }
}
