/* Identidad dual CCP 2027 / FIAP. Se conservan los archivos y el tamaño previo del logo principal. */
.ccp-header .ccp-brand{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  min-width:0!important;
  gap:22px;
}
.ccp-header .ccp-brand>a{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center;
  text-decoration:none;
}
.ccp-header .ccp-brand .custom-logo,
.ccp-header .ccp-brand__fallback{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:250px!important;
  max-height:70px!important;
  object-fit:contain;
}
.ccp-header .ccp-brand__fiap-logo{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:250px!important;
  max-height:70px!important;
  object-fit:contain;
}
/* Con dos marcas, el menú ocupa una segunda fila cuando el ancho no alcanza.
   Los logos nunca se reducen para forzar la navegación en la misma línea. */
@media (max-width:1500px) and (min-width:980px){
  .ccp-header .ccp-header__inner:has(.ccp-brand__fiap-link){flex-wrap:wrap!important;column-gap:20px!important;row-gap:0!important;padding-top:8px;padding-bottom:8px}
  .ccp-header .ccp-header__inner:has(.ccp-brand__fiap-link) .ccp-nav{order:5;flex:1 0 100%;margin-left:0!important}
  .ccp-header .ccp-header__inner:has(.ccp-brand__fiap-link) .ccp-nav>ul{justify-content:center}
  .ccp-header .ccp-header__inner:has(.ccp-brand__fiap-link) .ccp-header__cta{margin-left:auto}
}
.ccp-hero .ccp-hero__content > p.ccp-hero__second-congress{
  display:block;
  max-width:620px!important;
  margin:18px 0 28px!important;
  color:#83109a!important;
  font-size:clamp(23px,2.15vw,31px)!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:-.018em;
}
@media(max-width:1180px){
  .ccp-header .ccp-brand{gap:16px}
  .ccp-header .ccp-brand .custom-logo,
  .ccp-header .ccp-brand__fallback{max-width:210px!important;max-height:62px!important}
  .ccp-header .ccp-brand__fiap-logo{max-width:210px!important;max-height:62px!important}
}
@media(max-width:979px){
  .ccp-header .ccp-brand{gap:12px}
  .ccp-header .ccp-brand .custom-logo,
  .ccp-header .ccp-brand__fallback{max-width:180px!important;max-height:58px!important}
  .ccp-header .ccp-brand__fiap-logo{max-width:180px!important;max-height:58px!important}
}
@media(max-width:640px){
  .ccp-header .ccp-brand{gap:9px}
  .ccp-header .ccp-brand .custom-logo,
  .ccp-header .ccp-brand__fallback,
  .ccp-header .ccp-brand__fiap-logo{max-width:min(36vw,160px)!important;max-height:48px!important}
  .ccp-hero .ccp-hero__content > p.ccp-hero__second-congress{font-size:23px!important;margin:16px 0 26px!important}
}

/* Reequilibrio del banner conjunto: imagen más presente, sin recortar ni deformar. */
@media (min-width:1181px){
  .ccp-hero .ccp-hero__grid{
    grid-template-columns:.93fr 1.07fr!important;
    gap:36px!important;
    min-height:610px!important;
    align-items:center!important;
  }
  .ccp-hero .ccp-hero__visual{
    height:610px!important;
    min-height:610px!important;
    align-self:center!important;
  }
  .ccp-hero .ccp-hero__photo{
    object-fit:contain!important;
    transform:scale(1.07);
    transform-origin:center right;
  }
}
@media (min-width:980px) and (max-width:1180px){
  .ccp-hero .ccp-hero__grid{min-height:560px!important;align-items:center!important}
  .ccp-hero .ccp-hero__visual{height:540px!important;min-height:540px!important;align-self:center!important}
  .ccp-hero .ccp-hero__photo{object-fit:contain!important;transform:scale(1.035);transform-origin:center right}
}
@media (max-width:979px){
  .ccp-hero .ccp-hero__photo{transform:none!important}
}
