/** @format */

/* ===== Programs Filter Bar ===== */
.aci-prog-filters {
    background: var(--color-grey-97, #f4f6fa);
    border-bottom: 1px solid rgba(136, 115, 96, 0.13);
    padding: 20px 0;
    position: sticky;
    top: var(--header-h, 90px);
    z-index: 10;
}

.aci-prog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.aci-prog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    border-top: 1px solid rgba(136, 115, 96, 0.13);
    background: var(--color-white-72, rgba(255, 255, 255, 0.72));
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--aci-taupe, #887360);
    cursor: pointer;
    transition: background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.aci-prog-filter-btn:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.95);
}

.aci-prog-filter-btn.is-active {
    background: #c99e6a;
    border-top-color: rgba(201, 158, 106, 1);
    box-shadow: 0px 6px 18px -6px #c99e6a8c;
    color: #fff;
}

/* ===== Programs Cards Section ===== */
.aci-prog-cards-section {
    padding: 80px 0;
    background: linear-gradient(
            0deg, var(--color-grey-97, #f4f6fa), var(--color-grey-97, #f4f6fa)),
            radial-gradient(52.08% 62.07% at 6% 0%,
            rgba(201, 158, 106, 0.07) 0%,
            rgba(201, 158, 106, 0) 55%);
}

.aci-prog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.aci-prog-card {
    position: relative;
    background: var(--color-white-55, rgba(255, 255, 255, 0.55));
    border-radius: 28px;
    border-top: 1px solid rgba(201, 158, 106, 0.22);
    padding: 28px 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0px 6px 18px -6px rgba(136, 115, 96, 0.13),
    0px 20px 60px -24px rgba(136, 115, 96, 0.3);
    transition: transform 0.25s ease;
    display: flex;
    justify-content: space-around;
}

.aci-prog-card:hover {
    transform: translateY(-3px);
}

.aci-prog-card.is-hidden {
    display: none;
}

.aci-prog-card-num {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(216, 199, 174, 1);
}

.aci-prog-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(
            145deg,
            rgba(201, 158, 106, 0.22),
            rgba(201, 158, 106, 0.07)
    );
    border: 1px solid rgba(201, 158, 106, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--aci-gold, #c99e6a);
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
}

.aci-prog-card-icon [data-lucide] {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.aci-prog-card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.aci-prog-card-icon {
    margin-top: 8px;
}

.aci-prog-card:hover .aci-prog-card-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -8px rgba(201, 158, 106, 0.45);
}

.aci-prog-card-cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(201, 158, 106, 1);
    margin-bottom: 8px;
}

.aci-prog-card-title {
    margin: 0 0 10px;
    font-family: var(--font-en-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f1610;
}

.aci-prog-card-desc {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #6f665c;
}

.aci-prog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(201, 158, 106, 1);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.aci-prog-card-link:hover {
    gap: 10px;
    color: rgba(201, 158, 106, 1);
}

.aci-prog-card-link [data-lucide] {
    width: 14px;
    height: 14px;
}

@media (max-width: 991.98px) {
    .aci-prog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .aci-prog-cards-section {
        padding: 56px 0;
    }

    .aci-prog-cards-grid {
        grid-template-columns: 1fr;
    }

    .aci-prog-filter-btn {
        font-size: 13px;
        padding: 7px 15px;
    }
}

/* ===== Recommended Section ===== */
.aci-recommended {
    --color-orange-60: rgba(201, 158, 106, 1);
    padding: 100px 0;
    background: linear-gradient(
            0deg,
            var(--color-grey-95, #f7f3ec),
            var(--color-grey-95, #f7f3ec)
    ),
    radial-gradient(
            52.08% 74.42% at 95% 105%,
            rgba(216, 199, 174, 0.2) 0%,
            rgba(216, 199, 174, 0) 55%
    );
}

.aci-recommended__grid {
    display: grid;
    gap: 45px;
    grid-template-columns: minmax(300px, 1fr) minmax(420px, 1.35fr);
    align-items: center;
}

.aci-recommended__media-wrap {
    margin: 0;
}

.aci-recommended__media {
    width: 100%;
    max-height: 442px;
    border-radius: 36px;
    object-fit: cover;
    box-shadow: 0px 8px 20px -10px rgba(20, 10, 4, 0.1),
    0px 32px 72px -24px rgba(20, 10, 4, 0.18);
}

.aci-recommended__content {
    max-width: 760px;
}

.aci-recommended__eyebrow {
    margin-bottom: 12px;
}

.aci-recommended__title {
    margin: 0;
    font-family: var(--font-en-display);
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.1;
    color: #20160f;
}

.aci-recommended__title em {
    font-style: italic;
    color: rgba(201, 158, 106, 1);
    font-family: var(--font-ar-display);
    font-weight: 500;
}

.aci-recommended__desc {
    margin: 18px 0 10px;
    max-width: 60ch;
    color: #6f665c;
}

.aci-recommended__actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aci-btn-contact {
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0px 1px 0px 1px rgba(255, 255, 255, 0.9) inset,
    0px 4px 14px -8px rgba(136, 115, 96, 0.18);
    border: 0;
}

.aci-recommended__cards {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.aci-recommended__card {
    background: var(--color-white-70, rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    padding: 20px 18px 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0px 2px 6px -2px rgba(136, 115, 96, 0.07),
    0px 6px 20px -8px rgba(136, 115, 96, 0.16);
}

.aci-recommended__num {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--color-orange-60, rgba(201, 158, 106, 1));
    font-family: var(--font-ar-display);
    font-size: 34px;
    font-style: italic;
    font-weight: 500;
    line-height: 1;
}

.aci-recommended__card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: #1f1610;
}

.aci-recommended__card p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #6f665c;
}

@media (max-width: 1199.98px) {
    .aci-recommended__grid {
        grid-template-columns: 1fr;
    }

    .aci-recommended__media-wrap {
        max-width: 560px;
    }
}

@media (max-width: 767.98px) {
    .aci-recommended {
        padding: 56px 0;
    }

    .aci-recommended__cards {
        grid-template-columns: 1fr;
    }

    .aci-recommended__card {
        padding: 18px 16px;
    }
}

.ep-cta {
    background: linear-gradient(
            0deg,
            var(--color-grey-97, #f4f6fa),
            var(--color-grey-97, #f4f6fa)
    ),
    radial-gradient(
            52.08% 94.23% at 80% -10%,
            rgba(216, 199, 174, 0.22) 0%,
            rgba(216, 199, 174, 0) 55%
    );
}

.how-its-work {
    background: linear-gradient(
            0deg,
            var(--color-grey-97, #f4f6fa),
            var(--color-grey-97, #f4f6fa)
    ),
    radial-gradient(
            57.87% 83.94% at 8% 60%,
            rgba(201, 158, 106, 0.08) 0%,
            rgba(201, 158, 106, 0) 55%
    );
}

.aci-pillar-card .aci-pillar-num {
    color: rgba(201, 158, 106, 0.55);
}

/* Dynamic Grid sections rendered from the CMS on Programs pages. */
.aci-light-grid {
    padding: clamp(82px, 8vw, 128px) 0;
    background: radial-gradient(760px 420px at 50% 0%, rgba(201, 158, 106, 0.06), transparent 65%),
    #f4f7fb;
}

.aci-light-grid-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(56px, 7vw, 86px);
}

.aci-light-grid-header .aci-eyebrow {
    display: inline-flex;
    margin-inline: auto;
    margin-bottom: 24px;
}

.aci-light-grid-header .aci-section-title {
    color: var(--aci-text);
}

.aci-light-grid-header .aci-section-title em {
    color: var(--aci-gold);
    font-style: normal;
}

.aci-light-grid-header .aci-lead {
    color: var(--aci-muted);
    margin-inline: auto;
}

.aci-light-grid .row {
    row-gap: 32px;
}

.aci-light-grid-card {
    position: relative;
    min-height: 266px;
    padding: 44px 36px 38px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(136, 115, 96, 0.12);
    box-shadow: 0 18px 54px -34px rgba(70, 58, 44, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aci-light-grid-num {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(201, 158, 106, 0.55);
}

.aci-light-grid-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 22px;
    color: var(--aci-gold);
    background: rgba(201, 158, 106, 0.1);
    border: 1px solid rgba(201, 158, 106, 0.24);
}

.aci-light-grid-icon [data-lucide] {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.aci-light-grid-card h3 {
    margin: 0 0 16px;
    font-size: clamp(1.08rem, 1.4vw, 1.35rem);
    font-weight: 700;
    color: var(--aci-text);
}

.aci-light-grid-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    color: var(--aci-taupe);
}

@media (max-width: 767.98px) {
    .aci-light-grid {
        padding: 64px 0;
    }

    .aci-light-grid-card {
        min-height: 0;
        padding: 34px 28px 32px;
    }
}
