/* BS Lê Trần Duy — luminous ivory + champagne gold visual refresh.
   Scoped to the homepage to avoid changing existing archive/article layouts. */
body.home { background:#fffdf8; color:#28333c; }
body.home .page-header { box-shadow:0 4px 24px rgba(24,34,40,.08); }
body.home .about-me { background:linear-gradient(180deg,#fff 0%,#fffaf0 100%); padding-top:64px; padding-bottom:52px; }
body.home .about-me .s-title span {color:#a67d10;}
body.home .about-me .btn-readmore {background:#b38b24;color:#fff;border-radius:999px;}
body.home .about-me .btn-readmore:hover {background:#86630c;}
body.home .subcribe { background:#223b46; }
body.home .about-me .description { max-width:94%; }
body.home .about-me blockquote {border-left:3px solid #caa94d; padding-left:18px;}
.bsduy-profile,.bsduy-credentials{font-family:inherit;}
.bsduy-profile *,.bsduy-credentials *,.bsduy-lightbox *{box-sizing:border-box;}
.bsduy-profile{padding:72px 0;background:#fff;}
.bsduy-profile__layout{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:clamp(26px,5vw,76px);align-items:center;}
.bsduy-profile__photo{padding:12px;background:#f8f0db;border-radius:28px;position:relative;}
.bsduy-profile__photo:before{content:"";position:absolute;inset:-8px 18px 18px -8px;border:1px solid #dfc479;border-radius:29px;pointer-events:none;}
.bsduy-profile__photo img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:center top;border-radius:20px;}
.bsduy-eyebrow{color:#957014;font-size:12px;font-weight:800;letter-spacing:.16em;display:inline-block;margin-bottom:13px;}
.bsduy-profile__info h2,.bsduy-section-heading h2{font-weight:800;line-height:1.18;color:#253841;letter-spacing:-.025em;}
.bsduy-profile__info h2{font-size:clamp(28px,3.3vw,45px);margin:0 0 10px;}
.bsduy-profile__subtitle{color:#a77d19;font-weight:700;font-size:clamp(17px,1.8vw,21px);margin-bottom:20px;}
.bsduy-profile__description{font-size:16px;line-height:1.8;color:#47545b;max-height:292px;overflow:auto;}
.bsduy-profile__description p{margin:0 0 14px;}
.bsduy-button{display:inline-flex;gap:16px;align-items:center;background:#b58a24;color:#fff!important;border-radius:999px;padding:13px 24px;font-weight:700;margin-top:18px;text-decoration:none!important;transition:background .2s,transform .2s;}
.bsduy-button:hover,.bsduy-button:focus{background:#89650e;transform:translateY(-2px);}
.bsduy-credentials{padding:76px 0 80px;background:linear-gradient(180deg,#fffaf0,#f8f3e7);}
.bsduy-section-heading{text-align:center;max-width:750px;margin:0 auto 36px;}
.bsduy-section-heading h2{font-size:clamp(26px,3vw,40px);margin:0 0 14px;}
.bsduy-section-heading p{color:#627077;font-size:16px;line-height:1.7;}
.bsduy-gallery{position:relative;display:flex;align-items:center;gap:15px;}
.bsduy-gallery__viewport{flex:1;min-width:0;overflow:hidden;touch-action:pan-y;}
.bsduy-gallery__track{display:flex;gap:20px;transition:transform .35s ease;will-change:transform;}
.bsduy-gallery__item{flex:0 0 calc((100% - 40px)/3);min-width:0;background:#fff;border:1px solid #ede6d7;border-radius:18px;padding:16px;box-shadow:0 9px 28px rgba(51,45,30,.07);transition:transform .25s,box-shadow .25s;}
.bsduy-gallery__item:hover{transform:translateY(-3px);box-shadow:0 13px 35px rgba(51,45,30,.12);}
.bsduy-gallery__open{display:flex;width:100%;height:340px;background:#faf8f2;border:0;padding:10px;cursor:zoom-in;align-items:center;justify-content:center;position:relative;border-radius:10px;overflow:hidden;}
.bsduy-gallery__open img{display:block;max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain;}
.bsduy-gallery__zoom{position:absolute;bottom:10px;right:10px;background:rgba(37,56,65,.88);color:#fff;border-radius:18px;font-size:12px;padding:6px 11px;opacity:0;transition:opacity .2s;}
.bsduy-gallery__open:hover .bsduy-gallery__zoom,.bsduy-gallery__open:focus-visible .bsduy-gallery__zoom{opacity:1;}
.bsduy-gallery__label{display:block;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:650;color:#3f4d55;margin-top:13px;}
.bsduy-gallery__arrow{flex:0 0 44px;width:44px;height:44px;border:1px solid #e0d3ad;background:#fff;color:#97731d;border-radius:50%;font-size:34px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;}
.bsduy-gallery__arrow:hover{background:#f4e6bd;}
.bsduy-gallery__arrow:disabled{opacity:.35;cursor:default;}
.bsduy-gallery__dots{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-top:28px;}
.bsduy-gallery__dots button{border:0;width:9px;height:9px;padding:0;border-radius:50%;background:#d9ceb4;cursor:pointer;}
.bsduy-gallery__dots button[aria-current=true]{background:#b48a23;width:26px;border-radius:12px;}
.bsduy-credentials__more{text-align:center;margin:26px 0 0;}
.bsduy-credentials__more a{color:#866819;text-decoration:underline;text-underline-offset:4px;font-weight:700;}
.bsduy-lightbox[hidden]{display:none!important;}
.bsduy-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(13,22,28,.94);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:64px 22px 28px;}
.bsduy-lightbox img{max-width:95vw;max-height:calc(100vh - 145px);height:auto;width:auto;object-fit:contain;}
.bsduy-lightbox p{color:#fff;max-width:80vw;text-align:center;margin:18px 0 0;font-size:15px;}
.bsduy-lightbox__close{position:absolute;top:12px;right:24px;background:transparent;border:0;color:#fff;font-size:46px;line-height:1;cursor:pointer;}
@media(max-width:991px){.bsduy-gallery__item{flex-basis:calc((100% - 20px)/2)}.bsduy-gallery__open{height:300px}}
@media(max-width:767px){.bsduy-profile{padding:48px 0}.bsduy-profile__layout{grid-template-columns:1fr;gap:26px}.bsduy-profile__photo{max-width:360px;margin:auto;width:100%}.bsduy-profile__info{text-align:left}.bsduy-credentials{padding:48px 0 54px}.bsduy-gallery{gap:7px}.bsduy-gallery__item{flex-basis:100%;padding:10px}.bsduy-gallery__open{height:355px}.bsduy-gallery__arrow{flex-basis:32px;width:32px;height:32px;font-size:26px}.bsduy-gallery__track{gap:12px}.bsduy-profile__description{max-height:none}}
@media(prefers-reduced-motion:reduce){.bsduy-gallery__track,.bsduy-profile .bsduy-button,.bsduy-gallery__item{transition:none!important}}

.bsduy-profile__layout--text-only{display:block;max-width:900px;margin:auto;}

/* Điều hướng ảnh khi xem phóng to */
.bsduy-lightbox__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:52px;height:52px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:42px;line-height:1;cursor:pointer;transition:background .2s;}
.bsduy-lightbox__arrow:hover,.bsduy-lightbox__arrow:focus-visible{background:rgba(255,255,255,.3);}
.bsduy-lightbox__arrow--prev{left:20px;}
.bsduy-lightbox__arrow--next{right:20px;}
.bsduy-lightbox__arrow[hidden]{display:none!important;}
.bsduy-lightbox__count{color:#d9c48e;margin-top:8px;font-size:13px;letter-spacing:.08em;}
.bsduy-lightbox__close{z-index:3;}
@media(max-width:767px){.bsduy-lightbox{padding-left:10px;padding-right:10px;}.bsduy-lightbox img{max-width:calc(100vw - 25px);}.bsduy-lightbox__arrow{width:40px;height:40px;font-size:32px;background:rgba(24,29,32,.55);}.bsduy-lightbox__arrow--prev{left:8px;}.bsduy-lightbox__arrow--next{right:8px;}}
