/* Published study material, with an editorial lead and complementary readings. */
.library-count{display:block;margin:16px 0;color:var(--navy);font-size:.9rem}
.academy-students .library-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 42px;padding:0;overflow:visible}
.academy-students .library-feature{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:24px;padding:24px;min-width:0;box-shadow:none}
.academy-students .library-feature:first-child{grid-column:1/-1;grid-template-columns:minmax(220px,.65fr) minmax(0,1fr);padding:30px;background:#fff}
.study-preview{margin:0;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f2f4f8;border:1px solid #dde3eb;border-radius:10px;padding:12px}
.study-preview img{display:block;max-width:100%;width:auto;height:auto;max-height:230px;object-fit:contain}
.library-feature:first-child .study-preview img{max-height:330px}
.study-preview figcaption{font-size:10px;color:#536078;margin-top:8px;text-align:center;line-height:1.4}
.library-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.academy-students .library-feature h3{font-size:1.2rem;line-height:1.3;letter-spacing:-.02em;margin:12px 0}
.academy-students .library-feature:first-child h3{font-size:clamp(1.4rem,2.7vw,2rem)}
.academy-students .library-feature .library-copy>p{display:block!important;font:400 .9rem/1.6 Inter,sans-serif;margin:0 0 16px;color:#536078}
.study-meta{font-size:.75rem;color:#5d6c83;line-height:1.6;margin:10px 0}
.study-free{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#735420}
.academy-students .library-link{min-height:44px;display:inline-flex;align-items:center;gap:10px;font-weight:650;margin-top:auto}
.academy-students .catalogue-controls{position:relative}
.academy-students #catalogue-status{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;text-align:left;grid-column:1/-1}
.academy-students .catalogue-filter{display:block}
.catalogue-reset{min-height:44px;padding:8px 14px;border:1px solid #cdd6e2;border-radius:8px;color:var(--navy);background:#fff;font:600 .875rem Inter,sans-serif}
.academy-students #catalogue-more[hidden]{display:none}
.academy-ecg{margin-top:28px;padding:20px 24px;border:1px solid #d7dfeb;border-radius:12px;background:#f1f4f9}
.academy-ecg summary{cursor:pointer;font-weight:650;min-height:44px;display:flex;align-items:center;gap:10px}
.academy-ecg p{font-size:.875rem;color:#536078;margin:8px 0 16px}
.academy-ecg ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;gap:6px 20px}
.academy-ecg a{display:block;padding:8px 0;font-size:.875rem;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1000px){.academy-students .library-feature{grid-template-columns:1fr}.study-preview img{max-height:200px}.academy-students .library-feature:first-child{grid-template-columns:minmax(180px,.65fr) minmax(0,1fr)}}
@media(max-width:600px){.academy-students .library-features{grid-template-columns:1fr;gap:16px;margin:0 0 30px}.academy-students .library-feature,.academy-students .library-feature:first-child{grid-column:auto;grid-template-columns:1fr;padding:20px;gap:14px;flex:none}.library-feature:first-child .study-preview img{max-height:290px}.study-preview img{max-height:190px}.academy-students .library-feature h3{font-size:1.2rem}.academy-students .library-copy>p{display:block}.academy-ecg{padding:14px 18px}.academy-ecg ul{grid-template-columns:1fr}}

/* User steering: preserve the approved animated books as the primary presentation. */
.library-book{align-self:center;min-width:0}
.library-book .ausculto-book{width:100%;aspect-ratio:4/3}
.book-disclosure{display:block;font-size:10px;line-height:1.5;color:#65748a;text-align:center;margin-top:8px}
.study-real-preview{width:100%;margin-top:14px;border-top:1px solid #dde3eb}
.study-real-preview>summary{display:flex;align-items:center;min-height:44px;font-size:.8125rem;color:#52617a;cursor:pointer}
.study-real-preview .study-preview img{max-height:320px}
.library-feature .study-real-preview[open]{margin-top:18px}
@media(max-width:600px){.library-book{max-width:360px;width:100%;justify-self:center}.library-book .ausculto-book{aspect-ratio:4/3}}

/* Keep every static catalogue link available, but do not lay out the text of
   offscreen rows during hero rendering. The browser remembers measured sizes. */
.academy-students .academy-library{content-visibility:auto;contain-intrinsic-block-size:auto 3000px}
.academy-students .about-academy{content-visibility:auto;contain-intrinsic-block-size:auto 3800px}
@media(min-width:1001px){.academy-students .academy-library{contain-intrinsic-block-size:auto 3000px}.academy-students .about-academy{contain-intrinsic-block-size:auto 2400px}}
/* Separate ECG course and compact catalogue rows. */
.ecg-modules{margin-bottom:32px;border:1px solid #e7ded4;border-radius:14px;background:#fff;padding:16px 22px;color:#001a3d}.ecg-modules summary{cursor:pointer;font-size:13px;min-height:30px}.ecg-modules ol{display:grid;grid-template-columns:1fr 1fr;gap:10px 30px;padding-left:22px;margin:20px 0 5px;font-size:13px;line-height:1.5}.ecg-modules a{display:block;min-height:44px;padding:7px 0}
.academy-students .catalogue-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid #e7ded4}.academy-students .catalogue-list li{min-height:0;border:0;border-bottom:1px solid #e7ded4;border-radius:0;background:transparent;padding:0;margin:0}.academy-students .catalogue-list a{display:block;padding:23px 5px;min-height:0}.academy-students .catalogue-list h3{font-family:'DM Serif Display',Georgia,serif;font-size:24px;font-weight:400;line-height:1.25;margin:10px 0;color:#001a3d}.academy-students .catalogue-list .catalogue-topics{margin:0 0 10px;font-size:12px;line-height:1.6}.academy-students .catalogue-list .catalogue-open{margin:12px 0 0;font-size:12px;display:block}.academy-students .catalogue-list li:hover{background:#f4efe5}
@font-face{font-family:'DM Serif Display';src:url('/assets/fonts/home/dm-serif-display-400-latin.woff2') format('woff2');font-weight:400;font-display:swap}
@media(max-width:600px){.ecg-modules ol{grid-template-columns:1fr}.academy-students .catalogue-list h3{font-size:22px}}

/* One book per card. The animated book (closed -> half -> open on hover) is the
   only object; the flat cover is the phone fallback only. */
/* Also on phones: academy-experience.css opens with an unclosed comment, so its
   own cover/short-link rules never applied. */
.academy-students .library-features .reading-cover,.academy-students .library-features .reading-link-short{display:none}
@media(min-width:601px){
 .academy-students .library-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
 .academy-students .library-feature,.academy-students .library-feature:first-child{grid-column:auto;display:flex;flex-direction:column;gap:0;padding:26px 26px 24px;background:#fffdf9;border:1px solid #e8dfcd;border-radius:20px;box-shadow:0 1px 0 #fff inset,0 18px 40px -34px #1b2b3f66;transition:box-shadow .4s ease,border-color .4s ease}
 .academy-students .library-feature:hover{border-color:#dccb9f;box-shadow:0 1px 0 #fff inset,0 26px 50px -34px #1b2b3f80}
 .academy-students .library-feature .library-book{position:relative;align-self:stretch;margin:-6px -6px 18px;padding:14px 6px 20px;border-radius:14px;background:radial-gradient(ellipse 62% 14% at 50% 92%,#1c2c3f1f,transparent 70%),linear-gradient(#f6f1e7,#fbf8f1)}
 .academy-students .library-feature .ausculto-book{display:block;width:100%;aspect-ratio:4/3}
 .academy-students .library-feature .ausculto-book img{transition:opacity .28s ease,transform .45s cubic-bezier(.22,1,.36,1)}
 .academy-students .library-feature .book-disclosure{position:absolute;left:0;right:0;bottom:4px;text-align:center;font:500 10px/1.4 Inter,sans-serif;letter-spacing:.04em;color:#8a7a5c;opacity:.85}
 .academy-students .library-feature .library-copy{justify-content:flex-start;flex:1}
 .academy-students .library-feature h3,.academy-students .library-feature:first-child h3{font:400 clamp(1.35rem,1.9vw,1.7rem)/1.12 'Instrument Serif',Georgia,serif;letter-spacing:-.01em;margin:10px 0 10px;text-wrap:balance}
 .academy-students .library-feature .library-copy>p{font-size:.86rem;line-height:1.6}
 .academy-students .library-feature .library-link{margin-top:auto;background:#13304b;color:#fbf6ea;border-radius:10px;padding:0 18px;transition:background .25s}
 .academy-students .library-feature .library-link:hover{background:#0c2238}
 .library-feature:first-child .study-preview img{max-height:none}
}
@media(min-width:601px) and (max-width:1000px){.academy-students .library-features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(hover:hover) and (pointer:fine){.academy-students .library-feature .book-disclosure{display:none}}
