/* =========================================================================
   SIP Red de Colegios — estilos base del tema
   Reproduce la grilla, tipografía y colores del sitio original (sin Divi).
   ========================================================================= */
:root {
  --sip-azul: #002B86;
  --sip-azul-oscuro: #011F5F;
  --sip-celeste: #009DDE;
  --sip-naranjo: #EE9224;
  --sip-amarillo: #FDD400;
  --sip-texto: #434343;
  --sip-titulos: #333333;
  --sip-gris: #EAEAEA;
  --sip-ancho: 1080px;
  --sip-header-alto: 66px;
}

/* ---------- reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7em;
  color: var(--sip-texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
a { color: var(--sip-celeste); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; } /* como Divi */
a:hover { opacity: .85; }
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0 0 23px 1em; line-height: 26px; }
ul { list-style-type: disc; }
blockquote { margin: 20px 0 30px; padding-left: 20px; border-left: 5px solid var(--sip-celeste); }
hr { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }
iframe { max-width: 100%; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
table td, table th { padding: 6px 10px; border: 1px solid #e2e2e2; }
input, textarea, select, button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  color: var(--sip-titulos);
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  line-height: 1em;
  margin: 0;
  padding-bottom: 10px;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- botones ---------- */
.sip-btn, .et_pb_button, .wpcf7 input[type=submit], button.sip-btn {
  display: inline-block;
  position: relative;
  padding: .3em 1em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em !important;
  color: #fff !important;
  background-color: var(--sip-celeste);
  border: 0 solid transparent;
  border-radius: 40px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.sip-btn:after {
  content: "";
  position: absolute;
  top: 50%;
  right: .8em;
  width: .45em;
  height: .45em;
  margin-top: -.25em;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  transition: all .2s;
}
.sip-btn:hover { padding-right: 2em; padding-left: .7em; opacity: 1; }
.sip-btn:hover:after { opacity: 1; }

/* ---------- estructura de página ---------- */
#page-container { position: relative; overflow-x: hidden; }
#main-content { display: block; background: #fff; }
/* Espacio del encabezado fijo reservado desde el CSS (antes lo ponía el JS al cargar y movía toda la página: CLS) */
@media (min-width: 981px) {
  .sip-fixed #page-container { padding-top: 110px; }
  .sip-fixed #page-container:not(:has(#top-header)) { padding-top: 66px; }
  .sip-fixed #main-header { top: 44px; }
  .admin-bar.sip-fixed #main-header { top: 76px; }
}

/* Secciones / filas / columnas (equivalente a la grilla de Divi) */
.et_pb_section { position: relative; padding: 4% 0; background-position: center; background-size: cover; }
.et_pb_section.sip-full { padding: 0; }
.et_pb_row { position: relative; width: 80%; max-width: var(--sip-ancho); margin: auto; padding: 2% 0; }
.et_pb_row::after { content: ""; display: block; clear: both; visibility: hidden; height: 0; }
.et_pb_row.sip-row-full { width: 100%; max-width: 100%; padding: 0; }
.et_pb_column { float: left; position: relative; z-index: 2; min-height: 1px; background-position: center; background-size: cover; }
.et_pb_column:last-child { margin-right: 0 !important; }
.et_pb_row .et_pb_column.et-last-child { margin-right: 0 !important; }
.et_pb_column_4_4 { width: 100%; }

@media (min-width: 1350px) {
  .et_pb_section { padding: 54px 0; }
  .et_pb_section.sip-full { padding: 0; }
  .et_pb_row { padding: 27px 0; }
  .et_pb_row.sip-row-full { padding: 0; }
}

/* Espaciado 3 (por defecto) */
.sip-gutter-3 > .et_pb_column { margin-right: 5.5%; }
.sip-gutter-3 > .et_pb_column_1_2 { width: 47.25%; }
.sip-gutter-3 > .et_pb_column_1_3 { width: 29.6667%; }
.sip-gutter-3 > .et_pb_column_2_3 { width: 64.833%; }
.sip-gutter-3 > .et_pb_column_1_4 { width: 20.875%; }
.sip-gutter-3 > .et_pb_column_3_4 { width: 73.625%; }
.sip-gutter-3 > .et_pb_column_1_5 { width: 15.6%; }
.sip-gutter-3 > .et_pb_column_2_5 { width: 36.7%; }
.sip-gutter-3 > .et_pb_column_3_5 { width: 57.8%; }
.sip-gutter-3 > .et_pb_column_1_6 { width: 12.083%; }
/* Espaciado 1 */
.sip-gutter-1 > .et_pb_column { margin-right: 0; }
.sip-gutter-1 > .et_pb_column_1_2 { width: 50%; }
.sip-gutter-1 > .et_pb_column_1_3 { width: 33.3333%; }
.sip-gutter-1 > .et_pb_column_2_3 { width: 66.6667%; }
.sip-gutter-1 > .et_pb_column_1_4 { width: 25%; }
.sip-gutter-1 > .et_pb_column_3_4 { width: 75%; }
.sip-gutter-1 > .et_pb_column_1_5 { width: 20%; }
.sip-gutter-1 > .et_pb_column_2_5 { width: 40%; }
.sip-gutter-1 > .et_pb_column_3_5 { width: 60%; }
.sip-gutter-1 > .et_pb_column_1_6 { width: 16.6667%; }
/* Espaciado 2 */
.sip-gutter-2 > .et_pb_column { margin-right: 3%; }
.sip-gutter-2 > .et_pb_column_1_2 { width: 48.5%; }
.sip-gutter-2 > .et_pb_column_1_3 { width: 31.3333%; }
.sip-gutter-2 > .et_pb_column_2_3 { width: 65.6667%; }
.sip-gutter-2 > .et_pb_column_1_4 { width: 22.75%; }
.sip-gutter-2 > .et_pb_column_3_4 { width: 74.25%; }
.sip-gutter-2 > .et_pb_column_1_5 { width: 17.6%; }
.sip-gutter-2 > .et_pb_column_2_5 { width: 38.2%; }
.sip-gutter-2 > .et_pb_column_3_5 { width: 58.8%; }
.sip-gutter-2 > .et_pb_column_1_6 { width: 14.1667%; }
/* Espaciado 4 */
.sip-gutter-4 > .et_pb_column { margin-right: 8%; }
.sip-gutter-4 > .et_pb_column_1_2 { width: 46%; }
.sip-gutter-4 > .et_pb_column_1_3 { width: 28%; }
.sip-gutter-4 > .et_pb_column_2_3 { width: 64%; }
.sip-gutter-4 > .et_pb_column_1_4 { width: 19%; }
.sip-gutter-4 > .et_pb_column_3_4 { width: 73%; }
.sip-gutter-4 > .et_pb_column_1_5 { width: 13.6%; }
.sip-gutter-4 > .et_pb_column_2_5 { width: 35.2%; }
.sip-gutter-4 > .et_pb_column_3_5 { width: 56.8%; }
.sip-gutter-4 > .et_pb_column_1_6 { width: 10%; }

.sip-equal { display: flex; }
.sip-equal > .et_pb_column { float: none; }

/* margen inferior de los módulos (como Divi) */
.et_pb_module { position: relative; background-size: cover; background-position: center; }
.et_pb_row > .et_pb_column > .et_pb_module:last-child, .sip-inner-row > .sip-inner-col > .et_pb_module:last-child { margin-bottom: 0; }
.sip-gutter-3 > .et_pb_column_4_4 > .et_pb_module { margin-bottom: 2.75%; }
.sip-gutter-3 > .et_pb_column_1_2 > .et_pb_module { margin-bottom: 5.82%; }
.sip-gutter-3 > .et_pb_column_1_3 > .et_pb_module { margin-bottom: 9.27%; }
.sip-gutter-3 > .et_pb_column_2_3 > .et_pb_module { margin-bottom: 4.242%; }
.sip-gutter-3 > .et_pb_column_1_4 > .et_pb_module { margin-bottom: 13.174%; }
.sip-gutter-3 > .et_pb_column_3_4 > .et_pb_module { margin-bottom: 3.735%; }
.sip-gutter-3 > .et_pb_column_1_5 > .et_pb_module { margin-bottom: 17.628%; }
.sip-gutter-3 > .et_pb_column_2_5 > .et_pb_module { margin-bottom: 7.493%; }
.sip-gutter-3 > .et_pb_column_3_5 > .et_pb_module { margin-bottom: 4.758%; }
.sip-gutter-1 > .et_pb_column > .et_pb_module { margin-bottom: 0; }
.sip-gutter-2 > .et_pb_column_4_4 > .et_pb_module { margin-bottom: 3%; }
.sip-gutter-2 > .et_pb_column_1_2 > .et_pb_module { margin-bottom: 6.186%; }
.sip-gutter-2 > .et_pb_column_1_3 > .et_pb_module { margin-bottom: 9.574%; }
.sip-gutter-2 > .et_pb_column_1_4 > .et_pb_module { margin-bottom: 13.188%; }
.sip-gutter-2 > .et_pb_column_2_3 > .et_pb_module { margin-bottom: 4.569%; }
.sip-gutter-4 > .et_pb_column > .et_pb_module { margin-bottom: 4%; }

/* filas internas */
.sip-inner-row { display: flex; flex-wrap: wrap; }
.sip-inner-row > .sip-inner-col { flex: 0 0 auto; }
.sip-inner-row > .sip-inner-col > .et_pb_module { margin-bottom: 30px; }

@media (max-width: 980px) {
  .et_pb_section { padding: 50px 0; }
  .et_pb_section.sip-full { padding: 0; }
  .et_pb_row { padding: 30px 0; }
  .et_pb_row.sip-row-full { padding: 0; }
  .et_pb_column { width: 100% !important; margin-right: 0 !important; margin-bottom: 30px; }
  .et_pb_column:last-child { margin-bottom: 0; }
  .et_pb_row > .et_pb_column > .et_pb_module { margin-bottom: 30px; }
  .sip-equal { display: block; }
  .sip-tablet-2 > .et_pb_column_1_4, .sip-tablet-2 > .et_pb_column_1_5 { width: 47.25% !important; margin-right: 5.5% !important; }
  .sip-tablet-2 > .et_pb_column_1_4:nth-child(2n), .sip-tablet-2 > .et_pb_column_1_5:nth-child(2n) { margin-right: 0 !important; }
  .sip-inner-row > .sip-inner-col { width: 100% !important; margin-right: 0 !important; }
}
@media (min-width: 768px) and (max-width: 980px) {
  .sip-gutter-3 > .et_pb_column_1_4, .sip-gutter-2 > .et_pb_column_1_4,
  .sip-gutter-3 > .et_pb_column_1_5, .sip-gutter-2 > .et_pb_column_1_5 { width: 47.25% !important; margin-right: 5.5% !important; float: left; }
  .sip-gutter-3 > .et_pb_column_1_4:nth-child(2n), .sip-gutter-2 > .et_pb_column_1_4:nth-child(2n),
  .sip-gutter-3 > .et_pb_column_1_5:nth-child(2n), .sip-gutter-2 > .et_pb_column_1_5:nth-child(2n) { margin-right: 0 !important; }
  .sip-gutter-1 > .et_pb_column_1_4, .sip-gutter-1 > .et_pb_column_1_5 { width: 50% !important; float: left; }
}

/* ocultar por dispositivo */
@media (min-width: 981px) { .sip-hide-escritorio { display: none !important; } }
@media (min-width: 768px) and (max-width: 980px) { .sip-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .sip-hide-movil { display: none !important; } }

/* bloques enlazados */
[data-sip-href] { cursor: pointer; }

/* ---------- formas (separadores) de sección ---------- */
.sip-divider { position: absolute; left: 0; width: 100%; z-index: 10; pointer-events: none; line-height: 0; }
.sip-divider svg { display: block; width: 100%; height: 100%; }
.sip-divider-top { top: -1px; } /* 1px de solape para que no quede una línea por redondeo */
.sip-divider-bottom { bottom: -1px; }
.sip-divider.flip-h svg { transform: scaleX(-1); }
.sip-divider.flip-v svg { transform: scaleY(-1); }
.sip-divider.flip-h.flip-v svg { transform: scale(-1,-1); }
.et_pb_section > .et_pb_row { z-index: 2; }

/* ---------- ventanas emergentes ---------- */
.sip-popup-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.sip-popup-overlay.is-open { display: flex; }
.sip-popup-overlay > .et_pb_section { width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; }
.sip-popup-close { position: absolute; top: 10px; right: 20px; font-size: 60px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; z-index: 2; }
.sip-popup-close:hover { color: var(--sip-amarillo); }
body.sip-popup-open { overflow: hidden; }
@media (max-width: 767px) { .sip-popup-close { font-size: 40px; top: 4px; right: 10px; color: #333; } }

/* =========================================================================
   ENCABEZADO
   ========================================================================= */
#top-header { background: var(--sip-azul-oscuro); color: #fff; font-size: 12px; line-height: 23px; position: relative; z-index: 100000; transition: transform .4s; }
#top-header .container { width: 80%; max-width: var(--sip-ancho); margin: 0 auto; display: flex; justify-content: flex-end; }
#et-secondary-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
#et-secondary-nav li { position: relative; margin-left: 15px; }
#et-secondary-nav a { display: block; padding: .75em 0; color: #fff; font-weight: 600; }
#et-secondary-nav a:hover { opacity: .7; }

#main-header { background: var(--sip-azul); position: relative; z-index: 99999; width: 100%; box-shadow: 0 1px 0 rgba(0,0,0,.1); transition: background-color .4s, box-shadow .4s; }
#main-header .container { width: 80%; max-width: var(--sip-ancho); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: var(--sip-header-alto); }
#main-header .logo_container { display: flex; align-items: center; height: var(--sip-header-alto); }
#main-header #logo { display: block; max-height: 54%; width: auto; transition: max-height .4s; }
#main-header .logo_container a { display: flex; align-items: center; height: 100%; }
#main-header .logo_container img { max-height: 36px; width: auto; }

#top-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
#top-menu > li { position: relative; padding-right: 26px; }
#top-menu > li:last-child { padding-right: 0; }
#top-menu a { display: block; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; padding: 23px 0; line-height: 1em; }
#top-menu > li > a { position: relative; }
#top-menu > li.menu-item-has-children > a { padding-right: 20px; }
#top-menu > li.menu-item-has-children > a:after {
  content: ""; position: absolute; right: 2px; top: 50%; margin-top: -6px; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a, #top-menu li.current_page_item > a, #top-menu a:hover { color: #fff; opacity: 1; }
#top-menu li ul { position: absolute; top: 100%; left: 0; z-index: 9999; width: 240px; margin: 0; padding: 20px 0; list-style: none; background: var(--sip-celeste); border-top: 3px solid var(--sip-celeste); box-shadow: 0 2px 5px rgba(0,0,0,.1); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
#top-menu li:hover > ul { visibility: visible; opacity: 1; }
#top-menu li li { padding: 0 20px; margin: 0; line-height: 1.2em; }
#top-menu li li a { padding: 6px 20px; width: 200px; font-size: 14px; color: rgba(255,255,255,.6); }
#top-menu li li a:hover { color: #fff; background: rgba(0,0,0,.03); }

.sip-search-toggle { background: none; border: 0; color: rgba(255,255,255,.6); cursor: pointer; margin-left: 22px; padding: 0; width: 18px; height: 18px; }
.sip-search-toggle svg { width: 17px; height: 17px; fill: currentColor; }
.sip-search-toggle:hover { color: #fff; }
.sip-header-search { position: absolute; inset: 0; background: var(--sip-azul); display: none; align-items: center; z-index: 2; }
.sip-header-search.is-open { display: flex; }
.sip-header-search form { width: 80%; max-width: var(--sip-ancho); margin: 0 auto; display: flex; align-items: center; }
.sip-header-search input { flex: 1; background: transparent; border: 0; color: #fff; font-size: 18px; padding: 10px 0; outline: 0; }
.sip-header-search input::placeholder { color: rgba(255,255,255,.6); }
.sip-header-search .cerrar { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 28px; cursor: pointer; }

/* encabezado fijo */
.sip-fixed #top-header { position: fixed; top: 0; left: 0; right: 0; }
.sip-fixed #main-header { position: fixed; top: 0; left: 0; right: 0; }
.sip-fixed.sip-scrolled #main-header { box-shadow: 0 0 7px rgba(0,0,0,.1); }
.sip-fixed.sip-scrolled #main-header .container { min-height: 54px; }
.sip-fixed.sip-scrolled #main-header #top-menu > li > a { padding-top: 20px; padding-bottom: 20px; color: rgba(255,255,255,.99); }
.sip-fixed.sip-scrolled #top-header { transform: translateY(-100%); }
.sip-fixed.sip-scrolled #main-header { top: 0 !important; }
.admin-bar.sip-fixed #top-header { top: 32px; }
.admin-bar.sip-fixed.sip-scrolled #main-header { top: 32px !important; }

/* menú móvil */
.mobile_nav { display: none; }
.mobile_menu_bar { background: none; border: 0; padding: 0; cursor: pointer; width: 32px; height: 32px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.mobile_menu_bar span { display: block; height: 3px; background: var(--sip-celeste); border-radius: 2px; }
.et_mobile_menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--sip-celeste); box-shadow: 0 2px 5px rgba(0,0,0,.1); padding: 5%; list-style: none; margin: 0; z-index: 9999; }
.et_mobile_menu.is-open { display: block; }
.et_mobile_menu li { border-bottom: 1px solid rgba(0,0,0,.03); }
.et_mobile_menu a { display: block; padding: 10px 5%; color: rgba(0,0,0,.6); font-weight: 600; }
.et_mobile_menu ul { list-style: none; padding: 0 0 0 20px; margin: 0; }
.et_mobile_menu .sip-secundario-movil a { color: var(--sip-azul); }

@media (max-width: 980px) {
  #top-header { display: none; }
  #main-header { background: #fff; position: relative !important; }
  #main-header .container { min-height: 80px; position: static; }
  #et-top-navigation #top-menu, .sip-search-toggle { display: none; }
  .mobile_nav { display: block; }
  #main-header .logo_container img { max-height: 48px; }
  .sip-header-search { background: #fff; }
  .sip-header-search input { color: #333; }
}

/* =========================================================================
   PIE DE PÁGINA
   ========================================================================= */
#main-footer { background: var(--sip-azul); color: #fff; padding: 50px 0 4%; position: relative; z-index: 500; margin-top: -3px; min-height: 169px; }
#main-footer .sip-footer-row { width: 90%; max-width: var(--sip-ancho); margin: auto; display: flex; gap: 5.5%; padding: 2% 0; }
#main-footer .sip-footer-col { flex: 1 1 0; }
#main-footer .sip-footer-logo img { width: 100px; transform: scale(2.06); transform-origin: left center; margin-top: 21px; }
#main-footer h3 { color: #fff; font-size: 16px; font-weight: 700; text-transform: uppercase; padding-bottom: 10px; }
#main-footer .sip-footer-col p, #main-footer .sip-footer-col a { color: #fff; }
#main-footer .sip-footer-col .sip-footer-links p { line-height: .8em; }
#main-footer .sip-footer-links a { line-height: 1.7em; }
#main-footer .sip-redes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#main-footer .sip-redes img { width: 23px; height: 23px; }
#main-footer .sip-bottom { text-align: center; font-size: 12px; padding: 15px 0; color: rgba(255,255,255,.7); }
@media (max-width: 980px) {
  #main-footer .sip-footer-row { flex-direction: column; text-align: center; gap: 20px; }
  #main-footer .sip-footer-logo img { transform: none; margin: 0 auto; width: 200px; }
  #main-footer .sip-redes { justify-content: center; }
}

/* =========================================================================
   MÓDULOS
   ========================================================================= */
/* Texto */
.et_pb_text { word-wrap: break-word; }
.et_pb_text ul, .et_pb_text ol { padding-bottom: 1em; }
.et_pb_text > :last-child { padding-bottom: 0; }

/* Imagen */
.sip-mod-imagen { line-height: 0; max-width: 100%; }
.sip-mod-imagen .sip-img-wrap { display: inline-block; position: relative; max-width: 100%; }
.sip-mod-imagen.sip-align-center { text-align: center; }
.sip-mod-imagen.sip-align-right { text-align: right; }
.sip-mod-imagen.sip-img-full .sip-img-wrap, .sip-mod-imagen.sip-img-full img { width: 100%; }

/* Botón */
.sip-mod-boton { display: block; }
.sip-mod-boton.sip-align-center { text-align: center; }
.sip-mod-boton.sip-align-right { text-align: right; }

/* Tarjeta (blurb) */
.sip-blurb { display: block; }
.sip-blurb .sip-blurb-media { display: inline-block; max-width: 100%; margin: 0 auto 30px; line-height: 0; }
.sip-blurb .sip-blurb-media > a { display: block; }
.sip-blurb .sip-blurb-media .et_pb_image_wrap { display: block; box-sizing: border-box; overflow: hidden; }
.sip-blurb.sip-blurb-top { text-align: center; }
.sip-blurb.sip-blurb-left { display: flex; text-align: left; align-items: flex-start; }
.sip-blurb.sip-blurb-left .sip-blurb-media { flex: 0 0 auto; width: 32px; margin: 0 15px 0 0; }
.sip-blurb.sip-blurb-left .sip-blurb-media:has(.sip-icon) { width: auto; }
.sip-blurb .sip-blurb-title { padding-bottom: 10px; }
.sip-blurb .sip-blurb-title a { color: inherit; }
.sip-blurb .sip-icon { font-size: 96px; line-height: 1; display: inline-block; }
.sip-mod-tarjeta.sip-text-left .sip-blurb.sip-blurb-top { text-align: left; }
.sip-mod-tarjeta.sip-text-left .sip-blurb-media { margin-left: 0; }

/* Íconos (Font Awesome) */
.sip-icon { color: var(--sip-celeste); /* color por defecto de Divi (color de acento) */ font-family: 'Font Awesome 6 Free'; font-weight: 900; font-style: normal; line-height: 1; -webkit-font-smoothing: antialiased; }
.sip-icon.fam-regular { font-weight: 400; }
.sip-icon.fam-brands { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }
.sip-mod-icono { text-align: center; line-height: 0; }
.sip-mod-icono .sip-icon { font-size: 96px; display: inline-block; transition: font-size .3s; }
.sip-mod-icono a { display: inline-block; }

/* Separador */
.sip-mod-separador { height: 23px; display: flex; align-items: flex-start; } /* Divi pone la línea arriba del módulo */
.sip-mod-separador .sip-divider-line { width: 100%; border-top: 1px solid #fff; }

/* Video */
.sip-video { position: relative; padding-top: 56.25%; }
.sip-video iframe, .sip-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contador */
.sip-counter { text-align: center; }
.sip-counter-number { font-size: 72px; font-weight: 700; color: var(--sip-celeste); padding-bottom: 0; }
.sip-counter-number p { line-height: 72px; padding: 0; }
.sip-counter-title { font-size: 18px; line-height: 1em; padding-bottom: 10px; min-height: 1em; }

/* Slider */
.sip-slider { position: relative; overflow: hidden; }
.sip-slides { display: flex; transition: transform .6s ease; }
/* Mismas medidas que el slider de Divi */
.sip-slide { flex: 0 0 100%; position: relative; background-size: cover; background-position: center; display: flex; align-items: center; min-height: 300px; padding: 0 6%; color: #fff; }
.sip-slide-inner { width: 100%; max-width: 1080px; margin: auto; display: flex; align-items: center; text-align: center; }
.sip-slide-desc { flex: 1 1 auto; padding: 16% 8%; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sip-slide-inner .sip-slide-img { flex: 0 0 47.25%; max-width: 47.25%; margin-right: 5.5%; line-height: 0; }
.sip-slide-img img { width: auto; max-width: 100%; height: auto; }
.sip-slide-img + .sip-slide-desc { flex: 0 0 47.25%; max-width: 47.25%; padding-left: 0; padding-right: 0; text-align: left; }
.sip-slide-title { font-size: 46px; font-weight: 300; line-height: 1em; color: #fff; padding-bottom: 10px; }
.sip-slide-content { font-size: 16px; font-weight: 500; }
.sip-slide .et_pb_button_wrapper { margin-top: 20px; }
.sip-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 48px; cursor: pointer; z-index: 5; opacity: 0; transition: opacity .3s; padding: 0 20px; line-height: 1; }
.sip-slider:hover .sip-slider-arrow { opacity: 1; }
.sip-slider-prev { left: 0; }
.sip-slider-next { right: 0; }
.sip-slider-dots { position: absolute; bottom: 21.5px; left: 0; right: 0; text-align: center; z-index: 5; line-height: 0; }
.sip-slider-dots button { width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 8.5px; margin: 0; background: #fff; background-clip: content-box !important; cursor: pointer; opacity: .5; transition: opacity .2s; } /* punto de 7 px con área táctil de 24 px (accesibilidad) */
.sip-slider-dots button.is-active { opacity: 1; } /* los puntos no activos van al 50 % aunque el slider defina otro color */
@media (max-width: 767px) { .sip-slide-title { font-size: 20px; } .sip-slide-inner { flex-direction: column; } .sip-slide-inner .sip-slide-img { display: none; max-width: 100%; margin: 6% auto 0; } .sip-slide-img + .sip-slide-desc { max-width: 100%; flex-basis: auto; text-align: center; } }

/* Acordeón */
.sip-acc-item { border: 1px solid #d9d9d9; padding: 20px; margin-bottom: 0; background: #f4f4f4; }
.sip-acc-item + .sip-acc-item { margin-top: 10px; }
.sip-acc-item.is-open { background: #fff; }
.sip-acc-title { cursor: pointer; position: relative; padding-right: 30px; font-size: 16px; font-weight: 600; color: var(--sip-titulos); padding-bottom: 0; }
.sip-acc-title:after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: #ccc; }
.sip-acc-item.is-open .sip-acc-title:after { content: "–"; }
.sip-acc-body { display: none; padding-top: 15px; }
.sip-acc-item.is-open .sip-acc-body { display: block; }

/* Pestañas */
.sip-tabs { border: 1px solid #d9d9d9; }
.sip-tabs-nav { display: flex; flex-wrap: wrap; background: #f4f4f4; margin: 0; padding: 0; }
.sip-tabs-nav button { border: 0; border-right: 1px solid #d9d9d9; background: #f4f4f4; padding: 4px 30px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.7em; cursor: pointer; color: #666; }
.sip-tabs-nav button.is-active { background: #fff; color: #333; }
.sip-tab-panel { display: none; padding: 24px 30px; }
.sip-tab-panel.is-active { display: block; }

/* Título de página */
.sip-title { padding-bottom: 10px; }
.et_pb_post_title .sip-title { font-size: 26px; line-height: 1em; } /* tamaño por defecto del módulo Título de Divi */
.sip-title-meta { color: #666; font-size: 14px; }

/* Listado de entradas */
.sip-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 5.5%; row-gap: 0; align-items: start; }
.sip-posts-grid > .sip-post-card { margin-bottom: 18.5%; }
.sip-posts-grid > .sip-masonry-col > .sip-post-card { margin-bottom: 18.5%; }
/* Igual que el script del original: todos los cuadros con la altura del más alto, ordenados por filas */
.et_blog_grid_equal_height .sip-posts-grid { grid-auto-rows: 1fr; align-items: stretch; }
.et_blog_grid_equal_height .sip-posts-grid > .sip-post-card { box-sizing: border-box; }
.et_pb_column_1_2 .sip-posts-grid, .et_pb_column_2_3 .sip-posts-grid { grid-template-columns: repeat(2, 1fr); }
.et_pb_column_1_3 .sip-posts-grid, .et_pb_column_1_4 .sip-posts-grid { grid-template-columns: 1fr; }
.sip-post-card { background: #fff; border: 1px solid #d8d8d8; padding: 19px; overflow: hidden; }
.sip-masonry-col { min-width: 0; }
.sip-posts-lista .sip-post-card { border: 0; padding: 0; margin-bottom: 60px; background: transparent; }
.sip-post-thumb { display: block; position: relative; margin: -20px -20px 30px; line-height: 0; overflow: hidden; }
.sip-posts-lista .sip-post-thumb { margin: 0 0 30px; }
.sip-post-thumb img { width: 100%; aspect-ratio: 400/250; object-fit: cover; }
.sip-overlay .sip-post-thumb:after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .3s; }
.sip-overlay .sip-post-thumb:hover:after { opacity: 1; }
/* Ícono de círculo con + al pasar el mouse, como el de Divi (glifo "P" de ETmodules) */
.sip-overlay .sip-post-thumb:before { content: ""; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M16 8v16M8 16h16' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; transition: opacity .3s; z-index: 2; pointer-events: none; }
.sip-overlay .sip-post-thumb:hover:before { opacity: 1; }
.sip-post-title { font-size: 18px; font-weight: 400; line-height: 1em; padding-bottom: 10px; }
.sip-posts-lista .sip-post-title { font-size: 26px; }
.sip-post-title a { color: var(--sip-titulos); }
.sip-post-meta { font-size: 14px; color: #666; padding-bottom: 0; margin-bottom: 6px; }
.sip-post-excerpt p { padding-bottom: 0; }
.sip-more { display: inline; margin: 0; font-weight: 400; }
.sip-posts-lista .sip-more { display: block; }
.sip-pagination { display: flex; justify-content: space-between; margin-top: 30px; }
.sip-pagination a { color: #666; font-weight: 600; }
@media (max-width: 980px) { .sip-posts-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 767px) { .sip-posts-grid { grid-template-columns: 1fr !important; } }

/* Colegios: carrusel del inicio */
/* Carrusel de colegios (réplica del slideset de WidgetKit "colegios-inicio") */
.colegios-carrusel { position: relative; }
.colegios-carrusel__wrap { position: relative; margin-bottom: 20px; }
.colegios-carrusel__viewport { overflow: hidden; margin-left: -15px; }
.colegios-carrusel__track { display: flex; transition: transform .6s ease; }
.colegio-card { flex: 0 0 25%; padding-left: 15px; text-align: center; color: #fff; line-height: 26px; }
.colegio-card__media { position: relative; overflow: hidden; border-radius: 5px; margin-bottom: 20px; aspect-ratio: 300 / 250; }
.colegio-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; transition: transform .3s ease-out, opacity .3s ease-out; }
.colegio-card__media:hover img { transform: scale(1.03); }
.colegio-card__overlay { position: absolute; inset: 0; background: rgba(237, 147, 35, .66); opacity: 0; transition: opacity .3s ease-out; }
.colegio-card__media:hover .colegio-card__overlay { opacity: 1; }
.colegio-card__plus { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.colegio-card__plus:before, .colegio-card__plus:after { content: ""; position: absolute; background: #fff; }
.colegio-card__plus:before { left: 18px; top: 0; width: 4px; height: 40px; }
.colegio-card__plus:after { top: 18px; left: 0; height: 4px; width: 40px; }
.colegio-card__cover { position: absolute; inset: 0; z-index: 1; }
.colegio-card h3 { margin: 0 0 20px; padding: 0 0 10px; font-size: 24px; line-height: 24px !important; font-weight: 400; color: #002B86; }
.colegio-card h3 a { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; line-height: 18px; color: #fff; }
.colegio-card h3 a:hover { color: #fff; }
.colegio-card p { color: #fff; font-size: 13px; line-height: 26px; margin: 0 0 20px; padding: 0; }
.colegios-carrusel__nav { position: absolute; top: 20%; left: -4%; width: 108%; margin-top: 20px; display: flex; justify-content: space-between; pointer-events: none; }
.colegios-carrusel__nav button { pointer-events: auto; background: none; border: 0; padding: 5px 10px; color: #fff; cursor: pointer; line-height: 0; }
.colegios-carrusel__nav button polyline { stroke-width: 3px; transform: scale(1.2); transform-origin: center; transition: all 200ms ease; }
.colegios-carrusel__nav button:hover { color: #EE9323; }
.colegios-carrusel__dots { display: flex; justify-content: center; gap: 14px; line-height: 0; } /* 24 px entre centros (área táctil) */
.colegios-carrusel__dots button { width: 10px; height: 10px; border-radius: 50%; border: .8px solid rgba(102, 102, 102, .4); background: transparent; padding: 0; cursor: pointer; }
.colegios-carrusel__dots button.is-active { background: rgba(102, 102, 102, .6); border-color: transparent; }
@media (max-width: 1199px) { .colegio-card { flex-basis: 33.333%; } }
@media (max-width: 959px) { .colegio-card { flex-basis: 50%; } }

/* Colegios: listado por zona */
.colegios-zonas-filtro { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; margin: 0 0 20px; }
.colegios-zonas-filtro button { background: #042b86; color: #fff; border: 0; border-radius: 50px; padding: 5px 40px; margin: 0 10px; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 26px; text-transform: uppercase; cursor: pointer; }
.colegios-zonas-filtro button.is-active, .colegios-zonas-filtro button:hover { background: #249dde; }
.colegio-ficha { display: flex; align-items: center; border: 1px solid #ccc; padding: 20px; margin-bottom: 40px; background: #fff; } /* 40px entre fichas, como la grilla de WidgetKit */
.colegio-ficha > div { flex: 1 1 0; min-width: 0; margin-left: 3%; }
.colegio-ficha .colegio-foto img { width: 100%; height: 190px; object-fit: cover; }
.colegio-ficha h3, .colegios .colegio-ficha h3 { font-weight: 700; text-transform: uppercase; font-size: 16px; color: var(--sip-azul) !important; padding-bottom: 10px; margin-bottom: 0 !important; line-height: 1.4em; }
.colegio-ficha p, .colegios .colegio-ficha p { line-height: 1.2em; padding-bottom: 10px; margin-bottom: 13px; border-bottom: 3px solid #bcbcbc; }
.colegio-ficha p:last-child, .colegios .colegio-ficha p:last-child { border-bottom: 0; margin-bottom: 0; }
.colegio-ficha iframe { width: 100%; height: 190px; border: 0; display: block; }
@media (max-width: 980px) { .colegio-ficha { flex-direction: column; gap: 15px; margin-bottom: 30px; } .colegio-ficha > div { width: 100%; margin-left: 0; } }

/* Mapa */
.sip-mapa { position: relative; overflow: hidden; width: 100%; }
.sip-mapa iframe { position: absolute; left: 0; width: 100%; border: 0; display: block; }

/* Imagen con puntos */
.sip-hotspots { position: relative; display: inline-block; width: 100%; line-height: 0; }
.sip-hotspots > img { width: 100%; }
/* Igual al marcador de WidgetKit del original: el punto queda en left/top y la tarjeta se abre 20px por debajo */
.sip-hotspot { position: absolute; line-height: 1.7; }
.sip-hotspot > button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 5px; border-radius: 500px; border: 0; background: #f8f8f8; color: #666; cursor: pointer; line-height: 0; transition: color .1s, background-color .1s; }
.sip-hotspot > button svg { fill: currentColor; }
.sip-hotspot > button:hover, .sip-hotspot.is-open > button { background: #fff; color: #333; }
.sip-hotspot-card { position: absolute; top: calc(100% + 20px); left: 50%; transform: translateX(-50%); width: 200px; background: #fff; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,.08); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; z-index: 20; }
.sip-hotspot-card::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* puente para que no se cierre al bajar el mouse */
.sip-hotspot:hover .sip-hotspot-card, .sip-hotspot:focus-within .sip-hotspot-card, .sip-hotspot.is-open .sip-hotspot-card { visibility: visible; opacity: 1; }
.sip-hotspot-card img { display: block; width: 200px; height: 300px; object-fit: cover; object-position: top; margin: 0; }
.sip-hotspot-body { padding: 30px; }
.sip-hotspot-card h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; font-size: 20px; line-height: 1.4; font-weight: 400; color: #333; margin: 0 0 20px; padding: 0 0 10px; }
.sip-hotspot-card p { font-size: 14px; color: #666; margin: 0 0 20px; padding: 0; }
@media (max-width: 639px) { .sip-hotspot { display: none; } }

/* Línea de tiempo */
/* Línea de tiempo (réplica del módulo Divi Timeline) */
.diti_divi_timeline { position: relative; }
.diti_divi_timeline .timeline-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #002B86; }
.diti_divi_timeline .timeline { position: relative; padding: 5px; margin: 0; list-style: none; line-height: 26px; }
.diti_divi_timeline .diti_timeline_item { margin-bottom: 2.75%; }
.diti_divi_timeline .diti_timeline_item:last-child { margin-bottom: 0; }
.diti_divi_timeline .flex-container { display: flex; align-items: center; margin: 0 0 20px; list-style: none; }
.diti_divi_timeline .empty-col, .diti_divi_timeline .timeline-panel { flex: 0 0 39.62%; width: 39.62%; }
.diti_divi_timeline .timeline-badge { flex: 1 1 auto; margin: 0 5px; text-align: center; color: #fff; line-height: 0; position: relative; z-index: 1; }
.diti_divi_timeline .timeline-icon { display: inline-block; width: 33px; height: 33px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 3px solid #ED9124; }
.diti_divi_timeline .timeline-panel { padding: 20px; position: relative; background: transparent; }
.diti_divi_timeline .timeline-title { font-size: 30px; line-height: 30px; font-weight: 700; color: #042b86; padding-bottom: 10px; margin: 0; }
.diti_divi_timeline .timeline-body p { line-height: 18px; padding-bottom: 14px; }
.diti_divi_timeline .timeline-body p:last-child { padding-bottom: 0; }
.diti_divi_timeline .timeline-body img { border-radius: 10px; }
@media (max-width: 767px) {
  .diti_divi_timeline .timeline-line { left: 21px; }
  .diti_divi_timeline .flex-container { flex-wrap: nowrap; align-items: flex-start; }
  .diti_divi_timeline .empty-col { display: none; }
  .diti_divi_timeline .timeline-badge { order: 0; flex: 0 0 33px; margin: 20px 0 0; }
  .diti_divi_timeline .timeline-panel { order: 1; flex: 1 1 auto; width: auto; text-align: left !important; }
}

/* Buscador */
.sip-search-form { display: flex; }
.sip-search-form input[type=search] { flex: 1; padding: .715em; border: 1px solid #ddd; border-right: 0; font-size: 14px; }
.sip-search-form button { border: 1px solid #ddd; background: #fff; padding: 0 1em; cursor: pointer; }

/* Redes sociales (módulo) */
.sip-social { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.sip-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 21px; border: 2px solid #fff; color: #fff; font-size: 20px; }
.sip-social .sip-icon { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }

/* Compartir */
.sip-share { display: flex; gap: 8px; flex-wrap: wrap; margin: 15px 0; }
.sip-share a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sip-azul); color: #fff; font-size: 15px; }
.sip-share .sip-icon { font-family: 'Font Awesome 6 Brands'; font-weight: 400; color: #fff; }

/* Galería simple (entradas antiguas) */
.sip-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 1em; }
.sip-galeria figure { margin: 0; }

/* =========================================================================
   PLANTILLAS: entrada individual, fotos, boletín, archivo
   ========================================================================= */
.sip-single { background: var(--sip-gris); }
.sip-single .et_pb_row { padding-bottom: 0; }
.sip-single-card { background: #fff; border-radius: 10px; padding-bottom: 50px; overflow: hidden; }
.sip-single-card .sip-single-img img { width: 100%; }
.sip-single-card .sip-single-head, .sip-single-card .sip-share, .sip-single-card .entry-content { margin-left: 50px; margin-right: 50px; }
.sip-single-card .sip-single-head { padding-top: 30px; }
.sip-single-card h1 { font-weight: 700; font-size: 30px; color: var(--sip-titulos); padding-bottom: 10px; line-height: 1.2em; }
.sip-single-card .sip-post-date { color: var(--sip-celeste); font-weight: 600; }
.sip-single-card .entry-content { margin-top: 30px; }
.entry-content figure { margin: 0 0 1em; }
.entry-content .wp-block-image img, .entry-content img { height: auto; }
.entry-content .alignleft { float: left; margin: 0 20px 10px 0; }
.entry-content .alignright { float: right; margin: 0 0 10px 20px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: block; clear: both; }
.noticia-ultima .sip-post-card { border-radius: 10px; border: 0; }
.noticia-ultima .sip-post-title a { color: #ED9124; font-weight: 700; }
.noticia-ultima .sip-post-meta { color: var(--sip-celeste); font-weight: 700; }
.noticia-ultima h3.sip-lateral-titulo { color: var(--sip-azul); font-weight: 700; font-size: 18px; }
@media (max-width: 980px) {
  .noticias-reverse { display: flex; flex-direction: column-reverse; }
  .sip-single-card .sip-single-head, .sip-single-card .sip-share, .sip-single-card .entry-content { margin-left: 20px; margin-right: 20px; }
}

.sip-seccion-titulo { text-align: center; }
.sip-seccion-titulo h2 { font-weight: 700; text-transform: uppercase; color: var(--sip-azul); padding-bottom: 0; }
.sip-linea { width: 17%; margin: 12px auto 0; border-top: 4px solid #EE9224; }
@media (max-width: 767px) { .sip-linea { width: 50%; } }

input.volver, .volver { background: var(--sip-azul); color: #fff; border: 0; border-radius: 40px; padding: 6px 22px; font-weight: 600; cursor: pointer; }

.sip-404 { text-align: center; padding: 100px 0; }

/* El plugin Off-Canvas Sidebars aplica transform al contenedor y desplaza el encabezado fijo */
#ocs-site { transform: none !important; }

/* Formularios Contact Form 7 (igual al módulo DSM del original) */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 input[type=number], .wpcf7 select, .wpcf7 textarea {
  width: 100%; box-sizing: border-box; padding: 16px; border: 0; border-radius: 5px; background: #eee; color: #999;
  font-family: inherit; font-size: 14px; line-height: normal; margin: 0;
}
.wpcf7 textarea { height: 240px; resize: vertical; display: block; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #999; opacity: 1; }
.wpcf7 form > p { padding-bottom: 14px; }
.wpcf7 .wpcf7-submit { font-family: inherit; cursor: pointer; }

/* Galería de fotos en noticias (reemplaza a Photonic) */
.sip-fotos { margin: 0 0 1.5em; }
.sip-fotos:not(.is-ready) { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.sip-fotos-item { margin: 0; }
.sip-fotos-item img { width: 100%; height: auto; display: block; }
.sip-fotos-stage { position: relative; aspect-ratio: 3 / 2; background: #000; overflow: hidden; }
.sip-fotos-stage .sip-fotos-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.sip-fotos-stage .sip-fotos-item.is-active { opacity: 1; z-index: 1; }
.sip-fotos-stage .sip-fotos-item img { width: 100%; height: 100%; object-fit: contain; }
.sip-fotos-prev, .sip-fotos-next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 40px; height: 56px; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.sip-fotos-prev { left: 0; } .sip-fotos-next { right: 0; }
.sip-fotos-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; scrollbar-width: thin; }
.sip-fotos-strip button { flex: 0 0 80px; height: 60px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.sip-fotos-strip button.is-active { border-color: #009dde; opacity: 1; }
.sip-fotos-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sip-grafico { display: block; max-width: 100%; height: auto; margin: 0 auto 1.5em; }

/* Álbum de fotos con carpeta de Google Drive (reemplaza a Integrate Google Drive) */
.sip-album { max-width: 900px; margin: 0 auto; text-align: center; }
.sip-album-portada img { width: 100%; height: auto; border-radius: 10px; display: block; }
.sip-album-portada a { display: block; transition: opacity .2s; }
.sip-album-portada a:hover { opacity: .9; }
.sip-album .entry-content { text-align: left; margin-top: 20px; }
.sip-album-drive { width: 100%; height: 600px; border: 0; margin-top: 20px; background: #fff; border-radius: 10px; }
.sip-album-boton { margin: 25px 0 10px; padding: 0; }
.sip-album-boton .sip-btn { background: #009dde; color: #fff; border: 0; border-radius: 40px; padding: 10px 34px; font-weight: 700; font-size: 16px; display: inline-block; }
.sip-album-boton .sip-btn:hover { background: #002B86; color: #fff; }

/* Colegio con varias sedes */
.colegio-sedes { margin: 0 0 13px; padding: 0 0 0 14px; line-height: 1.2em; }
.colegio-sedes li { margin: 0 0 10px; }
.colegio-sedes li:last-child { margin-bottom: 0; }
.colegio-mapa-multiple iframe { height: 100px; }
.colegio-mapa-multiple iframe + iframe { margin-top: 14px; }

/* ---------- transiciones suaves al cambiar de pestaña o abrir menús ----------
   Las animaciones con keyframes se vuelven a ejecutar cada vez que un elemento pasa de display:none a visible. */
@keyframes sipAparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sipBajar { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes sipFundido { from { opacity: 0; } to { opacity: 1; } }
.sip-tab-panel.is-active { animation: sipAparecer .35s ease both; }
.sip-tabs-nav button { transition: background-color .3s ease, color .3s ease; }
.sip-acc-item { transition: background-color .3s ease; }
.sip-acc-item.is-open .sip-acc-body { animation: sipAparecer .35s ease both; }
.sip-acc-title:after { transition: color .3s ease; }
#top-menu li ul { transform: translateY(8px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease; }
#top-menu li:hover > ul, #top-menu li:focus-within > ul { visibility: visible; opacity: 1; transform: none; }
.et_mobile_menu.is-open { animation: sipBajar .3s ease both; }
.sip-header-search.is-open { animation: sipFundido .25s ease both; }
.sip-popup-overlay.is-open { animation: sipFundido .3s ease both; }
.sip-popup-overlay.is-open > .et_pb_section { animation: sipAparecer .35s ease both; }
.colegio-ficha { animation: sipAparecer .35s ease both; }
.colegios-zonas-filtro button { transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .sip-tab-panel.is-active, .sip-acc-item.is-open .sip-acc-body, .et_mobile_menu.is-open, .sip-header-search.is-open,
  .sip-popup-overlay.is-open, .sip-popup-overlay.is-open > .et_pb_section, .colegio-ficha { animation: none; }
  #top-menu li ul { transform: none; transition: none; }
}


/* ==========================================================================
   Ajustes 1.0.1
   ========================================================================== */

/* Redes sociales: ícono blanco sobre el círculo de color de cada red. */
.sip-social a .sip-icon { color: inherit; }

/* "+" sobre las imágenes (Nuestros focos): se ancla al borde inferior de la imagen
   y no al de la columna, para que quede igual aunque el título ocupe más líneas. */
.sip-col > .sip-mod-imagen + .sip-mod-icono.sip-mod-icono {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	translate: none !important;
	width: max-content;
	margin: -49px auto 7px !important;
	z-index: 2;
}

/* Hero del inicio: menos alto en escritorio. La curva inferior (separador) sigue el borde de la sección. */
:root { --sip-hero-alto: 700px; }
@media (min-width: 981px) {
	.sip-section:has(.banner-pppal) { height: auto !important; min-height: 0 !important; max-height: none !important; }
	.banner-pppal, .banner-pppal .sip-slide { min-height: var(--sip-hero-alto) !important; }
}

/* Fila "ícono + texto en cápsula" (p. ej. Qué es SIP): en escritorio, ambas columnas centradas verticalmente. */
@media (min-width: 981px) {
	.sip-row.sip-equal:has(> .sip-col > .sip-mod-imagen:only-child):has(> .sip-col > .sip-mod-texto:only-child) > .sip-col { display: flex; flex-direction: column; justify-content: center; }
	.sip-row.sip-equal:has(> .sip-col > .sip-mod-imagen:only-child) > .sip-col > .sip-mod-texto.sip-mod-texto:only-child { margin-top: 0 !important; }
}

/* Imagen con puntos (Organización): ficha por encima de la sección siguiente, foto 4:6 y textos más juntos. */
.sip-section:has(.sip-hotspots) { position: relative; z-index: 3; }
.sip-hotspot-card img { width: 200px; height: auto; aspect-ratio: 4 / 6; }
.sip-hotspot-body { padding: 16px 20px 18px; }
.sip-hotspot-card h3 { margin: 0 0 4px; padding: 0; }
.sip-hotspot-card p { margin: 0; }

/* Logramos retener a nuestras personas (página 70): el texto traía un margen negativo de Divi que lo montaba sobre la infografía. */
.page-id-70 .sip-inner-row .sip-mod-texto.sip-mod-texto { margin-bottom: 0 !important; }

/* Noticias (página 57): más aire dentro del cuadro blanco de la última noticia. */
.page-id-57 .sip-col.et-last-child:has(> .sip-posts-lista) { padding: 40px 48px !important; }
.page-id-57 .sip-col.et-last-child > .sip-posts-lista .sip-post-card { margin-bottom: 0; }

/* Salud Mental (página 88): el contenido va por delante de las formas (curvas) de las secciones. */
.page-id-88 .sip-section > .sip-row { z-index: 11; }


/* =========================================================================
   MENÚ MÓVIL — encabezado fijo + panel azul que baja (v1.0.3)
   ========================================================================= */
.et_mobile_menu { display: none !important; }
.sip-movil { display: none; }
@media (max-width: 980px) {
  /* encabezado fijo en móvil */
  #main-header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 100002; }
  #page-container { padding-top: var(--sip-movil-top, 80px); }
  body.sip-menu-abierto #main-header { box-shadow: none; }

  /* tres rayas que se convierten en X */
  .mobile_menu_bar { position: relative; width: 32px; height: 32px; display: block; }
  .mobile_menu_bar span {
    position: absolute; left: 3px; right: 3px; top: 50%; height: 3px; margin-top: -1.5px;
    transition: transform .4s cubic-bezier(.65,0,.35,1), opacity .25s ease;
  }
  .mobile_menu_bar span:nth-child(1) { transform: translateY(-8px); }
  .mobile_menu_bar span:nth-child(3) { transform: translateY(8px); }
  .mobile_menu_bar[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .mobile_menu_bar[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .mobile_menu_bar[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

  /* panel: baja como cortina desde el encabezado */
  .sip-movil {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--sip-movil-top, 80px); z-index: 100001;
    background: var(--sip-azul); color: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 8px 22px 40px;
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .5s cubic-bezier(.65,0,.35,1), visibility 0s linear .5s;
  }
  .sip-movil.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .5s cubic-bezier(.65,0,.35,1), visibility 0s; }
  body.sip-menu-abierto { overflow: hidden; }

  /* los ítems entran de a uno */
  .sip-movil__nav > ul > li { opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease; }
  .sip-movil.is-open .sip-movil__nav > ul > li { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1); transition-delay: calc(.12s + var(--i, 0) * .04s); }

  .sip-movil__cerrar svg, .sip-movil__mas svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .sip-movil__mas:focus-visible, .sip-movil a:focus-visible, .mobile_menu_bar:focus-visible { outline: 2px solid var(--sip-amarillo); outline-offset: 2px; }

  .sip-movil__menu, .sip-movil__menu ul, .sip-movil__sec { list-style: none; margin: 0; padding: 0; }
  .sip-movil__menu > li { position: relative; border-top: 1px solid rgba(255,255,255,.18); }
  .sip-movil__menu > li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
  .sip-movil__menu a { display: block; color: #fff; font-size: 17px; font-weight: 600; line-height: 24px; padding: 16px 52px 16px 0; text-decoration: none; }
  .sip-movil__mas {
    position: absolute; right: 0; top: 8px; width: 40px; height: 40px; padding: 0; border: 0; background: none;
    color: var(--sip-celeste); cursor: pointer; display: grid; place-items: center; transition: transform .35s cubic-bezier(.65,0,.35,1);
  }
  .sip-movil__menu li.is-open > .sip-movil__mas { transform: rotate(45deg); }
  /* submenús que se despliegan con suavidad (la altura la pone el JS) */
  .sip-movil__menu .sub-menu {
    overflow: hidden; max-height: 0; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.18);
    margin-bottom: 0; opacity: 0;
    transition: max-height .4s cubic-bezier(.65,0,.35,1), opacity .3s ease, margin-bottom .4s ease;
  }
  .sip-movil__menu li.is-open > .sub-menu { opacity: 1; margin-bottom: 14px; }
  .sip-movil__menu .sub-menu li { position: relative; }
  .sip-movil__menu .sub-menu a { font-size: 15px; font-weight: 500; line-height: 22px; padding: 9px 44px 9px 0; color: rgba(255,255,255,.88); }
  .sip-movil__menu .sub-menu .sip-movil__mas { top: 0; }

  /* menú superior (Copa SIP, Mi SIP, Admisión…) debajo del principal */
  .sip-movil__sec { margin-top: 26px; padding-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .sip-movil__sec a { display: block; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 18px; padding: 9px 0; text-decoration: none; }
  .sip-movil__sec a:hover, .sip-movil__menu a:hover { color: var(--sip-celeste); }
}
@media (max-width: 782px) { .admin-bar #main-header { top: 46px; } .admin-bar .sip-movil { top: calc(var(--sip-movil-top, 80px) + 46px); } }
@media (prefers-reduced-motion: reduce) {
  .sip-movil, .sip-movil.is-open, .sip-movil__mas, .mobile_menu_bar span, .sip-movil__nav > ul > li, .sip-movil__menu .sub-menu { transition: none !important; }
}

/* =========================================================================
   INSTAGRAM — carrusel de publicaciones (línea gráfica SIP) (v1.0.3)
   ========================================================================= */
.sip-mod-instagram { --ig-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='%23000' stroke='none'/%3E%3C/svg%3E"); }
.ig-car { position: relative; margin-top: 10px; padding-inline: 34px; text-align: left; }
.ig-car__track {
  display: flex; gap: 18px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 2px 8px;
}
.ig-car__track::-webkit-scrollbar { display: none; }
.ig-car__track > * { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; }
.ig-car__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: #fff; box-shadow: 0 2px 8px rgba(0,43,134,.22);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ig-car__nav::before { content: ""; width: 10px; height: 10px; border-top: 2.5px solid var(--sip-azul); border-right: 2.5px solid var(--sip-azul); border-radius: 1px; }
.ig-car__nav--prev { left: 0; }
.ig-car__nav--prev::before { transform: rotate(-135deg); margin-left: 3px; }
.ig-car__nav--next { right: 0; }
.ig-car__nav--next::before { transform: rotate(45deg); margin-right: 3px; }
.ig-car__nav:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 4px 14px rgba(0,43,134,.3); }
.ig-car__nav[disabled] { opacity: 0; pointer-events: none; }
.ig-car__nav:focus-visible { outline: 2px solid var(--sip-celeste); outline-offset: 2px; }

.ig {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e1e6f0; border-radius: 10px; overflow: hidden;
  isolation: isolate; text-decoration: none; color: inherit;
  box-shadow: 0 1px 3px rgba(0,43,134,.06);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.ig:hover, .ig:focus-visible { transform: translateY(-4px); border-color: #cfd8ea; box-shadow: 0 10px 24px rgba(0,43,134,.14); }
.ig__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sip-gris); }
.ig .ig__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.ig:hover .ig__img, .ig:focus-visible .ig__img { transform: scale(1.06); }
.ig__veil { position: absolute; inset: 0; background: var(--sip-azul); opacity: 0; transition: opacity .3s ease; }
.ig:hover .ig__veil, .ig:focus-visible .ig__veil { opacity: .45; }
.ig__icono {
  position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; background: #fff;
  -webkit-mask: var(--ig-ico) no-repeat center / contain; mask: var(--ig-ico) no-repeat center / contain;
  opacity: 0; transform: translate(-50%,-50%) scale(.7);
  transition: opacity .3s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.ig:hover .ig__icono, .ig:focus-visible .ig__icono { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.ig--video .ig__media::after {
  content: ""; position: absolute; right: 9px; top: 9px; width: 16px; height: 16px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45));
}
.ig__body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 11px 12px 13px; }
.ig__texto {
  font-size: 14px; line-height: 20px; color: var(--sip-texto);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.ig__fecha { margin-top: auto; font-size: 12px; line-height: 16px; letter-spacing: .02em; color: #8a93a8; text-transform: uppercase; }
.ig--mas { align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 26px 18px; background: var(--sip-azul); border-color: var(--sip-azul); }
.ig--mas .ig__mas-ico { width: 46px; height: 46px; background: #fff; -webkit-mask: var(--ig-ico) no-repeat center / contain; mask: var(--ig-ico) no-repeat center / contain; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.ig--mas:hover .ig__mas-ico { transform: scale(1.1); }
.ig--mas .ig__mas-txt { font-size: 16px; line-height: 22px; font-weight: 700; color: #fff; }
.ig--mas .ig__mas-cuenta { font-size: 13px; line-height: 18px; color: #249dde; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .ig, .ig__img, .ig__veil, .ig__icono, .ig-car__track { transition: none; scroll-behavior: auto; }
  .ig:hover, .ig:hover .ig__img { transform: none; }
}
@media (max-width: 980px) {
  .ig-car__track { gap: 14px; }
  .ig-car__track > * { flex: 0 0 calc((100% - 28px) / 3); }
  .ig__texto { font-size: 13px; line-height: 19px; }
}
@media (max-width: 760px) {
  .ig-car { padding-inline: 0; }
  .ig-car__track { gap: 12px; }
  .ig-car__track > * { flex: 0 0 calc((100% - 12px) / 2); }
  .ig-car__nav { display: none; }
  .ig--mas { padding: 20px 14px; }
  .ig--mas .ig__mas-ico { width: 36px; height: 36px; }
  .ig--mas .ig__mas-txt { font-size: 15px; line-height: 20px; }
}

/* Noticia sin imagen destacada: logo SIP sobre azul en el carrusel */
.dkz-news-carousel__img img.is-sin-foto { object-fit: contain !important; padding: 16% 18%; background: var(--sip-azul); }

/* =========================================================================
   PÁGINA NOTICIAS — destacadas + filtros + grilla pareja (v1.0.3)
   ========================================================================= */
.sip-not { background: var(--sip-gris); padding-bottom: 80px; }
.sip-not__ancho { max-width: var(--sip-ancho); margin: 0 auto; padding: 0 24px; box-sizing: content-box; }
.sip-not__cab { background: var(--sip-azul); color: #fff; padding: 56px 0 72px; }
.sip-not__ante { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8FD3F5; }
.sip-not__titulo { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 800; color: #fff; }
.sip-not__linea { display: block; width: 96px; height: 4px; background: var(--sip-naranjo); margin-top: 16px; }
.sip-not__cuerpo { margin-top: -36px; }

/* Destacadas */
.sip-not__dest { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.sip-not__dest-prin { position: relative; display: block; min-height: 420px; border-radius: 14px; overflow: hidden; background: var(--sip-azul); box-shadow: 0 10px 30px rgba(0,43,134,.18); color: #fff; }
.sip-not__dest-prin .sip-not__dest-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.sip-not__dest-prin:hover .sip-not__dest-img { transform: scale(1.04); }
.sip-not__dest-velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,31,95,0) 35%, rgba(1,31,95,.92) 100%); }
.sip-not__dest-txt { position: absolute; left: 32px; right: 32px; bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sip-not__chip { background: var(--sip-naranjo); color: var(--sip-azul-oscuro); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 4px; }
.sip-not__dest-h { font-size: 30px; line-height: 1.2; font-weight: 800; }
.sip-not__dest-bajada { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sip-not__dest-fecha { font-size: 13px; font-weight: 600; color: #8FD3F5; }
.sip-not__dest-lado { display: flex; flex-direction: column; gap: 24px; }
.sip-not__dest-sec { flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,43,134,.10); transition: transform .3s ease, box-shadow .3s ease; }
.sip-not__dest-sec:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,43,134,.16); }
.sip-not__dest-sec img { width: 100%; height: 130px; object-fit: cover; display: block; }
.sip-not__dest-sec-txt { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.sip-not__dest-sec-h { font-size: 16px; line-height: 1.35; max-height: calc(1.35em * 3); font-weight: 700; color: var(--sip-azul); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Filtros */
.sip-not__filtros { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 44px 0 28px; padding: 20px; background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,43,134,.08); }
.sip-not__campo { flex: 1 1 200px; min-width: 0; }
.sip-not__campo--buscar { flex: 2 1 260px; }
.sip-not__campo--ano { flex: 0 1 130px; }
.sip-not__campo label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: var(--sip-texto); }
.sip-not__campo input, .sip-not__campo select { width: 100%; box-sizing: border-box; height: 46px; border: 1px solid #cfd8ea; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--sip-texto); background: #F4F6FA; }
.sip-not__campo input:focus, .sip-not__campo select:focus { outline: 2px solid var(--sip-celeste); outline-offset: 1px; background: #fff; }
.sip-not__btn { height: 46px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--sip-azul); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.sip-not__btn:hover { background: var(--sip-celeste); }
.sip-not__limpiar { height: 46px; display: inline-flex; align-items: center; font-weight: 700; color: var(--sip-celeste); }
.sip-not__resumen { margin: -10px 0 20px; font-weight: 600; color: var(--sip-texto); }

/* Grilla */
.sip-not__grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sip-not__card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,43,134,.08); transition: transform .3s ease, box-shadow .3s ease; }
.sip-not__card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,43,134,.14); }
.sip-not__card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sip-azul); }
.sip-not__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.sip-not__card:hover .sip-not__card-img img { transform: scale(1.05); }
.sip-not__sinfoto { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.sip-not__card-txt { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.sip-not__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--sip-celeste); }
.sip-not__fecha { color: #6b7385; white-space: nowrap; }
.sip-not__card-h { margin: 0; font-size: 17px; line-height: 1.35; max-height: calc(1.35em * 3); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sip-not__card-h a { color: var(--sip-azul); }
.sip-not__card-h a:hover { color: var(--sip-celeste); }
.sip-not__mas { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--sip-celeste); }

/* Paginación */
.sip-not__pags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.sip-not__pags .page-numbers { min-width: 44px; height: 44px; padding: 0 6px; box-sizing: border-box; border-radius: 8px; background: #fff; display: grid; place-items: center; font-weight: 700; color: var(--sip-azul); }
.sip-not__pags .page-numbers.current { background: var(--sip-azul); color: #fff; }
.sip-not__pags a.page-numbers:hover { background: var(--sip-celeste); color: #fff; }
.sip-not__pags .dots { background: none; }
.sip-not__vacio { background: #fff; border-radius: 12px; padding: 32px; text-align: center; font-weight: 600; }

@media (max-width: 980px) {
  .sip-not__dest { grid-template-columns: 1fr; }
  .sip-not__dest-lado { flex-direction: row; }
  .sip-not__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sip-not__cab { padding: 40px 0 60px; }
  .sip-not__titulo { font-size: 34px; }
  .sip-not__dest-prin { min-height: 360px; }
  .sip-not__dest-txt { left: 20px; right: 20px; bottom: 20px; }
  .sip-not__dest-h { font-size: 22px; }
  .sip-not__dest-lado { flex-direction: column; }
  .sip-not__grilla { grid-template-columns: 1fr; }
  .sip-not__btn { flex: 1 1 100%; }
  .sip-not__campo--ano { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sip-not__card, .sip-not__card-img img, .sip-not__dest-sec, .sip-not__dest-img { transition: none !important; transform: none !important; }
}
