/*
Theme Name: eQuran Academy Platform
Theme URI: https://equranacademy.com/
Author: eQuran Academy
Description: A standalone eQuran Academy theme combining the existing Quran academy, Quran post types, forms and SEO routes with the complete free Islamic services platform.
Version: 1.6.1
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: equran-platform
*/

/* WordPress compatibility layer. The full visual system is in assets/css/platform.css. */
html { scroll-behavior: smooth; }
body.admin-bar .site-header { top: 32px; }

/* Academy homepage: modern design with the original homepage's service content. */
.eqa-academy-home { overflow:hidden; background:#fff; }
.eqa-home-hero { position:relative; overflow:hidden; background:linear-gradient(135deg,#083c29 0%,#0e5135 57%,#176b49 100%); color:#fff; }
.eqa-home-ornament { position:absolute; inset:0; opacity:.13; background-image:radial-gradient(circle at 1px 1px,#fff 1.2px,transparent 1.3px); background-size:28px 28px; mask-image:linear-gradient(90deg,#000,transparent 70%); }
.eqa-home-hero::after { position:absolute; right:-180px; top:-250px; width:650px; height:650px; border:1px solid rgba(222,190,126,.25); border-radius:50%; content:""; box-shadow:0 0 0 85px rgba(255,255,255,.02),0 0 0 170px rgba(255,255,255,.018); }
.eqa-home-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr); gap:clamp(42px,7vw,92px); align-items:center; padding-top:clamp(72px,8vw,116px); padding-bottom:clamp(72px,8vw,116px); }
.eqa-home-hero-copy h1 { max-width:800px; margin:13px 0 22px; color:#fff; font-size:clamp(46px,6.1vw,78px); line-height:1.03; letter-spacing:-.045em; }
.eqa-home-hero-lede { max-width:720px; margin:0 0 30px; color:rgba(255,255,255,.83); font-size:clamp(17px,2vw,21px); line-height:1.75; }
.eqa-home-hero .eyebrow,.eqa-home-final-cta .eyebrow { color:#e2be78; }
.eqa-home-hero .button-secondary { border-color:rgba(255,255,255,.46); color:#fff; }
.eqa-home-trust { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.eqa-home-trust span { border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.08); padding:9px 13px; color:rgba(255,255,255,.8); font-size:13px; }
.eqa-home-trust strong { color:#fff; }
.eqa-home-form-card { position:relative; border:1px solid rgba(222,190,126,.55); border-radius:26px; background:#fff; padding:clamp(25px,3vw,38px); color:#183d2f; box-shadow:0 30px 80px rgba(0,0,0,.24); }
.eqa-home-form-card .eyebrow { margin-bottom:8px; color:#8b6423; }
.eqa-home-form-card h2 { margin:0 0 9px; color:#083c29; font-size:clamp(29px,3vw,38px); }
.eqa-home-form-card > p:not(.eyebrow) { margin:0 0 20px; color:#64736c; line-height:1.6; }
.eqa-home-form-card > small { display:block; margin-top:12px; color:#7d8983; font-size:11px; line-height:1.5; text-align:center; }
.eqa-home-form-icon { position:absolute; right:22px; top:-24px; display:grid; width:58px; height:58px; place-items:center; border:4px solid #0e5135; border-radius:18px; background:#e2be78; color:#083c29; font-family:"Amiri Quran",serif; font-size:17px; font-weight:800; transform:rotate(4deg); }
.eqa-home-assessment-form { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.eqa-home-assessment-form label { display:grid; gap:5px; margin:0; color:#315d4a; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.eqa-home-assessment-form input { width:100%; min-height:47px; border:1px solid #d6e0da; border-radius:10px; background:#f9fbfa; padding:10px 12px; color:#163d2d; font:inherit; }
.eqa-home-assessment-form input:focus { outline:3px solid rgba(196,154,85,.24); border-color:#bd9147; }
.eqa-home-assessment-form button { grid-column:1/-1; width:100%; margin-top:2px; }
.eqa-home-proof-band { border-bottom:1px solid #e4ebe6; background:#f6f9f7; }
.eqa-home-proof-band .shell { display:flex; min-height:64px; align-items:center; justify-content:center; gap:20px; color:#315d4a; font-size:13px; font-weight:800; text-align:center; }
.eqa-home-proof-band i { width:4px; height:4px; border-radius:50%; background:#c49a55; }
.eqa-home-heading { max-width:780px; margin:0 auto 45px; text-align:center; }
.eqa-home-heading h2,.eqa-home-method h2,.eqa-home-teachers h2 { margin:10px 0 14px; color:#083c29; font-size:clamp(36px,4.6vw,55px); line-height:1.12; letter-spacing:-.035em; }
.eqa-home-heading > p:last-child,.eqa-home-method-copy > p,.eqa-home-teachers .shell > div:last-child > p { color:#627168; font-size:17px; line-height:1.75; }
.eqa-home-heading-compact { max-width:720px; }
.eqa-home-card-grid { display:grid; gap:22px; }
.eqa-home-card-grid-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.eqa-home-benefits { background:#fff; }
.eqa-home-benefit-card { border:1px solid rgba(14,81,53,.12); border-radius:22px; background:#fff; padding:30px; box-shadow:0 16px 46px rgba(8,60,41,.07); }
.eqa-home-card-icon { display:grid; width:54px; height:54px; place-items:center; margin-bottom:22px; border-radius:16px; background:#e9f3ed; color:#0e5135; font-size:19px; font-weight:900; }
.eqa-home-benefit-card h3,.eqa-home-course-card h3,.eqa-home-requirement-grid h3,.eqa-home-step-grid h3,.eqa-home-reason-card h3,.eqa-home-resource-grid h3 { margin:0 0 10px; color:#0b452f; font-size:23px; }
.eqa-home-benefit-card p,.eqa-home-course-card p,.eqa-home-requirement-grid p,.eqa-home-step-grid p,.eqa-home-reason-card p,.eqa-home-resource-grid p { margin:0; color:#66746d; line-height:1.7; }
.eqa-home-method { background:#f4f8f5; }
.eqa-home-method-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr); gap:clamp(45px,7vw,90px); align-items:center; }
.eqa-home-checklist { display:grid; gap:13px; margin:25px 0 30px; padding:0; list-style:none; }
.eqa-home-checklist li { position:relative; padding-left:31px; color:#365c4c; line-height:1.6; }
.eqa-home-checklist li::before { position:absolute; left:0; top:1px; display:grid; width:21px; height:21px; place-items:center; border-radius:50%; background:#dfeee5; color:#0e5135; content:"✓"; font-size:12px; font-weight:900; }
.eqa-home-video-preview { position:relative; display:grid; min-height:430px; place-content:center; overflow:hidden; border-radius:28px; background:radial-gradient(circle at 50% 28%,rgba(226,190,120,.32),transparent 30%),linear-gradient(145deg,#0e5135,#062d1f); padding:42px; color:#fff; text-align:center; box-shadow:0 28px 65px rgba(8,60,41,.2); }
.eqa-home-video-preview::before,.eqa-home-video-preview::after { position:absolute; width:320px; height:320px; border:1px solid rgba(255,255,255,.1); border-radius:50%; content:""; }
.eqa-home-video-preview::before { left:-130px; top:-150px; }.eqa-home-video-preview::after { right:-150px; bottom:-170px; }
.eqa-home-video-arabic { position:relative; font-family:"Amiri Quran",serif; font-size:70px; line-height:1.2; }
.eqa-home-video-preview i { position:relative; display:grid; width:72px; height:72px; place-items:center; margin:28px auto 22px; border:1px solid rgba(255,255,255,.34); border-radius:50%; background:#e2be78; color:#083c29; font-style:normal; font-size:22px; box-shadow:0 12px 30px rgba(0,0,0,.22); }
.eqa-home-video-preview strong,.eqa-home-video-preview small { position:relative; display:block; }.eqa-home-video-preview strong { font-size:24px; }.eqa-home-video-preview small { margin-top:5px; color:rgba(255,255,255,.7); }
.eqa-home-courses { background:#fff; }
.eqa-home-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.eqa-home-course-card { display:flex; min-height:320px; flex-direction:column; border:1px solid rgba(14,81,53,.13); border-radius:22px; background:linear-gradient(180deg,#fff,#f8fbf9); padding:28px; color:#183d2f; box-shadow:0 13px 38px rgba(8,60,41,.06); transition:.22s ease; }
.eqa-home-course-card:hover { border-color:#c49a55; transform:translateY(-5px); box-shadow:0 22px 48px rgba(8,60,41,.12); }
.eqa-home-course-card > span { display:grid; width:52px; height:52px; place-items:center; margin-bottom:28px; border-radius:15px; background:#0e5135; color:#fff; font-family:"Amiri Quran",serif; font-size:25px; }
.eqa-home-course-card b { margin-top:auto; padding-top:22px; color:#8a6425; }
.eqa-home-requirements { background:#0b422e; color:#fff; }
.eqa-home-requirements .eyebrow { color:#e2be78; }.eqa-home-requirements h2 { color:#fff; }
.eqa-home-requirement-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.eqa-home-requirement-grid article { border:1px solid rgba(255,255,255,.13); border-radius:20px; background:rgba(255,255,255,.07); padding:28px; }
.eqa-home-requirement-grid article > span { display:grid; width:48px; height:48px; place-items:center; margin-bottom:18px; border-radius:14px; background:#e2be78; color:#083c29; font-size:20px; font-weight:900; }
.eqa-home-requirement-grid h3 { color:#fff; }.eqa-home-requirement-grid p { color:rgba(255,255,255,.7); }
.eqa-home-steps { background:#f6f9f7; }
.eqa-home-step-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; border:1px solid #dfe8e2; border-radius:24px; background:#fff; box-shadow:0 16px 50px rgba(8,60,41,.07); }
.eqa-home-step-grid article { position:relative; padding:36px; }.eqa-home-step-grid article+article { border-left:1px solid #dfe8e2; }
.eqa-home-step-grid span { display:block; margin-bottom:20px; color:#bd9147; font-size:16px; font-weight:900; letter-spacing:.12em; }
.eqa-home-why { background:#fff; }
.eqa-home-reason-card { display:flex; gap:19px; align-items:flex-start; border:1px solid rgba(14,81,53,.12); border-radius:19px; padding:24px; }
.eqa-home-reason-card > span { display:grid; width:50px; min-width:50px; height:50px; place-items:center; border-radius:14px; background:#e9f3ed; color:#0e5135; font-size:14px; font-weight:900; }
.eqa-home-reason-card h3 { font-size:20px; }.eqa-home-reason-card p { font-size:14px; }
.eqa-home-teachers { background:#f4f8f5; }
.eqa-home-teacher-grid { display:grid; grid-template-columns:minmax(330px,.75fr) minmax(0,1.25fr); gap:clamp(45px,7vw,90px); align-items:center; }
.eqa-home-teacher-art { position:relative; display:grid; min-height:480px; place-content:center; overflow:hidden; border-radius:28px; background:linear-gradient(145deg,#d8ebe0,#f9f4e9); color:#0e5135; text-align:center; }
.eqa-home-teacher-art::before { position:absolute; inset:35px; border:1px solid rgba(14,81,53,.16); border-radius:50% 50% 44% 44%; content:""; }
.eqa-home-teacher-art span { position:relative; font-family:"Amiri Quran",serif; font-size:130px; line-height:1; }.eqa-home-teacher-art i { position:relative; width:80px; height:3px; margin:20px auto; background:#c49a55; }.eqa-home-teacher-art b { position:relative; color:#315d4a; }
.eqa-home-resources { background:#fff; }
.eqa-home-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.eqa-home-resource-grid > a { display:flex; min-height:310px; flex-direction:column; border:1px solid rgba(14,81,53,.14); border-radius:24px; background:#fff; padding:30px; color:#173d2e; box-shadow:0 15px 42px rgba(8,60,41,.07); }
.eqa-home-resource-grid > a > span { display:flex; min-height:70px; align-items:center; color:#0e5135; font-family:"Amiri Quran",serif; font-size:44px; }
.eqa-home-resource-grid small { color:#a17631; font-size:11px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.eqa-home-resource-grid h3 { margin-top:8px; }.eqa-home-resource-grid b { display:block; margin-top:22px; color:#0e5135; }
.eqa-home-library { margin-top:52px; border:1px solid rgba(14,81,53,.13); border-radius:26px; background:#f8faf8; padding:clamp(22px,4vw,42px); box-shadow:0 18px 52px rgba(8,60,41,.07); }
.eqa-home-library-heading { display:flex; align-items:end; justify-content:space-between; gap:35px; margin-bottom:25px; }
.eqa-home-library-heading h3 { margin:7px 0 0; color:#083c29; font-size:clamp(28px,3vw,40px); }
.eqa-home-library-heading > p { max-width:520px; margin:0; color:#64746b; line-height:1.65; }
.eqa-home-final-cta { background:linear-gradient(130deg,#0e5135,#083c29); color:#fff; }
.eqa-home-final-cta .shell { display:flex; min-height:310px; align-items:center; justify-content:space-between; gap:45px; padding-top:55px; padding-bottom:55px; }
.eqa-home-final-cta h2 { max-width:780px; margin:8px 0 12px; color:#fff; font-size:clamp(36px,4.5vw,56px); line-height:1.12; }.eqa-home-final-cta p:last-child { color:rgba(255,255,255,.72); }
@media (max-width:1000px) {
	.eqa-home-hero-grid,.eqa-home-method-grid,.eqa-home-teacher-grid { grid-template-columns:1fr; }
	.eqa-home-hero-copy { text-align:center; }.eqa-home-hero-copy h1,.eqa-home-hero-lede { margin-left:auto; margin-right:auto; }.eqa-home-hero-copy .hero-actions,.eqa-home-trust { justify-content:center; }
	.eqa-home-form-card { width:min(100%,680px); margin:auto; }.eqa-home-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.eqa-home-method-copy { order:2; }.eqa-home-video-preview { min-height:360px; }.eqa-home-teacher-art { min-height:360px; }
}
@media (max-width:760px) {
	.eqa-home-hero-grid { padding-top:58px; padding-bottom:62px; }.eqa-home-hero-copy h1 { font-size:43px; }
	.eqa-home-card-grid-three,.eqa-home-requirement-grid,.eqa-home-step-grid,.eqa-home-resource-grid { grid-template-columns:1fr; }
	.eqa-home-step-grid article+article { border-top:1px solid #dfe8e2; border-left:0; }
	.eqa-home-proof-band .shell { flex-wrap:wrap; gap:9px 13px; padding-top:16px; padding-bottom:16px; }.eqa-home-proof-band i { display:none; }
	.eqa-home-final-cta .shell { flex-direction:column; align-items:flex-start; }.eqa-home-final-cta .button { width:100%; }
	.eqa-home-library-heading { display:block; }.eqa-home-library-heading > p { margin-top:12px; }
}
@media (max-width:520px) {
	.eqa-home-assessment-form,.eqa-home-course-grid { grid-template-columns:1fr; }.eqa-home-assessment-form button { grid-column:auto; }
	.eqa-home-hero-copy .hero-actions { display:grid; }.eqa-home-hero-copy .button { width:100%; }.eqa-home-trust { display:grid; grid-template-columns:1fr 1fr; }
	.eqa-home-video-preview { min-height:300px; padding:28px; }.eqa-home-video-arabic { font-size:52px; }.eqa-home-course-card { min-height:270px; }
}
.brand-book {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: 25px;
}
.wp-content-shell { padding: 68px 0 90px; }
.wp-content-card {
  border: 1px solid rgba(14,81,53,.12);
  border-radius: 24px;
  background: #fff;
  padding: clamp(24px,4vw,54px);
  box-shadow: 0 18px 50px rgba(8,60,41,.08);
}
.wp-content-card > :first-child { margin-top: 0; }
.wp-content-card > :last-child { margin-bottom: 0; }
.wp-content-card img { max-width: 100%; height: auto; border-radius: 12px; }
.legacy-quran-gallery {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin:0 0 30px;
}
.legacy-quran-page {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:8px;
  border:1px solid rgba(14,81,53,.14);
  border-radius:14px;
  background:#fbf8f1;
  padding:10px;
  color:#0e5135;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(8,60,41,.06);
}
.legacy-quran-page:hover,
.legacy-quran-page:focus-visible {
  border-color:#c49a55;
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(8,60,41,.11);
}
.legacy-quran-page:focus-visible { outline:3px solid rgba(196,154,85,.45); outline-offset:3px; }
.legacy-gallery-intro { margin-bottom:28px; }
.legacy-gallery-intro:empty { display:none; }
.legacy-gallery-note {
  display:flex; align-items:center; gap:10px; margin:0 0 20px; border-radius:12px;
  background:#eef6f1; padding:12px 15px; color:#315d4a; font-size:14px; font-weight:650;
}
.legacy-gallery-note::before { content:'↗'; color:#0e5135; font-size:18px; font-weight:900; }
.lg-backdrop { z-index:100000!important; }
.lg-outer { z-index:100001!important; }
.legacy-quran-page img {
  display:block;
  width:100%;
  aspect-ratio:3 / 4;
  object-fit:cover;
  object-position:top center;
  border-radius:8px;
  background:#eef2ed;
}
.legacy-quran-page span { font-weight:800; }
.legacy-index-panel a { gap:10px; }
.legacy-index-number {
  display:inline-grid;
  flex:0 0 34px;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:50%;
  background:#0e5135;
  color:#fff;
  font-size:13px;
  font-weight:800;
}
.legacy-surah-heading {
  margin:0 0 26px;
  border-radius:20px;
  background:linear-gradient(135deg,#0e5135,#17734d);
  padding:28px;
  color:#fff;
  text-align:center;
}
.legacy-surah-heading span { font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.legacy-surah-heading h2 { margin:12px 0 6px; color:#fff; font-family:'Amiri Quran',serif; font-size:clamp(42px,7vw,74px); line-height:1.35; }
.legacy-surah-heading p { margin:0; color:rgba(255,255,255,.82); }
.legacy-surah-verses { display:grid; gap:14px; }
.legacy-surah-ayah { position:relative; border:1px solid rgba(14,81,53,.13); border-radius:16px; background:#fffdf8; padding:24px; }
.legacy-ayah-number { display:grid; width:34px; height:34px; place-items:center; border-radius:50%; background:#e7f1eb; color:#0e5135; font-size:13px; font-weight:850; }
.legacy-ayah-arabic { margin:10px 0 18px; color:#143b2d; font-family:'Amiri Quran',serif; font-size:clamp(31px,4.5vw,46px); line-height:2.05; text-align:right; }
.legacy-ayah-translation { margin:0; color:#496458; font-size:16px; line-height:1.75; }
.legacy-quran-empty {
  border:1px dashed rgba(14,81,53,.25);
  border-radius:12px;
  background:#fbf8f1;
  padding:18px;
  color:#5e6a63;
}
.wp-content-card iframe { max-width: 100%; }
.wp-content-card table { width: 100%; border-collapse: collapse; }
.wp-content-card td,.wp-content-card th { border: 1px solid #d9ded8; padding: 12px; }
.wp-content-card input,.wp-content-card select,.wp-content-card textarea {
  max-width: 100%;
  border: 1px solid #cbd6cf;
  border-radius: 9px;
  padding: 10px 12px;
}
.wp-content-card input[type=submit],.wp-content-card button {
  border: 0;
  border-radius: 9px;
  background: #0e5135;
  padding: 12px 22px;
  color: #fff;
  font-weight: 800;
}
.legacy-index-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:24px; }
.legacy-index-tabs button {
  border:1px solid rgba(14,81,53,.18); border-radius:999px; background:#fff;
  padding:10px 15px; color:#083c29; cursor:pointer; font-weight:750;
}
.legacy-index-tabs button.active { background:#0e5135; color:#fff; }
.legacy-index-panel { display:none; }
.legacy-index-panel.active { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.legacy-index-panel a {
  border:1px solid #d9ded8; border-radius:10px; background:#fff; padding:12px 14px;
  color:#0e5135; font-weight:650;
}
.post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.post-card {
  overflow:hidden; border:1px solid rgba(14,81,53,.12); border-radius:18px;
  background:#fff; box-shadow:0 14px 35px rgba(8,60,41,.07);
}
.post-card img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:0; }
.post-card-body { padding:20px; }
.post-card h2 { margin:0 0 10px; font-size:27px; }
.post-card p { color:#5e6a63; }
.post-card a { color:#0e5135; font-weight:800; }
.single-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; }
.single-sidebar { position:sticky; top:120px; }
.single-sidebar .assessment-mini {
  border:1px solid rgba(196,154,85,.4); border-radius:20px; background:#fbf8f1;
  padding:24px; box-shadow:0 18px 45px rgba(8,60,41,.08);
}
.single-sidebar h2 { font-size:28px; }
.assessment-mini input { width:100%; margin-bottom:10px; }
.assessment-mini input[type=submit] { width:100%; }
.pagination { display:flex; justify-content:center; gap:8px; margin-top:36px; }
.pagination .page-numbers { border:1px solid #d9ded8; border-radius:8px; padding:8px 12px; }
.pagination .current { background:#0e5135; color:#fff; }
.screen-reader-text {
  position:absolute!important; width:1px!important; height:1px!important; padding:0!important;
  margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important;
}
.eqa-lessons-intro { max-width:780px; margin:0 auto 30px; text-align:center; }
.eqa-lessons-intro h2 { margin:8px 0 12px; color:#083c29; font-size:clamp(30px,4vw,44px); }
.eqa-lessons-intro p:last-child,.eqa-lesson-panel-head p { color:#5e6a63; line-height:1.7; }
.eqa-lesson-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 34px; }
.wp-content-card .eqa-lesson-tabs button {
  display:flex; flex-direction:column; gap:3px; align-items:flex-start; border:1px solid rgba(14,81,53,.16);
  border-radius:14px; background:#f7faf8; padding:16px 18px; color:#164b37; cursor:pointer; text-align:left;
}
.wp-content-card .eqa-lesson-tabs button span { color:#73857c; font-size:12px; font-weight:650; }
.wp-content-card .eqa-lesson-tabs button.active { border-color:#0e5135; background:#0e5135; color:#fff; box-shadow:0 10px 26px rgba(14,81,53,.2); }
.wp-content-card .eqa-lesson-tabs button.active span { color:rgba(255,255,255,.72); }
.eqa-lesson-panel[hidden],.eqa-video-modal[hidden] { display:none!important; }
.eqa-lesson-panel-head { margin-bottom:22px; }
.eqa-lesson-panel-head h2 { margin:0 0 5px; color:#083c29; font-size:30px; }
.eqa-lesson-panel-head p { margin:0; }
.eqa-video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.wp-content-card .eqa-video-card {
  overflow:hidden; display:flex; flex-direction:column; border:1px solid rgba(14,81,53,.13); border-radius:16px;
  background:#fff; padding:0; color:#173b2d; cursor:pointer; text-align:left; box-shadow:0 10px 30px rgba(8,60,41,.07);
  transition:transform .2s ease,box-shadow .2s ease;
}
.wp-content-card .eqa-video-card:hover { transform:translateY(-3px); box-shadow:0 16px 38px rgba(8,60,41,.13); }
.eqa-video-thumb { position:relative; display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:#e9eee9; }
.eqa-video-thumb img { width:100%; height:100%; border-radius:0; object-fit:cover; }
.eqa-video-play { position:absolute; left:50%; top:50%; display:grid; width:48px; height:48px; place-items:center; border-radius:50%; background:#0e5135; color:#fff; transform:translate(-50%,-50%); box-shadow:0 7px 22px rgba(0,0,0,.28); }
.eqa-video-title { display:block; padding:15px 16px 17px; font-size:15px; font-weight:800; line-height:1.45; }
.eqa-lessons-empty { border:1px dashed #c9984f; border-radius:12px; background:#fffaf0; padding:18px; text-align:center; }
.eqa-video-modal { position:fixed; z-index:99999; inset:0; display:grid; place-items:center; padding:20px; }
.eqa-video-backdrop { position:absolute; inset:0; background:rgba(3,24,16,.82); backdrop-filter:blur(5px); }
.eqa-video-dialog { position:relative; z-index:1; width:min(100%,1000px); overflow:hidden; border-radius:18px; background:#071d15; box-shadow:0 30px 90px rgba(0,0,0,.42); }
.eqa-video-dialog-head { display:flex; min-height:62px; align-items:center; justify-content:space-between; gap:20px; padding:12px 16px 12px 22px; background:#fff; }
.eqa-video-dialog-head h2 { margin:0; color:#083c29; font-size:18px; }
.wp-content-card .eqa-video-dialog-head button { display:grid; width:38px; height:38px; place-items:center; border-radius:50%; padding:0; font-size:27px; line-height:1; cursor:pointer; }
.eqa-video-frame { aspect-ratio:16/9; }
.eqa-video-frame iframe { width:100%; height:100%; border:0; }
body.eqa-modal-open { overflow:hidden; }
@media (max-width: 900px) {
  body.admin-bar .site-header { top:46px; }
  .single-layout { grid-template-columns:1fr; }
  .single-sidebar { position:static; }
  .post-grid,.legacy-index-panel.active { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .legacy-quran-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .eqa-video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .post-grid,.legacy-index-panel.active { grid-template-columns:1fr; }
  .legacy-quran-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .legacy-quran-page { padding:7px; }
  .eqa-lesson-tabs,.eqa-video-grid { grid-template-columns:1fr; }
  .wp-content-card .eqa-lesson-tabs button { align-items:center; text-align:center; }
  .eqa-video-modal { padding:10px; }
}
