/* pesan-alumni-v19: six portrait cards, with the message on the photograph. */
.am-section{padding:54px 0 32px;background:#faf8f3}
.am-top{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:30px}.am-top .eyebrow{color:#ad5c36;margin:0 0 12px}.am-title{font-size:clamp(38px,4vw,54px);line-height:1.1;letter-spacing:-1.5px;margin:0 0 14px}.am-title span{color:#436cb6}.am-intro{font-size:18px;line-height:1.6;margin:0;color:#65718a}.am-cta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0}.am-compose{background:none;border:0;border-bottom:2px solid #a9bee0;color:#436cb6;font-size:20px;font-weight:700;padding:10px 0 7px;min-height:44px}.am-compose span{margin-left:24px}.am-cta small{font-size:12px;color:#65718a}
.am-carousel{min-width:0}.am-track{--am-count:6;--am-gap:14px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--am-count) - 1)*var(--am-gap))/var(--am-count));gap:var(--am-gap);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;user-select:none;padding:3px 0 5px;cursor:grab}.am-track::-webkit-scrollbar{display:none}.am-track.am-dragging{scroll-snap-type:none;cursor:grabbing}
.am-card{position:relative;height:356px;isolation:isolate;overflow:hidden;border-radius:15px;background:#173a3c;color:#fff9ee;scroll-snap-align:start;min-width:0}.am-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%;z-index:-2;pointer-events:none}.am-card:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#08292efc 0%,#092c31ed 27%,#0a2c329e 50%,#0a2c3226 70%,transparent 85%);z-index:-1;pointer-events:none}.am-card:after{content:'';position:absolute;inset:9px;border:1px solid #fff4d221;border-radius:9px;pointer-events:none}.am-copy{position:absolute;left:0;right:0;bottom:0;padding:0 17px 13px;display:flex;flex-direction:column;align-items:flex-start}.am-quote-mark{height:26px;font:58px/.8 Georgia,serif;color:#e9c592;opacity:.85;margin-left:-2px}.am-quote{font:italic 17px/1.35 Georgia,'Times New Roman',serif;letter-spacing:-.15px;margin:8px 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line;text-shadow:0 1px 12px #071f2566;min-height:69px;max-height:69px}.am-author{width:100%;padding-top:10px;border-top:1px solid #ead5ae45}.am-author h3{font:500 13px/1.4 Arial,Helvetica,sans-serif;margin:0 0 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff9ee}.am-author p{font-size:11px;line-height:1.4;margin:0;color:#edf0e3b8}.am-read{display:flex;align-items:center;justify-content:space-between;align-self:stretch;min-height:44px;margin-top:4px;padding:4px 0 0;background:none;border:0;color:#eed3a5;font-size:11px;text-align:left}.am-read span{font-size:15px}.am-read:hover{color:#fff8e6}
.am-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px}.am-footer p{font-size:13px;color:#65718a;margin:0;display:flex;gap:10px;align-items:center}.am-controls{display:flex;align-items:center;gap:10px}.am-count{font-size:12px;white-space:nowrap;min-width:76px;color:#65718a;font-variant-numeric:tabular-nums}.am-arrow{width:44px;height:44px;border-radius:50%;border:1px solid #d8dee9;background:transparent;color:#172647;font-size:21px}.am-arrow:hover{background:#e7eef8}.am-arrow:disabled{opacity:.35;cursor:default}.am-order{margin:12px 0 0;font-size:11px;color:#7b899f}.am-state{padding:32px;border:1px dashed #d8dee9;border-radius:16px;background:#fff;line-height:1.6;color:#65718a}.am-state p{margin:0 0 12px}.am-state button{font:inherit;color:#436cb6;background:none;border:0;min-height:44px;padding:8px 0}
.am-dialog{border:1px solid #e4e8ef;border-radius:23px;padding:0;width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 40px);color:#172647;box-shadow:0 30px 100px #0f1c4140;overflow:auto}.am-dialog::backdrop{background:#14234396;backdrop-filter:blur(5px)}.am-dialog-content{padding:37px 38px 30px}.am-close{position:absolute;right:16px;top:14px;width:36px;height:36px;background:#fffff0e8;color:#596b85;border:0;border-radius:50%;font-size:24px;z-index:1}.am-dialog h2{font-size:30px;letter-spacing:-.7px;line-height:1.2;margin:0 0 15px}.am-dialog .eyebrow{color:#ad5c36;margin:0 0 12px;font-size:11px}.am-dialog-intro{font-size:14px;line-height:1.65;margin:0 0 20px}.am-reader-photo{display:block;width:100%;height:235px;object-fit:cover;object-position:center 20%;background:#183c40}.am-full-message{font:italic 24px/1.5 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;color:#172647;margin:15px 0 0}.am-full-author{font-size:13px;color:#65718a;margin:22px 0 0}.am-profile{display:flex;gap:14px;align-items:center;background:#f4f7fb;border:1px solid #e8edf4;border-radius:13px;padding:14px;margin:0 0 20px}.am-avatar{width:62px;height:70px;object-fit:cover;border-radius:8px;flex-shrink:0}.am-profile strong{display:block;font-size:15px;margin-bottom:5px}.am-profile span{display:block;color:#65718a;font-size:12px}.am-dialog label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}.am-dialog textarea{width:100%;border:1px solid #cbd5e4;border-radius:11px;resize:vertical;min-height:141px;padding:14px 15px;font:15px/1.6 Arial,Helvetica,sans-serif;color:#172647;background:#fff}.am-meta{display:flex;justify-content:space-between;gap:14px;margin-top:7px;color:#65718a;font-size:11px}.am-note{background:#faf8f2;border-radius:9px;padding:12px;font-size:12px;line-height:1.65;margin:18px 0 22px;color:#817d71}.am-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.am-actions .button{font-size:14px;padding:13px 21px;min-height:47px}.am-feedback{font-size:14px;line-height:1.6;color:#a34329;margin:0 0 16px}.am-feedback[hidden],.am-profile[hidden],.am-dialog form[hidden],.am-dialog img[hidden],.am-footer[hidden],.am-state[hidden],.am-track[hidden]{display:none}.am-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;color:white;background:#203e63;border-radius:12px;padding:15px 20px;font-size:13px;line-height:1.5;z-index:20}.am-toast[hidden]{display:none}.am-section button:focus-visible,.am-section a:focus-visible,.am-carousel:focus-visible,.am-dialog button:focus-visible,.am-dialog a:focus-visible,.am-dialog textarea:focus-visible{outline:3px solid #87ade9;outline-offset:3px}
@media(min-width:1800px){.am-card{height:374px}.am-copy{padding-inline:20px;padding-bottom:15px}.am-quote{font-size:19px;line-height:1.32;min-height:76px;max-height:76px}.am-author h3{font-size:14px}.am-author p,.am-read{font-size:12px}}
@media(max-width:1100px){.am-track{--am-count:4}}@media(max-width:850px){.am-track{--am-count:3}.am-card{height:350px}.am-intro{font-size:16px}.am-compose{font-size:17px}.am-cta small{font-size:10px}}
@media(max-width:620px){.am-section{padding:32px 0 28px}.am-top{display:block;margin-bottom:22px}.am-cta{align-items:flex-start;margin-top:16px;flex-direction:row;align-items:center;gap:16px}.am-cta small{max-width:140px;line-height:1.5}.am-track{--am-count:2;--am-gap:12px}.am-card{height:345px}.am-footer p{font-size:10px;max-width:170px}.am-controls{gap:7px}.am-count{font-size:10px;min-width:auto}.am-dialog-content{padding:30px 23px 23px}.am-dialog h2{font-size:27px}.am-meta{font-size:10px}.am-actions .button{font-size:12px;padding:12px 16px}.am-profile{padding:11px;gap:11px}.am-avatar{width:53px;height:63px}.am-profile strong{font-size:13px}.am-profile span{font-size:11px}}
@media(max-width:480px){.am-track{grid-auto-columns:76%;gap:13px}.am-card{height:360px}.am-copy{padding-inline:21px;padding-bottom:15px}.am-quote{font-size:20px;line-height:1.3;min-height:78px;max-height:78px}.am-author h3{font-size:14px}.am-author p,.am-read{font-size:12px}.am-footer{flex-direction:column-reverse;gap:10px}.am-footer p{max-width:none}.am-controls{align-self:flex-end}.am-reader-photo{height:205px}.am-full-message{font-size:23px}}
@media(max-width:350px){.am-copy{padding-inline:17px}.am-quote{font-size:18px;min-height:71px;max-height:71px}.am-card{height:345px}}
@media(prefers-reduced-motion:reduce){.am-track{scroll-behavior:auto}}

/* pesan-reader-fix1: full portrait and complete message, matching the approved mockup. */
.am-reader{width:min(960px,calc(100% - 40px));max-width:960px;max-height:calc(100dvh - 48px);border:1px solid #ffffff8c;border-radius:24px;background:#fcfaf6;box-shadow:0 36px 100px #0c193b4f}
.am-reader::backdrop{background:#111d3d96;backdrop-filter:blur(6px)}
.am-reader-layout{display:grid;grid-template-columns:40% 60%;min-height:574px}
.am-reader-portrait{position:sticky;top:0;align-self:start;height:min(574px,calc(100dvh - 50px));min-width:0;background:#225762;overflow:hidden}
.am-reader .am-reader-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:transparent}
.am-reader-signature{position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#e4ece1;font-size:9px;letter-spacing:3px;text-shadow:0 1px 9px #132832}
.am-reader-fallback{position:absolute;inset:0;display:none;place-items:center;color:#e4ece1;font:100px/1 Georgia,serif}
.am-reader-portrait[data-photo-missing="true"] .am-reader-photo{display:none}
.am-reader-portrait[data-photo-missing="true"] .am-reader-fallback{display:grid}
.am-reader-content{padding:43px 43px 34px;min-width:0;display:flex;flex-direction:column}
.am-reader-identity{padding-right:24px;padding-bottom:24px;border-bottom:1px solid #e9e1d6}
#am-reader-dialog .eyebrow{font-size:11px;font-weight:700;letter-spacing:2.6px;line-height:1.6;margin:0 0 16px;color:#a85f38}
#am-reader-title{font-size:28px;line-height:1.2;letter-spacing:-.65px;margin:0 0 15px;font-weight:700;overflow-wrap:anywhere}
.am-reader .am-full-author{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;color:#6b7588;font-size:13px;line-height:1.4}
#am-reader-class{border-radius:6px;padding:5px 9px;background:#f0eadf;color:#855d3f;font-size:12px;font-weight:700}
#am-reader-dot{opacity:.6}
.am-reader [hidden]{display:none!important}
.am-reader-quote{position:relative;margin:27px 0 29px;padding-top:9px}
.am-reader-quote-mark{position:absolute;top:-5px;left:-3px;font:70px/.7 Georgia,serif;color:#c7aa7e;opacity:.65}
.am-reader .am-full-message{font:italic 23px/1.53 Georgia,'Times New Roman',serif;letter-spacing:-.12px;margin:17px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#28364f}
.am-reader-footer{display:flex;align-items:center;gap:12px;margin-top:auto;color:#8c7960;font-size:11px;letter-spacing:.4px;line-height:1.6}
.am-reader-footer>span:first-child{height:1px;width:28px;background:#c7ac85;flex-shrink:0}
.am-reader .am-close{right:18px;top:17px;width:44px;height:44px;padding:0;display:grid;place-items:center;border:1px solid #e7e1d7;background:#ffffffb8;color:#687385;box-shadow:0 2px 10px #20394e06;font:26px/1 Arial,Helvetica,sans-serif;z-index:3}
.am-reader .am-close:hover{background:#fff;color:#172647}
@media(max-width:1100px){.am-reader-layout{grid-template-columns:39% 61%}.am-reader-content{padding:40px 35px 31px}.am-reader .am-full-message{font-size:22px}}
@media(max-width:640px){
 .am-reader{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:19px}
 .am-reader-layout{display:flex;flex-direction:column;min-height:0}
 .am-reader-portrait{position:relative;top:auto;align-self:stretch;height:292px;flex:none}
 .am-reader-signature{display:none}
 .am-reader-content{padding:27px 25px}
 .am-reader-identity{padding-right:0;padding-bottom:18px}
 #am-reader-dialog .eyebrow{font-size:10px;letter-spacing:2.2px;margin-bottom:13px}
 #am-reader-title{font-size:24px;line-height:1.22;margin-bottom:13px}
 .am-reader .am-full-author{font-size:12px;gap:8px}
 #am-reader-class{font-size:11px}
 .am-reader-quote{margin:23px 0 24px;padding-top:4px}
 .am-reader .am-full-message{font-size:20px;line-height:1.52;margin-top:14px}
 .am-reader-quote-mark{font-size:57px;top:-3px}
 .am-reader-footer{font-size:10px}
 .am-reader .am-close{top:12px;right:12px;background:#fdfaf4ed;border:0;color:#405362}
}
@media(max-height:740px) and (min-width:641px){
 .am-reader{max-height:calc(100dvh - 32px)}
 .am-reader-layout{min-height:520px}
 .am-reader-portrait{height:min(520px,calc(100dvh - 50px))}
 .am-reader-content{padding-top:32px;padding-bottom:27px}
 .am-reader-identity{padding-bottom:18px}
 #am-reader-title{font-size:26px}
 .am-reader-quote{margin-top:23px;margin-bottom:24px}
 .am-reader .am-full-message{font-size:21px;line-height:1.5}
}
