/* Learning hub: use the current homepage palette in both themes. */
body.page-learning{background:#f5f6f3;color:#1f2937;font-family:Vazirmatn,sans-serif}
body.page-learning .lh-main{--lh-bg:#f5f6f3;--lh-card:#fff;--lh-soft:#ddf5f2;--lh-ink:#172b3a;--lh-text:#1f2937;--lh-muted:#63747c;--lh-teal:#4dc8c1;--lh-teal-deep:#197b79;--lh-lime:#d9ff43;--lh-line:rgba(23,43,58,.1);position:relative;z-index:1;background:var(--lh-bg);color:var(--lh-text);padding-bottom:78px}
html[data-theme="dark"] body.page-learning{background:#081a25;color:#f5f8f8}
html[data-theme="dark"] body.page-learning .lh-main{--lh-bg:#081a25;--lh-card:#102936;--lh-soft:#0d2330;--lh-ink:#f5f8f8;--lh-text:#f5f8f8;--lh-muted:#a9bdc3;--lh-teal-deep:#8ed8cb;--lh-line:rgba(221,245,242,.14)}
.lh-wrap{width:min(1220px,calc(100% - 32px));margin-inline:auto}
.lh-help>a{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:var(--lh-lime);color:#172b3a;text-decoration:none;font-size:13px;font-weight:800;padding:10px 16px;transition:transform .2s,box-shadow .2s}
.lh-help>a:hover{transform:translateY(-2px);box-shadow:0 8px 23px rgba(217,255,67,.2)}
.lh-breadcrumb{display:flex;align-items:center;gap:10px;color:var(--lh-muted);font-size:12px;margin:23px 0 0}.lh-breadcrumb a{color:inherit;text-decoration:none}.lh-breadcrumb i{font-size:10px}
.lh-audiences{padding-top:43px;scroll-margin-top:100px}.lh-audience-heading{margin-bottom:20px}.lh-overline{display:inline-flex;align-items:center;gap:8px;color:var(--lh-teal-deep);font-size:13px;font-weight:800}.lh-overline:before{content:"";display:block;width:22px;height:3px;border-radius:2px;background:var(--lh-lime)}
.lh-audience-heading h2,.lh-section-heading h2{font-size:clamp(24px,2.3vw,32px);color:var(--lh-ink);font-weight:900;line-height:1.5;margin:5px 0}.lh-audience-heading p,.lh-section-heading p{font-size:14px;color:var(--lh-muted);line-height:1.9;margin:0}
.lh-audience-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lh-audience-card{display:block;text-align:right;overflow:hidden;width:100%;border:1px solid var(--lh-line);border-radius:17px;background:var(--lh-card);color:var(--lh-ink);font-family:inherit;cursor:pointer;padding:0;box-shadow:0 8px 22px rgba(23,43,58,.05);transition:transform .2s,border-color .2s,box-shadow .2s}
.lh-audience-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(23,43,58,.1)}.lh-audience-card[aria-pressed="true"]{border:2px solid var(--lh-teal)}
.lh-audience-card img{display:block;width:100%;height:205px;object-fit:cover;object-position:center 42%;background:var(--lh-soft)}
.lh-audience-card-body{display:grid;grid-template-columns:43px 1fr;column-gap:11px;padding:17px 19px 19px}.lh-audience-card-icon{grid-row:span 2;display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:var(--lh-soft);color:var(--lh-teal-deep);font-size:20px}.lh-audience-card strong{font-size:17px;line-height:1.5}.lh-audience-card small{color:var(--lh-muted);font-size:12px;line-height:1.8}.lh-audience-card-link{grid-column:2;color:var(--lh-teal-deep);font-size:13px;font-weight:800;margin-top:10px}.lh-audience-card-link i{margin-right:5px}
.lh-library{padding-top:66px;scroll-margin-top:100px}.lh-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:19px}.lh-count{color:var(--lh-muted);font-size:13px;white-space:nowrap}
.lh-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px;align-items:start}.lh-list{display:grid;gap:9px;max-height:690px;overflow:auto;scrollbar-width:thin}.lh-lesson{display:flex;align-items:center;gap:12px;width:100%;padding:14px;text-align:right;border:1px solid var(--lh-line);border-radius:12px;background:var(--lh-card);color:var(--lh-ink);font-family:inherit;cursor:pointer}.lh-lesson:hover{border-color:var(--lh-teal)}.lh-lesson[aria-current="true"]{border-color:var(--lh-teal);background:var(--lh-soft)}html[data-theme="dark"] .lh-lesson[aria-current="true"]{background:#173540}.lh-lesson-num{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:var(--lh-soft);color:var(--lh-teal-deep);font:700 14px Outfit,sans-serif;direction:ltr}html[data-theme="dark"] .lh-lesson-num{background:#1d444c}.lh-lesson-copy{display:grid;gap:3px}.lh-lesson-copy strong{font-size:14px;line-height:1.5}.lh-lesson-copy small{font-size:11px;color:var(--lh-muted)}
.lh-detail{min-width:0;border:1px solid var(--lh-line);border-radius:17px;background:var(--lh-card);padding:clamp(18px,2.4vw,28px);box-shadow:0 10px 28px rgba(23,43,58,.05)}.lh-detail-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:11px}.lh-detail-meta span{border-radius:99px;background:var(--lh-soft);color:var(--lh-teal-deep);padding:5px 10px;font-size:12px;font-weight:800}html[data-theme="dark"] .lh-detail-meta span{background:#1d444c}.lh-detail h3{color:var(--lh-ink);font-size:clamp(21px,2vw,27px);margin:0 0 5px}.lh-detail-intro{color:var(--lh-muted);line-height:1.9;margin:0 0 18px}
.lh-video{display:grid;place-items:center;position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:12px;background:linear-gradient(135deg,#172b3a,#265a63);color:#fff}.lh-video video{width:100%;height:100%;object-fit:contain;background:#10212a}.lh-video-empty{text-align:center;padding:18px}.lh-video-empty i{display:grid;place-items:center;width:67px;height:67px;margin:0 auto 13px;border-radius:50%;background:rgba(255,255,255,.13);color:#d9ff43;font-size:31px}.lh-video-empty strong{display:block;font-size:16px}.lh-video-empty p{font-size:13px;margin:5px 0 0;color:#d8e8e8}
.lh-read{border-top:1px solid var(--lh-line);margin-top:24px;padding-top:19px}.lh-read h4{color:var(--lh-ink);font-size:18px;margin:0 0 12px}.lh-read ol{display:grid;gap:9px;margin:0;padding:0 23px 0 0}.lh-read li{color:var(--lh-muted);line-height:1.9;padding-right:3px}.lh-read li::marker{color:var(--lh-teal-deep);font-weight:800}.lh-note{display:flex;align-items:start;gap:9px;padding:13px 15px;margin-top:20px;border-radius:10px;background:var(--lh-soft);color:var(--lh-muted);font-size:13px;line-height:1.8}.lh-note i{color:var(--lh-teal-deep);font-size:17px}.lh-empty{padding:28px;text-align:center;border:1px dashed var(--lh-line);border-radius:12px;color:var(--lh-muted)}
.lh-help{display:flex;align-items:center;gap:16px;margin-top:44px;padding:23px;border-radius:16px;background:var(--lh-soft)}.lh-help-icon{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:12px;background:var(--lh-card);color:var(--lh-teal-deep);font-size:22px}.lh-help h2{color:var(--lh-ink);font-size:19px;margin:0 0 3px}.lh-help p{color:var(--lh-muted);font-size:13px;margin:0}.lh-help>a{margin-right:auto;background:#172b3a;color:#fff;white-space:nowrap}
body.page-learning .ft{background:#172b3a!important;color:#f5f8f8!important;border-top:2px solid #4dc8c1!important}body.page-learning .ft .ft__heading{color:#f5f8f8!important}body.page-learning .ft .ft__desc,body.page-learning .ft .ft__links a,body.page-learning .ft .ft__contact a,body.page-learning .ft .ft__copy{color:#b7c9ca!important}
.lh-audience-card:focus-visible,.lh-lesson:focus-visible,.lh-help>a:focus-visible{outline:3px solid var(--lh-teal);outline-offset:3px}
@media(max-width:850px){.lh-audience-card img{height:165px}.lh-layout{grid-template-columns:245px minmax(0,1fr)}}
@media(max-width:700px){.lh-audiences{padding-top:36px}.lh-audience-cards{grid-template-columns:1fr;gap:13px}.lh-audience-card img{height:185px;object-position:center 35%}.lh-audience-card-body{padding:14px 17px 16px}.lh-library{padding-top:44px}.lh-section-heading{align-items:start}.lh-count{display:none}.lh-layout{display:block}.lh-list{display:flex;overflow-x:auto;max-height:none;scroll-snap-type:x mandatory;padding-bottom:12px;margin-bottom:6px}.lh-lesson{flex:0 0 min(240px,72vw);scroll-snap-align:start}.lh-detail{padding:17px}.lh-help{flex-wrap:wrap}.lh-help>a{width:100%;margin:3px 0 0}}
@media(prefers-reduced-motion:reduce){.lh-audience-card,.lh-help>a{transition:none}}

/* Match the current homepage header in both themes. The promo artwork is shared by header.js. */
html[data-theme="light"] body.page-learning .header,
html[data-theme="light"] body.page-learning .header.ak-header--scrolled{--ak-accent:#4dc8c1;--ak-accent-rgb:77,200,193;--ak-accent-dim:#172b3a;--ak-text-muted:#63747c;background:rgba(245,246,243,.96)!important;border-bottom:1px solid rgba(23,43,58,.1)!important;box-shadow:0 8px 24px rgba(23,43,58,.07)!important}
html[data-theme="dark"] body.page-learning .header,
html[data-theme="dark"] body.page-learning .header.ak-header--scrolled{--ak-accent:#4dc8c1;--ak-accent-rgb:77,200,193;--ak-text-muted:#a9bdc3;background:rgba(23,43,58,.97)!important;border-bottom:1px solid rgba(221,245,242,.14)!important;box-shadow:0 8px 25px rgba(0,0,0,.22)!important}
html[data-theme="light"] body.page-learning .header .nav-link:not(.nav-link--rfq),html[data-theme="light"] body.page-learning .header .nav-trigger{color:#172b3a!important}
html[data-theme="light"] body.page-learning .header .nav-link--active,html[data-theme="light"] body.page-learning .header .nav-link:not(.nav-link--rfq):hover,html[data-theme="light"] body.page-learning .header .nav-trigger:hover{color:#172b3a!important;background:#ddf5f2!important}
body.page-learning .header .header-search,body.page-learning .header .theme-toggle,body.page-learning .header .action-btn,body.page-learning .header .profile-btn{border-radius:16px!important}
html[data-theme="light"] body.page-learning .header .header-search,html[data-theme="light"] body.page-learning .header .theme-toggle,html[data-theme="light"] body.page-learning .header .action-btn,html[data-theme="light"] body.page-learning .header .profile-btn{background:#fff!important;border-color:rgba(23,43,58,.12)!important;color:#172b3a!important}
html[data-theme="dark"] body.page-learning .header .header-search,html[data-theme="dark"] body.page-learning .header .theme-toggle,html[data-theme="dark"] body.page-learning .header .action-btn,html[data-theme="dark"] body.page-learning .header .profile-btn{background:#102936!important;border-color:rgba(221,245,242,.16)!important;color:#ddf5f2!important}
html[data-theme="light"] body.page-learning .header .profile-name,html[data-theme="light"] body.page-learning .header .profile-btn--guest .profile-name{color:#172b3a!important;-webkit-text-fill-color:#172b3a!important}
body.page-learning .header .nav-link--rfq{border-radius:15px!important;background:#4dc8c1!important;border-color:#4dc8c1!important;color:#172b3a!important;box-shadow:0 6px 14px rgba(77,200,193,.2)!important}

/* Keep the tutorial itself close to the audience choices. */
.lh-breadcrumb{margin-top:13px}
.lh-audiences{padding-top:22px}.lh-audience-heading{margin-bottom:12px}.lh-audience-heading h2{font-size:clamp(22px,2vw,28px)}
.lh-audience-card img{height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center}
.lh-audience-card-body{padding:12px 16px 14px}
.lh-library{padding-top:34px}.lh-section-heading{margin-bottom:13px}.lh-section-heading h2{font-size:clamp(22px,2vw,28px)}
.lh-list{position:sticky;top:84px;max-height:calc(100vh - 106px);overflow-y:auto;overscroll-behavior:contain}
.lh-detail{scroll-margin-top:90px}
@media(max-width:700px){
  .lh-audiences{padding-top:20px}.lh-audience-cards{gap:9px}
  .lh-audience-card{display:grid;grid-template-columns:132px minmax(0,1fr)}.lh-audience-card img{width:132px;height:88px;aspect-ratio:3/2;object-fit:cover}.lh-audience-card-body{padding:9px 11px;grid-template-columns:1fr}.lh-audience-card-icon{display:none}.lh-audience-card strong{font-size:14px}.lh-audience-card-link{grid-column:1;margin-top:3px;font-size:11px}.lh-audience-card small{font-size:11px}
  .lh-library{padding-top:27px}.lh-list{position:sticky;top:116px;z-index:20;max-height:none;overflow-x:auto;overflow-y:hidden;background:var(--lh-bg);padding:8px 0;margin:0 0 5px}.lh-lesson{flex-basis:min(208px,64vw)}.lh-lesson-num{width:33px;height:33px}.lh-detail{scroll-margin-top:190px}
}

/* Compact audience choices replace the former large photo banners. */
.lh-audiences{padding-top:16px}
.lh-audience-cards{gap:12px}
.lh-audience-card{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:112px}
.lh-audience-card img{width:120px;height:112px;aspect-ratio:auto;object-fit:contain;object-position:center;background:#fff}
.lh-audience-card-body{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;padding:12px 13px}
.lh-audience-card-icon{display:none}
.lh-audience-card strong{font-size:15px}
.lh-audience-card small{font-size:11px}
.lh-audience-card-link{font-size:11px;margin-top:4px}
.lh-library{padding-top:27px}
@media(max-width:850px){.lh-audience-card{grid-template-columns:105px minmax(0,1fr)}.lh-audience-card img{width:105px;height:112px}.lh-audience-card-body{padding:9px}}
@media(max-width:700px){.lh-audience-card{grid-template-columns:112px minmax(0,1fr);min-height:102px}.lh-audience-card img{width:112px;height:102px}.lh-audience-card-body{padding:9px 12px}}

/* The lesson strip follows the measured height of the shared header. */
.lh-main{--lh-header-offset:76px}
.lh-wrap,.lh-layout,.lh-audience-cards,.lh-list,.lh-lesson-copy{min-width:0}
.lh-audiences,.lh-library{scroll-margin-top:calc(var(--lh-header-offset) + 12px)}
.lh-list{top:calc(var(--lh-header-offset) + 10px)}
.lh-detail{scroll-margin-top:calc(var(--lh-header-offset) + 16px)}
@media(max-width:768px){
  .lh-wrap{width:calc(100% - 28px)}
  .lh-audience-cards{grid-template-columns:1fr;gap:9px}
  .lh-audience-card{grid-template-columns:100px minmax(0,1fr);min-height:92px;border-radius:13px}
  .lh-audience-card img{width:100px;height:92px;object-fit:contain}
  .lh-audience-card-body{padding:10px 12px;gap:3px}
  .lh-audience-card strong{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
  .lh-audience-card small{font-size:12px;line-height:1.7}
  .lh-audience-card-link{font-size:12px;margin:2px 0 0}
  .lh-audience-card:hover{transform:none}
  .lh-audience-heading h2,.lh-section-heading h2{font-size:21px;line-height:1.6}
  .lh-library{padding-top:24px}
  .lh-section-heading{gap:10px;align-items:center;margin-bottom:8px}
  .lh-layout{display:block}
  .lh-list{display:flex;position:sticky;top:var(--lh-header-offset);z-index:20;gap:8px;max-height:none;overflow-x:auto;overflow-y:hidden;background:var(--lh-bg);padding:8px 2px 10px;margin:0 -2px 4px;scroll-snap-type:x proximity;scroll-padding-inline:2px;overscroll-behavior-x:contain}
  .lh-lesson{flex:0 0 min(220px,76vw);min-height:72px;padding:10px;gap:8px;scroll-snap-align:start}
  .lh-lesson-num{width:30px;height:30px;font-size:13px}
  .lh-lesson-copy strong{font-size:13px;line-height:1.6}
  .lh-lesson-copy small{font-size:11px;line-height:1.6}
  .lh-detail{padding:14px;border-radius:14px;scroll-margin-top:calc(var(--lh-header-offset) + 110px)}
  .lh-detail-meta{gap:5px;margin-bottom:9px}
  .lh-detail-meta span{font-size:11px;padding:4px 8px}
  .lh-detail h3{font-size:21px;line-height:1.6}
  .lh-detail-intro{font-size:14px;margin-bottom:13px}
  .lh-video{border-radius:10px}
  .lh-video-empty{padding:12px}
  .lh-video-empty i{width:42px;height:42px;font-size:24px;margin-bottom:8px}
  .lh-video-empty strong{font-size:13px;line-height:1.7}
  .lh-video-empty p{font-size:11px;line-height:1.7;margin-top:4px}
  .lh-read{margin-top:18px;padding-top:15px}
  .lh-read li{font-size:14px;line-height:2}
  .lh-note{padding:11px;font-size:12px}
  .lh-help{margin-top:24px;padding:16px;gap:12px;flex-wrap:wrap}
  .lh-help>div:nth-child(2){flex:1;min-width:0}
  .lh-help h2{font-size:17px}
  .lh-help p{line-height:1.9}
  .lh-help>a{width:100%;min-height:44px;margin:0}
}
@media(max-width:360px){
  .lh-wrap{width:calc(100% - 20px)}
  .lh-audience-card{grid-template-columns:82px minmax(0,1fr)}
  .lh-audience-card img{width:82px;height:94px}
  .lh-audience-card-body{padding:9px}
  .lh-audience-heading h2,.lh-section-heading h2{font-size:19px}
}

/* WordPress editor content and uploaded video covers keep their original proportions. */
.lh-page-title{font-size:clamp(22px,2vw,28px);color:var(--lh-ink);font-weight:900;line-height:1.5;margin:5px 0}
.lh-audience-fallback{display:grid;place-items:center;align-self:stretch;background:var(--lh-soft);color:var(--lh-teal-deep);min-height:90px}
.lh-read-content{color:var(--lh-muted);line-height:2;overflow-wrap:anywhere}
.lh-read-content h2,.lh-read-content h3,.lh-read-content h4{color:var(--lh-ink);font-size:1.15em;line-height:1.7}
.lh-read-content img,.lh-read-content video,.lh-read-content iframe{max-width:100%;height:auto}
.lh-read-content pre,.lh-read-content table{display:block;max-width:100%;overflow:auto}
.lh-read-content a{color:var(--lh-teal-deep);text-decoration:underline}
.lh-video video{min-width:0;min-height:0;object-fit:contain;background:#172b3a}
.lh-video-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#172b3a}
.lh-video-poster+.lh-video-empty{position:relative;background:rgba(23,43,58,.92);border-radius:10px;margin:12px}
.lh-download{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 14px;margin-top:16px;border-radius:10px;background:var(--lh-soft);color:var(--lh-teal-deep);font-size:14px;text-decoration:none}
.lh-preview-notice,.lh-media-error{padding:12px 15px;border-radius:10px;background:var(--lh-soft);color:var(--lh-text);font-size:13px;line-height:1.9}
.lh-media-error{grid-column:1/-1;margin:0}
@media(max-width:768px){.lh-page-title{font-size:21px;line-height:1.6}.lh-read-content{font-size:14px}.lh-download{font-size:13px}}
@media(max-width:360px){.lh-page-title{font-size:19px}}
