:root{--navy:#061b48;--navy2:#0a347c;--red:#ed111c;--white:#fff;--ink:#102348;--muted:#66738a;--bg:#f4f7fc;--line:#dbe3f0;--green:#138448;--shadow:0 18px 52px rgba(6,27,72,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.top{background:rgba(6,27,72,.98);color:#fff;border-bottom:4px solid var(--red);padding:10px clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:50;box-shadow:0 8px 28px #061b4820}.brand{display:flex;align-items:center;gap:12px}.brand img{width:58px;height:58px;object-fit:contain}.brand-name{font-size:21px;font-weight:950;letter-spacing:.5px}.brand-name span{color:#ff2630}.brand-sub{letter-spacing:2px;font-size:9px;color:#cbd8f2}.top nav{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.top nav a{padding:10px 12px;border-radius:9px;font-weight:850;font-size:13px}.top nav a:hover{background:#ffffff14}.wrap{width:min(1180px,92vw);margin:30px auto}.premium-hero{min-height:610px;background:radial-gradient(circle at 80% 15%,#264fa2 0,#0b347d 25%,#061b48 70%);color:#fff;padding:70px max(5vw,24px);display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:50px;overflow:hidden;position:relative}.premium-hero:after{content:"";position:absolute;inset:auto -100px -210px auto;width:520px;height:520px;border-radius:50%;background:#ed111c18}.hero-content{max-width:760px;position:relative;z-index:2}.eyebrow{display:inline-block;color:#ffbdc1;font-weight:900;font-size:12px;letter-spacing:2.2px;margin-bottom:14px}.eyebrow.dark{color:var(--red)}.premium-hero h1{font-size:clamp(45px,7vw,82px);line-height:.98;margin:0 0 24px;letter-spacing:-2.5px}.premium-hero h1 span{color:#ff2732}.premium-hero p{font-size:19px;line-height:1.7;color:#dce6fb;max-width:720px}.hero-visual{display:grid;place-items:center;position:relative;z-index:2}.hero-visual>img{width:min(470px,90%);filter:drop-shadow(0 30px 45px #0007);border-radius:28px}.hero-stat{position:absolute;right:2%;bottom:5%;background:#fff;color:var(--navy);padding:18px 24px;border-radius:16px;box-shadow:var(--shadow);display:flex;flex-direction:column}.hero-stat strong{font-size:30px;color:var(--red)}.hero-stat span{font-weight:800}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:14px 21px;border-radius:10px;background:var(--red);color:#fff;font-weight:900;font-size:15px;box-shadow:0 9px 22px rgba(237,17,28,.22);transition:.2s}.btn:hover{filter:brightness(.96);transform:translateY(-2px)}.btn.secondary{background:var(--navy)}.btn.light{background:#fff;color:var(--navy)}.btn.outline{background:transparent;color:var(--navy);border:2px solid var(--navy);box-shadow:none}.btn.danger{background:#a60c14}.trust-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:32px;color:#dce6fb;font-weight:750;font-size:13px}.section-pad{padding:38px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-heading h2{font-size:clamp(30px,5vw,48px);margin:0;letter-spacing:-1.3px}.section-heading.centered{text-align:center;justify-content:center}.text-link{font-weight:900;color:var(--red)}.course-cards,.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:25px 0}.premium-cards{align-items:stretch}.course-tile{background:#fff;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);transition:.25s}.course-tile:hover{transform:translateY(-6px)}.course-image{height:235px;position:relative;background:#dfe7f4;overflow:hidden}.course-image img{width:100%;height:100%;object-fit:cover}.course-chip{position:absolute;top:14px;left:14px;background:var(--navy);color:#fff;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:900}.course-copy{padding:24px}.course-code{font-size:12px;font-weight:900;color:var(--red);letter-spacing:1.3px}.course-copy h3{font-size:27px;margin:8px 0}.course-copy p{color:var(--muted);line-height:1.6;min-height:76px}.tile-footer{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--line);padding-top:18px}.tile-footer small{display:block;color:var(--muted)}.tile-footer strong{font-size:27px;color:var(--navy)}.round-link{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-size:25px;font-weight:900}.workflow{background:var(--navy);color:#fff;padding:70px 0;margin-top:42px}.workflow h2{color:#fff}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.step{background:#ffffff0b;border:1px solid #ffffff1f;padding:28px;border-radius:18px}.step b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--red);font-size:20px}.step h3{font-size:22px}.step p{color:#cbd8f2;line-height:1.6}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.course-card{position:relative;overflow:hidden}.course-card:before{content:"";height:6px;left:0;right:0;top:0;position:absolute;background:linear-gradient(90deg,var(--navy),var(--red))}.course-card h2{margin-top:18px}.course-badge{background:var(--navy);color:#fff;border-radius:10px;padding:8px 12px;display:inline-block;font-weight:900}.price{font-size:30px;font-weight:900;color:var(--red)}.status{display:inline-block;border-radius:100px;padding:7px 11px;font-weight:800;font-size:13px;margin:8px 0 16px}.approved{background:#e8f7ee;color:var(--green)}.locked-status,.pending{background:#fff0f0;color:#ba1018}.stats,.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.stat{background:#fff;border:1px solid var(--line);padding:18px;border-radius:14px;text-align:center}.stat strong,.admin-stats .stat b{font-size:28px;display:block;color:var(--navy)}.progress{height:12px;background:#dfe6f2;border-radius:20px;overflow:hidden}.progress>div{height:100%;background:linear-gradient(90deg,var(--navy2),var(--red));width:0}.module{margin:34px 0}.module h2{border-left:6px solid var(--red);padding-left:12px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.lesson{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(7,29,73,.08)}.lesson img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#e8edf5}.lesson .body{padding:17px}.lesson h3{min-height:44px;margin:8px 0 15px}.meta{font-size:13px;color:var(--navy2);font-weight:900}.viewer{width:min(860px,90vw);max-width:860px;margin-left:auto;margin-right:auto}.viewer>img{display:block;width:auto;max-width:100%;height:auto;max-height:72vh;object-fit:contain;margin:0 auto;border-radius:18px;box-shadow:var(--shadow)}.notice{background:#eef4ff;border-left:5px solid var(--navy2);padding:17px;border-radius:10px;line-height:1.6;margin:18px 0}.viewer-controls{display:flex;justify-content:space-between;gap:10px;margin:24px 0}.auth-shell{min-height:calc(100svh - 82px);background:linear-gradient(135deg,var(--navy),#0b3b8e);display:grid;place-items:center;padding:35px 16px;overflow-x:hidden}.auth-card{width:min(470px,100%);background:#fff;border-radius:22px;padding:30px;box-shadow:0 25px 80px #0005;border-top:6px solid var(--red);overflow:hidden}.auth-logo{display:block;width:115px;max-width:100%;height:auto;object-fit:contain;margin:0 auto 12px}.auth-card h1{text-align:center;font-size:30px}.auth-card>p{text-align:center;color:var(--muted)}.field,label{display:block;font-weight:800;margin:14px 0 7px}input,select,textarea{width:100%;padding:13px;border:1px solid #cdd6e6;border-radius:9px;background:#fff;color:var(--ink);font:inherit}input:focus,select:focus,textarea:focus{outline:3px solid #0c3b8f22;border-color:var(--navy2)}.auth-card .btn{width:100%;margin-top:8px}.payment-shell{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}.pay-panel{background:linear-gradient(140deg,var(--navy),#113b83);color:#fff}.secure{display:flex;gap:10px;align-items:center;background:#eaf7ef;color:#16653b;padding:12px;border-radius:10px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:13px;border-bottom:1px solid var(--line);text-align:left}.admin-badge{display:inline-block;background:#e9effb;color:var(--navy);border-left:4px solid var(--red);border-radius:7px;padding:7px 10px;font-size:12px;font-weight:900;letter-spacing:.08em}.tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.admin-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin:16px 0}.admin-actions{display:flex;flex-direction:column;gap:10px;min-width:210px}.empty{text-align:center;padding:50px;color:var(--muted)}.footer{width:min(1180px,92vw);margin:28px auto;padding:22px 0;color:var(--muted);border-top:1px solid var(--line)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.top nav a[data-user]{display:none}
@media(max-width:900px){.premium-hero{grid-template-columns:1fr;text-align:center;padding-top:55px}.hero-content{margin:auto}.actions,.trust-row{justify-content:center}.hero-visual>img{width:330px}.hero-stat{right:15%}.course-cards,.catalog,.grid{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr}.top{align-items:flex-start;flex-direction:column}.top nav{width:100%}}
@media(max-width:600px){.course-cards,.catalog,.grid,.stats,.admin-stats{grid-template-columns:1fr}.premium-hero{min-height:auto;padding:48px 20px}.premium-hero h1{font-size:46px}.hero-visual>img{width:250px}.hero-stat{position:relative;right:auto;bottom:auto;margin-top:-20px}.course-image{height:210px}.brand-name{font-size:17px}.brand img{width:50px;height:50px}.wrap{width:94vw;margin:20px auto}.viewer-controls,.page-head{flex-direction:column;align-items:stretch}.top nav a{padding:8px;font-size:12px}.auth-card{padding:24px 18px}.auth-logo{width:95px}.admin-row{flex-direction:column}.admin-actions{width:100%;min-width:0}.admin-table{display:block;overflow-x:auto;white-space:nowrap}}


/* Real photographic course covers */
.catalog-cover{height:230px;position:relative;overflow:hidden;background:#dfe7f4;margin:-24px -24px 20px;border-radius:18px 18px 0 0}
.catalog-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.course-card:hover .catalog-cover img{transform:scale(1.035)}
.course-card-body{padding:0}
.course-card:has(.catalog-cover){padding:24px;overflow:hidden}
.dashboard-cover{height:205px}
.bundle{background:linear-gradient(145deg,#fff,#eef3fb)}
@media(max-width:600px){.catalog-cover{height:210px}.dashboard-cover{height:190px}}

/* Approved photorealistic academy homepage */
.academy-hero{display:grid;grid-template-columns:1fr 1.25fr;min-height:340px;background:#061b48;color:#fff;overflow:hidden}.academy-hero-copy{padding:48px clamp(28px,5vw,76px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#061b48 0%,#061b48 76%,rgba(6,27,72,.72) 100%);position:relative;z-index:2}.academy-kicker{font-size:11px;letter-spacing:2px;font-weight:900;color:#ffffff;margin-bottom:14px}.academy-hero h1{font-size:clamp(36px,4.2vw,62px);line-height:1.02;margin:0 0 18px;letter-spacing:-1.2px}.academy-hero h1 span{color:var(--red)}.academy-hero p{font-size:17px;line-height:1.55;color:#eef3ff;max-width:600px}.academy-hero-photo{min-height:340px;overflow:hidden}.academy-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-outline{background:transparent;border:1px solid #b9c8e7;color:#fff;box-shadow:none}.course-showcase{margin-top:0;padding:20px 0 18px}.showcase-title{text-align:center;margin-bottom:18px}.showcase-title h2{margin:0;font-size:31px;letter-spacing:.5px}.showcase-title span{display:block;width:110px;height:4px;background:var(--red);margin:8px auto 0;border-radius:99px}.academy-cards{gap:26px}.academy-course-card{position:relative;background:#fff;border:1px solid #d7dfec;border-radius:14px;overflow:hidden;box-shadow:0 12px 36px rgba(6,27,72,.12)}.academy-course-card .course-image{height:192px}.academy-course-card .course-chip{left:auto;right:12px;top:12px;padding:7px 11px}.academy-course-card .course-copy{padding:17px 18px 18px;position:relative}.academy-course-card h3{font-size:24px;margin:0 0 6px}.academy-course-card p{min-height:52px;margin:0 0 10px;color:#34415d;line-height:1.45}.rating{color:var(--red);font-weight:900;letter-spacing:1px;margin:10px 0}.rating small{color:#263653;letter-spacing:0;font-size:13px}.academy-price{position:absolute;right:18px;bottom:66px;font-weight:950;font-size:24px;color:#061b48}.btn.full{width:100%;margin-top:5px;padding:11px}.academy-benefits{background:#061b48;color:#fff;padding:22px 0}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:0;margin-bottom:0}.benefit-grid>div{display:grid;grid-template-columns:48px 1fr;column-gap:12px;align-items:center}.benefit-grid b{grid-row:1/3;width:44px;height:44px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;font-size:20px}.benefit-grid h3{font-size:15px;margin:0 0 3px}.benefit-grid p{font-size:13px;margin:0;color:#d7e3fa;line-height:1.4}.academy-footer{background:#041333;color:#fff;padding:18px max(5vw,30px);display:flex;justify-content:space-between;gap:22px;font-size:13px}.academy-footer a{color:#fff}
@media(max-width:900px){.academy-hero{grid-template-columns:1fr}.academy-hero-copy{text-align:center;align-items:center}.academy-hero-photo{height:300px;min-height:300px}.academy-cards{grid-template-columns:1fr 1fr}.benefit-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.academy-hero-copy{padding:38px 22px}.academy-hero h1{font-size:38px}.academy-hero-photo{height:240px;min-height:240px}.academy-cards{grid-template-columns:1fr}.benefit-grid{grid-template-columns:1fr}.academy-footer{flex-direction:column;text-align:center}.academy-price{position:static;margin-bottom:10px}.academy-course-card p{min-height:0}}
.top nav .nav-login{border:1px solid #d7e3fa;padding:9px 17px}.top nav .nav-register{background:var(--red);padding:10px 18px}.top nav .nav-register:hover{background:#c80e18}

/* Shared navigation, footer and session timeout */
.menu-toggle{display:none;border:1px solid #ffffff55;background:transparent;color:#fff;border-radius:9px;padding:8px 12px;font-size:22px;cursor:pointer}
.top nav a[data-admin],.top nav a[data-user]{display:none}
.shared-footer{align-items:center;min-height:92px}
.shared-footer>div:first-child{line-height:1.45}.shared-footer span{color:#c9d6ef;font-size:12px}.footer-links{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}.footer-links a:hover{text-decoration:underline;color:#ff4a52}
.timeout-warning{position:fixed;right:22px;bottom:22px;z-index:9999;width:min(390px,calc(100vw - 32px));background:#fff;color:var(--ink);border:1px solid var(--line);border-left:6px solid var(--red);border-radius:14px;padding:17px;box-shadow:0 20px 60px #061b4850;display:grid;gap:8px}.timeout-warning strong{font-size:18px}.timeout-warning span{color:var(--muted);line-height:1.45}.timeout-warning button{justify-self:start;border:0;border-radius:8px;background:var(--navy);color:#fff;font-weight:850;padding:10px 14px;cursor:pointer}
@media(max-width:900px){.top{position:sticky;flex-direction:row;align-items:center;flex-wrap:wrap}.menu-toggle{display:block;margin-left:auto}.top nav{display:none;flex-direction:column;align-items:stretch;width:100%;padding:8px 0 4px}.top nav.open{display:flex}.top nav a{width:100%;padding:12px 14px;font-size:14px}.shared-footer{display:grid;grid-template-columns:1fr;text-align:center}.footer-links{margin:8px 0}}

/* Auth-aware shared menu visibility */
.top nav [data-user],.top nav [data-admin]{display:none}
.top nav a[hidden]{display:none!important}
@media(min-width:901px){.top nav a:not([hidden]){display:block}}

@media(max-width:600px){.viewer{width:94vw;max-width:94vw}.viewer>img{width:100%;max-height:none}.viewer h1{font-size:26px}.viewer .notice{font-size:14px}}

/* Lesson viewer fit fix - image is nested inside #content */
body{overflow-x:hidden}
.viewer{width:min(820px,calc(100vw - 40px));max-width:820px;margin:24px auto}
.viewer #content{width:100%;max-width:100%;min-width:0;overflow:hidden}
.viewer #image{display:block;width:100%;max-width:100%;height:auto;max-height:68vh;object-fit:contain;margin:0 auto;border-radius:12px;box-shadow:var(--shadow)}
.viewer .notice,.viewer .viewer-controls,.viewer h1,.viewer .meta{max-width:100%}
@media(max-width:900px){.viewer{width:min(760px,calc(100vw - 28px));max-width:760px}.viewer #image{max-height:none}}
@media(max-width:600px){.viewer{width:calc(100vw - 20px);max-width:calc(100vw - 20px);margin:16px auto}.viewer #image{width:100%;max-width:100%;border-radius:8px}}

/* Full-screen responsive lesson layout */
.viewer{width:calc(100vw - 48px);max-width:none;margin:24px auto}
.viewer #content{width:100%;max-width:none;overflow:visible}
.viewer #image{display:block;width:100%;max-width:none;height:auto;max-height:none;object-fit:contain;margin:0 auto;border-radius:12px;box-shadow:var(--shadow)}
.viewer .meta,.viewer h1,.viewer .notice,.viewer .viewer-controls{width:100%;max-width:none}
@media(max-width:900px){.viewer{width:calc(100vw - 28px);max-width:none}.viewer #image{width:100%;max-width:none;max-height:none}}
@media(max-width:600px){.viewer{width:calc(100vw - 16px);max-width:none;margin:12px auto}.viewer #image{width:100%;max-width:none;border-radius:8px}.viewer-controls{gap:8px}}

/* 100% completion certificate system */
.certificate-unlocked{margin:26px 0 30px;padding:24px 28px;border:1px solid #d7bb67;border-left:7px solid #c99719;border-radius:16px;background:linear-gradient(135deg,#fffdf6,#fff);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:24px}.certificate-unlocked h2{margin:5px 0 8px;color:var(--navy);font-size:28px}.certificate-unlocked p{margin:0;color:var(--muted);line-height:1.55}.certificate-kicker{font-weight:950;letter-spacing:1.6px;font-size:11px;color:#a36f00}.certificate-btn{white-space:nowrap;background:linear-gradient(135deg,#b17a08,#e0ae32);color:#111;box-shadow:0 9px 25px #a4731830}.certificate-progress-note{margin:20px 0 28px;padding:13px 16px;border-radius:10px;background:#fff8e3;border-left:5px solid #c99719;color:#6b5522;font-weight:750}.certificate-page{width:min(1500px,96vw);margin:24px auto 40px}.certificate-gate{max-width:900px;margin:35px auto}.certificate-content{width:100%}.certificate-page-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:18px auto 24px;max-width:1450px}.certificate-page-head h1{margin:4px 0 6px;font-size:clamp(30px,4vw,48px)}.certificate-page-head p{margin:0;color:var(--muted)}.certificate-actions{display:flex;gap:10px;flex-wrap:wrap}.certificate-canvas-wrap{width:100%;background:#111;padding:8px;border-radius:14px;box-shadow:var(--shadow);overflow:auto}.certificate-canvas-wrap canvas{display:block;width:100%;height:auto;max-width:1536px;margin:0 auto;background:#fff}.certificate-disclaimer{max-width:1200px;margin:22px auto}.certificate-disclaimer strong{color:var(--red)}
@media(max-width:800px){.certificate-unlocked,.certificate-page-head{flex-direction:column;align-items:stretch}.certificate-btn{width:100%}.certificate-actions .btn{flex:1}.certificate-page{width:98vw}.certificate-canvas-wrap{padding:3px;border-radius:8px}}
@media print{header.top,.shared-footer,.certificate-page-head,.certificate-disclaimer{display:none!important}body{background:#fff}.certificate-page{width:100%;margin:0}.certificate-canvas-wrap{padding:0;box-shadow:none;border-radius:0;background:#fff;overflow:visible}.certificate-canvas-wrap canvas{width:100%;max-width:none}}


/* Certificate and official practical examination information */
.certificate-info-section{padding:44px 0;background:linear-gradient(135deg,#f4f7fb,#fff)}
.certificate-info-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:28px;align-items:stretch}
.certificate-info-main,.exam-fees-card,.course-certificate-notice{background:#fff;border:1px solid #dfe5ee;border-radius:18px;box-shadow:var(--shadow);padding:28px}
.certificate-info-main h2{font-size:clamp(28px,3.5vw,42px);margin:8px 0 12px;color:var(--navy)}
.certificate-info-main h3{color:var(--navy);margin-top:24px}
.certificate-info-main p{line-height:1.7;color:var(--muted)}
.certificate-warning{margin:20px 0;padding:15px 18px;border-left:5px solid var(--red);background:#fff3f3;border-radius:8px;line-height:1.55}
.exam-fees-card{border-top:6px solid #c99719}.exam-fees-card h3{margin-top:0;color:var(--navy);font-size:25px}.exam-fees-card small{display:block;margin-top:17px;color:var(--muted);line-height:1.45}
.exam-fee-row{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #e6e9ee}.exam-fee-row span{line-height:1.35}.exam-fee-row strong{white-space:nowrap;color:var(--navy)}.exam-fee-row.highlight{margin-top:7px;padding:14px 12px;background:#fff7df;border-radius:10px;border:1px solid #ead18b}
.course-certificate-notice{margin:22px 0 12px;display:grid;grid-template-columns:1fr 1fr;gap:28px;border-left:6px solid #c99719}.course-certificate-notice h2,.course-certificate-notice h3{color:var(--navy);margin:7px 0 10px}.course-certificate-notice p{color:var(--muted);line-height:1.6}
.exam-fees-inline{margin:0 0 26px;padding:13px 17px;background:#0b1d35;color:#fff;border-radius:10px;line-height:1.55}.exam-fees-inline strong{color:#f4cb62}
.course-cert-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 20px;padding:14px 18px;border-radius:12px;background:#f7f9fc;border:1px solid #dde4ee}.course-cert-summary strong{color:var(--navy);white-space:nowrap}.course-cert-summary span{flex:1;min-width:260px;color:var(--muted)}.course-cert-summary a{font-weight:800;color:var(--red)}
@media(max-width:850px){.certificate-info-grid,.course-certificate-notice{grid-template-columns:1fr}.certificate-info-main,.exam-fees-card,.course-certificate-notice{padding:20px}.exam-fees-inline{font-size:14px}}

/* Coming soon course catalog */
.catalog-section{margin:42px 0}.catalog-section-head{margin-bottom:20px}.catalog-section-head h2{font-size:clamp(28px,4vw,40px);margin:0 0 8px;color:var(--navy)}.catalog-section-head p{margin:0;color:var(--muted);line-height:1.6;max-width:850px}.coming-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.coming-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow);position:relative;overflow:hidden}.coming-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(var(--navy),var(--red))}.coming-pill{display:inline-block;background:#fff1d2;color:#795600;border:1px solid #ecd18a;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:950;letter-spacing:1px}.coming-card h3{margin:14px 0 8px;font-size:22px;color:var(--navy)}.coming-card p{color:var(--muted);line-height:1.55;margin:0 0 16px}.planned-price{font-size:20px;font-weight:950;color:var(--red)}.planned-price small{font-size:12px;color:var(--muted);font-weight:750}.coming-note{background:#eef4ff;border-left:5px solid var(--navy2);padding:16px 18px;border-radius:10px;color:#34415d;line-height:1.6;margin:20px 0 0}.mini-grid .coming-card{padding:19px}.mini-grid .coming-card h3{font-size:20px}
@media(max-width:900px){.coming-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.coming-grid{grid-template-columns:1fr}}

/* Student/dog details and closed-certificate state */
.dog-profile-card{margin:18px 0 26px;padding:20px;border-radius:18px;background:#fff;border:1px solid #dfe6f2;box-shadow:0 10px 30px rgba(5,31,76,.06)}
.dog-profile-card p{margin:.35rem 0 0;color:#596a84}
.dog-profile-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;margin-top:16px}
.dog-profile-fields label{font-weight:700;color:#08275b}
.dog-profile-fields input{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #cbd7ea;border-radius:10px;font:inherit}
.status.certificate-closed{background:#eef2f7;color:#24354f}
@media(max-width:760px){.dog-profile-fields{grid-template-columns:1fr}.dog-profile-fields .btn{width:100%}}

.knpv-home-experience{max-width:1200px;margin:44px auto;padding:0 22px}
.knpv-home-inner{display:flex;gap:28px;align-items:center;background:#fff;border:1px solid #dde3ee;border-left:5px solid #c99a24;border-radius:14px;padding:28px 30px;box-shadow:0 10px 30px rgba(0,0,0,.06)}
.knpv-home-badge{width:150px;min-width:150px;height:150px;border-radius:50%;background:#071735;border:5px double #c99a24;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.knpv-home-badge strong{font-size:30px;letter-spacing:2px;color:#f2c654}
.knpv-home-badge span{font-size:10px;letter-spacing:1px;margin-top:6px}
.knpv-home-copy{flex:1}
.knpv-home-kicker{font-size:12px;font-weight:800;letter-spacing:1.4px;color:#a8770d}
.knpv-home-copy h2{margin:6px 0 12px;color:#081f4d}
.knpv-home-copy p{line-height:1.7;color:#222}
.knpv-independent-note{font-size:13px;color:#666!important;margin-bottom:0}
.certificate-dashboard-note{margin-top:8px;font-size:.9rem;line-height:1.45;color:#4f5a6b}
@media(max-width:700px){.knpv-home-inner{flex-direction:column;text-align:center}.knpv-home-badge{width:120px;min-width:120px;height:120px}}


/* ===== K9 ELITE HOMEPAGE RESTYLE: MATCH EXISTING ACADEMY ===== */
body.home-page,
body:has(.academy-light-section){
  background:#f4f7fb;
  color:#10274f;
}

body:has(.academy-light-section) main{
  background:#f4f7fb;
}

body:has(.academy-light-section) h1,
body:has(.academy-light-section) h2,
body:has(.academy-light-section) h3{
  color:#10274f;
}

body:has(.academy-light-section) p{
  color:#263b5f;
}

body:has(.academy-light-section) .btn,
body:has(.academy-light-section) .button,
body:has(.academy-light-section) a.btn{
  background:#ef1b2d;
  color:#fff;
  border:0;
  box-shadow:0 8px 18px rgba(239,27,45,.18);
}

body:has(.academy-light-section) .btn:hover,
body:has(.academy-light-section) a.btn:hover{
  background:#c91424;
}

.academy-light-section{
  max-width:1200px;
  margin:42px auto;
  padding:0 22px;
}

.knpv-home-inner{
  display:flex;
  gap:28px;
  align-items:center;
  background:#fff;
  border:1px solid #dce4ef;
  border-top:4px solid #10274f;
  border-radius:14px;
  padding:28px 30px;
  box-shadow:0 10px 28px rgba(14,39,80,.08);
}

.knpv-home-badge{
  width:145px;
  min-width:145px;
  height:145px;
  border-radius:50%;
  background:#10274f;
  border:4px solid #d8ad45;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.knpv-home-badge strong{
  color:#fff;
  font-size:30px;
  letter-spacing:1px;
}

.knpv-home-badge span{
  color:#d8ad45;
  font-size:10px;
  margin-top:5px;
  letter-spacing:1px;
}

.knpv-home-kicker{
  color:#ef1b2d;
  font-weight:800;
  letter-spacing:1.2px;
  font-size:12px;
}

.knpv-home-copy h2{
  color:#10274f;
  margin:6px 0 12px;
}

.knpv-home-copy p{
  color:#31466b;
  line-height:1.7;
}

.knpv-independent-note{
  color:#6c7890!important;
  font-size:13px;
  margin-bottom:0;
}

.programs-more-note{
  max-width:900px;
  margin:8px auto 24px;
  padding:14px 18px;
  text-align:center;
  background:#fff;
  border:1px solid #dce4ef;
  border-left:4px solid #ef1b2d;
  border-radius:10px;
  color:#31466b!important;
  box-shadow:0 6px 18px rgba(14,39,80,.05);
}

.protection-facility-card{
  max-width:1200px;
  margin:28px auto 42px;
  padding:24px 28px;
  background:#10274f;
  border-radius:14px;
  border-top:4px solid #ef1b2d;
  box-shadow:0 10px 28px rgba(14,39,80,.12);
}

.protection-facility-card h3{
  color:#fff!important;
  margin:0 0 10px;
}

.protection-facility-card p{
  color:#e9eef7!important;
  line-height:1.7;
  margin:0;
}

body:has(.academy-light-section) .course-card,
body:has(.academy-light-section) .feature-card,
body:has(.academy-light-section) .card{
  background:#fff;
  border:1px solid #dce4ef;
  box-shadow:0 8px 22px rgba(14,39,80,.07);
}

body:has(.academy-light-section) .accent,
body:has(.academy-light-section) .eyebrow{
  color:#ef1b2d;
}

@media(max-width:700px){
  .knpv-home-inner{
    flex-direction:column;
    text-align:center;
  }
  .knpv-home-badge{
    width:118px;
    min-width:118px;
    height:118px;
  }
  .protection-facility-card{
    margin-left:18px;
    margin-right:18px;
  }
}

.certificate-download-link{
  display:inline-block;
  margin-top:12px;
  background:#ef1b2d!important;
  color:#fff!important;
  text-decoration:none;
}
.certificate-dashboard-note{
  margin-top:10px;
  font-size:.9rem;
  line-height:1.45;
  color:#455675;
}

.course-showcase-intro{margin:8px auto 0;max-width:760px;color:#44526c;font-size:17px;line-height:1.5}
.course-group-title{text-align:left;margin:18px 0 14px;font-size:24px;color:#061b48}
.specialist-title{margin-top:34px}
.all-courses-cta{text-align:center;margin:30px 0 8px}
.all-courses-cta .btn{min-width:220px;font-size:17px}

/* Home page readability improvements */
.hero p,
.hero .subtitle,
.hero .eyebrow,
.hero-copy p,
.hero-copy .subtitle,
.home-hero p,
.home-hero .subtitle {
  color: #ffffff !important;
  opacity: 1 !important;
}

.benefits,
.benefit-strip,
.feature-strip,
.why-strip {
  color: #ffffff;
}
.benefits h3, .benefits h4, .benefits p,
.benefit-strip h3, .benefit-strip h4, .benefit-strip p,
.feature-strip h3, .feature-strip h4, .feature-strip p,
.why-strip h3, .why-strip h4, .why-strip p {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Student Dashboard / My Courses separation */
.mycourses-intro{margin:28px 0 18px}
.mycourses-intro h2{margin:0 0 6px;color:#061b48}
.mycourses-intro p{margin:0;color:#53627a;max-width:820px;line-height:1.55}

.dashboard-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;margin-bottom:24px}
.dashboard-welcome h2{margin:4px 0 8px;color:#061b48;font-size:30px}
.dashboard-welcome p{margin:0;color:#53627a;line-height:1.5}
.dashboard-eyebrow{display:block;font-size:12px;font-weight:900;letter-spacing:.12em;color:#ed1424}

.student-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.student-stat{background:#071f4d;color:#fff;border-radius:16px;padding:24px;text-align:center;box-shadow:0 8px 22px rgba(6,27,72,.08)}
.student-stat strong{display:block;font-size:36px;line-height:1;margin-bottom:8px}
.student-stat span{font-size:14px;font-weight:700;color:#fff}

.dashboard-grid{display:grid;grid-template-columns:1.25fr .9fr;gap:20px;margin-bottom:24px}
.dashboard-panel{padding:24px}
.dashboard-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.dashboard-panel-head h2{margin:4px 0 0;color:#061b48}
.dashboard-panel-head a{font-weight:800;color:#ed1424;text-decoration:none}

.dashboard-course-row,.dashboard-certificate-row{display:grid;grid-template-columns:68px 1fr auto;align-items:center;gap:14px;padding:12px;border:1px solid #e3e8f1;border-radius:14px;text-decoration:none;color:#061b48;margin-bottom:10px;background:#fff}
.dashboard-course-row img{width:68px;height:56px;object-fit:cover;border-radius:10px}
.dashboard-course-row span,.dashboard-certificate-row span{display:block;color:#67748a;font-size:13px;margin-top:3px}
.dashboard-course-row b,.dashboard-certificate-row b{font-size:13px;color:#ed1424;white-space:nowrap}
.dashboard-cert-icon{display:grid!important;place-items:center;width:52px;height:52px;border-radius:50%;background:#071f4d;color:#fff!important;font-size:22px;margin:0!important}
.dashboard-certificate-row{grid-template-columns:52px 1fr auto}
.dashboard-empty{padding:20px;background:#f5f7fb;border-radius:12px;color:#53627a}
.dashboard-empty a{color:#ed1424;font-weight:800}

.dashboard-actions{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px}
.dashboard-actions h2{margin:0 0 5px;color:#061b48}
.dashboard-actions p{margin:0;color:#53627a}
.dashboard-action-buttons{display:flex;gap:10px;flex-wrap:wrap}

@media(max-width:850px){
  .student-stats{grid-template-columns:repeat(2,1fr)}
  .dashboard-grid{grid-template-columns:1fr}
  .dashboard-welcome,.dashboard-actions{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .student-stats{grid-template-columns:1fr 1fr}
  .dashboard-course-row,.dashboard-certificate-row{grid-template-columns:54px 1fr}
  .dashboard-course-row img{width:54px;height:48px}
  .dashboard-course-row b,.dashboard-certificate-row b{grid-column:2}
}

/* High-contrast benefit strip */
.benefits h1,.benefits h2,.benefits h3,.benefits h4,.benefits p,.benefits span,
.benefit h1,.benefit h2,.benefit h3,.benefit h4,.benefit p,.benefit span,
.feature-strip h1,.feature-strip h2,.feature-strip h3,.feature-strip h4,.feature-strip p,.feature-strip span,
.features h1,.features h2,.features h3,.features h4,.features p,.features span,
.feature h1,.feature h2,.feature h3,.feature h4,.feature p,.feature span,
.why-strip h1,.why-strip h2,.why-strip h3,.why-strip h4,.why-strip p,.why-strip span {
  color:#fff !important;
  opacity:1 !important;
}

/* EXACT FIX: home-page dark blue academy benefits strip */
body .academy-benefits,
body .academy-benefits .benefit-grid,
body .academy-benefits .benefit-grid > div {
  color:#ffffff !important;
}
body .academy-benefits .benefit-grid h3 {
  color:#ffffff !important;
  opacity:1 !important;
  font-weight:800 !important;
}
body .academy-benefits .benefit-grid p {
  color:#ffffff !important;
  opacity:1 !important;
}
body .academy-benefits .benefit-grid b {
  color:#ffffff !important;
  opacity:1 !important;
  border-color:#ffffff !important;
}

/* Final home hero contrast fix */
.hero-copy > p,
.hero-content > p,
.hero-text > p,
.academy-hero p,
.home-hero p {
  color:#fff !important;
  opacity:1 !important;
}

/* Final requested home hero contrast */
.hero-title,
.hero-title .muted,
.hero-copy h1,
.hero-copy p {
  color:#fff !important;
  opacity:1 !important;
}
.hero-title .red,
.hero-title .accent {
  color:#ff1727 !important;
}

/* Readability: Certificates & Practical Examinations heading */
.certificates-section .eyebrow,
.certificate-section .eyebrow,
.certificates .eyebrow,
.practical-exams .eyebrow,
.exam-section .eyebrow,
.certificate-exam-label {
  color:#17345f !important;
  opacity:1 !important;
}

.certificate-info-section .academy-kicker{
  color:#17345f !important;
  opacity:1 !important;
}

/* High contrast for K9 ELITE PHILIPPINES ONLINE ACADEMY hero label */
.academy-label,
.academy-eyebrow,
.hero-kicker,
.hero .kicker,
.hero-copy .kicker,
.home-hero .kicker,
.academy-hero .kicker,
.hero .academy-name,
.hero-copy .academy-name {
  color:#ffffff !important;
  opacity:1 !important;
}

/* EXACT home hero academy label fix */
body.home-page .academy-hero .academy-kicker{
  color:#ffffff !important;
  opacity:1 !important;
}

/* Coming Soon: supervised protection training notice */
.protection-coming-card{
  border:2px solid #ed1424;
  background:linear-gradient(180deg,#fff 0%,#fff7f8 100%);
}
.protection-coming-card strong{color:#9e1020}
.protection-pill{background:#071f4d!important;color:#fff!important}
.protection-more-btn{
  display:inline-block;
  margin-top:10px;
  text-decoration:none;
}

/* Personal Protection now uses the same Coming Soon card styling as all other planned courses */
.coming-grid .coming-card.protection-coming-card{
  border:1px solid #e3e8f1 !important;
  background:#fff !important;
}
.protection-more-btn{margin-top:12px}

/* Course price sorting controls */
.course-sort-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 16px}.course-sort-label{font-size:13px;font-weight:700;color:#0a2556;margin-right:2px}.course-sort-btn{border:1px solid #cbd5e1;background:#fff;color:#0a2556;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 2px 7px rgba(15,23,42,.06)}.course-sort-btn:hover,.course-sort-btn.active{background:#0a2556;color:#fff;border-color:#0a2556}

/* Main-site legal links in shared academy footer */
.shared-footer .footer-legal-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px 9px;width:100%;margin:4px auto 2px;font-size:13px;line-height:1.6}
.shared-footer .footer-legal-links a{color:#fff!important;text-decoration:none;font-weight:700}
.shared-footer .footer-legal-links a:hover{color:#ff3441!important;text-decoration:underline}
.shared-footer .footer-legal-links span{color:#9fb2d2}
@media(max-width:700px){.shared-footer .footer-legal-links{font-size:12px;gap:5px 7px}}

/* Personal Protection card matches the standard course/payment card footprint */
.protection-catalog-card{display:flex;flex-direction:column}
.protection-catalog-card .catalog-cover{height:210px}
.protection-catalog-card .catalog-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.protection-catalog-card .course-card-body{display:flex;flex-direction:column;flex:1}
.protection-catalog-card .course-card-body p{min-height:76px}
.protection-catalog-card .protection-no-price{font-size:18px;color:var(--navy);margin:3px 0 12px}
.protection-catalog-card .protection-card-btn{width:100%;margin-top:auto}
@media(max-width:600px){.protection-catalog-card .catalog-cover{height:210px}.protection-catalog-card .course-card-body p{min-height:0}}

/* 2026-08-18: keep Personal Protection and Puppy Home covers fully visible */
.protection-home-card .course-image,
.academy-course-card:has(img[src*="puppy-home-cover"]) .course-image{
  height:auto;
  aspect-ratio:3/2;
  background:#fff;
}
.protection-home-card .course-image img,
.academy-course-card:has(img[src*="puppy-home-cover"]) .course-image img{
  width:100%;height:100%;object-fit:contain;object-position:center;display:block;
}
.protection-catalog-card .catalog-cover,
.course-card:has(img[src*="puppy-home-cover"]) .catalog-cover{
  height:auto;
  aspect-ratio:3/2;
  background:#fff;
}
.protection-catalog-card .catalog-cover img,
.course-card:has(img[src*="puppy-home-cover"]) .catalog-cover img{
  width:100%;height:100%;object-fit:contain;object-position:center;display:block;
}

/* 2026-08-19: Puppy Home cover only — reduce image size inside existing card; all other cards unchanged */
.course-card:has(img[src*="puppy-home-cover"]) .catalog-cover img{
  width:88%;height:88%;object-fit:contain;object-position:center;margin:auto;
}


/* 2026-08-19: standardized payment/module cover images */
.catalog-cover:has(img[src*="assets/payment-covers/"]) {height:230px !important; aspect-ratio:auto !important; background:#dfe7f4 !important;}
.catalog-cover:has(img[src*="assets/payment-covers/"]) img {width:100% !important;height:100% !important;object-fit:cover !important;object-position:center !important;margin:0 !important;}
.academy-course-card .course-image:has(img[src*="assets/payment-covers/"]) {height:192px !important;aspect-ratio:auto !important;background:#dfe7f4 !important;}
.academy-course-card .course-image:has(img[src*="assets/payment-covers/"]) img {width:100% !important;height:100% !important;object-fit:cover !important;object-position:center !important;margin:0 !important;}
.coming-cover{height:170px;margin:-22px -22px 16px;overflow:hidden;background:#dfe7f4;border-radius:18px 18px 0 0;}
.coming-cover img{width:100%;height:100%;object-fit:cover;display:block;}
@media(max-width:600px){.catalog-cover:has(img[src*="assets/payment-covers/"]){height:210px !important}.coming-cover{height:190px}}

/* === K9 Elite Academy UX Upgrade — 2026-08-19 === */
.narrow{max-width:920px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}.academy-kicker{font-size:12px;font-weight:900;letter-spacing:.12em;color:#b10e1b}.course-toolbar{display:grid;gap:14px;margin:18px 0 22px;padding:18px}.course-search{display:grid;gap:6px;font-size:12px;font-weight:800;color:#17345f}.course-search input,.profile-form input,.verify-form input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #cad4e2;border-radius:10px;background:#fff;font:inherit}.category-filters{display:flex;gap:8px;flex-wrap:wrap}.category-btn{border:1px solid #cbd5e1;background:#fff;color:#17345f;border-radius:999px;padding:8px 13px;font-weight:800;cursor:pointer}.category-btn.active,.category-btn:hover{background:#0a2556;color:#fff;border-color:#0a2556}.course-card-body{display:flex;flex-direction:column}.course-card-body p{flex:1}.course-card-topline{display:flex;justify-content:space-between;align-items:center;gap:8px}.course-level{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#9e1020;background:#fff1f2;border:1px solid #fecdd3;border-radius:999px;padding:5px 8px}.course-card-facts{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 4px}.course-card-facts span{font-size:11px;font-weight:800;background:#eef3f9;color:#17345f;border-radius:999px;padding:5px 8px}.course-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.course-card-actions .btn{text-align:center}.k9-modal-backdrop{position:fixed;inset:0;background:rgba(3,13,35,.72);z-index:9999;display:grid;place-items:center;padding:18px}.k9-modal{position:relative;width:min(620px,100%);background:#fff;border-radius:18px;padding:26px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.k9-modal-x{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer}.k9-order-row{display:grid;grid-template-columns:92px 1fr auto;gap:14px;align-items:center;margin:18px 0;padding:14px;background:#f6f8fc;border-radius:12px}.k9-order-row img{width:92px;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.k9-order-row div{display:grid;gap:4px}.k9-order-row span{font-size:12px;color:#64748b}.k9-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.course-progress-hero{display:grid;grid-template-columns:1fr 210px;gap:28px;align-items:center;margin-bottom:22px}.course-resume-box{display:grid;text-align:center;gap:8px;background:#f6f8fc;padding:18px;border-radius:14px}.course-resume-box strong{font-size:38px;color:#0a2556}.course-resume-box span{font-size:12px;font-weight:800;color:#64748b}.course-progress-text{font-size:13px;font-weight:800;color:#334155}.next-course-recommendation{margin:28px 0;display:flex;gap:20px;align-items:center;background:#071f4d;color:#fff;border-radius:18px;padding:20px}.next-course-recommendation img{width:240px;max-width:38%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.next-course-recommendation h2,.next-course-recommendation p{color:#fff}.lesson-progress-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.lesson-progress{margin:10px 0 18px}.auto-next{display:flex;align-items:center;gap:8px;margin:12px 0 30px;font-size:13px;color:#475569}.profile-form{padding:24px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.profile-grid label,.verify-form label{display:grid;gap:7px;font-size:12px;font-weight:900;color:#17345f}.dashboard-course-progress{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #e7ecf3}.dashboard-course-progress:last-child{border-bottom:0}.dashboard-course-progress img{width:150px;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.dashboard-course-info{display:grid;gap:9px}.dashboard-course-info>div:first-child{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.dashboard-course-info span{font-size:12px;color:#64748b}.my-course-card .progress{margin:10px 0}.faq-list{display:grid;gap:12px}.faq-list details{background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:0 18px}.faq-list summary{padding:17px 0;font-weight:900;color:#0a2556;cursor:pointer}.faq-list p{padding:0 0 18px;margin:0;color:#475569;line-height:1.65}.faq-contact{margin-top:22px}.verify-form{display:flex;align-items:end;gap:12px;margin-bottom:18px;padding:20px}.verify-form label{flex:1}.certificate-verify-valid{display:grid;grid-template-columns:70px 1fr;gap:18px;align-items:start;border:2px solid #16a34a}.verify-check{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#16a34a;color:#fff;font-size:30px;font-weight:900}.certificate-verify-valid dl{display:grid;grid-template-columns:130px 1fr;gap:8px 12px}.certificate-verify-valid dt{font-weight:900;color:#64748b}.certificate-verify-valid dd{margin:0;color:#111827}.seo-course-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:center;margin:22px 0}.seo-course-hero>img{width:100%;border-radius:18px;aspect-ratio:16/9;object-fit:cover}.seo-course-facts{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.seo-course-facts span{background:#eef3f9;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;color:#17345f}.seo-course-copy{max-width:900px;margin:0 auto 30px}.home-upgrade-section,.verified-reviews-section,.home-faq-cta{max-width:1200px;margin:48px auto;padding:0 20px}.academy-section-head{max-width:720px;margin-bottom:20px}.journey-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.journey-grid article{background:#fff;border:1px solid #dfe6f0;border-radius:16px;padding:20px}.journey-grid strong{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#b10e1b;color:#fff}.verified-reviews-section>div{background:#071f4d;color:#fff;border-radius:18px;padding:26px}.verified-reviews-section h2,.verified-reviews-section p{color:#fff}.home-faq-cta{display:flex;justify-content:space-between;align-items:center;gap:18px}.home-faq-cta>div{max-width:720px}
@media(max-width:800px){.course-card-actions{grid-template-columns:1fr}.course-progress-hero,.seo-course-hero{grid-template-columns:1fr}.next-course-recommendation{align-items:flex-start}.next-course-recommendation img{width:180px}.profile-grid{grid-template-columns:1fr}.journey-grid{grid-template-columns:1fr 1fr}.dashboard-course-progress{grid-template-columns:110px 1fr}.dashboard-course-progress img{width:110px}.home-faq-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.k9-order-row{grid-template-columns:76px 1fr}.k9-order-row>b{grid-column:2}.viewer-controls{display:grid!important;grid-template-columns:1fr 1fr}.viewer-controls #complete{grid-column:1/-1;grid-row:1}.journey-grid{grid-template-columns:1fr}.next-course-recommendation{display:block}.next-course-recommendation img{max-width:none;width:100%;margin-bottom:14px}.verify-form{display:grid}.certificate-verify-valid{grid-template-columns:1fr}.certificate-verify-valid dl{grid-template-columns:1fr}.dashboard-course-progress{grid-template-columns:1fr}.dashboard-course-progress img{width:100%}}


/* FINAL FIX — Home Student Reviews text */
.verified-reviews-section > div h2,
.verified-reviews-section > div p {
  color: #ffffff !important;
  opacity: 1 !important;
}
.verified-reviews-section > div .academy-kicker {
  color: #ff1a24 !important;
  opacity: 1 !important;
}

/* FINAL FIX — Courses page: keep complete payment image + K9E logo visible */
#catalog .course-card .catalog-cover,
#catalog .protection-catalog-card .catalog-cover {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #eef3f9 !important;
}

#catalog .course-card .catalog-cover img,
#catalog .protection-catalog-card .catalog-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(.94) !important;
  transform-origin: center center !important;
  transition: none !important;
}

#catalog .course-card:hover .catalog-cover img,
#catalog .protection-catalog-card:hover .catalog-cover img {
  transform: scale(.94) !important;
}

/* Certificate achievement thumbnail */
.dashboard-certificate-row{grid-template-columns:96px 1fr auto;align-items:center}
.dashboard-cert-thumb{width:96px;aspect-ratio:3/2;object-fit:cover;border-radius:8px;border:1px solid #d7dce5;box-shadow:0 3px 10px rgba(7,31,77,.12);background:#fff}
.dashboard-certificate-row small{display:block;margin-top:5px;color:#8a5a00;font-size:12px;font-weight:700}
@media(max-width:700px){.dashboard-certificate-row{grid-template-columns:82px 1fr}.dashboard-cert-thumb{width:82px}.dashboard-certificate-row b{grid-column:2}}

/* Academy FAQ visual CTA */
.academy-faq-image-link{display:block;align-self:stretch;border-radius:18px;overflow:hidden;min-height:180px;background:#071f4e;box-shadow:0 10px 24px rgba(7,31,78,.12);transition:transform .22s ease,box-shadow .22s ease}
.academy-faq-image-link img{display:block;width:100%;height:100%;min-height:180px;object-fit:cover;object-position:center}
.academy-faq-image-link:hover{transform:translateY(-3px) scale(1.01);box-shadow:0 16px 30px rgba(7,31,78,.2)}
.academy-faq-image-link:focus-visible{outline:4px solid #ef1723;outline-offset:3px}
@media(max-width:850px){.academy-faq-image-link,.academy-faq-image-link img{min-height:0;height:auto}.academy-faq-image-link img{aspect-ratio:2/1;object-fit:cover}}
/* FAQ image fills its complete placeholder */
.course-certificate-notice .academy-faq-image-link{height:100%;min-height:0;align-self:stretch;background:#071f4e}
.course-certificate-notice .academy-faq-image-link img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;display:block}
@media(max-width:850px){.course-certificate-notice .academy-faq-image-link{height:auto}.course-certificate-notice .academy-faq-image-link img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}}
/* FAQ certificate banner: image fills its entire right-side holder edge-to-edge */
.course-certificate-notice{padding:0;overflow:hidden;align-items:stretch}
.course-certificate-notice>div:first-child{padding:28px}
.course-certificate-notice .academy-faq-image-link{margin:0;border-radius:0;height:100%;min-height:100%;align-self:stretch;box-shadow:none}
.course-certificate-notice .academy-faq-image-link img{width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center;display:block}
.course-certificate-notice .academy-faq-image-link:hover{transform:scale(1.015);box-shadow:none}
@media(max-width:850px){
 .course-certificate-notice{padding:0}
 .course-certificate-notice>div:first-child{padding:20px}
 .course-certificate-notice .academy-faq-image-link{height:auto;min-height:0;border-radius:0}
 .course-certificate-notice .academy-faq-image-link img{width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:cover}
}

/* Student review submission + admin validation */
.course-review-box{margin:26px 0 8px;background:#fff;border:1px solid #d8e2ee;border-left:6px solid #ef1728;border-radius:18px;padding:26px;box-shadow:0 10px 30px rgba(8,38,92,.08)}
.course-review-box h2{margin:5px 0 8px;color:#08265c}.course-review-box p{color:#536783;line-height:1.6}.review-status{margin:16px 0;padding:14px 16px;border-radius:12px;background:#eef3f9;color:#334155}.review-status.pending{background:#fff7df;border-left:5px solid #d39a00}.review-status.approved{background:#eaf8ef;border-left:5px solid #16a34a}.review-status.rejected{background:#fff0f0;border-left:5px solid #dc2626}
.review-form{display:grid;gap:15px;margin-top:18px}.review-form-grid{display:grid;grid-template-columns:180px 1fr;gap:14px}.review-form label{display:grid;gap:7px;font-size:12px;font-weight:900;color:#17345f}.review-form select,.review-form input,.review-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd6e4;border-radius:10px;padding:12px 13px;font:inherit;background:#fff;color:#172033}.review-form textarea{min-height:135px;resize:vertical}.review-form small{color:#64748b}.review-form .btn{justify-self:start}
#studentReviewGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px;align-items:stretch}.student-review-card{background:#fff;color:#082557;border-radius:18px;padding:28px;box-sizing:border-box;min-height:290px;overflow:visible}.student-review-stars{color:#e11922;font-size:25px;letter-spacing:3px;margin-bottom:8px}.student-review-course{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.06em;color:#fff;background:#08265c;border-radius:999px;padding:5px 9px;margin-bottom:12px}.student-review-card h3{color:#082557;margin:0 0 14px;font-size:22px;line-height:1.35}.student-review-card p{color:#324b70!important;margin:0 0 20px!important;font-size:16px!important;line-height:1.7!important}.student-review-card strong{display:block;color:#082557;font-size:16px}
.admin-review-meta{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.admin-review-meta span{font-size:12px;font-weight:800;border-radius:999px;background:#eef3f9;color:#17345f;padding:5px 9px}.review-pending-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-left:5px;border-radius:999px;background:#ef1728;color:#fff;font-size:11px;font-weight:900}
@media(max-width:760px){.review-form-grid,#studentReviewGrid{grid-template-columns:1fr}.course-review-box{padding:20px}}
