/* Conocimiento-y-publicaciones.html */

.hero{
      position:relative;overflow:hidden;padding:6.5rem 0 5rem;
      background:linear-gradient(135deg,var(--dark),var(--dark-blue),var(--primary));
      color:var(--white)
    }

    .hero::before{
      content:"";position:absolute;inset:0;
      background:
        radial-gradient(circle at top right,rgba(111,163,240,.38),transparent 34%),
        linear-gradient(rgba(10,15,30,.62),rgba(10,15,30,.66));
      opacity:.9;
      pointer-events:none;
    }

    .hero-grid{
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:1.05fr .95fr;
      gap:3rem;
      align-items:center;
    }

    .eyebrow{
      display:inline-flex;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.12);
      border-radius:999px;
      padding:.5rem 1rem;
      font-size:.85rem;
      margin-bottom:1.5rem;
    }

    h1{
      font-family:var(--font-display);
      font-size:clamp(2.6rem,5.8vw,5rem);
      line-height:1.05;
      margin-bottom:1.3rem;
    }

    .hero p{
      font-size:1.06rem;
      line-height:1.8;
      color:rgba(255,255,255,.86);
      max-width:690px;
    }

    .hero-actions{
      display:flex;
      flex-wrap:wrap;
      gap:1rem;
      margin-top:2rem;
    }

    .hero-card{
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.14);
      backdrop-filter:blur(18px);
      border-radius:30px;
      padding:2rem;
      box-shadow:0 20px 60px rgba(0,0,0,.22);
    }

    .hero-card h3{font-size:1.5rem;margin-bottom:1rem}
    .hero-card p{color:rgba(255,255,255,.78);line-height:1.7}

    .section{padding:4.8rem 0}
    .section--soft{background:var(--bg-2)}
    .section--dark{background:var(--dark);color:var(--white)}
    .section-header{margin-bottom:2.4rem}
    .section-tag{
      display:inline-flex;
      padding:.5rem 1rem;
      border-radius:999px;
      background:var(--primary-pale);
      color:var(--primary);
      font-size:.82rem;
      font-weight:800;
      margin-bottom:1rem;
    }
    .section--dark .section-tag{background:rgba(255,255,255,.1);color:var(--white)}
    .section-title{
      font-family:var(--font-display);
      font-size:clamp(2rem,4vw,3.35rem);
      margin-bottom:1rem;
      max-width:940px;
    }
    .section-subtitle{max-width:820px;color:var(--muted);line-height:1.8}
    .section--dark .section-subtitle{color:rgba(255,255,255,.75)}

    .books-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:1.5rem;
    }

    .book-card{
      background:var(--white);
      border:1px solid var(--border);
      border-radius:32px;
      overflow:hidden;
      box-shadow:var(--shadow);
      display:flex;
      flex-direction:column;
    }

    .book-cover{
      background:var(--primary-pale);
      min-height:360px;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:1.4rem;
    }

    .book-cover img{
      width:100%;
      max-height:320px;
      object-fit:contain;
      filter:drop-shadow(0 20px 30px rgba(10,15,30,.18));
    }

    .book-content{
      padding:1.6rem;
      display:flex;
      flex-direction:column;
      gap:.9rem;
      flex:1;
    }

    .book-badge{
      display:inline-flex;
      width:max-content;
      max-width:100%;
      padding:.45rem .8rem;
      border-radius:999px;
      background:var(--primary-pale);
      color:var(--primary);
      font-size:.78rem;
      font-weight:800;
    }

    .book-content h3{
      font-size:1.2rem;
      line-height:1.3;
    }

    .book-meta{
      color:var(--primary);
      font-weight:800;
      font-size:.9rem;
    }

    .book-content p{
      color:var(--muted);
      line-height:1.7;
    }

    .book-content .book-promo{
      color:var(--white);
    }

    .book-format{
      display:flex;
      flex-wrap:wrap;
      gap:.6rem;
      margin-top:auto;
    }

    .book-format > span{
      display:inline-flex;
      align-items:center;
      gap:.4rem;
      padding:.55rem .75rem;
      border-radius:999px;
      background:var(--bg);
      color:var(--muted);
      font-size:.82rem;
      font-weight:800;
    }

    .book-format .ui-icon{
      width:1.05rem;
      height:1.05rem;
      flex-shrink:0;
      color:var(--primary);
    }

    .authority-band{
      background:linear-gradient(135deg,var(--dark),var(--primary));
      color:var(--white);
      border-radius:34px;
      padding:2.5rem;
      display:grid;
      grid-template-columns:.9fr 1.1fr;
      gap:2rem;
      align-items:center;
      box-shadow:var(--shadow);
    }

    .authority-band h2{
      font-family:var(--font-display);
      font-size:clamp(2rem,4vw,3rem);
      line-height:1.1;
    }

    .authority-list{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:1rem;
    }

    .authority-item{
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      border-radius:22px;
      padding:1.2rem;
    }

    .authority-item strong{
      display:flex;
      align-items:flex-start;
      gap:.55rem;
      margin-bottom:.4rem;
    }

    .authority-item span{
      color:rgba(255,255,255,.74);
      line-height:1.5;
      font-size:.92rem;
    }

    .split-grid{
      display:grid;
      grid-template-columns:.9fr 1.1fr;
      gap:3rem;
      align-items:center;
    }

    .image-frame{
      min-height:480px;
      border-radius:34px;
      overflow:hidden;
      background:
        linear-gradient(rgba(10,15,30,.08),rgba(10,15,30,.25)),
        url('/assets/img/Dr.AntonioMontecinos7.webp') center/cover no-repeat;
      box-shadow:var(--shadow);
      border:1px solid var(--border);
    }

    .text-stack{display:grid;gap:1rem}
    .text-stack p{color:var(--muted);line-height:1.85}

    .lines-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:1rem;
    }

    .line-card{
      background:var(--white);
      border:1px solid var(--border);
      border-radius:24px;
      padding:1.4rem;
      box-shadow:0 12px 35px rgba(10,15,30,.08);
    }

    .line-card h3{
      color:var(--primary);
      margin-bottom:.5rem;
      font-size:1.05rem;
    }

    .line-card p{
      color:var(--muted);
      line-height:1.6;
      font-size:.92rem;
    }

    .research-grid{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:1.4rem;
    }

    .research-card{
      background:var(--white);
      border:1px solid var(--border);
      border-radius:28px;
      padding:2rem;
      box-shadow:var(--shadow);
      transition:.3s;
    }

    .research-card:hover{transform:translateY(-6px)}

    .research-type{
      display:inline-flex;
      padding:.45rem .8rem;
      border-radius:999px;
      background:var(--primary-pale);
      color:var(--primary);
      font-size:.78rem;
      font-weight:800;
      margin-bottom:1rem;
    }

    .research-card h3{
      font-size:1.3rem;
      line-height:1.3;
      margin-bottom:1rem;
    }

    .research-card p{
      color:var(--muted);
      line-height:1.7;
      margin-bottom:1.2rem;
    }

    .research-card a{
      color:var(--primary);
      font-weight:800;
    }

    .resources-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
      gap:1rem;
    }

    .resource-card{
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      border-radius:24px;
      padding:1.5rem;
    }

    .resource-card h3{
      margin-bottom:.6rem;
      font-size:1.05rem;
    }

    .resource-card p{
      color:rgba(255,255,255,.72);
      line-height:1.6;
      font-size:.92rem;
    }

    .book-card-featured{
  border:2px solid rgba(27,79,168,.24);
    }

    .book-note{
      margin-top:auto;
      padding:.85rem 1rem;
      border-radius:18px;
      background:var(--bg);
      color:var(--muted);
      font-weight:800;
      font-size:.9rem;
    }

    @media(max-width:980px){
      .hero-grid,
      .split-grid,
      .authority-band{
        grid-template-columns:1fr;
      }

      .books-grid,
      .lines-grid,
      .research-grid{
        grid-template-columns:1fr 1fr;
      }

      .authority-list{
        grid-template-columns:1fr 1fr;
      }
    }

    @media(max-width:640px){
      .hero{padding-top:5.3rem}
      h1{font-size:2.35rem}
      .hero-actions{flex-direction:column}
      .btn{width:100%}
      .books-grid,
      .lines-grid,
      .research-grid,
      .authority-list{
        grid-template-columns:1fr;
      }

      }
