/* Phụng Hoàn Academy — logo dùng chung toàn website */
.ph-academy-brand{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  text-decoration:none!important;
  line-height:1.08!important;
  white-space:nowrap;
  min-width:0;
}
.ph-academy-brand .ph-academy-logo{
  display:block!important;
  width:56px!important;
  height:56px!important;
  flex:0 0 56px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 4px 7px rgba(117,36,14,.16));
}
.ph-academy-brand .ph-academy-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0;
  text-align:left!important;
  line-height:1.05!important;
}
.ph-academy-brand .ph-academy-copy>strong{
  display:block!important;
  margin:0!important;
  font-family:'Playfair Display',Georgia,serif!important;
  font-size:1.12rem!important;
  font-weight:700!important;
  line-height:1.08!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.ph-academy-brand .ph-academy-copy>small,
.ph-academy-brand .ph-academy-copy>span{
  display:block!important;
  margin:0!important;
  font-family:'Be Vietnam Pro',Arial,sans-serif!important;
  font-size:.65rem!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.ph-brand-dark .ph-academy-copy>strong{color:#083f40!important}
.ph-brand-dark .ph-academy-copy>small,
.ph-brand-dark .ph-academy-copy>span{color:#8a1733!important}
.ph-brand-light .ph-academy-copy>strong{color:#fff8e8!important}
.ph-brand-light .ph-academy-copy>small,
.ph-brand-light .ph-academy-copy>span{color:#efd78f!important}
/* Trang Ebook có thanh công cụ hẹp hơn */
.topbar .ph-ebook-brand .ph-academy-logo{width:46px!important;height:46px!important;flex-basis:46px!important}
.topbar .ph-ebook-brand .ph-academy-copy>strong{font-size:.92rem!important}
.topbar .ph-ebook-brand .ph-academy-copy>small{font-size:.56rem!important;letter-spacing:.08em!important}
@media (max-width:760px){
  .ph-academy-brand{gap:7px!important}
  .ph-academy-brand .ph-academy-logo{width:45px!important;height:45px!important;flex-basis:45px!important}
  .ph-academy-brand .ph-academy-copy>strong{font-size:.92rem!important}
  .ph-academy-brand .ph-academy-copy>small,
  .ph-academy-brand .ph-academy-copy>span{font-size:.55rem!important;letter-spacing:.08em!important}
}
@media (max-width:470px){
  .ph-academy-brand .ph-academy-copy>small,
  .ph-academy-brand .ph-academy-copy>span{display:none!important}
  .ph-academy-brand .ph-academy-logo{width:42px!important;height:42px!important;flex-basis:42px!important}
  .topbar .ph-ebook-brand .ph-academy-copy{display:none!important}
}
@media (max-width:390px){
  .ph-academy-brand .ph-academy-copy{display:none!important}
}

/* Cân chỉnh riêng thanh điều hướng Thần số học: không để logo đè lên menu. */
header.nav .nav-inner{
  width:min(1500px,100%);
  max-width:1500px!important;
  gap:16px!important;
}
header.nav .ph-academy-brand{
  flex:0 0 auto!important;
  max-width:270px;
}
header.nav .ph-academy-brand .ph-academy-logo{
  width:52px!important;
  height:52px!important;
  flex-basis:52px!important;
}
header.nav .ph-academy-brand .ph-academy-copy>strong{
  font-size:1rem!important;
}
header.nav .nav-links{
  flex:1 1 auto!important;
  min-width:0!important;
  justify-content:center!important;
  gap:clamp(12px,1.25vw,25px)!important;
}
header.nav .nav-links a{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
header.nav .nav-training,
header.nav .nav-cta{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
@media (max-width:1450px){
  header.nav .nav-inner{padding-left:18px!important;padding-right:18px!important;gap:12px!important}
  header.nav .nav-links{gap:12px!important;font-size:.76rem!important}
  header.nav .nav-training{padding:8px 10px!important;font-size:.7rem!important}
  header.nav .nav-cta{padding:8px 12px!important;font-size:.7rem!important}
  header.nav .ph-academy-brand{gap:7px!important;max-width:235px}
  header.nav .ph-academy-brand .ph-academy-logo{width:46px!important;height:46px!important;flex-basis:46px!important}
  header.nav .ph-academy-brand .ph-academy-copy>strong{font-size:.9rem!important}
  header.nav .ph-academy-brand .ph-academy-copy>small{font-size:.52rem!important}
}
@media (max-width:1240px){
  header.nav .nav-links{display:none!important}
  header.nav .nav-inner{justify-content:flex-start!important}
  header.nav .nav-training{margin-left:auto!important}
}
@media (max-width:620px){
  header.nav .nav-training{display:none!important}
  header.nav .nav-cta{margin-left:auto!important}
}
