/* ================================
   ITGarden HTML Template CSS
   ================================ */

:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#475569;
  --line:#e5eaf3;
  --accent:#4f46e5;
  --accent2:#16a34a;
  --shadow:0 10px 28px rgba(15,23,42,.08);
  --radius:18px;
}

*{
  box-sizing:border-box;
}

html, body{
  margin:0;
  padding:0;
}

body{
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 400px at 10% -10%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(22,163,74,.06), transparent 60%),
    var(--bg);
  color:var(--text);
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1180px, 92%);
  margin:0 auto;
}

/* ================================
   Promo Bar
   ================================ */

.promo-bar{
  background:linear-gradient(90deg, rgba(79,70,229,.12), rgba(22,163,74,.10));
  border-bottom:1px solid var(--line);
}

.promo-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 0;
}

.promo-text{
  color:var(--text);
  font-size:13px;
  font-weight:700;
}

.promo-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

/* ================================
   Header
   ================================ */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}

.brand-mark{
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  font-weight:900;
}

.brand-name{
  font-weight:900;
  letter-spacing:.3px;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav a{
  font-weight:700;
  color:#334155;
}

.nav a:hover{
  color:var(--accent);
}

/* ================================
   Buttons
   ================================ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--accent), #6366f1);
  color:#fff;
  font-weight:800;
  box-shadow:var(--shadow);
  letter-spacing:.2px;
}

.btn-sm{
  padding:10px 14px;
  border-radius:12px;
}

.btn-outline{
  background:#ffffff;
  border:1.5px solid #cbd5e1;
  color:#1e293b;
  font-weight:700;
  box-shadow: 0 6px 18px rgba(15,23,42,.06); /* ðŸ‘ˆ adds visibility */
}

.btn-outline:hover{
  border-color:var(--accent);
  color:var(--accent);
  background:#ffffff;
}

/* ================================
   Single Hero
   ================================ */

.hero-single{
  padding:26px 0 12px;
}

.hero-single-card{
  position:relative;
  min-height:620px;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#f8fbff;
}

/* background image */
.hero-single-bg{
  position:absolute;
  inset:0;
}

.hero-single-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right center;
  display:block;
}

/* soft readable overlay */
.hero-single-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(248,251,255,.96) 0%,
      rgba(248,251,255,.93) 36%,
      rgba(248,251,255,.78) 52%,
      rgba(248,251,255,.18) 72%,
      rgba(248,251,255,.02) 100%);
}

/* content block */
.hero-single-content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:36px 40px 40px;
}

.hero-single-title{
  margin:16px 0 12px;
  font-size:clamp(36px, 5vw, 76px);
  line-height:1.02;
  font-weight:900;
  color:#0b1220;
}

.hero-single-sub{
  margin:0 0 16px;
  max-width:620px;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}

.hero-single-points{
  margin:0 0 22px;
  padding-left:22px;
  color:#0f172a;
  line-height:1.75;
  font-weight:650;
}

.hero-single-points li{
  margin:7px 0;
}

.hero-single-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* re-use your existing kicker style */
.hero2-kicker{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-weight:800;
  font-size:13px;
}

/* ================================
   Trust Strip
   ================================ */

.trust-strip{
  padding: 10px 0 26px;
}

.trust-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}

.trust-item{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 16px;
  text-align:center;
  font-weight:800;
  font-size:14px;
  color:#0f172a;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}

@media(max-width: 900px){
  .trust-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px){
    .hero-single-card{
    min-height:580px;
    }

.hero-single-overlay{
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.90) 0%,
      rgba(255,255,255,.82) 35%,
      rgba(255,255,255,.45) 50%,
      rgba(255,255,255,.10) 65%,
      rgba(255,255,255,0) 80%);
}
.hero-single-content{
  max-width:600px;
}
.hero-single .container{
  width:min(1280px, 95%);
}
.hero-single-title{
  font-size:clamp(34px, 4.5vw, 64px);
}

  .hero-single-sub{
    font-size:16px;
  }

.hero-single-bg img{
  object-position: 78% center;
}
}

/* ================================
   Stats
   ================================ */

.stats{
  padding:14px 0 26px;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.stat{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px 18px;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
}

.stat-num{
  font-size:28px;
  line-height:1;
  font-weight:900;
  color:var(--accent);
}

.stat-text{
  margin-top:6px;
  font-size:13px;
  font-weight:700;
  color:var(--muted);
}

/* ================================
   Sections
   ================================ */

.section{
  padding:30px 0;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom:14px;
}

.section-title{
  margin:0;
  font-size:28px;
  line-height:1.2;
}

.section-sub{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.7;
  max-width:860px;
}

.link{
  color:var(--accent);
  font-weight:800;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  align-items:stretch;
}

/* ================================
   Course Cards
   ================================ */

/* ================================
   Courses Page
   ================================ */

.section-tight{
  padding-top:14px;
  padding-bottom:18px;
}

.section-soft{
  background:linear-gradient(180deg, rgba(255,255,255,.25), rgba(79,70,229,.03));
}

.page-hero{
  padding:26px 0 10px;
}

.page-hero-card{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.page-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(500px 220px at 100% 100%, rgba(22,163,74,.06), transparent 60%);
  pointer-events:none;
}

.page-hero-copy,
.page-hero-side{
  position:relative;
  z-index:1;
}

.page-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.page-title{
  margin:14px 0 12px;
  font-size:clamp(34px, 4.7vw, 58px);
  line-height:1.08;
  font-weight:900;
  color:var(--text);
}

.page-subtitle{
  margin:0 0 18px;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}

.page-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

.mini-trust-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin-top:6px;
}

.mini-trust-item{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:14px 12px;
  text-align:center;
  font-weight:800;
  color:#0f172a;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
}

.page-hero-side{
  display:flex;
  align-items:stretch;
}

.page-hero-panel{
  width:100%;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.page-hero-panel-label{
  display:inline-block;
  width:fit-content;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
}

.page-hero-list{
  margin:0;
  padding-left:20px;
  color:#0f172a;
}

.page-hero-list li{
  margin:10px 0;
  line-height:1.75;
  font-weight:650;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
  align-items:stretch;
}

.course-card-detailed{
  padding-bottom:18px;
}

.course-meta-list{
  margin:0 0 14px;
  padding-left:20px;
  color:#0f172a;
}

.course-meta-list li{
  margin:8px 0;
  line-height:1.6;
  font-weight:600;
}

.card-actions{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.bundle-hero-compact{
  height:100%;
}

.bundle-hero-compact .bundle-hero-content{
  padding:22px;
}

.bundle-hero-compact .bundle-hero-content h3{
  font-size:24px;
}

.bundle-hero-compact .bundle-hero-image{
  min-height:240px;
}

@media (max-width: 900px){
  .page-hero-card,
  .grid-2,
  .mini-trust-grid{
    grid-template-columns:1fr;
  }

  .page-hero-card{
    padding:22px;
  }

  .page-title{
    font-size:clamp(30px, 7vw, 42px);
  }

  .page-subtitle{
    font-size:16px;
  }

  .page-hero-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .page-hero-actions .btn{
    width:auto;
  }
}

/* ================================
   Bundle Hero
   ================================ */

.bundle-hero{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1.15fr;
  align-items:stretch;
}

.bundle-hero-content{
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.bundle-label{
  display:inline-block;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-weight:800;
  font-size:13px;
  margin-bottom:12px;
}

.bundle-hero-content h3{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.2;
}

.bundle-hero-content p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.7;
}

.bundle-price{
  margin-bottom:16px;
}

/* image area */
.bundle-hero-image{
  min-height:280px;
  padding:20px;
  background:linear-gradient(135deg, rgba(79,70,229,.08), rgba(22,163,74,.06));
  border-left:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* actual image */
.bundle-hero-image img{
  width:100%;
  height:100%;
  max-height:320px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

/* ================================
   Feature Cards
   ================================ */

.item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.item:hover{
  transform:translateY(-4px);
  border-color:rgba(79,70,229,.35);
  box-shadow:0 16px 40px rgba(15,23,42,.08);
}

.item h3{
  margin:0 0 8px;
  font-size:18px;
}

.item p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
/* ================================
   Blog Cards
   ================================ */

.blog-card{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  transition:all .2s ease;
}

.blog-card:hover{
  transform:translateY(-4px);
}

.blog-thumb{
  width:100%;
  height:160px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(79,70,229,.06), rgba(22,163,74,.05));
  border:1px dashed rgba(15,23,42,.18);
  margin-bottom:12px;
  overflow:hidden;            /* important */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.blog-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;          /* fills area nicely */
  object-position:center;
  display:block;
}

.blog-card h3{
  margin:0 0 8px;
  font-size:16px;
}

.blog-card p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* ================================
   CTA Banner
   ================================ */

.bundle-banner{
  background:linear-gradient(90deg, rgba(79,70,229,.10), rgba(22,163,74,.08));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.bundle-title{
  font-size:18px;
  font-weight:900;
}

.bundle-sub{
  margin-top:6px;
  color:var(--muted);
  font-weight:650;
  line-height:1.6;
}

/* ================================
   Footer
   ================================ */

.footer{
  margin-top:40px;
  background:#0f172a;
  color:#e5e7eb;
}

.footer-grid{
  padding:28px 0;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; /* ✅ FIXED */
  gap:18px;
}

.footer-title{
  color:#fff;
  font-weight:900;
  margin-bottom:8px;
}

.footer a{
  display:block;
  color:#c7d2fe;
  margin:8px 0;
  font-weight:700;
}

.footer a:hover{
  color:#fff;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:12px 0;
}

.muted{
  color:#cbd5e1;
}

.small{
  font-size:13px;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 900px){
  .promo-inner{
    flex-wrap:wrap;
  }

  .nav{
    display:none;
  }

  .hero2-grid{
    grid-template-columns:1fr;
  }

  .stats-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .grid-3{
    grid-template-columns:1fr;
  }

  .bundle-hero{
    grid-template-columns:1fr;
  }

  .bundle-hero-image{
    border-left:none;
    border-top:1px solid var(--line);
    min-height:200px;
  }

  .bundle-banner{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }
}
/* ================================
   Course Details Page
   ================================ */

.page-hero{
  padding:26px 0 8px;
}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:18px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.course-detail-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}

.course-detail-copy,
.course-detail-card,
.overview-card,
.curriculum-card,
.detail-panel,
.faq-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(15,23,42,.06);
}

.course-detail-copy{
  padding:28px;
}

.course-detail-copy h1{
  margin:14px 0 12px;
  font-size:clamp(34px, 4.7vw, 58px);
  line-height:1.06;
}

.course-detail-visual{
  height:100%;
}

.course-detail-card{
  padding:18px;
  height:100%;
  display:flex;
  flex-direction:column;
}

.course-detail-thumb{
  height:240px;
  margin-bottom:16px;
}

.detail-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 16px;
}

.detail-badges span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#0f172a;
  font-size:13px;
  font-weight:800;
}

.detail-price-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin:0 0 20px;
}

.detail-price-tag{
  margin-bottom:0;
}

.detail-price-note{
  color:var(--muted);
  font-weight:700;
}

.course-mini-points{
  display:grid;
  gap:10px;
}

.mini-point{
  padding:12px 14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#0f172a;
  line-height:1.55;
}

.detail-trust-strip{
  padding-top:10px;
}

.overview-card{
  padding:22px;
}

.overview-card p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.8;
}

.overview-card p:last-child{
  margin-bottom:0;
}

.curriculum-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.curriculum-card{
  padding:20px;
}

.curriculum-step{
  display:inline-block;
  margin-bottom:12px;
  padding:7px 10px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
}

.curriculum-card h3,
.faq-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.curriculum-card p,
.faq-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.highlight-card{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
}

.detail-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.detail-panel{
  padding:22px;
}

.compact-head{
  margin-bottom:10px;
}

.detail-list{
  margin:0;
  padding-left:22px;
  color:#0f172a;
}

.detail-list li{
  margin:10px 0;
  line-height:1.7;
  font-weight:650;
}

.faq-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.faq-card{
  padding:20px;
}

@media (max-width: 900px){
  .course-detail-grid,
  .detail-two-col,
  .faq-grid,
  .curriculum-grid{
    grid-template-columns:1fr;
  }

  .course-detail-copy{
    padding:22px;
  }

  .course-detail-thumb{
    height:200px;
  }
}

/* ================================
   Bundle English Page
   Clean isolated styles for bundle-english.html only
   ================================ */

body.bundle-english-page .topbar{
  position:static;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
}

body.bundle-english-page .topbar-inner{
  min-height:52px;
}

body.bundle-english-page .topbar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

body.bundle-english-page .site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

body.bundle-english-page .nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-height:76px;
}

body.bundle-english-page .brand-text{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}

body.bundle-english-page .main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

body.bundle-english-page .main-nav a{
  font-weight:700;
  color:#334155;
  transition:color .2s ease;
}

body.bundle-english-page .main-nav a:hover{
  color:var(--accent);
}

body.bundle-english-page .main-nav .btn{
  color:#fff;
}

body.bundle-english-page .breadcrumb{
  margin-bottom:0;
  padding-top:6px;
}

body.bundle-english-page .section-muted{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.bundle-english-page .eyebrow{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.bundle-english-page .section-heading{
  max-width:900px;
  margin-bottom:26px;
}

body.bundle-english-page .section-heading h2{
  max-width:820px;
  margin:0 0 14px;
  font-size:clamp(34px, 4.2vw, 52px);
  line-height:1.08;
  letter-spacing:-0.03em;
  color:var(--text);
}

body.bundle-english-page .section-heading p{
  max-width:820px;
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
}

/* Hero */
body.bundle-english-page .bundle-page-hero{
  padding-top:16px;
}

body.bundle-english-page .bundle-page-shell{
  display:grid;
  grid-template-columns:minmax(0, 1.12fr) minmax(320px, .78fr);
  gap:24px;
  align-items:stretch;
}

body.bundle-english-page .bundle-page-copy,
body.bundle-english-page .bundle-page-side{
  min-width:0;
}

body.bundle-english-page .bundle-page-copy{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:34px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

body.bundle-english-page .bundle-page-copy::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(420px 220px at 100% 100%, rgba(22,163,74,.06), transparent 60%);
  pointer-events:none;
}

body.bundle-english-page .bundle-page-copy > *{
  position:relative;
  z-index:1;
}

body.bundle-english-page .bundle-page-title{
  max-width:760px;
  margin:14px 0 14px;
  font-size:clamp(38px, 5vw, 62px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--text);
}

body.bundle-english-page .bundle-page-subtitle{
  margin:0 0 18px;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.bundle-english-page .bundle-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}

body.bundle-english-page .bundle-badges span{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:14px;
  font-weight:800;
}

body.bundle-english-page .bundle-price-row{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  gap:16px;
  margin-bottom:22px;
}

body.bundle-english-page .bundle-price-block{
  display:flex;
  align-items:end;
  gap:10px;
}

body.bundle-english-page .bundle-old-price{
  font-size:24px;
  font-weight:700;
  color:#64748b;
  text-decoration:line-through;
}

body.bundle-english-page .bundle-new-price{
  font-size:42px;
  line-height:1;
  font-weight:900;
  color:var(--text);
}

body.bundle-english-page .bundle-price-note{
  margin:0;
  color:var(--muted);
  font-weight:600;
}

body.bundle-english-page .bundle-page-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

body.bundle-english-page .bundle-page-actions .btn-light{
  background:#fff;
  color:var(--text);
  border:1px solid #d7dfeb;
  box-shadow:none;
}

body.bundle-english-page .bundle-page-actions .btn-light:hover{
  border-color:#c7d2fe;
}

body.bundle-english-page .bundle-page-side{
  display:flex;
  align-items:stretch;
}

body.bundle-english-page .bundle-summary-card{
  width:100%;
  height:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  box-shadow:var(--shadow);
}

body.bundle-english-page .bundle-summary-image{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:22px;
  border:1px solid #d9e2ec;
  display:block;
}

body.bundle-english-page .bundle-summary-list{
  display:grid;
  gap:10px;
  margin-top:14px;
}

body.bundle-english-page .bundle-summary-item{
  padding:16px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:16px;
  color:#0f172a;
  line-height:1.65;
}

body.bundle-english-page .bundle-highlights-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}

body.bundle-english-page .bundle-highlight-box{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.35;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 14px;
  font-weight:800;
  color:#0f172a;
  box-shadow:0 10px 22px rgba(15,23,42,.04);
}

/* Features */
body.bundle-english-page .feature-grid.three-col{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:stretch;
}

body.bundle-english-page .feature-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
  height:100%;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.bundle-english-page .feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(15,23,42,.08);
  border-color:#c7d2fe;
}

body.bundle-english-page .feature-card h3{
  margin:0 0 12px;
  font-size:20px;
  line-height:1.28;
  color:var(--text);
}

body.bundle-english-page .feature-card p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}

/* Included courses */
body.bundle-english-page .course-tag{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.bundle-english-page .course-tag-light{
  background:#f8fafc;
  border-color:#dbe4f0;
  color:#334155;
}

body.bundle-english-page .bundle-course-stack{
  display:grid;
  gap:22px;
}

body.bundle-english-page .bundle-course-card{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  align-items:stretch;
}

body.bundle-english-page .bundle-course-media{
  width:100%;
  height:220px;
  min-height:220px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #d9e2ec;
  background:linear-gradient(135deg, rgba(79,70,229,.06), rgba(22,163,74,.05));
}

body.bundle-english-page .bundle-course-media img{
  width:100%;
  height:100%;
  min-height:220px;
  object-fit:cover;
  object-position:center center;
  display:block;
  border:none;
  border-radius:0;
}

body.bundle-english-page .bundle-course-content{
  min-width:0;
  display:flex;
  flex-direction:column;
}

body.bundle-english-page .bundle-course-top{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:10px;
}

body.bundle-english-page .bundle-course-card h3{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.14;
}

body.bundle-english-page .bundle-course-card p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}

body.bundle-english-page .bundle-check-list{
  margin:0;
  padding-left:20px;
  color:#0f172a;
}

body.bundle-english-page .bundle-check-list li{
  margin:8px 0;
  line-height:1.65;
  font-weight:600;
}

body.bundle-english-page .bundle-check-list.compact li{
  margin:10px 0;
}

body.bundle-english-page .bundle-course-footer{
  margin-top:auto;
  padding-top:16px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

body.bundle-english-page .price-chip{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:14px;
  font-weight:800;
}

body.bundle-english-page .text-link{
  color:var(--accent);
  font-weight:800;
  text-decoration:none;
}

body.bundle-english-page .text-link:hover{
  text-decoration:underline;
}

/* Value cards */
body.bundle-english-page .bundle-value-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

body.bundle-english-page .bundle-value-card{
  position:relative;
  min-height:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
}

body.bundle-english-page .bundle-value-card.featured{
  border-color:#c7d2fe;
  box-shadow:0 22px 40px rgba(79,70,229,.12);
}

body.bundle-english-page .featured-label{
  position:absolute;
  top:16px;
  right:16px;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, #4f46e5, #6366f1);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}

body.bundle-english-page .bundle-value-card h3{
  margin:0 0 14px;
  font-size:26px;
}

body.bundle-english-page .bundle-value-price{
  margin-bottom:14px;
  font-size:42px;
  line-height:1;
  font-weight:900;
  color:var(--text);
}

/* Audience */
body.bundle-english-page .audience-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

body.bundle-english-page .audience-card{
  min-height:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.bundle-english-page .audience-card h3{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.25;
}

body.bundle-english-page .audience-card p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

/* FAQ */
body.bundle-english-page .faq-list{
  display:grid;
  gap:16px;
}

body.bundle-english-page .faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px 24px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}

body.bundle-english-page .faq-item h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.3;
}

body.bundle-english-page .faq-item p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

/* CTA */
body.bundle-english-page .cta-section{
  padding-top:10px;
  padding-bottom:26px;
}

body.bundle-english-page .cta-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  background:linear-gradient(135deg, rgba(79,70,229,.08), rgba(22,163,74,.06));
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

body.bundle-english-page .cta-card > div:first-child{
  max-width:720px;
}

body.bundle-english-page .cta-card h2{
  max-width:700px;
  margin:8px 0 10px;
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.12;
  letter-spacing:-0.02em;
}

body.bundle-english-page .cta-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.bundle-english-page .cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:flex-start;
}

/* Footer */
body.bundle-english-page .site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e5e7eb;
  border-top:none;
}

body.bundle-english-page .footer-grid{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}

body.bundle-english-page .footer-brand{
  margin-bottom:12px;
}

body.bundle-english-page .footer-copy{
  max-width:360px;
  margin:0;
  color:#cbd5e1;
  line-height:1.7;
}

body.bundle-english-page .site-footer h4{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

body.bundle-english-page .footer-links{
  list-style:none;
  margin:0;
  padding:0;
}

body.bundle-english-page .footer-links li{
  margin:0 0 10px;
  color:#cbd5e1;
}

body.bundle-english-page .footer-links a{
  color:#c7d2fe;
  font-weight:700;
}

body.bundle-english-page .footer-links a:hover{
  color:#fff;
}

body.bundle-english-page .footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:16px 0 22px;
}

body.bundle-english-page .footer-bottom p{
  margin:0;
  color:#cbd5e1;
}

/* Responsive */
@media (max-width: 1100px){
  body.bundle-english-page .bundle-page-shell,
  body.bundle-english-page .bundle-highlights-strip,
  body.bundle-english-page .feature-grid.three-col,
  body.bundle-english-page .bundle-value-grid,
  body.bundle-english-page .audience-grid,
  body.bundle-english-page .footer-grid{
    grid-template-columns:1fr;
  }

  body.bundle-english-page .bundle-course-card{
    grid-template-columns:1fr;
  }

  body.bundle-english-page .bundle-course-media{
    height:260px;
    min-height:260px;
  }

  body.bundle-english-page .bundle-course-media img{
    min-height:260px;
  }

  body.bundle-english-page .cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 900px){
  body.bundle-english-page .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  body.bundle-english-page .main-nav{
    flex-wrap:wrap;
    gap:14px 18px;
  }
}

@media (max-width: 768px){
  body.bundle-english-page .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body.bundle-english-page .bundle-page-copy,
  body.bundle-english-page .bundle-summary-card,
  body.bundle-english-page .feature-card,
  body.bundle-english-page .bundle-course-card,
  body.bundle-english-page .bundle-value-card,
  body.bundle-english-page .audience-card,
  body.bundle-english-page .faq-item,
  body.bundle-english-page .cta-card{
    padding:20px;
  }

  body.bundle-english-page .bundle-page-title,
  body.bundle-english-page .section-heading h2,
  body.bundle-english-page .cta-card h2{
    font-size:clamp(28px, 8vw, 40px);
  }

  body.bundle-english-page .bundle-summary-image{
    height:220px;
  }

  body.bundle-english-page .bundle-course-media{
    height:220px;
    min-height:220px;
  }

  body.bundle-english-page .bundle-course-media img{
    min-height:220px;
  }

  body.bundle-english-page .bundle-page-actions,
  body.bundle-english-page .bundle-course-footer,
  body.bundle-english-page .cta-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ================================
   Blog Page
   Isolated styles for blog.html only
   ================================ */

body.blog-page .topbar{
  position:static;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
}

body.blog-page .topbar-inner{
  min-height:52px;
}

body.blog-page .topbar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

body.blog-page .site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

body.blog-page .nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-height:76px;
}

body.blog-page .brand-text{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}

body.blog-page .main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

body.blog-page .main-nav a{
  font-weight:700;
  color:#334155;
  transition:color .2s ease;
}

body.blog-page .main-nav a:hover{
  color:var(--accent);
}

body.blog-page .main-nav .btn{
  color:#fff;
}

body.blog-page .section-soft{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.blog-page .eyebrow{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.blog-page .section-heading{
  max-width:900px;
  margin-bottom:26px;
}

body.blog-page .section-heading h2{
  max-width:820px;
  margin:0 0 14px;
  font-size:clamp(34px, 4.2vw, 52px);
  line-height:1.08;
  letter-spacing:-0.03em;
  color:var(--text);
}

body.blog-page .section-heading p{
  max-width:820px;
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
}

/* Hero */
body.blog-page .blog-hero{
  padding-top:16px;
}

body.blog-page .blog-hero-card{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(300px, .7fr);
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

body.blog-page .blog-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(420px 220px at 100% 100%, rgba(22,163,74,.06), transparent 60%);
  pointer-events:none;
}

body.blog-page .blog-hero-copy,
body.blog-page .blog-hero-side{
  position:relative;
  z-index:1;
  min-width:0;
}

body.blog-page .blog-page-title{
  margin:14px 0 14px;
  font-size:clamp(38px, 5vw, 60px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--text);
  max-width:760px;
}

body.blog-page .blog-page-subtitle{
  margin:0 0 18px;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.blog-page .blog-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

body.blog-page .blog-mini-highlights{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

body.blog-page .blog-mini-item{
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:14px;
  padding:14px 12px;
  text-align:center;
  font-weight:800;
  color:#0f172a;
}

body.blog-page .blog-hero-panel{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  height:100%;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.blog-page .blog-hero-panel-label{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
}

body.blog-page .blog-hero-list{
  margin:0;
  padding-left:20px;
  color:#0f172a;
}

body.blog-page .blog-hero-list li{
  margin:10px 0;
  line-height:1.75;
  font-weight:650;
}

/* Featured article */
body.blog-page .featured-blog-card{
  display:grid;
  grid-template-columns:380px minmax(0, 1fr);
  gap:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px;
  box-shadow:var(--shadow);
}

body.blog-page .featured-blog-media{
  border-radius:24px;
  overflow:hidden;
  border:1px solid #d9e2ec;
  background:linear-gradient(135deg, rgba(79,70,229,.05), rgba(22,163,74,.04));
  min-height:280px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

body.blog-page .featured-blog-media img{
  width:100%;
  height:260px; /* ðŸ‘ˆ increase this value */
  display:block;
  object-fit:cover;
  object-position:center;
  border-radius:18px;
}

body.blog-page .featured-blog-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

body.blog-page .featured-blog-content h3{
  margin:0 0 12px;
  font-size:34px;
  line-height:1.15;
}

body.blog-page .featured-blog-content p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.8;
}

body.blog-page .blog-key-points{
  margin:0 0 18px;
  padding-left:20px;
}

body.blog-page .blog-key-points li{
  margin:8px 0;
  font-weight:600;
  line-height:1.65;
}

body.blog-page .featured-blog-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* Chips */
body.blog-page .blog-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:12px;
}

body.blog-page .blog-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.blog-page .blog-chip-light{
  background:#f8fafc;
  border-color:#dbe4f0;
  color:#334155;
}

/* Category cards */
body.blog-page .blog-category-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

body.blog-page .blog-category-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.blog-page .blog-category-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
}

body.blog-page .blog-category-card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

/* Blog grid */
body.blog-page .blog-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

body.blog-page .blog-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  height:100%;
}

body.blog-page .blog-card-media{
  min-height:220px;
  padding:16px 16px 0;
  background:transparent;
  border-bottom:none;
}

body.blog-page .blog-card-media img{
  width:100%;
  height:220px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:18px;
  border:1px solid #d9e2ec;
}

body.blog-page .blog-card-content{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

body.blog-page .blog-card-content h3{
  margin:0 0 10px;
  font-size:26px;
  line-height:1.18;
}

body.blog-page .blog-card-content p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.8;
}

body.blog-page .text-link{
  color:var(--accent);
  font-weight:800;
  text-decoration:none;
  margin-top:auto;
}

body.blog-page .text-link:hover{
  text-decoration:underline;
}

/* CTA */
body.blog-page .cta-section{
  padding-top:10px;
  padding-bottom:26px;
}

body.blog-page .cta-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  background:linear-gradient(135deg, rgba(79,70,229,.08), rgba(22,163,74,.06));
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

body.blog-page .cta-card > div:first-child{
  max-width:720px;
}

body.blog-page .cta-card h2{
  max-width:700px;
  margin:8px 0 10px;
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.12;
  letter-spacing:-0.02em;
}

body.blog-page .cta-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.blog-page .cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:flex-start;
}

/* Footer */
body.blog-page .site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e5e7eb;
  border-top:none;
}

body.blog-page .footer-grid{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}

body.blog-page .footer-brand{
  margin-bottom:12px;
}

body.blog-page .footer-copy{
  max-width:360px;
  margin:0;
  color:#cbd5e1;
  line-height:1.7;
}

body.blog-page .site-footer h4{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

body.blog-page .footer-links{
  list-style:none;
  margin:0;
  padding:0;
}

body.blog-page .footer-links li{
  margin:0 0 10px;
  color:#cbd5e1;
}

body.blog-page .footer-links a{
  color:#c7d2fe;
  font-weight:700;
}

body.blog-page .footer-links a:hover{
  color:#fff;
}

body.blog-page .footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:16px 0 22px;
}

body.blog-page .footer-bottom p{
  margin:0;
  color:#cbd5e1;
}

/* Responsive */
@media (max-width: 1100px){
  body.blog-page .blog-hero-card,
  body.blog-page .featured-blog-card,
  body.blog-page .blog-category-grid,
  body.blog-page .blog-grid,
  body.blog-page .footer-grid{
    grid-template-columns:1fr;
  }

  body.blog-page .cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 900px){
  body.blog-page .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  body.blog-page .main-nav{
    flex-wrap:wrap;
    gap:14px 18px;
  }

  body.blog-page .blog-mini-highlights{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.blog-page .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body.blog-page .blog-hero-card,
  body.blog-page .featured-blog-card,
  body.blog-page .blog-category-card,
  body.blog-page .blog-card-content,
  body.blog-page .cta-card{
    padding:20px;
  }

  body.blog-page .blog-page-title,
  body.blog-page .section-heading h2,
  body.blog-page .cta-card h2{
    font-size:clamp(28px, 8vw, 40px);
  }

body.blog-page .featured-blog-media{
  min-height:220px;
  padding:8px;
}

body.blog-page .featured-blog-media img{
  min-height:200px;
}

body.blog-page .blog-card-media{
  min-height:auto;
  padding:14px 14px 0;
}

body.blog-page .blog-card-media img{
  height:200px;
}

  body.blog-page .blog-hero-actions,
  body.blog-page .featured-blog-actions,
  body.blog-page .cta-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ================================
   Blog Details Page
   Clean isolated styles
   ================================ */

body.blog-details-page .topbar{
  position:static;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
}

body.blog-details-page .topbar-inner{
  min-height:52px;
}

body.blog-details-page .topbar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

body.blog-details-page .site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

body.blog-details-page .nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-height:76px;
}

body.blog-details-page .brand-text{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}

body.blog-details-page .main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

body.blog-details-page .main-nav a{
  font-weight:700;
  color:#334155;
  transition:color .2s ease;
}

body.blog-details-page .main-nav a:hover{
  color:var(--accent);
}

body.blog-details-page .main-nav .btn{
  color:#fff;
}

body.blog-details-page .section-muted{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.blog-details-page .eyebrow{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.blog-details-page .section-heading{
  max-width:900px;
  margin-bottom:26px;
}

body.blog-details-page .section-heading h2{
  max-width:820px;
  margin:0 0 14px;
  font-size:clamp(34px, 4.2vw, 52px);
  line-height:1.08;
  letter-spacing:-0.03em;
  color:var(--text);
}

body.blog-details-page .section-heading p{
  max-width:820px;
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
}

body.blog-details-page .blog-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:12px;
}

body.blog-details-page .blog-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.blog-details-page .blog-chip-light{
  background:#f8fafc;
  border-color:#dbe4f0;
  color:#334155;
}

/* Article header */
body.blog-details-page .article-header{
  max-width:860px;
  margin-bottom:28px;
}

body.blog-details-page .article-header h1{
  margin:14px 0 14px;
  font-size:clamp(40px, 5vw, 64px);
  line-height:1.08;
  letter-spacing:-0.03em;
}

body.blog-details-page .article-subtext{
  max-width:760px;
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.8;
}

/* Article hero image */
body.blog-details-page .article-image {
  border-radius: 24px;
  overflow: hidden;
  background: #e9eef5;
  padding: 16px;
}

body.blog-details-page .article-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

body.blog-details-page .article-layout{
  max-width:none;
}

body.blog-details-page .article-content{
  background:transparent;
}

body.blog-details-page .article-content h2{
  margin:0 0 14px;
  font-size:clamp(30px, 3.2vw, 42px);
  line-height:1.15;
  letter-spacing:-0.02em;
}

body.blog-details-page .article-content p{
  margin:0 0 26px;
  color:#334155;
  font-size:18px;
  line-height:1.8;
}

body.blog-details-page .article-highlight{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
  margin-top:26px;
}

body.blog-details-page .article-highlight h3{
  margin:0 0 14px;
  font-size:20px;
}

body.blog-details-page .article-highlight ul{
  margin:0;
  padding-left:22px;
}

body.blog-details-page .article-highlight li{
  margin:8px 0;
  font-size:16px;
  line-height:1.7;
}

body.blog-details-page .article-cta{
  margin-top:34px;
  padding:28px;
  background:linear-gradient(135deg, #4f46e5, #6366f1);
  color:#fff;
  border-radius:24px;
  box-shadow:0 16px 34px rgba(79,70,229,.22);
}

body.blog-details-page .article-cta h3{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.3;
}

body.blog-details-page .article-cta p{
  margin:0 0 16px;
  color:rgba(255,255,255,.92);
  font-size:17px;
  line-height:1.7;
}

body.blog-details-page .article-cta .btn{
  margin-right:10px;
}

/* Related cards */
body.blog-details-page .blog-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

body.blog-details-page .blog-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  height:100%;
}

body.blog-details-page .blog-card-media{
  min-height:220px;
  padding:16px 16px 0;
  background:transparent;
  border-bottom:none;
}

body.blog-details-page .blog-card-media img{
  width:100%;
  height:220px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:18px;
  border:1px solid #d9e2ec;
}

body.blog-details-page .blog-card-content{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

body.blog-details-page .blog-card-content h3{
  margin:0 0 10px;
  font-size:26px;
  line-height:1.18;
}

body.blog-details-page .text-link{
  color:var(--accent);
  font-weight:800;
  text-decoration:none;
  margin-top:auto;
}

body.blog-details-page .text-link:hover{
  text-decoration:underline;
}

/* Footer */
body.blog-details-page .site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e5e7eb;
  border-top:none;
}

body.blog-details-page .footer-grid{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}

body.blog-details-page .footer-brand{
  margin-bottom:12px;
}

body.blog-details-page .footer-copy{
  max-width:360px;
  margin:0;
  color:#cbd5e1;
  line-height:1.7;
}

body.blog-details-page .site-footer h4{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

body.blog-details-page .footer-links{
  list-style:none;
  margin:0;
  padding:0;
}

body.blog-details-page .footer-links li{
  margin:0 0 10px;
  color:#cbd5e1;
}

body.blog-details-page .footer-links a{
  color:#c7d2fe;
  font-weight:700;
}

body.blog-details-page .footer-links a:hover{
  color:#fff;
}

body.blog-details-page .footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:16px 0 22px;
}

body.blog-details-page .footer-bottom p{
  margin:0;
  color:#cbd5e1;
}

/* Responsive */
@media (max-width: 1100px){
  body.blog-details-page .blog-grid,
  body.blog-details-page .footer-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 900px){
  body.blog-details-page .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  body.blog-details-page .main-nav{
    flex-wrap:wrap;
    gap:14px 18px;
  }
}

@media (max-width: 768px){
  body.blog-details-page .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body.blog-details-page .article-header h1,
  body.blog-details-page .article-content h2,
  body.blog-details-page .section-heading h2{
    font-size:clamp(28px, 8vw, 40px);
  }

  body.blog-details-page .article-subtext,
  body.blog-details-page .article-content p{
    font-size:16px;
  }

  body.blog-details-page .article-highlight,
  body.blog-details-page .article-cta,
  body.blog-details-page .blog-card-content{
    padding:20px;
  }

  body.blog-details-page .blog-card-media{
    min-height:auto;
    padding:14px 14px 0;
  }

  body.blog-details-page .blog-card-media img{
    height:200px;
  }
}

/* ================================
   About Page
   Isolated styles for about.html
   ================================ */

body.about-page .topbar{
  position:static;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
}

body.about-page .topbar-inner{
  min-height:52px;
}

body.about-page .topbar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

body.about-page .site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

body.about-page .nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-height:76px;
}

body.about-page .brand-text{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}

body.about-page .main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

body.about-page .main-nav a{
  font-weight:700;
  color:#334155;
  transition:color .2s ease;
}

body.about-page .main-nav a:hover{
  color:var(--accent);
}

body.about-page .main-nav .btn{
  color:#fff;
}

body.about-page .section-soft{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.about-page .section-muted{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.about-page .eyebrow{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.about-page .section-heading{
  max-width:900px;
  margin-bottom:26px;
}

body.about-page .section-heading h2{
  max-width:820px;
  margin:0 0 14px;
  font-size:clamp(34px, 4.2vw, 52px);
  line-height:1.08;
  letter-spacing:-0.03em;
  color:var(--text);
}

body.about-page .section-heading p{
  max-width:820px;
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
}

/* Hero */
body.about-page .about-hero{
  padding-top:16px;
}

body.about-page .about-hero-card{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(300px, .7fr);
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

body.about-page .about-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(420px 220px at 100% 100%, rgba(22,163,74,.06), transparent 60%);
  pointer-events:none;
}

body.about-page .about-hero-copy,
body.about-page .about-hero-side{
  position:relative;
  z-index:1;
  min-width:0;
}

body.about-page .about-page-title{
  margin:14px 0 14px;
  font-size:clamp(38px, 5vw, 60px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--text);
  max-width:760px;
}

body.about-page .about-page-subtitle{
  margin:0 0 18px;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.about-page .about-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

body.about-page .about-mini-highlights{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

body.about-page .about-mini-item{
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:14px;
  padding:14px 12px;
  text-align:center;
  font-weight:800;
  color:#0f172a;
}

body.about-page .about-hero-panel{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  height:100%;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.about-page .about-hero-panel-label{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
}

body.about-page .about-hero-list{
  margin:0;
  padding-left:20px;
  color:#0f172a;
}

body.about-page .about-hero-list li{
  margin:10px 0;
  line-height:1.75;
  font-weight:650;
}

/* Profile */
body.about-page .about-profile-card{
  display:grid;
  grid-template-columns:360px minmax(0, 1fr);
  gap:24px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:22px;
  box-shadow:var(--shadow);
}

body.about-page .about-profile-media{
  border-radius:24px;
  overflow:hidden;
  border:1px solid #d9e2ec;
  background:#f8fafc;
}

body.about-page .about-profile-media img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  display:block;
}

body.about-page .about-profile-content{
  min-width:0;
}

body.about-page .about-check-list{
  margin:0;
  padding-left:22px;
}

body.about-page .about-check-list li{
  margin:10px 0;
  color:#0f172a;
  line-height:1.7;
  font-weight:600;
}

/* Pillars */
body.about-page .about-pillars-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

body.about-page .about-pillar-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.about-page .about-pillar-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
}

body.about-page .about-pillar-card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

/* Approach */
body.about-page .about-approach-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

body.about-page .about-approach-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.about-page .about-approach-card h3{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.2;
}

body.about-page .about-approach-card p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

/* Language card */
body.about-page .about-language-card{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

body.about-page .about-language-copy h2{
  margin:14px 0 14px;
  font-size:clamp(34px, 4vw, 48px);
  line-height:1.1;
  letter-spacing:-0.03em;
}

body.about-page .about-language-copy p{
  margin:0;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.about-page .about-language-points{
  display:grid;
  gap:14px;
}

body.about-page .about-language-point{
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:18px;
  padding:18px;
}

body.about-page .about-language-point strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  color:#0f172a;
}

body.about-page .about-language-point span{
  color:var(--muted);
  line-height:1.65;
}

/* CTA */
body.about-page .cta-section{
  padding-top:10px;
  padding-bottom:26px;
}

body.about-page .cta-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  background:linear-gradient(135deg, rgba(79,70,229,.08), rgba(22,163,74,.06));
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

body.about-page .cta-card > div:first-child{
  max-width:720px;
}

body.about-page .cta-card h2{
  max-width:700px;
  margin:8px 0 10px;
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.12;
  letter-spacing:-0.02em;
}

body.about-page .cta-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.about-page .cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:flex-start;
}

/* Footer */
body.about-page .site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e5e7eb;
  border-top:none;
}

body.about-page .footer-grid{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}

body.about-page .footer-brand{
  margin-bottom:12px;
}

body.about-page .footer-copy{
  max-width:360px;
  margin:0;
  color:#cbd5e1;
  line-height:1.7;
}

body.about-page .site-footer h4{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

body.about-page .footer-links{
  list-style:none;
  margin:0;
  padding:0;
}

body.about-page .footer-links li{
  margin:0 0 10px;
  color:#cbd5e1;
}

body.about-page .footer-links a{
  color:#c7d2fe;
  font-weight:700;
}

body.about-page .footer-links a:hover{
  color:#fff;
}

body.about-page .footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:16px 0 22px;
}

body.about-page .footer-bottom p{
  margin:0;
  color:#cbd5e1;
}

/* Responsive */
@media (max-width: 1100px){
  body.about-page .about-hero-card,
  body.about-page .about-profile-card,
  body.about-page .about-pillars-grid,
  body.about-page .about-approach-grid,
  body.about-page .about-language-card,
  body.about-page .footer-grid{
    grid-template-columns:1fr;
  }

  body.about-page .cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 900px){
  body.about-page .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  body.about-page .main-nav{
    flex-wrap:wrap;
    gap:14px 18px;
  }

  body.about-page .about-mini-highlights{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.about-page .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body.about-page .about-hero-card,
  body.about-page .about-profile-card,
  body.about-page .about-pillar-card,
  body.about-page .about-approach-card,
  body.about-page .about-language-card,
  body.about-page .cta-card{
    padding:20px;
  }

  body.about-page .about-page-title,
  body.about-page .section-heading h2,
  body.about-page .about-language-copy h2,
  body.about-page .cta-card h2{
    font-size:clamp(28px, 8vw, 40px);
  }

  body.about-page .about-profile-media img{
    min-height:260px;
  }

  body.about-page .about-hero-actions,
  body.about-page .cta-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ================================
   Contact Page
   Isolated styles for contact.html
   ================================ */

body.contact-page .topbar{
  position:static;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
}

body.contact-page .topbar-inner{
  min-height:52px;
}

body.contact-page .topbar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

body.contact-page .site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

body.contact-page .nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-height:76px;
}

body.contact-page .brand-text{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}

body.contact-page .main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

body.contact-page .main-nav a{
  font-weight:700;
  color:#334155;
  transition:color .2s ease;
}

body.contact-page .main-nav a:hover{
  color:var(--accent);
}

body.contact-page .main-nav .btn{
  color:#fff;
}

body.contact-page .section-soft{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.contact-page .section-muted{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.contact-page .eyebrow{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.contact-page .section-heading{
  max-width:900px;
  margin-bottom:26px;
}

body.contact-page .section-heading h2{
  max-width:820px;
  margin:0 0 14px;
  font-size:clamp(34px, 4.2vw, 52px);
  line-height:1.08;
  letter-spacing:-0.03em;
  color:var(--text);
}

body.contact-page .section-heading p{
  max-width:820px;
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
}

/* Hero */
body.contact-page .contact-hero{
  padding-top:16px;
}

body.contact-page .contact-hero-card{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(300px, .7fr);
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

body.contact-page .contact-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(420px 220px at 100% 100%, rgba(22,163,74,.06), transparent 60%);
  pointer-events:none;
}

body.contact-page .contact-hero-copy,
body.contact-page .contact-hero-side{
  position:relative;
  z-index:1;
  min-width:0;
}

body.contact-page .contact-page-title{
  margin:14px 0 14px;
  font-size:clamp(38px, 5vw, 60px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--text);
  max-width:760px;
}

body.contact-page .contact-page-subtitle{
  margin:0 0 18px;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.contact-page .contact-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

body.contact-page .contact-mini-highlights{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

body.contact-page .contact-mini-item{
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:14px;
  padding:14px 12px;
  text-align:center;
  font-weight:800;
  color:#0f172a;
}

body.contact-page .contact-hero-panel{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  height:100%;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.contact-page .contact-hero-panel-label{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
}

body.contact-page .contact-hero-list{
  margin:0;
  padding-left:20px;
  color:#0f172a;
}

body.contact-page .contact-hero-list li{
  margin:10px 0;
  line-height:1.75;
  font-weight:650;
}

/* Contact cards */
body.contact-page .contact-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}

body.contact-page .contact-info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.contact-page .contact-info-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
}

body.contact-page .contact-info-card p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.75;
}

/* Form layout */
body.contact-page .contact-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:24px;
  align-items:start;
}

body.contact-page .contact-form-card,
body.contact-page .contact-summary-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

body.contact-page .contact-form{
  margin-top:6px;
}

body.contact-page .form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

body.contact-page .form-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

body.contact-page .form-field-full{
  grid-column:1 / -1;
}

body.contact-page .form-field label{
  font-size:14px;
  font-weight:700;
  color:#0f172a;
}

body.contact-page .form-field input,
body.contact-page .form-field select,
body.contact-page .form-field textarea{
  width:100%;
  border:1px solid #d7dfeb;
  background:#fff;
  border-radius:14px;
  padding:14px 16px;
  font:inherit;
  color:#0f172a;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

body.contact-page .form-field textarea{
  resize:vertical;
  min-height:140px;
}

body.contact-page .form-field input:focus,
body.contact-page .form-field select:focus,
body.contact-page .form-field textarea:focus{
  border-color:#c7d2fe;
  box-shadow:0 0 0 4px rgba(99,102,241,.10);
}

body.contact-page .contact-form-actions{
  margin-top:20px;
}

/* Summary card */
body.contact-page .contact-summary-label{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
}

body.contact-page .contact-summary-card h3{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.15;
}

body.contact-page .contact-summary-card p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.8;
}

body.contact-page .contact-summary-list{
  margin:0 0 20px;
  padding-left:20px;
}

body.contact-page .contact-summary-list li{
  margin:10px 0;
  line-height:1.7;
  font-weight:600;
  color:#0f172a;
}

body.contact-page .contact-support-note{
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:18px;
  padding:18px;
}

body.contact-page .contact-support-note strong{
  display:block;
  margin-bottom:6px;
  font-size:16px;
  color:#0f172a;
}

body.contact-page .contact-support-note span{
  color:var(--muted);
  line-height:1.65;
}

/* Text link */
body.contact-page .text-link{
  color:var(--accent);
  font-weight:800;
  text-decoration:none;
}

body.contact-page .text-link:hover{
  text-decoration:underline;
}

/* CTA */
body.contact-page .cta-section{
  padding-top:10px;
  padding-bottom:26px;
}

body.contact-page .cta-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  background:linear-gradient(135deg, rgba(79,70,229,.08), rgba(22,163,74,.06));
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

body.contact-page .cta-card > div:first-child{
  max-width:720px;
}

body.contact-page .cta-card h2{
  max-width:700px;
  margin:8px 0 10px;
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.12;
  letter-spacing:-0.02em;
}

body.contact-page .cta-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.contact-page .cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:flex-start;
}

/* Footer */
body.contact-page .site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e5e7eb;
  border-top:none;
}

body.contact-page .footer-grid{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}

body.contact-page .footer-brand{
  margin-bottom:12px;
}

body.contact-page .footer-copy{
  max-width:360px;
  margin:0;
  color:#cbd5e1;
  line-height:1.7;
}

body.contact-page .site-footer h4{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

body.contact-page .footer-links{
  list-style:none;
  margin:0;
  padding:0;
}

body.contact-page .footer-links li{
  margin:0 0 10px;
  color:#cbd5e1;
}

body.contact-page .footer-links a{
  color:#c7d2fe;
  font-weight:700;
}

body.contact-page .footer-links a:hover{
  color:#fff;
}

body.contact-page .footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:16px 0 22px;
}

body.contact-page .footer-bottom p{
  margin:0;
  color:#cbd5e1;
}

/* Responsive */
@media (max-width: 1100px){
  body.contact-page .contact-hero-card,
  body.contact-page .contact-card-grid,
  body.contact-page .contact-layout,
  body.contact-page .footer-grid{
    grid-template-columns:1fr;
  }

  body.contact-page .cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 900px){
  body.contact-page .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  body.contact-page .main-nav{
    flex-wrap:wrap;
    gap:14px 18px;
  }

  body.contact-page .contact-mini-highlights{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.contact-page .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body.contact-page .contact-hero-card,
  body.contact-page .contact-info-card,
  body.contact-page .contact-form-card,
  body.contact-page .contact-summary-card,
  body.contact-page .cta-card{
    padding:20px;
  }

  body.contact-page .contact-page-title,
  body.contact-page .section-heading h2,
  body.contact-page .cta-card h2{
    font-size:clamp(28px, 8vw, 40px);
  }

  body.contact-page .form-grid{
    grid-template-columns:1fr;
  }

  body.contact-page .contact-hero-actions,
  body.contact-page .cta-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ================================
   YouTube Page
   ================================ */

body.youtube-page .topbar,
body.playlist-page .topbar{
  position:static;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
}

body.youtube-page .topbar-inner,
body.playlist-page .topbar-inner{
  min-height:52px;
}

body.youtube-page .topbar-link,
body.playlist-page .topbar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--accent);
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

body.youtube-page .site-header,
body.playlist-page .site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

body.youtube-page .nav-wrap,
body.playlist-page .nav-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  min-height:76px;
}

body.youtube-page .brand-text,
body.playlist-page .brand-text{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}

body.youtube-page .main-nav,
body.playlist-page .main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

body.youtube-page .main-nav a,
body.playlist-page .main-nav a{
  font-weight:700;
  color:#334155;
  transition:color .2s ease;
}

body.youtube-page .main-nav a:hover,
body.playlist-page .main-nav a:hover{
  color:var(--accent);
}

body.youtube-page .main-nav .btn,
body.playlist-page .main-nav .btn{
  color:#fff;
}

body.youtube-page .section-soft,
body.playlist-page .section-soft,
body.youtube-page .section-muted,
body.playlist-page .section-muted{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(79,70,229,.03));
}

body.youtube-page .eyebrow,
body.playlist-page .eyebrow{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.youtube-page .section-heading,
body.playlist-page .section-heading{
  max-width:900px;
  margin-bottom:26px;
}

body.youtube-page .section-heading h2,
body.playlist-page .section-heading h2{
  max-width:820px;
  margin:0 0 14px;
  font-size:clamp(34px, 4.2vw, 52px);
  line-height:1.08;
  letter-spacing:-0.03em;
  color:var(--text);
}

body.youtube-page .section-heading p,
body.playlist-page .section-heading p{
  max-width:820px;
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
}

/* YouTube hero */
body.youtube-page .youtube-hero{
  padding-top:16px;
}

body.youtube-page .youtube-hero-card{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(300px, .7fr);
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

body.youtube-page .youtube-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(420px 220px at 100% 100%, rgba(22,163,74,.06), transparent 60%);
  pointer-events:none;
}

body.youtube-page .youtube-hero-copy,
body.youtube-page .youtube-hero-side{
  position:relative;
  z-index:1;
  min-width:0;
}

body.youtube-page .youtube-page-title{
  margin:14px 0 14px;
  font-size:clamp(38px, 5vw, 60px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--text);
  max-width:760px;
}

body.youtube-page .youtube-page-subtitle{
  margin:0 0 18px;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.youtube-page .youtube-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

body.youtube-page .youtube-mini-highlights{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

body.youtube-page .youtube-mini-item{
  background:#f8fafc;
  border:1px solid #dbe4f0;
  border-radius:14px;
  padding:14px 12px;
  text-align:center;
  font-weight:800;
  color:#0f172a;
}

body.youtube-page .youtube-hero-panel{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  height:100%;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.youtube-page .youtube-hero-panel-label{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
}

body.youtube-page .youtube-hero-list{
  margin:0;
  padding-left:20px;
  color:#0f172a;
}

body.youtube-page .youtube-hero-list li{
  margin:10px 0;
  line-height:1.75;
  font-weight:650;
}

/* cards */
body.youtube-page .youtube-playlist-grid,
body.youtube-page .youtube-video-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

body.youtube-page .youtube-playlist-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

body.youtube-page .youtube-video-grid-3{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

body.youtube-page .youtube-playlist-card,
body.youtube-page .youtube-video-card,
body.playlist-page .playlist-video-card,
body.playlist-page .playlist-sidebar-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.youtube-page .youtube-card-media,
body.playlist-page .playlist-video-thumb{
  overflow:hidden;
  border-radius:24px 24px 0 0;
}

body.youtube-page .youtube-card-media img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

body.youtube-page .youtube-card-content{
  padding:22px;
}

body.youtube-page .youtube-card-content h3{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
}

body.youtube-page .youtube-card-content p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.75;
}

body.youtube-page .youtube-card-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  font-size:14px;
  color:#64748b;
  margin-bottom:16px;
}

body.youtube-page .youtube-chip,
body.playlist-page .playlist-tag{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
  margin-bottom:12px;
}

body.youtube-page .youtube-info-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

body.youtube-page .youtube-info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.youtube-page .youtube-info-card h3{
  margin:0 0 14px;
  font-size:26px;
  line-height:1.2;
}

body.youtube-page .youtube-info-card ul{
  margin:0;
  padding-left:20px;
}

body.youtube-page .youtube-info-card li{
  margin:10px 0;
  line-height:1.7;
  color:#334155;
}

/* playlist page */
body.playlist-page .playlist-hero{
  padding-top:16px;
}

body.playlist-page .playlist-hero-card{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) 360px;
  gap:24px;
  align-items:stretch;
}

body.playlist-page .playlist-hero-copy,
body.playlist-page .playlist-overview-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

body.playlist-page .playlist-page-title{
  margin:14px 0 14px;
  font-size:clamp(38px, 5vw, 56px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.03em;
}

body.playlist-page .playlist-page-subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.playlist-page .playlist-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

body.playlist-page .playlist-overview-card h3{
  margin:0 0 16px;
  font-size:24px;
}

body.playlist-page .playlist-overview-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

body.playlist-page .playlist-overview-box{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:18px 14px;
  text-align:center;
}

body.playlist-page .playlist-overview-box h4{
  font-size:24px;
  margin-bottom:6px;
  color:#1e3a8a;
}

body.playlist-page .playlist-overview-box p{
  font-size:13px;
  color:#64748b;
}

body.playlist-page .playlist-filter-bar{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px 22px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

body.playlist-page .playlist-filter-left h2{
  margin:0 0 6px;
  font-size:28px;
}

body.playlist-page .playlist-filter-left p{
  margin:0;
  color:var(--muted);
}

body.playlist-page .playlist-filter-right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.playlist-page .playlist-filter-right input,
body.playlist-page .playlist-filter-right select{
  padding:11px 14px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  font-size:14px;
  outline:none;
  min-width:180px;
  background:#fff;
}

body.playlist-page .playlist-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:24px;
  align-items:start;
}

body.playlist-page .playlist-video-list{
  display:grid;
  gap:22px;
}

body.playlist-page .playlist-video-card{
  display:grid;
  grid-template-columns:320px minmax(0, 1fr);
  overflow:hidden;
}

body.playlist-page .playlist-video-thumb{
  position:relative;
  min-height:220px;
  background:#e2e8f0;
  border-radius:24px 0 0 24px;
}

body.playlist-page .playlist-video-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

body.playlist-page .playlist-duration{
  position:absolute;
  bottom:12px;
  right:12px;
  background:rgba(15,23,42,.9);
  color:#fff;
  font-size:13px;
  padding:5px 10px;
  border-radius:8px;
  font-weight:700;
}

body.playlist-page .playlist-video-content{
  padding:22px;
}

body.playlist-page .playlist-tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

body.playlist-page .playlist-video-content h3{
  font-size:24px;
  color:#0f172a;
  margin:0 0 10px;
  line-height:1.3;
}

body.playlist-page .playlist-video-content p{
  color:#475569;
  font-size:15px;
  margin:0 0 16px;
}

body.playlist-page .playlist-video-meta{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:14px;
  color:#64748b;
  margin-bottom:18px;
}

body.playlist-page .playlist-video-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.playlist-page .playlist-pagination{
  margin-top:28px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

body.playlist-page .playlist-pagination a,
body.playlist-page .playlist-pagination span{
  min-width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:10px;
  background:#fff;
  border:1px solid #cbd5e1;
  color:#0f172a;
  font-weight:700;
}

body.playlist-page .playlist-pagination a.active{
  background:#4f46e5;
  color:#fff;
  border-color:#4f46e5;
}

body.playlist-page .playlist-sidebar{
  display:grid;
  gap:22px;
  align-self:start;
  position:sticky;
  top:95px;
}

body.playlist-page .playlist-sidebar-card{
  padding:22px;
}

body.playlist-page .playlist-sidebar-card h3{
  margin:0 0 16px;
  font-size:21px;
}

body.playlist-page .playlist-mini-item{
  padding:12px 0;
  border-bottom:1px solid #e2e8f0;
}

body.playlist-page .playlist-mini-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

body.playlist-page .playlist-mini-item a{
  color:#0f172a;
  font-weight:700;
  display:block;
  margin-bottom:4px;
}

body.playlist-page .playlist-mini-item span{
  font-size:13px;
  color:#64748b;
}

body.playlist-page .playlist-sidebar-list{
  list-style:none;
  margin:0;
  padding:0;
}

body.playlist-page .playlist-sidebar-list li + li{
  margin-top:12px;
}

body.playlist-page .playlist-sidebar-list a{
  color:#334155;
  font-weight:600;
  display:block;
}

body.playlist-page .playlist-note-box{
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  padding:14px 16px;
  border-radius:12px;
  font-size:14px;
  line-height:1.7;
}

/* CTA/footer shared */
body.youtube-page .cta-section,
body.playlist-page .cta-section{
  padding-top:10px;
  padding-bottom:26px;
}

body.youtube-page .cta-card,
body.playlist-page .cta-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  background:linear-gradient(135deg, rgba(79,70,229,.08), rgba(22,163,74,.06));
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

body.youtube-page .cta-card > div:first-child,
body.playlist-page .cta-card > div:first-child{
  max-width:720px;
}

body.youtube-page .cta-card h2,
body.playlist-page .cta-card h2{
  max-width:700px;
  margin:8px 0 10px;
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.12;
  letter-spacing:-0.02em;
}

body.youtube-page .cta-card p,
body.playlist-page .cta-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

body.youtube-page .cta-actions,
body.playlist-page .cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:flex-start;
}

body.youtube-page .site-footer,
body.playlist-page .site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e5e7eb;
  border-top:none;
}

body.youtube-page .footer-grid,
body.playlist-page .footer-grid{
  padding:34px 0 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}

body.youtube-page .footer-brand,
body.playlist-page .footer-brand{
  margin-bottom:12px;
}

body.youtube-page .footer-copy,
body.playlist-page .footer-copy{
  max-width:360px;
  margin:0;
  color:#cbd5e1;
  line-height:1.7;
}

body.youtube-page .site-footer h4,
body.playlist-page .site-footer h4{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

body.youtube-page .footer-links,
body.playlist-page .footer-links{
  list-style:none;
  margin:0;
  padding:0;
}

body.youtube-page .footer-links li,
body.playlist-page .footer-links li{
  margin:0 0 10px;
  color:#cbd5e1;
}

body.youtube-page .footer-links a,
body.playlist-page .footer-links a{
  color:#c7d2fe;
  font-weight:700;
}

body.youtube-page .footer-links a:hover,
body.playlist-page .footer-links a:hover{
  color:#fff;
}

body.youtube-page .footer-bottom,
body.playlist-page .footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:16px 0 22px;
}

body.youtube-page .footer-bottom p,
body.playlist-page .footer-bottom p{
  margin:0;
  color:#cbd5e1;
}

/* responsive */
@media (max-width: 1100px){
  body.youtube-page .youtube-playlist-grid,
  body.youtube-page .youtube-video-grid,
  body.youtube-page .youtube-info-grid,
  body.youtube-page .footer-grid,
  body.playlist-page .playlist-hero-card,
  body.playlist-page .playlist-layout,
  body.playlist-page .footer-grid{
    grid-template-columns:1fr;
  }

  body.playlist-page .playlist-sidebar{
    position:static;
  }
}

@media (max-width: 900px){
  body.youtube-page .nav-wrap,
  body.playlist-page .nav-wrap{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  body.youtube-page .main-nav,
  body.playlist-page .main-nav{
    flex-wrap:wrap;
    gap:14px 18px;
  }

  body.youtube-page .youtube-mini-highlights{
    grid-template-columns:1fr;
  }

  body.playlist-page .playlist-video-card{
    grid-template-columns:1fr;
  }

  body.playlist-page .playlist-video-thumb{
    border-radius:24px 24px 0 0;
  }
}

@media (max-width: 768px){
  body.youtube-page .topbar-inner,
  body.playlist-page .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body.youtube-page .youtube-hero-card,
  body.youtube-page .youtube-playlist-card,
  body.youtube-page .youtube-video-card,
  body.youtube-page .youtube-info-card,
  body.youtube-page .cta-card,
  body.playlist-page .playlist-hero-copy,
  body.playlist-page .playlist-overview-card,
  body.playlist-page .playlist-filter-bar,
  body.playlist-page .playlist-video-content,
  body.playlist-page .playlist-sidebar-card{
    padding:20px;
  }

  body.youtube-page .youtube-page-title,
  body.youtube-page .section-heading h2,
  body.youtube-page .cta-card h2,
  body.playlist-page .playlist-page-title,
  body.playlist-page .section-heading h2{
    font-size:clamp(28px, 8vw, 40px);
  }

  body.youtube-page .youtube-card-media img{
    height:200px;
  }

  body.youtube-page .youtube-hero-actions,
  body.youtube-page .cta-actions,
  body.playlist-page .playlist-hero-actions,
  body.playlist-page .playlist-video-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  body.playlist-page .playlist-filter-right{
    width:100%;
  }

  body.playlist-page .playlist-filter-right input,
  body.playlist-page .playlist-filter-right select{
    min-width:100%;
  }
}
.curriculum-list {
  margin: 0;
  padding-left: 18px;
}

.curriculum-list li {
  margin-bottom: 8px;
  color: #425466;
  line-height: 1.7;
}

/* Curriculum Accordion */
.curriculum-accordion {
  display: grid;
  gap: 16px;
}

.curriculum-item {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.curriculum-item-highlight {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.04), rgba(99, 102, 241, 0.02));
}

.curriculum-summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
}

.curriculum-summary::-webkit-details-marker {
  display: none;
}

.curriculum-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.curriculum-summary-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4338ca;
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.curriculum-item[open] .curriculum-summary-icon {
  transform: rotate(45deg);
}

.curriculum-content {
  padding: 0 24px 22px;
  border-top: 1px solid #eef2f7;
}

.curriculum-topic-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.curriculum-topic-list li {
  margin-bottom: 10px;
  color: #425466;
  line-height: 1.7;
}

.curriculum-empty {
  margin: 16px 0 0;
  color: #64748b;
}

@media (max-width: 768px) {
  .curriculum-summary {
    padding: 16px 18px;
    font-size: 16px;
  }

  .curriculum-content {
    padding: 0 18px 18px;
  }
}
/* ================================
   Courses Page - Learning Path UI
   ================================ */

body.courses-page .learning-hero-card{
  overflow:hidden;
}

body.courses-page .learning-hero-panel{
  background:linear-gradient(180deg, #ffffff, #f6faff);
}

body.courses-page .learning-hero-steps{
  display:grid;
  gap:14px;
}

body.courses-page .learning-hero-step{
  display:grid;
  grid-template-columns:56px minmax(0, 1fr);
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
}

body.courses-page .learning-hero-step span{
  width:56px;
  height:56px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(79,70,229,.12), rgba(22,163,74,.10));
  color:#1e3a8a;
  font-size:18px;
  font-weight:900;
}

body.courses-page .learning-hero-step strong{
  display:block;
  margin-bottom:4px;
  font-size:16px;
}

body.courses-page .learning-hero-step small{
  display:block;
  color:var(--muted);
  line-height:1.55;
  font-size:13px;
}

body.courses-page .learning-path-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  padding:22px 24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.courses-page .learning-toolbar-label{
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
}

body.courses-page .learning-toolbar-title{
  margin-top:8px;
}

body.courses-page .learning-toolbar-sub{
  margin-bottom:0;
}

body.courses-page .track-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

body.courses-page .track-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:999px;
  border:1px solid #d8e1ee;
  background:#fff;
  color:#334155;
  font-weight:800;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
  transition:all .18s ease;
}

body.courses-page .track-pill:hover,
body.courses-page .track-pill.is-active{
  border-color:#c7d2fe;
  background:#eef2ff;
  color:#1e3a8a;
}

body.courses-page .learning-path-stack{
  display:grid;
  gap:26px;
}

body.courses-page .path-section{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:26px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}

body.courses-page .path-section.is-empty{
  opacity:.78;
}

body.courses-page .path-section-head{
  display:grid;
  grid-template-columns:88px minmax(0, 1fr);
  gap:18px;
  align-items:flex-start;
  margin-bottom:20px;
}

body.courses-page .path-step-badge{
  width:88px;
  height:88px;
  border-radius:24px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(79,70,229,.12), rgba(22,163,74,.10));
  color:#1e3a8a;
  font-weight:900;
  font-size:18px;
  border:1px solid #dbe4ff;
}

body.courses-page .path-eyebrow{
  margin-bottom:8px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#475569;
}

body.courses-page .path-heading-copy .section-sub{
  margin-bottom:0;
}

body.courses-page .learning-course-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.learning-course-card{
  transition:transform .2s ease, box-shadow .2s ease;
}

.learning-course-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

body.courses-page .learning-course-card{
  background:#fff;
  border:1px solid #e7edf6;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  min-width:0;
  transition:transform .2s ease, box-shadow .2s ease;
}
body.courses-page .learning-course-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}
/*
body.courses-page .learning-course-media{
  position:relative;
  min-height:220px;
  background:linear-gradient(135deg, rgba(79,70,229,.07), rgba(22,163,74,.06));
}

body.courses-page .learning-course-media img{
  width:100%;
  height:100%;
  min-height:220px;
  object-fit:cover;
}*/
body.courses-page .learning-course-media{
  position:relative;
  height:240px;
  min-height:240px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(79,70,229,.07), rgba(22,163,74,.06));
  border-bottom:1px solid #e5e7eb;
 
}

body.courses-page .learning-course-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: 50% 10%;
  display:block;
}


body.courses-page .learning-card-topline{
  position:absolute;
  top:14px;
  left:14px;
  right:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.courses-page .learning-chip,
body.courses-page .learning-focus-pill,
body.courses-page .learning-discount-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1.1;
}

body.courses-page .learning-chip{
  background:rgba(255,255,255,.96);
  color:#0f172a;
  border:1px solid rgba(226,232,240,.95);
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.5);
  color:#fff;
}

body.courses-page .learning-chip-soft{
  background:rgba(15,23,42,.72);
  color:#fff;
  border-color:transparent;
}

body.courses-page .learning-course-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  height:100%;
}

body.courses-page .learning-card-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.courses-page .learning-focus-pill{
  background:#eef2ff;
  color:#1e3a8a;
  border:1px solid #c7d2fe;
}

body.courses-page .learning-discount-pill{
  background:#ecfdf3;
  color:#166534;
  border:1px solid #bbf7d0;
}

body.courses-page .learning-course-body h3{
  margin:0;
  font-size:24px;
  line-height:1.24;
}

body.courses-page .learning-course-body p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

body.courses-page .learning-course-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

body.courses-page .learning-stat-box{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:14px;
}

body.courses-page .learning-stat-box strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  line-height:1.2;
  color:#0f172a;
}

body.courses-page .learning-stat-box span{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#64748b;
}

body.courses-page .learning-addon-box{
  padding:16px;
  border-radius:18px;
  border:1px solid #dbeafe;
  background:linear-gradient(180deg, #f8fbff, #f0f9ff);
}

body.courses-page .learning-addon-label{
  margin-bottom:6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#0369a1;
}

body.courses-page .learning-addon-title{
  font-size:17px;
  font-weight:800;
  color:#0f172a;
}

body.courses-page .learning-addon-text{
  margin-top:6px;
  color:#475569;
  line-height:1.7;
}

body.courses-page .learning-card-actions{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

body.courses-page .learning-text-link{
  color:var(--accent);
  font-weight:800;
}

body.courses-page .learning-empty-box{
  padding:18px 20px;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  background:#f8fafc;
  color:#475569;
  font-weight:700;
}

@media (max-width: 1100px){
  body.courses-page .learning-course-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 900px){
  body.courses-page .learning-path-toolbar,
  body.courses-page .path-section-head{
    grid-template-columns:1fr;
    display:grid;
  }

  body.courses-page .learning-path-toolbar{
    padding:18px;
  }

  body.courses-page .track-switcher{
    justify-content:flex-start;
  }

  body.courses-page .path-step-badge{
    width:72px;
    height:72px;
    border-radius:20px;
    font-size:16px;
  }
}

@media (max-width: 700px){
  body.courses-page .learning-course-stats{
    grid-template-columns:1fr;
  }

  body.courses-page .path-section,
  body.courses-page .learning-course-body{
    padding:18px;
  }

  body.courses-page .learning-course-media,
  body.courses-page .learning-course-media img{
    min-height:200px;
  }
}

/* ================================
   Courses Page Patch: bundle-first roadmap
   ================================ */
body.courses-page .section-tight{
  padding-top:26px;
  padding-bottom:26px;
}

body.courses-page .bundle-first-card{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(360px, .9fr);
  gap:24px;
  padding:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}

body.courses-page .bundle-first-title{
  margin:12px 0 14px;
  font-size:clamp(36px, 4.5vw, 56px);
  line-height:1.08;
}

body.courses-page .bundle-first-subtitle{
  max-width:760px;
  margin-bottom:18px;
}

body.courses-page .bundle-first-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.courses-page .bundle-first-points span{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:13px;
  font-weight:800;
}

body.courses-page .bundle-first-offers{
  display:grid;
  gap:16px;
}

body.courses-page .bundle-first-offer{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:22px;
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid #dbe4f0;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.courses-page .bundle-first-offer h3,
body.courses-page .bundle-first-offer p{
  margin:0;
}

body.courses-page .bundle-first-offer .btn{
  margin-top:4px;
  align-self:flex-start;
}

body.courses-page .learning-roadmap-card{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, .9fr);
  gap:20px;
  padding:24px 28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  align-items:center;
}

body.courses-page .learning-roadmap-card .section-title,
body.courses-page .learning-roadmap-card .section-sub{
  margin-bottom:0;
}

body.courses-page .learning-roadmap-steps{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

body.courses-page .learning-roadmap-step{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  font-weight:800;
  color:#0f172a;
}

body.courses-page .learning-roadmap-step span{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#eef2ff;
  color:#1e3a8a;
}

body.courses-page .learning-path-toolbar-simple{
  align-items:center;
}

body.courses-page .learning-course-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:20px;
}

body.courses-page .learning-course-grid.is-single{
  grid-template-columns:minmax(0, 1fr);
}

body.courses-page .learning-course-card{
  height:auto;
}

body.courses-page .learning-course-media{
  min-height:210px;
}

body.courses-page .learning-course-media img{
  min-height:210px;
}

body.courses-page .learning-course-media.is-placeholder{
  display:flex;
  align-items:flex-end;
  min-height:170px;
  padding:18px;
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(79,70,229,.14), transparent 60%),
    radial-gradient(280px 180px at 100% 100%, rgba(22,163,74,.10), transparent 60%),
    linear-gradient(135deg, #eef2ff, #f8fafc);
}

body.courses-page .learning-media-fallback{
  max-width:420px;
}

body.courses-page .learning-media-fallback-kicker{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbe4f0;
  color:#1e3a8a;
  font-size:12px;
  font-weight:800;
  margin-bottom:12px;
}

body.courses-page .learning-media-fallback-title{
  font-size:30px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.02em;
  color:#0f172a;
}

body.courses-page .learning-course-body{
  gap:12px;
}

body.courses-page .learning-card-actions{
  margin-top:8px;
}

body.courses-page .path-section{
  padding:24px;
}

body.courses-page .path-section-head{
  margin-bottom:18px;
}

body.courses-page .path-heading-copy .section-title{
  margin-bottom:8px;
}

@media (max-width: 1100px){
  body.courses-page .bundle-first-card,
  body.courses-page .learning-roadmap-card{
    grid-template-columns:1fr;
  }
}

@media (max-width: 700px){
  body.courses-page .bundle-first-card,
  body.courses-page .learning-roadmap-card,
  body.courses-page .learning-path-toolbar{
    padding:18px;
  }

  body.courses-page .learning-roadmap-steps{
    grid-template-columns:1fr;
  }

  body.courses-page .bundle-first-title{
    font-size:clamp(32px, 10vw, 44px);
  }

  body.courses-page .learning-course-grid{
    grid-template-columns:1fr;
  }

  body.courses-page .learning-media-fallback-title{
    font-size:24px;
  }
}


/* ================================
   Home + Courses Bundle Image polish
   ================================ */
body.home-page .bundle-includes{
  display:grid;
  gap:8px;
  margin:0 0 16px;
}

body.home-page .bundle-includes span{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:14px;
  font-weight:700;
  line-height:1.45;
}

body.courses-page .bundle-first-offer-media{
  width:100%;
  padding:12px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #dbe4f0;
  background:linear-gradient(135deg, rgba(79,70,229,.05), rgba(22,163,74,.04));
}

body.courses-page .bundle-first-offer-media img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
body.courses-page .bundle-offer-includes{
  display:grid;
  gap:8px;
}

body.courses-page .bundle-offer-includes span{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:13px;
  font-weight:750;
  line-height:1.45;
}

@media (max-width: 700px){
  body.courses-page .bundle-first-offer-media{
    height:170px;
  }
}

/* ================================
   Home Page Course Cards polish
   ================================ */
body.home-page .home-course-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
  align-items:stretch;
}

body.home-page .home-course-card{
  background:#fff;
  border:1px solid #e7edf6;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
}

body.home-page .home-course-media{
  position:relative;
  min-height:230px;
  background:linear-gradient(135deg, rgba(79,70,229,.07), rgba(22,163,74,.06));
}

body.home-page .home-course-media img{
  width:100%;
  height:100%;
  min-height:230px;
  object-fit:cover;
  display:block;
}

body.home-page .home-course-topline{
  position:absolute;
  top:14px;
  left:14px;
  right:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.home-page .home-chip,
body.home-page .home-focus-pill,
body.home-page .home-discount-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1.1;
}

body.home-page .home-chip{
  background:rgba(255,255,255,.96);
  color:#0f172a;
  border:1px solid rgba(226,232,240,.95);
  backdrop-filter:blur(8px);
}

body.home-page .home-chip-soft{
  background:rgba(15,23,42,.72);
  color:#fff;
  border-color:transparent;
}

body.home-page .home-course-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
}

body.home-page .home-course-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

body.home-page .home-focus-pill{
  background:#eef2ff;
  color:#1e3a8a;
  border:1px solid #c7d2fe;
}

body.home-page .home-discount-pill{
  background:#ecfdf3;
  color:#166534;
  border:1px solid #bbf7d0;
}

body.home-page .home-course-body h3{
  margin:0;
  font-size:24px;
  line-height:1.24;
}

body.home-page .home-course-body p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

body.home-page .home-addon-box{
  padding:16px;
  border-radius:18px;
  border:1px solid #dbeafe;
  background:linear-gradient(180deg, #f8fbff, #f0f9ff);
}

body.home-page .home-addon-label{
  margin-bottom:6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#0369a1;
}

body.home-page .home-addon-title{
  font-size:17px;
  font-weight:800;
  color:#0f172a;
  line-height:1.45;
}

body.home-page .home-course-actions{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

body.home-page .bundle-hero{
  align-items:stretch;
}

body.home-page .bundle-hero-content{
  gap:0;
}

body.home-page .bundle-hero-content h3{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.18;
}

body.home-page .bundle-hero-content p{
  margin:0 0 14px;
}

body.home-page .bundle-price{
  display:flex;
  align-items:flex-end;
  gap:10px;
  margin-bottom:16px;
}

body.home-page .old-price{
  color:#64748b;
  text-decoration:line-through;
  font-weight:700;
}

body.home-page .new-price{
  color:#0f172a;
  font-weight:900;
  font-size:32px;
  line-height:1;
}

body.home-page .blog-card{
  padding:0;
  overflow:hidden;
}

body.home-page .blog-thumb{
  margin:0;
  height:200px;
  border-radius:0;
  border:none;
}

body.home-page .blog-card h3,
body.home-page .blog-card p,
body.home-page .blog-card .link{
  margin-left:18px;
  margin-right:18px;
}

body.home-page .blog-card h3{
  margin-top:16px;
}

body.home-page .blog-card p{
  margin-bottom:12px;
}

body.home-page .blog-card .link{
  margin-bottom:18px;
  display:inline-block;
}

@media (max-width: 1100px){
  body.home-page .home-course-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.home-page .home-course-media,
  body.home-page .home-course-media img{
    min-height:200px;
  }

  body.home-page .home-course-body{
    padding:18px;
  }
}


/* ================================
   Courses Page Bundle Final Fix
   ================================ */
body.courses-page #bundle-offers .bundle-first-card{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(360px, .92fr);
  gap:24px;
  padding:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}

body.courses-page #bundle-offers .bundle-first-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

body.courses-page #bundle-offers .bundle-first-title{
  margin:12px 0 14px;
  font-size:clamp(36px, 4.5vw, 56px);
  line-height:1.08;
}

body.courses-page #bundle-offers .bundle-first-subtitle{
  max-width:760px;
  margin-bottom:18px;
}

body.courses-page #bundle-offers .bundle-first-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.courses-page #bundle-offers .bundle-first-points span{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:13px;
  font-weight:800;
}

body.courses-page #bundle-offers .bundle-first-offers{
  display:grid;
  gap:16px;
}

body.courses-page #bundle-offers .bundle-first-offer{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:22px;
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid #dbe4f0;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.courses-page #bundle-offers .bundle-first-offer-media{
  border-radius:20px;
  overflow:hidden;
  border:1px solid #d9e2ec;
  background:linear-gradient(135deg, rgba(79,70,229,.06), rgba(22,163,74,.05));
  padding:10px;
}

body.courses-page #bundle-offers .bundle-first-offer-media img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

body.courses-page #bundle-offers .bundle-first-offer h3{
  margin:0;
  font-size:20px;
  line-height:1.25;
}

body.courses-page #bundle-offers .bundle-first-offer p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

body.courses-page #bundle-offers .bundle-offer-includes{
  display:grid;
  gap:10px;
}

body.courses-page #bundle-offers .bundle-offer-includes span{
  display:block;
  padding:11px 14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  color:#0f172a;
  font-size:14px;
  font-weight:800;
  line-height:1.45;
}

body.courses-page #bundle-offers .bundle-price{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:4px;
}

body.courses-page #bundle-offers .old-price{
  text-decoration:line-through;
  color:#64748b;
  font-weight:800;
}

body.courses-page #bundle-offers .new-price{
  color:#0f172a;
  font-size:22px;
  font-weight:900;
}

body.courses-page #bundle-offers .bundle-first-offer .btn{
  margin-top:4px;
  align-self:flex-start;
}

@media (max-width: 1100px){
  body.courses-page #bundle-offers .bundle-first-card{
    grid-template-columns:1fr;
  }
}

@media (max-width: 700px){
  body.courses-page #bundle-offers .bundle-first-card{
    padding:18px;
  }
  body.courses-page #bundle-offers .bundle-first-title{
    font-size:clamp(32px, 10vw, 44px);
  }
}


/* ================================
   Courses Page Final Fixes
   ================================ */
body.courses-page #bundle-offers .container{
  display:grid;
  gap:20px;
}

body.courses-page .bundle-first-intro{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

body.courses-page .bundle-first-intro-title{
  margin:14px 0 10px;
  font-size:clamp(32px, 4vw, 44px);
  line-height:1.08;
}

body.courses-page .bundle-first-intro-sub{
  margin-bottom:0;
  max-width:900px;
}

body.courses-page .bundle-first-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
  align-items:stretch;
}

body.courses-page .bundle-first-offer{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.courses-page .bundle-first-offer-media{
  border-radius:22px;
  overflow:hidden;
  border:1px solid #d9e2ec;
  background:linear-gradient(135deg, rgba(79,70,229,.06), rgba(22,163,74,.05));
  padding:10px;
}

body.courses-page .bundle-first-offer-media img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

body.courses-page .bundle-first-offer h3{
  margin:0;
  font-size:20px;
  line-height:1.25;
}

body.courses-page .bundle-first-offer p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

body.courses-page .bundle-offer-includes{
  display:grid;
  gap:10px;
}

body.courses-page .bundle-offer-includes span{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
  font-weight:800;
  color:#0f172a;
}

body.courses-page .bundle-price{
  display:flex;
  align-items:center;
  gap:10px;
  margin:2px 0 0;
}

body.courses-page .bundle-price .old-price{
  color:#64748b;
  text-decoration:line-through;
  font-weight:700;
}

body.courses-page .bundle-price .new-price{
  font-size:22px;
  font-weight:900;
  color:var(--text);
}

body.courses-page .bundle-first-offer .btn{
  margin-top:auto;
  width:fit-content;
}

body.courses-page .learning-course-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

body.courses-page .learning-course-grid.is-single{
  grid-template-columns:minmax(0, 1fr);
}

body.courses-page .learning-course-grid-projects{
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 991px){
  body.courses-page .bundle-first-grid,
  body.courses-page .learning-course-grid,
  body.courses-page .learning-course-grid-projects{
    grid-template-columns:1fr !important;
  }

  body.courses-page .bundle-first-intro,
  body.courses-page .bundle-first-offer{
    padding:20px;
  }
}

/* =========================
   BUNDLE PAGE
========================= */

.bundle-hero{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:28px;
  align-items:center;
  background:#fff;
  border-radius:20px;
  padding:28px;
  border:1px solid #e6ecf3;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}

.bundle-hero-content h1{
  font-size:28px;
  font-weight:800;
  margin-bottom:10px;
}

.bundle-hero-content p{
  color:#64748b;
  margin-bottom:16px;
}

.bundle-price{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}

.old-price{
  text-decoration:line-through;
  color:#94a3b8;
}

.new-price{
  font-size:22px;
  font-weight:700;
  color:#16a34a;
}

.bundle-hero-image{
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.bundle-hero-image img{
  width:100%;
  height:auto;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

/* responsive */
@media (max-width: 900px){
  .bundle-hero{
    grid-template-columns:1fr;
  }
}


/* =========================
   COURSE DETAILS PAGE
========================= */

.course-detail-grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:32px;
  align-items:start;
}

.course-detail-thumb img{
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

.course-detail-copy h1{
  font-size:30px;
  font-weight:800;
  margin-bottom:12px;
}

.detail-badges{
  display:flex;
  gap:10px;
  margin:12px 0;
}

.detail-badges span{
  background:#eef2ff;
  padding:6px 10px;
  border-radius:8px;
  font-size:13px;
}

.detail-price-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin:14px 0;
}

.hero-single-cta{
  margin-top:16px;
}

/* curriculum spacing */
.curriculum-item{
  margin-bottom:10px;
}

/* faq cards */
.faq-card{
  border:1px solid #e6ecf3;
  padding:16px;
  border-radius:14px;
  background:#fff;
}

/* responsive */
@media (max-width: 900px){
  .course-detail-grid{
    grid-template-columns:1fr;
  }
}

/* Bundle page: 1 + 2 + 2 layout */
.bundle-course-layout{
  display:grid;
  gap:24px;
}

.bundle-course-row{
  display:grid;
  gap:24px;
  align-items:start; /* prevents stretching */
}


.bundle-course-row-single{
  grid-template-columns:1fr;
}

.bundle-course-row-two{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px){
  .bundle-course-row-two{
    grid-template-columns:1fr;
  }
}


.bundle-course-highlights{
  display:grid;
  gap:12px;
  margin:18px 0 20px;
}

.bundle-course-highlight{
  padding:12px 14px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#f8fbff;
}

.bundle-course-highlight strong{
  display:block;
  margin-bottom:4px;
  font-size:14px;
  font-weight:800;
  color:#0f172a;
}

.bundle-course-highlight span{
  display:block;
  font-size:14px;
  line-height:1.6;
  color:#475569;
}

/* remove equal height forcing */
.bundle-course-row .learning-course-card{
  height:auto;
}

.bundle-course-row .learning-course-body{
  display:block;
}

.bundle-course-row .learning-card-actions{
  margin-top:16px;
}

/* responsive */
@media (max-width: 900px){
  .bundle-course-row-two{
    grid-template-columns:1fr;
  }
}

.article-highlight a {
  color:#4f46e5;
  text-decoration:none;
  font-weight:600;
}

.article-highlight a:hover {
  text-decoration:underline;
}

/* ================================
   Bundle page fix for learning-course layout
   ================================ */

body.bundle-english-page .bundle-course-layout{
  display:grid;
  gap:22px;
}

body.bundle-english-page .bundle-course-row{
  display:grid;
  gap:22px;
}

body.bundle-english-page .bundle-course-row-single{
  grid-template-columns:minmax(0, 1fr);
}

body.bundle-english-page .bundle-course-row-two{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

body.bundle-english-page .bundle-course-row .learning-course-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  display:flex;
  flex-direction:column;
  height:100%;
}

body.bundle-english-page .bundle-course-row .learning-course-media{
  position:relative;
  min-height:260px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(79,70,229,.06), rgba(22,163,74,.05));
  border-bottom:1px solid var(--line);
}

body.bundle-english-page .bundle-course-row-single .learning-course-media{
  min-height:320px;
}

body.bundle-english-page .bundle-course-row .learning-course-media img{
  width:100%;
  height:100%;
  min-height:260px;
  object-fit:cover;
  object-position:center top;
  display:block;
}

body.bundle-english-page .bundle-course-row-single .learning-course-media img{
  min-height:320px;
}

body.bundle-english-page .bundle-course-row .learning-card-topline{
  position:absolute;
  top:16px;
  left:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  z-index:2;
}

body.bundle-english-page .bundle-course-row .learning-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.bundle-english-page .bundle-course-row .learning-chip-soft{
  background:#f8fafc;
  border-color:#dbe4f0;
  color:#334155;
}

body.bundle-english-page .bundle-course-row .learning-course-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

body.bundle-english-page .bundle-course-row .learning-card-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:12px;
}

body.bundle-english-page .bundle-course-row .learning-focus-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

body.bundle-english-page .bundle-course-row .learning-course-body h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
  color:var(--text);
}

body.bundle-english-page .bundle-course-row .learning-course-body p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}

body.bundle-english-page .bundle-course-row .bundle-course-highlights{
  display:grid;
  gap:10px;
  margin:0 0 18px;
}

body.bundle-english-page .bundle-course-row .bundle-course-highlight{
  padding:14px 16px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #dbe4f0;
}

body.bundle-english-page .bundle-course-row .bundle-course-highlight strong{
  display:block;
  margin-bottom:6px;
  font-size:15px;
  color:#0f172a;
}

body.bundle-english-page .bundle-course-row .bundle-course-highlight span{
  color:var(--muted);
  line-height:1.65;
}

body.bundle-english-page .bundle-course-row .learning-card-actions{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width: 1100px){
  body.bundle-english-page .bundle-course-row-two{
    grid-template-columns:1fr;
  }

  body.bundle-english-page .bundle-course-row-single .learning-course-media,
  body.bundle-english-page .bundle-course-row-single .learning-course-media img{
    min-height:260px;
  }
}

@media (max-width: 768px){
  body.bundle-english-page .bundle-course-row .learning-course-body{
    padding:18px;
  }

  body.bundle-english-page .bundle-course-row .learning-course-body h3{
    font-size:20px;
  }

  body.bundle-english-page .bundle-course-row .learning-course-body p{
    font-size:15px;
  }

  body.bundle-english-page .bundle-course-row .learning-course-media,
  body.bundle-english-page .bundle-course-row .learning-course-media img{
    min-height:220px;
  }

  body.bundle-english-page .bundle-course-row .learning-card-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =====================================
   MOBILE COMPATIBILITY PATCH
   Safe overrides appended at the end
   ===================================== */

/* Global overflow guards */
html,
body {
  overflow-x: hidden;
}

body {
  word-wrap: break-word;
}

.container,
.section,
.section-tight,
.section-soft,
.hero-single,
.page-hero,
.blog-hero,
.cta-section {
  min-width: 0;
}

/* Shared media safety */
img {
  max-width: 100%;
  height: auto;
}

/* Shared header / promo fixes */
@media (max-width: 900px) {
  .promo-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .promo-text,
  .promo-cta {
    width: 100%;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    gap: 12px 14px;
    align-items: center;
  }

  .nav a,
  .nav .btn {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .promo-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .promo-cta {
    justify-content: center;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 15px;
  }

  .nav {
    gap: 10px;
  }

  .nav a,
  .nav .btn {
    min-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .btn,
  .btn-sm {
    max-width: 100%;
  }
}

/* Generic mobile layout protection */
@media (max-width: 900px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-actions,
  .hero-single-cta,
  .card-actions,
  .bundle-banner,
  .bundle-price,
  .blog-meta-row,
  .featured-blog-actions,
  .cta-actions,
  .home-course-actions,
  .detail-price-row,
  .detail-badges {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero-single-cta .btn,
  .page-hero-actions .btn,
  .featured-blog-actions .btn,
  .cta-actions .btn,
  .home-course-actions .btn,
  .learning-card-actions .btn,
  .hero-single-cta .btn-outline,
  .bundle-banner .btn,
  .article-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title,
  .bundle-title {
    word-break: break-word;
  }
}

/* Hero and shared grids */
@media (max-width: 900px) {
  .hero-single-card,
  .page-hero-card,
  .bundle-hero,
  .course-detail-grid,
  .detail-two-col,
  .faq-grid,
  .curriculum-grid,
  .stats-grid,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-single-card {
    min-height: auto;
  }

  .hero-single-content,
  .page-hero-card,
  .bundle-hero-content,
  .course-detail-copy,
  .course-detail-card,
  .overview-card,
  .detail-panel,
  .faq-card,
  .curriculum-card {
    padding: 18px;
  }

  .hero-single-title,
  .page-title,
  .course-detail-copy h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero-single-sub,
  .page-subtitle,
  .section-sub {
    font-size: 15px;
    line-height: 1.7;
  }

  .bundle-hero-image {
    min-height: 180px;
    padding: 14px;
  }

  .bundle-hero-image img {
    max-height: 240px;
  }
}

/* Course details page */
@media (max-width: 640px) {
  .course-detail-thumb {
    height: 190px;
  }

  .detail-badges span,
  .mini-point {
    width: 100%;
    justify-content: flex-start;
  }

  .detail-price-note {
    width: 100%;
  }
}

/* Courses page */
@media (max-width: 900px) {
  body.courses-page .learning-path-toolbar,
  body.courses-page .path-section-head,
  body.courses-page .learning-course-grid,
  body.courses-page .learning-course-grid.is-single,
  body.courses-page .learning-course-grid-projects,
  body.courses-page .bundle-first-grid,
  body.courses-page .learning-roadmap-steps {
    grid-template-columns: 1fr;
  }

  body.courses-page .learning-path-toolbar {
    gap: 14px;
  }

  body.courses-page .track-switcher {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.courses-page .bundle-first-intro,
  body.courses-page .learning-roadmap-card,
  body.courses-page .path-section,
  body.courses-page .learning-course-body,
  body.courses-page .bundle-first-offer,
  body.courses-page .learning-path-toolbar {
    padding: 18px;
  }

  body.courses-page .path-section-head {
    grid-template-columns: 1fr;
  }

  body.courses-page .path-step-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 15px;
  }

  body.courses-page .learning-course-media,
  body.courses-page .learning-course-media img {
    height: 200px;
    min-height: 200px;
  }

  body.courses-page .track-switcher {
    width: 100%;
  }

  body.courses-page .track-pill {
    flex: 1 1 calc(50% - 10px);
    min-width: 130px;
  }

  body.courses-page .bundle-first-points,
  body.courses-page .learning-roadmap-steps {
    gap: 10px;
  }

  body.courses-page .bundle-first-points span,
  body.courses-page .learning-roadmap-step {
    width: 100%;
  }

  body.courses-page .learning-card-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Home page */
@media (max-width: 900px) {
  body.home-page .home-course-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.home-page .home-course-body,
  body.home-page .bundle-hero-content {
    padding: 18px;
  }

  body.home-page .home-course-media,
  body.home-page .home-course-media img {
    min-height: 190px;
  }

  body.home-page .home-course-body h3 {
    font-size: 21px;
  }

  body.home-page .bundle-price {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

/* Bundle pages */
@media (max-width: 1100px) {
  body.bundle-english-page .bundle-page-shell,
  body.bundle-english-page .bundle-highlights-strip,
  body.bundle-english-page .feature-grid.three-col,
  body.bundle-english-page .bundle-value-grid,
  body.bundle-english-page .audience-grid,
  body.bundle-english-page .footer-grid,
  body.bundle-english-page .bundle-course-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.bundle-english-page .bundle-page-copy,
  body.bundle-english-page .bundle-summary-card,
  body.bundle-english-page .feature-card,
  body.bundle-english-page .bundle-course-card,
  body.bundle-english-page .bundle-value-card,
  body.bundle-english-page .audience-card,
  body.bundle-english-page .faq-item,
  body.bundle-english-page .cta-card {
    padding: 18px;
  }

  body.bundle-english-page .bundle-page-title,
  body.bundle-english-page .section-heading h2,
  body.bundle-english-page .cta-card h2,
  body.bundle-english-page .bundle-course-card h3 {
    font-size: clamp(28px, 8vw, 38px);
  }

  body.bundle-english-page .bundle-summary-image,
  body.bundle-english-page .bundle-course-media,
  body.bundle-english-page .bundle-course-media img {
    height: 210px;
    min-height: 210px;
  }

  body.bundle-english-page .bundle-page-actions,
  body.bundle-english-page .bundle-course-footer,
  body.bundle-english-page .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.bundle-english-page .bundle-page-actions .btn,
  body.bundle-english-page .bundle-course-footer .btn,
  body.bundle-english-page .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Blog list and tag pages */
@media (max-width: 1100px) {
  body.blog-page .blog-hero-card,
  body.blog-page .featured-blog-card,
  body.blog-page .blog-category-grid,
  body.blog-page .blog-grid,
  body.blog-page .footer-grid,
  body.blog-details-page .blog-grid,
  body.blog-details-page .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.blog-page .blog-hero-card,
  body.blog-page .featured-blog-card,
  body.blog-page .blog-category-card,
  body.blog-page .blog-card-content,
  body.blog-page .cta-card,
  body.blog-details-page .article-highlight,
  body.blog-details-page .article-cta,
  body.blog-details-page .blog-card-content {
    padding: 18px;
  }

  body.blog-page .blog-page-title,
  body.blog-page .section-heading h2,
  body.blog-page .cta-card h2,
  body.blog-details-page .article-header h1,
  body.blog-details-page .article-content h2,
  body.blog-details-page .section-heading h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  body.blog-page .featured-blog-media {
    min-height: 210px;
    padding: 8px;
  }

  body.blog-page .featured-blog-media img,
  body.blog-page .blog-card-media img,
  body.blog-details-page .blog-card-media img {
    height: 190px;
  }

  body.blog-page .blog-hero-actions,
  body.blog-page .featured-blog-actions,
  body.blog-page .cta-actions,
  body.blog-details-page .article-cta {
    gap: 10px;
  }

  body.blog-details-page .article-cta .btn {
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Contact / About / YouTube shared safety for small screens */
@media (max-width: 640px) {
  body.about-page .about-hero-card,
  body.about-page .about-profile-card,
  body.about-page .about-pillar-card,
  body.about-page .about-approach-card,
  body.about-page .about-language-card,
  body.about-page .cta-card,
  body.contact-page .contact-hero-card,
  body.contact-page .contact-info-card,
  body.contact-page .contact-form-card,
  body.contact-page .contact-summary-card,
  body.contact-page .cta-card {
    padding: 18px;
  }

  body.about-page .about-page-title,
  body.about-page .section-heading h2,
  body.about-page .about-language-copy h2,
  body.about-page .cta-card h2,
  body.contact-page .contact-page-title,
  body.contact-page .section-heading h2,
  body.contact-page .cta-card h2 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

.coming-soon-message{
  margin-top:14px;
  padding:14px 16px;
  border-radius:14px;
  background:#fff7ed;
  border:1px solid #fdba74;
  color:#9a3412;
  font-weight:600;
  line-height:1.6;
}