:root{--alm-navy:#11182f;--alm-muted:#657085;--alm-purple:#433f9f;--alm-teal:#0d7883;--alm-bg:#f5f7fc;--alm-border:#e4e7ef;--alm-card:#fff}

/* ===== Shell =====
   The catalog/detail root stays inside normal document flow (no 100vw /
   negative-margin breakout) so it can never clip or push around the
   theme's own header/footer. It simply asks for full available width up
   to a comfortable max, like a standard "full width" Elementor section. */
.alm-catalog-page,.alm-detail-page,.alm-instructors-page,.alm-instructor-detail-page{position:relative;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);color:var(--alm-navy);font-family:inherit;box-sizing:border-box}.alm-detail-page,.alm-instructors-page,.alm-instructor-detail-page{overflow:visible}
.alm-catalog-page *,.alm-detail-page *,.alm-instructors-page *,.alm-instructor-detail-page *{box-sizing:border-box}.alm-catalog-page{overflow:visible}
.alm-catalog-page svg,.alm-detail-page svg,.alm-instructors-page svg,.alm-instructor-detail-page svg,.alm-auth-wrap svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.alm-container{width:100%;max-width:1320px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
.alm-catalog-page h1,.alm-catalog-page h2,.alm-detail-page h1,.alm-detail-page h2,.alm-detail-page h3{color:var(--alm-navy)}


/* ===== WordPress / Elementor shell reset ===== */
.alm-course-template{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.alm-card-instructor,.alm-instructor-mini a,.alm-instructor-large a{color:inherit;text-decoration:none}
.alm-card-instructor:hover,.alm-instructor-mini a:hover,.alm-instructor-large a:hover{color:var(--alm-purple);text-decoration:underline}
.alm-profile-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:var(--alm-purple)!important;font-size:13px;font-weight:700}
.alm-profile-link svg{width:15px;height:15px}

/* ===== Hero / intro ===== */
.alm-catalog-intro{border-bottom:1px solid var(--alm-border);background:rgba(245,247,252,.6)}
.alm-catalog-intro .alm-container{padding:44px 24px 36px}
.alm-catalog-intro h1{font-size:clamp(30px,4vw,40px);line-height:1.15;margin:0;font-weight:700;letter-spacing:-.02em}
.alm-catalog-intro p{max-width:680px;margin:14px 0 0;color:var(--alm-muted);font-size:16px;line-height:1.6}
.alm-search-wrap{position:relative;max-width:680px;margin-top:26px}
.alm-search-wrap>span{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--alm-muted);display:flex}
.alm-search-wrap>span svg{width:16px;height:16px}
.alm-search-wrap input{min-height:50px;width:100%;box-sizing:border-box;border:1px solid var(--alm-border);border-radius:12px;background:#fff;padding:0 44px;font-size:14px;color:var(--alm-navy);outline:none;box-shadow:0 5px 20px rgba(17,24,47,.04)}
.alm-search-wrap input:focus{box-shadow:0 0 0 2px rgba(67,63,159,.18)}
.alm-search-wrap button{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:none;border:0;background:transparent;font-size:22px;color:var(--alm-muted);cursor:pointer;width:36px;height:36px;border-radius:8px}
.alm-search-wrap input:not(:placeholder-shown)+button{display:block}

/* ===== Specialty grid ===== */
.alm-specialties{padding:52px 0}
.alm-specialties h2,.alm-featured h2,.alm-all>.alm-container>h2{font-size:26px;line-height:1.25;margin:0;font-weight:700}
.alm-specialty-scroller{margin-top:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
/* Hardened with high specificity + !important: the active theme forces its
   own display/width/text-align/border-radius rules directly on <button>
   elements (same root cause as the color override below), which was
   collapsing the card to a shrink-wrapped, centered, square-cornered pill
   and pushing the description outside of it. Every structural property is
   restated here so it always wins regardless of theme/Elementor CSS order. */
.alm-catalog-page .alm-specialty-scroller button.alm-specialty{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;text-align:left!important;
  width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
  gap:16px!important;padding:26px!important;margin:0!important;
  border:1px solid var(--alm-border)!important;border-radius:18px!important;background:#fff!important;
  box-shadow:0 5px 18px rgba(17,24,47,.05)!important;cursor:pointer!important;
  transition:transform .15s ease,box-shadow .15s ease!important;color:var(--alm-navy)!important;
  font-family:inherit!important;line-height:normal!important;white-space:normal!important;
  overflow:visible!important;position:relative!important;
}
.alm-catalog-page .alm-specialty-scroller button.alm-specialty:hover{transform:translateY(-4px)!important;box-shadow:0 14px 34px rgba(17,24,47,.1)!important;border-color:var(--alm-border)!important}
.alm-catalog-page .alm-specialty-scroller button.alm-specialty.active{border-color:var(--alm-purple)!important;box-shadow:0 0 0 2px rgba(67,63,159,.18)!important}
.alm-catalog-page .alm-specialty-icon{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;flex:none!important;border-radius:14px!important;background:rgba(67,63,159,.08)!important;color:var(--alm-purple)!important}
.alm-catalog-page .alm-specialty-icon svg{width:24px!important;height:24px!important}
.alm-catalog-page .alm-specialty-name{display:block!important;width:100%!important;text-align:left!important;font-size:18px!important;font-weight:700!important;color:var(--alm-navy)!important;margin:0!important}
.alm-catalog-page .alm-specialty-desc{display:block!important;width:100%!important;text-align:left!important;margin:0!important;font-size:15px!important;line-height:1.6!important;color:var(--alm-muted)!important}
.alm-catalog-page .alm-specialty-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;margin-top:auto!important;border-top:1px solid var(--alm-border)!important;padding-top:16px!important}
.alm-catalog-page .alm-specialty-count{font-size:14px!important;color:var(--alm-muted)!important}
.alm-catalog-page .alm-specialty-link{display:inline-flex!important;align-items:center!important;gap:5px!important;color:var(--alm-purple)!important;font-size:14px!important;font-weight:700!important}
.alm-catalog-page .alm-specialty-link svg{width:16px!important;height:16px!important}

/* ===== Featured ===== */
.alm-featured{border-top:1px solid var(--alm-border);border-bottom:1px solid var(--alm-border);background:rgba(245,247,252,.6);padding:52px 0}
.alm-featured>.alm-container>p{margin:8px 0 0;color:var(--alm-muted);font-size:15px}
.alm-featured-scroller{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.alm-featured-item .alm-catalog-card{height:100%}

/* ===== Card ===== */
.alm-catalog-card{height:100%;min-width:0;overflow:hidden;border:1px solid var(--alm-border);border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(17,24,47,.05);transition:.2s}
.alm-catalog-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(17,24,47,.12)}
.alm-catalog-card.is-coming-soon:hover{transform:none;box-shadow:0 5px 18px rgba(17,24,47,.05)}
.alm-card-link{display:flex;height:100%;flex-direction:column;text-decoration:none;color:inherit}
.alm-catalog-card.is-coming-soon .alm-card-link{cursor:default}
.alm-card-image{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;background:#f5f7fc}
.alm-card-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.alm-image-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,24,47,.1),rgba(17,24,47,.5))}
.alm-format-pill{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:6px;border-radius:6px;background:rgba(255,255,255,.95);padding:5px 10px;font-size:12px;font-weight:650;color:var(--alm-navy)}
.alm-format-pill svg{width:14px;height:14px}
.alm-card-category{position:absolute;bottom:16px;left:16px;color:rgba(255,255,255,.95);font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}
.alm-card-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:8px;padding:18px}
.alm-card-body h3{font-size:16px;line-height:1.35;margin:0;font-weight:650;overflow-wrap:anywhere}
.alm-card-muted{margin:0;color:var(--alm-muted);font-size:13px}
.alm-card-meta{display:flex;align-items:center;gap:5px;color:var(--alm-muted);font-size:13px}
.alm-card-meta svg{width:14px;height:14px}
.alm-card-outcome{margin:0;color:var(--alm-muted);font-size:12px}
.alm-card-outcome span{font-weight:650;color:var(--alm-navy)}
.alm-card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--alm-border);padding-top:16px}
.alm-card-price{font-size:16px;font-weight:700}
.alm-card-view{display:inline-flex;min-height:36px;align-items:center;gap:4px;border-radius:8px;background:var(--alm-navy);padding:0 14px;color:#fff;font-size:14px;font-weight:650;transition:.2s;white-space:nowrap}
.alm-catalog-card:not(.is-coming-soon):hover .alm-card-view{background:var(--alm-purple)}
.alm-card-view svg{width:16px;height:16px}
.alm-card-view.is-disabled{background:#eef0f4;color:var(--alm-muted);border:1px solid var(--alm-border)}

/* ===== All courses / filters ===== */
.alm-all{padding:52px 0}
.alm-all-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;margin-top:28px}
.alm-filter-box{width:100%;box-sizing:border-box;position:sticky;top:24px;border:1px solid var(--alm-border);border-radius:16px;background:#fff;padding:20px;box-shadow:0 5px 18px rgba(17,24,47,.05)}
.alm-filter-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.alm-filter-head h3{margin:0;font-size:14px;text-transform:uppercase;letter-spacing:.08em}
.alm-filter-head button{border:0;background:none;color:var(--alm-purple);font-size:12px;font-weight:650;cursor:pointer}
.alm-filter-group{border:0;padding:0;margin:18px 0}
.alm-filter-group legend{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--alm-muted);padding:0;margin-bottom:8px}
.alm-check{display:flex;align-items:flex-start;gap:8px;min-height:24px;cursor:pointer;font-size:13px;color:#1d2433;margin-bottom:6px}
.alm-check input{position:absolute;opacity:0;pointer-events:none}
.alm-check span{width:16px;height:16px;border:1px solid #cfd4df;border-radius:4px;display:grid;place-items:center;flex:none;margin-top:1px}
.alm-check input:checked+span{background:var(--alm-purple);border-color:var(--alm-purple)}
.alm-check input:checked+span:after{content:"✓";color:#fff;font-size:11px}
.alm-check b{font-weight:500;font-size:13px;line-height:1.35}
.alm-results{min-width:0}
.alm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--alm-border);border-radius:12px;background:#fff;padding:14px 16px;box-shadow:0 5px 18px rgba(17,24,47,.05)}
.alm-toolbar p{margin:0;font-size:14px;font-weight:650}
.alm-toolbar-actions{display:flex;align-items:center;gap:10px}
.alm-toolbar-actions label{font-size:13px;color:var(--alm-muted)}
.alm-toolbar-actions select{min-height:42px;border:1px solid var(--alm-border);border-radius:8px;background:#fff;padding:0 12px;font-size:13px;color:var(--alm-navy)}
#alm-mobile-filter{display:none;min-height:42px;align-items:center;gap:7px;border:1px solid var(--alm-border);border-radius:8px;background:#fff;padding:0 12px;font-weight:650;color:var(--alm-navy)}
#alm-mobile-filter svg{width:16px;height:16px}
.alm-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.alm-disclaimer{margin:40px 0 0;color:var(--alm-muted);font-size:12px;line-height:1.6}
.alm-no-results{margin-top:32px;border:1px solid var(--alm-border);border-radius:16px;background:#fff;padding:48px;text-align:center}
.alm-no-results h3{margin:0;font-size:18px}
.alm-no-results p{color:var(--alm-muted);font-size:14px}
.alm-no-results button{margin-top:20px;min-height:44px;border:0;border-radius:8px;background:linear-gradient(135deg,#433f9f,#5c56c8);color:#fff;padding:0 20px;font-weight:650;cursor:pointer}
#alm-load-more-wrap{display:flex;justify-content:center;margin-top:40px}
#alm-load-more{min-height:48px;border:1px solid var(--alm-border);border-radius:8px;background:#fff;padding:0 24px;color:var(--alm-navy);font-size:14px;font-weight:650;cursor:pointer}
#alm-load-more:hover{border-color:var(--alm-purple);color:var(--alm-purple)}

/* ===== Mobile filter drawer ===== */
.alm-mobile-drawer{display:none}
.alm-mobile-drawer.open{display:block;position:fixed;inset:0;z-index:60}
.alm-drawer-backdrop{position:absolute;inset:0;background:rgba(17,24,47,.5)}
.alm-drawer-panel{position:absolute;left:0;right:0;bottom:0;max-height:88vh;display:flex;flex-direction:column;border-radius:16px 16px 0 0;background:#fff;box-shadow:0 -10px 40px rgba(17,24,47,.2)}
.alm-drawer-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--alm-border);padding:12px 16px}
.alm-drawer-head h3{margin:0;font-size:16px}
.alm-drawer-head button{width:44px;height:44px;border:1px solid var(--alm-border);border-radius:8px;background:#fff;font-size:24px}
.alm-drawer-body{overflow:auto;padding:16px}
.alm-drawer-foot{display:flex;gap:12px;border-top:1px solid var(--alm-border);padding:12px 16px}
.alm-drawer-foot button{flex:1;min-height:48px;border:1px solid var(--alm-border);border-radius:8px;background:#fff;font-weight:650;cursor:pointer}
.alm-drawer-foot button:last-child{border:0;background:linear-gradient(135deg,#433f9f,#5c56c8);color:#fff}
.alm-lock{overflow:hidden}

/* ===== Detail page ===== */
.alm-detail-hero{border-bottom:1px solid var(--alm-border);background:rgba(245,247,252,.6);padding:48px 0 64px}
.alm-detail-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px}
.alm-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--alm-muted)}
.alm-breadcrumb a{color:inherit;text-decoration:none}
.alm-detail-tagrow{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}
.alm-detail-tagrow span{display:inline-flex;align-items:center;gap:6px;border-radius:6px;background:rgba(67,63,159,.1);padding:5px 10px;color:var(--alm-purple);font-size:12px;font-weight:650}
.alm-detail-tagrow svg{width:14px;height:14px}
.alm-detail-tagrow b{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:var(--alm-muted)}
.alm-coming-soon-tag{border-radius:6px;background:#fff4e0;color:#9a6400;padding:5px 10px;font-size:11px;font-weight:700;font-style:normal;text-transform:uppercase;letter-spacing:.08em}
.alm-detail-hero h1{margin:16px 0 0;font-size:clamp(34px,5vw,50px);line-height:1.12}
.alm-detail-lead{max-width:720px;margin:20px 0 0;color:var(--alm-muted);font-size:17px;line-height:1.7}
.alm-instructor-mini{display:flex;align-items:center;gap:16px;max-width:680px;margin-top:32px;border:1px solid var(--alm-border);border-radius:16px;background:#fff;padding:16px;box-shadow:0 5px 18px rgba(17,24,47,.05)}
.alm-instructor-mini img{width:64px;height:64px;border-radius:50%;object-fit:cover}
.alm-instructor-mini div{display:flex;flex-direction:column;gap:3px}
.alm-instructor-mini p{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--alm-muted)}
.alm-instructor-mini strong{font-size:15px}
.alm-instructor-mini span{font-size:13px;color:var(--alm-muted)}
.alm-enroll-card{overflow:hidden;border:1px solid var(--alm-border);border-radius:16px;background:#fff;box-shadow:0 18px 42px rgba(17,24,47,.12);position:sticky;top:24px}
.alm-enroll-image{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--alm-navy)}
.alm-enroll-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.alm-enroll-image>div{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,24,47,.1),rgba(17,24,47,.55))}
.alm-preview-circle{position:absolute;inset:0;margin:auto;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.95);color:var(--alm-purple);box-shadow:0 5px 18px rgba(17,24,47,.12)}
.alm-preview-circle svg{width:30px;height:30px}
.alm-enroll-format{position:absolute;left:12px;top:12px;border-radius:6px;background:rgba(255,255,255,.95);padding:5px 9px;font-size:11px;font-weight:650}
.alm-enroll-body{display:flex;flex-direction:column;gap:20px;padding:20px}
.alm-enroll-price{font-size:30px;font-weight:700}
.alm-enroll-body ul{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.alm-enroll-body li{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.alm-enroll-body li span{display:inline-flex;align-items:center;gap:8px;color:var(--alm-muted)}
.alm-enroll-body li svg{width:16px;height:16px}
.alm-enroll-body li b{font-weight:500;text-align:right}
.alm-gradient-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px;background:linear-gradient(135deg,#433f9f,#5c56c8);color:#fff;text-decoration:none;font-weight:650;box-shadow:0 8px 20px rgba(67,63,159,.2);transition:.2s}
.alm-gradient-btn:hover{transform:translateY(-2px);color:#fff}
.alm-gradient-btn svg{width:16px;height:16px}
.alm-gradient-btn.is-disabled{background:#eef0f4;color:var(--alm-muted);box-shadow:none;cursor:default;border:1px solid var(--alm-border)}
.alm-gradient-btn.is-disabled:hover{transform:none}
.alm-enroll-body>p{margin:0;text-align:center;color:var(--alm-muted);font-size:12px}
.alm-quick{border-bottom:1px solid var(--alm-border);background:#fff}
.alm-quick ul{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;list-style:none;margin:0;padding:24px 0}
.alm-quick li{display:flex;align-items:center;gap:12px;border:1px solid var(--alm-border);border-radius:12px;background:#fff;padding:16px}
.alm-quick li>span{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:rgba(67,63,159,.1);color:var(--alm-purple)}
.alm-quick li svg{width:20px;height:20px}
.alm-quick li div{min-width:0;display:flex;flex-direction:column}
.alm-quick small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--alm-muted)}
.alm-quick b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alm-detail-content{padding:48px 24px 64px}
.alm-detail-main{max-width:820px;margin:0 auto}
.alm-detail-main section{margin-bottom:64px}
.alm-detail-main h2{margin:0;font-size:30px;line-height:1.25}
.alm-about{margin-top:22px;color:#1d2433;font-size:16px;line-height:1.8}
.alm-outcome-grid,.alm-audience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:22px 0 0}
.alm-outcome-grid li,.alm-audience-grid li{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--alm-border);border-radius:12px;background:#fff;padding:16px;font-size:14px;line-height:1.55}
.alm-outcome-grid svg{width:20px;height:20px;flex:none;color:var(--alm-teal)}
.alm-audience-grid li{background:#f5f7fc}
.alm-audience-grid svg{width:20px;height:20px;flex:none;color:var(--alm-purple)}
.alm-curriculum{margin-top:22px;display:grid;gap:10px}
.alm-curriculum details{border:1px solid var(--alm-border);border-radius:12px;background:#fff;overflow:hidden}
.alm-curriculum summary{display:flex;justify-content:space-between;gap:12px;padding:18px;cursor:pointer;font-weight:650;list-style:none}
.alm-curriculum summary::-webkit-details-marker{display:none}
.alm-curriculum summary small{font-weight:500;color:var(--alm-muted)}
.alm-curriculum details>div{border-top:1px solid var(--alm-border);padding:4px 18px}
.alm-curriculum p{display:flex;align-items:center;gap:10px;margin:0;padding:13px 0;border-bottom:1px solid #eef0f4;font-size:14px}
.alm-curriculum p:last-child{border-bottom:0}
.alm-curriculum p span{width:30px;height:30px;border-radius:8px;background:rgba(67,63,159,.08);display:grid;place-items:center;color:var(--alm-purple)}
.alm-curriculum p span svg{width:15px;height:15px}
.alm-curriculum p small{margin-left:auto;color:var(--alm-muted)}
.alm-info-card{border:1px solid var(--alm-border);border-radius:12px;background:#fff;padding:20px;color:#1d2433;line-height:1.8}
.alm-instructor-large{display:flex;align-items:center;gap:18px;border:1px solid var(--alm-border);border-radius:14px;background:#fff;padding:18px}
.alm-instructor-large img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.alm-instructor-large h3{margin:0;font-size:18px}
.alm-instructor-large p{margin:4px 0 0;color:var(--alm-muted);font-size:14px}


.alm-curriculum summary span{display:flex;align-items:center;gap:10px;min-width:0}
.alm-curriculum summary em,.alm-curriculum p b em{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--alm-purple);font-weight:800;white-space:nowrap}
.alm-curriculum p b{display:flex;align-items:center;gap:9px;min-width:0}
.alm-curriculum p b em{font-size:9px;flex:0 0 auto}
/* ===== Auth (login/register) ===== */
.alm-auth-wrap{min-height:650px;display:grid;place-items:center;padding:60px 16px;background:rgba(245,247,252,.6)}
.alm-auth-box{width:min(460px,100%);border:1px solid var(--alm-border);border-radius:16px;background:#fff;padding:34px;box-shadow:0 18px 50px rgba(17,24,47,.1);text-align:center}
.alm-auth-icon{width:48px;height:48px;margin:0 auto 16px;display:grid;place-items:center;border-radius:12px;background:rgba(67,63,159,.1);color:var(--alm-purple);font-weight:800;font-size:22px}
.alm-eyebrow{margin:0;color:var(--alm-purple);font-size:10px;font-weight:800;letter-spacing:.16em}
.alm-auth-box h1{margin:8px 0;font-size:30px}
.alm-auth-sub{margin:0 0 24px;color:var(--alm-muted);font-size:14px}
.alm-auth-form{display:grid;gap:14px;text-align:left}
.alm-auth-form label{font-size:12px;font-weight:650}
.alm-auth-form input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;min-height:46px;margin-top:7px;border:1px solid var(--alm-border);border-radius:10px;padding:0 12px}
.alm-auth-wrap .alm-check{display:flex;align-items:center;gap:7px;color:var(--alm-muted);font-weight:500}
.alm-auth-switch{margin:18px 0 0;color:var(--alm-muted);font-size:13px}
.alm-auth-switch a{color:var(--alm-purple);font-weight:700;text-decoration:none}
.alm-auth-error{margin-bottom:14px;border-radius:8px;background:#fff1f1;color:#a52222;padding:10px 12px;font-size:12px}
.alm-auth-form button{cursor:pointer;border:0}


/* ===== Instructor profiles ===== */
.alm-instructors-hero{padding:58px 0 44px;border-bottom:1px solid var(--alm-border);background:rgba(245,247,252,.6)}
.alm-instructors-hero h1{margin:0;font-size:clamp(30px,4vw,42px);line-height:1.15}
.alm-instructors-hero p{max-width:700px;margin:12px 0 0;color:var(--alm-muted);line-height:1.6}
.alm-instructors-grid-section{padding:48px 0 72px}
.alm-instructors-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.alm-instructor-card{border:1px solid var(--alm-border);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(17,24,47,.05);transition:.2s}
.alm-instructor-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(17,24,47,.11)}
.alm-instructor-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.alm-instructor-card-photo{aspect-ratio:4/3;background:#f5f7fc;overflow:hidden}
.alm-instructor-card-photo img{width:100%;height:100%;object-fit:cover}
.alm-instructor-card-body{padding:20px;display:flex;flex-direction:column;gap:5px}
.alm-instructor-card-body h2{margin:0;font-size:18px}
.alm-instructor-card-title{display:block;color:var(--alm-purple);font-weight:650;font-size:14px}
.alm-instructor-card-body p{margin:2px 0 0;color:var(--alm-muted);font-size:14px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.alm-instructor-card-body b{display:inline-flex;align-items:center;gap:5px;margin-top:10px;color:var(--alm-navy);font-weight:700;font-size:13px}
.alm-instructor-card-body b svg{width:15px;height:15px}
.alm-instructor-detail-hero{padding:44px 0 52px;border-bottom:1px solid var(--alm-border);background:rgba(245,247,252,.6)}
.alm-back-link{display:inline-block;margin-bottom:30px;color:var(--alm-purple);text-decoration:none;font-size:13px;font-weight:700}
.alm-back-link-bottom{margin:8px 0 56px}
.alm-instructor-profile-head{display:flex;align-items:flex-start;gap:36px}
.alm-instructor-profile-photo{width:260px;height:330px;flex:0 0 260px;border-radius:16px;overflow:hidden;background:#eef0f4}
.alm-instructor-profile-photo img{width:100%;height:100%;object-fit:cover}
.alm-instructor-profile-head h1{margin:6px 0 4px;font-size:clamp(28px,4vw,38px)}
.alm-instructor-profile-head h2{margin:0;font-size:17px;font-weight:650;color:var(--alm-purple)}
.alm-profile-tagline{max-width:600px;margin:14px 0 0;color:var(--alm-muted);font-size:16px;line-height:1.65}
.alm-instructor-profile-content{padding:52px 0 0}
.alm-instructor-profile-main{max-width:860px}
.alm-instructor-profile-main section+section{margin-top:36px}
.alm-instructor-profile-main h2{margin:0 0 18px;font-size:24px}

/* Areas of Expertise */
.alm-expertise-tags{display:flex;flex-wrap:wrap;gap:10px}
.alm-expertise-tags span{display:inline-flex;align-items:center;border-radius:999px;background:rgba(67,63,159,.08);color:var(--alm-navy);padding:9px 16px;font-size:14px;font-weight:600}

/* Qualifications */
.alm-qualifications{display:flex;flex-direction:column;gap:12px}
.alm-qualification-row{display:flex;align-items:center;gap:12px;border:1px solid var(--alm-border);border-radius:12px;background:#fff;padding:16px 18px}
.alm-qualification-row span{flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:var(--alm-purple);background:rgba(67,63,159,.1)}
.alm-qualification-row span svg{width:14px;height:14px}
.alm-qualification-row b{font-weight:600;font-size:15px;color:var(--alm-navy)}

/* Professional Experience */
.alm-experience-timeline{position:relative;display:flex;flex-direction:column;gap:26px}
.alm-experience-item{position:relative;display:flex;gap:18px;padding-left:6px}
.alm-experience-item::before{content:"";position:absolute;left:5px;top:20px;bottom:-26px;width:1px;background:var(--alm-border)}
.alm-experience-item:last-child::before{display:none}
.alm-experience-dot{flex:0 0 auto;width:11px;height:11px;margin-top:6px;border-radius:50%;background:var(--alm-teal)}
.alm-experience-body{display:flex;flex-direction:column;gap:3px}
.alm-experience-title{display:flex;align-items:center;gap:9px;margin:0;font-size:16px}
.alm-experience-icon{display:inline-flex;color:var(--alm-muted)}
.alm-experience-icon svg{width:16px;height:16px}
.alm-experience-title b{font-weight:650;color:var(--alm-navy)}
.alm-experience-org{margin:0;color:var(--alm-muted);font-size:14px}
.alm-experience-dates{margin:2px 0 0;color:var(--alm-muted);font-size:11px;font-weight:650;letter-spacing:.06em}

/* ===== Responsive ===== */
@media(max-width:1100px){
  .alm-instructors-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alm-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alm-specialty-scroller{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alm-featured-scroller{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alm-all-layout{grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:640px){
  .alm-instructor-profile-head{flex-direction:column}
  .alm-instructor-profile-photo{width:180px;height:225px;flex-basis:auto}
}
@media(max-width:900px){
  .alm-instructor-profile-head{align-items:flex-start}
  .alm-detail-hero-grid{grid-template-columns:1fr}
  .alm-enroll-card{position:relative;top:auto}
  .alm-quick ul{grid-template-columns:repeat(2,1fr)}
  .alm-all-layout{grid-template-columns:1fr}
  .alm-filter-desktop{display:none}
  #alm-mobile-filter{display:inline-flex}
}
@media(max-width:640px){
  .alm-container{padding-left:16px;padding-right:16px}
  .alm-catalog-intro .alm-container{padding:32px 16px 40px}
  .alm-specialties,.alm-featured,.alm-all{padding:40px 0}
  .alm-specialty-scroller,.alm-featured-scroller{display:flex;overflow-x:auto;gap:16px;padding:0 16px 8px;scroll-snap-type:x mandatory;margin-left:-16px;margin-right:-16px}
  .alm-catalog-page .alm-specialty-scroller button.alm-specialty{width:auto!important;min-width:78vw!important;max-width:300px!important;scroll-snap-align:start}
  .alm-featured-item{min-width:78vw;max-width:300px;scroll-snap-align:start}
  .alm-featured-item{max-width:340px}
  .alm-results-grid{grid-template-columns:1fr;gap:20px}
  .alm-toolbar-actions label{display:none}
  .alm-quick ul{grid-template-columns:1fr}
  .alm-outcome-grid,.alm-audience-grid{grid-template-columns:1fr}
  .alm-detail-content{padding:40px 16px 50px}
  .alm-detail-hero{padding:34px 0 44px}
  .alm-detail-hero h1{font-size:32px}
  .alm-detail-lead{font-size:15px}
  .alm-auth-box{padding:26px 20px}
}

/* v6: catalog is the only element that breaks the theme content container. Header/footer remain untouched. */
.alm-catalog-page{display:block;clear:both}.alm-catalog-page .alm-container{margin-left:auto!important;margin-right:auto!important}.alm-specialty{font-family:inherit}.alm-specialty-link{pointer-events:none}

/* v7 enrollment state: only courses explicitly marked Available are clickable. */
.alm-coming-detail{width:100%;padding:80px 24px;display:flex;justify-content:center;background:rgba(245,247,252,.6)}
.alm-coming-detail-box{width:min(760px,100%);text-align:center;border:1px solid var(--alm-border);border-radius:16px;background:#fff;padding:56px 28px;box-shadow:0 5px 18px rgba(17,24,47,.05)}
.alm-coming-detail-box>span{display:inline-flex;border-radius:999px;background:#eef0f4;color:var(--alm-muted);padding:7px 12px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.alm-coming-detail-box h1{margin:18px 0 10px;font-size:32px}.alm-coming-detail-box p{margin:0;color:var(--alm-muted)}
.alm-back-courses{display:inline-flex;margin-top:24px;min-height:44px;align-items:center;padding:0 18px;border-radius:8px;background:var(--alm-navy);color:#fff;text-decoration:none;font-weight:650}
/* Keep the catalog full-bleed without changing theme/Elementor header or footer. */
.alm-catalog-page{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;position:relative!important;left:0!important;right:0!important}
.alm-catalog-page .alm-container{width:100%!important;max-width:1320px!important;margin-left:auto!important;margin-right:auto!important}


/* v8 full-width course and instructor pages */
.alm-course-template{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.alm-detail-page,.alm-instructors-page,.alm-instructor-detail-page{
  width:100vw!important;max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  position:relative!important;
}
.alm-detail-page .alm-container,.alm-instructors-page .alm-container,.alm-instructor-detail-page .alm-container{
  width:100%!important;max-width:1320px!important;margin-left:auto!important;margin-right:auto!important;
}

/* Theme/Elementor color + layout overrides for .alm-specialty now live in
   the "Specialty grid" section above (higher-specificity, !important rules
   applied directly on the button element). */
