:root{--dept-bg:#fff8fb;--dept-text:#432036}.departments-page{background:var(--dept-bg);color:var(--dept-text)}.departments-page .header-cta{display:none}.dept-intro{position:relative;overflow:hidden;border-bottom:1px solid #4320362a;background:radial-gradient(circle at 85% 15%,#fff0f647,transparent 37%),linear-gradient(120deg,#ffeaf3,#fff8fb 72%)}.dept-intro:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#43203605 1px,transparent 1px);background-size:110px 100%;mask-image:linear-gradient(90deg,transparent 30%,black)}.dept-intro-grid{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(50px,8vw,130px);align-items:end;min-height:525px;padding:100px 0 105px}.dept-intro h1{font-size:clamp(4.3rem,7.2vw,7.3rem);line-height:1.06;letter-spacing:-.08em;margin:25px 0 0;text-wrap:balance}.dept-intro h1 em{font-style:normal;color:#be2463}.dept-intro-side{max-width:445px;padding-left:29px;border-left:2px solid #be2463}.dept-intro-side>span{display:block;color:#be2463;font-size:.65rem;letter-spacing:.2em;font-weight:900;margin-bottom:23px}.dept-intro-side>span b{color:#43203680;margin:0 7px}.dept-intro-side p{color:#705164;font-size:1.02rem;line-height:1.95;margin:0}.dept-intro-foot{position:relative;display:flex;justify-content:space-between;gap:18px;border-top:1px solid #4320362b;padding:18px 0;color:#705164;font-size:.62rem;letter-spacing:.14em;font-weight:800}.dept-chapters{background:#fff8fb}.dept-chapter{--dept-accent:#be2463;position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #43203624;background:linear-gradient(115deg,#fff8fb,#fff8fb 70%)}.dept-chapter-2{--dept-accent:#705164;background:linear-gradient(245deg,#fff8fb,#fff8fb 69%)}.dept-chapter-3{--dept-accent:#705164;background:linear-gradient(115deg,#fff8fb,#fff8fb 70%)}.dept-chapter-4{--dept-accent:#b82761;background:linear-gradient(245deg,#fff8fb,#fff8fb 70%)}.dept-chapter:before{content:"";position:absolute;z-index:-1;left:0;top:0;width:30%;height:1px;background:linear-gradient(90deg,var(--dept-accent),transparent)}.dept-chapter-inner{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(0,1.22fr);gap:clamp(52px,9vw,140px);padding-top:clamp(95px,10vw,145px);padding-bottom:clamp(90px,9vw,135px)}.dept-chapter-heading{align-self:start}.dept-chapter-no{display:inline-block;padding-bottom:16px;border-bottom:1px solid var(--dept-accent);color:var(--dept-accent);font-size:.68rem;letter-spacing:.2em;font-weight:900}.dept-chapter-no b{color:#43203680;margin:0 8px}.dept-chapter h2{font-size:clamp(3.5rem,5.7vw,6rem);line-height:1.04;letter-spacing:-.075em;margin:34px 0 23px;text-wrap:balance}.dept-chapter-lead{max-width:390px;color:#432036;font-size:1.16rem;line-height:1.8;margin:0}.dept-chapter-copy{display:grid;grid-template-columns:1fr;gap:34px;align-content:start;padding-top:50px}.dept-chapter-copy section{padding-top:20px;border-top:1px solid #43203639}.dept-chapter-copy h3{color:var(--dept-accent);font-size:1.25rem;letter-spacing:-.025em;margin:0 0 12px}.dept-chapter-copy p{color:#705164;line-height:1.95;font-size:.96rem;max-width:660px;margin:0}.dept-highlights{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:20px}.dept-highlights>div{border-top:1px solid color-mix(in srgb,var(--dept-accent) 65%,transparent);padding:19px 0 0;display:grid;grid-template-columns:30px 1fr;gap:0 10px;align-content:start}.dept-highlights span{color:var(--dept-accent);font-size:.64rem;font-weight:900;line-height:1.6}.dept-highlights strong{font-size:.95rem;line-height:1.45}.dept-highlights p{grid-column:2;color:#705164;font-size:.81rem;line-height:1.75;margin:8px 0 0}.dept-chapter:nth-child(even) .dept-chapter-heading{grid-column:2;grid-row:1}.dept-chapter:nth-child(even) .dept-chapter-copy{grid-column:1;grid-row:1}
@media(max-width:900px){.dept-intro-grid{grid-template-columns:1fr .9fr;gap:36px}.dept-chapter-inner{gap:42px}.dept-highlights{gap:18px}}
@media(max-width:760px){.dept-intro-grid{min-height:0;grid-template-columns:1fr;gap:50px;padding:80px 0}.dept-intro h1{font-size:clamp(3.5rem,10vw,5.4rem)}.dept-intro-side{max-width:620px}.dept-chapter-inner{grid-template-columns:1fr;gap:0;padding:80px 0}.dept-chapter:nth-child(even) .dept-chapter-heading,.dept-chapter:nth-child(even) .dept-chapter-copy{grid-column:1;grid-row:auto}.dept-chapter h2{font-size:clamp(3.1rem,9vw,4.8rem);margin:25px 0 13px}.dept-chapter-copy{padding-top:43px}.dept-highlights{grid-column:1;gap:14px;margin-top:50px}}
@media(max-width:520px){.dept-intro h1{font-size:clamp(2.9rem,11vw,3.9rem)}.dept-intro-foot span:last-child{display:none}.dept-intro-side{padding-left:19px}.dept-chapter-inner{padding:64px 0 74px}.dept-chapter h2{font-size:clamp(2.8rem,10.5vw,3.8rem)}.dept-chapter-lead{font-size:1.04rem}.dept-chapter-copy{gap:28px}.dept-highlights{grid-template-columns:1fr;gap:18px}.dept-highlights>div{padding-top:13px}.dept-highlights p{margin-top:5px}}
/* Framed visual identity for each department. */
.dept-chapter-inner{grid-template-columns:minmax(280px,.86fr) minmax(0,1.14fr);gap:clamp(46px,6vw,100px);align-items:start}
.dept-chapter-content{min-width:0}
.dept-chapter-frame{position:relative;isolation:isolate;overflow:hidden;min-height:560px;display:flex;flex-direction:column;justify-content:space-between;padding:28px;border:1px solid color-mix(in srgb,var(--dept-accent) 55%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--dept-accent) 21%,#fff8fb),#fff8fb 51%,#fff8fb);box-shadow:0 25px 75px #fff8fb75,inset 0 0 0 9px #fff8fb9c;color:#432036}
.dept-chapter-frame:before{content:"";position:absolute;inset:13px;border:1px solid #43203623;pointer-events:none}
.dept-chapter-frame:after{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0 59px,#43203608 60px 61px),linear-gradient(158deg,transparent 51%,color-mix(in srgb,var(--dept-accent) 17%,transparent) 51% 65%,transparent 65%);pointer-events:none}
.dept-frame-top,.dept-frame-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;z-index:1;text-transform:uppercase;font-size:.63rem;font-weight:800;letter-spacing:.18em}
.dept-frame-top{padding-bottom:20px;border-bottom:1px solid #4320364d}
.dept-frame-top span:last-child{color:var(--dept-accent)}
.dept-frame-bottom{padding-top:20px;border-top:1px solid #4320364d;line-height:1.5}
.dept-frame-bottom span:first-child{max-width:72%;color:#432036}
.dept-frame-bottom span:last-child{white-space:nowrap;color:var(--dept-accent)}
.dept-frame-center{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1;padding:44px 12px 55px}
.dept-frame-index{position:absolute;right:-8px;top:4%;font-size:clamp(10rem,19vw,18rem);line-height:1;font-weight:900;letter-spacing:-.12em;color:color-mix(in srgb,var(--dept-accent) 15%,transparent);pointer-events:none}
.dept-frame-rule{width:54px;height:5px;margin-bottom:28px;background:var(--dept-accent);box-shadow:0 0 24px color-mix(in srgb,var(--dept-accent) 50%,transparent)}
.dept-frame-center strong{position:relative;z-index:1;max-width:95%;font-size:clamp(3.4rem,5.1vw,6rem);font-weight:850;line-height:1;letter-spacing:-.075em;overflow-wrap:anywhere;text-shadow:0 5px 20px #fff8fb88}
.dept-chapter-2 .dept-chapter-frame,.dept-chapter-4 .dept-chapter-frame{grid-column:2;grid-row:1}
.dept-chapter-2 .dept-chapter-content,.dept-chapter-4 .dept-chapter-content{grid-column:1;grid-row:1}
.dept-chapter-content .dept-chapter-copy{padding-top:46px}
.dept-chapter-content .dept-highlights{margin-top:52px;gap:18px}
@media(max-width:900px){.dept-chapter-inner{grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:35px}.dept-chapter-frame{min-height:485px;padding:22px}.dept-frame-center{padding-inline:0}.dept-frame-center strong{font-size:clamp(2.8rem,5vw,4.5rem)}.dept-chapter-content .dept-highlights{grid-template-columns:1fr;gap:14px}.dept-chapter-content .dept-highlights>div{padding-top:12px}}
@media(max-width:760px){.dept-chapter-inner{grid-template-columns:1fr;gap:45px}.dept-chapter-frame,.dept-chapter-2 .dept-chapter-frame,.dept-chapter-4 .dept-chapter-frame{grid-column:1;grid-row:1;min-height:360px}.dept-chapter-content,.dept-chapter-2 .dept-chapter-content,.dept-chapter-4 .dept-chapter-content{grid-column:1;grid-row:2}.dept-frame-index{font-size:13rem}.dept-frame-center strong{font-size:clamp(3.7rem,9vw,5.5rem)}.dept-chapter-content .dept-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.dept-chapter-frame{min-height:330px;padding:22px}.dept-frame-center{padding:30px 3px}.dept-frame-center strong{font-size:clamp(3.5rem,13vw,4.7rem)}.dept-frame-index{font-size:11rem}.dept-chapter-content .dept-highlights{grid-template-columns:1fr;margin-top:42px}.dept-frame-top,.dept-frame-bottom{font-size:.56rem}}
/* Trang Ban ngành: chọn vai trò trước khi đọc từng hồ sơ. */
.dept-intro{background:radial-gradient(circle at 78% 22%,#e94f9165,transparent 42%),linear-gradient(125deg,#fff8fb,#ffeaf3 75%,#fff8fb)}
.dept-intro-grid{min-height:550px}.dept-intro-button{display:inline-flex;padding:16px 23px;margin-top:35px;background:#be2463;color:#ffeaf3;font-weight:900;font-size:.75rem;letter-spacing:.1em}.dept-intro-button:hover{background:#432036}
.dept-map{background:#fff8fb;padding:105px 0 115px;scroll-margin-top:78px;border-bottom:1px solid #43203625}.dept-map-heading{max-width:750px;margin-bottom:40px}.dept-map-heading h2{font-size:clamp(2.5rem,4.4vw,4.7rem);margin:17px 0;letter-spacing:-.065em}.dept-map-heading h2 span{color:#be2463}.dept-map-heading p{color:#705164;line-height:1.8}
.dept-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.dept-map-grid a{position:relative;display:flex;flex-direction:column;min-height:200px;padding:28px;background:linear-gradient(130deg,#ffeaf3,#fff8fb);border:1px solid #43203630;transition:transform .2s ease,border-color .2s ease}.dept-map-grid a:hover{transform:translateY(-4px);border-color:#be2463}.dept-map-grid a:nth-child(2){border-top:3px solid #705164}.dept-map-grid a:nth-child(3){border-top:3px solid #705164}.dept-map-grid a:nth-child(4){border-top:3px solid #b82761}.dept-map-grid a:first-child{border-top:3px solid #be2463}.dept-map-grid small{color:#be2463;font-weight:900;letter-spacing:.13em}.dept-map-grid strong{font-size:clamp(1.25rem,2vw,1.9rem);margin:auto 0 12px;letter-spacing:-.035em}.dept-map-grid a>span{font-size:.85rem;color:#705164;line-height:1.5}
.dept-chapter{scroll-margin-top:78px}.dept-chapter-inner{padding-block:105px}.dept-chapter-copy section{background:#43203609;border:1px solid #43203622;padding:23px 26px}.dept-chapter-copy section:first-child{border-top:3px solid var(--dept-accent)}.dept-chapter-content .dept-highlights>div{padding:17px;border:1px solid #43203627;background:#43203608}.dept-chapter-content .dept-highlights p{line-height:1.7}
.dept-outro{background:radial-gradient(circle at 78% 20%,#e94f9155,transparent 50%),#fff8fb;padding:110px 0 120px}.dept-outro .shell{max-width:1100px}.dept-outro h2{font-size:clamp(2.8rem,5vw,5.5rem);margin:25px 0}.dept-outro h2 em{color:#be2463;font-style:normal}.dept-outro p{max-width:620px;line-height:1.8;color:#705164}.dept-outro .shell>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.dept-outro a{padding:16px 21px;border:1px solid #be2463;font-size:.72rem;font-weight:900;letter-spacing:.08em}.dept-outro a:first-child{background:#be2463;color:#ffeaf3}.dept-outro a:hover{filter:brightness(1.15)}
@media(max-width:760px){.dept-map{padding:75px 0}.dept-chapter-inner{padding-block:75px}.dept-map-grid{grid-template-columns:1fr}.dept-map-grid a{min-height:170px}.dept-outro{padding:75px 0}}
@media(max-width:520px){.dept-map-grid a{min-height:155px;padding:22px}.dept-chapter-copy section{padding:20px}.dept-outro .shell>div{display:grid}.dept-outro a{text-align:center}}
/* Hero gọn: tiêu đề vừa khung và cân với phần giới thiệu. */
.dept-intro-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:clamp(40px,5vw,80px);align-items:center;min-height:470px;padding:72px 0 76px}
.dept-intro h1{font-size:clamp(3.05rem,4.4vw,5.25rem);line-height:1.13;letter-spacing:-.065em;margin:19px 0 0;max-width:780px}
.dept-intro h1 em{display:inline-block;white-space:nowrap}
.dept-intro-side{max-width:430px;padding-left:24px}.dept-intro-side p{font-size:.97rem;line-height:1.75}
.dept-intro-button{margin-top:28px}.dept-intro-foot{padding:15px 0}
@media(max-width:760px){.dept-intro-grid{grid-template-columns:1fr;gap:34px;min-height:0;padding:64px 0}.dept-intro h1{font-size:clamp(2.6rem,8vw,4.4rem)}.dept-intro-side{max-width:650px}}
@media(max-width:520px){.dept-intro-grid{padding:52px 0}.dept-intro h1{font-size:clamp(2.5rem,10vw,3.5rem)}.dept-intro h1 em{white-space:normal}.dept-intro-button{margin-top:25px}}
