/*
Theme Name: HSC MCQ Pro
Theme URI: https://hscmcqpro.com
Author: HSC MCQ Pro
Description: Mobile-responsive education and online exam platform starter theme. Requires a separate LMS/exam plugin for paid course access, OTP, timers, results and role permissions.
Version: 1.6.18
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: hscmcqpro
*/
:root{--navy:#10234d;--blue:#2459d3;--cyan:#16b8a6;--ink:#18243b;--muted:#64748b;--bg:#f5f8ff;--line:#e4eaf4;--white:#fff;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 36px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(245,249,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;font-weight:850;color:var(--navy);font-size:1.16rem}.brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--blue),#5486ff);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 18px #2459d333}.nav{display:flex;align-items:center;gap:24px;font-size:.93rem;font-weight:650}.nav a:hover{color:var(--blue)}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 19px;background:var(--blue);color:#fff;font-weight:750;cursor:pointer;transition:.2s}.nav-cta:hover,.btn:hover{background:#1747b7;transform:translateY(-1px)}.btn-outline{background:#fff;color:var(--blue);border:1px solid #cad7f7}.btn-outline:hover{background:#edf3ff}.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;font-size:1.25rem}.hero{overflow:hidden;background:radial-gradient(circle at 85% 12%,#d8e7ff 0,transparent 30%),linear-gradient(135deg,#f6f9ff,#fff 62%,#e8fbf7);padding:76px 0 68px}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#1457c8;background:#e8f0ff;border-radius:99px;padding:7px 13px;font-weight:750;font-size:.82rem}.hero h1{font-size:clamp(2.35rem,5vw,4.1rem);line-height:1.12;letter-spacing:-.04em;color:var(--navy);margin:20px 0}.hero h1 span{color:var(--blue)}.hero p{font-size:1.1rem;color:#53627b;max-width:620px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-note{display:flex;gap:20px;flex-wrap:wrap;margin-top:28px;color:#52617a;font-size:.9rem}.hero-note span:before{content:'✓';color:#079b82;font-weight:900;margin-right:7px}.hero-visual{position:relative;min-height:350px;display:grid;place-items:center}.study-card{width:min(390px,100%);background:#fff;border:1px solid #e4eaf6;border-radius:26px;padding:25px;box-shadow:0 25px 70px #15366e1c;transform:rotate(1deg)}.study-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.study-top strong{color:var(--navy)}.pill{font-size:.75rem;color:#07836f;background:#dcfaf2;border-radius:99px;padding:5px 10px;font-weight:800}.progress-label{display:flex;justify-content:space-between;font-size:.84rem;color:var(--muted);margin:16px 0 8px}.progress{height:8px;background:#edf1f8;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;width:72%;background:linear-gradient(90deg,var(--blue),#31b9a8);border-radius:99px}.mini-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px}.mini-stat{background:#f5f8ff;border-radius:15px;padding:15px}.mini-stat b{display:block;font-size:1.35rem;color:var(--navy)}.mini-stat small{color:var(--muted)}.floating-chip{position:absolute;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 16px;box-shadow:0 12px 35px #10234d14;font-size:.88rem;font-weight:750}.chip-one{left:-10px;top:25px}.chip-two{right:-5px;bottom:20px}.section{padding:76px 0}.section-soft{background:var(--bg)}.section-head{text-align:center;max-width:700px;margin:0 auto 38px}.section-head .eyebrow{margin-bottom:10px}.section-head h2{font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.2;letter-spacing:-.03em;color:var(--navy);margin:10px 0}.section-head p{color:var(--muted);margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.feature-icon{width:48px;height:48px;border-radius:15px;background:#e9f0ff;color:var(--blue);display:grid;place-items:center;font-size:1.35rem;margin-bottom:15px}.feature-card h3{margin:0 0 7px;color:var(--navy)}.feature-card p{margin:0;color:var(--muted);font-size:.95rem}.course-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:25px}.course-toolbar h2{font-size:2rem;line-height:1.2;color:var(--navy);margin:0}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.course-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;transition:.2s}.course-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px #163b7c12}.course-art{min-height:145px;padding:22px;display:flex;align-items:end;justify-content:space-between;background:linear-gradient(135deg,#dce9ff,#f0f5ff);color:var(--navy)}.course-art.green{background:linear-gradient(135deg,#d5f7ec,#effcf8)}.course-art.orange{background:linear-gradient(135deg,#ffe8d4,#fff6eb)}.course-art strong{font-size:1.25rem}.course-art .emoji{font-size:2.6rem}.course-body{padding:20px}.course-meta{font-size:.82rem;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}.course-body h3{margin:10px 0 7px;color:var(--navy);font-size:1.15rem}.course-body p{color:var(--muted);font-size:.92rem;margin:0 0 16px}.course-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.price{font-size:1.2rem;color:var(--navy);font-weight:850}.price small{font-size:.75rem;color:var(--muted);font-weight:500}.course-bottom .btn{padding:9px 13px;font-size:.9rem}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.step{padding:20px;border-radius:18px;background:#fff;border:1px solid var(--line)}.step-num{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--navy);color:#fff;font-weight:850}.step h3{font-size:1rem;color:var(--navy);margin:15px 0 5px}.step p{font-size:.9rem;color:var(--muted);margin:0}.cta-band{background:linear-gradient(120deg,#10234d,#2459d3);border-radius:28px;padding:40px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta-band h2{font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.2;margin:0 0 8px}.cta-band p{margin:0;color:#dce7ff}.cta-band .btn{background:#fff;color:var(--blue);white-space:nowrap}.site-footer{background:#0b1734;color:#d7e1f6;padding:48px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px}.site-footer .brand{color:#fff}.site-footer p,.site-footer a{color:#aebdd9;font-size:.92rem}.footer-links{display:grid;gap:9px}.footer-title{color:#fff;font-weight:800;margin-bottom:10px}.footer-bottom{border-top:1px solid #ffffff20;margin-top:30px;padding-top:18px;font-size:.82rem;color:#93a6c9}.page-main{min-height:55vh;padding:48px 0}.page-main h1{color:var(--navy)}.entry-content{max-width:850px}.entry-content img{border-radius:16px}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:900px){.nav{gap:14px}.hero-grid{grid-template-columns:1fr .8fr;gap:24px}.feature-grid,.course-grid{grid-template-columns:repeat(2,1fr)}.steps-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.container{width:min(100% - 28px,1160px)}.header-inner{height:68px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:16px 22px 22px;flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{padding:12px 5px;border-bottom:1px solid #edf1f7}.nav .nav-cta{margin-top:12px;border:0;text-align:center}.hero{padding:48px 0 40px}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:2.45rem}.hero p{font-size:1rem}.hero-visual{min-height:300px;margin-top:6px}.study-card{padding:20px}.chip-one{left:0;top:0}.chip-two{right:0;bottom:0}.section{padding:54px 0}.feature-grid,.course-grid,.steps-grid{grid-template-columns:1fr}.course-toolbar{align-items:start;flex-direction:column}.cta-band{padding:28px;align-items:start;flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:25px}.mini-stats{gap:8px}.mini-stat{padding:12px}}

/* HSC MCQ Pro v1.1.0: slogan, soft header and leaderboard */
.site-header{background:rgba(244,248,255,.97);border-bottom-color:#dce7fb;box-shadow:0 4px 20px #244f9810}
.site-slogan{margin-top:-8px!important;color:#2459d3!important;font-weight:800;font-size:1.02rem!important}
.leaderboard-section{background:linear-gradient(180deg,#f7faff,#eef5ff)}
.leaderboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.leaderboard-card{background:#fff;border:1px solid #e1e9f8;border-radius:22px;padding:20px;box-shadow:0 14px 36px #15366e0c;min-width:0}
.leaderboard-title{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #edf1f8}
.leaderboard-cup{width:46px;height:46px;display:grid;place-items:center;background:linear-gradient(135deg,#fff0c2,#fff9e8);border-radius:15px;font-size:1.45rem}
.leaderboard-title h3{margin:0;color:var(--navy);font-size:1.08rem}.leaderboard-title small{color:var(--muted);font-size:.78rem}
.leaderboard-list{list-style:none;padding:0;margin:8px 0 0}.leaderboard-list li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f0f3f9}.leaderboard-list li:last-child{border-bottom:0}
.rank{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;background:#edf3ff;color:#3159a8;border-radius:10px;font-size:.82rem;font-weight:850}.rank-1{background:#fff0bf;color:#8a5b00}.rank-2{background:#edf0f5;color:#536174}.rank-3{background:#f8e5d8;color:#8c4c22}
.leader-student{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:650;color:#263753;font-size:.9rem}.leaderboard-list li strong{white-space:nowrap;color:#0e9b85;font-size:.9rem}
.leaderboard-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--muted)}.leaderboard-empty>span{font-size:2rem;margin-bottom:8px}.leaderboard-empty strong{color:var(--navy)}.leaderboard-empty p{font-size:.85rem;margin:5px 0 0}
@media(max-width:900px){.leaderboard-grid{grid-template-columns:1fr 1fr}.leaderboard-card:last-child{grid-column:1/-1}}
@media(max-width:680px){.leaderboard-grid{grid-template-columns:1fr}.leaderboard-card:last-child{grid-column:auto}.site-slogan{font-size:.94rem!important}}
.hsc-results-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:16px}.hsc-results-table{width:100%;border-collapse:collapse;min-width:520px}.hsc-results-table th,.hsc-results-table td{padding:13px 16px;text-align:left;border-bottom:1px solid #edf1f8}.hsc-results-table th{background:#f2f6ff;color:var(--navy)}.hsc-results-table td strong{color:#07836f}.hsc-results-notice{padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7faff}

/* v1.1.1: slogan is the main hero heading */
.hero h1.hero-slogan{font-size:clamp(2.05rem,4.2vw,3.55rem);line-height:1.2;letter-spacing:-.035em}
@media(max-width:680px){.hero h1.hero-slogan{font-size:2.15rem;line-height:1.25}}

/* v1.1.2: header slogan layout inspired by supplied mobile reference */
.brand{gap:11px}.brand-copy{display:flex;flex-direction:row;align-items:center;gap:12px;line-height:1.25}.brand-copy strong{font-size:1.08rem;white-space:nowrap}.brand-copy small{font-size:.76rem;font-weight:600;color:#536b96;margin-top:0;margin-left:4px;white-space:nowrap}.brand-mark{font-size:1.35rem}.header-slogan{background:linear-gradient(110deg,#e9f1ff,#e9fbf7);color:#1d438c;border-top:1px solid #e0e9fa;padding:8px 0;font-weight:750;font-size:.9rem}.header-slogan .container{display:flex;align-items:center;gap:8px}.header-inner{height:78px}.hero{padding-top:60px}
@media(max-width:680px){.header-inner{height:68px}.brand-copy{flex-direction:column;align-items:flex-start;gap:2px}.brand-copy strong{font-size:1rem}.brand-copy small{font-size:.7rem;margin-left:12px}.header-slogan{font-size:.82rem;padding:9px 0}.hero{padding-top:38px}.hero h1.hero-slogan{font-size:2.05rem;line-height:1.25}}

/* v1.2.1: dynamic published course catalogue with image, price, filters and CTA */
.course-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 25px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px #163b7c0a}
.course-filters label{display:block;font-weight:750;color:var(--navy);font-size:.86rem;margin-bottom:6px}
.course-filters select{width:100%;min-height:48px;border:1px solid #d8e2f1;border-radius:13px;background:#f9fbff;padding:10px 13px;color:var(--ink);font:inherit}
.course-card-live{display:flex;flex-direction:column;height:100%;box-shadow:0 8px 24px #163b7c0a}
.course-card-live .course-image{height:190px;position:relative;overflow:hidden;background:linear-gradient(135deg,#dce9ff,#e7fbf5);display:grid;place-items:center}
.course-card-live .course-image img{width:100%;height:100%;object-fit:cover;display:block}
.course-card-live .course-image .course-placeholder{font-size:3.5rem;filter:drop-shadow(0 8px 8px #15366e20)}
.course-card-live .course-image .division-tag{position:absolute;left:13px;top:13px;border-radius:99px;background:#fffef4;color:#17315d;padding:6px 11px;font-size:.78rem;font-weight:850;box-shadow:0 5px 15px #10234d18}
.course-card-live .course-body{display:flex;flex:1;flex-direction:column}
.course-card-live .course-body h3{font-size:1.15rem;line-height:1.45}
.course-card-live .course-description{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.course-card-live .course-price-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:auto;padding-top:12px}
.course-card-live .course-price-now{font-size:1.35rem;font-weight:900;color:#0c8b76}
.course-card-live .course-price-old{font-size:.9rem;color:#8290a5;text-decoration:line-through}
.course-card-live .course-actions{display:flex;gap:9px;margin-top:15px}
.course-card-live .course-actions .btn{flex:1;padding:11px 10px;font-size:.9rem;border-radius:12px}
.course-card-live .btn-enroll{background:linear-gradient(120deg,#2459d3,#7a35d5);box-shadow:0 7px 16px #2459d32b}
.course-card-live .btn-details{background:linear-gradient(120deg,#08a58b,#20b8a6);color:#fff;border:0}
.course-empty{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #bdcce4;border-radius:20px;padding:34px 20px;color:var(--muted)}
.course-empty strong{display:block;color:var(--navy);font-size:1.15rem;margin-bottom:5px}
.course-empty .btn{margin-top:12px}
@media(max-width:680px){.course-filters{grid-template-columns:1fr;padding:14px;gap:10px}.course-card-live .course-image{height:185px}.course-card-live .course-actions{gap:8px}.course-card-live .course-actions .btn{font-size:.85rem;padding:10px 7px}}

/* v1.2.2: clearer course badges, readable descriptions and mobile-friendly action buttons */
.course-image{position:relative;display:flex;min-height:210px;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#d9eaff,#e4fbf5);text-decoration:none}
.course-image img{display:block;width:100%;height:230px;object-fit:cover}
.course-placeholder{font-size:4rem;filter:drop-shadow(0 8px 10px #15366e20)}
.division-tag,.course-type-tag{position:absolute;left:14px;top:14px;max-width:calc(100% - 28px);padding:7px 12px;border-radius:999px;background:#fffdf1;color:#18345b;font-weight:800;font-size:.82rem;box-shadow:0 5px 15px #12324b14}
.course-type-tag{top:54px;background:#e5fbf4;color:#087c68}
.course-card-live .course-body{display:flex;flex-direction:column;min-width:0}
.course-description{overflow-wrap:anywhere;word-break:normal;line-height:1.65;min-height:0}
.course-price-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:3px 0 16px}
.course-price-old{text-decoration:line-through;color:#7a8798}
.course-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}
.course-actions .btn{min-width:0;width:100%;padding:12px 10px;white-space:normal;text-align:center;line-height:1.3;overflow-wrap:anywhere}
.btn-details{background:linear-gradient(135deg,#0eaa91,#1bb9a4)!important;color:#fff!important}
.btn-enroll{background:linear-gradient(135deg,#2459d3,#7a35d1)!important;color:#fff!important}
.course-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}
.course-filters label{display:block;font-size:.9rem;font-weight:750;color:var(--navy);margin:0 0 7px}
.course-filters select{width:100%;min-width:0;padding:14px 15px;border:1px solid #d7e1ef;border-radius:14px;background:#fff;color:#18243b;font:inherit;box-shadow:0 6px 18px #10234d0a}
.course-empty{grid-column:1/-1;padding:28px;text-align:center;border-radius:18px;background:#fff;border:1px dashed #cbd7e8}
@media(max-width:680px){.course-filters{grid-template-columns:1fr;gap:10px}.course-image,.course-image img{height:auto;min-height:180px;max-height:240px}.course-actions{gap:8px}.course-actions .btn{font-size:.9rem;padding:11px 7px}.course-type-tag{top:54px}}

/* Course filter Apply control */
.course-filter-apply{display:flex;align-items:end}.course-filter-apply .btn{width:100%;min-height:48px;justify-content:center;cursor:pointer;border:0;font:inherit;font-weight:800}.course-filter-apply{grid-column:1/-1;max-width:220px;margin-left:auto}
@media(max-width:680px){.course-filter-apply{max-width:none;width:100%;margin:0}.course-filter-apply .btn{width:100%}}

/* HSCMCQ Pro home schedule card styling */
.hsc-home-schedule-section{padding-top:28px;padding-bottom:34px}.hsc-home-schedule-section .section-head{margin-bottom:18px}.hsc-home-schedule-section .section-head h2{margin:8px 0}.hsc-home-schedule-section .hscmcp-note,.hsc-home-schedule-section .hscmcp-scheduled-exam{border:1px solid #d6e8f6;border-radius:16px;padding:16px;background:linear-gradient(135deg,#f0f8ff,#f2fcf7);box-shadow:0 8px 22px #12311a0a}.hsc-home-schedule-section h2,.hsc-home-schedule-section h3{color:#164e78}

.hsc-hero-promo{text-align:center;padding:28px!important}.hsc-hero-promo-icon{font-size:64px;margin:22px auto 10px}.hsc-hero-promo h3{font-size:1.4rem;color:#123a67}.hsc-hero-promo p{color:#526579;line-height:1.7}.hsc-hero-promo .btn{display:inline-flex;margin-top:10px}

/* Homepage schedule: clean stacked Upcoming Exam and Upcoming Class panels */
.hsc-home-schedule-section{padding-top:28px;padding-bottom:36px}
.hscmcp-home-schedule-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;margin:0 auto}
.hscmcp-home-schedule-panel{min-width:0;padding:20px;border:1px solid #d8e5f0;border-radius:22px;background:linear-gradient(145deg,#f7fbff,#edf6ff);box-shadow:0 10px 28px rgba(24,67,110,.08)}
.hscmcp-home-schedule-title{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:15px 18px;border-radius:15px;background:linear-gradient(100deg,#e4f1ff,#e7faf5);color:#174878;font-size:clamp(21px,4vw,29px);font-weight:800;line-height:1.35}
.hscmcp-home-schedule-title span{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#fff;box-shadow:0 3px 10px rgba(30,75,120,.1)}
.hscmcp-home-schedule-panel .hscmcp-schedule-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.hscmcp-home-schedule-panel .hscmcp-schedule-card{border-radius:17px;padding:20px;background:#fff;box-shadow:0 5px 16px rgba(23,65,105,.06)}
.hscmcp-home-schedule-panel .hscmcp-schedule-card h3{font-size:21px;color:#183b60;line-height:1.4}
.hscmcp-home-schedule-panel .hscmcp-countdown{padding:11px 13px;border-radius:10px;background:#eaf5ff;color:#185b91;line-height:1.6}
.hscmcp-home-schedule-panel .hscmcp-schedule-grid>p{margin:0;padding:18px;border-radius:14px;background:#fff;color:#50657a}
@media(max-width:600px){.hscmcp-home-schedule-panel{padding:12px;border-radius:17px}.hscmcp-home-schedule-title{padding:12px;font-size:21px}.hscmcp-home-schedule-panel .hscmcp-schedule-card{padding:15px}}

/* v1.2.9 professional homepage banner slider and simplified course filters */
.hsc-home-slider{position:relative;width:100%;overflow:hidden;background:#101f4c;isolation:isolate}
.hsc-slider-track{position:relative;min-height:clamp(260px,42vw,510px)}
.hsc-slide{position:absolute;inset:0;display:flex;align-items:center;background-size:cover;background-position:center;opacity:0;visibility:hidden;transition:opacity .7s ease;min-height:inherit}
.hsc-slide.is-active{position:relative;opacity:1;visibility:visible}
.hsc-slide-content{width:min(1160px,calc(100% - 44px));margin:0 auto;padding:clamp(28px,6vw,76px) 0;color:#fff}
.hsc-slide-content>span{display:inline-block;padding:8px 13px;border:1px solid #ffffff55;border-radius:99px;background:#ffffff18;font-size:.78rem;letter-spacing:.08em;font-weight:800}
.hsc-slide-content h2{max-width:760px;color:#fff;font-size:clamp(2rem,5.3vw,4.2rem);line-height:1.12;margin:20px 0 12px;text-shadow:0 4px 18px #06122a70}
.hsc-slide-content p{max-width:650px;color:#edf5ff;font-size:clamp(1rem,2vw,1.25rem);line-height:1.7}
.hsc-slide-button{display:inline-flex;margin-top:15px;padding:13px 22px;border-radius:12px;background:linear-gradient(120deg,#18b99b,#2f65e7);color:#fff!important;font-weight:800;text-decoration:none;box-shadow:0 10px 28px #05132f40}
.hsc-slider-dots{position:absolute;z-index:2;bottom:18px;left:0;right:0;display:flex;justify-content:center;gap:9px}
.hsc-slider-dots button{width:10px;height:10px;border:0;border-radius:50%;padding:0;background:#ffffff8c;cursor:pointer}
.hsc-slider-dots button.is-active{width:27px;border-radius:99px;background:#fff}
.hsc-simple-filters{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:end;padding:18px 20px}
.hsc-type-pills{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.hsc-type-pills span{font-size:.9rem;font-weight:800;color:var(--navy);margin-right:5px}
.hsc-type-pills button{border:1px solid #d5e2f4;border-radius:99px;padding:11px 17px;background:#fff;color:#315071;font:inherit;font-size:.9rem;font-weight:750;cursor:pointer}
.hsc-type-pills button.is-active{border-color:transparent;background:linear-gradient(120deg,#2459d3,#13a994);color:#fff;box-shadow:0 6px 16px #2459d326}
@media(max-width:680px){.hsc-slider-track{min-height:310px}.hsc-slide{background-position:center}.hsc-slide-content{width:calc(100% - 32px);padding:35px 0 48px}.hsc-slide-content h2{font-size:2rem}.hsc-slide-content p{font-size:.98rem}.hsc-simple-filters{grid-template-columns:1fr;padding:14px}.hsc-type-pills{justify-content:flex-start}.hsc-type-pills span{width:100%}.hsc-type-pills button{flex:1;padding:10px 12px}}

/* v1.3.0 homepage visual polish: image-free banners still look intentional */
.hsc-slide-1:not(.has-image){background-color:#123c75;background-image:radial-gradient(circle at 82% 20%,#2e9bc5 0,transparent 34%),linear-gradient(120deg,#081b42,#1559a2 58%,#13a69a)!important}
.hsc-slide-2:not(.has-image){background-color:#40206e;background-image:radial-gradient(circle at 80% 20%,#e84f8b 0,transparent 33%),linear-gradient(120deg,#1c174b,#5133a6 58%,#0f8d9a)!important}
.hsc-slide-3:not(.has-image){background-color:#183f38;background-image:radial-gradient(circle at 80% 15%,#e9b849 0,transparent 32%),linear-gradient(120deg,#092b3a,#127d78 60%,#3b4d9b)!important}
.hsc-slide-4:not(.has-image){background-color:#6a2b23;background-image:radial-gradient(circle at 80% 15%,#f1a54a 0,transparent 34%),linear-gradient(120deg,#341c4c,#a23e5e 60%,#d76b35)!important}
.hsc-home-slider .hsc-slide{background-size:cover;background-position:center;min-height:clamp(300px,43vw,500px)}
.hsc-home-slider .hsc-slide-content{padding-top:clamp(44px,7vw,88px);padding-bottom:clamp(54px,7vw,88px)}
.hsc-courses-heading{font-size:clamp(1.9rem,4vw,2.8rem)!important;font-weight:900!important;letter-spacing:-.025em;background:linear-gradient(110deg,#132c61,#2459d3 50%,#0d9d88);-webkit-background-clip:text;background-clip:text;color:transparent!important}
#courses .course-toolbar{justify-content:center;text-align:center;margin-bottom:24px}
#courses .course-toolbar>.btn{display:none}
#courses .course-toolbar .eyebrow{background:#e4f8f4;color:#087e70}
#courses .course-filters{border:1px solid #e1e9f7;border-radius:18px;background:#fff;box-shadow:0 10px 28px #17366b0d;margin-bottom:24px}
#hsc-live-course-grid .course-card-live:nth-child(4n+1) .course-image{background:linear-gradient(135deg,#d9e8ff,#f2eaff)}
#hsc-live-course-grid .course-card-live:nth-child(4n+2) .course-image{background:linear-gradient(135deg,#d6f8ee,#e4f3ff)}
#hsc-live-course-grid .course-card-live:nth-child(4n+3) .course-image{background:linear-gradient(135deg,#ffe5d7,#fff3cf)}
#hsc-live-course-grid .course-card-live:nth-child(4n) .course-image{background:linear-gradient(135deg,#f0dcff,#ffe2ef)}
#hsc-live-course-grid .course-card-live{border-radius:20px;border-color:#e4eaf5;box-shadow:0 10px 28px #17366b12;overflow:hidden}
#hsc-live-course-grid .course-image{height:205px}
#hsc-live-course-grid .course-card-live:nth-child(4n+1) .division-tag{background:#e3ecff;color:#1e4ea5}
#hsc-live-course-grid .course-card-live:nth-child(4n+2) .division-tag{background:#d9f8eb;color:#08785c}
#hsc-live-course-grid .course-card-live:nth-child(4n+3) .division-tag{background:#fff0d9;color:#98540a}
#hsc-live-course-grid .course-card-live:nth-child(4n) .division-tag{background:#f4e4ff;color:#7833a1}
@media(max-width:680px){.hsc-home-slider .hsc-slide{min-height:320px}#hsc-live-course-grid .course-image{height:185px}}
/* Keep the requested homepage sequence: banner, course heading, filters, active courses. */
body.home .hero,body.home .section:has(.feature-grid){display:none}


/* Homepage reference-inspired layout: Upcoming Exam and Upcoming Class side-by-side */
.hsc-home-slider{position:relative;overflow:hidden}
.hsc-home-schedule-section{padding:30px 0 42px;background:#f7faff}
.hscmcp-home-schedule-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.hscmcp-home-schedule-panel{min-width:0;padding:20px;border:1px solid #dce6f2;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(24,67,110,.07)}
.hscmcp-home-schedule-title{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:14px 16px;border-radius:14px;background:linear-gradient(100deg,#e7f0ff,#e4faf4);color:#174878;font-size:clamp(19px,2.2vw,25px);font-weight:800;line-height:1.35}
.hscmcp-home-schedule-title span{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#fff}
.hscmcp-home-schedule-panel .hscmcp-schedule-grid,.hscmcp-home-schedule-panel .hscmcp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.hscmcp-home-schedule-panel .hscmcp-schedule-card,.hscmcp-home-schedule-panel .hscmcp-note,.hscmcp-home-schedule-panel .hscmcp-scheduled-exam{min-width:0;border:1px solid #e2eaf4;border-radius:15px;padding:16px;background:#f9fbff;box-shadow:none;overflow-wrap:anywhere}
.hscmcp-home-schedule-panel .hscmcp-countdown{padding:9px 11px;border-radius:9px;background:#eaf5ff;color:#185b91;line-height:1.55}
.hscmcp-home-schedule-panel .hscmcp-schedule-grid>p{margin:0;padding:16px;border-radius:12px;background:#f8fafc}
.course-card-live .course-meta span:first-child{font-weight:750;color:#2459a6}
@media(max-width:680px){.hscmcp-home-schedule-layout{grid-template-columns:minmax(0,1fr);gap:16px}.hsc-home-schedule-section{padding:22px 0 30px}.hscmcp-home-schedule-panel{padding:14px}.hscmcp-home-schedule-title{font-size:21px;padding:12px}}

/* v1.3.4: Make homepage live course cards match the course catalog cards */
#courses #hsc-live-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
#courses #hsc-live-course-grid .course-card-live{display:flex!important;flex-direction:column!important;min-width:0;background:#fff!important;border:1px solid #e2eaf4!important;border-radius:24px!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(23,54,107,.09)!important;padding:0!important}
#courses #hsc-live-course-grid .course-image{order:0!important;display:flex!important;position:relative!important;width:100%!important;height:230px!important;min-height:230px!important;max-height:230px!important;flex:none!important;overflow:hidden!important;border-radius:0!important}
#courses #hsc-live-course-grid .course-image img{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important}
#courses #hsc-live-course-grid .course-body{order:1!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;padding:24px!important;background:#fff!important;min-width:0!important}
#courses #hsc-live-course-grid .course-body h3{margin:12px 0!important;font-size:1.35rem!important;line-height:1.45!important;color:#172b4d!important}
#courses #hsc-live-course-grid .course-description{line-height:1.7!important;color:#64748b!important;margin:0 0 12px!important}
#courses #hsc-live-course-grid .course-meta{display:flex!important;flex-wrap:wrap!important;gap:8px 12px!important;color:#718096!important;font-size:.9rem!important}
#courses #hsc-live-course-grid .course-price-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin-top:auto!important;padding-top:16px!important}
#courses #hsc-live-course-grid .course-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:20px!important}
#courses #hsc-live-course-grid .course-actions .btn{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;min-height:48px!important;padding:12px 10px!important;border-radius:14px!important;text-align:center!important;white-space:normal!important}
@media(max-width:900px){#courses #hsc-live-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){#courses #hsc-live-course-grid{grid-template-columns:minmax(0,1fr);gap:20px}#courses #hsc-live-course-grid .course-image{height:220px!important;min-height:220px!important;max-height:220px!important}#courses #hsc-live-course-grid .course-body{padding:20px!important}#courses #hsc-live-course-grid .course-body h3{font-size:1.25rem!important}}


/* v1.3.5 FIX: force homepage active-course cards to use the same exact catalog layout */
body.home #courses #hsc-live-course-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}
body.home #courses #hsc-live-course-grid .course-card-live{display:flex!important;flex-direction:column!important;min-width:0!important;background:#fff!important;border:1px solid #e2eaf4!important;border-radius:24px!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(23,54,107,.09)!important;padding:0!important;transform:none!important}
body.home #courses #hsc-live-course-grid .course-image{order:0!important;display:flex!important;position:relative!important;width:100%!important;height:230px!important;min-height:230px!important;max-height:230px!important;flex:none!important;overflow:hidden!important;border-radius:0!important;margin:0!important}
body.home #courses #hsc-live-course-grid .course-image img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important}
body.home #courses #hsc-live-course-grid .course-placeholder{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;font-size:3rem!important;background:linear-gradient(135deg,#e5edff,#e0faf4)!important}
body.home #courses #hsc-live-course-grid .course-body{order:1!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;padding:24px!important;background:#fff!important;min-width:0!important}
body.home #courses #hsc-live-course-grid .course-body h3{margin:12px 0!important;font-size:1.35rem!important;line-height:1.45!important;color:#172b4d!important}
body.home #courses #hsc-live-course-grid .course-description{line-height:1.7!important;color:#64748b!important;margin:0 0 12px!important}
body.home #courses #hsc-live-course-grid .course-meta{display:flex!important;flex-wrap:wrap!important;gap:8px 12px!important;color:#718096!important;font-size:.9rem!important}
body.home #courses #hsc-live-course-grid .course-price-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin-top:auto!important;padding-top:16px!important}
body.home #courses #hsc-live-course-grid .course-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:20px!important}
body.home #courses #hsc-live-course-grid .course-actions .btn{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;min-height:48px!important;padding:12px 10px!important;border-radius:14px!important;text-align:center!important;white-space:normal!important}
body.home #courses #hsc-live-course-grid .division-tag,body.home #courses #hsc-live-course-grid .course-type-tag{z-index:2!important}
@media(max-width:900px){body.home #courses #hsc-live-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}}
@media(max-width:600px){body.home #courses #hsc-live-course-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}body.home #courses #hsc-live-course-grid .course-image{height:220px!important;min-height:220px!important;max-height:220px!important}body.home #courses #hsc-live-course-grid .course-body{padding:20px!important}body.home #courses #hsc-live-course-grid .course-body h3{font-size:1.25rem!important}}

/* v1.3.7: put programs immediately below Upcoming Exam/Class and improve mobile responsiveness */
.hsc-home-schedule-section{padding-bottom:28px}
#courses{padding-top:28px;scroll-margin-top:90px}
#courses .course-toolbar{align-items:flex-start;flex-wrap:wrap;margin-bottom:18px}
#courses .hsc-courses-heading{font-size:clamp(1.65rem,4.5vw,2.35rem);line-height:1.22;overflow-wrap:anywhere}
#courses .hscmcp-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;min-width:0}
#courses .hscmcp-course-card{min-width:0;max-width:100%;height:100%;overflow:hidden}
#courses .hscmcp-course-card img{max-width:100%;height:auto;object-fit:cover}
@media(max-width:900px){#courses .hscmcp-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:680px){.hsc-home-schedule-section{padding-bottom:16px}#courses{padding-top:22px;padding-bottom:42px}#courses .container{width:calc(100% - 28px)}#courses .course-toolbar{margin-bottom:16px}#courses .hsc-courses-heading{font-size:clamp(1.7rem,7vw,2.15rem);line-height:1.25;max-width:100%}#courses .hscmcp-catalog-grid{grid-template-columns:minmax(0,1fr);gap:18px}#courses .hscmcp-course-card{width:100%;border-radius:22px}#courses .hscmcp-course-card .hscmcp-course-actions,#courses .hscmcp-course-card .hscmcp-actions{display:flex;gap:10px;flex-wrap:wrap}#courses .hscmcp-course-card .hscmcp-course-actions a,#courses .hscmcp-course-card .hscmcp-actions a{flex:1 1 120px;min-width:0} }

/* v1.3.8: homepage course filters and single-line responsive title */
#courses .hsc-program-toolbar{display:block;margin-bottom:18px;text-align:left}
#courses .hsc-program-toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
#courses .hsc-home-course-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:wrap}
#courses .hsc-home-course-filters select{max-width:190px;min-width:120px;border:1px solid #d6e0ef;border-radius:10px;background:#fff;color:#18243b;padding:10px 11px;font:inherit;font-size:.9rem}
#courses .hsc-home-course-filters button{border:0;border-radius:10px;padding:10px 16px;background:#2459d3;color:#fff;font-weight:800;cursor:pointer}
#courses .hsc-courses-heading{white-space:nowrap;overflow:visible;font-size:clamp(1.45rem,3.6vw,2.8rem)!important;line-height:1.25!important;margin:0!important;letter-spacing:-.035em}
#courses .hsc-home-course-empty{padding:16px;border-radius:12px;background:#fff;border:1px solid #e4eaf4;color:#64748b;text-align:center}
@media(max-width:680px){#courses .hsc-program-toolbar-top{align-items:flex-start;gap:8px;flex-direction:column}#courses .hsc-home-course-filters{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:6px}#courses .hsc-home-course-filters select{min-width:0;width:100%;max-width:none;padding:9px 7px;font-size:.78rem}#courses .hsc-home-course-filters button{padding:9px 10px;font-size:.8rem}#courses .hsc-courses-heading{font-size:clamp(1rem,4.6vw,1.55rem)!important;white-space:nowrap;letter-spacing:-.045em;line-height:1.3!important}}

/* v1.3.9 exam results and independent Archive responsive styles */
.hscmcp-archive-standalone{clear:both!important;float:none!important;display:block!important;position:relative!important;margin:28px auto 32px!important;max-width:1100px!important;border:2px solid #cbd5e1!important;border-radius:18px!important;background:#f8fafc!important;padding:22px!important;box-sizing:border-box!important}.hscmcp-answer-review article{box-shadow:0 5px 18px rgba(16,35,77,.06)}.hscmcp-answer-review li{line-height:1.6;overflow-wrap:anywhere}@media(max-width:680px){.hscmcp-archive-standalone{width:calc(100% - 24px)!important;padding:16px!important;margin:22px auto!important}.hscmcp-answer-review article{padding:12px!important}}


/* v1.4.1: harden homepage course cards against desktop-width overflow on mobile devices. */
@media screen and (max-width: 900px), screen and (max-device-width: 900px) {
  html, body { max-width:100%; overflow-x:hidden; }
  body.home main, body.home #courses, body.home #courses > .container { width:100%; max-width:100%; min-width:0; }
  body.home #courses > .container { width:calc(100% - 28px); margin-left:auto; margin-right:auto; }
  body.home #courses .hscmcp-catalog-grid,
  body.home #courses .hscmcp-catalog-grid[style],
  body.home #courses #hsc-live-course-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; width:100%!important; max-width:100%!important; min-width:0!important; gap:14px!important; }
  body.home #courses .hscmcp-course-card,
  body.home #courses .hscmcp-course-card[style],
  body.home #courses #hsc-live-course-grid .course-card-live { width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; transform:none!important; box-sizing:border-box!important; }
  body.home #courses .hscmcp-course-card *, body.home #courses #hsc-live-course-grid .course-card-live * { max-width:100%; overflow-wrap:anywhere; box-sizing:border-box; }
  body.home #courses .hscmcp-course-card img, body.home #courses #hsc-live-course-grid .course-image img { width:100%; max-width:100%; height:auto; object-fit:cover; }
}
@media screen and (max-width: 600px), screen and (max-device-width: 600px) {
  body.home #courses > .container { width:calc(100% - 28px)!important; }
  body.home #courses .hscmcp-catalog-grid,
  body.home #courses .hscmcp-catalog-grid[style],
  body.home #courses #hsc-live-course-grid { grid-template-columns:minmax(0,1fr)!important; gap:18px!important; }
  body.home #courses .hscmcp-course-card,
  body.home #courses .hscmcp-course-card[style],
  body.home #courses #hsc-live-course-grid .course-card-live { width:100%!important; }
  body.home #courses .hscmcp-course-card .hscmcp-course-actions,
  body.home #courses .hscmcp-course-card .hscmcp-actions,
  body.home #courses #hsc-live-course-grid .course-actions { display:flex!important; flex-wrap:wrap!important; gap:10px!important; }
  body.home #courses .hscmcp-course-card .hscmcp-course-actions a,
  body.home #courses .hscmcp-course-card .hscmcp-actions a,
  body.home #courses #hsc-live-course-grid .course-actions .btn { flex:1 1 120px!important; min-width:0!important; width:auto!important; }
}

/* v1.4.3: keep upcoming exam/class panels visible and prevent mobile countdown overlap. */
.hscmcp-home-exam-panel .hscmcp-home-schedule-title{background:linear-gradient(100deg,#dceaff,#dceaff)!important;color:#153d68!important}
.hscmcp-home-class-panel .hscmcp-home-schedule-title{background:linear-gradient(100deg,#d9f8eb,#e1f7ff)!important;color:#08745e!important}
.hscmcp-home-schedule-panel,.hscmcp-home-schedule-panel *{box-sizing:border-box;min-width:0}
.hscmcp-home-schedule-panel .hscmcp-countdown{display:block!important;width:100%;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal;line-height:1.65;margin-top:8px}
.hscmcp-home-schedule-panel .hscmcp-compact-banner,.hscmcp-home-schedule-panel .hscmcp-compact-line{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
#leaderboard,.leaderboard-grid,.leaderboard-card{min-width:0;max-width:100%;box-sizing:border-box}
.leaderboard-card{overflow:hidden}
.leaderboard-list li{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere}
.leaderboard-list .leader-student{flex:1 1 90px;min-width:0;overflow-wrap:anywhere}
.leaderboard-list li strong{margin-left:auto;white-space:nowrap}
@media(max-width:680px){.hscmcp-home-schedule-layout{grid-template-columns:minmax(0,1fr)!important}.hscmcp-home-schedule-panel{width:100%;max-width:100%}.hscmcp-home-schedule-panel .hscmcp-home-schedule-title{width:100%;overflow-wrap:anywhere}.hscmcp-home-schedule-panel .hscmcp-countdown{padding:9px 10px;font-size:14px}.leaderboard-card{padding:16px}.leaderboard-title{min-width:0;overflow-wrap:anywhere}}

/* v1.4.4: keep schedule countdown text on its own line on small screens. */
.hscmcp-home-schedule-panel .hscmcp-compact-time{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px;width:100%;white-space:normal!important;overflow-wrap:anywhere!important}
.hscmcp-home-schedule-panel .hscmcp-compact-time .hscmcp-countdown{display:block!important;position:static!important;float:none!important;width:100%;max-width:100%;margin:0!important;padding:8px 10px;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal;line-height:1.55}
.hscmcp-upcoming-exams>h3{background:#173f68!important;color:#fff!important;border-radius:12px;padding:14px 16px}
.hscmcp-upcoming-classes>h3{background:#087f75!important;color:#fff!important;border-radius:12px;padding:14px 16px}
.hscmcp-upcoming-exams,.hscmcp-upcoming-classes{display:block!important;width:100%;max-width:100%;box-sizing:border-box}


/* v1.4.5: harden mobile countdown layout against inline theme/plugin styles. */
.hscmcp-home-schedule-panel .hscmcp-compact-time{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;
  gap:7px!important;width:100%!important;max-width:100%!important;min-width:0!important;
  white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;line-height:1.6!important;
}
.hscmcp-home-schedule-panel .hscmcp-compact-time .hscmcp-countdown{
  display:block!important;position:static!important;float:none!important;clear:both!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:8px 10px!important;
  box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
  line-height:1.55!important;border-radius:8px;background:#eaf5ff;color:#185b91;
}
.hscmcp-home-exam-panel .hscmcp-home-schedule-title{background:#173f68!important;color:#fff!important}
.hscmcp-home-class-panel .hscmcp-home-schedule-title{background:#087f75!important;color:#fff!important}
.hscmcp-upcoming-exams>h3{background:#173f68!important;color:#fff!important;display:block!important}
.hscmcp-upcoming-classes>h3{background:#087f75!important;color:#fff!important;display:block!important}
.hscmcp-upcoming-exams,.hscmcp-upcoming-classes{display:block!important;visibility:visible!important;opacity:1!important}
@media(max-width:680px){.hscmcp-home-schedule-panel .hscmcp-compact-time{font-size:14px!important}.hscmcp-home-schedule-panel .hscmcp-compact-time .hscmcp-countdown{font-size:13px!important}}


/* v1.4.6: mobile schedule/countdown overflow safeguards */
@media (max-width: 767px) {
  .hscmcp-countdown, .hscmcp-countdown *,
  .hscmcp-upcoming-exam, .hscmcp-upcoming-exam *,
  .hscmcp-upcoming-class, .hscmcp-upcoming-class *,
  .hscmcp-exam-countdown, .hscmcp-exam-countdown *,
  .hscmcp-exam-meta, .hscmcp-exam-meta *,
  .hscmcp-schedule-card, .hscmcp-schedule-card * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hscmcp-countdown, .hscmcp-exam-countdown {
    display: block;
    width: 100%;
    white-space: normal;
    margin-top: .5rem;
  }
}


/* v1.4.7: definitive mobile fix for homepage Upcoming Exam countdown overlap.
   Keep the scheduled date and countdown in separate full-width rows. */
body.home .hscmcp-compact-schedule,
body.home .hscmcp-compact-schedule .hscmcp-home-schedule-panel,
body.home .hscmcp-compact-schedule .hscmcp-compact-list,
body.home .hscmcp-compact-schedule .hscmcp-compact-banner {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box !important;
}
body.home .hscmcp-compact-schedule .hscmcp-compact-time {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.6 !important;
}
body.home .hscmcp-compact-schedule .hscmcp-compact-time .hscmcp-countdown,
body.home .hscmcp-compact-schedule .hscmcp-compact-time [data-hscmcp-countdown] {
  display: block !important;
  flex: 0 0 auto !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.6 !important;
  border-radius: 8px !important;
  background: #eaf5ff !important;
  color: #185b91 !important;
}
@media (max-width: 680px) {
  body.home .hscmcp-compact-schedule .hscmcp-compact-time { font-size: 14px !important; }
  body.home .hscmcp-compact-schedule .hscmcp-compact-time .hscmcp-countdown,
  body.home .hscmcp-compact-schedule .hscmcp-compact-time [data-hscmcp-countdown] { font-size: 13px !important; }
}


/* Registration Guide page */
.hsc-registration-guide{max-width:1000px;margin:0 auto;padding:34px 0 12px}
.hsc-guide-heading{text-align:center;max-width:700px;margin:0 auto 30px}
.hsc-guide-heading>span{display:inline-flex;padding:7px 14px;border-radius:99px;background:#eaf1ff;color:#2459d3;font-weight:800;font-size:.88rem}
.hsc-guide-heading h2{color:#10234d;font-size:clamp(1.65rem,4vw,2.35rem);line-height:1.25;margin:15px 0 8px}
.hsc-guide-heading p{color:#64748b;margin:0}
.hsc-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hsc-guide-card{background:#fff;border:1px solid #e4eaf4;border-radius:20px;padding:24px;box-shadow:0 10px 30px rgba(16,35,77,.055)}
.hsc-guide-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.hsc-guide-number{width:42px;height:42px;border-radius:13px;background:#10234d;color:#fff;display:grid;place-items:center;font-weight:850;font-size:1.15rem}
.hsc-guide-icon{font-size:1.55rem}
.hsc-guide-card h3{color:#10234d;font-size:1.15rem;margin:0 0 8px}
.hsc-guide-card p{color:#64748b;line-height:1.8;margin:0}
.hsc-guide-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:28px 0 12px}
@media(max-width:640px){.hsc-registration-guide{padding:20px 0 8px}.hsc-guide-grid{grid-template-columns:1fr;gap:13px}.hsc-guide-card{padding:20px;border-radius:18px}.hsc-guide-heading{margin-bottom:22px}.hsc-guide-actions{flex-direction:column}.hsc-guide-actions .btn{width:100%}}

/* v1.5.1: colourful, responsive and editable Why HSC MCQ Pro section */
.hsc-why-section{position:relative;overflow:hidden;background:radial-gradient(circle at 8% 10%,#dff4ff 0,transparent 32%),radial-gradient(circle at 92% 88%,#e4fff4 0,transparent 30%),linear-gradient(135deg,#f7f9ff,#eef5ff 52%,#f5fffb)}
.hsc-why-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch}
.hsc-why-card{position:relative;overflow:hidden;min-width:0;padding:23px 18px 22px;border:1px solid #dce7fa;border-radius:22px;background:linear-gradient(155deg,#fff 0%,#f8fbff 62%,#effaf8 100%);box-shadow:0 14px 32px #173c7810;transition:transform .22s ease,box-shadow .22s ease}
.hsc-why-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#2459d3,#16b8a6,#ffb84d)}
.hsc-why-card:hover{transform:translateY(-6px);box-shadow:0 20px 38px #173c7820}
.hsc-why-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#e4edff,#dffaf3);font-size:1.75rem;margin-bottom:17px;box-shadow:inset 0 0 0 1px #d9e8fb}
.hsc-why-card h3{margin:0 0 8px;color:#142e62;font-size:1.05rem;line-height:1.35}
.hsc-why-card p{margin:0;color:#5c6b83;font-size:.91rem;line-height:1.65}
.hsc-why-foot{max-width:850px;margin:28px auto 0;padding:17px 22px;text-align:center;border-radius:16px;background:linear-gradient(100deg,#173b87,#2459d3 55%,#079b8a);color:#fff;font-weight:750;box-shadow:0 12px 26px #2459d329}
@media(max-width:1050px){.hsc-why-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.hsc-why-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.hsc-why-card{padding:19px 14px;border-radius:17px}.hsc-why-icon{width:48px;height:48px;border-radius:15px;font-size:1.5rem}.hsc-why-card h3{font-size:.98rem}.hsc-why-card p{font-size:.86rem}.hsc-why-foot{font-size:.92rem;padding:15px}}
@media(max-width:380px){.hsc-why-grid{grid-template-columns:1fr}}

/* v1.5.3: two square ad placements beside footer link groups; remove duplicate white footer strips */
.footer-grid{display:grid;grid-template-columns:1fr;gap:24px}
.footer-intro{grid-column:1/-1}
.footer-link-ad-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px, min(38%,220px));gap:14px;align-items:start;min-width:0}
.footer-link-ad-row>div:first-child{min-width:0}
.hsc-footer-ad{width:100%;aspect-ratio:1/1;min-width:0;min-height:112px;margin:0;text-align:center;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px dashed #7183a6;border-radius:10px;padding:5px}
.hsc-footer-ad:empty{display:none}
.hsc-footer-ad ins,.hsc-footer-ad iframe{max-width:100%!important}
@media(min-width:681px){.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-intro{grid-column:1/-1}}
@media(max-width:380px){.footer-link-ad-row{grid-template-columns:minmax(0,1fr) 112px;gap:9px}}

/* v1.5.5: obsolete duplicate white footer section removed */
.hsc-footer-bottom-links,.footer-bottom-links,.site-footer-bottom,.footer-secondary,.footer-extra-links,.footer-menu-bottom,.footer-legal-links{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important}


/* v1.6.2: enforce the requested two-column desktop / one-column mobile grids.
   The package shortcode prints an inline auto-fit rule; !important intentionally
   overrides that rule so a single package fills the mobile container. */
@media (min-width: 681px) {
  body.home #courses #hsc-live-course-grid,
  body.home #courses .hscmcp-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.home .hscp-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
  }
  body.home .hscp-grid > .hscp-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 680px) {
  body.home #courses #hsc-live-course-grid,
  body.home #courses .hscmcp-catalog-grid,
  body.home .hscp-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
  }
  body.home .hscp-grid > .hscp-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}


/* v1.6.3: keep every package element, including course list, price and actions,
   constrained inside its own card. Prevent theme/global styles from making
   package body children wider than the banner/card. */
body.home #most-popular-package .hscp-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
body.home #most-popular-package .hscp-grid > article.hscp-card {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
body.home #most-popular-package .hscp-card > .hscp-banner,
body.home #most-popular-package .hscp-card > .hscp-body {
  display:block !important;
  flex:0 0 auto !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
body.home #most-popular-package .hscp-card > .hscp-body {
  overflow:hidden !important;
}
body.home #most-popular-package .hscp-card .hscp-course-toggle,
body.home #most-popular-package .hscp-card .hscp-course-panel,
body.home #most-popular-package .hscp-card .hscp-price,
body.home #most-popular-package .hscp-card .hscp-countdown,
body.home #most-popular-package .hscp-card .hscp-actions,
body.home #most-popular-package .hscp-card .hscp-inline-panel {
  display:block;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow-wrap:anywhere;
}
body.home #most-popular-package .hscp-card .hscp-actions {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.home #most-popular-package .hscp-card .hscp-actions > *,
body.home #most-popular-package .hscp-card .hscp-actions form {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.home #most-popular-package .hscp-card .hscp-actions form {display:flex !important}
body.home #most-popular-package .hscp-card .hscp-actions a,
body.home #most-popular-package .hscp-card .hscp-actions button {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  white-space:normal !important;
}
@media(max-width:680px) {
  body.home #most-popular-package .hscp-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
  body.home #most-popular-package .hscp-grid > article.hscp-card {
    width:100% !important;
  }
}


/* v1.6.4: package card width containment fix.
   Use a wider mobile breakpoint because some phones report a CSS viewport
   wider than 680px. Keep the course toggle and both action buttons inside
   the same package card, including their padding and borders. */
body.home #most-popular-package,
body.home #most-popular-package .container,
body.home #most-popular-package .hscp-section,
body.home #most-popular-package .hscp-grid {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.home #most-popular-package .hscp-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:stretch !important;
  gap:20px !important;
}
body.home #most-popular-package .hscp-card {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
body.home #most-popular-package .hscp-card > .hscp-banner,
body.home #most-popular-package .hscp-card > .hscp-body {
  flex:0 0 auto !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
body.home #most-popular-package .hscp-card > .hscp-body {
  display:block !important;
  overflow:hidden !important;
}
body.home #most-popular-package .hscp-card .hscp-course-toggle,
body.home #most-popular-package .hscp-card .hscp-course-panel,
body.home #most-popular-package .hscp-card .hscp-price,
body.home #most-popular-package .hscp-card .hscp-countdown,
body.home #most-popular-package .hscp-card .hscp-actions,
body.home #most-popular-package .hscp-card .hscp-inline-panel {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
  overflow-wrap:anywhere !important;
}
body.home #most-popular-package .hscp-card .hscp-course-toggle {
  display:block !important;
  padding:11px 12px !important;
  white-space:normal !important;
}
body.home #most-popular-package .hscp-card .hscp-actions {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.home #most-popular-package .hscp-card .hscp-actions > *,
body.home #most-popular-package .hscp-card .hscp-actions form,
body.home #most-popular-package .hscp-card .hscp-actions a,
body.home #most-popular-package .hscp-card .hscp-actions button {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
body.home #most-popular-package .hscp-card .hscp-actions form {
  display:flex !important;
  margin:0 !important;
}
@media (max-width:680px) {
  body.home #most-popular-package .hscp-grid {
    grid-template-columns:minmax(0,1fr) !important;
    gap:16px !important;
  }
  body.home #most-popular-package .hscp-card {
    width:100% !important;
    max-width:100% !important;
  }
}


/* v1.6.5: hard containment for package cards. Some cached/legacy shortcode
   output can leave .hscp-body as a sibling of the banner wrapper. The small
   repair script in front-page.php moves that body back into its card. */
html body #most-popular-package .hscp-grid > article.hscp-card {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  position:relative !important;
  float:none !important;
  clear:none !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  grid-column:auto !important;
}
html body #most-popular-package .hscp-grid > article.hscp-card > .hscp-banner,
html body #most-popular-package .hscp-grid > article.hscp-card > .hscp-body {
  display:block !important;
  position:relative !important;
  float:none !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  box-sizing:border-box !important;
  flex:0 0 auto !important;
}
html body #most-popular-package .hscp-grid > article.hscp-card > .hscp-body {
  padding:14px !important;
  overflow:hidden !important;
}
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-course-toggle,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-course-panel,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-price,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-countdown,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-actions,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-inline-panel {
  display:block !important;
  float:none !important;
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
  overflow-wrap:anywhere !important;
}
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-actions {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:10px !important;
}
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-actions > *,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-actions form,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-actions a,
html body #most-popular-package .hscp-grid > article.hscp-card .hscp-actions button {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  box-sizing:border-box !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
@media (max-width:680px) {
  html body #most-popular-package .hscp-grid {grid-template-columns:minmax(0,1fr) !important;}
}


/* v1.6.10: single authoritative responsive package grid. */
html body.home section#most-popular-package .hscp-section > .hscp-package-grid,
html body.home #most-popular-package .hscp-package-grid,
html body.home .hsc-most-popular-packages .hscp-package-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}
html body.home section#most-popular-package .hscp-package-grid > article.hscp-package-card,
html body.home #most-popular-package .hscp-package-grid > article.hscp-package-card,
html body.home .hsc-most-popular-packages .hscp-package-grid > article.hscp-package-card {
  display: flex !important;
  flex-direction: column !important;
  grid-column: auto !important;
  grid-row: auto !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
html body.home .hscp-package-grid > article.hscp-package-card > .hscp-banner,
html body.home .hscp-package-grid > article.hscp-package-card > .hscp-body {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 680px) {
  html body.home section#most-popular-package .hscp-section > .hscp-package-grid,
  html body.home #most-popular-package .hscp-package-grid,
  html body.home .hsc-most-popular-packages .hscp-package-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}


/* v1.6.11: package card wrapper is a dedicated div, not a generic article.
   This isolates package items from theme-wide article/layout rules. */
html body.home #most-popular-package .hscp-package-grid,
html body.home .hsc-most-popular-packages .hscp-package-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:20px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  align-items:stretch!important;justify-items:stretch!important;
}
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card,
html body.home .hsc-most-popular-packages .hscp-package-grid > div.hscp-package-card {
  display:flex!important;flex-direction:column!important;
  grid-column:auto!important;grid-row:auto!important;grid-area:auto!important;
  float:none!important;clear:none!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  overflow:hidden!important;justify-self:stretch!important;align-self:stretch!important;
}
html body.home .hscp-package-grid > div.hscp-package-card > .hscp-banner,
html body.home .hscp-package-grid > div.hscp-package-card > .hscp-body {
  display:block!important;position:relative!important;float:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;box-sizing:border-box!important;flex:0 0 auto!important;
}
html body.home .hscp-package-grid > div.hscp-package-card .hscp-course-toggle,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-course-panel,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-price,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-countdown,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-actions,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-inline-panel {
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;overflow-wrap:anywhere!important;
}
html body.home .hscp-package-grid > div.hscp-package-card .hscp-actions {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
}
html body.home .hscp-package-grid > div.hscp-package-card .hscp-actions > *,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-actions form,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-actions a,
html body.home .hscp-package-grid > div.hscp-package-card .hscp-actions button {
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;white-space:normal!important;
}
@media(max-width:680px){
  html body.home #most-popular-package .hscp-package-grid,
  html body.home .hsc-most-popular-packages .hscp-package-grid {
    grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
  }
}


/* v1.6.12: final package card structure guard. The package grid has two
   columns on desktop and one on mobile; each card itself always has one
   vertical column so banner and body cannot sit beside one another. */
html body.home #most-popular-package .hscp-package-grid {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;gap:20px!important;width:100%!important;
  max-width:100%!important;min-width:0!important;align-items:stretch!important;
}
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;grid-auto-rows:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  float:none!important;clear:none!important;overflow:hidden!important;
}
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card > .hscp-banner,
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card > .hscp-body {
  grid-column:1/-1!important;grid-row:auto!important;display:block!important;
  position:relative!important;float:none!important;width:100%!important;
  max-width:100%!important;min-width:0!important;margin:0!important;
  box-sizing:border-box!important;
}
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card .hscp-course-toggle,
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card .hscp-course-panel,
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card .hscp-price,
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card .hscp-countdown,
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card .hscp-actions,
html body.home #most-popular-package .hscp-package-grid > div.hscp-package-card .hscp-inline-panel {
  grid-column:1/-1!important;width:100%!important;max-width:100%!important;
  min-width:0!important;box-sizing:border-box!important;
}
@media(max-width:680px){
  html body.home #most-popular-package .hscp-package-grid {
    grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
  }
}


/* v1.6.14: isolated package v2 layout; nested grid pins banner/body to separate full-width rows. */
html body.home #most-popular-package .hscmcp-package-grid-v2 {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;gap:20px!important;width:100%!important;
  max-width:100%!important;min-width:0!important;align-items:stretch!important;
}
html body.home #most-popular-package .hscmcp-package-grid-v2 > .hscmcp-package-item-v2 {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;grid-auto-flow:row!important;
  grid-column:auto!important;grid-row:auto!important;grid-area:auto!important;
  float:none!important;clear:none!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  overflow:hidden!important;align-self:stretch!important;
}
html body.home #most-popular-package .hscmcp-package-item-v2 > .hscmcp-package-banner-v2,
html body.home #most-popular-package .hscmcp-package-item-v2 > .hscmcp-package-body-v2 {
  display:block!important;position:relative!important;float:none!important;
  grid-column:1 / -1!important;grid-row:auto!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;
  min-width:0!important;margin:0!important;box-sizing:border-box!important;
}
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-course-toggle,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-course-panel,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-price,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-countdown,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-actions,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-inline-panel {
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;overflow-wrap:anywhere!important;
}
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-actions {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
}
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-actions > *,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-actions a,
html body.home #most-popular-package .hscmcp-package-item-v2 .hscp-actions button {
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
@media(max-width:680px){
  html body.home #most-popular-package .hscmcp-package-grid-v2 {
    grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
  }
}


/* v1.6.15: Package cards deliberately reuse the live course-card structure. */
html body.home #most-popular-package .hscmcp-package-grid-v2 {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;align-items:stretch!important;width:100%!important;
}
html body.home #most-popular-package .hscmcp-package-grid-v2 > .hscmcp-course-card.hscmcp-package-item-v2 {
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  min-width:0!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  border:1px solid #e2eaf4!important;border-radius:24px!important;
  background:#fff!important;box-shadow:0 10px 28px rgba(23,54,107,.09)!important;
}
html body.home #most-popular-package .hscmcp-package-grid-v2 > .hscmcp-course-card.hscmcp-package-item-v2 > .hscmcp-course-hero {
  display:flex!important;position:relative!important;flex:0 0 auto!important;
  align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:190px!important;height:auto!important;margin:0!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
html body.home #most-popular-package .hscmcp-package-grid-v2 > .hscmcp-course-card.hscmcp-package-item-v2 > .hscmcp-course-card-body {
  display:flex!important;flex:1 0 auto!important;flex-direction:column!important;
  position:relative!important;width:100%!important;max-width:100%!important;
  min-width:0!important;margin:0!important;padding:16px!important;
  box-sizing:border-box!important;
}
html body.home #most-popular-package .hscmcp-package-grid-v2 .hscp-actions {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
}
@media(max-width:680px){
  html body.home #most-popular-package .hscmcp-package-grid-v2 {
    grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
  }
}

/* v1.6.16 — Unified schedule table on homepage and student dashboard */
.hscmcp-schedule-table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;margin:16px 0 24px;border:1px solid #cbd8e8;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(20,48,86,.08)}
.hscmcp-schedule-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;background:#fff;color:#17243b;font-size:15px;line-height:1.45}
.hscmcp-schedule-table thead th{position:sticky;top:0;background:#123b70;color:#fff;font-weight:800;text-align:center;padding:12px 10px;border-right:1px solid rgba(255,255,255,.2);white-space:normal;vertical-align:middle}
.hscmcp-schedule-table tbody td{padding:12px 10px;text-align:center;vertical-align:middle;border-right:1px solid #d6dfeb;border-bottom:1px solid #d6dfeb;overflow-wrap:anywhere}
.hscmcp-schedule-table tbody tr:nth-child(even){background:#f4f8fd}
.hscmcp-schedule-table tbody tr:hover{background:#eaf3ff}
.hscmcp-schedule-table tbody tr:last-child td{border-bottom:0}
.hscmcp-schedule-table th:last-child,.hscmcp-schedule-table td:last-child{border-right:0;min-width:170px}
.hscmcp-schedule-kind{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:8px;font-weight:800;white-space:nowrap}
.hscmcp-schedule-kind-exam{background:#fff0bf;color:#805400}
.hscmcp-schedule-kind-class{background:#d9f8eb;color:#08745e}
.hscmcp-schedule-countdown{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:7px;background:#e8f2ff;color:#174f86;font-weight:700}
.hscmcp-schedule-empty{padding:22px!important;text-align:center!important;color:#52657d;font-weight:700}
.hscmcp-schedule-standalone .hscmcp-schedule-table-wrap{margin-top:14px}
@media(max-width:680px){.hscmcp-schedule-table-wrap{border-radius:10px;margin:12px 0 18px}.hscmcp-schedule-table{font-size:14px;min-width:1050px}.hscmcp-schedule-table thead th,.hscmcp-schedule-table tbody td{padding:10px 8px}.hscmcp-schedule-standalone{overflow:hidden}}
