/* MIXED CSS PACK */
/* Template: fetra.org.ar/index.php */
/* Template mtime: 2026-06-02 12:07:30 */

/* external link (no embedded): https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css */

/* ===== INLINE <style> BLOCK #1 ===== */
.bp-ticker { overflow: hidden; margin: 0 -16px; padding: 10px 0 16px; }
  .bp-track { display: inline-flex; gap: 24px; animation: bp-marquee 40s linear infinite; }
  .bp-item { background: #ffffff; border-radius: 12px; box-shadow: 0 18px 40px rgba(15,42,68,0.14); padding: 14px; text-align: center; flex: 0 0 320px; }
  .bp-img-lg { display: block; width: 100%; height: 190px; border-radius: 10px; object-fit: cover; }
  .bp-title { margin-top: 10px; font-weight: 600; font-size: 0.95rem; color: #0f2a44; }
  @keyframes bp-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  :root{ --navy:#15324c; --ink:#0f1a24; --link:#1f72b6; --bg:#ffffff; --muted:#6b7580; }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:Poppins,system-ui,Segoe UI,Roboto,Arial,sans-serif}
  a{color:inherit;text-decoration:none}
  .container{max-width:1200px;margin:0 auto;padding:0 20px}

  /* ===== Sticky footer con FLEX (sin banda blanca) ===== */
  html, body { height: 100%; overflow-x:hidden; }
  body{ min-height:100vh; display:flex; flex-direction:column; overflow-x:hidden; }
  main{ flex:1 0 auto; min-height:0; }
  footer{ margin-top:0 !important; flex-shrink:0; }
  .section:last-of-type{ margin-bottom:0 !important; }

  /* Fecha */
  .datebar{background:var(--navy);color:#fff;font-weight:600}
  .datebar .inner{height:40px;display:flex;align-items:center}

  /* ===== HERO SLIDESHOW ===== */
  .hero{
    position:relative;
    min-height:70vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .hero-bg{
    position:absolute; inset:0;
    background-size:cover; background-position:center; background-repeat:no-repeat;
    opacity:0; transition:opacity 1.5s ease-in-out;
    z-index:1;
  }
  .hero-bg.is-visible{ opacity:1; }
  .hero::after{ content:""; position:absolute; inset:0; z-index:2; }

  .hero-img-wrapper{ display:none; width:100%; }
  .hero-img-wrapper img{ width:100%; height:auto; display:block; }

  @media (max-width:768px){
    .hero{ min-height:auto; display:block; padding:0; }
    .hero-bg{ display:none; }
    .hero::after{ display:none; }
    .hero-img-wrapper{ display:block; }
  }

  /* Contacto */
  .section{padding:72px 0}
  .section-title{font-size:clamp(24px,3.4vw,36px);font-weight:800;color:#fff;display:flex;align-items:center;gap:20px}
  .section-title::after{content:"";flex:1;height:2px;background:#e3edf7;opacity:.3}

  .contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
  .contact-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:16px;padding:22px}
  .contact-list{display:grid;gap:12px;margin:0 0 18px 0}
  .contact-item{display:flex;gap:10px;align-items:flex-start;color:var(--ink)}
  .contact-item i{color:var(--navy);margin-top:3px}
  .social-inline{display:flex;gap:18px;align-items:center;margin-top:20px}
  .social-inline a{font-size:20px;color:#172b3a}
  form.contact-form{display:grid;gap:12px}
  .input, textarea{width:100%;padding:12px 14px;border:1px solid #dfe6ee;border-radius:10px;font:inherit;background:#fff;outline:none;}
  .input:focus, textarea:focus{border-color:#b7c9db;box-shadow:0 0 0 3px rgba(31,114,182,.08)}
  textarea{min-height:120px;resize:vertical}
  .grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .btn{appearance:none;border:0;border-radius:10px;padding:12px 18px;font-weight:700;cursor:pointer;background:#1f72b6;color:#fff;}
  .btn:disabled{opacity:.6;cursor:not-allowed}

  /* FOOTER */
  footer{background:var(--navy);color:#fff}
  .footer-top{padding:34px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .footer-grid{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
  .footer-nav{display:flex;flex-wrap:wrap;gap:18px;opacity:.95}
  .footer-nav a{color:#fff;opacity:.9}
  .footer-nav a:hover{opacity:1;text-decoration:underline}
  .footer-brand{font-weight:800;letter-spacing:.12em;opacity:.95}
  .footer-bottom{padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}
  .footer-social{display:flex;gap:16px}
  .footer-social a{color:#fff;opacity:.9}
  .footer-social a:hover{opacity:1}

  @media (max-width:980px){
    .contact-wrap{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr }
    .footer-bottom{ flex-direction:column; align-items:flex-start }
  }

  /* ===== BLOQUE PUBLICITARIO – fila horizontal ===== */
  #bloque-publicitario .container{ max-width:100%; padding:24px 40px 32px; }
  .bp-grid{ display:flex; flex-wrap:nowrap; justify-content:center; gap:24px; overflow-x:auto; }
  .bp-item{ flex:0 0 360px; max-width:360px; text-align:center; }
  .bp-img-lg{ width:100%; height:auto; object-fit:contain; display:block; border-radius:4px; }
  .bp-title{ margin-top:0.5rem; font-size:0.9rem; text-align:center; }

  /* ====== NOTAS: franja azul + fondo blanco ====== */
  .nt-band{ background:#0f2a44; padding:14px 0; }
  .nt-band .inner{
    max-width:1200px;margin:0 auto;padding:0 20px;
    display:flex;align-items:center;gap:20px;color:#fff;
  }
  .nt-band h2{ margin:0; font-size:22px; font-weight:800; }
  .nt-band .rule{ flex:1; height:2px; background:#e3edf7; opacity:.3; }

  .nt-wrap{ max-width:100%; margin:0; padding:30px 40px 52px; background:#fff; }
  .nt-layout{ display:flex; align-items:stretch; justify-content:space-between; gap:40px; }

  /* Laterales: más angostos para darle aire a las cards */
  .nt-side-img{ flex:0 0 260px; display:flex; align-items:flex-start; justify-content:center; padding-top:4px; }
  .nt-side-img-inner{ width:100%; max-width:340px; border:none; background:transparent; overflow:visible; }
  .nt-side-img-inner img{ width:100%; height:auto; display:block; object-fit:contain; transition:opacity .8s ease-in-out; }

  @media (min-width:1600px){
    .nt-side-img{ flex:0 0 320px; }
    .nt-side-img-inner{ max-width:420px; }
  }

  @media (max-width:1400px){
    .nt-side-img{ flex:0 0 220px; }
    .nt-side-img-inner{ max-width:260px; }
  }
  .nt-side-img-left{order:0;}
  .nt-side-img-right{order:2;}

  /* ====== NOTAS: cards más grandes (HOME) ====== */
  .nt-grid{
    flex:1 1 auto;
    max-width:1120px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:28px;
    order:1;
  }

  /* En pantallas MUY anchas volvemos a 3 columnas pero con cards grandes */
  @media (min-width:1500px){
    .nt-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); max-width:1320px; }
  }

  @media (max-width:1300px){ .nt-wrap{ padding:22px 24px 44px; } }
  @media (max-width:1200px){ .nt-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
  @media (max-width:768px){
    .nt-wrap{ padding:22px 20px 44px; }
    .nt-layout{ flex-direction:column; align-items:center; gap:24px; }
    .nt-side-img-left{order:0;}
    .nt-grid{order:1;width:100%;max-width:none;}
    .nt-side-img-right{order:2;}
    .nt-side-img{ flex:0 0 auto; }
    .nt-side-img-inner{ max-width:260px; margin:0 auto; }
  }
  @media (max-width:640px){ .nt-grid{ grid-template-columns:1fr; } }

  .nt-card{
    background:#fff;
    border:1px solid rgba(15,42,68,.12);
    border-radius:18px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:100%;
    min-height:100%;
    box-shadow:0 16px 38px rgba(15,42,68,.10);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .nt-card:hover{
    transform: translateY(-3px);
    box-shadow:0 22px 52px rgba(15,42,68,.16);
    border-color: rgba(31,114,182,.25);
  }

  /*
    HOME: todas las cards mantienen el mismo tamaño visual.
    La portada NO se recorta: queda contenida dentro de un marco fijo.
    El modo cuadrada/rectangular se sigue guardando para la nota individual,
    pero en el index se normaliza el marco para que la grilla no quede despareja.
  */
  .nt-cover{
    width:100%;
    aspect-ratio:16/10;
    background:linear-gradient(135deg,#eef3f8,#f8fafc);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .nt-cover-frame{
    position:relative;
    aspect-ratio:16/10 !important;
    padding:10px;
  }
  .nt-cover-frame img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    background:transparent;
  }
  .nt-cover-mode-auto,
  .nt-cover-mode-rectangular,
  .nt-cover-mode-cuadrada{
    aspect-ratio:16/10 !important;
  }
  .nt-cover-mode-auto img,
  .nt-cover-mode-rectangular img,
  .nt-cover-mode-cuadrada img{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:contain;
  }

  .nt-body{
    padding:18px 18px 16px;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
  }
  .nt-title{
    font-size:20px;
    line-height:1.22;
    font-weight:800;
    margin:0 0 10px;
    letter-spacing:-0.01em;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .nt-title a:hover{ text-decoration:underline; }
  .nt-excerpt{
    color:#374151;
    margin-bottom:10px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .nt-more{
    display:inline-block;
    font-weight:700;
    font-size:14px;
    opacity:.9;
    margin-top:auto;
  }
  .nt-more:hover{ opacity:1; text-decoration:underline; }
  .nt-meta{
    display:flex; gap:10px; align-items:center;
    font-size:13px; color:#5b6672;
    border-top:1px solid #eef2f6; padding:12px 18px;
    margin-top:auto;
  }
  .nt-dot{ width:4px; height:4px; border-radius:50%; background:#c9d1db; display:inline-block; }

  /* Video cover (nota o video-card) */
  .nt-cover-wrap{ display:block; position:relative; }
  .nt-cover-video{
    position:relative;
    aspect-ratio:16/10;
    background:radial-gradient(circle at top, rgba(255,255,255,.12), rgba(15,23,42,1));
    display:flex; align-items:flex-end; justify-content:center;
    overflow:hidden;
  }
  .nt-cover-video img.nt-cover-img{
    width:100%; height:100%; object-fit:contain; display:block;
    filter:brightness(.9);
    transition:transform .35s ease, filter .35s ease;
  }
  .nt-cover-video video.nt-cover-vid{
    width:100%; height:100%; object-fit:contain; display:block;
    filter:brightness(.9);
    transition:transform .35s ease, filter .35s ease;
  }
  .nt-card:hover .nt-cover-video img.nt-cover-img,
  .nt-card:hover .nt-cover-video video.nt-cover-vid{
    transform:scale(1.03);
    filter:brightness(1);
  }

  .nt-cover-video-overlay{
    position:absolute; inset:0;
    background:linear-gradient(to bottom, rgba(15,23,42,.15), rgba(15,23,42,.85));
    display:flex; align-items:flex-start; justify-content:center;
    padding-top:14px;
  }
  .nt-cover-video-btn{
    display:inline-flex; align-items:center; gap:8px;
    border:none; border-radius:999px; padding:8px 18px;
    background:rgba(15,23,42,.9);
    color:#f9fafb; font-size:13px; font-weight:600;
    box-shadow:0 14px 35px rgba(15,23,42,.6);
    cursor:pointer;
  }
  .nt-cover-video-btn i{ font-size:16px; }

  .nt-cover-video--empty{
    min-height:140px;
    flex-direction:column;
    gap:6px;
    color:#e5e7eb;
    background:radial-gradient(circle at top, rgba(59,130,246,.3), rgba(15,23,42,1));
  }
  .nt-cover-video--empty i{ font-size:28px; }

  /* PDF cover */
  .nt-cover-pdf{ aspect-ratio:16/10; background:#fbe9e7; color:#c62828; gap:8px; }
  .nt-cover-pdf-icon{
    width:28px;height:32px;border-radius:4px;
    background:#c62828;color:#fff;font-weight:700;font-size:13px;
    display:flex;align-items:center;justify-content:center;
  }
  .nt-cover-pdf-label{ font-size:13px;font-weight:600; }

  /* Layout general Conduciendo Saludablemente */
  .cs-layout { display:flex; align-items:center; justify-content:center; gap:40px; max-width:1100px; margin:0 auto; }
  .cs-side { display:flex; flex-direction:column; gap:20px; width:220px; }
  .cs-video-wrap { flex:1 1 auto; max-width:650px; margin:0 auto; }
  .cs-card-link {
    display:flex; align-items:center; justify-content:center;
    padding:18px 20px; border-radius:999px;
    text-decoration:none; font-weight:700; font-size:0.9rem;
    text-transform:uppercase; letter-spacing:0.06em;
    background: linear-gradient(135deg, #21ade3, #0f2a44);
    color:#fff;
    box-shadow:0 18px 40px rgba(15,42,68,0.35);
    border:none;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  }
  .cs-card-link:hover { transform: translateY(-3px); box-shadow:0 22px 45px rgba(15,42,68,0.45); filter: brightness(1.05); }
  .cs-bottom-link { margin-top:28px; display:flex; justify-content:center; }
  .cs-card-full { max-width:420px; width:100%; }
  @media (max-width: 992px) {
    .cs-layout { flex-direction:column; align-items:stretch; gap:24px; }
    .cs-side { width:100%; max-width:500px; flex-direction:row; flex-wrap:wrap; justify-content:center; }
    .cs-card-link { flex:1 1 48%; min-width:180px; margin:4px; }
    .cs-video-wrap { max-width:100%; }
  }

/* ===== INLINE <style> BLOCK #2 ===== */
.logos-ticker { padding: 48px 0; background: #edf2f7; }
      .logos-ticker .ticker { overflow: hidden; position: relative; border-radius: 12px; }
      .logos-ticker .track{
        --gap: 28px;
        --speed: 28s;
        display: flex; gap: var(--gap);
        width: max-content;
        padding: 10px 6px;
        animation: logos-scroll var(--speed) linear infinite;
        will-change: transform;
      }
      .logos-ticker .ticker:hover .track{ animation-play-state: paused; }
      .logos-ticker .item{
        flex: 0 0 auto;
        display: grid; place-items: center;
        padding: 10px 16px;
        border-radius: 12px;
        background: #e6ecf3;
        border: 1px solid #d7dee6;
      }
      .logos-ticker .item img{
        height: 34px; width: auto; object-fit: contain;
        filter: grayscale(100%) drop-shadow(0 0 1px rgba(0,0,0,.35));
        transition: transform .2s ease, filter .2s ease, opacity .2s ease;
        opacity: .9;
      }
      .logos-ticker .item:hover img{
        transform: translateY(-2px);
        opacity: 1;
        filter: grayscale(0%) drop-shadow(0 0 1px rgba(0,0,0,.35));
      }
      @keyframes logos-scroll{
        from{ transform: translateX(0); }
        to  { transform: translateX(calc(-50% - var(--gap)/2)); }
      }
      @media (prefers-reduced-motion: reduce){
        .logos-ticker .track{ animation: none; }
      }

/* ===== INLINE <style> BLOCK #3 ===== */
.video-modal{
        position:fixed; inset:0;
        background:rgba(8,15,26,.88);
        display:none; align-items:center; justify-content:center;
        z-index:1400; padding:16px;
      }
      .video-modal.is-open{ display:flex; }
      .video-modal-dialog{
        background:#020617; color:#e5e7eb;
        border-radius:18px; max-width:960px; width:100%;
        box-shadow:0 30px 80px rgba(15,23,42,.8);
        padding:18px 18px 22px;
        display:flex; flex-direction:column; gap:12px;
      }
      .video-modal-header{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:4px; }
      .video-modal-title{ font-size:18px; font-weight:700; line-height:1.3; margin:0; }
      .video-modal-close{
        border:none; background:rgba(15,23,42,.85); color:#e5e7eb;
        border-radius:999px; width:32px; height:32px;
        display:flex; align-items:center; justify-content:center;
        font-size:18px; cursor:pointer;
      }
      .video-modal-close:hover{ background:rgba(30,64,175,.95); }
      .video-modal-meta{ font-size:12px; color:#9ca3af; margin-bottom:4px; }
      .video-modal-text{ font-size:14px; color:#d1d5db; margin-bottom:10px; }
      .video-modal-body{ border-radius:14px; overflow:hidden; background:#000; }
      .video-modal-body video{ display:block; width:100%; height:auto; }
      @media (max-width:768px){
        .video-modal-dialog{ padding:16px 14px; max-width:100%; }
        .video-modal-title{ font-size:16px; }
      }

