
/* =========================================================
   Infochief – Hồ sơ khách hàng đào tạo In-house
   Page-scoped additions; inherits brand tokens from style.css
   ========================================================= */
.yearbook-page{background:#f7f9fc}
.yearbook-hero{position:relative;height:430px;min-height:430px;overflow:hidden;background:#082f58;color:#fff}
.yearbook-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
.yearbook-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,38,72,.98) 0%,rgba(8,50,91,.94) 38%,rgba(12,58,102,.38) 62%,rgba(4,30,58,.04) 100%)}
.yearbook-hero-inner{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.yearbook-breadcrumbs{display:flex;gap:8px;align-items:center;margin-bottom:20px;font-size:11px;color:#d8eaff}
.yearbook-breadcrumbs a:hover{text-decoration:underline}.yearbook-light{color:#cfe7ff}
.yearbook-hero h1{margin:4px 0 14px;font-size:clamp(42px,4.3vw,66px);line-height:1.03;letter-spacing:-2px;max-width:690px}
.yearbook-hero-lead{max-width:670px;margin:0 0 22px;color:#edf6ff;font-size:15px;line-height:1.7}

.yearbook-client-rail-section{position:relative;z-index:10;margin-top:-34px;padding-bottom:30px}
.yearbook-client-rail-shell{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px 20px;box-shadow:0 18px 48px rgba(28,72,118,.13)}
.yearbook-rail-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px}
.yearbook-rail-head h2{margin:0;color:#173f6b;font-size:22px}.yearbook-rail-controls{display:flex;gap:7px}
.yearbook-rail-controls button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--blue-700);font-weight:900}
.yearbook-rail-controls button:hover{background:var(--blue-050);border-color:#b6d0ea}
.yearbook-client-viewport{overflow:hidden}
.yearbook-client-track{display:flex;gap:12px;will-change:scroll-position;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;scroll-snap-type:x mandatory;padding:2px}
.yearbook-client-track::-webkit-scrollbar{display:none}
.yearbook-client-card{flex:0 0 calc((100% - 48px)/5);min-width:0;scroll-snap-align:start;border:1px solid var(--line);border-radius:14px;background:#fff;padding:10px;text-align:left;transition:.2s;box-shadow:0 4px 14px rgba(25,69,112,.04)}
.yearbook-client-card:hover,.yearbook-client-card.is-active{border-color:var(--accent);box-shadow:0 8px 22px rgba(25,69,112,.09);transform:translateY(-2px)}
.yearbook-client-sector{display:inline-flex;max-width:100%;padding:4px 7px;border:1px solid #dce7f3;border-radius:999px;color:#5d728b;font-size:8px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yearbook-client-media{display:block;height:92px;margin:8px 0 8px;border-radius:10px;overflow:hidden;background:#eef4fa}
.yearbook-client-media img{width:100%;height:100%;object-fit:cover}
.yearbook-client-card strong{display:block;color:#173f6b;font-size:12px;line-height:1.3}
.yearbook-client-card small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.35}

.yearbook-profile-section{padding:6px 0 52px}
.yearbook-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(270px,1fr);gap:22px;align-items:start}
.yearbook-main{min-width:0}.yearbook-profile{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 8px 26px rgba(25,69,112,.06);scroll-margin-top:100px}
.yearbook-profile[hidden]{display:none!important}
.yearbook-profile-head{display:flex;justify-content:space-between;gap:22px;align-items:start;padding-bottom:18px;border-bottom:1px solid var(--line)}
.yearbook-profile-head h2{margin:0;color:#153d69;font-size:29px;line-height:1.15;letter-spacing:-.6px}
.yearbook-course-name{margin:7px 0 0;color:var(--blue-600);font-size:14px;font-weight:800}
.yearbook-company-link{display:inline-flex;white-space:nowrap;border:1px solid var(--line);border-radius:9px;padding:9px 11px;color:var(--blue-700);font-size:10px;font-weight:900}
.yearbook-company-link:hover{background:var(--blue-050)}
.yearbook-company-overview{display:grid;grid-template-columns:.78fr 1.22fr;gap:22px;padding:22px 0}
.yearbook-company-photo{min-height:270px;border-radius:15px;overflow:hidden;background:#edf4fb;border:1px solid var(--line)}
.yearbook-company-photo img{width:100%;height:100%;min-height:270px;object-fit:cover}
.yearbook-company-copy p{margin:0 0 10px;color:#52677f;font-size:12px;line-height:1.7}
.yearbook-section-title{display:flex;align-items:center;gap:10px;margin-bottom:13px}.yearbook-section-title>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--blue-050);color:var(--blue-700);border:1px solid #d9e7f5;flex:0 0 38px}
.yearbook-section-title svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.yearbook-section-title b{display:block;color:var(--accent-strong);font-size:9px;letter-spacing:.1em}.yearbook-section-title h3{margin:0;color:#173e69;font-size:16px}
.yearbook-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:16px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fbfdff}
.yearbook-facts div{padding:12px 13px;border-right:1px solid var(--line)}.yearbook-facts div:last-child{border:0}.yearbook-facts small{display:block;color:#7990a8;font-size:8px;font-weight:900}.yearbook-facts strong{display:block;margin-top:3px;color:#173f6b;font-size:10px}

.yearbook-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.yearbook-info-card,.yearbook-gallery-card{border:1px solid var(--line);border-radius:14px;background:#fbfdff;padding:18px}
.yearbook-check-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.yearbook-check-list li{position:relative;padding-left:19px;color:#4e637b;font-size:11px;line-height:1.55}.yearbook-check-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--accent-strong);font-weight:900}
.yearbook-module-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}.yearbook-module-list li{display:grid;grid-template-columns:27px 1fr;gap:8px;align-items:start;color:#4e637b;font-size:11px;line-height:1.45}.yearbook-module-list span{width:27px;height:23px;border-radius:6px;display:grid;place-items:center;background:#eaf3fc;color:#174b82;font-size:8px;font-weight:900}
.yearbook-gallery-card{margin-top:14px;background:#fff}.yearbook-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:18px}
.yearbook-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.yearbook-gallery-1{grid-template-columns:minmax(0,1fr);max-width:430px}.yearbook-gallery-2{grid-template-columns:repeat(2,1fr);max-width:700px}.yearbook-gallery-3{grid-template-columns:repeat(3,1fr)}
.yearbook-gallery figure{margin:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.yearbook-gallery img{width:100%;aspect-ratio:3/2;object-fit:cover}.yearbook-gallery figcaption{padding:7px 8px;color:#60738a;font-size:8px;line-height:1.35}
.yearbook-sidebar{display:grid;gap:14px;position:sticky;top:96px}
.yearbook-side-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:20px;box-shadow:0 7px 22px rgba(25,69,112,.05)}
.yearbook-side-card h2{margin:0 0 10px;color:#173e69;font-size:18px}.yearbook-side-card p{font-size:11px;color:#61758d}
.yearbook-side-primary{background:linear-gradient(145deg,#194a7d,#31659f);color:#fff;border:0}.yearbook-side-primary h2{color:#fff}.yearbook-side-primary p{color:#dcecff}
.yearbook-side-list{list-style:none;margin:0;padding:0}.yearbook-side-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf2f7;font-size:10px}.yearbook-side-list li:last-child{border:0}.yearbook-side-list strong{color:#173e69}.yearbook-side-list span{color:#6b7f96;text-align:right}
.yearbook-resource-card{display:block;border-radius:14px;padding:18px 19px;border:1px solid var(--line);box-shadow:0 7px 20px rgba(25,69,112,.05)}.yearbook-resource-card strong{display:block;font-size:17px}.yearbook-resource-card span{display:block;margin-top:4px;font-size:10px;line-height:1.45}.yearbook-resource-card b{display:inline-block;margin-top:10px;font-size:9px}
.yearbook-resource-card.blue{background:#123f72;color:#fff;border-color:#123f72}.yearbook-resource-card.blue span{color:#dbeafa}.yearbook-resource-card.gold{background:linear-gradient(145deg,#f7b32b,#f4a40f);color:#153653;border:0}.yearbook-resource-card.light{background:#fff;color:#173e69}.yearbook-resource-card.light span{color:#697d94}

.yearbook-value-section{padding:52px 0;background:#fff}.yearbook-value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.yearbook-value-grid article{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fbfdff}.yearbook-value-grid span{display:block;color:var(--accent-strong);font-size:10px;font-weight:900}.yearbook-value-grid strong{display:block;margin-top:9px;color:#173e69;font-size:16px}.yearbook-value-grid small{display:block;margin-top:5px;color:#6a7e95;font-size:10px;line-height:1.55}
.yearbook-cta{padding-top:0;background:#fff}

@media(max-width:1100px){
  .yearbook-client-card{flex-basis:calc((100% - 36px)/4)}
  .yearbook-layout{grid-template-columns:1fr}
  .yearbook-sidebar{position:static;grid-template-columns:1fr 1fr}.yearbook-side-primary{grid-column:1/-1}
}
@media(max-width:820px){
  .yearbook-hero{height:410px;min-height:410px}.yearbook-hero-overlay{background:linear-gradient(90deg,rgba(5,38,72,.98),rgba(8,50,91,.87))}
  .yearbook-client-card{flex-basis:calc((100% - 24px)/3)}
  .yearbook-company-overview,.yearbook-detail-grid{grid-template-columns:1fr}.yearbook-company-photo{min-height:220px}.yearbook-company-photo img{min-height:220px}
  .yearbook-value-grid{grid-template-columns:1fr 1fr}.yearbook-gallery{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .yearbook-hero{height:390px;min-height:390px}.yearbook-breadcrumbs{display:none}.yearbook-hero h1{font-size:40px}
  .yearbook-client-rail-section{margin-top:-24px}.yearbook-rail-head{align-items:center}.yearbook-rail-head h2{font-size:18px}
  .yearbook-client-card{flex-basis:calc((100% - 12px)/2)}
  .yearbook-profile{padding:18px}.yearbook-profile-head{display:block}.yearbook-company-link{margin-top:12px}
  .yearbook-profile-head h2{font-size:24px}.yearbook-facts{grid-template-columns:1fr}.yearbook-facts div{border-right:0;border-bottom:1px solid var(--line)}.yearbook-facts div:last-child{border-bottom:0}
  .yearbook-gallery{grid-template-columns:1fr}.yearbook-gallery-head{display:block}.yearbook-gallery-head .text-link{display:inline-block;margin:0 0 12px}
  .yearbook-sidebar{grid-template-columns:1fr}.yearbook-side-primary{grid-column:auto}.yearbook-value-grid{grid-template-columns:1fr}
}

/* ===== Yearbook body typography enlargement ===== */
/* Chỉ tăng typography trong phần nội dung Yearbook; không tác động Header/Footer. */
.yearbook-page .section-kicker{font-size:12px}
.yearbook-breadcrumbs{font-size:12px}
.yearbook-hero-lead{font-size:17px}

.yearbook-rail-head h2{font-size:24px}
.yearbook-client-sector{font-size:9px}
.yearbook-client-card strong{font-size:13.5px}
.yearbook-client-card small{font-size:10.5px}

.yearbook-profile-head h2{font-size:32px}
.yearbook-course-name{font-size:15.5px}
.yearbook-company-link{font-size:11.5px}
.yearbook-company-copy p{font-size:13.5px}
.yearbook-section-title b{font-size:10px}
.yearbook-section-title h3{font-size:18px}
.yearbook-facts small{font-size:9px}
.yearbook-facts strong{font-size:11.5px}

.yearbook-check-list li,
.yearbook-module-list li{font-size:12.5px}
.yearbook-module-list span{font-size:9px}
.yearbook-gallery figcaption{font-size:9.5px}

.yearbook-side-card h2{font-size:20px}
.yearbook-side-card p{font-size:12.5px}
.yearbook-side-list li{font-size:11.5px}
.yearbook-resource-card strong{font-size:19px}
.yearbook-resource-card span{font-size:11.5px}
.yearbook-resource-card b{font-size:10.5px}

.yearbook-value-grid span{font-size:11px}
.yearbook-value-grid strong{font-size:18px}
.yearbook-value-grid small{font-size:11.5px}

@media(max-width:620px){
  .yearbook-hero-lead{font-size:15px}
  .yearbook-profile-head h2{font-size:26px}
  .yearbook-company-copy p{font-size:13px}
  .yearbook-check-list li,
  .yearbook-module-list li{font-size:12px}
}
