.learning-page-header { padding: clamp(64px, 8vw, 104px) 0; background: #073b4c; color: #fff; }
.learning-header-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: clamp(30px, 7vw, 90px); }
.learning-header-copy { max-width: 790px; }
.learning-header-copy h1 { margin-top: 10px; font-size: 4.4rem; line-height: 1.12; }
.learning-header-copy p { max-width: 720px; margin-top: 17px; color: rgba(255,255,255,.76); font-size: 1.16rem; line-height: 1.85; }
.learning-header-mark { position: relative; width: 210px; aspect-ratio: 1; display: grid; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: #fff; box-shadow: 0 24px 56px rgba(0,0,0,.2); }
.learning-header-mark > img:first-child { width: 72%; height: 72%; object-fit: contain; }
.learning-header-mark > span { position: absolute; inset-inline-end: -6px; inset-block-end: 16px; width: 58px; height: 58px; display: grid; place-items: center; border: 5px solid #073b4c; border-radius: 50%; background: #e9b52f; color: #173029; }
.learning-header-mark > span .ui-icon { width: 29px; height: 29px; }

.learning-portals-section,
.learning-videos-section { padding: clamp(64px, 8vw, 102px) 0; }
.learning-portals-section { background: #fff; }
.learning-videos-section { border-top: 1px solid #dce8e5; background: #f4f8f7; }
.learning-section-heading { max-width: 760px; margin-bottom: 28px; }
.learning-section-heading h2 { margin-top: 9px; color: #102c27; font-size: 2.8rem; line-height: 1.22; }
.learning-section-heading p { margin-top: 10px; color: #64746f; line-height: 1.8; }
.learning-portals-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.learning-portal-card { min-width: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 190px; padding: 24px; border: 1px solid #d7e6e2; border-radius: 8px; background: #fff; box-shadow: 0 15px 38px rgba(15,35,49,.07); transition: transform .4s cubic-bezier(.2,.75,.25,1), box-shadow .4s ease, border-color .4s ease; }
.learning-portal-card:hover { transform: translateY(-7px); border-color: rgba(0,167,165,.48); box-shadow: 0 25px 56px rgba(15,35,49,.13); }
.learning-portal-visual { width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #e8f5f4; color: #087456; }
.learning-portal-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.learning-portal-visual .ui-icon { width: 36px; height: 36px; }
.learning-portal-copy { min-width: 0; display: grid; gap: 5px; }
.learning-portal-copy small { overflow: hidden; color: #788680; font-family: Inter, sans-serif; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.learning-portal-copy strong { color: #123930; font-size: 1.15rem; }
.learning-portal-copy > span { color: #62736d; font-size: .82rem; line-height: 1.65; }
.learning-portal-action { display: inline-flex; align-items: center; gap: 6px; color: #087456; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.learning-portal-action .ui-icon { width: 17px; height: 17px; }
.learning-official-note { display: flex; align-items: center; gap: 7px; margin-top: 18px; color: #6b7c76; font-size: .76rem; }
.learning-official-note .ui-icon { width: 18px; height: 18px; color: #087456; }

.learning-videos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.learning-video-card { min-width: 0; overflow: hidden; border: 1px solid #d7e6e2; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(15,35,49,.07); transition: transform .4s cubic-bezier(.2,.75,.25,1), box-shadow .4s ease; }
.learning-video-card:hover { transform: translateY(-7px); box-shadow: 0 24px 52px rgba(15,35,49,.13); }
.learning-video-media { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #0f4c5c; }
.learning-video-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1), opacity .4s ease; }
.learning-video-media video { width: 100%; height: 100%; display: block; object-fit: contain; background: #071f27; }
.learning-video-card:hover img { transform: scale(1.045); opacity: .86; }
.learning-video-play { position: absolute; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; background: rgba(255,255,255,.92); color: #087456; box-shadow: 0 12px 30px rgba(0,0,0,.2); transition: transform .35s ease; }
.learning-video-card:hover .learning-video-play { transform: scale(1.08); }
.learning-video-play .ui-icon { width: 31px; height: 31px; }
.learning-video-copy { display: grid; gap: 8px; padding: 18px; }
.learning-video-copy strong { color: #123930; font-size: 1.02rem; line-height: 1.45; }
.learning-video-copy > span { display: -webkit-box; overflow: hidden; color: #64746f; font-size: .82rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.learning-video-copy small { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #087456; font-size: .74rem; font-weight: 800; }
.learning-video-copy small .ui-icon { width: 16px; height: 16px; }
.learning-videos-empty { display: grid; justify-items: center; gap: 11px; min-height: 190px; place-content: center; border: 1px dashed #b9cfca; border-radius: 8px; color: #687a74; text-align: center; }
.learning-videos-empty .ui-icon { width: 42px; height: 42px; color: #087456; }

@media (max-width: 980px) {
    .learning-portals-grid { grid-template-columns: 1fr; }
    .learning-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .learning-header-layout { grid-template-columns: 1fr; }
    .learning-header-mark { width: 150px; justify-self: start; }
    .learning-header-copy h1 { font-size: 2.7rem; }
    .learning-header-copy p { font-size: 1rem; }
    .learning-section-heading h2 { font-size: 2.05rem; }
    .learning-portal-card { grid-template-columns: 62px minmax(0, 1fr); min-height: 0; padding: 18px; }
    .learning-portal-visual { width: 62px; height: 62px; }
    .learning-portal-action { grid-column: 2; }
}
@media (max-width: 560px) {
    .learning-videos-grid { grid-template-columns: 1fr; }
    .learning-portal-card { grid-template-columns: 1fr; }
    .learning-portal-action { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .learning-portal-card,
    .learning-video-card,
    .learning-video-media img,
    .learning-video-play { transition: none; }
}
