/* Radhin PAUD V1.8.1 — Compact Professional Header Navigation Fix */
:root{--rp-header-max:1680px}

/* The utility row and primary header share one wide, aligned grid. */
.service-strip>.section-shell,
.topbar{
  width:min(var(--rp-header-max),calc(100% - 48px));
}
.service-strip>.section-shell{min-height:38px}
.service-strip nav{align-items:center;gap:20px;white-space:nowrap}
.service-strip nav a{font-size:11.5px;line-height:1.2}
.service-strip nav .quick-domain{color:#f1d478;font-weight:700}
.service-strip nav .quick-domain:hover{color:#fff1b5}

/* Compact desktop header: one line, no broken labels. */
.topbar{
  min-height:76px;
  padding:8px 0;
  gap:26px;
}
.topbar .brand-primary{
  flex:0 0 auto;
  margin-right:0;
}
.brand-logo-horizontal{
  height:58px;
  max-width:248px;
}
.nav-links{
  flex:1 1 auto;
  min-width:0;
  justify-content:flex-end;
  gap:4px;
  white-space:nowrap;
}
.nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:43px;
  padding:0 14px;
  border-radius:10px;
  font-size:13px!important;
  line-height:1!important;
  white-space:nowrap;
}
.nav-links a.active{
  background:#eaf2fb;
  color:#0957bd;
  box-shadow:inset 0 0 0 1px rgba(30,78,219,.04);
}
.nav-links .nav-cta{
  min-height:48px;
  margin-left:9px;
  padding-inline:21px;
  border-radius:11px;
  white-space:nowrap;
}

/* Slight compression for common notebook widths while preserving a single line. */
@media(max-width:1440px){
  .service-strip>.section-shell,.topbar{width:min(100% - 34px,var(--rp-header-max))}
  .topbar{gap:18px}
  .brand-logo-horizontal{height:54px;max-width:226px}
  .nav-links{gap:2px}
  .nav-links a{padding-inline:10px;font-size:12.25px!important}
  .nav-links .nav-cta{margin-left:6px;padding-inline:16px}
}

/* Switch to a clean menu before labels become cramped. */
@media(max-width:1120px){
  .topbar-wrap{position:sticky}
  .topbar{width:min(100% - 28px,var(--rp-header-max));min-height:70px;padding:8px 0}
  .brand-logo-horizontal{height:52px;max-width:210px}
  .menu-toggle{display:grid;place-items:center;flex:0 0 44px}
  .nav-links{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 8px);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
    padding:12px;
    border:1px solid #dce6ef;
    border-radius:17px;
    background:#fff;
    box-shadow:0 24px 60px rgba(7,27,54,.16);
    white-space:normal;
  }
  .nav-links.open{display:flex}
  .nav-links a{
    width:100%;
    min-height:44px;
    justify-content:flex-start;
    padding:0 14px;
    font-size:13.5px!important;
    white-space:normal;
  }
  .nav-links .nav-cta{justify-content:center;margin:5px 0 0}
}

@media(max-width:900px){
  .service-strip nav .quick-domain{display:none}
}
@media(max-width:700px){
  .service-strip>.section-shell{width:min(100% - 28px,var(--rp-header-max))}
  .brand-logo-horizontal{height:48px;max-width:182px}
}
