/* =========================================================
   ADI YOGPEETH — PREMIUM PROGRAM LISTING
   Drop-in replacement for course-program-listing.css
   PHP/HTML structure unchanged.
   ========================================================= */

.ayp-programs-page{
    --ayp-bg:#f5f1e8;
    --ayp-paper:#fcfaf5;
    --ayp-paper-2:#f8f4eb;
    --ayp-ink:#18201c;
    --ayp-muted:#68716b;
    --ayp-green:#075542;
    --ayp-green-2:#0b654f;
    --ayp-green-deep:#04382d;
    --ayp-gold:#b88635;
    --ayp-gold-light:#d7b56d;
    --ayp-line:#ded6c7;
    --ayp-line-dark:#cfc4b0;
    --ayp-white:#fffefa;
    --ayp-shadow:0 28px 70px rgba(23,35,29,.10);
    --ayp-shadow-soft:0 14px 38px rgba(23,35,29,.055);
    background:var(--ayp-bg);
    color:var(--ayp-ink);
    overflow:hidden;
}

.ayp-programs-page *,
.ayp-programs-page *::before,
.ayp-programs-page *::after{box-sizing:border-box}

.ayp-programs-container{width:min(90%,1540px);margin-inline:auto}

/* ---------- TYPOGRAPHY ---------- */
.ayp-programs-hero h1,
.ayp-programs-section-head h2,
.ayp-program-card h3,
.ayp-program-card h4,
.ayp-programs-closing h2{
    font-family:Georgia,"Times New Roman",serif;
    font-weight:500;
}

.ayp-programs-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:var(--ayp-gold);
    font:700 10px/1.2 Arial,sans-serif;
    letter-spacing:.24em;
    text-transform:uppercase;
}

.ayp-programs-eyebrow::before{
    content:"";
    width:34px;
    height:1px;
    background:currentColor;
}

/* ---------- HERO ---------- */
.ayp-programs-hero{
    position:relative;
    min-height:620px;
    background:var(--ayp-bg);
    isolation:isolate;
}

.ayp-programs-hero::before{
    content:"";
    position:absolute;
    width:560px;
    height:560px;
    left:-260px;
    top:-250px;
    border:1px solid rgba(184,134,53,.15);
    border-radius:50%;
    box-shadow:0 0 0 42px rgba(184,134,53,.025),0 0 0 84px rgba(184,134,53,.018);
    pointer-events:none;
}

.ayp-programs-hero__wash{
    position:absolute;
    inset:0;
    z-index:-1;
    background:
        radial-gradient(circle at 79% 48%,rgba(255,255,255,.98) 0,rgba(255,255,255,.72) 16%,rgba(255,255,255,0) 40%),
        linear-gradient(90deg,#f5f1e8 0%,#f8f5ee 45%,rgba(248,245,238,.42) 68%,rgba(248,245,238,0) 100%);
}

.ayp-programs-hero__inner{
    display:grid;
    grid-template-columns:minmax(0,.94fr) minmax(500px,1.06fr);
    align-items:center;
    min-height:620px;
}

.ayp-programs-hero__content{
    position:relative;
    z-index:3;
    padding:84px 0 82px;
    max-width:770px;
}

.ayp-programs-hero h1{
    margin:22px 0 25px;
    max-width:760px;
    font-size:clamp(48px,5.6vw,86px);
    line-height:.94;
    letter-spacing:-.055em;
    color:#17201b;
}

.ayp-programs-hero h1::after{
    content:"";
    display:block;
    width:58px;
    height:2px;
    margin-top:28px;
    background:var(--ayp-gold);
}

.ayp-programs-hero p{
    max-width:680px;
    margin:0;
    color:#4e5852;
    font:400 17px/1.72 Arial,sans-serif;
}

.ayp-programs-hero__trust{
    display:flex;
    align-items:center;
    gap:18px;
    margin:31px 0 34px;
    color:#28342e;
    font:600 11px/1.3 Arial,sans-serif;
    letter-spacing:.02em;
}

.ayp-programs-hero__trust span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.ayp-programs-hero__trust b{color:var(--ayp-gold);font-size:17px;font-weight:400}
.ayp-programs-hero__trust i{width:1px;height:25px;background:#d5ccbd}

/* ---------- HERO VISUAL ---------- */
.ayp-programs-hero__visual{
    position:relative;
    align-self:stretch;
    min-height:620px;
    overflow:visible;
}

.ayp-programs-hero__visual::before{
    content:"";
    position:absolute;
    z-index:0;
    left:7%;
    right:-10%;
    top:7%;
    bottom:7%;
    border:1px solid rgba(184,134,53,.28);
    border-radius:260px 260px 18px 18px;
    pointer-events:none;
}

.ayp-programs-hero__visual img{
    position:absolute;
    z-index:1;
    inset:7% -3% 7% 8%;
    width:95%;
    height:86%;
    object-fit:cover;
    object-position:center;
    border-radius:250px 250px 12px 12px;
    box-shadow:var(--ayp-shadow);
}

.ayp-programs-hero__visual::after{
    content:"";
    position:absolute;
    z-index:2;
    inset:7% -3% 7% 8%;
    border-radius:250px 250px 12px 12px;
    background:
        linear-gradient(90deg,rgba(5,59,46,.08),rgba(5,59,46,0) 48%),
        linear-gradient(180deg,rgba(255,255,255,0) 55%,rgba(4,45,35,.18));
    pointer-events:none;
}

.ayp-programs-hero__mandala{
    position:absolute;
    z-index:4;
    right:1%;
    top:10%;
    width:128px;
    height:128px;
    display:grid;
    place-items:center;
    border:1px solid rgba(184,134,53,.58);
    border-radius:50%;
    color:rgba(184,134,53,.85);
    font-size:47px;
    transform:rotate(15deg);
    background:rgba(252,250,245,.55);
    backdrop-filter:blur(4px);
}

.ayp-programs-hero__mandala::before,
.ayp-programs-hero__mandala::after{
    content:"";
    position:absolute;
    inset:10px;
    border:1px solid rgba(184,134,53,.25);
    border-radius:50%;
}
.ayp-programs-hero__mandala::after{inset:24px}

/* ---------- BUTTONS ---------- */
.ayp-programs-button{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    min-height:54px;
    padding:0 27px;
    border-radius:2px;
    text-decoration:none;
    font:700 10px/1 Arial,sans-serif;
    letter-spacing:.18em;
    text-transform:uppercase;
    transition:transform .28s ease,box-shadow .28s ease,background .28s ease,color .28s ease,border-color .28s ease;
}

.ayp-programs-button:hover{transform:translateY(-3px)}
.ayp-programs-button span{font-size:19px;line-height:0;transition:transform .25s ease}
.ayp-programs-button:hover span{transform:translateX(4px)}

.ayp-programs-button--solid{
    background:var(--ayp-green);
    color:#fff;
    box-shadow:0 13px 28px rgba(7,85,66,.18);
}
.ayp-programs-button--solid:hover{background:var(--ayp-green-deep);box-shadow:0 18px 34px rgba(7,85,66,.22)}

.ayp-programs-button--outline{
    border:1px solid rgba(184,134,53,.7);
    color:var(--ayp-ink);
    background:rgba(255,254,250,.62);
}
.ayp-programs-button--outline:hover{border-color:var(--ayp-gold);background:#fffefa}

/* ---------- PROGRAM LIST ---------- */
.ayp-programs-list{
    position:relative;
    padding:112px 0 108px;
    background:
        radial-gradient(circle at 5% 12%,rgba(184,134,53,.055),transparent 21%),
        radial-gradient(circle at 95% 82%,rgba(7,85,66,.035),transparent 23%),
        var(--ayp-paper);
}

.ayp-programs-section-head{
    position:relative;
    max-width:900px;
    margin:0 auto 58px;
    text-align:center;
}

.ayp-programs-section-head .ayp-programs-eyebrow{justify-content:center}

.ayp-programs-section-head h2{
    margin:19px 0 15px;
    font-size:clamp(40px,4.2vw,65px);
    line-height:.98;
    letter-spacing:-.045em;
    color:#18201c;
}

.ayp-programs-section-head h2 em{font-style:italic;color:var(--ayp-green)}

.ayp-programs-section-head p{
    max-width:700px;
    margin:0 auto;
    color:var(--ayp-muted);
    font:400 15px/1.72 Arial,sans-serif;
}

.ayp-programs-stack{display:grid;gap:24px}

/* ---------- COURSE CARD ---------- */
.ayp-program-card{
    position:relative;
    display:grid;
    grid-template-columns:minmax(310px,34%) minmax(0,1fr);
    min-height:390px;
    overflow:hidden;
    border:1px solid var(--ayp-line);
    border-radius:3px;
    background:rgba(255,254,250,.96);
    box-shadow:var(--ayp-shadow-soft);
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}

.ayp-program-card::before{
    content:"";
    position:absolute;
    z-index:4;
    top:0;
    left:0;
    width:0;
    height:2px;
    background:var(--ayp-gold);
    transition:width .45s ease;
}

.ayp-program-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--ayp-shadow);
    border-color:rgba(184,134,53,.52);
}
.ayp-program-card:hover::before{width:100%}
.ayp-program-card.is-featured{border-color:rgba(184,134,53,.68)}

.ayp-program-card__media{
    position:relative;
    min-height:390px;
    overflow:hidden;
    background:#d9d4c8;
}

.ayp-program-card__media::before{
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    background:linear-gradient(135deg,rgba(4,57,44,.08),transparent 50%);
    pointer-events:none;
}

.ayp-program-card__media::after{
    content:"";
    position:absolute;
    z-index:2;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.02) 40%,rgba(0,0,0,.48) 100%);
    pointer-events:none;
}

.ayp-program-card__media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .8s cubic-bezier(.2,.65,.2,1),filter .5s ease;
}

.ayp-program-card:hover .ayp-program-card__media img{transform:scale(1.055);filter:saturate(1.04)}

.ayp-program-card__number{
    position:absolute;
    z-index:5;
    left:25px;
    top:25px;
    width:47px;
    height:47px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.72);
    border-radius:50%;
    color:#fff;
    background:rgba(6,55,43,.34);
    backdrop-filter:blur(9px);
    font:700 10px/1 Arial,sans-serif;
    letter-spacing:.14em;
}

.ayp-program-card__media-label{
    position:absolute;
    z-index:5;
    left:26px;
    bottom:27px;
    max-width:62%;
    color:#fff;
    font:700 10px/1.45 Arial,sans-serif;
    letter-spacing:.17em;
    text-transform:uppercase;
}

.ayp-program-card__hours{
    position:absolute;
    z-index:5;
    right:26px;
    bottom:25px;
    color:#fff;
    font:500 21px/1 Georgia,serif;
    letter-spacing:.01em;
}

/* ---------- CARD BODY ---------- */
.ayp-program-card__body{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
    gap:50px;
    align-items:center;
    padding:50px 54px;
}

.ayp-program-card__main{min-width:0}

.ayp-program-card__eyebrow{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:13px;
    color:var(--ayp-gold);
    font:700 9px/1.2 Arial,sans-serif;
    letter-spacing:.2em;
}

.ayp-program-card__eyebrow::before{content:"";width:25px;height:1px;background:currentColor}

.ayp-program-card h3{
    margin:0;
    color:#1a211d;
    font-size:54px;
    line-height:.9;
    letter-spacing:-.045em;
}

.ayp-program-card h4{
    margin:11px 0 16px;
    max-width:560px;
    color:var(--ayp-green-deep);
    font-size:26px;
    line-height:1.06;
    letter-spacing:-.025em;
}

.ayp-program-card__main p{
    max-width:610px;
    margin:0;
    color:#56605a;
    font:400 13px/1.72 Arial,sans-serif;
}

.ayp-program-card__facts{
    display:flex;
    flex-wrap:wrap;
    gap:0;
    margin-top:25px;
    padding-top:18px;
    border-top:1px solid #e3ddd1;
}

.ayp-program-card__facts span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:22px;
    padding-right:20px;
    margin-right:20px;
    border-right:1px solid #ddd5c7;
    color:#344039;
    font:600 10px/1.4 Arial,sans-serif;
}

.ayp-program-card__facts span:last-child{border-right:0;margin-right:0}
.ayp-program-card__facts b{color:var(--ayp-gold);font-size:14px;font-weight:400}

/* ---------- HIGHLIGHTS PANEL ---------- */
.ayp-program-card__highlights{
    position:relative;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:25px 0 25px 40px;
    border-left:1px solid #ded7c9;
}

.ayp-program-card__highlights>span{
    color:var(--ayp-gold);
    font:700 9px/1.2 Arial,sans-serif;
    letter-spacing:.2em;
}

.ayp-program-card__highlights ul{
    display:grid;
    gap:11px;
    margin:18px 0 28px;
    padding:0;
    list-style:none;
}

.ayp-program-card__highlights li{
    display:flex;
    gap:11px;
    color:#303a35;
    font:400 11px/1.5 Arial,sans-serif;
}

.ayp-program-card__highlights li b{
    flex:0 0 auto;
    color:var(--ayp-gold);
    font-weight:700;
}

.ayp-programs-button--card{
    align-self:flex-start;
    min-width:205px;
    min-height:48px;
    background:var(--ayp-green);
    color:#fff;
}

.ayp-programs-button--card:hover{background:var(--ayp-green-deep)}
.ayp-programs-page--gold .ayp-programs-button--card,
.ayp-programs-page--terracotta .ayp-programs-button--card{background:#9a6b1f}
.ayp-programs-page--gold .ayp-program-card h4{color:#785719}
.ayp-programs-page--terracotta .ayp-program-card h4{color:#75493b}

/* ---------- TRUST STRIP ---------- */
.ayp-programs-trust{
    position:relative;
    padding:0;
    background:#f0ece2;
    border-top:1px solid var(--ayp-line);
    border-bottom:1px solid var(--ayp-line);
}

.ayp-programs-trust__grid{display:grid;grid-template-columns:repeat(4,1fr)}

.ayp-programs-trust__grid>div{
    min-height:132px;
    padding:20px 28px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-right:1px solid #d9d1c2;
}
.ayp-programs-trust__grid>div:last-child{border-right:0}
.ayp-programs-trust b{margin-bottom:9px;color:var(--ayp-gold);font:400 28px/1 Georgia,serif}
.ayp-programs-trust strong{color:#26322c;font:500 15px/1.2 Georgia,serif}
.ayp-programs-trust span{margin-top:7px;color:#737a75;font:400 10px/1.4 Arial,sans-serif;letter-spacing:.02em}

/* ---------- CLOSING CTA ---------- */
.ayp-programs-closing{
    position:relative;
    min-height:450px;
    display:grid;
    align-items:center;
    isolation:isolate;
    overflow:hidden;
    background:var(--ayp-green-deep);
    color:#fff;
}

.ayp-programs-closing::before{
    content:"";
    position:absolute;
    z-index:-1;
    width:600px;
    height:600px;
    right:-230px;
    top:-150px;
    border:1px solid rgba(215,181,109,.28);
    border-radius:50%;
    box-shadow:0 0 0 45px rgba(215,181,109,.025),0 0 0 90px rgba(215,181,109,.018);
}

.ayp-programs-closing__image{
    position:absolute;
    inset:0;
    z-index:-2;
    background:
        linear-gradient(90deg,rgba(3,48,37,.96),rgba(3,48,37,.82) 48%,rgba(3,48,37,.52)),
        url("assets/images/courses/200-hour/gallery-01.webp") center/cover no-repeat;
}

.ayp-programs-closing__inner{padding:92px 0}

.ayp-programs-closing h2{
    max-width:850px;
    margin:19px 0 15px;
    font-size:clamp(42px,4.8vw,72px);
    line-height:.96;
    letter-spacing:-.045em;
}

.ayp-programs-closing p{
    max-width:670px;
    margin:0 0 32px;
    color:rgba(255,255,255,.76);
    font:400 15px/1.7 Arial,sans-serif;
}

.ayp-programs-closing .ayp-programs-eyebrow{color:#dfbd79}
.ayp-programs-closing__actions{display:flex;gap:12px;flex-wrap:wrap}
.ayp-programs-closing .ayp-programs-button--outline{border-color:rgba(255,255,255,.48);color:#fff;background:rgba(255,255,255,.035)}
.ayp-programs-closing .ayp-programs-button--outline:hover{border-color:#dfbd79;background:rgba(255,255,255,.08)}

/* ---------- ACCESSIBILITY / MOTION ---------- */
.ayp-programs-button:focus-visible,
.ayp-program-card a:focus-visible{outline:2px solid var(--ayp-gold);outline-offset:4px}

@media (prefers-reduced-motion:reduce){
    .ayp-programs-page *,
    .ayp-programs-page *::before,
    .ayp-programs-page *::after{scroll-behavior:auto!important;transition:none!important}
}

/* ---------- TABLET ---------- */
@media (max-width:1180px){
    .ayp-programs-hero__inner{grid-template-columns:minmax(0,1fr) 47%}
    .ayp-programs-hero h1{font-size:clamp(46px,5.5vw,72px)}
    .ayp-program-card__body{grid-template-columns:1fr;gap:28px;padding:42px}
    .ayp-program-card__highlights{padding:27px 0 0;border-left:0;border-top:1px solid #ded7c9}
    .ayp-program-card__highlights ul{grid-template-columns:1fr 1fr}
}

/* ---------- MOBILE / TABLET ---------- */
@media (max-width:820px){
    .ayp-programs-container{width:92%}
    .ayp-programs-hero{min-height:auto}
    .ayp-programs-hero__inner{display:block;min-height:auto}
    .ayp-programs-hero__content{padding:67px 0 38px;max-width:none}
    .ayp-programs-hero h1{max-width:680px;font-size:clamp(44px,9vw,68px)}
    .ayp-programs-hero p{font-size:15px}
    .ayp-programs-hero__trust{gap:14px;flex-wrap:wrap;margin:27px 0 30px}
    .ayp-programs-hero__trust i{display:none}
    .ayp-programs-hero__visual{height:440px;min-height:0;margin-bottom:12px}
    .ayp-programs-hero__visual img{inset:3% 0 4% 4%;width:96%;height:93%;border-radius:180px 180px 10px 10px}
    .ayp-programs-hero__visual::after{inset:3% 0 4% 4%;border-radius:180px 180px 10px 10px}
    .ayp-programs-hero__visual::before{left:1%;right:-2%;top:2%;bottom:2%;border-radius:190px 190px 10px 10px}
    .ayp-programs-hero__mandala{right:0;top:5%;width:92px;height:92px;font-size:34px}

    .ayp-programs-list{padding:82px 0}
    .ayp-programs-section-head{margin-bottom:42px}
    .ayp-programs-section-head h2{font-size:clamp(39px,8vw,55px)}

    .ayp-program-card{grid-template-columns:1fr;min-height:0}
    .ayp-program-card__media{min-height:350px}
    .ayp-program-card__body{padding:37px 34px}
    .ayp-program-card h3{font-size:50px}
    .ayp-program-card h4{font-size:25px}

    .ayp-programs-trust__grid{grid-template-columns:1fr 1fr}
    .ayp-programs-trust__grid>div:nth-child(2){border-right:0}
    .ayp-programs-trust__grid>div:nth-child(-n+2){border-bottom:1px solid #d9d1c2}

    .ayp-programs-closing{min-height:420px}
    .ayp-programs-closing__inner{padding:76px 0}
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width:560px){
    .ayp-programs-container{width:calc(100% - 34px)}
    .ayp-programs-hero__content{padding:55px 0 30px}
    .ayp-programs-hero h1{font-size:43px;line-height:.98;letter-spacing:-.045em}
    .ayp-programs-hero h1::after{margin-top:23px}
    .ayp-programs-hero p{font-size:14px;line-height:1.68}
    .ayp-programs-hero__trust{display:grid;grid-template-columns:1fr;gap:10px;margin:24px 0 27px}
    .ayp-programs-hero__trust span{white-space:normal}
    .ayp-programs-hero__visual{height:350px}
    .ayp-programs-hero__visual img{inset:3% 0 5% 0;width:100%;height:92%;border-radius:150px 150px 8px 8px}
    .ayp-programs-hero__visual::after{inset:3% 0 5% 0;border-radius:150px 150px 8px 8px}
    .ayp-programs-hero__visual::before{left:-2%;right:-2%;top:2%;bottom:2%;border-radius:160px 160px 8px 8px}
    .ayp-programs-hero__mandala{width:76px;height:76px;font-size:28px;top:4%;right:-2%}

    .ayp-programs-list{padding:64px 0}
    .ayp-programs-section-head{margin-bottom:31px}
    .ayp-programs-section-head h2{font-size:38px}
    .ayp-programs-section-head p{font-size:14px}

    .ayp-programs-stack{gap:18px}
    .ayp-program-card{border-radius:2px}
    .ayp-program-card__media{min-height:285px}
    .ayp-program-card__number{left:19px;top:19px;width:41px;height:41px}
    .ayp-program-card__media-label{left:20px;bottom:21px;max-width:58%;font-size:9px}
    .ayp-program-card__hours{right:20px;bottom:20px;font-size:18px}
    .ayp-program-card__body{padding:29px 23px}
    .ayp-program-card h3{font-size:43px}
    .ayp-program-card h4{font-size:22px;line-height:1.08}
    .ayp-program-card__main p{font-size:12px;line-height:1.68}
    .ayp-program-card__facts{display:grid;gap:8px;margin-top:21px;padding-top:16px}
    .ayp-program-card__facts span{border-right:0;padding-right:0;margin-right:0;font-size:10px}
    .ayp-program-card__highlights{padding-top:23px}
    .ayp-program-card__highlights ul{grid-template-columns:1fr;gap:9px;margin:16px 0 23px}
    .ayp-programs-button--card{width:100%}

    .ayp-programs-trust__grid{grid-template-columns:1fr}
    .ayp-programs-trust__grid>div{min-height:108px;border-right:0!important;border-bottom:1px solid #d9d1c2}
    .ayp-programs-trust__grid>div:last-child{border-bottom:0}

    .ayp-programs-closing{min-height:0}
    .ayp-programs-closing__inner{padding:62px 0}
    .ayp-programs-closing h2{font-size:41px}
    .ayp-programs-closing p{font-size:14px}
    .ayp-programs-closing__actions{display:grid}
    .ayp-programs-closing .ayp-programs-button{width:100%}
}
