.ht-learn-main { font-family:var(--ht-body); color:var(--ht-ink); }
.ht-learn-main > .wp-block-post-content > * { margin-block:0; }
.ht-learn-section { padding:64px max(28px, calc((100% - 1280px)/2)); border-bottom:1px solid #e5e8e7; font-family:var(--ht-body); line-height:1.6; }
.ht-learn-section :where(h1,h2,h3,p) { margin:0; }
.ht-learn-section-heading { margin-bottom:28px; max-width:800px; }
.ht-learn-section .ht-eyebrow { margin-bottom:14px; font-size:12px; letter-spacing:.12em; }
.ht-learn-section h1 { max-width:750px; font-family:var(--ht-heading,var(--ht-body)); font-size:clamp(2.75rem,5vw,4.8rem); font-weight:800; line-height:1.05; letter-spacing:-.04em; }
.ht-learn-section h2 { font-family:var(--ht-heading,var(--ht-body)); font-size:clamp(1.9rem,3vw,2.7rem); font-weight:750; line-height:1.15; letter-spacing:-.03em; }
.ht-learn-section .ht-learn-intro { max-width:760px; margin-top:18px; font-size:18px; line-height:1.65; color:var(--ht-muted); }
.ht-learn-section-link { display:inline-block; color:var(--ht-ink); margin-top:19px; font-size:15px; font-weight:700; text-underline-offset:5px; }
.ht-learn-section--intro { padding-top:72px; padding-bottom:48px; background:#f5f6f4; }
.ht-learn-section--intro .ht-learn-section-heading { margin-bottom:38px; }
.ht-learn-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:stretch; }
.ht-learn-grid--1 { grid-template-columns:1fr; }
.ht-learn-grid--2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ht-learn-grid--4 { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.ht-learn-grid--5 { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.ht-learn-card { overflow:hidden; display:flex; flex-direction:column; margin:0; border:1px solid #e0e5e3; border-radius:9px; background:#fff; min-width:0; }
.ht-learn-card .ht-learn-image { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; margin:0; border-radius:0; }
.ht-learn-card-body { display:flex; flex-direction:column; flex:1; gap:13px; padding:24px; }
.ht-learn-card h3 { font-family:var(--ht-heading,var(--ht-body)); font-size:23px; font-weight:750; letter-spacing:-.02em; line-height:1.25; }
.ht-learn-card h3 a { color:var(--ht-ink); text-decoration:none; }
.ht-learn-card h3 a:hover { text-decoration:underline; text-underline-offset:4px; }
.ht-learn-card p { font-size:15px; color:var(--ht-muted); line-height:1.65; }
.ht-learn-tag { font-size:11px!important; font-weight:750; color:var(--ht-link-red)!important; text-transform:uppercase; letter-spacing:.08em; }
.ht-learn-card .ht-learn-card-link { color:var(--ht-link-red); font-size:14px; font-weight:700; margin-top:auto; padding-top:7px; text-decoration:none; }
.ht-learn-card-link:hover { text-decoration:underline; text-underline-offset:4px; }
.ht-learn-card .ht-learn-meta { font-size:12px; color:#525b5e; }
.ht-learn-card .ht-learn-access { align-self:flex-start; font-size:12px; font-weight:600; padding:3px 8px; border-radius:4px; background:#f3f4f2; color:#4b5356; }
.ht-learn-note { padding:12px 14px; border-left:2px solid var(--ht-red); background:#f6f7f5; font-size:14px!important; }
.ht-learn-note span { display:block; color:var(--ht-ink); font-weight:650; font-size:12px; margin-bottom:3px; }
.ht-learn-card--goal h3 { font-size:21px; }
.ht-learn-card--goal .ht-learn-card-body { padding:23px; }
.ht-learn-card--podcast .ht-learn-image { aspect-ratio:1; width:88px; height:88px; margin:24px 24px 0; border-radius:7px; }
.ht-learn-section--formats { padding-top:28px; padding-bottom:28px; }
.ht-learn-section--formats .ht-learn-section-heading { margin-bottom:16px; }
.ht-learn-section--formats h2 { font-size:14px; letter-spacing:0; font-weight:650; color:var(--ht-muted); }
.ht-learn-card--format { background:#fafbf9; }
.ht-learn-card--format .ht-learn-card-body { padding:14px 18px; }
.ht-learn-card--format h3 { font-size:16px; letter-spacing:0; }
.ht-learn-card--format .ht-learn-card-link { font-size:12px; padding-top:0; }
.ht-learn-section--closing { background:#101415; color:#fff; text-align:center; padding-block:70px; }
.ht-learn-section--closing .ht-learn-section-heading { margin:0 auto; }
.ht-learn-section--closing .ht-learn-intro { color:#d4dad7; }
.ht-learn-section--closing .ht-learn-section-link { background:var(--ht-red); color:#fff; padding:14px 25px; border-radius:4px; text-decoration:none; margin-top:25px; }
.ht-learn-section :is(a,button):focus-visible { outline:3px solid #2082d4; outline-offset:5px; }
.editor-styles-wrapper .ht-learn-section { padding:32px; margin-block:16px; max-width:none; border:1px solid #d3d9d6; border-radius:8px; }
.editor-styles-wrapper .ht-learn-editor-hidden { border:2px dashed #b17210; background:#fffaf1; color:#101415; }
.editor-styles-wrapper .ht-learn-grid > .block-editor-block-list__block { margin:0; }
.editor-styles-wrapper .ht-learn-section .components-notice { margin:0 0 16px; }
.editor-styles-wrapper .ht-learn-grid > .block-list-appender { position:relative; align-self:center; min-height:48px; }
.editor-styles-wrapper .ht-learn-card .components-base-control { color:#101415; }
.editor-styles-wrapper .ht-learn-editor-status { font-size:12px; padding:12px; }
@media(max-width:1000px) {
 .ht-learn-grid--3,.ht-learn-grid--4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ht-learn-grid--5 { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:640px) {
 .ht-learn-section { padding:42px 22px; }
 .ht-learn-section--intro { padding-top:44px; }
 .ht-learn-section .ht-learn-intro { font-size:16px; }
 .ht-learn-grid,.ht-learn-grid--2,.ht-learn-grid--3,.ht-learn-grid--4 { grid-template-columns:1fr; gap:18px; }
 .ht-learn-grid--5 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .ht-learn-card-body { padding:22px; }
 .ht-learn-card h3 { font-size:22px; }
 .ht-learn-card--format h3 { font-size:16px; }
 .ht-learn-section--formats { padding-block:25px; }
 .editor-styles-wrapper .ht-learn-section { padding:20px; }
}

.ht-learn-section .ht-learn-start-heading { font-size:20px; font-weight:650; letter-spacing:-.01em; margin:0 0 18px; }

.ht-learn-section--closing .ht-learn-section-link { font-size:19px; font-weight:750; }
.ht-learn-section--closing .ht-learn-section-link:hover { box-shadow:inset 0 0 0 1px #ffffff80; }

/* Format tabs enhance the same independent WordPress sections, with video players loaded only on request. */
.ht-learn-tabs-ready .ht-learn-section[hidden] { display:none!important; }
.ht-learn-format-bar { position:sticky; top:calc(var(--ht-header-height, 74px) + var(--ht-admin-offset, 0px)); z-index:900; background:#fff; padding-block:18px; box-shadow:0 3px 12px #10141508; }
.ht-learn-format-bar .ht-learn-section-heading { margin-bottom:12px; }
.ht-learn-tabs { display:flex; gap:8px; overflow-x:auto; scrollbar-width:thin; }
.ht-learn-tabs button { flex:1; min-width:max-content; min-height:42px; padding:9px 18px; border:1px solid #d4dad7; border-radius:5px; background:#f5f6f4; color:var(--ht-ink); font:600 14px/1.4 var(--ht-body); cursor:pointer; }
.ht-learn-tabs button:hover { border-color:var(--ht-ink); }
.ht-learn-tabs button[aria-selected="true"] { background:var(--ht-ink); border-color:var(--ht-ink); color:#fff; box-shadow:inset 0 -3px var(--ht-red); }
.ht-learn-section[role="tabpanel"] { scroll-margin-top:210px; }
@media(max-width:640px) {
 .ht-learn-section--intro .ht-learn-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .ht-learn-card--goal .ht-learn-card-body { padding:16px 13px; gap:10px; }
 .ht-learn-card--goal h3 { font-size:18px; }
 .ht-learn-card--goal p { font-size:13px; }
 .ht-learn-card--goal .ht-learn-card-link { font-size:12px; }
 .ht-learn-format-bar { padding:14px 18px; }
 .ht-learn-tabs { gap:4px; }
 .ht-learn-tabs button { font-size:12px; padding:10px 8px; min-height:40px; }
}
@media print {
 .ht-learn-tabs-ready .ht-learn-section[hidden] { display:block!important; }
 .ht-learn-format-bar { position:static; }
}

html:has(.ht-smart-header--hidden) .ht-learn-format-bar { top:var(--ht-admin-offset, 0px); }

/* Click-to-load video previews preserve page speed and a stable responsive frame. */
.ht-learn-video { position:relative; width:100%; aspect-ratio:16/9; min-height:200px; background:#101415; }
.ht-learn-video-preview { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; overflow:hidden; }
.ht-learn-video-preview .ht-learn-image { width:100%; height:100%; object-fit:cover; }
.ht-learn-video-preview::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 50%,#0009); pointer-events:none; }
.ht-learn-play { position:absolute; z-index:1; display:grid; place-items:center; width:54px; height:54px; border-radius:50%; background:var(--ht-red); color:white; font-size:21px; padding-left:3px; box-sizing:border-box; box-shadow:0 3px 18px #0004; }
.ht-learn-play-caption { position:absolute; z-index:1; bottom:12px; left:16px; color:#fff; font-size:13px; font-weight:600; }
.ht-learn-video-preview:hover .ht-learn-play { box-shadow:0 0 0 3px #fff8; }
.ht-learn-video-preview:focus-visible { outline:3px solid var(--ht-red); outline-offset:-3px; }
.ht-learn-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.ht-learn-video-preview[hidden] { display:none; }

.ht-learn-video-fallback { align-self:flex-start; color:var(--ht-muted); font-size:12px; text-underline-offset:3px; }

/* Powerkit wraps linked images in a positioned figure; preserve the video frame. */
.ht-learn-video > .pk-pin-it-container { position:absolute; inset:0; width:100%; height:100%; margin:0; }
