/*
Theme Name: BEST Business
Theme URI: https://best.biz.pk/
Author: BEST
Description: Modern presentation theme for Business Excellence Support Team. Operational functionality belongs in BEST Core.
Version: 0.3.61
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: best-business
*/
:root{--best-blue:#075f9b;--best-blue2:#0b76b8;--best-navy:#0c2638;--best-navy2:#123b54;--best-green:#69b343;--best-ink:#152632;--best-muted:#61717d;--best-bg:#f4f8fa;--best-line:#e0e9ee;--best-white:#fff;--best-radius:18px;--best-shadow:0 18px 50px rgba(13,48,69,.09);--best-max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--best-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;background:#fff}a{color:var(--best-blue)}img{max-width:100%;height:auto}main{min-height:50vh}.best-container{width:min(calc(100% - 40px),var(--best-max));margin:auto}.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid #e8eef2;position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}.header-inner{min-height:82px;display:flex;align-items:center;gap:30px}.site-branding{margin-right:auto}.site-branding>a{display:flex;align-items:baseline;gap:7px;font-size:30px;font-weight:900;letter-spacing:-.04em;text-decoration:none;color:var(--best-blue)}.site-branding span,.best-footer-logo span{color:var(--best-green)}.site-branding small{display:block;font-size:10px;letter-spacing:.04em;color:#71818b;font-weight:700}.custom-logo{max-height:58px;width:auto}.site-nav ul{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}.site-nav a{text-decoration:none;color:var(--best-ink);font-weight:650;font-size:15px;transition:.2s}.site-nav a:hover{color:var(--best-blue)}.best-account-nav{display:flex;align-items:center;gap:13px}.best-account-link,.best-logout-link{font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}.best-account-link{color:var(--best-blue)}.best-logout-link{color:#6c7c86;padding-left:13px;border-left:1px solid var(--best-line)}.best-account-link:hover,.best-logout-link:hover{color:var(--best-green)}..best-header-cta{background:var(--best-blue);color:#fff;text-decoration:none;padding:11px 17px;border-radius:10px;font-weight:750;font-size:14px}.menu-toggle{display:none;border:0;background:transparent;padding:8px}.menu-toggle span{display:block;width:24px;height:2px;background:var(--best-navy);margin:5px}.best-hero{position:relative;overflow:hidden;padding:96px 0 90px;background:linear-gradient(125deg,#f7fbfd 0%,#eef7fb 58%,#f4f9ef 100%)}.best-hero:before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;right:-250px;top:-280px;background:radial-gradient(circle,rgba(105,179,67,.18),rgba(105,179,67,0) 68%)}.best-hero:after{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(7,95,155,.10);border-radius:50%;right:9%;bottom:-280px}.best-hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:1.12fr .88fr;gap:72px;align-items:center}.best-eyebrow{display:flex;align-items:center;gap:10px;color:var(--best-blue);font-size:12px;text-transform:uppercase;letter-spacing:.13em;font-weight:850}.best-eyebrow>span{width:28px;height:3px;border-radius:3px;background:var(--best-green)}.best-hero h1{font-size:clamp(44px,5.4vw,72px);line-height:1.03;letter-spacing:-.045em;margin:18px 0 24px;max-width:780px}.best-hero h1 em{font-style:normal;color:var(--best-blue)}.best-hero__lead{font-size:20px;line-height:1.65;color:var(--best-muted);max-width:690px;margin:0}.best-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin:34px 0 28px}.best-button{display:inline-flex;align-items:center;justify-content:center;background:var(--best-blue);color:#fff!important;padding:12px 20px;border:1px solid var(--best-blue);border-radius:10px;text-decoration:none;font-weight:780;transition:.2s;line-height:1.3}.best-button:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(7,95,155,.18)}.best-button--large{padding:15px 23px}.best-button--outline{background:transparent;color:var(--best-blue)!important;border-color:#b8d2e1;padding:15px 23px}.best-button--white{background:#fff;border-color:#fff;color:var(--best-navy)!important}.best-button--green{background:var(--best-green);border-color:var(--best-green)}.best-trust-row{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;font-weight:700;color:#4c616e}.best-trust-row span:First-letter{color:var(--best-green)}.best-hero__visual{position:relative;min-height:470px;display:flex;align-items:center}.best-hero-panel{position:relative;width:100%;background:linear-gradient(155deg,var(--best-navy),var(--best-navy2));border-radius:28px;padding:34px;color:#fff;box-shadow:0 30px 70px rgba(9,37,54,.22);overflow:hidden}.best-hero-panel:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-80px;top:-70px;background:rgba(105,179,67,.13)}.best-panel-label{display:block;color:#a9c2d1;font-size:12px;text-transform:uppercase;letter-spacing:.13em;font-weight:800;margin-bottom:16px}.best-support-item{position:relative;z-index:2;display:grid;grid-template-columns:42px 1fr;gap:15px;align-items:center;padding:17px 0;border-top:1px solid rgba(255,255,255,.11)}.best-support-item b{font-size:12px;color:#8cc866;border:1px solid rgba(140,200,102,.4);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.best-support-item strong,.best-support-item span{display:block}.best-support-item strong{font-size:17px}.best-support-item span{font-size:13px;color:#b9cad4}.best-floating-card{position:absolute;right:-20px;bottom:4px;background:#fff;border-radius:14px;padding:17px 20px;box-shadow:var(--best-shadow);border:1px solid var(--best-line);max-width:220px}.best-floating-card strong,.best-floating-card span{display:block}.best-floating-card strong{color:var(--best-blue)}.best-floating-card span{font-size:12px;color:var(--best-muted)}.best-section{padding:84px 0}.best-section--soft{background:var(--best-bg)}.best-section--navy{background:linear-gradient(135deg,var(--best-navy),#123e57);color:#fff}.best-section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.best-section-heading h2,.best-value-grid h2,.best-cta h2{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.035em;margin:10px 0}.best-section-heading p{color:var(--best-muted);margin:0;max-width:680px;font-size:17px}.best-heading-link{white-space:nowrap;margin-bottom:8px}.best-services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.best-service{display:flex;flex-direction:column;padding:27px;background:#fff;border:1px solid var(--best-line);border-radius:var(--best-radius);box-shadow:0 8px 28px rgba(13,48,69,.04);transition:.22s}.best-service:hover{transform:translateY(-4px);box-shadow:var(--best-shadow);border-color:#c9dce6}.best-service-icon{width:48px;height:48px;border-radius:13px;background:#edf6fb;color:var(--best-blue);display:grid;place-items:center;font-size:22px;font-weight:850;margin-bottom:18px}.best-service h2,.best-service h3{font-size:20px;line-height:1.25;margin:0 0 10px}.best-service h2 a,.best-service h3 a{text-decoration:none;color:var(--best-ink)}.best-service p{color:var(--best-muted);font-size:14px;margin:0 0 17px}.best-service-children{display:flex;flex-direction:column;gap:5px;border-top:1px solid #edf1f3;padding-top:13px;margin:0 0 17px}.best-service-children a{font-size:12px;color:#526774;text-decoration:none}.best-service-children a:before{content:"›";color:var(--best-green);font-weight:900;margin-right:7px}.best-service-children>span{font-size:11px;color:#8a969d}.best-text-link{margin-top:auto;color:var(--best-blue);text-decoration:none;font-weight:800;font-size:14px}.best-text-link span{display:inline-block;transition:.2s}.best-text-link:hover span{transform:translateX(4px)}.best-eyebrow--light{color:#9ed8ff}.best-value-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center}.best-value-grid>div>p{color:#bed0da;max-width:560px;font-size:17px}.best-value-list>div{display:grid;grid-template-columns:48px 1fr;gap:18px;padding:20px 0;border-top:1px solid rgba(255,255,255,.12)}.best-value-list b{color:#8bc867}.best-value-list strong{display:block;font-size:18px;margin-bottom:3px}.best-value-list span{color:#c4d3dc}.best-course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.best-course-card{overflow:hidden;background:#fff;border:1px solid var(--best-line);border-radius:var(--best-radius);box-shadow:0 10px 32px rgba(13,48,69,.06);transition:.22s}.best-course-card:hover{transform:translateY(-4px);box-shadow:var(--best-shadow)}.best-course-card__image{display:block;height:190px;background:linear-gradient(135deg,#dceef7,#eef6e9);overflow:hidden;text-decoration:none}.best-course-card__image img{width:100%;height:100%;object-fit:cover;transition:.35s}.best-course-card:hover img{transform:scale(1.035)}.best-course-placeholder{height:100%;display:grid;place-items:center;font-weight:900;color:var(--best-blue);font-size:22px}.best-course-card__body{padding:23px}.best-card-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--best-green);font-weight:850}.best-course-card h3{font-size:20px;line-height:1.3;margin:8px 0 14px}.best-course-card h3 a{text-decoration:none;color:var(--best-ink)}.best-course-meta{display:flex;flex-direction:column;gap:6px;color:var(--best-muted);font-size:13px;padding-bottom:16px;margin-bottom:15px;border-bottom:1px solid #edf1f3}.best-cta{background:linear-gradient(135deg,var(--best-blue),#0b79b7);color:#fff;border-radius:26px;padding:48px 52px;display:flex;align-items:center;justify-content:space-between;gap:50px;box-shadow:0 24px 60px rgba(7,95,155,.18)}.best-cta p{color:#d8edf8;max-width:700px;margin-bottom:0}.best-cta-actions{display:flex;gap:10px;flex-wrap:wrap}.best-page-hero{padding:70px 0;background:linear-gradient(135deg,#eef7fb,#f6faef);border-bottom:1px solid var(--best-line)}.best-page-hero--compact{padding:54px 0}.best-page-hero h1{font-size:clamp(38px,5vw,58px);line-height:1.08;letter-spacing:-.04em;margin:12px 0}.best-page-hero p{font-size:18px;color:var(--best-muted);max-width:780px;margin:0}.best-services--archive{grid-template-columns:repeat(3,1fr)}.best-service--archive{padding:32px}.best-service-children--list a{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #f0f3f5;font-size:14px}.best-service-children--list a:before{display:none}.best-service-layout,.best-course-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:60px;align-items:start}.best-prose{max-width:800px;font-size:17px}.best-prose--page{margin:auto}.best-prose h2{font-size:30px;line-height:1.2;margin:38px 0 13px}.best-prose h3{font-size:23px}.best-prose p,.best-prose li{color:#455966}.best-prose li{margin-bottom:7px}.best-featured-image{border-radius:20px;margin-bottom:28px}.best-aside-card{padding:27px;border:1px solid var(--best-line);border-radius:18px;background:#fff;box-shadow:var(--best-shadow)}.best-aside-card h3{font-size:24px;line-height:1.2;margin:8px 0}.best-aside-card p{font-size:14px;color:var(--best-muted)}.best-aside-card--sticky{position:sticky;top:110px}.best-child-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.best-child-card{position:relative;background:#fff;border:1px solid var(--best-line);border-radius:16px;padding:25px}.best-child-card h3{font-size:19px;line-height:1.3;margin:0 35px 10px 0}.best-child-card h3 a{text-decoration:none;color:var(--best-ink)}.best-child-card p{font-size:14px;color:var(--best-muted)}.best-child-arrow{position:absolute;right:20px;top:20px;color:var(--best-green);font-weight:900}.best-breadcrumb{display:flex;gap:8px;font-size:13px;margin-bottom:12px}.best-breadcrumb a{text-decoration:none}.best-course-hero-grid{display:grid;grid-template-columns:1fr 390px;gap:55px;align-items:center}.best-course-summary{background:#fff;border:1px solid var(--best-line);border-radius:18px;padding:23px;display:grid;grid-template-columns:1fr 1fr;gap:17px}.best-course-summary div{border-bottom:1px solid #edf1f3;padding-bottom:10px}.best-course-summary span,.best-course-summary strong{display:block}.best-course-summary span{font-size:11px;color:var(--best-muted);text-transform:uppercase;letter-spacing:.07em}.best-course-summary strong{font-size:14px;margin-top:2px}.best-pagination{margin-top:35px}.best-pagination .nav-links{display:flex;gap:8px}.best-pagination a,.best-pagination span{padding:8px 13px;border:1px solid var(--best-line);border-radius:8px;text-decoration:none}.site-footer{background:#091f2e;color:#c3d2db;padding:68px 0 0;margin-top:0}.best-footer-grid{display:grid;grid-template-columns:1.5fr .7fr .8fr 1fr;gap:55px}.best-footer-logo{font-size:32px;font-weight:900;color:#fff;letter-spacing:-.04em}.best-footer-brand p{max-width:380px}.site-footer h3{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.08em;margin:6px 0 16px}.site-footer a{display:block;color:#c3d2db;text-decoration:none;margin:8px 0;font-size:14px}.site-footer a:hover{color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.best-footer-button{display:inline-block!important;border:1px solid #416172;padding:9px 13px;border-radius:8px;color:#fff!important}.best-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding:20px 0;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#849aa7}
@media(max-width:1020px){.site-nav ul{gap:16px}.best-header-cta{display:none}.best-services{grid-template-columns:repeat(2,1fr)}.best-hero__grid{gap:38px}.best-child-grid{grid-template-columns:repeat(2,1fr)}.best-footer-grid{grid-template-columns:1fr 1fr}.best-course-hero-grid{grid-template-columns:1fr}}
@media(max-width:820px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#fff;border-top:1px solid var(--best-line);box-shadow:0 14px 25px rgba(0,0,0,.07);padding:18px 20px}.site-nav.is-open{display:block}.site-nav ul{display:block}.site-nav li{margin:12px 0}.best-hero{padding:66px 0}.best-hero__grid,.best-value-grid,.best-service-layout,.best-course-layout{grid-template-columns:1fr}.best-hero__visual{min-height:0}.best-floating-card{right:12px}.best-course-grid{grid-template-columns:repeat(2,1fr)}.best-value-grid{gap:35px}.best-section-heading{align-items:start}.best-cta{display:block}.best-cta-actions{margin-top:25px}.best-course-register{order:-1}.best-aside-card--sticky{position:static}}
@media(max-width:580px){.best-account-nav{gap:8px}.best-account-link,.best-logout-link{font-size:12px}.best-logout-link{padding-left:8px}.best-container{width:min(calc(100% - 28px),var(--best-max))}.header-inner{min-height:70px}.site-nav{top:70px}.site-branding small{display:none}.best-hero h1{font-size:43px}.best-hero__actions,.best-trust-row{display:grid}.best-button{width:100%}.best-floating-card{position:relative;right:auto;bottom:auto;margin:-12px 15px 0}.best-section{padding:62px 0}.best-section-heading{display:block}.best-heading-link{display:inline-block;margin-top:15px}.best-services,.best-services--archive,.best-course-grid,.best-child-grid{grid-template-columns:1fr}.best-service{padding:23px}.best-cta{padding:34px 25px;border-radius:20px}.best-course-summary{grid-template-columns:1fr}.best-footer-grid{grid-template-columns:1fr;gap:28px}.best-footer-bottom{display:block}.best-course-card__image{height:175px}}

/* Frontend participant access */
.best-access-page{max-width:760px}.best-access-wrap{background:#fff;border:1px solid var(--best-line);border-radius:20px;box-shadow:var(--best-shadow);overflow:hidden}.best-access-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f6f8;border-bottom:1px solid var(--best-line)}.best-access-tabs a{text-align:center;padding:17px;text-decoration:none;color:#61717d;font-weight:800}.best-access-tabs a.active{background:#fff;color:var(--best-blue);box-shadow:inset 0 -3px var(--best-green)}.best-access-form{padding:30px}.best-access-form label{display:block;font-size:13px;font-weight:750;color:#354b59}.best-access-form input:not([type=checkbox]),.best-access-form select,.best-access-form textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid #cad8df;border-radius:9px;background:#fff;color:var(--best-ink);font:inherit}.best-access-form input:focus,.best-access-form select:focus,.best-access-form textarea:focus{outline:2px solid rgba(7,95,155,.12);border-color:var(--best-blue)}.best-access-form>label{margin-bottom:18px}.best-access-check{display:flex!important;align-items:center;gap:8px;margin:3px 0 18px}.best-access-check input{margin:0}.best-access-form button,.best-access-button{display:inline-flex;border:0;border-radius:9px;background:var(--best-blue);color:#fff!important;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer}.best-access-help{font-size:13px;color:var(--best-muted);margin:15px 0 0}.best-access-message{margin:22px 30px 0;padding:11px 13px;border-radius:8px;background:#fff6e8;border:1px solid #f2d7a8;color:#795a22;font-size:13px}.best-access-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.best-access-grid .full{grid-column:1/-1}.best-access-register button{margin-top:22px}.best-access-logged-in{padding:28px;background:#fff;border:1px solid var(--best-line);border-radius:18px}.best-access-logged-in p{margin-top:0}
@media(max-width:580px){.best-access-form{padding:22px}.best-access-grid{grid-template-columns:1fr}.best-access-grid .full{grid-column:auto}.best-access-message{margin:18px 22px 0}}

/* Contact */
.best-contact-hero{padding:68px 0}.best-contact-section{background:#fff}.best-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}.best-contact-details h2,.best-contact-form-card h2{font-size:36px;line-height:1.15;letter-spacing:-.03em;margin:10px 0 14px}.best-contact-intro{color:var(--best-muted);font-size:16px;max-width:540px}.best-contact-items{margin-top:32px}.best-contact-item{display:grid;grid-template-columns:52px 1fr;gap:16px;padding:20px 0;border-top:1px solid var(--best-line)}.best-contact-icon{width:46px;height:46px;border-radius:13px;background:#edf6fb;color:var(--best-blue);display:grid;place-items:center;font-size:20px;font-weight:900}.best-contact-item span{display:block;color:var(--best-muted);font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:800}.best-contact-item strong{display:block;font-size:17px;margin:3px 0}.best-contact-item strong a{text-decoration:none;color:var(--best-ink)}.best-contact-item p{margin:0;color:var(--best-muted);font-size:14px}.best-contact-social{padding-top:22px;border-top:1px solid var(--best-line)}.best-contact-social>span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;margin-bottom:11px}.best-contact-social>div{display:flex;gap:8px}.best-social-button{display:inline-block;background:var(--best-green);color:#fff!important;padding:9px 14px;border-radius:8px;text-decoration:none;font-weight:750;font-size:13px}.best-social-button--outline{background:#fff;color:var(--best-blue)!important;border:1px solid var(--best-line)}.best-contact-form-card{background:var(--best-bg);border:1px solid var(--best-line);border-radius:22px;padding:35px;box-shadow:var(--best-shadow)}.best-contact-form-card>p{color:var(--best-muted);margin:0 0 25px}.best-contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.best-contact-form-grid label{font-size:12px;font-weight:800;color:#3d5260}.best-contact-form-grid .full{grid-column:1/-1}.best-contact-form input,.best-contact-form select,.best-contact-form textarea{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #cad8df;border-radius:9px;background:#fff;color:var(--best-ink);font:inherit}.best-contact-form textarea{resize:vertical}.best-contact-form input:focus,.best-contact-form select:focus,.best-contact-form textarea:focus{outline:2px solid rgba(7,95,155,.12);border-color:var(--best-blue)}.best-contact-form .best-button{margin-top:20px}.best-form-note{font-size:11px!important;color:#82909a!important;margin:12px 0 0!important}.best-contact-strip{background:var(--best-blue);color:#fff;padding:30px 0}.best-contact-strip>.best-container{display:flex;align-items:center;justify-content:space-between;gap:30px}.best-contact-strip strong,.best-contact-strip span{display:block}.best-contact-strip strong{font-size:20px}.best-contact-strip span{font-size:13px;color:#d7ebf7;margin-top:3px}
@media(max-width:820px){.best-contact-grid{grid-template-columns:1fr;gap:45px}.best-contact-strip>.best-container{display:block}.best-contact-strip .best-button{margin-top:18px}}
@media(max-width:580px){.best-contact-form-card{padding:24px}.best-contact-form-grid{grid-template-columns:1fr}.best-contact-form-grid .full{grid-column:auto}}

.best-contact-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.best-contact-alert{padding:13px 15px;margin:0 0 18px;border-radius:9px;background:#fff1f0;border:1px solid #f0c3bd;color:#7b2c25}.best-contact-alert--success{background:#eefaf2;border-color:#bfe3c9;color:#245f35}

/* Structured BEST navigation */
.best-smart-nav{display:flex;align-items:center;gap:25px}.best-smart-nav>a,.best-nav-dropdown>a{color:var(--best-ink);text-decoration:none;font-size:14px;font-weight:750;white-space:nowrap}.best-nav-dropdown{position:relative;padding:27px 0}.best-nav-dropdown>a span{font-size:13px;margin-left:3px}.best-nav-menu{position:absolute;z-index:100;top:calc(100% - 8px);left:-18px;width:245px;padding:10px;background:#fff;border:1px solid var(--best-line);border-radius:13px;box-shadow:0 18px 45px rgba(14,40,55,.14);opacity:0;visibility:hidden;transform:translateY(7px);transition:.18s}.best-nav-dropdown:hover .best-nav-menu,.best-nav-dropdown:focus-within .best-nav-menu{opacity:1;visibility:visible;transform:none}.best-nav-menu>a{display:block;padding:10px 11px;border-radius:7px;color:var(--best-ink);font-size:13px;font-weight:700;text-decoration:none}.best-nav-menu>a:hover{background:var(--best-bg);color:var(--best-blue)}.best-nav-menu--services{width:330px}.best-nav-menu-title{padding:8px 11px 6px;color:var(--best-muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:850}.best-nav-menu .best-nav-all{margin-top:5px;padding-top:12px;border-top:1px solid var(--best-line);color:var(--best-blue)}
.best-trainer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.best-trainer-card{border:1px solid var(--best-line);border-radius:17px;overflow:hidden;background:#fff}.best-trainer-card img,.best-trainer-placeholder{width:100%;height:245px;object-fit:cover}.best-trainer-placeholder{display:grid;place-items:center;background:var(--best-bg);font-size:32px;font-weight:900;color:var(--best-blue)}.best-trainer-body{padding:22px}.best-trainer-body h2{font-size:21px;margin:7px 0}.best-trainer-body p{color:var(--best-muted);font-size:14px}.best-trainer-body a{text-decoration:none;font-weight:800;color:var(--best-blue)}.best-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:55px;align-items:start}.best-profile-image{border-radius:18px;margin-bottom:25px}.best-side-card{padding:27px;border:1px solid var(--best-line);border-radius:17px;background:var(--best-bg);position:sticky;top:25px}.best-inhouse-intro{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:60px}.best-benefit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:28px}.best-benefit-grid>div{border:1px solid var(--best-line);border-radius:13px;padding:18px}.best-benefit-grid strong,.best-benefit-grid span{display:block}.best-benefit-grid span{font-size:13px;color:var(--best-muted);margin-top:5px}.best-soft-section{background:var(--best-bg)}.best-request-wrap{display:grid;grid-template-columns:.75fr 1.25fr;gap:55px;align-items:start}
@media(max-width:980px){.best-smart-nav{gap:14px}.best-smart-nav>a,.best-nav-dropdown>a{font-size:12px}.best-trainer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.best-smart-nav{display:block}.best-smart-nav>a,.best-nav-dropdown>a{display:block;padding:11px 0}.best-nav-dropdown{padding:0}.best-nav-menu,.best-nav-menu--services{position:static;width:auto;opacity:1;visibility:visible;transform:none;display:none;box-shadow:none;border:0;border-left:2px solid var(--best-line);border-radius:0;margin:0 0 5px 8px;padding:2px 0 2px 10px}.best-nav-dropdown:hover .best-nav-menu,.best-nav-dropdown:focus-within .best-nav-menu{display:block}.best-profile-layout,.best-inhouse-intro,.best-request-wrap{grid-template-columns:1fr}.best-side-card{position:static}.best-trainer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.best-trainer-grid,.best-benefit-grid{grid-template-columns:1fr}}

/* Enhanced About BEST */
.best-about-hero p{max-width:760px}.best-about-story{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:70px;align-items:start}.best-about-story h2,.best-about-values h2{font-size:40px;line-height:1.12;letter-spacing:-.035em;margin:10px 0 20px}.best-about-story>div>p,.best-about-values>div>p{font-size:16px;line-height:1.8;color:var(--best-muted)}.best-about-editor{margin-top:25px}.best-about-principle{background:var(--best-blue);color:#fff;border-radius:20px;padding:32px;position:relative;overflow:hidden}.best-about-principle:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-70px;top:-70px;background:rgba(101,180,62,.18)}.best-about-principle blockquote{font-size:24px;line-height:1.45;font-weight:850;margin:17px 0;border:0;padding:0}.best-about-principle p{color:#d8eaf5;font-size:13px;line-height:1.7}.best-section-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:34px}.best-section-heading h2{font-size:36px;letter-spacing:-.03em;margin:8px 0 0}.best-section-heading>p{max-width:420px;color:var(--best-muted)}.best-process-flow{display:grid;grid-template-columns:1fr 42px 1fr 42px 1fr 42px 1fr;align-items:center}.best-process-step{background:#fff;border:1px solid var(--best-line);border-radius:17px;padding:24px;min-height:225px;position:relative}.best-process-step b{position:absolute;right:18px;top:16px;color:#9cafb9;font-size:11px}.best-process-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#edf7f0;color:var(--best-green);font-size:19px;font-weight:900}.best-process-step h3{font-size:20px;margin:18px 0 8px}.best-process-step p{color:var(--best-muted);font-size:13px;line-height:1.65}.best-process-arrow{text-align:center;color:var(--best-green);font-size:24px;font-weight:900}.best-support-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.best-support-grid>a{display:block;text-decoration:none;color:var(--best-ink);border:1px solid var(--best-line);border-radius:17px;padding:25px;transition:.18s}.best-support-grid>a:hover{transform:translateY(-3px);box-shadow:var(--best-shadow);border-color:#a9cbdc}.best-support-grid span{color:var(--best-green);font-weight:900;font-size:12px}.best-support-grid h3{font-size:25px;margin:12px 0 8px}.best-support-grid p{color:var(--best-muted);font-size:13px;line-height:1.65;min-height:64px}.best-support-grid strong{color:var(--best-blue);font-size:13px}.best-about-values{background:#0d3043;color:#fff}.best-about-values-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.best-about-values>div>div>p{color:#c8dae4}.best-value-list{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.13)}.best-value-list>div{background:#0d3043;padding:25px}.best-value-list strong{font-size:17px}.best-value-list p{color:#c8dae4;font-size:13px;line-height:1.6;margin-bottom:0}.best-about-cta{padding:55px 0;background:#eaf4f8}.best-about-cta>.best-container{display:flex;align-items:center;justify-content:space-between;gap:45px}.best-about-cta h2{font-size:32px;margin:7px 0}.best-about-cta p{color:var(--best-muted);margin:0}.best-about-cta-actions{display:flex;gap:10px;flex-shrink:0}.best-button--outline{background:transparent!important;color:var(--best-blue)!important;border:1px solid var(--best-blue)!important}
@media(max-width:980px){.best-process-flow{grid-template-columns:1fr 25px 1fr}.best-process-step:nth-of-type(n+5){margin-top:20px}.best-support-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.best-about-story,.best-about-values-grid{grid-template-columns:1fr}.best-section-heading,.best-about-cta>.best-container{display:block}.best-about-cta-actions{margin-top:22px}.best-process-flow{grid-template-columns:1fr}.best-process-arrow{transform:rotate(90deg);padding:8px}.best-process-step{min-height:auto}.best-support-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.best-support-grid,.best-value-list{grid-template-columns:1fr}.best-about-story h2,.best-about-values h2{font-size:32px}.best-about-cta-actions{display:block}.best-about-cta-actions .best-button{display:block;text-align:center;margin-top:9px}}


/* v0.3.3 — centered card alignment, based strictly on v0.3.1 */
/* Homepage upcoming training + training archives */
.best-course-grid{
  justify-content:center !important;
  justify-items:center !important;
}
.best-course-grid > *{
  width:100%;
  max-width:404px;
}

/* Trainers directory */
.best-trainer-grid{
  justify-content:center !important;
  justify-items:center !important;
}
.best-trainer-grid > *{
  width:100%;
  max-width:404px;
}

/* Parent-service child cards / service grids */
.best-child-grid,
.best-service-children,
.best-services-grid{
  justify-content:center !important;
  justify-items:center !important;
}
.best-child-grid > *,
.best-service-children > *,
.best-services-grid > *{
  width:100%;
  max-width:405px;
}

/* Preserve balanced multi-card rows while centering incomplete rows. */
.best-course-grid,
.best-trainer-grid,
.best-child-grid,
.best-service-children,
.best-services-grid{
  margin-left:auto;
  margin-right:auto;
}

/* Mobile cards use the available content width but remain centered. */
@media(max-width:580px){
  .best-course-grid > *,
  .best-trainer-grid > *,
  .best-child-grid > *,
  .best-service-children > *,
  .best-services-grid > *{
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
}


/* v0.3.4 — definitive centered card grids
   Important: override the original fixed multi-column templates themselves. */

/* Training cards: homepage, upcoming training, archive */
.best-course-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(300px, 404px)) !important;
  justify-content:center !important;
  justify-items:stretch !important;
  gap:24px !important;
  width:100% !important;
}
.best-course-grid > *{
  width:100% !important;
  max-width:404px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Trainer directory */
.best-trainer-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(300px, 404px)) !important;
  justify-content:center !important;
  justify-items:stretch !important;
  gap:24px !important;
  width:100% !important;
}
.best-trainer-grid > *{
  width:100% !important;
  max-width:404px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Service cards and child-service cards */
.best-child-grid,
.best-service-children,
.best-services-grid,
.best-service-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(300px, 405px)) !important;
  justify-content:center !important;
  justify-items:stretch !important;
  gap:22px !important;
  width:100% !important;
}
.best-child-grid > *,
.best-service-children > *,
.best-services-grid > *,
.best-service-grid > *{
  width:100% !important;
  max-width:405px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Small screens: one full-width centered track. */
@media(max-width:680px){
  .best-course-grid,
  .best-trainer-grid,
  .best-child-grid,
  .best-service-children,
  .best-services-grid,
  .best-service-grid{
    grid-template-columns:minmax(0, 1fr) !important;
  }
  .best-course-grid > *,
  .best-trainer-grid > *,
  .best-child-grid > *,
  .best-service-children > *,
  .best-services-grid > *,
  .best-service-grid > *{
    max-width:405px !important;
  }
}

/* v0.3.6 — mobile dropdown navigation */
@media(max-width:820px){
 .best-nav-dropdown:hover .best-nav-menu,
 .best-nav-dropdown:focus-within .best-nav-menu{display:none}
 .best-nav-dropdown.is-open > .best-nav-menu{display:block!important}
 .best-nav-dropdown > a{position:relative;padding-right:34px!important}
 .best-nav-dropdown > a > span{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:17px;transition:transform .18s ease}
 .best-nav-dropdown.is-open > a > span{transform:translateY(-50%) rotate(180deg)}
 .best-nav-menu,.best-nav-menu--services{margin:0 0 8px 5px;padding:4px 0 4px 14px}
 .best-nav-menu > a{padding:9px 8px}
}


/* v0.3.7 — homepage Services containment/alignment fix
   Scope this to the homepage Services section only. */
.best-services-section{
  overflow:hidden;
}
.best-services-section .best-services{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:stretch !important;
  gap:18px !important;
  width:100% !important;
  min-width:0 !important;
}
.best-services-section .best-services > .best-service{
  flex:0 1 calc((100% - 36px) / 3) !important;
  width:auto !important;
  max-width:405px !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  margin:0 !important;
}

/* The links inside each service card are a vertical list, not a card grid.
   Restore this because earlier generic centering rules also matched this class. */
.best-services-section .best-service-children{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  width:auto !important;
  max-width:none !important;
  gap:5px !important;
}
.best-services-section .best-service-children > *{
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
}

@media(max-width:1050px){
  .best-services-section .best-services > .best-service{
    flex-basis:calc((100% - 18px) / 2) !important;
  }
}
@media(max-width:680px){
  .best-services-section .best-services{
    gap:15px !important;
  }
  .best-services-section .best-services > .best-service{
    flex-basis:100% !important;
    max-width:405px !important;
  }
}


/* v0.3.9 — mobile-only homepage hero/support refinement
   Desktop/tablet above 820px remains unchanged. */
@media(max-width:820px){

  /* Stack the two hero columns instead of preserving the desktop composition. */
  .best-hero-grid{
    display:block !important;
  }

  /* Main HOW BEST SUPPORTS YOU panel gets the full available content width. */
  .best-hero-support,
  .best-support-panel{
    position:relative !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:32px 0 0 !important;
    padding:28px 24px !important;
    box-sizing:border-box !important;
  }

  /* Each Learn / Improve / Protect / Grow item has enough text width. */
  .best-hero-support-row,
  .best-support-row{
    display:grid !important;
    grid-template-columns:46px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:center !important;
    width:100% !important;
  }
  .best-hero-support-row > *,
  .best-support-row > *{
    min-width:0 !important;
  }
  .best-hero-support-row h3,
  .best-support-row h3{
    margin:0 0 4px !important;
    line-height:1.25 !important;
  }
  .best-hero-support-row p,
  .best-support-row p{
    margin:0 !important;
    line-height:1.5 !important;
  }

  /* The desktop floating card becomes a normal block below the dark panel. */
  .best-hero-float,
  .best-support-float{
    position:static !important;
    inset:auto !important;
    transform:none !important;
    float:none !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:16px 0 0 !important;
    box-sizing:border-box !important;
  }
}

@media(max-width:580px){
  .best-hero-support,
  .best-support-panel{
    margin-top:26px !important;
    padding:25px 20px !important;
    border-radius:20px !important;
  }
  .best-hero-support-row,
  .best-support-row{
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:14px !important;
  }
  .best-hero-float,
  .best-support-float{
    padding:20px !important;
  }
}


/* v0.3.10 — ACTUAL mobile homepage hero selectors */
@media(max-width:820px){
  .best-hero .best-hero__grid{
    display:block !important;
  }

  .best-hero .best-hero__visual{
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    margin-top:32px !important;
  }

  .best-hero .best-hero-panel{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:28px 24px !important;
  }

  .best-hero .best-support-item{
    display:grid !important;
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:15px !important;
    width:100% !important;
    box-sizing:border-box !important;
  }

  .best-hero .best-support-item > div{
    min-width:0 !important;
  }

  .best-hero .best-floating-card{
    position:static !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    top:auto !important;
    transform:none !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    margin:16px 0 0 !important;
    padding:20px 22px !important;
  }
}

@media(max-width:580px){
  .best-hero .best-hero__visual{
    margin-top:26px !important;
  }
  .best-hero .best-hero-panel{
    padding:24px 20px !important;
    border-radius:22px !important;
  }
  .best-hero .best-floating-card{
    margin:14px 0 0 !important;
  }
}

/* v0.3.14 — desktop course columns are controlled from Appearance → Training Layout. */
@media (min-width:981px){
  .best-course-grid{align-items:stretch !important;}
  .best-course-grid > *{max-width:none !important;width:100% !important;}
}
@media (min-width:681px) and (max-width:980px){
  .best-course-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .best-course-grid > *{
    max-width:none !important;
  }
}


/* v0.3.15 — desktop trainer columns are controlled from Appearance → Trainer Layout. */
@media (min-width:981px){
 .best-trainer-grid{align-items:stretch !important;}
 .best-trainer-grid > *{max-width:none !important;width:100% !important;}
}

/* v0.3.16 archive spacing, linked trainer images and centered pagination */
.best-trainer-card__image{display:block;text-decoration:none;overflow:hidden}
.best-trainer-card__image img{display:block;width:100%;height:245px;object-fit:cover;transition:transform .25s ease}
.best-trainer-card__image:hover img{transform:scale(1.025)}
.best-pagination{width:100%;display:flex;justify-content:center;align-items:center;gap:6px;margin:42px auto 0;text-align:center}
.best-pagination .nav-links{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}
.page-template-page-our-trainers .best-section>.best-container,
.page-template-page-training-archive .best-section>.best-container{width:min(calc(100% - 64px),var(--best-max));margin-left:auto;margin-right:auto}
@media(max-width:580px){.page-template-page-our-trainers .best-section>.best-container,.page-template-page-training-archive .best-section>.best-container{width:min(calc(100% - 28px),var(--best-max))}}

/* v0.3.17 — trainers grid and pagination use separate full-width rows. */
.page-template-page-our-trainers .best-section > .best-container{width:min(calc(100% - 80px),var(--best-max));margin-inline:auto}
.page-template-page-our-trainers .best-trainer-grid{width:100%}
.page-template-page-our-trainers .best-trainer-pagination{grid-column:1/-1;width:100%;justify-content:center;margin:42px auto 0}
@media(max-width:820px){.page-template-page-our-trainers .best-section > .best-container{width:min(calc(100% - 40px),var(--best-max))}}
@media(max-width:580px){.page-template-page-our-trainers .best-section > .best-container{width:min(calc(100% - 28px),var(--best-max))}}

/* v0.3.18 trainer portrait framing: show full head/portrait without crop */
.best-trainer-card__image{height:245px;background:var(--best-bg);display:flex;align-items:flex-start;justify-content:center}
.best-trainer-card__image img,.best-trainer-card img{width:100%;height:245px;object-fit:contain;object-position:center top;background:var(--best-bg)}
.best-trainer-card__image:hover img{transform:none}


/* v0.3.19 compact course cards — archive/upcoming */
.best-course-card__image{height:165px}
.best-course-card__body{padding:16px 18px 17px;text-align:center}
.best-course-card .best-card-kicker{text-align:center;font-size:10px;line-height:1.2;margin-bottom:6px}
.best-course-card h3{font-size:17px;line-height:1.22;margin:5px 0 10px;text-align:center}
.best-course-card h3 a{display:block}
.best-course-card .best-course-meta{align-items:center;text-align:center;gap:3px;font-size:12px;line-height:1.45;padding-bottom:0;margin-bottom:0;border-bottom:0}
.best-course-card .best-course-meta span{display:block;width:100%}
@media(max-width:580px){.best-course-card__image{height:155px}.best-course-card__body{padding:15px 16px}.best-course-card h3{font-size:16px}}

/* Course filters */
.best-course-filters{display:grid;grid-template-columns:1.6fr repeat(4,1fr) auto;gap:12px;align-items:end;margin:0 0 30px;padding:18px;background:#fff;border:1px solid var(--best-line);border-radius:14px}.best-course-filters label span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--best-muted);margin:0 0 5px}.best-course-filters input,.best-course-filters select{width:100%;height:42px;border:1px solid #cad8df;border-radius:8px;background:#fff;padding:0 10px;font:inherit;font-size:13px;color:var(--best-ink)}.best-filter-actions{display:flex;gap:7px;align-items:center}.best-filter-actions button,.best-filter-actions a{height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0 14px;font-weight:750;font-size:13px;text-decoration:none}.best-filter-actions button{border:1px solid var(--best-blue);background:var(--best-blue);color:#fff;cursor:pointer}.best-filter-actions a{border:1px solid var(--best-line);background:#fff;color:var(--best-blue)}
.page-template-page-training-archive .best-course-filters{grid-template-columns:1.5fr repeat(5,1fr) auto}
@media(max-width:1100px){.best-course-filters,.page-template-page-training-archive .best-course-filters{grid-template-columns:repeat(3,1fr)}.best-filter-keyword{grid-column:span 2}}
@media(max-width:700px){.best-course-filters,.page-template-page-training-archive .best-course-filters{grid-template-columns:1fr}.best-filter-keyword{grid-column:auto}.best-filter-actions{width:100%}.best-filter-actions button,.best-filter-actions a{flex:1}}

/* v0.3.21: keep course filters on one row on desktop */
@media (min-width:1101px){
 .best-course-filters,
 .page-template-page-training-archive .best-course-filters{
  display:grid;
  grid-template-columns:minmax(190px,1.45fr) minmax(105px,.82fr) minmax(115px,.9fr) minmax(105px,.82fr) minmax(120px,.95fr) minmax(78px,.58fr) minmax(125px,.95fr) auto;
  gap:10px;
  align-items:end;
 }
 .best-course-filters:not(.page-template-page-training-archive *){
  grid-template-columns:minmax(210px,1.55fr) repeat(4,minmax(110px,.9fr)) minmax(130px,1fr) auto;
 }
 .best-course-filters label{min-width:0}
 .best-course-filters input,.best-course-filters select{min-width:0}
 .best-filter-actions{white-space:nowrap}
}


/* v0.3.22: desktop actions stay in filter row; mobile filters collapse */
.best-filter-mobile-toggle{display:none}
@media (min-width:1101px){
 .best-course-filter-panel{display:block!important}
 .best-course-filters{display:flex!important;gap:10px;align-items:flex-end;flex-wrap:nowrap}
 .best-course-filters label{flex:1 1 0;min-width:0}
 .best-course-filters .best-filter-keyword{flex:1.7 1 0}
 .best-course-filters label:last-of-type{flex:.85 1 0}
 .page-template-page-training-archive .best-course-filters label:nth-of-type(6){flex:.55 1 0}
 .best-filter-actions{flex:0 0 auto;align-self:flex-end;margin:0;white-space:nowrap}
 .best-filter-actions button,.best-filter-actions a{padding-left:12px;padding-right:12px}
}
@media (max-width:700px){
 .best-filter-mobile-toggle{display:flex;width:100%;height:46px;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0 16px;border:1px solid var(--best-line);border-radius:10px;background:#fff;color:var(--best-blue);font:inherit;font-weight:800;cursor:pointer}
 .best-filter-mobile-toggle span{font-size:18px;transition:transform .2s ease}
 .best-filter-mobile-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
 .best-course-filter-panel{display:none}
 .best-course-filter-panel.is-open{display:block}
 .best-course-filters{margin-bottom:24px}
}


/* v0.3.26 — parent service child cards: true 3-column desktop layout.
   Uses a 6-track grid so a final pair can be centered cleanly. */
@media (min-width:1021px){
  .best-child-grid{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:20px !important;
    width:100% !important;
    max-width:none !important;
    justify-content:stretch !important;
    justify-items:stretch !important;
  }
  .best-child-grid > .best-child-card{
    grid-column:span 2;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
  /* When the last row contains two cards, center the pair. */
  .best-child-grid > .best-child-card:nth-last-child(2):nth-child(3n + 1){
    grid-column:2 / span 2;
  }
}
@media (min-width:681px) and (max-width:1020px){
  .best-child-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px !important;
  }
  .best-child-grid > .best-child-card{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
}
@media (max-width:680px){
  .best-child-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* v0.3.34 single trainer profile */
.best-trainer-hero{padding:46px 0}
.best-trainer-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:55px;align-items:center}
.best-trainer-hero__photo{display:flex;justify-content:flex-end;align-items:center}
.best-trainer-hero__image{display:block;width:220px;height:220px;object-fit:contain;object-position:center top;border-radius:18px;background:#fff;border:1px solid var(--best-line)}
.best-trainer-courses .best-course-grid{align-items:stretch}
@media(max-width:820px){.best-trainer-hero__grid{grid-template-columns:minmax(0,1fr) 170px;gap:25px}.best-trainer-hero__image{width:160px;height:160px}}
@media(max-width:580px){.best-trainer-hero__grid{grid-template-columns:1fr}.best-trainer-hero__photo{justify-content:flex-start}.best-trainer-hero__image{width:150px;height:150px}.best-trainer-courses .best-course-grid{grid-template-columns:1fr}}


/* v0.3.36 — center incomplete course rows on single trainer profiles */
.best-trainer-courses .best-course-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:24px;
}
.best-trainer-courses .best-course-grid > .best-course-card{
  flex:0 1 calc((100% - 72px)/4);
  width:calc((100% - 72px)/4);
  max-width:296px;
}
@media(max-width:1020px){
  .best-trainer-courses .best-course-grid > .best-course-card{
    flex-basis:calc((100% - 24px)/2);
    width:calc((100% - 24px)/2);
    max-width:360px;
  }
}
@media(max-width:580px){
  .best-trainer-courses .best-course-grid{gap:18px}
  .best-trainer-courses .best-course-grid > .best-course-card{
    flex-basis:100%;
    width:100%;
    max-width:360px;
  }
}


/* v0.3.38 — single training page inspired by the classic BEST course layout */
.best-single-course-hero{background:linear-gradient(125deg,#f2f9fc 0%,#edf7f4 60%,#f5faef 100%);padding:58px 0 64px;overflow:hidden}
.best-single-course-hero__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:56px;align-items:center}
.best-single-course-hero h1{font-size:clamp(38px,4.8vw,62px);line-height:1.04;letter-spacing:-.045em;margin:14px 0 18px;max-width:760px}
.best-single-course-hero__lead{font-size:17px;color:var(--best-muted);max-width:720px;margin:0 0 22px}
.best-single-course-hero__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;max-width:680px;margin:22px 0}
.best-single-course-hero__meta span{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:#3f5664}
.best-single-course-hero__meta b{color:var(--best-ink)}
.best-single-course-hero__status{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:24px}
.best-course-status{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border-radius:9px;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.035em;border:0}
.best-course-status--expired{background:#6b7280;color:#fff}
.best-course-status--closed{background:#c62828;color:#fff}
.best-course-status--open{background:#2e7d32;color:#fff;cursor:pointer}
.best-course-status--open:hover{background:#256628}
.best-course-status--waiting{background:#d97706;color:#fff;cursor:pointer}
.best-course-status--waiting:hover{background:#b85f05}
.best-course-status--existing{background:#e8f5e9;color:#256b2b;border:1px solid #b9dfbd;cursor:default;pointer-events:none;box-shadow:none}
.best-single-course-hero__image{display:flex;justify-content:center;align-items:center;min-height:330px}
.best-single-course-hero__image img{display:block;width:auto;max-width:100%;max-height:390px;height:auto;object-fit:contain;filter:drop-shadow(0 20px 28px rgba(12,38,56,.13))}
.best-single-course-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:56px;align-items:start}
.best-single-course-content{max-width:820px;font-size:16px}
.best-single-course-content h2{font-size:27px;line-height:1.2;margin:34px 0 12px;padding-bottom:10px;border-bottom:1px solid #dce5ea}
.best-single-course-content h3{font-size:21px;line-height:1.3;margin-top:27px}
.best-single-course-content p,.best-single-course-content li{color:#455966}
.best-single-course-content li{margin-bottom:6px}
.best-course-schedule{position:sticky;top:108px;padding:25px;background:#fff;border:1px solid var(--best-line);border-radius:17px;box-shadow:var(--best-shadow)}
.best-course-schedule h3{margin:0 0 15px;font-size:20px}
.best-course-schedule dl{margin:0}.best-course-schedule dl div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #edf1f3}
.best-course-schedule dt{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--best-muted);font-weight:800}
.best-course-schedule dt{display:flex;align-items:center;gap:7px;white-space:nowrap;min-width:0}.best-schedule-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;color:#0b6ea8}.best-schedule-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.best-course-schedule dd{margin:0;font-size:13px;font-weight:700;color:var(--best-ink)}
.best-course-schedule__action{margin-top:18px}.best-course-schedule__action .best-course-status{width:100%}
.best-related-courses{padding-top:10px}.best-related-courses .best-section-heading{margin-bottom:26px}.best-related-courses .best-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.best-registration-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(5,25,38,.66);padding:30px;overflow:auto}
.best-registration-modal.is-open{display:flex;align-items:flex-start;justify-content:center}
.best-registration-modal__panel{position:relative;width:min(720px,100%);background:#fff;border-radius:18px;padding:30px;margin:auto;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.best-registration-modal__close{position:absolute;right:15px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef3f6;font-size:24px;line-height:1;cursor:pointer;color:var(--best-navy)}
.best-registration-modal .best-registration-box{margin:0}.best-registration-modal form input,.best-registration-modal form select,.best-registration-modal form textarea{max-width:100%}
@media(max-width:1020px){.best-single-course-hero__grid,.best-single-course-body{grid-template-columns:1fr}.best-single-course-hero__image{min-height:250px}.best-course-schedule{position:static}.best-related-courses .best-course-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.best-single-course-hero{padding:42px 0}.best-single-course-hero__grid{gap:26px}.best-single-course-hero__meta{grid-template-columns:1fr}.best-single-course-hero__image{min-height:180px}.best-single-course-hero__image img{max-height:260px}.best-related-courses .best-course-grid{grid-template-columns:1fr}.best-registration-modal{padding:14px}.best-registration-modal__panel{padding:24px 18px}}

/* v0.3.39: trainer profile links on single course */
.best-course-trainer-link{color:inherit;text-decoration:none;font-weight:800;border-bottom:1px solid rgba(7,95,155,.28)}.best-course-trainer-link:hover{color:var(--best-blue);border-bottom-color:var(--best-blue)}

/* v0.3.44 waiting-list notice */
.best-waiting-note{max-width:650px;margin:0 0 12px;padding:11px 13px;border:1px solid #d7e5b8;border-radius:9px;background:#f6faed;color:#526238;font-size:13px;line-height:1.55}.best-course-schedule .best-waiting-note{font-size:12px;margin-top:0}

/* v0.3.56 — mobile single-course hero: featured image first */
@media(max-width:580px){
  .best-single-course-hero__image{order:-1;margin-bottom:2px}
}

@media(max-width:380px){.best-course-schedule dl div{grid-template-columns:88px minmax(0,1fr);gap:9px}.best-course-schedule{padding-left:20px;padding-right:20px}.best-course-schedule dd{min-width:0;overflow-wrap:anywhere}}

.best-interest-note{margin:0 0 14px;padding:12px 14px;border:1px solid #b9dced;border-radius:10px;background:#f0f8fc;color:#284b5f;font-size:13px;line-height:1.55}
.best-course-card .best-course-meta span:last-child{font-weight:700}

/* Multi-session course schedules */
.best-course-schedule dl div{grid-template-columns:112px minmax(0,1fr)}
.best-course-schedule dt{white-space:normal}
.best-session-dates-section{padding-top:34px;padding-bottom:34px}
.best-session-dates-list{display:flex;flex-wrap:wrap;gap:10px}
.best-session-dates-list span{display:inline-flex;padding:9px 13px;border:1px solid var(--best-line);border-radius:999px;background:#fff;font-size:13px;font-weight:700;color:var(--best-navy)}
@media(max-width:420px){.best-course-schedule dl div{grid-template-columns:104px minmax(0,1fr);gap:10px}.best-session-dates-list span{width:100%;justify-content:center}}
