@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:    #0A2D5E;
      --blue:    #0A4790;
      --sky:     #64BBE1;
      --green:   #19B767;
      --white:   #FFFFFF;
      --offwhite:#F4F6FA;
      --gray:    #8A96A8;
      --dark:    #0D1420;
      --radius:  10px;
      --font-head: 'Quicksand', ui-rounded, sans-serif;
      --font-body: 'Quicksand', ui-rounded, sans-serif;
      --font-mono: 'Quicksand', monospace;
    }

    html { scroll-behavior: smooth; }
    body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    /* ══ TOP BAR ══ */
    .topbar {
      background: var(--navy); color: rgba(255,255,255,0.8);
      font-size: 11.5px; font-family: var(--font-mono);
      letter-spacing: 0.02em; padding: 7px 0;
    }
    .topbar-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
    }
    .topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
    .topbar-left a { color: rgba(255,255,255,0.75); transition: color .2s; }
    .topbar-left a:hover { color: var(--sky); }
    .topbar-right { display: flex; gap: 14px; font-size: 15px; }
    .topbar-right a { color: rgba(255,255,255,0.7); transition: color .2s; }
    .topbar-right a:hover { color: var(--sky); }
    @media (max-width: 400px) { .topbar { display: none; } }

    /* ══ NAVBAR ══ */
    .navbar {
      background: var(--blue); position: sticky; top: 0; z-index: 900;
      box-shadow: 0 2px 20px rgba(10,45,94,0.35);
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
      display: flex; align-items: center; justify-content: space-between; height: 64px;
    }
    .nav-logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
    .nav-links { display: flex; align-items: center; gap: 4px; }
    .nav-links a {
      color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500;
      padding: 8px 14px; border-radius: 6px; transition: background .2s, color .2s;
    }
    .nav-links a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
    .nav-links .btn-mi-colegio {
      background: var(--green); color: var(--white);
      padding: 8px 18px; border-radius: 20px; font-weight: 600; margin-left: 8px;
    }
    .nav-links .btn-mi-colegio:hover { background: #16a05a; }
    .nav-burger {
      display: none; flex-direction: column; gap: 5px; cursor: pointer;
      padding: 6px; border: none; background: none;
    }
    .nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
    .nav-mobile {
      display: none; flex-direction: column;
      background: var(--navy); padding: 16px 24px 20px;
    }
    .nav-mobile a {
      color: rgba(255,255,255,0.85); padding: 12px 0; font-size: 15px; font-weight: 500;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-mobile a:last-child { border-bottom: none; }
    .nav-mobile.open { display: flex; }
    @media (max-width: 768px) { .nav-links { display: none; } .nav-burger { display: flex; } }

    /* ══ HERO NOTICIA ══ */
    .noticia-hero {
      position: relative; overflow: hidden;
      min-height: 420px;
      display: flex; align-items: flex-end;
      background: linear-gradient(135deg, var(--navy), var(--blue));
    }
    .noticia-hero-bg {
      position: absolute; inset: 0;
      
      background-size: cover; background-position: center;
      filter: brightness(0.45);
    }
    .noticia-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(10,29,64,0.96) 0%, rgba(10,45,94,0.3) 60%, transparent 100%);
    }
    .noticia-hero-inner {
      position: relative; z-index: 2;
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
      width: 100%;
      padding-bottom: 56px; padding-top: 100px;
    }
    .noticia-hero-inner .breadcrumb {
      display: flex; align-items: center; gap: 8px;
      font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--sky); margin-bottom: 20px;
    }
    .noticia-hero-inner .breadcrumb a { color: rgba(255,255,255,0.55); transition: color .2s; }
    .noticia-hero-inner .breadcrumb a:hover { color: var(--sky); }
    .noticia-cat {
      display: inline-block; background: var(--green); color: var(--white);
      font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
      text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
      font-weight: 600; margin-bottom: 18px;
    }
    .noticia-hero-inner h1 {
      font-family: var(--font-head); font-size: clamp(26px, 4vw, 46px);
      font-weight: 700; color: var(--white); line-height: 1.12;
      max-width: 820px; margin-bottom: 20px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    }
    .noticia-meta {
      display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    }
    .noticia-meta-item {
      display: flex; align-items: center; gap: 6px;
      font-family: var(--font-mono); font-size: 11.5px;
      color: rgba(255,255,255,0.65); letter-spacing: 0.06em; text-transform: uppercase;
    }
    @media (max-width: 600px) {
      .noticia-hero { min-height: 340px; }
      .noticia-hero-inner { padding-bottom: 36px; padding-top: 80px; }
    }

    /* ══ LAYOUT PRINCIPAL ══ */
    .noticia-layout {
      max-width: 1200px; margin: 0 auto; padding: 56px 24px 80px;
      display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start;
    }

     .noticia-layout-full {
      max-width: 1200px; margin: 0 auto; padding: 56px 24px 80px;
  
    }
.layout-2col{display:grid; grid-template-columns:2fr 1fr; gap:32px; align-items:start; margin:32px 0;} 

    @media (max-width: 1000px) { .noticia-layout { grid-template-columns: 1fr; gap: 40px; } }

    /* ══ CONTENIDO PRINCIPAL ══ */
    .noticia-content {}

    /* Video embed */
    .video-wrap {
      position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
      border-radius: 14px; margin-bottom: 36px;
      box-shadow: 0 8px 32px rgba(10,45,94,0.15);
    }
    .video-wrap iframe {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
    }

    /* Cuerpo del artículo */
    .noticia-body { font-size: 16px; line-height: 1.85; color: #3a4560; }
    .noticia-body p { margin-bottom: 20px; }
    .noticia-body h4 {
      font-family: var(--font-head); font-size: 20px; font-weight: 700;
      color: var(--navy); margin: 36px 0 14px;
      padding-left: 16px; border-left: 4px solid var(--blue);
    }
    .noticia-body h5 {
      font-family: var(--font-head); font-size: 16px; font-weight: 700;
      color: var(--navy); margin: 28px 0 12px; text-align: center;
    }
    .noticia-body strong { color: var(--navy); }

    /* Blockquote destacado */
    .noticia-body blockquote {
      background: var(--offwhite); border-left: 4px solid var(--sky);
      border-radius: 0 10px 10px 0; padding: 20px 24px;
      margin: 28px 0; font-style: italic;
      font-size: 17px; color: var(--navy); font-weight: 500;
    }

    /* Galería */
    .noticia-gallery {
      display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
      margin: 32px 0;
    }
    @media (max-width: 600px) { .noticia-gallery { grid-template-columns: repeat(2, 1fr); } }
    .gallery-item {
      border-radius: 10px; overflow: hidden;
      height: 160px; background: #c5d3e8;
      display: flex; align-items: center; justify-content: center;
      font-size: 32px; color: rgba(10,45,94,0.2);
      cursor: pointer; transition: opacity .2s;
    }
    .gallery-item:hover { opacity: 0.85; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; }

    /* Share bar */
    .share-bar {
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
      margin-top: 48px; padding-top: 28px;
      border-top: 1px solid #e0e6f0;
    }
    .share-label {
      font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--gray); font-weight: 600;
    }
    .share-btn {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 9px 18px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
      transition: all .2s; font-family: var(--font-mono); letter-spacing: 0.03em;
      border: 1.5px solid #dde3ee; color: var(--dark); background: var(--white);
    }
    .share-btn:hover { border-color: var(--blue); color: var(--blue); }
    .share-btn.fb:hover { border-color: #1877f2; color: #1877f2; }
    .share-btn.wa:hover { border-color: #25d366; color: #25d366; }
    .share-btn.tw:hover { border-color: #000; color: #000; }

    /* Nav artículo anterior/siguiente */
    .noticia-nav {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px;
    }
    @media (max-width: 560px) { .noticia-nav { grid-template-columns: 1fr; } }
    .noticia-nav-card {
      background: var(--offwhite); border-radius: 12px; padding: 20px;
      border: 1.5px solid transparent; transition: border-color .2s, background .2s;
    }
    .noticia-nav-card:hover { border-color: var(--blue); background: #edf2fb; }
    .noticia-nav-dir {
      font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--gray); margin-bottom: 8px;
      display: flex; align-items: center; gap: 5px;
    }
    .noticia-nav-card h5 {
      font-family: var(--font-head); font-size: 14px; font-weight: 700;
      color: var(--navy); line-height: 1.35;
    }
    .noticia-nav-card.next { text-align: right; }
    .noticia-nav-card.next .noticia-nav-dir { justify-content: flex-end; }

    /* ══ SIDEBAR ══ */
    .noticia-sidebar { }

    .sidebar-block {
      background: var(--offwhite); border-radius: 14px; padding: 24px;
      margin-bottom: 24px;
    }
    .sidebar-title {
      font-family: var(--font-head); font-size: 15px; font-weight: 700;
      color: var(--navy); margin-bottom: 18px;
      display: flex; align-items: center; gap: 8px;
    }
    .sidebar-title::before {
      content: ''; display: block; width: 3px; height: 16px;
      background: var(--blue); border-radius: 2px;
    }

    /* Noticias relacionadas */
    .related-item {
      display: flex; gap: 12px; margin-bottom: 16px;
      padding-bottom: 16px; border-bottom: 1px solid #e0e6f0;
    }
    .related-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .related-img {
      width: 64px; height: 64px; border-radius: 8px; background: #c5d3e8;
      flex-shrink: 0; display: flex; align-items: center; justify-content: center;
      font-size: 22px; overflow: hidden;
    }
    .related-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-body {}
    .related-date {
      font-family: var(--font-mono); font-size: 10px; color: var(--gray);
      letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px;
    }
    .related-body h6 {
      font-family: var(--font-head); font-size: 13px; font-weight: 700;
      color: var(--navy); line-height: 1.35;
    }
    .related-body h6:hover { color: var(--blue); }

    /* Tags */
    .tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag {
      background: var(--white); border: 1.5px solid #dde3ee;
      color: var(--gray); font-family: var(--font-mono); font-size: 11px;
      letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
      padding: 6px 14px; border-radius: 20px; transition: all .2s; cursor: pointer;
    }
    .tag:hover { border-color: var(--blue); color: var(--blue); }

    /* Volver button */
    .btn-volver {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--blue); font-family: var(--font-mono); font-size: 12.5px;
      font-weight: 600; letter-spacing: 0.04em;
      background: none; border: none; cursor: pointer; margin-bottom: 4px;
    }
    .btn-volver:hover { color: var(--navy); }
    .btn-volver .arrow { transition: transform .2s; }
    .btn-volver:hover .arrow { transform: translateX(-4px); }

    /* ══ UBICACIÓN ══ */
    .ubicacion { background: var(--blue); color: var(--white); padding: 80px 24px; }
    .ubicacion-inner { max-width: 1200px; margin: 0 auto; }
    .section-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); font-weight: 600; display: block; margin-bottom: 12px; }
    .section-title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 18px; }
    .section-divider { width: 56px; height: 3px; background: var(--white); margin: 0 0 24px; border-radius: 2px; }
    .ubicacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
    @media (max-width: 900px) { .ubicacion-grid { grid-template-columns: 1fr; gap: 40px; } }
    .ubicacion-text p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
    .ubicacion-address { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 20px 24px; margin: 24px 0; border-left: 3px solid var(--sky); }
    .ubicacion-address p { margin: 0; color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.9; }
    .ubicacion-address strong { color: var(--white); font-size: 16px; }
    .map-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .map-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 24px; font-size: 13px; font-weight: 600; transition: all .2s; }
    .map-btn.outline { border: 1.5px solid rgba(255,255,255,0.6); color: var(--white); }
    .map-btn.outline:hover { background: rgba(255,255,255,0.15); }
    .map-btn.filled { background: var(--white); color: var(--blue); }
    .map-btn.filled:hover { background: var(--sky); }
    .map-frame { width: 100%; height: 340px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.3); border: 3px solid rgba(255,255,255,0.2); }
    .map-frame iframe { width: 100%; height: 100%; border: none; }
    @media (max-width: 900px) { .map-frame { height: 240px; } }

    /* ══ FOOTER ══ */
    footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 32px 24px; font-size: 12.5px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
    .footer-left { line-height: 1.8; }
    .footer-left a { color: rgba(255,255,255,0.6); }
    .footer-left a:hover { color: var(--sky); }
    .footer-social { display: flex; gap: 14px; font-size: 18px; }
    .footer-social a { color: rgba(255,255,255,0.5); transition: color .2s; }
    .footer-social a:hover { color: var(--sky); }

    .btn-top { position: fixed; bottom: 24px; right: 20px; z-index: 800; width: 42px; height: 42px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 16px rgba(10,45,94,0.35); cursor: pointer; transition: background .2s, opacity .3s; opacity: 0; pointer-events: none; text-decoration: none; }
    .btn-top.visible { opacity: 1; pointer-events: auto; }
    .btn-top:hover { background: var(--navy); }