/* SKIN-PUBLIC 31/10/2026 — skin công khai (trang đăng ký fair). Nhận diện capstone.edu.vn. */
html,body{margin:0;padding:0}
body{background:#f6f8fb;color:#334155;font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:15px;line-height:1.55;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.cp-site{min-height:100vh;display:flex;flex-direction:column}
.cp-site *,.cp-site *::before,.cp-site *::after{box-sizing:border-box}
.cp-wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.cp-content{flex:1 0 auto}
/* DNN: bỏ khoảng trắng / viền mặc định quanh module trên trang công khai */
.cp-content .DnnModule,.cp-content .DNNContainer_noTitle{margin:0;padding:0}
.cp-content .DNNModuleContent{margin:0}

/* header */
.cp-header{background:#fff;position:relative;z-index:20;box-shadow:0 1px 0 rgba(15,23,42,.06)}
.cp-header__in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;padding-top:10px;padding-bottom:10px}
.cp-logo{display:block;flex:0 0 auto}
.cp-logo img{display:block;width:220px;height:auto}
.cp-offices{display:flex;gap:0;margin-left:auto}
.cp-office{display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:baseline;padding:0 18px;border-left:1px solid #e2e8f0;font-size:13px}
.cp-office:first-child{border-left:0}
.cp-office__name{color:#475569}
.cp-office__tel{color:#a41034;font-weight:700;text-decoration:none;font-size:14px}
.cp-office__tel:hover{text-decoration:underline}
.cp-office__addr{grid-column:1/-1;color:#64748b;font-size:12.5px}
.cp-call{display:none;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:999px;background:#a41034;color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.cp-call svg{width:18px;height:18px;fill:currentColor}
.cp-bar{background:#a41034;color:#fff}
.cp-bar__in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;font-size:13.5px}
.cp-bar__title{font-weight:700;letter-spacing:.02em;text-transform:uppercase;font-size:12.5px}
.cp-bar__link{color:#fff;text-decoration:none;opacity:.9;font-weight:600}
.cp-bar__link:hover{opacity:1;text-decoration:underline}
@media (max-width:991px){
  .cp-offices{display:none}
  .cp-call{display:inline-flex}
  .cp-header__in{min-height:68px}
  .cp-logo img{width:170px}
}
@media (max-width:400px){.cp-call span{display:none}.cp-call{padding:0 12px}}

/* footer */
.cp-footer{background:#0f2c59;color:rgba(255,255,255,.82);font-size:13.5px;margin-top:auto}
.cp-footer__in{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:28px;padding-top:34px;padding-bottom:22px}
.cp-footer strong{display:block;font-family:'Montserrat',sans-serif;color:#fff;font-size:16px;margin-bottom:6px}
.cp-footer span{display:block;color:#fff;font-weight:700;margin-bottom:6px}
.cp-footer p{margin:0 0 6px}
.cp-footer a{color:#fff;text-decoration:none;font-weight:600}
.cp-footer a:hover{text-decoration:underline}
.cp-footer__copy{border-top:1px solid rgba(255,255,255,.12);padding-top:14px;padding-bottom:18px;font-size:12.5px;color:rgba(255,255,255,.6)}
@media (max-width:767px){.cp-footer__in{grid-template-columns:1fr;gap:16px}}

/* FIX-1101 01/11/2026: trang công khai không hiện Persona Bar của DNN (chỉ thấy khi đăng nhập quản trị; trên điện thoại che mất 80px nội dung) */
#personaBar-iframe, #personabar-placeholder, .personaBarContainer { display: none !important; }
body.personabar-visible { margin-left: 0 !important; }
