*{box-sizing:border-box}html,body{margin:0}body{font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:#203246;background:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}.embed-body{padding:12px 4px 20px}.carousel-section{min-height:var(--panel-height);display:flex;flex-direction:column}.embed-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 54px 16px}.embed-heading h2,.library h1{font-size:clamp(23px,3vw,32px);margin:0;font-weight:800}.all-link,.back{color:#009fa5;font-weight:700}.carousel-wrap{position:relative;flex:1;display:flex;align-items:stretch}.carousel-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 52px 18px;align-items:stretch;width:100%}.carousel-track::-webkit-scrollbar{display:none}.carousel-card{min-width:0;flex:0 0 calc((100% - 104px - (var(--cards) - 1)*18px)/var(--cards));display:flex;flex-direction:column;background:#fff;border:1px solid #e8edf0;border-radius:10px;overflow:hidden;box-shadow:0 3px 15px #10203012;scroll-snap-align:start}.carousel-card:hover{box-shadow:0 5px 20px #10203028}.embed-photo{height:clamp(160px,20vw,300px);overflow:hidden;background:#e7e9ef;position:relative}.embed-photo img{width:100%;height:100%;object-fit:cover}.embed-photo.placeholder{display:grid;place-items:center;color:#e5007d;font-size:55px;font-weight:800}.embed-card-copy{padding:16px 18px}.embed-card-copy small{color:#df0079;font-weight:700}.embed-card-copy h3{font-size:clamp(17px,1.6vw,22px);line-height:1.25;margin:6px 0}.embed-card-copy p{font-size:14px;color:#607083}.arr{position:absolute;top:40%;z-index:2;border:0;background:#00a2a6;color:white;border-radius:10px;width:42px;height:52px;font-size:26px;box-shadow:0 3px 9px #0002}.arr.prev{left:0}.arr.next{right:0}.arr:disabled{opacity:.3;cursor:default}.library{max-width:1180px;margin:0 auto;padding:12px}.embed-search{display:flex;gap:10px;margin:20px 0}.embed-search input{flex:1;min-width:0;border:1px solid #ccd6dd;padding:12px;border-radius:7px;font:inherit}.embed-search button,.pages a{background:#009fa5;color:white;border:0;padding:11px 17px;border-radius:7px;font-weight:700}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.library-grid .carousel-card{flex:initial}.library-grid .embed-photo{height:205px}.pages{display:flex;justify-content:center;gap:15px;margin:28px}.embedded-article{max-width:1120px;margin:0 auto;background:white}.back{display:inline-block;margin:10px 12px 20px}.article-hero{height:clamp(280px,48vw,520px);position:relative;overflow:hidden;background:#192b39}.article-hero img{width:100%;height:100%;object-fit:cover}.article-hero:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#061826bd)}.article-title{position:absolute;bottom:6%;left:5%;right:5%;color:white;z-index:1}.article-title h1{font-size:clamp(28px,5vw,56px);line-height:1.1;margin:8px 0}.article-copy{max-width:800px;margin:auto;padding:25px;font-size:18px;line-height:1.85}.article-copy .standfirst{font-size:22px;font-weight:700;line-height:1.5}.article-copy p{margin:0 0 1.4em}.more{margin-top:30px}@media(max-width:700px){.carousel-track{padding:0 40px 16px}.carousel-card{flex-basis:80%}.arr{width:34px;height:44px}.embed-heading{margin:0 38px 15px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-grid .embed-photo{height:160px}}@media(max-width:430px){.library-grid{grid-template-columns:1fr}.carousel-card{flex-basis:88%}.article-copy{padding:16px;font-size:16px}}

/* V0.1.9: carousel summary and bottom-aligned article link */
.carousel-track .carousel-card .embed-card-copy{display:flex;flex-direction:column;flex:1;min-height:0}
.carousel-track .carousel-card .embed-card-copy .carousel-summary{font-size:15px;line-height:1.55;color:#536373;margin:10px 0 16px;overflow-wrap:anywhere}
.carousel-track .carousel-card .embed-card-copy .carousel-read-more{display:block;margin-top:auto;padding-top:10px;color:#009fa5;font-weight:750;font-size:15px}
.carousel-track .carousel-card:hover .carousel-read-more{text-decoration:underline}
@media(max-width:700px){.carousel-track .carousel-card .embed-card-copy .carousel-summary{font-size:14px}}
