/*
Theme Name: Academy of Quran Premium Refresh
Description: Emerald, ivory and gold child theme for the existing Academy of Quran site.
Template: academy-of-quran
Version: 1.2.0
Text Domain: aoq-premium
*/

:root{--green:#075333;--deep:#063b29;--cream:#fbf7ed;--gold:#bf9847;--ink:#173728;--muted:#596b60;--line:#e1d8c2}
body{background:var(--cream);color:var(--ink)}
h1,h2,h3{color:var(--deep)}
.shot-header{background:#fffdf8;border-bottom:1px solid #e8dfcc;box-shadow:0 4px 22px #063b290b}
.shot-header .navlinks>ul.menu{font-size:11px}
.shot-header .navlinks>ul.menu>li>a{font-size:11px}
.shot-header .navlinks a:hover,.shot-header .navlinks a.active{color:var(--green);border-color:var(--gold)}
.shot-join,.shot-btn,.btn{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
.shot-join:hover,.shot-btn:hover,.btn:hover{background:var(--deep)!important}
.shot-brand strong{color:var(--deep)}
.shot-hero{height:570px;background:#fffaf0}
.shot-hero-image{left:40%;right:0;inset:0 0 0 40%;background-image:url('../academy-of-quran/assets/hero-mother-child.png');background-size:cover;background-position:58% 46%}
.shot-hero-image:after{background:linear-gradient(90deg,#fffaf0 0%,#fffaf0a8 7%,transparent 38%)}
.shot-hero-grid{grid-template-columns:minmax(300px,42%) minmax(170px,23%) 1fr}
.shot-copy{background:#fffaf0e8;border-radius:0 28px 28px 0;padding:24px 26px 26px 0;backdrop-filter:blur(2px)}
.shot-copy h1{color:var(--deep)}
.shot-eyebrow,.eyebrow{color:#8b692f}
.shot-features>a{border:1px solid #e7dcc5;background:#fffdf8ed;box-shadow:0 9px 28px #063b2915}
.shot-trust i,.shot-round{color:var(--gold)}
.shot-courses{padding:70px 0;background:#f5f0e5}
.shot-card{background:#fffdf7;border-color:#e6dcc9;box-shadow:0 12px 30px #0c3e2510;transition:transform .2s,box-shadow .2s}
.shot-card:hover{transform:translateY(-5px);box-shadow:0 18px 34px #0c3e251c}
.shot-card a,.shot-course-intro>a{color:var(--green)}
.shot-course-image{height:152px;background-image:url('assets/academy-scenes.png');background-size:200% 200%}
.shot-course-image.ci1{background-position:0 0}
.shot-course-image.ci2{background-position:100% 100%}
.shot-course-image.ci3{background-position:0 100%}
.shot-plan,.cta{background:var(--deep)}
.about{background:#e9eee4}
.about-photo{height:auto;aspect-ratio:16/10;overflow:hidden;border-radius:25px}
.about-photo img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none;border-radius:25px;background:#e9eee4}
.online-learning-grid{background:#f4efe4;border-color:#e1d8c2}
.online-learning-grid img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center;background:#f4efe4}
.packages{--green:#ad6249;--ink:#3b2119;--gold:#c89f56;padding:72px 0;background:#faf2e5}
.faq{background:#fffaf2;padding-top:70px}
.aoq-editorial{padding:80px 0;background:#fffdf7}
.aoq-editorial .wrap{max-width:1280px}
.aoq-editorial-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}
.aoq-editorial-head h2{font-size:clamp(32px,4vw,50px);margin:7px 0 0}
.aoq-editorial-head p{max-width:400px;color:var(--muted);font-size:14px;margin:0}
.aoq-editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.aoq-editorial-panel{background:#f7f2e8;border:1px solid #e5dac5;border-radius:24px;padding:24px}
.aoq-editorial-panel h3{font-size:25px;margin:0 0 17px}
.aoq-editorial-card{display:grid;grid-template-columns:140px 1fr;gap:20px;align-items:center;background:#fffdf8;border:1px solid #e8decd;border-radius:18px;overflow:hidden;min-height:150px}
.aoq-editorial-card+.aoq-editorial-card{margin-top:14px}
.aoq-editorial-photo{height:100%;min-height:150px;background-image:url('assets/academy-scenes.png');background-size:200% 200%;background-position:0 0}
.aoq-editorial-photo.teacher{background-position:100% 0}
.aoq-editorial-photo.arch{background-position:100% 100%}
.aoq-editorial-photo.lesson{background-position:0 100%}
.aoq-editorial-card-body{padding:16px 20px 16px 0}
.aoq-editorial-card small{font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:#9c7d42}
.aoq-editorial-card h4{font-family:'Playfair Display',Georgia,serif;font-size:20px;line-height:1.25;margin:7px 0}
.aoq-editorial-card p{font-size:12px;line-height:1.55;color:var(--muted);margin:0}
.aoq-editorial-card a{display:inline-block;margin-top:8px;color:var(--green);font-size:12px;font-weight:700}
.aoq-editorial-link{display:inline-block;margin-top:18px;color:var(--green);font-weight:700;border-bottom:1px solid var(--gold)}
.aoq-editorial-page{max-width:1200px;margin:auto;padding:65px 24px 95px}
.aoq-editorial-page h1{font-size:clamp(40px,5vw,66px);margin-bottom:15px}
.aoq-editorial-page>p{max-width:700px;color:var(--muted)}
.aoq-entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:35px}
.aoq-entry-card{background:#fffdf7;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.aoq-entry-card .aoq-editorial-photo{height:170px}
.aoq-entry-card>div:last-child{padding:22px}
.aoq-entry-card h2{font-size:24px;margin:6px 0 10px}
.aoq-entry-card p{font-size:13px;color:var(--muted)}
.aoq-entry-card a{color:var(--green);font-weight:700;font-size:13px}
@media(max-width:1100px){.shot-hero{height:auto}.shot-hero-image{position:relative;inset:auto;height:360px;background-position:center}.shot-hero-image:after{background:linear-gradient(0deg,#fffaf0,transparent 38%)}.shot-hero-grid{display:block;padding:30px 0}.shot-copy{padding:0;background:none}.shot-features{max-width:600px}.aoq-editorial-grid{grid-template-columns:1fr}}
@media(max-width:700px){.shot-hero-image{height:250px}.shot-courses{padding:45px 0}.about-photo{aspect-ratio:16/10}.online-learning-grid img{aspect-ratio:16/9}.aoq-editorial{padding:52px 0}.aoq-editorial-head{display:block}.aoq-editorial-head p{margin-top:12px}.aoq-editorial-panel{padding:16px}.aoq-editorial-card{grid-template-columns:105px 1fr}.aoq-editorial-photo{min-height:130px}.aoq-editorial-card h4{font-size:17px}.aoq-entry-grid{grid-template-columns:1fr}.plan-grid{grid-template-columns:1fr 1fr;max-width:none}}
@media(max-width:520px){.plan-grid{grid-template-columns:1fr;max-width:390px}}

/* Version 1.2: distinct premium homepage composition. */
.shot-hero{min-height:610px;height:auto;background:#fffaf0}
.shot-hero-image{inset:0 0 0 41%;background-image:url('assets/online-class.webp');background-size:cover;background-position:54% 50%}
.shot-hero-image:after{background:linear-gradient(90deg,#fffaf0 0%,#fffaf0c7 10%,transparent 34%)}
.shot-hero-grid{min-height:610px;height:auto;display:grid;grid-template-columns:minmax(320px,45%) 1fr;grid-template-rows:1fr auto;align-items:center}
.shot-copy{grid-column:1;grid-row:1;max-width:520px;padding:30px 25px 28px 0;background:transparent;backdrop-filter:none}
.shot-copy h1{font-size:clamp(54px,5.4vw,82px);line-height:1.02;letter-spacing:-.04em;color:var(--deep)}
.shot-copy>p{font-size:23px;color:#50685a}
.shot-features{grid-column:1 / -1;grid-row:2;display:flex;gap:14px;margin:0 0 -36px;position:relative;z-index:4}
.shot-features>a{margin:0;width:230px;background:#fffdf8f7;border:1px solid #e2d4b7;box-shadow:0 14px 28px #063b2926}
.shot-features i{background:#e7efe4;color:var(--green)}
.shot-courses{padding:105px 0 78px;background:radial-gradient(circle at 86% 8%,#1a684b 0%,transparent 34%),var(--deep)}
.shot-course-intro .shot-eyebrow{color:#e8c980}
.shot-course-intro h2{color:#fffaf0;font-size:40px}
.shot-course-intro p{color:#d8e7dc}
.shot-course-intro>a{color:#f2d495;border-color:#caa765}
.shot-card{background:#fffdf6;border-color:#d8cbb3;border-radius:18px}
.shot-card h3{color:var(--deep)}
.shot-plan{background:#f0e3bd;color:var(--deep);border:1px solid #d9bc72;border-radius:18px}
.shot-plan h3,.shot-plan .shot-eyebrow{color:var(--deep)}
.shot-plan li:before{color:var(--green)}
.shot-plan a{background:var(--deep);color:#fff!important}
.about{background:#fffaf0;padding:95px 0}
.about-photo{box-shadow:0 26px 48px #093e2721;background:#e7e6d7}
.about-copy h2{font-size:clamp(35px,3.5vw,52px)}
.online-learning{padding:55px 0 75px;background:#e9eee4}
.online-learning-grid{background:var(--deep);border:0;box-shadow:0 24px 48px #0a3e2720}
.online-learning-grid img{background:#e9eee4;object-fit:contain}
.online-learning-grid h2,.online-learning-grid h2 em{color:#fff9e9}
.online-learning-grid p,.online-learning-grid .eyebrow{color:#d9e9dc}
.steps{background:#fffdf7}
.aoq-editorial{background:#f4efe4}
.aoq-editorial-panel{background:#fffdf8}
@media(max-width:1100px){.shot-hero{min-height:0}.shot-hero-image{position:relative;inset:auto;height:390px;background-position:center 46%}.shot-hero-image:after{background:linear-gradient(0deg,#fffaf0,transparent 28%)}.shot-hero-grid{min-height:0;display:block;padding:28px 0 35px}.shot-copy{max-width:650px;padding:0}.shot-features{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0 0}.shot-features>a{width:100%}.shot-courses{padding:70px 0}.about{padding:65px 0}}
@media(max-width:700px){.shot-hero-image{height:260px}.shot-copy h1{font-size:clamp(43px,10vw,58px)}.shot-features{grid-template-columns:1fr;gap:8px}.shot-features>a{min-height:66px}.shot-courses{padding:54px 0}.online-learning{padding:35px 0 55px}.online-learning-grid img{height:auto;aspect-ratio:16/9}.online-learning-grid h2{font-size:33px}}
