body.page-id-459 .entry-header,
body.page-id-459 .page-header,
body.page-id-459 .page-header-image,
body.page-id-459 .featured-image,
body.page-id-459 .post-image,
body.page-id-459 #right-sidebar,
body.page-id-459 #left-sidebar,
body.page-id-459 #secondary,
body.page-id-459 .widget-area{
  display:none !important;
}

body.page-id-459 .site-content,
body.page-id-459 .content-area,
body.page-id-459 #primary,
body.page-id-459 .site-main,
body.page-id-459 article,
body.page-id-459 .inside-article{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

body.page-id-459 .grid-container,
body.page-id-459 .container.grid-container{
  width:100% !important;
  max-width:none !important;
}

.tp-libros-v2{
  --tp-ink:#17324d;
  --tp-ink-soft:#4f657a;
  --tp-line:#d9e3ec;
  --tp-bg:#f4f8fb;
  --tp-white:#ffffff;
  --tp-accent:#f6c64e;
  --tp-accent-2:#dff0ff;
  --tp-shadow:0 18px 48px rgba(20,44,74,.10);
  --tp-radius:24px;
  background:linear-gradient(180deg,#f7fbff 0%,#eef5fb 100%);
  color:var(--tp-ink);
  font-family:inherit;
}

.tp-libros-shell{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

.tp-libros-v2 h1,
.tp-libros-v2 h2,
.tp-libros-v2 h3{
  color:var(--tp-ink);
  margin:0 0 14px;
  line-height:1.15;
}

.tp-libros-v2 p{
  margin:0 0 16px;
  color:var(--tp-ink-soft);
  line-height:1.7;
  font-size:17px;
}

.tp-libros-v2 a{
  text-decoration:none;
}

.tp-libros-hero{
  padding:56px 0 30px;
}

.tp-libros-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
}

.tp-libros-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:#e7f2fb;
  color:#29557e;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  margin-bottom:18px;
}

.tp-libros-hero h1{
  font-size:clamp(34px,5vw,56px);
  margin-bottom:18px;
}

.tp-libros-lead{
  font-size:19px;
  max-width:650px;
}

.tp-libros-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.tp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tp-btn:hover{
  transform:translateY(-2px);
}

.tp-btn-primary{
  background:#163a59;
  color:#fff;
  box-shadow:0 12px 26px rgba(22,58,89,.18);
}

.tp-btn-secondary{
  background:#fff;
  color:#163a59;
  border:1px solid #d4e0ea;
}

.tp-libros-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:26px;
}

.tp-point{
  background:#fff;
  border:1px solid var(--tp-line);
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 8px 24px rgba(20,44,74,.05);
}

.tp-point strong{
  display:block;
  font-size:15px;
  color:var(--tp-ink);
  margin-bottom:4px;
}

.tp-point span{
  display:block;
  color:var(--tp-ink-soft);
  font-size:14px;
  line-height:1.5;
}

.tp-libros-visual{
  position:relative;
}

.tp-libros-visual-card{
  background:#fff;
  border:1px solid rgba(23,50,77,.08);
  border-radius:28px;
  box-shadow:var(--tp-shadow);
  padding:18px;
}

.tp-libros-visual-card img{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
}

.tp-libros-band{
  padding:18px 0 8px;
}

.tp-libros-section{
  padding:28px 0;
}

.tp-section-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:20px;
}

.tp-section-head p{
  max-width:760px;
}

.tp-start-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.tp-start-card{
  display:block;
  background:#fff;
  border:1px solid var(--tp-line);
  border-radius:22px;
  padding:24px 22px;
  box-shadow:0 12px 30px rgba(18,42,67,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tp-start-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(18,42,67,.10);
  border-color:#c6d9e8;
}

.tp-start-card .tp-badge{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  color:#2a618f;
  background:#e7f2fb;
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:14px;
}

.tp-start-card h3{
  font-size:22px;
  margin-bottom:10px;
}

.tp-start-card p{
  font-size:15px;
  margin-bottom:0;
}

.tp-universe-wrap{
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  border:1px solid var(--tp-line);
  border-radius:30px;
  box-shadow:var(--tp-shadow);
  padding:28px;
}

.tp-universe-top{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:24px;
}

.tp-books-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.tp-book-card{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:18px;
  align-items:start;
  background:#fff;
  border:1px solid #dfe8ef;
  border-radius:24px;
  padding:18px;
}

.tp-book-card img{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 14px 26px rgba(14,33,57,.10);
}

.tp-book-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}

.tp-chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#eef5fb;
  color:#2b577d;
  font-size:12px;
  font-weight:700;
}

.tp-book-card h3{
  font-size:24px;
  margin-bottom:10px;
}

.tp-book-card p{
  font-size:15px;
  margin-bottom:16px;
}

.tp-book-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tp-other-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.tp-help-box{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:center;
  background:linear-gradient(135deg,#17324d 0%,#244b71 100%);
  color:#fff;
  border-radius:30px;
  padding:30px;
  box-shadow:0 20px 42px rgba(17,39,63,.16);
}

.tp-help-box h2,
.tp-help-box h3,
.tp-help-box p{
  color:#fff;
}

.tp-help-box p{
  color:rgba(255,255,255,.85);
}

.tp-help-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  padding:20px;
}

.tp-author-strip{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  background:#fff;
  border:1px solid var(--tp-line);
  border-radius:24px;
  padding:24px 26px;
  box-shadow:0 10px 26px rgba(20,44,74,.05);
}

.tp-author-strip p{
  margin:0;
}

@media (max-width: 1024px){
  .tp-libros-hero-grid,
  .tp-help-box{
    grid-template-columns:1fr;
  }

  .tp-start-grid,
  .tp-books-grid,
  .tp-other-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .tp-libros-shell{
    width:min(100% - 26px,100%);
  }

  .tp-libros-hero{
    padding:34px 0 16px;
  }

  .tp-libros-points{
    grid-template-columns:1fr;
  }

  .tp-section-head,
  .tp-universe-top,
  .tp-author-strip{
    grid-template-columns:1fr;
    display:grid;
    align-items:start;
  }

  .tp-book-card{
    grid-template-columns:1fr;
  }

  .tp-book-card img{
    max-width:220px;
  }

  .tp-help-box,
  .tp-universe-wrap{
    padding:22px;
  }
}

.tp-accessible-card{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:28px;
  align-items:center;
  padding:28px;
  border:1px solid #d6e2ec;
  border-radius:28px;
  background:
    linear-gradient(135deg,#ffffff 0%,#edf6fc 100%);
  box-shadow:0 16px 38px rgba(20,44,74,.08);
}

.tp-accessible-card img{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 14px 28px rgba(14,33,57,.11);
}

.tp-accessible-card h2{
  font-size:clamp(28px,4vw,40px);
}

.tp-accessible-note{
  display:inline-flex;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  background:#dceefa;
  color:#27577f;
  font-size:12px;
  font-weight:700;
}

@media(max-width:768px){
  .tp-accessible-card{
    grid-template-columns:1fr;
    padding:22px;
  }

  .tp-accessible-card img{
    max-width:220px;
  }
}

/* TP LIBROS V3 START */

.tp-libros-v2{
  background:#fff;
}

.tp-libros-hero{
  padding:46px 0 50px;
  background:#f3f7fa;
}

.tp-libros-hero-grid{
  grid-template-columns:minmax(0,.82fr) minmax(500px,1.18fr);
  gap:52px;
}

.tp-libros-hero h1{
  max-width:650px;
  font-size:clamp(42px,4.4vw,64px);
  line-height:1.02;
  letter-spacing:-.035em;
}

.tp-libros-lead{
  max-width:620px;
  font-size:18px;
}

.tp-libros-visual-card{
  padding:10px;
  border-radius:22px;
  box-shadow:0 20px 45px rgba(20,44,74,.11);
}

.tp-libros-visual-card img{
  border-radius:15px;
}

.tp-libros-band{
  padding:48px 0 34px;
  background:#fff;
}

.tp-start-grid{
  gap:0;
  border-top:1px solid #d9e3ec;
  border-bottom:1px solid #d9e3ec;
}

.tp-start-card{
  padding:27px 30px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.tp-start-card + .tp-start-card{
  border-left:1px solid #d9e3ec;
}

.tp-start-card:hover{
  transform:none;
  background:#f7fafc;
  border-color:transparent;
  box-shadow:none;
}

.tp-start-card .tp-badge{
  padding:0;
  margin-bottom:10px;
  border-radius:0;
  background:transparent;
  color:#6b7f91;
  font-size:11px;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.tp-start-card h3{
  font-size:21px;
}

.tp-universe-section{
  padding:42px 0;
  background:#17324d;
}

.tp-universe-wrap{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.tp-universe-wrap h2,
.tp-universe-wrap .tp-universe-top p{
  color:#fff;
}

.tp-universe-wrap .tp-universe-top{
  margin-bottom:28px;
}

.tp-universe-wrap .tp-btn-secondary{
  border-color:rgba(255,255,255,.42);
  background:transparent;
  color:#fff;
}

.tp-book-card{
  grid-template-columns:150px minmax(0,1fr);
  gap:18px;
  padding:16px;
  border:1px solid #e0e7ed;
  border-radius:18px;
  box-shadow:none;
}

.tp-book-card img{
  border-radius:10px;
  box-shadow:none;
}

.tp-book-card h3{
  font-size:21px;
}

.tp-book-card p{
  font-size:14px;
  line-height:1.58;
}

.tp-book-meta{
  gap:0;
  margin-bottom:9px;
}

.tp-chip{
  min-height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#597087;
  font-size:11px;
}

.tp-book-meta .tp-chip + .tp-chip::before{
  content:" · ";
  padding:0 7px;
  color:#9aa9b6;
}

.tp-btn{
  min-height:44px;
  padding:0 19px;
  border-radius:999px;
}

.tp-other-section{
  padding:52px 0 32px;
  background:#fffaf2;
}

.tp-other-grid{
  gap:18px;
}

.tp-accessible-card{
  grid-template-columns:175px minmax(0,1fr);
  gap:25px;
  padding:24px;
  border-radius:18px;
  background:#f1f6f9;
  box-shadow:none;
}

.tp-accessible-card img{
  border-radius:10px;
  box-shadow:none;
}

.tp-accessible-card h2{
  font-size:clamp(27px,3.3vw,38px);
}

.tp-accessible-note{
  padding:0;
  border-radius:0;
  background:transparent;
  color:#52728d;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.tp-help-box{
  grid-template-columns:1fr;
  padding:29px 32px;
  border-radius:20px;
  box-shadow:none;
}

.tp-help-card{
  display:none;
}

/* TP LIBROS V3 END */

@media(max-width:1024px){

  .tp-libros-hero-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .tp-libros-hero h1{
    max-width:760px;
  }
}

@media(max-width:768px){

  .tp-libros-hero{
    padding:30px 0 34px;
  }

  .tp-libros-hero h1{
    font-size:clamp(34px,9vw,43px);
  }

  .tp-libros-lead{
    font-size:16px;
  }

  .tp-libros-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
  }

  .tp-libros-actions .tp-btn{
    width:100%;
  }

  .tp-libros-band{
    padding:36px 0 20px;
  }

  .tp-start-grid{
    display:block;
  }

  .tp-start-card{
    padding:22px 0;
  }

  .tp-start-card + .tp-start-card{
    border-top:1px solid #d9e3ec;
    border-left:0;
  }

  .tp-universe-section{
    padding:34px 0;
  }

  .tp-universe-wrap{
    padding:0;
  }

  .tp-universe-top{
    gap:13px;
  }

  .tp-book-card{
    grid-template-columns:108px minmax(0,1fr);
    gap:13px;
    padding:14px;
  }

  .tp-book-card img{
    width:100%;
    max-width:none;
  }

  .tp-book-card h3{
    font-size:18px;
    line-height:1.2;
  }

  .tp-book-card p{
    font-size:13px;
    line-height:1.5;
  }

  .tp-book-actions{
    gap:7px;
  }

  .tp-book-actions .tp-btn{
    min-height:38px;
    padding:0 12px;
    font-size:12px;
  }

  .tp-other-section{
    padding:39px 0 22px;
  }

  .tp-accessible-card{
    grid-template-columns:108px minmax(0,1fr);
    gap:14px;
    padding:15px;
  }

  .tp-accessible-card img{
    width:100%;
    max-width:none;
  }

  .tp-accessible-card h2{
    font-size:21px;
  }

  .tp-accessible-card p{
    font-size:13px;
    line-height:1.5;
  }

  .tp-help-box{
    padding:24px 21px;
  }
}

/* TP HERO LIBROS V4 START */

.tp-libros-hero{
  position:relative;
  overflow:hidden;
  min-height:510px;
  padding:0;
  background:#f3f7fa;
}

.tp-libros-hero-grid{
  min-height:510px;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:38px;
  align-items:stretch;
}

.tp-libros-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:62px 0;
}

.tp-libros-hero h1{
  max-width:610px;
  margin-bottom:19px;
  font-size:clamp(44px,4.5vw,66px);
  line-height:1.01;
  letter-spacing:-.04em;
}

.tp-libros-lead{
  max-width:575px;
  margin-bottom:0;
  color:#4f657a;
  font-size:19px;
  line-height:1.65;
}

.tp-libros-actions{
  align-items:center;
  gap:20px;
  margin-top:26px;
}

.tp-hero-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#17324d;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
}

.tp-hero-link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.tp-libros-visual{
  position:relative;
  align-self:stretch;
  width:calc(
    100% + max(20px,calc((100vw - 1180px) / 2))
  );
  margin-right:calc(
    -1 * max(20px,calc((100vw - 1180px) / 2))
  );
}

.tp-libros-visual::before{
  content:"";
  position:absolute;
  z-index:2;
  top:0;
  bottom:0;
  left:0;
  width:110px;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      #f3f7fa 0%,
      rgba(243,247,250,.82) 28%,
      rgba(243,247,250,0) 100%
    );
}

.tp-libros-visual-card{
  width:100%;
  height:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.tp-libros-visual-card img{
  display:block;
  width:100%;
  height:100%;
  min-height:510px;
  border-radius:0;
  object-fit:cover;
  object-position:center;
}

/* TP HERO LIBROS V4 END */

@media(max-width:1024px){

  .tp-libros-hero{
    min-height:0;
  }

  .tp-libros-hero-grid{
    min-height:0;
    grid-template-columns:1fr;
    gap:0;
  }

  .tp-libros-copy{
    padding:48px 0 36px;
  }

  .tp-libros-visual{
    width:calc(
      100% + max(20px,calc((100vw - 1180px) / 2))
    );
    margin-right:calc(
      -1 * max(20px,calc((100vw - 1180px) / 2))
    );
  }

  .tp-libros-visual::before{
    display:none;
  }

  .tp-libros-visual-card img{
    min-height:330px;
    max-height:430px;
  }
}

@media(max-width:768px){

  .tp-libros-hero{
    padding:0;
  }

  .tp-libros-copy{
    padding:32px 0 27px;
  }

  .tp-libros-hero h1{
    max-width:none;
    margin-bottom:15px;
    font-size:clamp(36px,10vw,46px);
    line-height:1.04;
  }

  .tp-libros-lead{
    max-width:none;
    font-size:16px;
    line-height:1.6;
  }

  .tp-libros-actions{
    display:block;
    margin-top:22px;
  }

  .tp-libros-actions .tp-btn{
    width:100%;
  }

  .tp-hero-link{
    justify-content:center;
    width:100%;
    margin-top:16px;
    font-size:14px;
  }

  .tp-libros-visual{
    width:calc(100% + 26px);
    margin-right:-13px;
    margin-left:-13px;
  }

  .tp-libros-visual-card img{
    min-height:0;
    height:auto;
    max-height:none;
    aspect-ratio:16 / 9;
    object-fit:cover;
    object-position:center;
  }
}

/* TP HERO LIBROS V5 START */

@media(max-width:768px){

  .tp-libros-hero .tp-libros-shell,
  .tp-libros-band .tp-libros-shell{
    width:calc(100% - 36px);
  }

  .tp-libros-copy{
    padding:28px 0 24px;
  }

  .tp-libros-hero h1{
    font-size:clamp(34px,9.3vw,42px);
    line-height:1.05;
  }

  .tp-libros-actions{
    margin-top:20px;
  }

  .tp-hero-link{
    margin-top:14px;
    font-weight:600;
  }

  .tp-libros-visual{
    width:calc(100% + 36px);
    margin-right:-18px;
    margin-left:-18px;
  }

  .tp-libros-band{
    padding-top:32px;
  }
}

/* TP HERO LIBROS V5 END */



/* TP LIBROS ULTRAWIDE V7 START */

@media(min-width:1025px){

  /*
   * Cabecera centrada y relacionada visualmente
   * con el contenido editorial.
   */
  body.page-id-459 .site-header .inside-header{
    width:min(1180px,calc(100% - 48px)) !important;
    max-width:1180px !important;
    margin-right:auto !important;
    margin-left:auto !important;
  }

  /*
   * Mantener el equilibrio actual entre texto e imagen.
   */
  .tp-libros-hero-grid{
    grid-template-columns:
      minmax(500px,.92fr)
      minmax(0,1.08fr);
    gap:28px;
  }

  /*
   * La fotografía llega exactamente hasta el borde derecho.
   * Solo sangra la zona visual; el contenido sigue centrado.
   */
  .tp-libros-visual{
    --tp-libros-bleed:
      max(
        24px,
        calc((100vw - 1180px) / 2)
      );

    width:calc(
      100% + var(--tp-libros-bleed)
    );

    max-width:none;

    margin-right:calc(
      -1 * var(--tp-libros-bleed)
    );
  }

  /*
   * Transición mínima: integración sin neblina.
   */
  .tp-libros-visual::before{
    width:16px;
    background:
      linear-gradient(
        90deg,
        rgba(243,247,250,.72) 0%,
        rgba(243,247,250,0) 100%
      );
  }
}

/*
 * En pantallas ultrapanorámicas la unión funciona mejor
 * sin degradado visible.
 */
@media(min-width:1600px){

  .tp-libros-visual::before{
    display:none;
  }
}

/* TP LIBROS ULTRAWIDE V7 END */

/* TP LIBROS PREVIEW V2 START */

body.tp-libros-public-final .site-content{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

body.tp-libros-public-final .content-area{
  width:100% !important;
}

body.tp-libros-public-final .inside-article{
  padding:0 !important;
}

body.tp-libros-public-final .entry-content{
  margin-top:0 !important;
}

body.tp-libros-public-final .site-header .inside-header{
  width:min(1180px,calc(100% - 48px)) !important;
  max-width:1180px !important;
  margin-right:auto !important;
  margin-left:auto !important;
}

/* Hero */

body.tp-libros-public-final .tp-libros-hero{
  background:#17324d !important;
}

body.tp-libros-public-final .tp-libros-hero h1{
  color:#fff !important;
}

body.tp-libros-public-final .tp-libros-lead{
  color:rgba(255,255,255,.86) !important;
}

body.tp-libros-public-final .tp-libros-hero .tp-hero-link{
  color:#fff !important;
}

body.tp-libros-public-final .tp-libros-hero .tp-hero-link:hover{
  color:#fff !important;
}

body.tp-libros-public-final .tp-libros-visual::before{
  width:42px !important;
  background:
    linear-gradient(
      90deg,
      #17324d 0%,
      rgba(23,50,77,.74) 36%,
      rgba(23,50,77,0) 100%
    ) !important;
}

/* Ritmo vertical */

body.tp-libros-public-final .tp-libros-band{
  padding:64px 0 56px !important;
  background:#f5f8fa !important;
}

body.tp-libros-public-final .tp-universe-section{
  padding:68px 0 !important;
  background:#17324d !important;
}

body.tp-libros-public-final .tp-other-section{
  padding:68px 0 58px !important;
  background:#fffaf2 !important;
}

body.tp-libros-public-final
.tp-libros-section:not(.tp-libros-band):not(.tp-universe-section):not(.tp-other-section){
  padding:62px 0 !important;
  background:#fff;
}

body.tp-libros-public-final .tp-section-head{
  margin-bottom:32px !important;
}

body.tp-libros-public-final .tp-start-grid{
  margin-top:30px !important;
}

body.tp-libros-public-final .tp-books-grid,
body.tp-libros-public-final .tp-other-grid{
  gap:26px !important;
}

/* Tarjetas y botones */

body.tp-libros-public-final .tp-start-card{
  padding-top:28px !important;
  padding-bottom:28px !important;
}

body.tp-libros-public-final .tp-book-card{
  gap:23px !important;
  padding:23px !important;
}

body.tp-libros-public-final .tp-accessible-card{
  gap:32px !important;
  padding:34px !important;
}

body.tp-libros-public-final .tp-help-box{
  padding:38px 40px !important;
}

body.tp-libros-public-final .tp-book-actions{
  margin-top:18px;
}

body.tp-libros-public-final .tp-book-actions .tp-btn{
  white-space:normal;
  text-align:center;
}

body.tp-libros-public-final
.tp-libros-section + .tp-libros-section{
  margin-top:0 !important;
}

body.tp-libros-public-final #elige-lector,
body.tp-libros-public-final #arri-y-eli,
body.tp-libros-public-final #otras-lecturas{
  scroll-margin-top:90px;
}

body.tp-libros-public-final
.tp-other-section + .tp-libros-section{
  border-top:1px solid #edf1f4;
}

@media(min-width:1600px){

  body.tp-libros-public-final
  .tp-libros-visual::before{
    display:none !important;
  }
}

@media(max-width:1024px){

  body.tp-libros-public-final
  .site-header .inside-header{
    width:min(100% - 40px,1180px) !important;
  }

  body.tp-libros-public-final .tp-libros-copy{
    padding:50px 0 38px !important;
  }
}

@media(max-width:768px){

  body.tp-libros-public-final
  .site-header .inside-header{
    width:calc(100% - 36px) !important;
  }

  body.tp-libros-public-final .tp-libros-copy{
    padding:34px 0 29px !important;
  }

  body.tp-libros-public-final .tp-libros-hero h1{
    color:#fff !important;
  }

  body.tp-libros-public-final .tp-libros-lead{
    color:rgba(255,255,255,.86) !important;
  }

  body.tp-libros-public-final .tp-libros-band,
  body.tp-libros-public-final .tp-universe-section,
  body.tp-libros-public-final .tp-other-section,
  body.tp-libros-public-final
  .tp-libros-section:not(.tp-libros-band):not(.tp-universe-section):not(.tp-other-section){
    padding:44px 0 !important;
  }

  body.tp-libros-public-final .tp-section-head{
    margin-bottom:22px !important;
  }

  body.tp-libros-public-final .tp-start-grid{
    margin-top:20px !important;
  }

  body.tp-libros-public-final .tp-start-card{
    padding-top:23px !important;
    padding-bottom:23px !important;
  }

  body.tp-libros-public-final .tp-book-card{
    gap:14px !important;
    padding:16px !important;
  }

  body.tp-libros-public-final .tp-accessible-card{
    gap:17px !important;
    padding:19px !important;
  }

  body.tp-libros-public-final .tp-help-box{
    padding:28px 22px !important;
  }
}

/* TP LIBROS PREVIEW V2 END */

/* TP LIBROS PUBLIC FINAL START */

/*
 * Sistema visual final aprobado para la preview de Libros.
 * Consolida transición, velo fotográfico y ajustes móviles.
 */

body.tp-libros-public-final .tp-libros-visual{
  position:relative !important;
  overflow:hidden !important;
}

body.tp-libros-public-final .tp-libros-visual img{
  position:relative;
  z-index:1;
}

@media(min-width:769px){

  body.tp-libros-public-final .tp-libros-visual::before{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    top:0 !important;
    bottom:0 !important;
    left:0 !important;
    width:78px !important;
    height:auto !important;
    z-index:3 !important;
    pointer-events:none !important;
    background:
      linear-gradient(
        90deg,
        #17324d 0%,
        rgba(23,50,77,.92) 18%,
        rgba(23,50,77,.58) 48%,
        rgba(23,50,77,.20) 75%,
        rgba(23,50,77,0) 100%
      ) !important;
  }

  body.tp-libros-public-final .tp-libros-visual::after{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    z-index:2 !important;
    pointer-events:none !important;
    background:
      linear-gradient(
        90deg,
        rgba(23,50,77,.28) 0%,
        rgba(23,50,77,.22) 20%,
        rgba(23,50,77,.16) 42%,
        rgba(23,50,77,.11) 62%,
        rgba(23,50,77,.075) 78%,
        rgba(23,50,77,.045) 90%,
        rgba(23,50,77,.02) 100%
      ) !important;
  }
}

@media(max-width:768px){

  body.tp-libros-public-final
  .tp-libros-hero .tp-libros-shell,

  body.tp-libros-public-final
  .tp-libros-band .tp-libros-shell,

  body.tp-libros-public-final
  .tp-libros-section .tp-libros-shell{
    width:calc(100% - 44px) !important;
    max-width:none !important;
    margin-right:auto !important;
    margin-left:auto !important;
  }

  body.tp-libros-public-final .tp-libros-copy{
    padding:36px 0 29px !important;
  }

  body.tp-libros-public-final .tp-libros-hero h1{
    max-width:none !important;
    margin-bottom:18px !important;
    font-size:clamp(32px,8.5vw,38px) !important;
    line-height:1.08 !important;
    letter-spacing:-.025em !important;
  }

  body.tp-libros-public-final .tp-libros-lead{
    font-size:16px !important;
    line-height:1.55 !important;
  }

  body.tp-libros-public-final .tp-libros-actions{
    margin-top:24px !important;
  }

  body.tp-libros-public-final .tp-hero-link{
    margin-top:16px !important;
    line-height:1.45 !important;
  }

  body.tp-libros-public-final .tp-section-head h2{
    font-size:32px !important;
    line-height:1.14 !important;
    letter-spacing:-.02em !important;
  }

  body.tp-libros-public-final .tp-libros-visual::before,
  body.tp-libros-public-final .tp-libros-visual::after{
    content:none !important;
    display:none !important;
  }
}

/* TP LIBROS PUBLIC FINAL END */

/* TP LIBROS HERO ALTERNATIVO PUBLIC V3 START */

/*
 * Ajustes específicos de la nueva fotografía aprobada.
 * La imagen ya contiene transición oscura en su lateral.
 */

@media(min-width:769px){

  body.tp-libros-public-final .tp-libros-visual::before{
    width:48px !important;
    background:
      linear-gradient(
        90deg,
        #17324d 0%,
        rgba(23,50,77,.72) 28%,
        rgba(23,50,77,.28) 68%,
        rgba(23,50,77,0) 100%
      ) !important;
  }

  body.tp-libros-public-final .tp-libros-visual::after{
    background:
      linear-gradient(
        90deg,
        rgba(23,50,77,.12) 0%,
        rgba(23,50,77,.075) 38%,
        rgba(23,50,77,.035) 72%,
        rgba(23,50,77,.015) 100%
      ) !important;
  }

  body.tp-libros-public-final
  .tp-libros-visual-card img{
    object-position:center center !important;
  }
}

@media(max-width:768px){

  body.tp-libros-public-final
  .tp-libros-visual-card img{
    object-position:center center !important;
  }
}

/* TP LIBROS HERO ALTERNATIVO PUBLIC V3 END */
