
.if-home-v28{max-width:1530px;margin:0 auto;padding:22px clamp(16px,3vw,46px) 14px;color:#092947}
.if-home-v28 *{box-sizing:border-box}
.if-home-hero{display:grid;grid-template-columns:52% 48%;position:relative;min-height:400px;background:#e5f3fc;border-radius:42px;overflow:hidden}
.if-home-hero-copy{padding:clamp(28px,5vw,72px);z-index:1;align-self:center}
.if-home-kicker{color:#f36e30;font-size:13px;letter-spacing:.11em;font-weight:800}
.if-home-hero h1{font-size:clamp(35px,4.3vw,67px);line-height:1.05;letter-spacing:-.035em;margin:13px 0 18px;color:#08294d;font-weight:800}
.if-home-hero p{font-size:clamp(16px,1.35vw,21px);line-height:1.42;margin:0 0 26px;max-width:640px}
.if-home-actions{display:flex;flex-wrap:wrap;gap:12px}
.if-home-primary,.if-home-secondary{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:15px 27px;border-radius:99px;text-decoration:none!important;font-size:15px;font-weight:750;white-space:normal;text-align:center}
.if-home-primary{background:#ff792e;color:white!important}.if-home-secondary{background:white;color:#17629b!important}
.if-home-hero-art{background:linear-gradient(135deg,#fce4d9 0%,#f9e4df 55%,#d4eafa 55%,#d4eafa 100%);display:grid;place-items:center;position:relative;overflow:hidden}
.if-home-art-shape{position:absolute;width:520px;height:520px;border-radius:50%;background:#f6cfbe;left:-130px;bottom:-200px}
.if-home-art-content{position:relative;max-width:330px;padding:35px;border-radius:35px;background:#fff9f4cc;transform:rotate(-3deg);text-align:center;box-shadow:0 18px 50px #142d4420}
.if-home-art-icon{font-size:65px;color:#ff792e;line-height:1}.if-home-art-content strong{display:block;font-size:clamp(22px,2.3vw,35px);line-height:1.2;margin:15px 0;color:#08294d}.if-home-art-content span{font-size:15px;color:#45617a}
.if-home-slide[hidden]{display:none!important}
.if-home-slide-controls{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:20px;align-items:center}.if-home-slide-controls button{background:white;border:0;border-radius:50%;width:35px;height:35px;cursor:pointer}
.if-home-features{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:32px 12px}
.if-home-features>div{display:flex;align-items:center;gap:15px}
.if-home-feature-icon{display:grid;place-items:center;width:62px;height:62px;flex-shrink:0;border-radius:50%;font-size:32px}
.if-home-pink{background:#fbe2ec;color:#ed3383}.if-home-green{background:#def6e8;color:#0c9561}.if-home-blue{background:#e2f3ff;color:#2290dd}.if-home-orange{background:#ffdfd0;color:#ff752d}
.if-home-features p{margin:0}.if-home-features strong{display:block;font-size:15px;line-height:1.3}.if-home-features small{display:block;font-size:12px;margin-top:5px;color:#48627c}
.if-home-training{padding:30px 0 45px;scroll-margin-top:40px}.if-home-section-heading h2{font-size:clamp(29px,3.3vw,46px);margin:9px 0 24px;color:#08294d}
.if-home-v28 .if-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.if-home-v28 .if-course-card{border:0!important;border-radius:27px!important;background:#e7f4fc!important;overflow:hidden;box-shadow:0 12px 32px #152e4810;display:flex;flex-direction:column}
.if-home-v28 .if-course-card:nth-child(3n+2){background:#fce9f0!important}.if-home-v28 .if-course-card:nth-child(3n){background:#e6f6ec!important}
.if-home-v28 .if-course-card-image{display:block;margin:14px 14px 0;overflow:hidden;border-radius:17px;height:205px}
.if-home-v28 .if-course-card-image img{width:100%;height:100%;object-fit:cover}
.if-home-v28 .if-course-card-body{padding:22px!important;display:flex;flex-direction:column;flex:1}
.if-home-v28 .if-course-card h3{font-size:23px;line-height:1.22;margin:10px 0}.if-home-v28 .if-course-card h3 a{color:#08294d;text-decoration:none}
.if-home-v28 .if-course-card p{font-size:15px;line-height:1.5;color:#36536d}
.if-home-v28 .if-course-cta{margin-top:auto!important;background:#ff792e!important;color:white!important;border-radius:50px!important;text-align:center;padding:13px 18px!important;text-decoration:none!important;font-weight:700}
.if-home-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:38px clamp(24px,5vw,65px);border-radius:32px;background:linear-gradient(100deg,#ffe2d4,#fceef1 55%,#dcefff);margin:12px 0 20px}
.if-home-contact h2{font-size:clamp(22px,2.3vw,32px);margin:0 0 9px;color:#08294d}.if-home-contact p{margin:0;color:#35516d}
.if-v28-footer{background:var(--wp--preset--color--footer-background,#e5f4fc)!important;border-radius:40px 40px 0 0;padding:45px clamp(22px,5vw,70px) 18px!important;color:var(--wp--preset--color--navy,#12345b)}
.if-v28-footer h4{font-size:16px;margin:0 0 12px;color:var(--wp--preset--color--navy,#12345b)}.if-v28-footer p{font-size:14px;line-height:1.65}.if-v28-footer a{color:var(--wp--preset--color--navy,#12345b);text-decoration:none}
.if-v28-footer-contact{background:var(--wp--preset--color--footer-contact,#f4faff);padding:22px;border-radius:20px}
@media(max-width:1000px){.if-home-features{grid-template-columns:repeat(2,1fr)}.if-home-v28 .if-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.if-home-hero{grid-template-columns:57% 43%}}
@media(max-width:700px){.if-home-hero{grid-template-columns:1fr}.if-home-hero-art{min-height:220px}.if-home-hero-copy{padding:30px 23px}.if-home-features{grid-template-columns:1fr 1fr;gap:15px}.if-home-v28 .if-course-grid{grid-template-columns:1fr}.if-home-contact{flex-direction:column;align-items:flex-start}.if-home-v28{padding:14px}.if-home-feature-icon{width:48px;height:48px;font-size:25px}}

/* v2.9 archive + shared footer */
body.post-type-archive-stm-courses .if-course-archive{max-width:1380px;padding:42px 28px 65px}
body.post-type-archive-stm-courses .if-archive-intro{background:#e8f4fb;border-radius:30px;padding:35px 45px;margin-bottom:24px}
body.post-type-archive-stm-courses .if-archive-intro h1{color:#08294d;font-size:clamp(32px,4vw,51px)}
body.post-type-archive-stm-courses .if-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body.post-type-archive-stm-courses .if-course-card{background:#e7f4fc;border-radius:25px;overflow:hidden}
body.post-type-archive-stm-courses .if-course-card:nth-child(3n+2){background:#fce9f0}
body.post-type-archive-stm-courses .if-course-card:nth-child(3n){background:#e6f6ec}
body.post-type-archive-stm-courses .if-course-card-image{display:block;margin:14px;border-radius:16px;overflow:hidden}
body.post-type-archive-stm-courses .if-course-card-body{padding:18px 22px 24px}
body.post-type-archive-stm-courses .if-course-cta{display:inline-block;background:#ff792e;color:white;border-radius:50px;padding:12px 20px;text-decoration:none}
@media(max-width:850px){body.post-type-archive-stm-courses .if-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.post-type-archive-stm-courses .if-course-grid{grid-template-columns:1fr}body.post-type-archive-stm-courses .if-archive-intro{padding:24px}}

/* v3.0 global footer: same visual treatment on all regular theme pages */
body:not(.single-stm-lessons) .if-v28-footer{background:var(--wp--preset--color--footer-background,#e5f4fc)!important;border-radius:36px 36px 0 0!important;padding:46px clamp(22px,5vw,70px) 18px!important;width:100%!important;max-width:none!important;margin:28px 0 0!important;box-sizing:border-box}
body:not(.single-stm-lessons) .if-v28-footer .wp-block-columns{gap:clamp(16px,3vw,50px)}
body:not(.single-stm-lessons) .if-v28-footer-contact{background:var(--wp--preset--color--footer-contact,#f4faff)!important;border-radius:20px!important;padding:22px!important}
body:not(.single-stm-lessons) .if-v28-footer a{color:var(--wp--preset--color--navy,#12345b)!important;text-decoration:none!important}
body:not(.single-stm-lessons) .if-v28-footer h4{color:var(--wp--preset--color--navy,#12345b)!important}
