@font-face {
    font-family: "Literata Custom";
    src: url("https://nyaa.ltsites.com.br/wp-content/uploads/2026/04/Literata-VariableFont_opszwght.ttf") format("truetype");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --ah-blue: #29687C;
    --ah-blue-light: #9bc5c8;
    --ah-cream: #f4f4e7;
    --ah-cream-side: #e8e8dc;
    --ah-black: #1c1320;
    --ah-orange: #ff4b22;
    --ah-muted: #8fbec3;
    --ah-line: #a9aa9d;

    --ah-header-height: 205px;
    --ah-bottom-height: 155px;
    --ah-side-width: 34%;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: transparent !important;
}
button.ah-button.ah-button-block.js-start:hover {
    background-color: #eb411a !important;
}
footer#colophon {
    display: none;
}
html:has(#nyaa-apply-hub),
body:has(#nyaa-apply-hub) {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Importante:
   Nao esconder footer generico aqui, porque o plugin pode usar footer/div internamente.
   Escondemos apenas footers do tema. */
body:has(#nyaa-apply-hub) > header,
body:has(#nyaa-apply-hub) > footer,
body:has(#nyaa-apply-hub) .site-header,
body:has(#nyaa-apply-hub) .site-footer,
body:has(#nyaa-apply-hub) #wpadminbar {
    display: none !important;
}

body:has(#nyaa-apply-hub).admin-bar {
    margin-top: 0 !important;
}

#nyaa-apply-hub {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--ah-cream);
    color: #030303;
       font-family: "Plus Jakarta Sans", Sans-serif;
    line-height: 1.25;
}

.ah-shell * {
    box-sizing: border-box;
}

.ah-app {
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--ah-cream);
    /*padding-bottom: var(--ah-bottom-height);*/
    margin-top: 20px;
}
.ah-main {
    padding-bottom: var(--ah-bottom-height);
}
/* .ah-app.has-bottom-bar {
    padding-bottom: var(--ah-bottom-height);
} */
/* STEP 1 */

.ah-choose-wrap {
    min-height: 100vh;
    background: var(--ah-blue);
    display: grid;
    /*grid-template-rows: 30vh 70vh;*/
    overflow: hidden;
}

.ah-choose-hero {
    display: flex;
    align-items: flex-end;
    padding: 0 18px 22px;
    height: 260px;
}

/*.ah-choose-logo {*/
/*    text-align: center;*/
/*    color: #fff;*/
/*    font-family: Georgia, "Times New Roman", serif;*/
/*    letter-spacing: .24em;*/
/*    font-size: 12px;*/
/*    line-height: 1.25;*/
/*    text-transform: uppercase;*/
/*    margin-bottom: 58px;*/
/*}*/
.ah-choose-logo {
    display: none;
}

.ah-choose-title {
        font-family: "Literata Custom", Sans-serif;
    color: var(--ah-blue-light);
    font-size: clamp(42px, 4.4vw, 64px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
}

.ah-program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    height: 100%;
    align-items: stretch;
}

.ah-program-card {
    background: var(--ah-cream);
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ah-programs-shortcode {
    --ah-program-shortcode-columns: 3;
}

.ah-programs-shortcode .ah-program-grid {
    grid-template-columns: repeat(var(--ah-program-shortcode-columns), minmax(0, 1fr));
    height: auto;
}

.ah-programs-shortcode .ah-program-card {
    min-height: 100%;
}

.ah-programs-layout-single .ah-program-grid {
    grid-template-columns: minmax(0, 1fr);
}

.ah-selected-program-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--ah-cream);
    border-bottom: 1px solid rgba(32, 54, 70, .18);
    color: var(--ah-blue);
    padding: 14px 20px;
}

.ah-link-button {
    background: transparent;
    border: 0;
    color: var(--ah-blue);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
}

.ah-program-card:nth-child(2),
.ah-program-card:nth-child(4) {
    background: #E7E8D9;
}

.ah-card-image {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 58px 10px 13px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: "Literata Custom", Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: .9;
    white-space: pre-line;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    isolation: isolate;
}
.ah-card-image span {
    position: relative;
    z-index: 2;
}

.ah-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
    pointer-events: none;
}

.program-image-1 {
    /*background:*/
    /*    linear-gradient(45deg, rgba(24, 103, 127, .28), rgba(232, 118, 36, .25)),*/
    /*    radial-gradient(circle at 25% 65%, #97b82d 0 18%, transparent 19%),*/
    /*    radial-gradient(circle at 70% 25%, #62331f 0 12%, transparent 13%),*/
    /*    linear-gradient(110deg, #78a8ab, #c58b41 48%, #81a72d 49%, #5d8b38);*/
    background:url('https://nyaa.ltsites.com.br/wp-content/uploads/2026/04/figma_image_1776922365_g6ui80.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.program-image-2 {
    /*background:*/
    /*    linear-gradient(15deg, rgba(27, 20, 31, .25), rgba(255, 255, 255, .1)),*/
    /*    radial-gradient(circle at 60% 20%, #5c2e22 0 18%, transparent 19%),*/
    /*    linear-gradient(125deg, #1e2529 0 30%, #a76b4b 31% 52%, #dbbd99 53% 72%, #592e22 73%);*/
    background:url('https://nyaa.ltsites.com.br/wp-content/uploads/2026/04/Screenshot-2026-02-15-at-3.31.46-PM-1.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.program-image-3 {
    /*background:*/
    /*    linear-gradient(rgba(42, 111, 128, .18), rgba(42, 111, 128, .18)),*/
    /*    repeating-linear-gradient(165deg, #a7c0b5 0 8px, #f0efde 9px 12px, #789a92 13px 20px);*/
    background:url('https://nyaa.ltsites.com.br/wp-content/uploads/2026/05/c72922e6780a52cd456b7b29b33aeebeb534f032-scaled.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.program-image-4 {
    /*background:*/
    /*    linear-gradient(45deg, rgba(11, 17, 22, .45), rgba(210, 135, 45, .25)),*/
    /*    radial-gradient(circle at 62% 30%, #b67635 0 16%, transparent 17%),*/
    /*    linear-gradient(120deg, #2d3440 0 42%, #d39b45 43% 70%, #73412f 71%);*/
    background:url('https://nyaa.ltsites.com.br/wp-content/uploads/2026/05/b00181e2e398bbc80a87b901a7ec2fd6a217ea82-scaled.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ah-card-body {
    padding: 20px 70px 10px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

.ah-card-body p {
    margin: 0 0 16px;
}

.ah-card-body strong {
    display: block;
    font-weight: 800;
}

.ah-card-body ul {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

.ah-card-body li:before {
    content: "\2022 ";
}

.ah-card-more {
    display: none;
}

.ah-card-action {
    margin-top: auto;
    padding: 0 8px 8px;
}

/* HEADER */

.ah-topbar {
    height: var(--ah-header-height);
    background: var(--ah-blue);
    color: #fff;
    position: relative;
    padding: 0 50px;
    flex-shrink: 0;
}

.ah-menu {
    position: absolute;
    top: 16px;
    left: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    font-size: 10px;
    text-transform: uppercase;
}

.ah-menu-icon,
.ah-menu-icon:before,
.ah-menu-icon:after {
    width: 13px;
    height: 1px;
    background: #fff;
    display: block;
    content: "";
}

.ah-menu-icon {
    position: relative;
}

.ah-menu-icon:before {
    position: absolute;
    top: -4px;
}

.ah-menu-icon:after {
    position: absolute;
    top: 4px;
}

.ah-logo {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: .28em;
    font-size: 10px;
    line-height: 1.22;
    text-transform: uppercase;
    min-width: 160px;
}

.ah-save-exit {
    position: absolute;
    top: 16px;
    right: 28px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
}

.ah-program-title {
    position: absolute;
    bottom: 12px;
    left: 20px;
    font-family: "Literata Custom", Georgia, "Times New Roman", serif;
    color: var(--ah-blue-light);
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 400;
    letter-spacing: -.03em;
}

/* AREA QUE ROLA */

.ah-layout {
    /* min-height: calc(100vh - var(--ah-header-height) - var(--ah-bottom-height)); */
    min-height: 100vh !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--ah-side-width);
    overflow: visible;
    background: linear-gradient(
        to right,
        var(--ah-cream) 0%,
        var(--ah-cream) calc(100% - var(--ah-side-width)),
        var(--ah-cream-side) calc(100% - var(--ah-side-width)),
        var(--ah-cream-side) 100%
    );
    
}

.ah-main {
    background: var(--ah-cream);
    min-width: 0;
}

.ah-content-scroll {
    padding: 28px 36px 60px;
    overflow: visible;
}

.ah-side {
    background: var(--ah-cream-side);
    padding: 52px 28px 40px;
    position: relative;
}

.ah-step-title {
    font-family: "Literata Custom", Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.05;
    font-weight: 400;
    margin: 0 0 8px;
}

.ah-subtitle {
    font-size: 18px;
    margin: 0 0 44px;
}

.ah-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.ah-tabs .ah-button {
    min-height: 52px;
    min-width: 155px;
}

.ah-field {
    margin-bottom: 26px;
    max-width: 370px;
}

.ah-label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.ah-required {
    color: var(--ah-orange);
}

.ah-input {
    width: 100%;
    height: 64px;
    border: none !important;
    border-radius: 12px;
    background: #fff;
    padding: 0 22px;
    font-size: 16px;
    outline: none;
    color: #111;
}

.ah-input::placeholder {
    color: #a9adba;
}

.is-mandatory-missing .ah-label,
.is-mandatory-missing.ah-checkbox-label,
.is-mandatory-missing.ah-portfolio-featured > .ah-label,
.is-mandatory-missing.ah-references-grid > .ah-label {
    color: #E81C1C;
    position: relative;
}

.is-mandatory-missing .ah-label::before,
.is-mandatory-missing.ah-checkbox-label::before,
.is-mandatory-missing.ah-portfolio-featured > .ah-label::before,
.is-mandatory-missing.ah-references-grid > .ah-label::before {
    content: "";
    width: 9px;
    height: 9px;
    display: inline-block;
    background: #E81C1C;
    border-radius: 2px;
    margin-right: 5px;
    vertical-align: 2px;
}

.ah-guidance-title {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 12px;
}

.ah-rule {
    height: 1px;
    background: var(--ah-line);
    margin-bottom: 24px;
}

.ah-guidance-text {
    font-size: 16px;
    line-height: 1.22;
    max-width: 380px;
}

.ah-guidance-text p {
    margin: 0 0 30px;
}

.ah-password-rules {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    color: rgba(17, 17, 17, 0.66);
    font-size: 13px;
    line-height: 1.35;
}

.ah-password-rules li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.ah-password-rules li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d71920;
    flex: 0 0 auto;
}

.ah-password-rules li.is-complete {
    color: rgba(17, 17, 17, 0.42);
    text-decoration: line-through;
}

.ah-password-rules li.is-complete::before {
    background: rgba(17, 17, 17, 0.35);
}

.ah-phone-field {
    display: grid;
    grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
    gap: 10px;
}

.ah-phone-code,
.ah-phone-number {
    width: 100%;
}

.ah-field-spacer {
    min-height: 1px;
}

.ah-date-input:invalid,
.ah-date-input:placeholder-shown {
    color: rgba(17, 17, 17, 0.46);
}

.ah-date-input:focus,
.ah-date-input:not(:placeholder-shown) {
    color: #111;
}

.ah-help {
    position: absolute;
    right: 24px;
    bottom: 90%;
    width: 60px;
    height: 60px;
    background: var(--ah-blue);
    display: grid;
    place-items: center;
    box-shadow: 0 18px 32px rgba(0, 0, 0, .22);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

/* BARRA FIXA INFERIOR */

.ah-bottom-bar {
    position: fixed;
    left: 0;
    right: 15px;
    bottom: 0;
    height: var(--ah-bottom-height);
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--ah-side-width);
    background: transparent;
    /* background: #e8e8dc; */
    pointer-events: none;
}

.ah-bottom-bar.no-scroll-margin {
    right: 0 !important;
}

.ah-bottom-steps {
    background: var(--ah-cream);
    padding: 34px 32px 24px;
    pointer-events: auto;
    margin-right: 10px;
}

.ah-bottom-action {
    /* background: var(--ah-cream-side); */
    background: none !important;
    padding: 38px 28px 24px;
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
}

.ah-mobile-bottom-action,
.ah-mobile-step-nav,
.ah-mobile-guidance {
    display: none;
}

.ah-steps {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
}

.ah-step-item {
    color: var(--ah-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: default;
    font-family: inherit;
}

button.ah-step-item {
    cursor: pointer;
}

button.ah-step-item:hover {
    color: var(--ah-blue);
}

.ah-step-item strong {
    display: block;
    position: relative;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 10px;
}

.ah-step-item.has-error strong::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 15px;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: #E81C1C;
}

.ah-step-item.active {
    color: #111;
}

.ah-step-item.done,
.ah-step-item.current-number {
    color: var(--ah-blue);
}
.ah-step-item.done span, .ah-step-item.current-number span{
    color: #231C24 !important;
}

.ah-bottom-action .ah-button {
    width: 100%;
    min-height: 70px;
    font-size: 17px;
    justify-content: flex-start;
    padding-left: 34px;
}

/* BOTOES / MENSAGENS */

.ah-button {
    min-height: 64px;
    border: 1px solid transparent;
    background: var(--ah-orange);
    color: #070707;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    padding: 30px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
    border-radius:0 !important;
}

.ah-button:hover {
    opacity: .80;
    transform: translateY(-1px);
    background-color: #ff4b22 !important;
}

.ah-button:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.ah-button-block {
    width: 100%;
    justify-content: flex-start;
}

.ah-button-dark {
    background: var(--ah-black);
    color: #fff;
}

.ah-button-light {
    background: transparent;
    border-color: #a7a89c;
    color: #111;
}

.ah-button-blue {
    background: #9bcbd1;
}

.ah-button-secondary {
    background: var(--ah-blue-light);
}

.ah-button-secondary:hover {
    background: var(--ah-blue-light) !important;
}

.ah-form-message {
    max-width: 600px;
    margin: -20px 0 26px;
    padding: 14px 18px;
    display: none;
    font-weight: 700;
    font-size: 14px;
}

.ah-form-message.is-error {
    display: block;
    background: #ffe6df;
    color: #7a1c07;
}

.ah-form-message.is-success {
    display: block;
    background: #e7f1ed;
    color: #16533d;
}

.ah-hidden {
    display: none !important;
}

.ah-placeholder {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.5;
}

/* RESPONSIVO */

@media (max-width: 980px) {
    :root {
        --ah-header-height: 86px;
        --ah-bottom-height: 0px;
        --ah-side-width: 0px;
    }

.ah-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
    background: var(--ah-cream);
}

    .ah-side {
        display: none;
    }

    .ah-topbar {
        padding: 65px 8px;
    }

    .ah-menu {
        left: 8px;
        top: 8px;
    }

    .ah-logo {
        top: 8px;
        font-size: 9px;
    }

    .ah-save-exit {
        right: 8px;
        top: 8px;
    }

    .ah-program-title {
        left: 8px;
        bottom: 10px;
        font-size: 22px;
    }

    .ah-content-scroll {
        padding: 14px 8px 26px;
    }

    .ah-step-title {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 4px;
    }

    .ah-subtitle {
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .ah-field {
        max-width: none;
        margin-bottom: 12px;
    }

    .ah-label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .ah-input,
    .ah-select,
    .ah-textarea {
        width: 100%;
        height: 44px;
        min-height: 44px;
        border-radius: 4px;
        padding: 0 10px;
        font-size: 12px;
    }

    .ah-bottom-bar {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        height: auto;
        display: block;
        background: var(--ah-cream);
        pointer-events: auto;
    }

    .ah-bottom-steps {
        padding: 14px 8px 18px;
        overflow: visible;
        background: var(--ah-cream);
    }

    .ah-steps {
        display: none;
    }

    .ah-bottom-action {
        display: none;
    }

    .ah-mobile-bottom-action {
        display: block;
        padding: 0 8px 18px;
        background: var(--ah-cream);
    }

    .ah-mobile-bottom-action .ah-button {
        width: 100%;
        min-height: 52px;
        padding: 17px 10px;
        justify-content: flex-start;
        font-size: 16px;
    }

    .ah-mobile-step-nav {
        display: grid;
        grid-template-columns: 24px minmax(110px, auto) 24px;
        align-items: center;
        justify-content: center;
        gap: 20px;
        color: var(--ah-blue);
        font-size: 12px;
        font-weight: 800;
    }

    .ah-mobile-step-nav strong {
        text-align: center;
        margin-top: 3px;
    }

    .ah-mobile-step-arrow {
        width: 24px;
        height: 24px;
        border: 0;
        background: transparent;
        color: var(--ah-blue);
        cursor: pointer;
        font-size: 14px;
        font-weight: 900;
        line-height: 0;
        text-align: center;
    }

    .ah-mobile-step-arrow:disabled {
        opacity: .35;
        cursor: default;
    }

    .ah-mobile-guidance {
        display: block;
        background: var(--ah-cream-side);
        padding: 18px 8px 0;
        color: #111;
    }

    .ah-mobile-guidance-toggle {
        width: 100%;
        border: 0;
        border-bottom: 1px solid rgba(17, 17, 17, .45);
        background: transparent;
        color: #111;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 10px;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
    }

    .ah-mobile-guidance-toggle strong {
        font-size: 18px;
        line-height: 1;
    }

    .ah-mobile-guidance-panel {
        background: var(--ah-cream-side);
        color: #111;
        padding: 12px 0 18px;
        font-size: 12px;
        line-height: 1.35;
    }

    .ah-mobile-guidance-panel * {
        background: transparent !important;
        color: inherit;
    }

    .ah-choose-wrap {
        min-height: 100vh;
        height: auto;
        display: block;
        overflow: hidden;
        background: var(--ah-cream);
    }

    .ah-choose-hero {
        height: 104px;
        min-height: 104px;
        padding: 0 10px 10px;
        background: var(--ah-blue);
        align-items: flex-end;
    }

    .ah-choose-title {
        font-size: 22px;
    }
    
    .ah-program-grid {
        display: flex;
        grid-template-columns: none;
        height: auto;
        min-height: calc(100vh - 104px);
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ah-program-grid::-webkit-scrollbar {
        display: none;
    }

    .ah-program-card {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        min-height: calc(100vh - 104px);
        scroll-snap-align: start;
    }

    .ah-card-image {
        min-height: 190px;
        padding: 54px 6px 9px;
        font-size: 23px;
        line-height: .88;
    }

    .ah-card-body {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: 4px 12px;
        flex: 0 0 auto;
        padding: 12px 8px 8px;
        font-size: 11px;
        line-height: 1.15;
    }

    .ah-card-body p {
        margin: 0;
    }

    .ah-card-body p:first-child {
        grid-column: 1;
    }

    .ah-card-body p:not(:first-child),
    .ah-card-body > strong,
    .ah-card-body > ul {
        display: none;
    }

    .ah-program-card.is-mobile-expanded .ah-card-body p:not(:first-child),
    .ah-program-card.is-mobile-expanded .ah-card-body > strong,
    .ah-program-card.is-mobile-expanded .ah-card-body > ul {
        display: block;
        grid-column: 1 / -1;
    }

    .ah-card-more {
        display: block;
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        border: 0;
        background: transparent;
        color: var(--ah-blue);
        font-size: 10px;
        font-weight: 800;
        line-height: 1.2;
        padding: 0;
        cursor: pointer;
        white-space: nowrap;
    }

    .ah-card-body strong {
        font-size: 11px;
        line-height: 1.1;
    }

    .ah-card-action {
        padding: 0 8px 8px;
        margin-top: 0;
    }

    .ah-card-action .ah-button {
        min-height: 52px;
        padding: 18px 8px;
        font-size: 11px;
    }

    .ah-card-action .ah-button:not(.ah-button-secondary)::after {
        content: " +";
    }
}

@media (max-width: 560px) {
    .ah-program-card {
        width: 160px;
        min-width: 160px;
    }

    .ah-card-image {
        min-height: 176px;
        font-size: 21px;
    }

    .ah-card-body {
        font-size: 9px;
        padding: 10px 6px 8px;
        gap: 4px 8px;
    }

    .ah-card-body strong {
        font-size: 9px;
    }

    .ah-card-more {
        font-size: 8px;
    }

    .ah-card-action .ah-button {
        min-height: 50px;
        font-size: 9px;
    }
}

/* =========================
   STEP 3 - CONTACT DETAILS
========================= */

.ah-form-grid {
    width: 100%;
}

.ah-form-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 20px;
    max-width: 100%;
}

.ah-form-grid-2 .ah-field {
    max-width: none;
    margin-bottom: 0;
}

.ah-form-grid-2 .ah-input {
    width: 100%;
    height: 65px;
    border-radius: 8px;
    border:none !important;
}

.ah-radio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ah-radio-card {
    height: 58px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    cursor: pointer;
    font-size: 14px;
}

.ah-radio-card input {
    display: none;
}

.ah-radio-card span {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: var(--ah-cream);
    display: inline-block;
    flex: 0 0 auto;
}

.ah-radio-card:has(input:checked) {
    background: var(--ah-blue-light);
}

.ah-radio-card:has(input:checked) span {
    background: var(--ah-blue);
}

@media (max-width: 980px) {
    .ah-form-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ah-form-grid-2 .ah-field {
        margin-bottom: 0;
    }

    .ah-form-grid-2 .ah-input,
    .ah-form-grid-2 .ah-select,
    .ah-form-grid-2 .ah-textarea {
        height: 44px;
        min-height: 44px;
        border-radius: 4px;
        padding: 0 10px;
        font-size: 12px;
    }

    .ah-field-spacer {
        display: none;
    }

    .ah-radio-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ah-radio-card {
        height: 44px;
        border-radius: 7px;
        padding: 0 12px;
        gap: 9px;
        font-size: 10px;
    }

    .ah-radio-card span {
        width: 14px;
        height: 14px;
    }
}




/* =========================
   STEP 4 - PERSONAL DETAILS
========================= */

.ah-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ah-blue) 50%),
        linear-gradient(135deg, var(--ah-blue) 50%, transparent 50%);
    background-position:
        calc(100% - 26px) 50%,
        calc(100% - 18px) 50%;
    background-size:
        8px 8px,
        8px 8px;
    background-repeat: no-repeat;
    padding-right: 48px;
}

.ah-select:focus {
    background-color: #fff;
}

.ah-select option {
    background: #fff;
    color: #111;
}

.ah-select:not([value=""]) {
    /*background-color: var(--ah-blue-light);*/
}

.ah-field select.ah-input {
    height: 58px;
    border-radius: 12px;
}
.ah-select.has-value {
    background-color: var(--ah-blue-light);
}
form.ah-personal-form.js-personal-form {
    padding-bottom: 80px;
}

.ah-personal-grid {
    grid-template-columns: minmax(0, 215px);
    row-gap: 18px;
    max-width: 215px;
}

.ah-personal-grid .ah-input {
    height: 58px;
}


/* =========================
   STEP 5 - ACADEMIC HISTORY
========================= */

.ah-academic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
    gap: 34px;
    align-items: start;
}

.ah-academic-left,
.ah-academic-right {
    min-width: 0;
}

.ah-academic-institution {
    background: #E7E8D9;
    padding: 14px 14px 18px;
    margin-bottom: 18px;
}

.ah-repeatable-title {
    margin: 0 0 22px;
    color: #000;
    font-family: var(--ah-font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.ah-academic-institution .ah-field {
    max-width: none;
    margin-bottom: 18px;
}

/*.ah-academic-institution .ah-input {*/
/*    height: 58px;*/
/*}*/

.ah-year-row {
    display: grid;
    grid-template-columns: 122px 122px;
    gap: 12px;
}

.ah-year-row .ah-field {
    margin-bottom: 18px;
}

.ah-year-row .ah-select {
    border-radius: 12px;
    height: 58px;
    padding-right: 40px;
}

.ah-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    max-width: 260px;
}

.ah-checkbox-label input {
    display: none;
}

.ah-checkbox-label span {
    width: 14px;
    height: 14px;
    border: 2px solid #222;
    background: transparent;
    flex: 0 0 auto;
    margin-top: 1px;
    position: relative;
}

.ah-checkbox-label input:checked + span::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 0;
    width: 5px;
    height: 9px;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: rotate(45deg);
}

.ah-add-block {
    width: 100%;
    min-height: 68px;
    border: 0;
    background: #E7E8D9;
    color: var(--ah-blue);
    text-align: left;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
}

.ah-upload-group {
    margin-bottom: 38px;
}

.ah-upload-box {
    width: 100%;
    min-height: 58px;
    border: 0;
    background: #E7E8D9;
    color: var(--ah-blue);
    text-align: left;
    padding: 0 20px;
    font-size: 14px;
    cursor: pointer;
}

.ah-upload-box:hover,
.ah-add-block:hover {
    filter: brightness(.98);
}

.ah-upload-help {
    font-size: 13px;
    line-height: 1.15;
    margin: 12px 0 0;
    max-width: 330px;
}

.ah-hidden-file {
    display: none;
}

.ah-file-name {
    font-size: 12px;
    color: var(--ah-blue);
    margin-top: 8px;
    min-height: 15px;
    word-break: break-word;
}

.ah-guidance-accordion {
    margin: 42px 0 24px;
}

.ah-guidance-accordion-title {
    border-bottom: 1px solid var(--ah-line);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ah-guidance-accordion-title strong {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 980px) {
    .ah-academic-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ah-year-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   STEP 6 - PORTFOLIO STUDIO
========================= */

.ah-portfolio-featured {
    background: #E7E8D9;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) minmax(240px, 1fr);
    gap: 16px 22px;
    margin:auto;
}

.ah-portfolio-image-area {
    min-width: 0;
}

.ah-portfolio-main-upload {
    width: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 9px;
    background: #d6e4e3;
    color: var(--ah-blue);
    cursor: pointer;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.ah-portfolio-main-upload img,
.ah-portfolio-small-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.ah-portfolio-replace {
    position: absolute;
    inset: auto 12px 12px 12px;
    z-index: 2;
    background: rgba(14, 42, 56, .72);
    color: #fff;
    padding: 9px 12px;
    border-radius: 0;
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
}

.ah-portfolio-remove {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 3;
    width: 24px;
    height: 24px;
    border: 0;
    background: rgba(14, 42, 56, .75);
    color: #fff;
    padding: 0;
    border-radius: 0;
    font-size: 24px;
    line-height: 20px;
    font-weight: 300;
    cursor: pointer;
    opacity: 0;
    transition: opacity .18s ease;
}

.ah-portfolio-main-upload:hover .ah-portfolio-replace,
.ah-portfolio-small-upload:hover .ah-portfolio-replace,
.ah-portfolio-small-upload:hover .ah-portfolio-remove {
    opacity: 1;
    transform: translateY(0);
}

.ah-portfolio-fields {
    min-width: 0;
}

.ah-portfolio-fields .ah-field {
    max-width: none;
    margin-bottom: 18px;
}

.ah-portfolio-fields .ah-input {
    height: 58px;
}

.ah-portfolio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.ah-portfolio-year-field {
    max-width: 126px !important;
}

.ah-portfolio-notes {
    grid-column: 1;
    max-width: none;
    margin-bottom: 0;
}

.ah-portfolio-confirm-wrap {
    align-self: end;
}

.ah-portfolio-confirm {
    width: 100%;
    min-height: 78px;
    border: 1px solid #2e7180;
    background: transparent;
    color: #2e7180;
    cursor: pointer;
    font-family: inherit;
}

.ah-portfolio-confirm:hover {
    background: rgba(46, 113, 128, .08);
}

.ah-textarea {
    min-height: 74px;
    resize: vertical;
    padding-top: 16px;
    font-family: inherit;
}

.ah-portfolio-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 54px;
    margin: auto;
    margin-top: 28px !important;
}

.ah-portfolio-small-item {
    min-width: 0;
}

.ah-portfolio-small-upload {
    width: 100%;
    aspect-ratio: 2.2 / 1;
    min-height: 72px;
    border: 0;
    background: #E7E8D9;
    color: var(--ah-blue);
    text-align: left;
    padding: 0 20px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ah-portfolio-small-upload:has(img) {
    min-height: 72px;
}

.ah-guidance-section {
    margin-bottom: 36px;
}

.ah-guidance-section h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ah-line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ah-guidance-section ul {
    padding-left: 18px;
    margin: 0 0 16px;
}

.ah-guidance-section li {
    margin-bottom: 2px;
}

.ah-portfolio-review-card {
    background: var(--ah-blue-light);
    padding: 18px 14px;
    margin-top: 36px;
}

.ah-portfolio-review-card p {
    margin: 0 0 18px;
    font-size: 12px;
}

.ah-portfolio-review-card button,
.ah-portfolio-review-card a {
    width: 100%;
    min-height: 58px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 980px) {
    .ah-portfolio-featured {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .ah-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        max-width: none;
    }

    .ah-portfolio-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ah-portfolio-year-field {
        max-width: none !important;
    }
}

@media (max-width: 560px) {
    .ah-portfolio-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   STEP 7 - YOUR STATEMENT
========================= */

.ah-statement-form {
    width: 100%;
    /*max-width: 760px;*/
}

.ah-statement-textarea {
    width: 100%;
    min-height: 560px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #111;
    padding: 18px 20px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
    outline: none;
}

.ah-statement-textarea::placeholder {
    color: #a9adba;
}

.ah-guidance-text ul {
    margin: 0 0 22px;
    padding-left: 20px;
}

.ah-guidance-text li {
    margin-bottom: 4px;
}

.ah-helper-note {
    margin-top: 30px;
}

.ah-helper-note h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ah-line);
}

.ah-helper-note p {
    margin: 0;
}

@media (max-width: 980px) {
    .ah-statement-form {
        max-width: none;
    }

    .ah-statement-textarea {
        min-height: 420px;
    }
}


/* =========================
   STEP 8 - YOUR REFERENCES
========================= */

.ah-references-form {
    width: 100%;
    /*max-width: 760px;*/
}

.ah-references-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
    align-items: start;
}

.ah-reference-card {
    background: #E7E8D9;
    padding: 14px;
}

.ah-reference-card .ah-field {
    max-width: none;
    margin-bottom: 18px;
}

.ah-reference-card .ah-field:last-child {
    margin-bottom: 0;
}

.ah-reference-card .ah-input {
    height: 58px;
}

.ah-add-reference {
    max-width: calc(50% - 14px);
    margin-top: 18px;
}

@media (max-width: 980px) {
    .ah-references-form {
        max-width: none;
    }

    .ah-references-grid {
        grid-template-columns: 1fr;
    }

    .ah-add-reference {
        max-width: 100%;
    }
}



/* =========================
   STEP 9 - REVIEW AND SUBMIT
========================= */

.ah-review-form {
    width: 100%;
    /*max-width: 760px;*/
}

.ah-review-summary {
    background: #E7E8D9;
    padding: 18px 18px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    font-size: 13px;
    line-height: 1.18;
}

.ah-review-column {
    min-width: 0;
}

.ah-review-summary h3 {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 4px;
}

.ah-review-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.ah-review-summary li::before {
    content: "\2022";
    display: inline-block;
    margin-right: 6px;
}

.ah-review-summary p {
    margin: 0 0 18px;
}

.ah-review-summary li.ah-review-missing-item::before {
    content: "";
}

.ah-review-missing-link {
    background: transparent !important;
    border: 0;
    color: #f01818 !important;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
    text-align: left;
    text-decoration: none;
}

.ah-review-missing-link:hover {
    color: #f01818;
    text-decoration: underline;
}

.ah-required-summary {
    background: #fff5f5;
    border: 1px solid #d63638;
    color: #5f1515;
    margin: 24px 0;
    padding: 18px;
}

.ah-required-summary.is-complete {
    background: #f0f8f3;
    border-color: #1d7f45;
    color: #174d2d;
}

.ah-required-summary h3 {
    margin-top: 0;
}

.ah-required-summary ul {
    margin-bottom: 0;
}

.ah-missing-link {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
    text-decoration: underline;
}

.ah-declarations-card {
    margin-top: 28px;
    background: #d6e4e3;
    padding: 18px;
    font-size: 13px;
}

.ah-declarations-card h3 {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 16px;
}

.ah-review-checkbox {
    max-width: none;
    margin-bottom: 16px;
}

.ah-signature-field {
    margin-top: 26px;
    max-width: 390px;
}

.ah-signature-field .ah-input {
    height: 58px;
}

.ah-application-fee-note {
    margin: -16px 0px 15px;
    font-weight: 700;
}

.ah-submit-success {
    max-width: 720px;
    padding: 40px 0;
}

@media (max-width: 980px) {
    .ah-review-form {
        max-width: none;
    }

    .ah-review-summary {
        grid-template-columns: 1fr;
    }

    .ah-signature-field {
        max-width: none;
    }
}


/* =========================
   STEP 10 - SUBMITTED FINAL SCREEN
========================= */

.ah-app-final {
    padding-bottom: 0;
}

.ah-final-screen {
    min-height: calc(100vh - var(--ah-header-height));
    display: flex;
    flex-direction: column;
}

.ah-final-dates {
    margin-top: 34px;
    font-size: 14px;
    line-height: 1.2;
}

.ah-final-dates p {
    margin: 0 0 18px;
}

.ah-final-button {
    width: 280px;
    min-height: 62px;
    margin-top: auto;
    margin-bottom: 32px;
    justify-content: center;
}

.ah-final-guidance h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ah-line);
}

.ah-final-guidance ul {
    margin: 0 0 36px;
    padding-left: 20px;
}

.ah-final-guidance li {
    margin-bottom: 3px;
}

.ah-final-guidance p {
    margin: 0 0 24px;
}

.ah-final-guidance a {
    color: #111;
    text-decoration: underline;
}

@media (max-width: 980px) {
    .ah-final-screen {
        min-height: auto;
    }

    .ah-final-button {
        width: 100%;
        margin-top: 80px;
    }
}

/* =========================
   ASK ADMISSIONS CHAT
========================= */

.ah-bottom-action {
    position: relative;
}

.ah-help {
    position: absolute;
    right: 28px;
    top: -92px;
    width: 58px;
    height: 58px;
    border: 0;
    background: var(--ah-blue);
    display: grid;
    place-items: center;
    box-shadow: 0 18px 32px rgba(0, 0, 0, .22);
    cursor: pointer;
    z-index: 25;
    padding: 0;
}

.ah-help img {
    max-width: 38px;
    max-height: 38px;
    display: block;
}

.ah-chat-panel {
    position: absolute;
    inset: 0;
    z-index: 40;
    background: rgba(232, 232, 220, .96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.ah-chat-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ah-chat-card {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: 12px;
    background: var(--ah-cream);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ah-chat-header {
    min-height: 72px;
    padding: 20px 18px 16px;
    background: #E7E8D9;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ah-chat-header h2 {
    margin: 0;
    font-family: "Literata Custom", Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}

.ah-chat-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--ah-blue);
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transform: rotate(45deg);
}

.ah-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 18px 100px;
}

.ah-chat-message {
    margin-bottom: 22px;
}

.ah-chat-message span {
    display: block;
    margin-bottom: 6px;
    color: #9a9a8f;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ah-chat-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.ah-chat-message-user span {
    color: var(--ah-blue);
}

.ah-chat-message-user p {
    color: var(--ah-blue);
}

.ah-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.ah-chat-suggestions button {
    min-height: 38px;
    border: 0;
    background: #fff;
    color: #9c9c93;
    padding: 0 18px;
    font-size: 13px;
    cursor: pointer;
}

.ah-chat-suggestions button:hover {
    color: var(--ah-blue);
}

.ah-chat-form {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    display: grid;
    grid-template-columns: 1fr 58px;
    background: #fff;
}

.ah-chat-form input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
    color: #111;
    background: #fff;
}

.ah-chat-form input::placeholder {
    color: #b6b6aa;
}

.ah-chat-form button {
    border: 0;
    background: var(--ah-blue);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ah-custom-fields {
    margin-top: 18px;
}
.ah-international-status {
    margin-top: 50px;
}

.ah-international-status h2 {
    font-size: 36px;
}

.ah-international-grid {
    grid-template-columns: minmax(0, 215px);
    row-gap: 18px;
    max-width: 215px;
}

.ah-international-grid .ah-input {
    height: 58px;
}

@media (max-width: 980px) {
    .ah-chat-panel {
        position: fixed;
        inset: 0;
        z-index: 999999;
    }

    .ah-chat-card {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        box-shadow: none;
    }

    .ah-help {
        display: none;
    }
}

@media (max-width: 980px) {
    .ah-account-form,
    .ah-contact-form,
    .ah-personal-form,
    .ah-academic-form,
    .ah-portfolio-form,
    .ah-statement-form,
    .ah-references-form,
    .ah-review-form {
        width: 100%;
        max-width: none;
    }

    .ah-personal-grid,
    .ah-international-grid {
        grid-template-columns: 1fr;
        max-width: none;
        width: 100%;
    }

    .ah-field select.ah-input,
    .ah-year-row .ah-select,
    .ah-international-grid .ah-input,
    .ah-academic-institution .ah-input,
    .ah-reference-card .ah-input,
    .ah-signature-field .ah-input {
        height: 44px;
        min-height: 44px;
        border-radius: 4px;
        padding-left: 10px;
        padding-right: 28px;
        font-size: 12px;
    }

    .ah-textarea {
        min-height: 96px;
        border-radius: 4px;
        padding: 10px;
        font-size: 12px;
    }

    form.ah-personal-form.js-personal-form {
        padding-bottom: 0;
    }
}