/*
Theme Name: Rahel Academy Design Child
Theme URI: https://rahelacademy.com/
Description: Rahel Academy custom design child theme for TutorStarter. Visual templates are based on the approved Rahel Academy page previews.
Author: Rahel Academy
Template: tutorstarter
Version: 5.8.0
Text Domain: rahel-academy-design-child
*/

html, body { margin: 0; padding: 0; }
body { background: #f8fafc; }
.rahel-wp-page { width: 100%; overflow: hidden; }
.rahel-wp-page img { max-width: 100%; }
.rahel-auth-message { max-width: 900px; margin: 24px auto 0; padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.rahel-auth-error { background:#450a0a; color:#fecaca; border:1px solid #7f1d1d; }
.rahel-auth-success { background:#052e16; color:#bbf7d0; border:1px solid #166534; }

/* v1.5: keep TutorStarter archive chrome from affecting the custom Courses route */
body.rahel-wp-page .site-header, body.rahel-wp-page .tutor-course-filter-wrapper, body.rahel-wp-page .tutor-course-archive-filters { display:none !important; }


/* Rahel Academy single Tutor LMS course */
.rahel-single-course{font-family:'Hind Siliguri','Plus Jakarta Sans',sans-serif;background:#f8fafc;color:#0f172a;min-height:100vh}
.rahel-course-shell{max-width:1200px;margin:0 auto;padding:48px 20px 80px}
.rahel-course-hero{background:linear-gradient(135deg,#071426 0%,#0b2230 52%,#063b36 100%);border:1px solid rgba(52,211,153,.22);border-radius:30px;padding:30px;box-shadow:0 24px 60px rgba(2,6,23,.16);color:#fff}
.rahel-course-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:28px;align-items:start}
.rahel-course-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(16,185,129,.12);border:1px solid rgba(52,211,153,.28);color:#6ee7b7;font-size:12px;font-weight:800;margin-bottom:16px}
.rahel-course-title{font-size:clamp(32px,4vw,56px);line-height:1.08;font-weight:900;letter-spacing:-.025em;margin:0 0 18px;color:#fff}
.rahel-course-excerpt{font-size:16px;line-height:1.8;color:#cbd5e1;margin-bottom:24px}
.rahel-course-thumb{border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#0f172a;box-shadow:0 18px 45px rgba(0,0,0,.3)}
.rahel-course-thumb img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.rahel-course-meta{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0}
.rahel-course-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:12px;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.18);color:#e2e8f0;font-size:12px;font-weight:700}
.rahel-course-main{margin-top:28px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
.rahel-course-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
.rahel-course-card h2{font-size:25px;font-weight:900;margin:0 0 18px;color:#0f172a}
.rahel-course-description{font-size:15px;line-height:1.9;color:#334155}
.rahel-course-description img{max-width:100%;height:auto;border-radius:14px}
.rahel-course-sidebar{position:sticky;top:24px}
.rahel-course-price{font-size:30px;font-weight:900;color:#059669;margin-bottom:18px}
.rahel-course-buy .tutor-course-enroll-wrap,.rahel-course-buy .tutor-course-enroll-box{margin:0}
.rahel-course-buy button,.rahel-course-buy a.tutor-btn{width:100%!important;border-radius:12px!important;font-weight:800!important;padding:13px 18px!important}
.rahel-course-author{display:flex;align-items:center;gap:12px;padding-top:18px;margin-top:18px;border-top:1px solid #e2e8f0}
.rahel-course-author img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.rahel-course-curriculum .tutor-course-topic{border-radius:14px!important;overflow:hidden;margin-bottom:10px}
@media(max-width:900px){.rahel-course-grid,.rahel-course-main{grid-template-columns:1fr}.rahel-course-sidebar{position:static}.rahel-course-shell{padding:28px 14px 60px}.rahel-course-hero{padding:22px}.rahel-course-card{padding:22px}}


/* v2.0: robust Tutor LMS single-course isolation */
body.rahel-single-course{margin:0!important;background:#f8fafc!important;color:#0f172a!important}
body.rahel-single-course #page,body.rahel-single-course .site,body.rahel-single-course .site-content,body.rahel-single-course main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
body.rahel-single-course .tutor-wrap,body.rahel-single-course .tutor-course-details-page{max-width:none!important;padding:0!important;margin:0!important}
.rahel-single-course .rahel-course-shell{position:relative;z-index:1}
.rahel-single-course .rahel-course-hero{margin-top:8px}
.rahel-single-course .rahel-course-description iframe,.rahel-single-course .rahel-course-description video{max-width:100%;width:100%;border-radius:14px}
.rahel-single-course .rahel-course-curriculum .tutor-course-topic-header,.rahel-single-course .rahel-course-curriculum .tutor-course-topic-body{background:#fff!important}
.rahel-single-course .rahel-course-curriculum ul,.rahel-single-course .rahel-course-curriculum ol{padding-left:1.25rem}
@media(max-width:900px){.rahel-single-course .rahel-course-title{font-size:34px}.rahel-single-course .rahel-course-grid{gap:18px}.rahel-single-course .rahel-course-main{gap:18px}}


/* v2.0: final single-course visual isolation */
body.rahel-single-course *{box-sizing:border-box}
body.rahel-single-course h1,body.rahel-single-course h2,body.rahel-single-course h3,body.rahel-single-course p{max-width:none}
body.rahel-single-course .rahel-course-main{width:min(1200px,calc(100% - 40px));margin-left:auto!important;margin-right:auto!important}
body.rahel-single-course .rahel-course-hero{width:min(1200px,calc(100% - 40px));margin-left:auto;margin-right:auto}
body.rahel-single-course .rahel-course-card{overflow:hidden}
body.rahel-single-course .rahel-course-description>*{max-width:100%}
body.rahel-single-course .rahel-course-description table{width:100%;display:block;overflow-x:auto}
body.rahel-single-course .rahel-course-curriculum .tutor-course-topic{background:#fff!important;border:1px solid #e2e8f0!important}
body.rahel-single-course .rahel-course-curriculum .tutor-course-topic-header{padding:16px 18px!important}
body.rahel-single-course .rahel-course-curriculum .tutor-course-topic-body{padding:0 18px 14px!important}
@media(max-width:900px){body.rahel-single-course .rahel-course-main,body.rahel-single-course .rahel-course-hero{width:calc(100% - 28px)}}

.rahel-add-course-cart{display:block;width:100%;box-sizing:border-box;text-align:center;background:#059669;color:#fff!important;border-radius:12px;padding:13px 18px;font-weight:800;margin:0 0 12px;text-decoration:none!important;transition:.2s}.rahel-add-course-cart:hover{background:#047857;transform:translateY(-1px)}


/* v2.2: mobile navigation for all standalone Rahel Academy inner pages */
.rahel-mobile-menu-toggle{display:none!important}
.rahel-mobile-menu{display:none;background:rgba(2,6,23,.98);border-top:1px solid #1e293b;padding:10px 14px 16px;box-shadow:0 18px 30px rgba(2,6,23,.25);position:relative;z-index:60}
.rahel-mobile-menu a{display:block;padding:12px 14px;margin-top:4px;border-radius:10px;color:#e2e8f0;text-decoration:none;font-size:14px;font-weight:700}
.rahel-mobile-menu a:hover,.rahel-mobile-menu a:active{background:#0f172a;color:#34d399}
.rahel-mobile-menu.is-open{display:block}
@media(max-width:1023px){
  .rahel-wp-page header > div{flex-wrap:wrap!important}
  .rahel-wp-page header nav{display:none!important}
  .rahel-mobile-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center}
  .rahel-mobile-menu{display:none}
  .rahel-mobile-menu.is-open{display:block}
}


/* v2.3: WooCommerce cart + checkout visual shell */
.rahel-woo-page{font-family:'Hind Siliguri','Plus Jakarta Sans',sans-serif;background:#f8fafc;color:#0f172a;min-height:100vh}
.rahel-woo-page .rahel-woo-shell{max-width:1200px;margin:0 auto;padding:42px 20px 72px}
.rahel-woo-page .rahel-woo-hero{text-align:center;margin-bottom:28px}
.rahel-woo-page .rahel-woo-kicker{display:inline-flex;padding:7px 13px;border-radius:999px;background:#dcfce7;color:#047857;font-size:12px;font-weight:900;border:1px solid #a7f3d0}
.rahel-woo-page .rahel-woo-title{font-size:clamp(32px,4vw,48px);line-height:1.1;font-weight:900;margin:12px 0 8px;color:#0f172a}
.rahel-woo-page .rahel-woo-subtitle{color:#64748b;font-size:15px;margin:0}
.rahel-woo-page .woocommerce{font-size:15px}
.rahel-woo-page .woocommerce form.checkout,.rahel-woo-page .woocommerce form.woocommerce-cart-form,.rahel-woo-page .woocommerce .cart-collaterals,.rahel-woo-page .woocommerce .woocommerce-checkout-review-order,.rahel-woo-page .woocommerce .woocommerce-cart-form__cart-item{background:#fff}
.rahel-woo-page .woocommerce form.checkout{border:1px solid #e2e8f0;border-radius:22px;padding:28px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
.rahel-woo-page .woocommerce form .form-row{padding:0;margin:0 0 16px}
.rahel-woo-page .woocommerce form .form-row label{font-weight:800;color:#0f172a;margin-bottom:7px;display:block}
.rahel-woo-page .woocommerce form .form-row input.input-text,.rahel-woo-page .woocommerce form .form-row textarea,.rahel-woo-page .woocommerce form .form-row select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;background:#fff;color:#0f172a;min-height:46px}
.rahel-woo-page .woocommerce form .form-row input:focus,.rahel-woo-page .woocommerce form .form-row textarea:focus,.rahel-woo-page .woocommerce form .form-row select:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.12)}
.rahel-woo-page .woocommerce h3{font-size:20px;font-weight:900;color:#0f172a;margin:0 0 18px}
.rahel-woo-page #order_review_heading{margin-top:0}
.rahel-woo-page #order_review{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:24px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
.rahel-woo-page .woocommerce table.shop_table{border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;border-collapse:separate;border-spacing:0;background:#fff}
.rahel-woo-page .woocommerce table.shop_table th,.rahel-woo-page .woocommerce table.shop_table td{padding:13px 15px;border-color:#e2e8f0}
.rahel-woo-page .woocommerce-checkout-payment{margin-top:18px;border-radius:16px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important}
.rahel-woo-page .woocommerce-checkout-payment ul.payment_methods{border-bottom:1px solid #e2e8f0!important}
.rahel-woo-page #place_order,.rahel-woo-page .woocommerce a.button,.rahel-woo-page .woocommerce button.button,.rahel-woo-page .woocommerce input.button{background:#059669!important;color:#fff!important;border-radius:12px!important;border:0!important;font-weight:900!important;padding:13px 20px!important;min-height:46px}
.rahel-woo-page #place_order:hover,.rahel-woo-page .woocommerce a.button:hover,.rahel-woo-page .woocommerce button.button:hover,.rahel-woo-page .woocommerce input.button:hover{background:#047857!important}
.rahel-woo-page .woocommerce-info,.rahel-woo-page .woocommerce-message,.rahel-woo-page .woocommerce-error{border-radius:14px!important;border-top:3px solid #059669!important;background:#fff!important;box-shadow:0 6px 20px rgba(15,23,42,.05)}
.rahel-woo-page .woocommerce-message a.button{float:right;margin:0}
.rahel-woo-page .woocommerce .quantity .qty{border:1px solid #cbd5e1;border-radius:10px;padding:9px}
.rahel-woo-page .woocommerce .coupon{display:flex;gap:8px;flex-wrap:wrap}
.rahel-woo-page .woocommerce .coupon .input-text{min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:9px 12px}
.rahel-woo-page .woocommerce .cart_totals{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:22px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
.rahel-woo-page .woocommerce .cart_totals h2{font-weight:900;font-size:22px}
.rahel-woo-page .woocommerce .cart_totals table{border:0}
.rahel-woo-page .woocommerce .return-to-shop{text-align:center;margin-top:20px}
@media(min-width:900px){.rahel-woo-page .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:28px}.rahel-woo-page .woocommerce form.checkout #customer_details{grid-column:1}.rahel-woo-page .woocommerce form.checkout #order_review_heading,.rahel-woo-page .woocommerce form.checkout #order_review{grid-column:2}.rahel-woo-page .woocommerce form.checkout #order_review_heading{grid-row:1}.rahel-woo-page .woocommerce form.checkout #order_review{grid-row:2}.rahel-woo-page .woocommerce form.checkout #order_review_heading{margin-top:0}.rahel-woo-page .woocommerce form.checkout .col2-set{width:auto}.rahel-woo-page .woocommerce form.checkout .col2-set .col-1,.rahel-woo-page .woocommerce form.checkout .col2-set .col-2{width:100%;float:none}}
@media(max-width:899px){.rahel-woo-page .rahel-woo-shell{padding:28px 14px 55px}.rahel-woo-page .woocommerce form.checkout{padding:20px}.rahel-woo-page #order_review{padding:18px}.rahel-woo-page .woocommerce .cart_totals{margin-top:22px}}

/* v2.6 legal/policy pages */
.rahel-legal-page .rahel-legal-content{font-family:'Hind Siliguri','Plus Jakarta Sans',sans-serif;font-size:16px;line-height:1.85;color:#334155}
.rahel-legal-page .rahel-legal-content h2{font-size:1.45rem;font-weight:800;color:#0f172a;margin:1.7rem 0 .7rem}
.rahel-legal-page .rahel-legal-content h3{font-size:1.15rem;font-weight:800;color:#0f172a;margin:1.35rem 0 .5rem}
.rahel-legal-page .rahel-legal-content p{margin:.65rem 0}
.rahel-legal-page .rahel-legal-content ul,.rahel-legal-page .rahel-legal-content ol{padding-left:1.4rem;margin:.7rem 0}
.rahel-legal-page .rahel-legal-content li{margin:.35rem 0}
.rahel-legal-page .rahel-legal-content a{color:#059669;text-decoration:underline}
@media(max-width:640px){.rahel-legal-page .rahel-legal-content{font-size:15px}.rahel-legal-page main{padding-bottom:3rem}}

.rahel-float-mini{width:56px;height:56px;border-radius:999px;border:0;background:#22c55e;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(15,23,42,.28);cursor:pointer;animation:rahelMiniBounce 2.4s ease-in-out infinite;position:relative;z-index:2}
.rahel-float-mini:hover{transform:scale(1.06)}
.rahel-float-mini svg{width:28px;height:28px;fill:currentColor}
@keyframes rahelMiniBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:640px){.rahel-float-mini{width:58px;height:58px}.rahel-float-mini svg{width:30px;height:30px}}
.rahel-wp-page main article[role="link"]:focus{outline:2px solid #34d399;outline-offset:3px}
@media(max-width:768px){.rahel-wp-page main{overflow-x:hidden}}

/* v3.4: Student Review detail uses the exact Home header/footer chrome. */
.rahel-review-detail-page{min-height:100vh;display:flex;flex-direction:column;background:#020617}
.rahel-review-detail-page .rahel-review-detail{flex:0 0 auto;width:100%}
.rahel-review-detail-page #footer{position:relative!important;display:block!important;width:100%!important;clear:both!important;margin-top:0!important}
.rahel-review-detail-page > header{display:block!important;width:100%!important;position:relative!important;z-index:50!important}

/* v3.5: Student Reviews pages always use the same Home header and footer. */
body.rahel-wp-page .rahel-student-reviews-page ~ footer, body.rahel-wp-page .rahel-review-detail-page footer{display:block!important;width:100%!important;clear:both!important;position:relative!important;z-index:20!important}
.rahel-student-reviews-page{min-height:0!important}
.rahel-review-detail-page{display:block!important;min-height:0!important}
.rahel-review-detail-page > header{display:block!important;position:relative!important;width:100%!important;z-index:50!important}
.rahel-review-detail-page footer{display:block!important;position:relative!important;width:100%!important;clear:both!important}

/* v3.9: unmistakable current-page navigation state */
.rahel-nav-active{
  background:#059669!important;
  color:#fff!important;
  border-color:rgba(52,211,153,.35)!important;
  box-shadow:0 5px 18px rgba(5,150,105,.22)!important;
  font-weight:900!important;
}
.rahel-mobile-menu a.rahel-nav-active{background:#059669!important;color:#fff!important}
.rahel-woo-page .woocommerce form.checkout{display:block}
.rahel-woo-page .woocommerce form.checkout #customer_details,
.rahel-woo-page .woocommerce form.checkout #order_review_heading,
.rahel-woo-page .woocommerce form.checkout #order_review{width:100%;box-sizing:border-box}
@media(min-width:900px){
  .rahel-woo-page .woocommerce form.checkout{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
    gap:28px;
  }
  .rahel-woo-page .woocommerce form.checkout #customer_details{grid-column:1}
  .rahel-woo-page .woocommerce form.checkout #order_review_heading,
  .rahel-woo-page .woocommerce form.checkout #order_review{grid-column:2}
}

/* v4.1: only the current navigation item is green */
header nav a.rahel-nav-active, nav a.rahel-nav-active{background:#059669!important;color:#fff!important;border-color:rgba(52,211,153,.35)!important;box-shadow:0 5px 18px rgba(5,150,105,.22)!important;font-weight:900!important}

/* v4.2: exactly one navigation item is active at a time. */
header nav a.rahel-nav-active, nav a.rahel-nav-active, .rahel-mobile-menu a.rahel-nav-active{background:#059669!important;color:#fff!important;border-color:rgba(52,211,153,.35)!important;box-shadow:0 5px 18px rgba(5,150,105,.22)!important;font-weight:900!important}

/* v5.0 legal policy typography */
.rahel-legal-content h2{font-size:1.25rem;line-height:1.4;font-weight:900;color:#0f172a;margin:1.75rem 0 .65rem}
.rahel-legal-content h2:first-child{margin-top:0}
.rahel-legal-content p,.rahel-legal-content li{font-size:.95rem;line-height:1.85;color:#475569}
.rahel-legal-content ul{padding-left:1.35rem;margin:.5rem 0 1.2rem}
.rahel-legal-content li{margin:.45rem 0}

/* v5.1 — screenshot-matched legal/policy layout */
.rahel-legal-page{background:#f8fafc!important;color:#0f172a}
.rahel-legal-page .rahel-legal-wrap{min-height:100vh;background:#f8fafc}
.rahel-legal-page .rahel-legal-main{background:#f8fafc!important;padding:64px 18px 70px!important}
.rahel-legal-page .rahel-legal-container{max-width:920px;margin:0 auto}
.rahel-legal-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 28px}
.rahel-legal-actions a{display:inline-flex;align-items:center;min-height:40px;padding:8px 15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;color:#17365f;text-decoration:none;font-weight:800;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.rahel-legal-actions .rahel-legal-courses{border-color:#a7f3d0;color:#008c68}
.rahel-policy-tabs{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:6px;background:#e7edf4;border-radius:16px;padding:6px;margin-bottom:32px}
.rahel-policy-tabs a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border-radius:12px;color:#1d3557;text-decoration:none;font-weight:800;font-size:14px;text-align:center}
.rahel-policy-tabs a.active{background:#00a373;color:#fff;box-shadow:0 5px 12px rgba(0,163,115,.2)}
.rahel-policy-card{background:#fff;border:1px solid #dbe4ee;border-radius:25px;overflow:hidden;box-shadow:0 16px 34px rgba(15,23,42,.13)}
.rahel-policy-hero{background:#0d172d;color:#fff;padding:40px 42px 42px}
.rahel-policy-badge{display:inline-flex;padding:6px 13px;border-radius:999px;border:1px solid rgba(0,207,148,.45);background:rgba(0,163,115,.13);color:#39e0b0;font-size:12px;font-weight:800}
.rahel-policy-hero h1{font-size:34px;line-height:1.2;margin:14px 0 9px;color:#fff;font-weight:900;letter-spacing:-.6px}
.rahel-policy-hero>p{margin:0;color:#cbd5e1;font-size:15px;line-height:1.75}
.rahel-policy-meta{margin-top:13px;color:#94a3b8;font-size:12px}.rahel-policy-meta span{margin:0 10px}.rahel-policy-meta b{color:#16c995;font-weight:700}
.rahel-policy-body{padding:18px 38px 8px}
.rahel-policy-section{padding:20px 0 28px;border-bottom:1px solid #e5eaf0}
.rahel-policy-section:last-child{border-bottom:0}
.rahel-policy-section h2{margin:0 0 10px!important;font-size:20px!important;line-height:1.45!important;color:#07152e!important;font-weight:900!important}
.rahel-policy-section h2 span{color:#00a373;margin-right:8px;font-size:18px}
.rahel-policy-section>p{margin:0!important;font-size:15px!important;line-height:1.9!important;color:#4b6380!important}
.rahel-policy-box{background:#f7fafc;border:1px solid #e7edf3;border-radius:15px;padding:13px 18px;margin-top:13px}
.rahel-policy-item{display:flex;gap:10px;align-items:flex-start}.rahel-policy-item+ .rahel-policy-item{margin-top:8px}.rahel-policy-item>span{flex:0 0 17px;width:17px;height:17px;border:1.5px solid #00b783;color:#00a373;border-radius:50%;font-size:10px;line-height:14px;text-align:center;margin-top:4px;font-weight:900}.rahel-policy-item p{margin:0!important;color:#38526f!important;font-size:14px!important;line-height:1.7!important}
.rahel-policy-support{margin:0;border-top:1px solid #dbe4ee;background:#f7fafc;padding:30px 32px;display:flex;align-items:center;gap:14px}.rahel-support-icon{width:48px;height:48px;border-radius:14px;background:#d1fae5;color:#008c68;display:flex;align-items:center;justify-content:center;font-size:23px}.rahel-policy-support strong{display:block;font-size:15px;color:#10233f}.rahel-policy-support small{display:block;color:#64748b;font-size:11px;margin-top:2px}.rahel-policy-support small b{color:#00966f}.rahel-policy-support>a{margin-left:auto;background:#0d172d;color:#fff;border-radius:12px;padding:10px 18px;text-decoration:none;font-weight:800;font-size:12px}
@media(max-width:700px){.rahel-legal-page .rahel-legal-main{padding:32px 12px 50px!important}.rahel-legal-actions{margin-bottom:18px}.rahel-legal-actions a{font-size:12px;padding:7px 10px}.rahel-policy-tabs{grid-template-columns:1fr;gap:3px}.rahel-policy-tabs a{min-height:40px}.rahel-policy-hero{padding:30px 22px}.rahel-policy-hero h1{font-size:27px}.rahel-policy-body{padding:10px 20px}.rahel-policy-section{padding:18px 0 23px}.rahel-policy-section h2{font-size:18px!important}.rahel-policy-section>p,.rahel-policy-item p{font-size:14px!important}.rahel-policy-support{padding:22px 18px;flex-wrap:wrap}.rahel-policy-support>a{margin-left:62px}}

/* v7.8 — polished Tutor LMS single-course shell; preserves real Tutor/Woo functionality */
.rahel-course-breadcrumb{max-width:1200px;margin:0 auto 14px;padding:0 4px;color:#64748b;font-size:13px;display:flex;align-items:center;gap:8px}
.rahel-course-breadcrumb a{color:#059669;font-weight:800;text-decoration:none}.rahel-course-breadcrumb a:hover{text-decoration:underline}
.rahel-course-trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;color:#a7f3d0;font-size:12px;font-weight:800}
.rahel-course-trust-row span{padding:7px 10px;border-radius:999px;background:rgba(16,185,129,.08);border:1px solid rgba(110,231,183,.18)}
.rahel-buy-note{font-size:11px;font-weight:800;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:9px 11px;margin:0 0 12px}
.rahel-tutor-primary-action .tutor-course-enroll-wrap,.rahel-tutor-primary-action .tutor-course-enroll-box{margin:0!important}
.rahel-tutor-primary-action .tutor-btn,.rahel-tutor-primary-action button,.rahel-tutor-primary-action a{width:100%!important;min-height:48px!important;border-radius:13px!important;font-weight:900!important}
.rahel-course-buy .tutor-course-enroll-wrap,.rahel-course-buy .tutor-course-enroll-box{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.rahel-course-buy .tutor-course-enroll-wrap form,.rahel-course-buy .tutor-course-enroll-box form{margin:0!important}
.rahel-course-buy .tutor-course-enroll-wrap .tutor-btn,.rahel-course-buy .tutor-course-enroll-box .tutor-btn{background:#059669!important;color:#fff!important;border:0!important}
.rahel-course-buy .tutor-course-enroll-wrap .tutor-btn:hover,.rahel-course-buy .tutor-course-enroll-box .tutor-btn:hover{background:#047857!important}
.rahel-course-main .rahel-course-card{backdrop-filter:blur(4px)}
.rahel-course-curriculum h2{display:flex;align-items:center;gap:10px}.rahel-course-curriculum h2:before{content:'📚';font-size:21px}
@media(max-width:900px){.rahel-course-breadcrumb{width:calc(100% - 28px);padding:0;margin-bottom:10px}.rahel-course-trust-row{gap:7px}.rahel-course-trust-row span{font-size:11px}}

/* v7.9 — use Tutor LMS native course content exactly once */
.rahel-single-course .rahel-course-curriculum .tutor-course-topics-wrap{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.rahel-single-course .rahel-course-curriculum .tutor-course-topics-header{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px!important;background:transparent!important;border:0!important}
.rahel-single-course .rahel-course-curriculum .tutor-course-topics-contents{padding:0!important}
.rahel-single-course .rahel-course-curriculum .tutor-course-topic{margin:0 0 10px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}
.rahel-single-course .rahel-course-curriculum .tutor-course-title{padding:15px 16px!important}
.rahel-single-course .rahel-course-curriculum .tutor-course-content-list{background:#f8fafc!important}
.rahel-single-course .rahel-course-curriculum .tutor-course-content-list-item{border-top:1px solid #e2e8f0!important}
.rahel-curriculum-note{margin:-8px 0 18px!important;color:#64748b!important;font-size:13px!important}
.rahel-course-benefits ul{margin:0!important;padding-left:1.2rem!important}
.rahel-course-buy .tutor-course-entry-box,.rahel-course-buy .tutor-course-enroll-box,.rahel-course-buy .tutor-course-enroll-wrap{margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
.rahel-course-buy .tutor-course-entry-box .tutor-btn,.rahel-course-buy .tutor-course-enroll-box .tutor-btn,.rahel-course-buy .tutor-course-enroll-wrap .tutor-btn{width:100%!important;border-radius:12px!important;font-weight:800!important;padding:13px 18px!important}
/* Prevent a second native purchase/curriculum block from appearing outside our custom shell. */
body.rahel-single-course > .tutor-wrap,body.rahel-single-course > .tutor-course-details-page{display:none!important}


/* v8.0 — duplicate-free Tutor single course layout
 * Tutor LMS remains the single source of truth for course purchase/meta/curriculum.
 */
body.rahel-single-course .rahel-tutor-native-entry {
  width:100%;
  margin:0;
  padding:0;
}
body.rahel-single-course .rahel-tutor-native-entry > .tutor-card,
body.rahel-single-course .rahel-tutor-native-entry .tutor-course-enroll-box {
  margin:0!important;
}
body.rahel-single-course .rahel-course-curriculum {
  padding-top:22px!important;
}
body.rahel-single-course .rahel-course-curriculum > h2,
body.rahel-single-course .rahel-course-curriculum > .rahel-curriculum-note {
  display:none!important;
}
/* Never show an extra Tutor course wrapper outside our custom shell. */
body.rahel-single-course > .tutor-wrap,
body.rahel-single-course > .tutor-course-details-page {
  display:none!important;
}

/* v8.1 — clean single-source Tutor course layout */
body.rahel-single-course .rahel-course-main{align-items:start;}
body.rahel-single-course .rahel-course-content-column{min-width:0;}
body.rahel-single-course .rahel-course-content-card{overflow:hidden;}
body.rahel-single-course .rahel-course-content-intro{padding:28px 30px 20px;background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);border-bottom:1px solid #e2e8f0;}
body.rahel-single-course .rahel-course-section-kicker{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.12em;color:#059669;text-transform:uppercase;margin-bottom:8px;}
body.rahel-single-course .rahel-course-content-intro h2{margin:0 0 8px;font-size:26px;line-height:1.2;color:#0f172a;font-weight:850;}
body.rahel-single-course .rahel-course-content-intro p{margin:0;max-width:760px;color:#64748b;font-size:14px;line-height:1.7;}
body.rahel-single-course .rahel-course-description{padding:0 30px 30px;}
body.rahel-single-course .rahel-course-description > *:first-child{margin-top:24px;}
body.rahel-single-course .rahel-course-description h3,
body.rahel-single-course .rahel-course-description h4{color:#0f172a;}
body.rahel-single-course .rahel-course-description a{color:#059669;}
body.rahel-single-course .rahel-course-description ul{padding-left:1.25rem;}
body.rahel-single-course .rahel-course-description img{max-width:100%;height:auto;border-radius:14px;}
body.rahel-single-course .rahel-course-description iframe{max-width:100%;border-radius:14px;}
body.rahel-single-course .rahel-course-sidebar{position:sticky;top:96px;align-self:start;}
body.rahel-single-course .rahel-tutor-native-entry{background:#fff;border-radius:18px;}
body.rahel-single-course .rahel-course-reviews-section{margin-top:28px;}

/* Never render a second Tutor wrapper outside our custom shell. */
body.rahel-single-course > .tutor-wrap,
body.rahel-single-course > .tutor-course-details-page,
body.rahel-single-course > .tutor-course-details{display:none!important;}

@media(max-width:991px){
  body.rahel-single-course .rahel-course-sidebar{position:static;}
  body.rahel-single-course .rahel-course-content-intro{padding:22px 20px 18px;}
  body.rahel-single-course .rahel-course-description{padding:0 20px 24px;}
}

/* v8.2 — Tutor elements must have one source only. */
body.rahel-single-course .rahel-native-course-layout .rahel-course-content-card{
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.rahel-single-course .rahel-native-tutor-content,
body.rahel-single-course .rahel-native-tutor-block{
  margin:0 0 24px!important;
}
body.rahel-single-course .rahel-native-tutor-content > *:first-child{margin-top:0!important;}
body.rahel-single-course .rahel-native-tutor-block .tutor-card,
body.rahel-single-course .rahel-native-tutor-block .tutor-course-topics-wrap,
body.rahel-single-course .rahel-native-tutor-block .tutor-course-instructors-wrap,
body.rahel-single-course .rahel-native-tutor-block .tutor-course-reviews-wrap{
  margin-left:0!important;
  margin-right:0!important;
}
