/* The six learning sections share one editorial library; every cover and title opens its article. */
.etop-public-shell.etop-reading-shell.elm-shell{display:block;grid-template-columns:none;grid-template-areas:none;max-width:1160px;margin-top:22px;margin-bottom:45px}
.elm-shell>.etop-reading-content{background:#fff;border:1px solid #dce5ee;border-radius:18px;box-shadow:0 8px 28px #22466408;overflow:hidden;container:etop-content / inline-size}
.elm-shell .elm-section-nav{padding:22px 32px 21px;border-bottom:1px solid #e2e9f0;background:#f8fafc}
.elm-section-caption{display:flex;align-items:center;gap:15px;margin-bottom:13px;color:#62798b;font:700 11px/1.5 Arial,sans-serif;letter-spacing:1.25px}
.elm-section-caption-line{flex:1;height:1px;background:#e1e8ef}
.elm-section-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}
.elm-section-links .elm-section-link{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 13px;border:1px solid #dce5ed;border-radius:9px;background:#fff;color:#3b566d;font:600 14px/1.45 Arial,sans-serif;transition:border-color .15s,background .15s}
.elm-section-link>i{flex:none;width:19px;color:#7592a6;font-size:17px;text-align:center}
.elm-section-links .elm-section-link[aria-current]{border-color:#8fb3d5;background:#e9f3fd;color:#0f5fa3;box-shadow:inset 3px 0 #1769ad}
.elm-section-link[aria-current]>i{color:#1769ad}
.elm-shell .etop-reading-content>.elm-catalog{margin:0;padding:26px 40px 32px;border:0;border-radius:0;background:#fff;box-shadow:none;overflow:visible}
.elm-catalog *{box-sizing:border-box}
.elm-filter-form{margin:0 0 15px}
.elm-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:0 0 27px}
.elm-query{position:relative;min-width:0}
.elm-query>i{position:absolute;left:15px;top:16px;color:#7a91a3;font-size:14px;pointer-events:none}
.elm-query input{display:block;width:100%;min-width:0;height:46px;padding:11px 14px 11px 40px;border:1px solid #c8d9e6;border-radius:10px;background:#f9fbfd;color:#23455f;font:14px/1.5 Arial,sans-serif}
.elm-query input::placeholder{color:#70889b}
.elm-catalog .elm-search-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 18px;border:1px solid var(--elt-accent);border-radius:10px;background:var(--elt-accent);color:#fff;font:600 13px/1.5 Arial,sans-serif;text-decoration:none}
.elm-heading{margin:0 0 22px}
.elm-catalog .elm-heading h1{padding:0;margin:0 0 8px;color:#193c55;font:700 30px/1.3 Arial,sans-serif;letter-spacing:-.65px;text-align:left!important}
.elm-heading p{max-width:780px;padding:0;margin:0;color:#627b8c;font:14px/1.75 Arial,sans-serif}
.elm-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.elm-filter-row>label{display:flex;align-items:center;gap:10px;margin:0;min-width:0;color:#5b7487;font:13px/1.5 Arial,sans-serif}
.elm-topic-field{flex:1}
.elm-topic-field>span,.elm-sort-field>span{flex:none}
.elm-filter-row select{display:block;min-width:0;height:43px;max-width:100%;padding:9px 30px 9px 12px;border:1px solid #cbdbe7;border-radius:9px;background:#fff;color:#294c65;font:13px/1.5 Arial,sans-serif}
.elm-topic-field select{flex:1;max-width:380px}
.elm-sort-field select{width:158px}
.elm-catalog .elm-reset{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:7px 10px;border:1px solid #d7e3eb;border-radius:8px;background:#f6f9fb;color:#47667e;font-size:12px;white-space:nowrap}
.elm-result-line{padding:0 0 15px}
.elm-result{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;margin:0;color:#657e90;font:12px/1.7 Arial,sans-serif}
.elm-result strong{color:var(--elt-accent);font-weight:600}
.elm-range{margin-left:auto;color:#778d9d}
.elm-lessons{border-top:1px solid #dde7ef}
.elm-lessons .elm-lesson{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:center;gap:28px;padding:24px 0;margin:0;border:0;border-bottom:1px solid #e0e8ef;background:transparent;box-shadow:none;border-radius:0}
.elm-lesson-image{display:block;width:100%;min-width:0;aspect-ratio:16/9;border-radius:11px;overflow:hidden;background:#f1f5f8;box-shadow:0 3px 9px #21486512}
.elm-lesson-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border:0;border-radius:0;padding:0;margin:0;box-shadow:none}
.elm-lesson-body{display:flex;flex-direction:column;gap:9px;min-width:0;padding:0;margin:0;text-align:left}
.elm-lesson-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;padding:0;margin:0;color:var(--elt-accent);font:600 12px/1.5 Arial,sans-serif}
.elm-lesson-number{border-left:1px solid var(--elt-edge);padding-left:10px;font-weight:400;color:#6d8595}
.elm-catalog .elm-lesson-title{display:block;width:100%;padding:0;margin:0;color:#1e4058;font:700 21px/1.4 Arial,sans-serif;letter-spacing:-.25px;text-align:left!important;overflow-wrap:break-word}
.elm-catalog .elm-lesson-title a{color:inherit;text-decoration:none}
.elm-lesson-title .etop-title-text{display:block;max-width:100%;text-wrap:pretty;overflow-wrap:break-word;word-break:normal}
.elm-catalog .elm-lesson-summary{padding:0;margin:0;color:#5b7487;font:14px/1.75 Arial,sans-serif;text-align:left}
.elm-lesson-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:1px}
.elm-lesson-footer time{display:block;flex:none;color:#748a9b;font:12px/1.5 Arial,sans-serif}
.elm-lesson-footer .elm-lesson-open{display:inline-flex;align-items:center;gap:9px;min-height:30px;padding:3px 0;color:var(--elt-accent);font:600 13px/1.5 Arial,sans-serif;white-space:nowrap}
.elm-lesson-open>.fa-arrow-up-right{display:none}
.elm-open-arrow{font-size:16px;font-weight:400}
.elm-catalog .elm-paging{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:26px 0 0!important;padding:0}
.elm-paging:empty{display:none}
.elm-paging :is(a,strong){display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:7px 12px;border:1px solid #d7e3ec;border-radius:9px;background:#fff;color:var(--elt-accent);font:13px/1.5 Arial,sans-serif}
.elm-paging strong{background:var(--elt-accent);border-color:var(--elt-accent);color:#fff}
.elm-empty{padding:42px 20px 35px;border-top:1px solid #dde7ef;text-align:center}
.elm-empty>i{font-size:27px;color:#85a1b5;margin-bottom:15px}
.elm-catalog .elm-empty h2{margin:0 0 10px;padding:0;color:#294c65;font:700 22px/1.4 Arial,sans-serif;text-align:center!important}
.elm-empty p{margin:0 0 21px;color:#657e90;font:14px/1.7 Arial,sans-serif}
/* The article remains a single readable column with the same section navigation. */
.elm-shell .etop-reading-content>.etop-article-detail{width:100%;max-width:940px;margin:0 auto;border:0;border-radius:0;background:#fff;box-shadow:none;padding-top:12px}
.elm-shell .etop-article-detail .post-entry{max-width:850px;margin-inline:auto}
.elm-shell .etop-article-detail .elt-article-path{max-width:850px;margin-inline:auto}
.elm-shell .etop-article-detail .elt-article-path--compact{margin-inline:24px}
@media(hover:hover){.elm-section-links .elm-section-link:hover{border-color:#91b2cf;background:#f0f6fc;color:#115b99}.elm-catalog .elm-lesson-title a:hover,.elm-lesson-open:hover{text-decoration:underline;text-underline-offset:4px}.elm-lesson-image:hover{box-shadow:0 5px 14px #21486524}.elm-catalog .elm-search-button:hover{filter:brightness(.95)}}
.elm-shell :is(a,button,input,select):focus-visible{outline:3px solid #dc991f;outline-offset:3px}
@media(max-width:900px){.elm-shell .elm-section-nav{padding:20px 25px}.elm-shell .etop-reading-content>.elm-catalog{padding:24px 28px 30px}.elm-lessons .elm-lesson{grid-template-columns:200px minmax(0,1fr);gap:22px;padding-block:22px}.elm-catalog .elm-lesson-title{font-size:20px}.elm-filter-row{gap:12px 15px}.elm-topic-field select{max-width:320px}}
@media(max-width:640px){.etop-public-shell.etop-reading-shell.elm-shell{margin-top:12px;padding:0 10px}.elm-shell>.etop-reading-content{border-radius:13px}.elm-shell .elm-section-nav{padding:16px 14px}.elm-section-caption{font-size:10px;letter-spacing:1px;margin-bottom:10px}.elm-section-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.elm-section-links .elm-section-link{gap:7px;padding:9px;min-height:44px;font-size:12px;border-radius:8px}.elm-section-link>i{font-size:15px;width:16px}.elm-shell .etop-reading-content>.elm-catalog{padding:20px 16px 26px}.elm-search-row{gap:8px;margin-bottom:22px}.elm-query input{height:45px;font-size:16px;padding-left:34px}.elm-query>i{left:12px;top:16px;font-size:13px}.elm-catalog .elm-search-button{padding:10px 13px;min-height:45px;font-size:12px}.elm-search-button>i{display:none}.elm-catalog .elm-heading h1{font-size:26px;letter-spacing:-.45px;margin-bottom:0}.elm-heading p{display:none}.elm-heading{margin-bottom:19px}.elm-filter-row{gap:11px}.elm-filter-row>label{font-size:12px;gap:9px}.elm-topic-field{flex-basis:100%}.elm-topic-field select{max-width:none;flex:1;width:0}.elm-filter-row select{font-size:13px}.elm-sort-field select{width:160px}.elm-result{font-size:11px;gap:6px 8px}.elm-range{margin-left:0;flex-basis:100%}.elm-result-line{padding-bottom:12px}.elm-lessons .elm-lesson{grid-template-columns:124px minmax(0,1fr);gap:15px;align-items:start;padding-block:19px}.elm-lesson-image{border-radius:9px;margin-top:2px}.elm-lesson-body{gap:7px}.elm-lesson-meta{font-size:11px;line-height:1.45}.elm-catalog .elm-lesson-title{font-size:17px;line-height:1.4;letter-spacing:-.15px}.elm-catalog .elm-lesson-summary{display:none}.elm-lesson-footer{flex-wrap:wrap;gap:5px 10px}.elm-lesson-footer time{font-size:11px}.elm-lesson-footer .elm-lesson-open{font-size:12px;min-height:29px}.elm-paging :is(a,strong){min-height:38px;min-width:36px;padding:7px 10px}.elm-shell .etop-reading-content>.etop-article-detail{padding-top:4px}.elm-shell .etop-article-detail .elt-article-path{margin-inline:14px}.elm-catalog .elm-empty h2{font-size:20px}}
@media(max-width:440px){.elm-section-link>i{display:none}.elm-section-links .elm-section-link{font-size:12px;padding:9px 8px}.elm-shell .etop-reading-content>.elm-catalog{padding-inline:14px}.elm-lessons .elm-lesson{grid-template-columns:100px minmax(0,1fr);gap:12px}.elm-catalog .elm-lesson-title{font-size:16px}.elm-lesson-number{border:0;padding-left:0}.elm-lesson-meta{gap:4px 8px}.elm-search-row{gap:7px}.elm-catalog .elm-search-button{padding-inline:11px}.elm-query input{font-size:16px}.elm-catalog .elm-heading h1{font-size:24px}}
@media(pointer:coarse){.elm-section-links .elm-section-link,.elm-lesson-footer .elm-lesson-open,.elm-paging :is(a,strong),.elm-catalog .elm-reset{min-height:44px}}
@media(prefers-reduced-motion:reduce){.elm-shell *{transition:none!important}}
/* Match the article heading to the lighter library typography. */
.elm-shell .etop-reading-content .etop-article-detail>.etop-article-category{justify-content:flex-start;min-height:0;margin:17px 24px 15px;padding:0;border:0;border-radius:0;background:transparent;text-align:left}
.elm-shell .etop-reading-content .etop-article-detail>.etop-article-category .heading{color:#28688f!important;font:600 13px/1.5 Arial,sans-serif;letter-spacing:0;text-transform:none}
.elm-shell .etop-article-category .heading::before{content:'←';display:inline-block;margin-right:9px;font-weight:400}
.elm-shell .etop-reading-content .etop-article-detail>.post-header{max-width:850px;margin:0 auto 20px;text-align:left}
.elm-shell .etop-reading-content .etop-article-detail>.post-header h1{margin:0 0 16px;color:#193c55;font:700 31px/1.4 Arial,sans-serif!important;letter-spacing:-.45px!important;text-align:left;text-wrap:pretty;overflow-wrap:break-word}
.elm-shell .etop-reading-content .etop-article-byline{justify-content:flex-start;gap:7px 15px;font-size:12px}
.elm-shell .etop-reading-content .etop-article-date{font-size:12px}
.elm-shell .etop-reading-content .etop-article-rule{width:100%;height:1px;margin:18px 0 0;background:#e2e9f0}
@media(max-width:640px){.elm-shell .etop-reading-content .etop-article-detail>.etop-article-category{margin:14px 0 14px}.elm-shell .etop-reading-content .etop-article-detail>.post-header h1{font-size:25px!important;line-height:1.4!important;letter-spacing:-.3px!important}.elm-shell .etop-reading-content .etop-article-byline{gap:6px 12px}.elm-shell .etop-reading-content .etop-article-rule{margin-top:15px}}
/* Latest preference: keep the editorial controls and show the articles as an image-card grid. */
.elm-lessons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 20px;align-items:stretch;border-top:0}
.elm-lessons .elm-lesson{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;margin:0;padding:0;border:1px solid #dce6ee;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 3px 10px #21486507}
.elm-lesson-image{flex:none;width:100%;aspect-ratio:16/9;margin:0;border-radius:0;border-bottom:1px solid #e8eef3;box-shadow:none}
.elm-lesson-body{display:flex;flex:1;flex-direction:column;gap:9px;min-width:0;padding:17px 17px 14px}
.elm-catalog .elm-lesson-title{font-size:19px;line-height:1.45;letter-spacing:-.2px}
.elm-catalog .elm-lesson-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.7}
.elm-lesson-meta{gap:7px 9px;font-size:11px;line-height:1.5}
.elm-lesson-footer{flex-wrap:nowrap;gap:10px;margin-top:auto;padding-top:8px}
.elm-lesson-footer time{font-size:11px}
.elm-lesson-footer .elm-lesson-open{font-size:12px}
@media(hover:hover){.elm-lessons .elm-lesson:hover{border-color:#a9c3d8;box-shadow:0 6px 18px #21486512}.elm-lesson-image:hover{box-shadow:none}}
@media(max-width:900px){.elm-lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 18px}}
@media(max-width:560px){.elm-lessons{grid-template-columns:minmax(0,1fr);gap:20px}.elm-lesson-body{padding:17px 17px 14px}.elm-catalog .elm-lesson-title{font-size:19px;line-height:1.45}.elm-catalog .elm-lesson-summary{display:-webkit-box;font-size:13px}.elm-lesson-image{margin-top:0;border-radius:0}.elm-lesson-meta{font-size:12px}.elm-lesson-footer time{font-size:12px}.elm-lesson-footer .elm-lesson-open{font-size:13px}}
