/* Apex Yoga Academy – additions on top of the Educeet theme (loaded after main.css) */
img{height:auto}
.skip-link{position:absolute;left:-999px;top:8px;z-index:9999;background:#1F2432;color:#fff;padding:10px 16px;border-radius:8px}
.skip-link:focus{left:8px}

/* header: this theme's header is transparent, so give it a solid backdrop */
.it-header-menu>nav>ul>li{margin:0 22px 0 0!important}
.it-header-menu>nav>ul>li:last-child{margin-right:0!important}
.it-header-menu a{white-space:nowrap}
.header-sticky .it-header-menu li.is-current>a{color:var(--it-theme-4)!important}
.it-menu-mobile li.is-current>a{color:var(--it-theme-4)}
.it-btn-yellow{border:0;cursor:pointer}
.it-btn-yellow.btn-outline{background:transparent;box-shadow:inset 0 0 0 2px var(--it-theme-4)}
.it-btn-yellow.btn-outline span,.it-btn-yellow.btn-outline svg{color:var(--it-theme-4)}
.apex-btn-row{display:flex;flex-wrap:wrap;gap:14px}
.hero-solid{background:var(--it-theme-4)}
.it-hero-5-content .apex-btn-row{margin-top:10px}

/* course / blog / team cards: keep photos a uniform shape */
.it-course-thumb img,.it-blog-thumb img{aspect-ratio:4/3;object-fit:cover;width:100%}
.it-team-thumb img{aspect-ratio:1/1;object-fit:cover;object-position:top}
.it-course-meta span i,.it-blog-meta span i{margin-right:6px;color:var(--it-theme-4)}
.it-blog-meta{display:flex;flex-wrap:wrap;gap:8px 24px}
.it-funfact-icon i{font-size:36px;color:#fff;line-height:1}

/* inner-page hero (dark green so the theme's white header reads well) */
.apex-hero{background:var(--it-theme-4);padding:170px 0 80px;position:relative;overflow:hidden;color:#fff}
.apex-hero:after{content:"";position:absolute;right:-120px;top:-120px;width:460px;height:460px;border-radius:50%;background:rgba(255,255,255,.07)}
.apex-hero .container{position:relative;z-index:1}
.apex-hero h1{font-family:var(--it-ff-edensor-semibold);font-size:52px;line-height:1.15;text-transform:uppercase;margin:22px 0 16px;max-width:820px;color:#fff}
.apex-hero p.lead{font-size:18px;line-height:1.7;max-width:720px;margin:0;color:#fff;opacity:.95}
.apex-hero .it-breadcrumb-list{background:rgba(255,255,255,.16)}
.apex-hero .apex-meta,.apex-hero .apex-meta i{color:#fff}
.apex-hero .apex-tag{background:#fff;color:var(--it-theme-4)}
.it-breadcrumb-list a{color:#fff}
.it-breadcrumb-list a:hover{text-decoration:underline}
@media(max-width:767px){.apex-hero{padding:130px 0 56px}.apex-hero h1{font-size:34px}}

/* generic blocks */
.apex-sec{padding:100px 0}
.apex-sec.alt{background:var(--it-gray-1)}
.apex-sec.green{background:var(--it-theme-4);color:#fff}
.apex-sec.green h2,.apex-sec.green h3,.apex-sec.green h4,.apex-sec.green p{color:#fff}
.apex-title{font-family:var(--it-ff-edensor-regular);font-size:42px;line-height:1.2;text-transform:uppercase;margin-bottom:18px}
.apex-center{text-align:center;max-width:760px;margin:0 auto 50px}
.apex-card{background:#fff;border-radius:20px;padding:34px 30px;height:100%;box-shadow:0 10px 34px rgba(31,36,50,.07);transition:transform .3s}
.apex-card:hover{transform:translateY(-4px)}
.apex-card .ico{width:60px;height:60px;border-radius:16px;background:rgba(97,130,105,.12);color:var(--it-theme-4);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:20px}
.apex-card h3,.apex-card h4{font-size:22px;margin-bottom:12px}
.apex-card p{margin:0;line-height:1.7}
.apex-checks{list-style:none;padding:0;margin:0 0 26px}
.apex-checks li{position:relative;padding-left:34px;margin-bottom:14px;line-height:1.55;color:var(--it-common-black)}
.apex-checks li:before{content:"\f00c";font-family:"Font Awesome 6 Pro";font-weight:900;position:absolute;left:0;top:1px;color:var(--it-theme-4)}
.apex-step{position:relative;padding:30px;background:#fff;border-radius:20px;height:100%}
.apex-step b{display:block;font-family:var(--it-ff-edensor-semibold);font-size:48px;line-height:1;color:var(--it-theme-4);opacity:.35;margin-bottom:10px}
.apex-step h4{font-size:20px;margin-bottom:10px}
.apex-step p{margin:0;line-height:1.65}
.apex-photo{border-radius:24px;overflow:hidden}
.apex-photo img{width:100%;display:block}
.apex-cta{background:var(--it-theme-4);border-radius:28px;padding:60px 50px;color:#fff;text-align:center}
.apex-cta h2{color:#fff;font-family:var(--it-ff-edensor-regular);text-transform:uppercase;font-size:38px;margin-bottom:14px}
.apex-cta p{color:#fff;opacity:.92;margin:0 auto 28px;max-width:640px;line-height:1.7}
.apex-cta .apex-btn-row{justify-content:center}
@media(max-width:767px){.apex-sec{padding:70px 0}.apex-title{font-size:30px}.apex-cta{padding:44px 24px}.apex-cta h2{font-size:28px}}

/* tables / pass cards */
.apex-table-wrap{overflow-x:auto;border-radius:16px;box-shadow:0 10px 34px rgba(31,36,50,.07);background:#fff}
.apex-table{width:100%;min-width:560px;border-collapse:collapse}
.apex-table th{background:var(--it-theme-4);color:#fff;text-align:left;padding:16px 20px;font-family:var(--it-ff-spartan-semibold);font-size:15px}
.apex-table td{padding:15px 20px;border-bottom:1px solid #edf0ee;color:var(--it-common-black)}
.apex-table tr:last-child td{border-bottom:0}
.apex-price{font-family:var(--it-ff-edensor-semibold);font-size:44px;color:var(--it-theme-4);line-height:1.1;margin:8px 0 4px}
.apex-price small{font-size:15px;color:var(--it-text-body);font-family:var(--it-ff-body)}

/* FAQ (native <details>) */
.apex-faq details{background:#fff;border-radius:14px;margin-bottom:14px;box-shadow:0 6px 20px rgba(31,36,50,.06)}
.apex-faq summary{cursor:pointer;list-style:none;padding:20px 56px 20px 24px;font-family:var(--it-ff-spartan-semibold);font-size:17px;color:var(--it-common-black);position:relative}
.apex-faq summary::-webkit-details-marker{display:none}
.apex-faq summary:after{content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:26px;color:var(--it-theme-4)}
.apex-faq details[open] summary:after{content:"\2212"}
.apex-faq details p{padding:0 24px 22px;margin:0;line-height:1.75}

/* contact */
.apex-info{display:flex;gap:16px;align-items:flex-start;margin-bottom:26px}
.apex-info .ico{flex:0 0 52px;height:52px;border-radius:14px;background:var(--it-theme-4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px}
.apex-info h4{font-size:18px;margin:0 0 4px}
.apex-info p,.apex-info a{margin:0;line-height:1.6;color:var(--it-text-body)}
.apex-info a:hover{color:var(--it-theme-4)}
.apex-map{border:0;width:100%;height:340px;border-radius:20px}
.apex-form-box{background:#fff;border-radius:24px;padding:44px 40px;box-shadow:0 14px 44px rgba(31,36,50,.09)}
@media(max-width:575px){.apex-form-box{padding:30px 20px}}

/* forms (contact page; the landing page has its own copy in landing.css) */
.apex-form label{display:block;font-family:var(--it-ff-spartan-semibold);font-size:14px;color:var(--it-common-black);margin-bottom:8px}
.apex-form .fld{margin-bottom:20px}
.apex-form input[type=text],.apex-form input[type=email],.apex-form input[type=tel],.apex-form select,.apex-form textarea{width:100%;border:1px solid #d9e0dc;border-radius:10px;padding:14px 16px;font-size:16px;background:#fff;color:var(--it-common-black);font-family:var(--it-ff-body)}
.apex-form textarea{min-height:130px;resize:vertical}
.apex-form input,.apex-form select,.apex-form textarea,.apex-form ::placeholder{text-transform:none!important;letter-spacing:0}
.apex-form select{height:auto;line-height:1.4}
.apex-form input:focus,.apex-form select:focus,.apex-form textarea:focus{outline:3px solid rgba(97,130,105,.3);border-color:var(--it-theme-4)}
.apex-form [aria-invalid=true]{border-color:#c0392b}
.apex-form .chk{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:flex-start;font-size:14px;line-height:1.5}
.apex-form .chk input{margin-top:3px;width:18px;height:18px;accent-color:var(--it-theme-4);flex:0 0 18px}
.apex-form .chk label{margin:0;font-family:var(--it-ff-body);font-size:14px;color:var(--it-text-body)}
.apex-err{color:#c0392b;font-size:13px;margin-top:6px}
.chk .apex-err{flex-basis:100%;margin:0}
.apex-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.apex-success{text-align:center;padding:30px 10px;outline:0}
.apex-success .tick{width:84px;height:84px;border-radius:50%;background:rgba(97,130,105,.15);color:var(--it-theme-4);font-size:36px;display:flex;align-items:center;justify-content:center;margin:0 auto 22px}
.apex-success h3{font-size:28px;margin-bottom:12px}
.apex-success p{line-height:1.7;max-width:480px;margin:0 auto 22px}
[hidden]{display:none!important}

/* blog */
.apex-post-head{display:grid;grid-template-columns:1fr minmax(0,460px);gap:50px;align-items:center}
@media(max-width:991px){.apex-post-head{grid-template-columns:1fr;gap:30px}}
.apex-post-head img{width:100%;border-radius:24px;aspect-ratio:4/3;object-fit:cover}
.apex-meta{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px;color:var(--it-text-body);margin-bottom:6px}
.apex-meta i{margin-right:6px;color:var(--it-theme-4)}
.apex-tag{display:inline-block;background:var(--it-theme-4);color:#fff;border-radius:30px;padding:6px 16px;font-size:13px;font-family:var(--it-ff-spartan-semibold)}
.apex-prose{max-width:780px;margin:0 auto;font-size:17px;line-height:1.85}
.apex-prose h2{font-family:var(--it-ff-edensor-regular);font-size:32px;text-transform:uppercase;margin:44px 0 14px;line-height:1.25}
.apex-prose h3{font-size:21px;margin:30px 0 10px}
.apex-prose p{margin-bottom:18px}
.apex-prose ul,.apex-prose ol{margin:0 0 22px 22px}
.apex-prose li{margin-bottom:8px}
.apex-prose a{color:var(--it-theme-4);text-decoration:underline}
.apex-prose .callout{background:var(--it-gray-1);border-left:4px solid var(--it-theme-4);border-radius:10px;padding:20px 24px;margin:28px 0}
.apex-prose .callout p{margin:0}
.apex-prose .note{font-size:14px;color:#7a838a;border-top:1px solid #e6ebe8;padding-top:18px;margin-top:40px}
.apex-author{display:flex;gap:16px;align-items:center;margin:40px auto 0;max-width:780px;padding:22px;background:var(--it-gray-1);border-radius:16px}
.apex-author img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:top}
.apex-author p{margin:0;line-height:1.55}
.apex-share a{display:inline-flex;width:42px;height:42px;border-radius:50%;background:var(--it-gray-1);color:var(--it-theme-4);align-items:center;justify-content:center;margin-right:8px}
.apex-share a:hover{background:var(--it-theme-4);color:#fff}

/* teachers */
.apex-teacher{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:50px;align-items:center;margin-bottom:80px}
.apex-teacher:nth-child(even){grid-template-columns:1fr minmax(0,380px)}
.apex-teacher:nth-child(even) .apex-photo{order:2}
.apex-teacher .apex-photo img{aspect-ratio:1/1;object-fit:cover;object-position:top}
.apex-teacher h3{font-size:30px;margin-bottom:6px}
.apex-teacher .role{color:var(--it-theme-4);font-family:var(--it-ff-spartan-semibold);margin-bottom:16px;display:block}
@media(max-width:767px){.apex-teacher,.apex-teacher:nth-child(even){grid-template-columns:1fr;gap:24px}.apex-teacher:nth-child(even) .apex-photo{order:0}}

/* footer: theme's tel/mail links stay readable */
.it-footer-widget-contact li span{margin-right:6px}

/* floating WhatsApp */
.apex-wa{position:fixed;right:18px;bottom:18px;z-index:90;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.apex-wa:hover{color:#fff;transform:scale(1.06)}
.scroll-top{bottom:84px!important}

.hero-solid .btn-outline{box-shadow:inset 0 0 0 2px #fff}
.hero-solid .btn-outline span,.hero-solid .btn-outline svg{color:#fff}
.apex-cta .btn-outline{box-shadow:inset 0 0 0 2px #fff}

.it-course-price{width:auto!important;min-width:70px;height:70px;border-radius:40px!important;padding:0 16px;white-space:nowrap;font-size:17px!important}
