/* NGC 2026 - Estilos exclusivos de cabecera y footer */
/* CABECERA NGC 2026 - INDEPENDIENTE DE ELEMENTOR */
.ngc26-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:900}
.ngc26-head-inner{max-width:1500px;margin:auto;padding:4px 18px}
.ngc26-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:18px;font-size:12px;color:#555}
.ngc26-fiestas,.ngc26-newsletter{background:#1268ad;color:#fff!important;padding:7px 13px;border-radius:5px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.ngc26-fiestas:hover,.ngc26-newsletter:hover{background:#084e88}
.ngc26-main-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0}
.ngc26-logo{display:flex;align-items:center;max-width:42%;text-decoration:none}
.ngc26-logo img{display:block;width:auto;max-width:100%;max-height:62px;height:auto}
.ngc26-logo strong{font-size:26px;color:#1268ad}
.ngc26-search{display:flex;flex:1;max-width:390px;margin-left:auto}
.ngc26-search input{width:100%;min-width:0;border:1px solid #d1d5db;border-radius:5px 0 0 5px;padding:8px 11px;font-size:13px}
.ngc26-search button{border:0;background:#1268ad;color:#fff;font-size:13px;font-weight:600;padding:8px 12px;border-radius:0 5px 5px 0;cursor:pointer}
.ngc26-nav-wrap{background:#1268ad}
.ngc26-nav{max-width:1500px;margin:auto;padding:0 18px}
.ngc26-menu-list,.ngc26-menu-list ul{margin:0;padding:0;list-style:none}
.ngc26-desktop-nav>.ngc26-menu-list{display:flex;flex-wrap:wrap;align-items:center}
.ngc26-menu-list li{position:relative}
.ngc26-desktop-nav>.ngc26-menu-list>li>a{display:block;padding:10px 15px;color:#fff;font-size:14px;font-weight:600;text-decoration:none}
.ngc26-desktop-nav>.ngc26-menu-list>li>a:hover,
.ngc26-desktop-nav>.ngc26-menu-list>li:focus-within>a{background:#084e88}
.ngc26-desktop-nav .sub-menu{position:absolute;top:100%;left:0;min-width:225px;display:none;background:#fff;box-shadow:0 7px 20px #0002;border:1px solid #e5e7eb;z-index:1000}
.ngc26-desktop-nav li:hover>.sub-menu,
.ngc26-desktop-nav li:focus-within>.sub-menu{display:block}
.ngc26-desktop-nav .sub-menu .sub-menu{top:0;left:100%}
.ngc26-desktop-nav .sub-menu a{display:block;padding:12px 16px;text-decoration:none;color:#222;font-size:13px}
.ngc26-desktop-nav .sub-menu a:hover{background:#f0f5fa;color:#1268ad}
.ngc26-mobile-nav{display:none}
@media(max-width:800px){
 .ngc26-head-inner{padding:7px 12px}
 .ngc26-meta{font-size:11px;gap:6px}
 .ngc26-meta .ngc26-fiestas{padding:7px 9px;font-size:10px}
 .ngc26-main-head{padding:8px 0;gap:8px}
 .ngc26-logo{max-width:75%}
 .ngc26-logo img{max-height:58px}
 .ngc26-main-head>.ngc26-search,.ngc26-newsletter{display:none}
 .ngc26-desktop-nav{display:none}
 .ngc26-mobile-nav{display:block;max-width:1500px;margin:auto}
 .ngc26-mobile-nav summary{padding:11px 14px;color:#fff;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
 .ngc26-mobile-nav summary::-webkit-details-marker{display:none}
 .ngc26-mobile-nav nav{padding:5px 12px 16px;background:#fff;max-height:65vh;overflow-y:auto;box-shadow:0 8px 15px #0002}
 .ngc26-mobile-nav .ngc26-menu-list a{display:block;color:#222;text-decoration:none;padding:9px 10px;border-bottom:1px solid #eee;font-size:14px}
 .ngc26-mobile-nav .ngc26-menu-list .sub-menu{padding-left:15px}
 .ngc26-mobile-nav .ngc26-menu-list .sub-menu a{font-size:13px}
 .ngc26-mobile-search{max-width:none;margin:14px 0}
 .ngc26-mobile-link{display:inline-block;margin:5px 6px 5px 0;padding:9px 12px;background:#1268ad;color:white!important;border-radius:5px;text-decoration:none;font-size:12px;font-weight:700}
}

/* NGC HF FOOTER COMPLETADO */
/* FOOTER NGC 2026 */
.ngc26-footer{background:#fff;border-top:3px solid #1268ad;margin-top:35px;color:#263447}
.ngc26-footer-inner{max-width:1500px;margin:0 auto;padding:35px 18px;display:grid;grid-template-columns:1fr 1fr;gap:45px}
.ngc26-footer-logo{max-width:250px;width:100%;height:auto;display:block;margin-bottom:18px}
.ngc26-footer-info p{font-size:14px;line-height:1.7;margin:0 0 12px}
.ngc26-footer-newsletter h2{font-size:19px;margin:0 0 15px;color:#123b69}
.ngc26-footer-newsletter input[type=email],.ngc26-footer-newsletter input[type=text]{max-width:100%;box-sizing:border-box}
.ngc26-footer-newsletter input[type=submit],.ngc26-footer-newsletter button[type=submit]{background:#1268ad;color:#fff;border:0;padding:11px 20px;border-radius:5px;cursor:pointer}
.ngc26-footer-bottom{border-top:1px solid #e5e7eb;padding:16px;text-align:center;font-size:12px;color:#666;line-height:1.8}
.ngc26-footer-bottom a{color:#1268ad;text-decoration:none}
.ngc26-footer-bottom a:hover{text-decoration:underline}
@media(max-width:700px){
.ngc26-footer-inner{grid-template-columns:1fr;gap:25px;padding:28px 15px}
.ngc26-footer-logo{max-width:210px}
.ngc26-footer-bottom{padding:15px 12px}
}




/* NGC - BARRA DE NAVEGACION REORGANIZADA */
.ngc26-nav-reorganizada{
 display:flex;
 align-items:center;
 justify-content:space-between;
 max-width:1500px;
 margin:auto;
 padding:0 18px;
 gap:15px;
}
.ngc26-fecha-barra{
 color:#fff;
 font-size:11px;
 white-space:nowrap;
 flex:1;
}
.ngc26-nav-reorganizada .ngc26-desktop-nav{
 flex:3;
 padding:0;
}
.ngc26-nav-reorganizada .ngc26-menu-list{
 justify-content:center;
}
.ngc26-fiestas-barra{
 background:#fff;
 color:#1268ad!important;
 font-size:11px;
 font-weight:700;
 padding:8px 12px;
 border-radius:4px;
 white-space:nowrap;
 text-decoration:none;
 text-align:center;
 flex:1;
 max-width:170px;
}
@media(max-width:800px){
 .ngc26-nav-reorganizada{padding:0 12px;min-height:36px}
 .ngc26-fecha-barra{font-size:10px}
 .ngc26-nav-reorganizada .ngc26-desktop-nav{display:none}
 .ngc26-fiestas-barra{font-size:10px;padding:7px}
}


/* NGC-FOOTER-FORM-FIX-2026 */
.ngc26-footer-newsletter .tnp.tnp-subscription {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 !important;
}
.ngc26-footer-newsletter .tnp form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.ngc26-footer-newsletter .tnp-field {
    margin: 0 !important;
    padding: 0 !important;
}
.ngc26-footer-newsletter .tnp-field-firstname > label,
.ngc26-footer-newsletter .tnp-field-email > label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.ngc26-footer-newsletter input.tnp-name,
.ngc26-footer-newsletter input.tnp-email {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #263447 !important;
    box-sizing: border-box !important;
}
.ngc26-footer-newsletter .tnp-field-checkbox label,
.ngc26-footer-newsletter .tnp-privacy-field label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}
.ngc26-footer-newsletter input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex: 0 0 16px !important;
}
.ngc26-footer-newsletter input.tnp-submit {
    display: inline-block !important;
    width: auto !important;
    background: #1268ad !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 11px 22px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
}





/* NGC GLOBAL 1300 PX */
.ngc26-head-inner,
.ngc26-nav,
.ngc26-nav-reorganizada,
.ngc26-footer-inner {
    max-width: 1300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* NGC-MOVIL-2026-AJUSTES: cabecera y footer */
@media only screen and (max-width:767px) {

  /* Ocultar fecha y hora */
  .ngc26-fecha-barra {
    display:none !important;
  }

  /* Solo logo en la franja superior */
  .ngc26-main-head {
    justify-content:flex-start !important;
  }

  .ngc26-logo {
    max-width:100% !important;
  }

  /* Menú y Nuestras Fiestas en una misma fila */
  .ngc26-nav-wrap {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    align-items:center !important;
  }

  .ngc26-mobile-nav {
    display:block !important;
    grid-column:1 !important;
    grid-row:1 !important;
    min-width:0 !important;
    position:relative !important;
  }

  .ngc26-mobile-nav summary {
    padding:12px !important;
  }

  .ngc26-nav-reorganizada {
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    padding:4px 10px 4px 0 !important;
  }

  .ngc26-fiestas-barra {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    flex:1 1 auto !important;
    padding:9px 5px !important;
    font-size:10px !important;
  }

  .ngc26-mobile-nav nav {
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    width:min(92vw,360px) !important;
    box-sizing:border-box !important;
    z-index:1001 !important;
  }

  /* Evitar repetir Fiestas dentro del desplegable */
  .ngc26-mobile-nav nav a[href="https://nortegrancanaria.com/fiestas/"] {
    display:none !important;
  }

  /* Centrar el logotipo del footer */
  .ngc26-footer-info > a {
    display:block !important;
    width:fit-content !important;
    max-width:100% !important;
    margin:0 auto 18px !important;
  }

  .ngc26-footer-logo {
    display:block !important;
    margin:0 auto !important;
    max-width:210px !important;
  }

}


/* NGC-MOVIL-CABECERA-FOOTER-FINAL-2026 */
@media screen and (max-width:767px) {

  /* Ocultar fecha y hora */
  body .ngc26-header .ngc26-fecha-barra,
  body .ngc26-header #ngc26-clock {
    display:none !important;
  }

  /* Logo arriba */
  body .ngc26-header .ngc26-main-head {
    display:flex !important;
    justify-content:center !important;
  }

  body .ngc26-header .ngc26-logo {
    max-width:100% !important;
  }

  /* Menú a la izquierda, Fiestas a la derecha */
  body .ngc26-header .ngc26-nav-wrap {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
  }

  body .ngc26-header .ngc26-mobile-nav {
    display:block !important;
    order:1 !important;
    width:45% !important;
  }

  body .ngc26-header .ngc26-nav-reorganizada {
    display:flex !important;
    order:2 !important;
    width:55% !important;
    flex:0 0 55% !important;
    margin:0 !important;
    padding:4px 10px !important;
    box-sizing:border-box !important;
  }

  body .ngc26-header .ngc26-fiestas-barra {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  /* Logo del footer centrado */
  body .ngc26-footer .ngc26-footer-info {
    text-align:left !important;
  }

  body .ngc26-footer .ngc26-footer-info > a {
    display:block !important;
    width:fit-content !important;
    max-width:100% !important;
    margin:0 auto 20px !important;
  }

  body .ngc26-footer .ngc26-footer-logo {
    display:block !important;
    width:210px !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 auto !important;
  }
}


/* NGC-CABECERA-MOVIL-215 */
@media screen and (max-width:767px) {

  body .ngc26-header .ngc26-main-head {
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }

  body .ngc26-header .ngc26-logo {
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
  }

  body .ngc26-header .ngc26-logo img {
    display:block !important;
    max-width:100% !important;
    max-height:58px !important;
    width:auto !important;
    height:auto !important;
    margin:0 auto !important;
  }

  body .ngc26-header .ngc26-mobile-nav summary {
    justify-content:flex-start !important;
    align-items:center !important;
    padding:10px 15px !important;
    min-height:43px !important;
  }

  body .ngc26-header .ngc26-mobile-nav summary span {
    display:block !important;
    font-size:25px !important;
    line-height:1 !important;
  }
}

/* NGC-NEWSLETTER-MOVIL-217 */
@media screen and (max-width:767px) {
  .ngc26-mobile-newsletter-bar {
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    width:100% !important;
    padding:12px !important;
    box-sizing:border-box !important;
    background:#1268ad !important;
  }

  .ngc26-mobile-newsletter-bar .ngc26-mobile-link {
    display:block !important;
    margin:0 !important;
    padding:8px 18px !important;
    color:#fff !important;
    text-align:center !important;
    font-weight:700 !important;
  }
}


/* NGC-STICKY-ADMINBAR-240 */

/* Visitantes */
.ngc26-header {
    position:sticky;
    top:0;
    z-index:900;
}

/* Administradores con barra WordPress */
body.admin-bar .ngc26-header {
    top:32px !important;
}

/* Barra de administracion en pantallas pequeñas */
@media screen and (max-width:782px) {
    body.admin-bar .ngc26-header {
        top:46px !important;
    }
}
