/*
Theme Name: Learn with Faiza
Theme URI: https://learnwithfaiza.example
Author: Learn with Faiza
Author URI: https://learnwithfaiza.example
Description: Learn with Faiza — English & Exam Mentorship. A pixel-faithful conversion of the provided static HTML into a WordPress theme.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: learn-with-faiza
*/

:root{
  --ink:#0F172A;
  --ink-soft:#1E293B;
  --paper:#F8FAFC;
  --paper-warm:#FFFFFF;
  --red:#0F766E;         /* primary */
  --red-dark:#115E59;    /* primary hover */
  --gold:#2DD4BF;        /* accent */
  --sage:#14B8A6;        /* secondary */
  --slate:#64748B;
  --line:#E2E8F0;
  --line-light: rgba(255,255,255,0.14);
  --shadow: 0 24px 48px -24px rgba(15,118,110,0.35);
  --success:#10B981;
  --warning:#F59E0B;
  --error:#EF4444;
  --grad-primary: linear-gradient(135deg,#0F766E 0%, #115E59 55%, #2DD4BF 100%);
  --grad-dark: linear-gradient(135deg,#0F172A 0%, #0F172A 60%, #115E59 100%);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper-warm);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer;}
:focus-visible{outline:3px solid var(--gold); outline-offset:3px;}

.wrap{max-width:1200px; margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--red);
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:500;
}
.eyebrow::before{
  content:"";
  width:20px; height:1.5px;
  background:var(--red);
  display:inline-block;
}
h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.08;
}
.marker{
  font-family:'Caveat', cursive;
  color:var(--red);
  font-weight:700;
}

/* ===== NAV ===== */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(246,244,236,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
  max-width:1200px; margin:0 auto;
}
.logo{
  font-family:'Fraunces', serif;
  font-size:21px;
  font-weight:600;
  display:flex; align-items:baseline; gap:4px;
}
.logo span{color:var(--red); font-family:'Caveat', cursive; font-size:26px; font-weight:700;}
.nav-links{display:flex; gap:28px; font-size:14px; font-weight:500;}
.nav-links a{position:relative; padding:4px 0;}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--red); transition:width .25s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-cta{
  background:linear-gradient(135deg,#0F766E,#115E59); color:var(--paper-warm);
  padding:11px 22px; border-radius:2px;
  font-size:14px; font-weight:600;
  border:1px solid transparent;
  transition:background .2s, color .2s;
  white-space:nowrap;
 border-radius:999px;}
.nav-cta:hover{background:linear-gradient(135deg,#0F766E,#115E59); border-color:transparent;}

/* ===== HERO ===== */
.hero{
  position:relative;
  padding:100px 32px 90px;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(124,58,237,0.55), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(79,70,229,0.45), transparent 55%),
    linear-gradient(135deg,#0F172A 0%, #0F172A 55%, #0F172A 100%);
  color:#fff;
  overflow:hidden;
}
.hero .eyebrow{color:#5EEAD4;}
.hero h1{color:#fff;}
.hero h1 em{
  background:linear-gradient(135deg,#14B8A6,#2DD4BF);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.hero .underline-svg{display:none;}
.hero p.lede{color:rgba(255,255,255,0.72);}
.hero .trust-item strong{color:#fff;}
.hero .trust-item span{color:rgba(255,255,255,0.55);}
.hero .btn-ghost{border-color:rgba(255,255,255,0.35); color:#fff; background:rgba(255,255,255,0.04);}
.hero .btn-ghost:hover{background:rgba(255,255,255,0.1); color:#fff;}
.hero-visual{background:rgba(15,23,54,0.7); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,0.08); transform:none;}
.hero-visual::before{display:none;}
.hero-grid{
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:64px;
  align-items:center;
}
.hero h1{
  font-size:clamp(38px, 5vw, 62px);
  margin:22px 0 26px;
}
.hero h1 em{
  font-style:italic;
  position:relative;
  white-space:nowrap;
}
.underline-svg{
  position:absolute; left:-2%; bottom:-14px; width:104%; height:22px;
}
.hero p.lede{
  font-size:18.5px;
  color:var(--slate);
  max-width:520px;
  margin-bottom:36px;
}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:46px;}
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:15px 28px;
  font-size:14.5px; font-weight:600;
  border-radius:2px;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .2s, color .2s;
}
.btn-primary{background:linear-gradient(135deg,#0F766E 0%,#115E59 60%,#2DD4BF 100%); color:#fff; border-radius:999px;}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 30px -8px rgba(124,58,237,0.55);}
.btn-ghost{border-color:var(--ink); color:var(--ink);}
.btn-ghost:hover{background:var(--ink); color:var(--paper-warm);}

.trust-bar{display:flex; gap:38px; flex-wrap:wrap;}
.trust-item{display:flex; flex-direction:column;}
.trust-item strong{font-family:'Fraunces', serif; font-size:26px; font-weight:600;}
.trust-item span{font-size:12.5px; color:var(--slate); font-family:'IBM Plex Mono', monospace; letter-spacing:0.02em;}

.margin-note{
  position:absolute;
  font-family:'Caveat', cursive;
  font-size:19px;
  color:var(--sage);
  line-height:1.25;
  transform:rotate(-4deg);
  max-width:150px;
}
.margin-note svg{width:46px; height:32px; display:block; margin-top:2px;}

.hero-visual{
  position:relative;
  background:var(--ink);
  color:var(--paper-warm);
  border-radius:6px;
  padding:34px 32px 30px;
  box-shadow:var(--shadow);
  transform:rotate(1.4deg);
}
.hero-visual::before{
  content:"";
  position:absolute; inset:14px -14px -14px 14px;
  border:1.5px solid var(--line);
  border-radius:6px;
  z-index:-1;
}
.hero-visual .tag{
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px; display:block;
}
.hero-visual h3{font-size:22px; color:#fff; margin-bottom:14px; font-weight:500;}
.hero-visual p{font-size:14.5px; color:rgba(246,244,236,0.72); margin-bottom:18px;}
.hero-visual .redline{text-decoration: underline wavy var(--red); text-decoration-thickness:1.5px;}
.band-row{display:flex; align-items:center; gap:14px; margin-top:22px; padding-top:20px; border-top:1px solid var(--line-light);}
.band-score{
  font-family:'Fraunces', serif; font-size:44px; font-weight:600; color:var(--gold); line-height:1;
}
.band-meta{font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:rgba(246,244,236,0.6); letter-spacing:0.04em;}
.band-meta b{color:#fff; display:block; font-size:13px; margin-bottom:2px;}

/* ===== SECTION HEADERS ===== */
.section{padding:96px 32px;}
.section-head{max-width:680px; margin-bottom:52px;}
.section-head h2{font-size:clamp(28px, 3.4vw, 40px); margin-top:14px;}
.section-head p{color:var(--slate); font-size:16.5px; margin-top:14px; max-width:580px;}
.alt-bg{background:var(--paper);}

/* ===== JUMP NAV (in-page quick links) ===== */
.jump-nav{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:48px;
  padding:16px 20px; background:#fff; border:1px solid var(--line); border-radius:4px;
}
.jump-nav span{
  font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--slate); align-self:center; margin-right:6px;
}
.jump-nav a{
  font-size:13px; font-weight:600; padding:7px 14px; border:1px solid var(--line); border-radius:999px;
  color:var(--ink); transition:all .2s ease;
}
.jump-nav a:hover{background:var(--ink); color:var(--paper-warm); border-color:var(--ink);}

/* ===== COURSE ACCORDION (6 core courses) ===== */
.course-list{border-top:1px solid var(--line);}
.course-item{border-bottom:1px solid var(--line);}
.course-item summary{
  list-style:none; cursor:pointer;
  display:grid; grid-template-columns:110px 1fr auto; align-items:center; gap:22px;
  padding:28px 6px; position:relative;
}
.course-item summary::-webkit-details-marker{display:none;}
.course-item .num{
  font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--red); letter-spacing:.05em;
}
.course-item h3{font-size:23px; font-weight:600;}
.course-item .tagline{
  display:block; font-family:'Caveat', cursive; font-size:17px; color:var(--sage); font-weight:600; margin-top:4px;
}
.course-item .plus{
  font-family:'IBM Plex Mono', monospace; font-size:24px; color:var(--red); width:28px; height:28px;
  display:flex; align-items:center; justify-content:center; transition:transform .25s ease; flex-shrink:0;
}
.course-item[open] .plus{transform:rotate(45deg);}
.course-item:hover summary h3{color:var(--red); transition:color .2s;}
.course-body{padding:0 6px 36px 132px; max-width:760px;}
.course-body p{color:var(--slate); font-size:15.5px; line-height:1.75; margin-bottom:18px;}
.course-body a.cta-link{
  font-size:13.5px; font-weight:600; color:var(--ink);
  border-bottom:1.5px solid var(--red); padding-bottom:2px;
  display:inline-flex; align-items:center; gap:6px;
}
@media (max-width:640px){
  .course-item summary{grid-template-columns:1fr auto; row-gap:6px;}
  .course-item .num{grid-column:1/2; grid-row:1;}
  .course-body{padding-left:6px;}
}

/* ===== PROGRAM GRID (expandable cards) ===== */
.filter-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px;}
.filter-btn{
  padding:10px 20px; font-size:13.5px; font-weight:500;
  border:1px solid var(--line); border-radius:999px;
  background:transparent; color:var(--slate);
  transition:all .2s ease;
}
.filter-btn.active, .filter-btn:hover{
  background:var(--ink); color:var(--paper-warm); border-color:var(--ink);
}
.program-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:18px;
  align-items:start;
}
.program-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  transition:box-shadow .2s ease;
}
.program-card:hover{box-shadow:var(--shadow);}
.program-card summary{
  list-style:none; cursor:pointer; padding:24px 22px;
  display:flex; flex-direction:column;
}
.program-card summary::-webkit-details-marker{display:none;}
.program-card .icon-badge{
  font-size:12.5px; font-family:'IBM Plex Mono', monospace;
  display:inline-block; padding:4px 10px; width:fit-content;
  background:var(--paper); border-radius:2px; margin-bottom:14px; color:var(--sage); letter-spacing:.03em;
}
.program-card h4{font-size:16.5px; margin-bottom:8px; font-weight:600;}
.program-card .short{font-size:13.5px; color:var(--slate); line-height:1.55;}
.program-card .readmore{
  margin-top:14px; font-size:12.5px; font-weight:600; color:var(--red);
  display:flex; align-items:center; gap:6px;
}
.program-card[open] .readmore .txt::after{content:"Show less";}
.program-card .readmore .txt::after{content:"Read full details";}
.program-body{padding:0 22px 24px;}
.program-body p{font-size:13.5px; color:var(--slate); line-height:1.7; margin-bottom:14px;}
.program-body a.cta-link{font-size:12.5px; font-weight:600; color:var(--ink); border-bottom:1.5px solid var(--ink);}
.program-card[hidden]{display:none;}

/* ===== STUDY MATERIAL / WORKSHEET ACCORDION LIST ===== */
.acc-list{border-top:1px solid var(--line);}
.acc-item{border-bottom:1px solid var(--line);}
.acc-item summary{
  list-style:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:22px 4px;
}
.acc-item summary::-webkit-details-marker{display:none;}
.acc-item .acc-title{display:flex; flex-direction:column; gap:4px;}
.acc-item .kind{
  font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--gold);
}
.acc-item h4{font-size:17.5px; font-weight:600;}
.acc-item .plus{
  font-family:'IBM Plex Mono', monospace; font-size:22px; color:var(--red); flex-shrink:0;
  width:26px; height:26px; display:flex; align-items:center; justify-content:center;
  transition:transform .25s ease;
}
.acc-item[open] .plus{transform:rotate(45deg);}
.acc-body{padding:0 4px 26px; max-width:760px;}
.acc-body p{color:var(--slate); font-size:15px; line-height:1.75; margin-bottom:14px;}
.acc-body a.cta-link{
  font-size:13px; font-weight:600; color:var(--ink);
  border-bottom:1.5px solid var(--gold); padding-bottom:2px;
}

.subhead{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--slate); margin:56px 0 6px; padding-top:6px;
}
.subhead:first-of-type{margin-top:0;}
.subhead-title{font-family:'Fraunces', serif; font-size:24px; font-weight:600; margin-bottom:24px;}

/* ===== WHY / STATS ===== */
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:34px; margin-bottom:76px;}
.why-card h3{font-size:20px; margin:16px 0 10px; font-weight:600;}
.why-card p{color:var(--slate); font-size:14.5px;}
.why-mark{font-family:'Fraunces', serif; font-style:italic; font-size:34px; color:var(--red);}

.report-card{
  background:var(--ink); color:var(--paper-warm);
  border-radius:6px; padding:52px 48px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:36px;
  position:relative;
}
.report-card::before{
  content:"REPORT CARD";
  position:absolute; top:-13px; left:44px;
  background:var(--red); color:#fff;
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:.14em;
  padding:5px 14px; border-radius:2px;
}
.stat{border-left:1px solid var(--line-light); padding-left:22px;}
.stat:first-child{border-left:none; padding-left:0;}
.stat .n{font-family:'Fraunces', serif; font-size:40px; font-weight:600; color:var(--gold);}
.stat .l{font-size:13.5px; font-weight:600; margin:6px 0 4px;}
.stat .d{font-size:12.5px; color:rgba(246,244,236,0.6); line-height:1.5;}

/* ===== TESTIMONIALS ===== */
.testimonial-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.t-card{background:var(--paper-warm); border:1px solid var(--line); padding:30px 26px; position:relative;}
.t-card::before{
  content:"\201C"; font-family:'Fraunces', serif; font-size:60px; color:var(--red); opacity:0.25;
  position:absolute; top:6px; left:20px; line-height:1;
}
.t-card p{font-size:15px; color:var(--ink-soft); margin:26px 0 20px; position:relative; z-index:1;}
.t-foot{display:flex; align-items:center; gap:12px;}
.t-avatar{
  width:38px; height:38px; border-radius:50%; background:var(--sage); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:500;
}
.t-foot strong{display:block; font-size:14px; font-weight:600;}
.t-foot span{font-size:12px; color:var(--slate);}

/* ===== CTA BANNER ===== */
.cta-banner{background:var(--sage); color:var(--paper-warm); padding:80px 32px; text-align:center; overflow:hidden;}
.cta-banner h2{font-size:clamp(28px,3.6vw,42px); color:#fff; margin-bottom:16px;}
.cta-banner p{max-width:480px; margin:0 auto 30px; color:rgba(246,244,236,0.85); font-size:16px;}
.cta-banner .btn-primary{background:var(--gold); color:var(--ink);}
.cta-banner .btn-primary:hover{box-shadow:0 14px 30px -12px rgba(198,154,62,0.6);}

/* ===== FOOTER ===== */
footer{background:var(--ink); color:rgba(246,244,236,0.75); padding:70px 32px 30px;}
.footer-grid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:44px; border-bottom:1px solid var(--line-light);}
.footer-grid h5{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:#fff; margin-bottom:18px;}
.footer-grid li{margin-bottom:10px; font-size:14px;}
.footer-grid li a:hover{color:var(--gold);}
.footer-logo{font-family:'Fraunces',serif; font-size:22px; color:#fff; margin-bottom:14px;}
.footer-grid p{font-size:14px; line-height:1.6; margin-bottom:20px; max-width:280px;}
.foot-form{display:flex; gap:0; margin-top:6px;}
.foot-form input{flex:1; padding:12px 14px; border:1px solid var(--line-light); background:transparent; color:#fff; font-size:13.5px;}
.foot-form input::placeholder{color:rgba(246,244,236,0.5);}
.foot-form button{padding:12px 20px; background:linear-gradient(135deg,#0F766E,#115E59); color:#fff; border:none; font-size:13.5px; font-weight:600; border-radius:999px;}
.bottom-row{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:12.5px; flex-wrap:wrap; gap:12px; color:rgba(246,244,236,0.5);}
.bottom-row a{margin-left:18px;}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:50px;}
  .hero-visual{transform:none;}
  .nav-links{display:none;}
  .program-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:1fr; gap:30px;}
  .report-card{grid-template-columns:repeat(2,1fr); row-gap:34px;}
  .stat:nth-child(3){border-left:none;}
  .testimonial-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .margin-note{display:none;}
}
@media (max-width: 560px){
  .program-grid{grid-template-columns:1fr;}
  .report-card{grid-template-columns:1fr;}
  .stat{border-left:none !important; padding-left:0 !important;}
  .trust-bar{gap:24px;}
  .footer-grid{grid-template-columns:1fr;}
}

/* ============ COURSE DETAILS PAGE ============ */
.page-hero{
  background: var(--grad-dark);
  color:#fff;
  padding: 96px 24px 80px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(1200px 400px at 50% -100px, rgba(139,92,246,.45), transparent 60%);
  pointer-events:none;
}
.page-hero .eyebrow{color:#5EEAD4;}
.page-hero .eyebrow::before{background:#2DD4BF;}
.page-hero h1{
  font-size: clamp(38px, 6vw, 64px);
  color:#fff;
  margin: 14px auto 16px;
  max-width: 900px;
}
.page-hero p.lede{
  max-width: 680px; margin: 0 auto;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}
.wrap-narrow{max-width: 960px; margin: 0 auto; padding: 0 24px;}

.course-detail{
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.course-detail:last-of-type{border-bottom:none;}
.course-detail .kicker{
  display:inline-block;
  font-family:'IBM Plex Mono',monospace;
  font-size:12px; letter-spacing:.18em;
  text-transform:uppercase;
  color:#fff;
  background: var(--grad-primary);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.course-detail h2{
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  margin-bottom: 8px;
}
.course-detail h3.sub{
  font-family:'Fraunces',serif;
  font-size: 22px; font-style: italic;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 20px;
}
.course-detail p{
  font-size: 17px; line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.course-detail .cta-row{margin-top: 26px; display:flex; gap:14px; flex-wrap:wrap;}
.course-detail .btn-primary{
  background: var(--grad-primary);
  color:#fff; border:none;
  padding: 14px 28px; border-radius: 999px;
  font-weight:600; font-size:15px;
  box-shadow: var(--shadow);
}
.course-detail .btn-ghost{
  background:transparent;
  color: var(--ink);
  border:1.5px solid var(--line);
  padding: 13px 26px; border-radius: 999px;
  font-weight:600; font-size:15px;
}

/* ============ CATEGORIES PAGE ============ */
.cats-intro{
  padding: 72px 24px 24px;
  text-align:center;
  max-width: 820px; margin: 0 auto;
}
.cats-intro h1{
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 14px;
}
.cats-intro p{color: var(--slate); font-size: 18px;}

.cats-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
@media (max-width: 900px){ .cats-grid{grid-template-columns:1fr;} }

.cat-card{
  background: #fff;
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 12px 40px -20px rgba(11,16,32,.25);
  border: 1px solid var(--line);
  display:flex; flex-direction:column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -24px rgba(79,70,229,.4);
}
.cat-card .cat-head{
  background: var(--grad-primary);
  color:#fff;
  padding: 28px 24px;
  text-align:center;
  font-family:'Fraunces',serif;
  font-size: 22px; font-weight:600;
  letter-spacing:.01em;
}
.cat-card ol{
  list-style: decimal inside;
  padding: 26px 28px 32px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.9;
  margin: 0;
}
.cat-card ol li{padding-left: 4px;}
.cat-card ol li::marker{color: var(--red); font-weight:700;}

/* ============ HERO PORTRAIT (instructor image) ============ */
.hero-portrait{
  position:relative;
  padding:0;
  overflow:visible;
  background:transparent;
  border:none;
  backdrop-filter:none;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  min-height:420px;
}
/* soft organic blob behind the cut-out portrait */
.hero-portrait-blob{
  position:absolute;
  left:50%; top:50%;
  width:360px; height:390px;
  transform:translate(-50%,-52%);
  background:linear-gradient(150deg, rgba(45,212,191,0.55) 0%, rgba(20,184,166,0.42) 45%, rgba(15,118,110,0.38) 100%);
  border-radius:58% 42% 46% 54% / 44% 52% 48% 56%;
  filter:blur(0.2px);
  z-index:0;
  animation: lwfBlob 14s ease-in-out infinite;
}
@keyframes lwfBlob{
  0%,100%{ border-radius:58% 42% 46% 54% / 44% 52% 48% 56%; }
  50%{ border-radius:44% 56% 58% 42% / 56% 44% 56% 44%; }
}
.hero-portrait-frame{
  position:relative;
  z-index:1;
  width:100%;
  max-width:340px;
  aspect-ratio: 4 / 5;
  border-radius:24px;
  overflow:hidden;
  background:transparent;
  box-shadow:0 30px 60px -28px rgba(15,23,42,0.55);
}
.hero-portrait-frame img{
  width:100%; height:100%;
  object-fit:cover; object-position:center top;
  display:block;
  transition:transform .8s ease;
}
.hero-portrait-frame:hover img{ transform:scale(1.03); }

/* floating white info chips, like the reference layout */
.hero-portrait-badge,
.hero-portrait-caption,
.hero-portrait-card{
  position:absolute;
  z-index:3;
  background:#fff;
  border-radius:14px;
  box-shadow:0 18px 34px -18px rgba(15,23,42,0.45), 0 0 0 1px rgba(226,232,240,0.9);
}
.hero-portrait-badge{
  top:14%; right:-6%;
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px;
  font-size:12.5px; font-weight:600; color:#0F172A;
  white-space:nowrap;
}
.hero-portrait-badge .dot{
  width:8px; height:8px; border-radius:50%;
  background:#14B8A6;
  box-shadow:0 0 0 4px rgba(45,212,191,0.25);
  animation: lwfPulse 1.6s ease-in-out infinite;
}
@keyframes lwfPulse{
  0%,100%{ box-shadow:0 0 0 4px rgba(45,212,191,0.25); }
  50%{ box-shadow:0 0 0 8px rgba(45,212,191,0.05); }
}
.hero-portrait-caption{
  left:-10%; bottom:24%;
  padding:12px 16px;
  text-align:left;
}
.hero-portrait-name{
  font-family: var(--serif, Georgia, serif);
  font-size:18px; font-weight:700; color:#0F172A; line-height:1.15;
}
.hero-portrait-role{
  margin-top:3px;
  font-size:11.5px; color:#64748B; letter-spacing:.02em;
}
.hero-portrait-card{
  right:-8%; bottom:6%;
  display:flex; align-items:center; gap:12px;
  padding:12px 16px;
}
.hero-portrait-card .band-score{
  font-family: var(--serif, Georgia, serif);
  font-size:28px; line-height:1; font-weight:700;
  background: linear-gradient(135deg,#0F766E 0%, #14B8A6 60%, #2DD4BF 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-portrait-card .band-meta{
  font-size:11px; color:#64748B; line-height:1.35;
}
.hero-portrait-card .band-meta b{
  display:block; color:#0F172A; font-size:12.5px; font-weight:600; margin-bottom:2px;
}
@media (max-width: 1100px){
  .hero-portrait-frame{ max-width:300px; }
  .hero-portrait-blob{ width:320px; height:350px; }
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; gap:48px; text-align:center; }
  .hero-portrait{ justify-content:center; min-height:400px; }
  .hero-portrait-badge{ right:0; }
  .hero-portrait-caption{ left:0; }
  .hero-portrait-card{ right:0; }
}
@media (max-width: 480px){
  .hero-portrait-frame{ max-width:250px; }
  .hero-portrait-blob{ width:270px; height:300px; }
  .hero-portrait-badge, .hero-portrait-caption, .hero-portrait-card{ padding:9px 12px; }
  .hero-portrait-card .band-score{ font-size:24px; }
  .hero-portrait-name{ font-size:16px; }
}
