/* One large original photograph per album, in the existing Thanh Giang palette. */
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel{margin-top:30px;margin-bottom:30px;padding-top:34px;padding-bottom:34px}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-viewport{position:relative;overflow:hidden;border:1px solid #c5d6e5;border-radius:16px;background:#fff;box-shadow:0 12px 34px #102d4612;transition:height .38s ease;touch-action:pan-y}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track{display:flex!important;grid-template-columns:none!important;gap:0!important;align-items:flex-start;margin:0;transition:transform .5s cubic-bezier(.22,.61,.36,1);will-change:transform}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track>figure{display:block!important;flex:0 0 100%;width:100%;min-width:0;max-width:none!important;box-sizing:border-box;margin:0!important;border:0;border-radius:0;box-shadow:none;overflow:hidden}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track>figure>a{display:block;width:100%;height:auto!important;aspect-ratio:16/9;background:#edf3f8;overflow:hidden;cursor:grab}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track>figure>a:active{cursor:grabbing}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track>figure>a img{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0;margin:0;user-select:none;-webkit-user-drag:none}
:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track>figure>figcaption{padding:20px 26px;font-size:17px;line-height:1.75;color:#294761;background:#fff;box-sizing:border-box}
.album-carousel-overlay{position:absolute;top:0;left:0;right:0;aspect-ratio:16/9;display:flex;align-items:center;justify-content:space-between;padding:0 18px;box-sizing:border-box;pointer-events:none}
.album-carousel-arrow{display:grid;place-items:center;pointer-events:auto;width:48px;height:48px;padding:0;border:1px solid #ffffffc9;border-radius:50%;color:#fff;background:#103252cf;box-shadow:0 4px 14px #071d3030;font:400 40px/1 Arial,sans-serif;cursor:pointer;transition:background .2s,transform .2s}
.album-carousel-arrow:hover{background:#103252;transform:scale(1.05)}
.album-carousel-controls{display:flex;align-items:center;gap:18px;padding:19px 0 5px;flex-wrap:wrap}
.album-carousel-count{color:#4c647a;font-size:15px;line-height:1.6;min-width:62px;font-variant-numeric:tabular-nums}
.album-carousel-dots{display:flex;flex:1;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px}
.album-carousel-dot{display:grid;place-items:center;width:30px;height:32px;min-width:30px;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer}
.album-carousel-dot:before{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#9ab0c3;transition:background .2s,transform .2s}
.album-carousel-dot[aria-current=true]:before{background:#087aaf;transform:scale(1.4)}
.album-carousel-play{min-height:40px;padding:8px 15px;border:1px solid #b9cfdf;border-radius:8px;background:#fff;color:#103252;font-size:14px;font-weight:650;line-height:1.5;cursor:pointer}
.album-carousel-play:hover{background:#edf5fc;border-color:#6086a5}
.album-carousel :is(button,a):focus-visible{outline:3px solid #087aaf;outline-offset:3px}
@media(max-width:740px){:is(.photo-library,#hinh-anh-thuc-te) .album-carousel{padding-top:24px;padding-bottom:24px;margin-top:16px;margin-bottom:16px}:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-viewport{border-radius:12px}:is(.photo-library,#hinh-anh-thuc-te) .album-carousel .album-carousel-track>figure>figcaption{padding:17px 18px;font-size:16px}.album-carousel-overlay{padding:0 10px}.album-carousel-arrow{width:40px;height:40px;font-size:34px}.album-carousel-controls{gap:7px 14px;padding-top:12px;justify-content:space-between}.album-carousel-dots{flex-basis:100%;order:3}.album-carousel-play{margin-left:auto}.album-carousel-dot{width:28px;min-width:28px}.album-carousel .album-heading h2{font-size:28px;line-height:1.3}}
@media(prefers-reduced-motion:reduce){.album-carousel-track,.album-carousel-viewport,.album-carousel-arrow,.album-carousel-dot:before{transition:none!important}}

/* Home gallery uses the same original figures and controls as the full library. */
#hinh-anh-thuc-te .evidence-chapter.album-carousel{padding:0;margin-top:52px;margin-bottom:0}
#hinh-anh-thuc-te .album-carousel-viewport{width:100%;min-width:0}
@media(max-width:740px){#hinh-anh-thuc-te .evidence-chapter.album-carousel{margin-top:36px}}
