/* =========================
   SECTION + WRAPS
========================= */
.ap-sec {
    padding: 56px 0 64px;
    background: #fff;
}

.ap-wrap,
.ap-wraps {
    width: min(1160px, calc(100% - 46px));
    margin: 0 auto;
}

/* =========================
   HEAD
========================= */
.ap-head {
    text-align: center;
    margin-bottom: 34px;
}

.ap-title {
    margin: 0 0 28px;
    font-family: SatoshiBlack;
    font-size: 34px;
    line-height: 1.1;
    color: #101114;
    text-align: center;
}

.ap-sub {
    margin: 0 auto;
    max-width: 680px;
    font-family: SatoshiRegular;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    /* color: rgba(16, 17, 20, .72); */
}

/* =========================
   MAIN BACKGROUND (COLOR + IMAGE)
========================= */
.ap-main-background {
    padding: 60px 0;
    /* background:
        url(../bucket/bg-pattern.png) center / cover no-repeat,
        #f3f3f3; */
}

/* =========================
   GRID (LEFT + RIGHT)
========================= */
.ap-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* mobile */
    gap: 18px;
    align-items: stretch;
}

/* =========================
   BASE CARD
========================= */
.ap-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

/* optional image bg inside cards */
.ap-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    pointer-events: none;
}

/* =========================
   LEFT CARD
========================= */
.ap-card--left {
    /* background: #f7f6f3;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08); */
    padding: 26px 22px 26px 0;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 240px;
}

.ap-left-title {
    margin: 0;
    font-family: SatoshiBlack;
    font-size: 22px;
    color: #1b1c1f;
}

.ap-left-code {
    margin: 0;
    font-family: SatoshiRegular;
    /* color: rgba(27, 28, 31, .75); */
    font-size: 22px;
}

.ap-left-mid {
    margin-top: 18px;
}

.ap-left-label {
    margin: 0 0 6px;
    font-family: SatoshiRegular;
    font-size: 13px;
    /* color: rgba(27, 28, 31, .70); */
}

.ap-left-score {
    margin: 0;
    font-family: SatoshiBlack;
    font-size: 34px;
    color: #1b1c1f;
}

/* =========================
   RIGHT CARD (MATCH SCREENSHOT)
========================= */
.ap-card--right {
    position: relative;
    background: #FDF4E4;
    border: 3px solid rgba(178, 152, 108, .35);
    border-radius: 26px;
}

/* background image inside right card */
.ap-card--right .ap-card-bg--right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .12;
    pointer-events: none;
    z-index: 0;
}

/* main layout inside right card */
.ap-right {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    /* mobile */
    gap: 16px;
    padding: 20px 18px 0;
    /* IMPORTANT: no bottom padding so image can touch */
    align-items: stretch;
}

/* left content */
.ap-right-info {
    position: relative;
    z-index: 2;
    padding-bottom: 18px;
    /* space for text area only */
}

/* title row (keep simple) */
.ap-right-top {
    margin-bottom: 10px;
}

.ap-right-title {
    margin: 0;
    font-family: SatoshiBlack;
    font-size: 26px;
    color: #141414;
    width: 200px;
}

/* FASTFILING badge TOP RIGHT END OF CARD */
.ap-pill {
    position: absolute;
    top: 6px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #b85b12;
    color: #fff;
    font-family: SatoshiRegular;
    font-size: 14px;
    letter-spacing: .02em;
    white-space: nowrap;
    z-index: 3;
}

.ap-pill img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.gs-home-first-cta-btns .filled-cta-button {
    width: auto;
    padding: 8px 20px;
}

/* description */
.ap-right-desc {
    margin: 0 0 12px;
    font-family: SatoshiRegular;
    font-size: 13px;
    line-height: 1.55;
    /* color: rgba(20, 20, 20, .70); */
    max-width: 520px;
}

.ap-divider {
    height: 1px;
    background: rgba(20, 20, 20, .18);
    margin: 10px 0 12px;
}

.ap-score-label {
    margin: 0;
    font-family: SatoshiRegular;
    font-size: 12px;
    /* color: rgba(20, 20, 20, .62); */
}

.ap-score-value {
    margin: 4px 0 14px;
    font-family: SatoshiBlack;
    font-size: 18px;
    color: #141414;
}

/* steps */
.ap-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    max-width: 420px;
}

.ap-steps li {
    position: relative;
    padding: 14px 18px 14px 26px;
    border-radius: 0px 14px 14px 0px;
    background: #EEE1CB;
    font-family: SatoshiRegular;
    font-size: 14px;
    color: #2c2c2c;
    line-height: 1.4;
}

.ap-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    bottom: 0px;
    width: 4px;
    border-radius: 4px;
    background: #c79a4a;
}

.ap-right-media {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    min-height: 260px;
    padding: 0;
}

.ap-student {
    display: block;
    width: min(320px, 100%);
    height: auto;
    object-fit: contain;
    margin: 0;
}

/* =========================
   BUTTONS
========================= */
.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-family: SatoshiMedium;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
}

.ap-btn:active {
    transform: translateY(1px);
}

.ap-btn--dark {
    margin-top: 18px;
    width: fit-content;
    background: #1e1f22;
    color: #fff;
    /* box-shadow: 0 14px 28px rgba(0, 0, 0, .15); */
}

/* .ap-btn--dark:hover {
    box-shadow: 0 18px 34px rgba(0, 0, 0, .20);
} */

/* button on image */
.ap-btn--glass {
    position: absolute;
    left: 30%;
    bottom: 18px;
    /* transform: translateX(-50%); */
    color: #fff;
    background: rgb(0 0 0 / 40%);
    border: 1px solid #eee;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .20);
}

.ap-btn--glass:hover {
    background: rgba(0, 0, 0, .45);
}

.admission {
    margin-bottom: 0px;
    margin-top: 20px;
}

@media (min-width: 435px) {
    .ap-right-title {
        width: 100%;
    }
}

/* =========================================================
   MIN-WIDTH RESPONSIVE
========================================================= */
@media (min-width: 769px) {
    .ap-title {
        font-size: 40px;
    }

    .ap-sub {
        font-size: 16px;
    }

    .ap-grid {
        grid-template-columns: 320px 1fr;
        gap: 18px;
    }

    .ap-card--left {
        min-height: 360px;
        padding: 30px 26px 30px 0;
    }

    /* Right card becomes 2 columns */
    .ap-right {
        grid-template-columns: 1.25fr .75fr;
        gap: 22px;
        padding: 26px 26px 0;
        /* no bottom padding */
        min-height: 340px;
    }

    .ap-right-info {
        padding-bottom: 22px;
    }

    .ap-right-media {
        min-height: unset;
        /* let it stretch */
    }

    .ap-student {
        width: min(340px, 100%);
    }

    .ap-pill {
        top: 5px;
        right: -64%;
    }

    .ap-btn--glass {
        bottom: 18px;
    }

    .ap-main-background {
        padding: 80px 0;
    }
}

@media (min-width: 1000px) {
    .ap-sec {
        padding: 66px 0px;
    }

    .ap-head {
        margin-bottom: 60px;
    }

    /* .ap-title {
        font-size: 46px;
    } */

    .ap-sub {
        font-size: 18px;
    }

    .ap-grid {
        gap: 22px;
    }

    .ap-card {
        border-radius: 26px;
    }

    .ap-card--right {
        border-width: 4px;
    }

    .ap-right {
        padding: 30px 45px 0;
        /* no bottom padding */
        min-height: 470px;
    }

    .ap-right-title {
        font-size: 30px;
    }

    .ap-right-desc {
        font-size: 14px;
    }

    .ap-steps li {
        font-size: 13.5px;
    }

    .ap-student {
        width: min(360px, 100%);
    }

    .ap-wrap,
    .ap-wraps {
        width: min(1024px, calc(100% - 32px));
    }
}

@media (min-width:1400px) {

    .ap-wrap,
    .ap-wraps {
        width: min(1260px, calc(100% - 32px));
    }

    .ap-left-title {
        font-size: 24px;
    }

    .ap-left-code {
        font-size: 22px;
    }

    .ap-left-label {
        font-size: 24px;
    }

    .ap-btn {
        height: 35px;
        padding: 0 26px;
        font-size: 16px;
    }

    .ap-right-desc {
        font-size: 16px;
    }

    .ap-score-label {
        font-size: 14px;
    }

    .ap-score-value {
        font-size: 22px;
        margin: 12px 0 14px;
    }

    .ap-steps li {
        font-size: 16px;
    }
}