body.tp-mejores-libros-public-final .entry-header,
body.tp-mejores-libros-public-final .page-header,
body.tp-mejores-libros-public-final .featured-image,
body.tp-mejores-libros-public-final .post-image,
body.tp-mejores-libros-public-final .comments-area {
    display: none !important;
}

body.tp-mejores-libros-public-final .site-content {
    display: block;
    max-width: 100%;
    padding: 0;
}

body.tp-mejores-libros-public-final .content-area,
body.tp-mejores-libros-public-final .site-main,
body.tp-mejores-libros-public-final article.page {
    width: 100%;
    max-width: none;
    margin: 0;
}

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

.tp-best-books {
    --tp-blue: #15324b;
    --tp-blue-soft: #eef4f7;
    --tp-ink: #17222b;
    --tp-muted: #5c6972;
    --tp-line: #dce4e8;
    --tp-warm: #f6eee6;
    --tp-orange: #d9753e;

    color: var(--tp-ink);
    font-size: 18px;
    line-height: 1.72;
}

.tp-best-books a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tp-best-hero {
    background: var(--tp-blue);
    color: #fff;
    padding: 78px 28px 72px;
}

.tp-best-hero > * {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.tp-best-kicker {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .82;
}

.tp-best-hero h1 {
    max-width: 820px;
    margin-top: 0;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.03;
    letter-spacing: -.035em;
}

.tp-best-lead {
    max-width: 790px;
    margin-bottom: 30px;
    font-size: 21px;
    line-height: 1.55;
    color: rgba(255,255,255,.9);
}

.tp-best-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tp-best-button,
.tp-best-secondary {
    display: inline-block;
    padding: 13px 19px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none !important;
}

.tp-best-button {
    background: var(--tp-orange);
    color: #fff !important;
}

.tp-best-secondary {
    border: 1px solid rgba(255,255,255,.45);
    color: #fff !important;
}

.tp-best-intro,
.tp-best-selection,
.tp-best-chooser,
.tp-best-errors,
.tp-best-more,
.tp-best-sources {
    max-width: 860px;
    margin: 0 auto;
    padding: 62px 28px 0;
}

.tp-best-books h2 {
    margin-top: 0;
    margin-bottom: 21px;
    color: var(--tp-blue);
    font-size: clamp(29px, 4vw, 39px);
    line-height: 1.14;
    letter-spacing: -.025em;
}

.tp-best-books h3 {
    margin: 3px 0 8px;
    color: var(--tp-blue);
    font-size: 27px;
    line-height: 1.18;
}

.tp-best-books p {
    margin-top: 0;
    margin-bottom: 21px;
}

.tp-best-selection {
    padding-top: 68px;
}

.tp-book-card {
    display: grid;
    grid-template-columns: 56px minmax(0,1fr);
    gap: 20px;
    margin: 0 0 22px;
    padding: 29px 31px;
    border: 1px solid var(--tp-line);
    border-radius: 12px;
    background: #fff;
}

.tp-book-card.tp-book-own {
    background: var(--tp-blue-soft);
}

.tp-book-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tp-blue);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.tp-book-age {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--tp-orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.tp-book-meta {
    margin-bottom: 15px !important;
    color: var(--tp-muted);
    font-size: 15px;
}

.tp-book-card p:last-child {
    margin-bottom: 0;
}

.tp-best-chooser {
    padding-top: 70px;
}

.tp-choice-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.tp-choice {
    padding: 23px;
    border-radius: 10px;
    background: var(--tp-blue-soft);
}

.tp-choice strong {
    display: block;
    margin-bottom: 7px;
    color: var(--tp-blue);
    font-size: 18px;
}

.tp-choice p {
    margin: 0;
    font-size: 16px;
    line-height: 1.62;
}

.tp-best-errors {
    padding-top: 68px;
}

.tp-best-cta {
    margin-top: 70px;
    padding: 52px 28px;
    background: var(--tp-warm);
}

.tp-best-cta-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.tp-best-cta h2 {
    margin-bottom: 12px;
}

.tp-best-cta p {
    margin-bottom: 0;
    max-width: 650px;
}

.tp-best-more {
    padding-top: 67px;
}

.tp-best-sources {
    padding-top: 54px;
    padding-bottom: 80px;
}

.tp-best-sources {
    font-size: 15px;
    color: var(--tp-muted);
}

.tp-best-sources h2 {
    font-size: 25px;
}

.tp-best-sources ul {
    margin: 0;
    padding-left: 21px;
}

.tp-best-sources li {
    margin-bottom: 8px;
}

@media (max-width: 760px) {
    .tp-best-books {
        font-size: 17px;
    }

    .tp-best-hero {
        padding: 53px 21px 50px;
    }

    .tp-best-hero h1 {
        font-size: 39px;
    }

    .tp-best-lead {
        font-size: 19px;
    }

    .tp-best-intro,
    .tp-best-selection,
    .tp-best-chooser,
    .tp-best-errors,
    .tp-best-more,
    .tp-best-sources {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tp-book-card {
        grid-template-columns: 1fr;
        padding: 24px 21px;
    }

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

    .tp-best-cta {
        padding: 42px 20px;
    }

    .tp-best-cta-inner {
        grid-template-columns: 1fr;
    }

    .tp-best-button,
    .tp-best-secondary {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Imagen editorial entre introducción y selección */
.tp-best-editorial-image {
    max-width: 960px;
    margin: 46px auto 6px;
    padding: 0 28px;
}

.tp-best-editorial-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 12px;
}

@media (max-width: 760px) {
    .tp-best-editorial-image {
        margin-top: 34px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .tp-best-editorial-image img {
        border-radius: 9px;
    }
}

/* TP MEJORES LIBROS REFINAMIENTO V2 START */

/*
 * Dirección visual:
 * - artículo editorial, no landing
 * - hero más compacto
 * - jerarquía más fina
 * - recomendaciones menos "tarjeta"
 * - CTA inicial secundaria más discreta
 */

/* ---------- HERO ---------- */

.tp-best-hero {
    padding: 58px 42px 54px;
}

.tp-best-hero > * {
    max-width: 820px;
}

.tp-best-kicker {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .075em;
}

.tp-best-hero h1 {
    max-width: 800px;
    margin-bottom: 20px;
    font-size: clamp(42px, 4.2vw, 56px);
    line-height: 1.06;
    letter-spacing: -.032em;
}

.tp-best-lead {
    max-width: 760px;
    margin-bottom: 25px;
    font-size: 19px;
    line-height: 1.62;
    color: rgba(255,255,255,.91);
}

.tp-best-actions {
    align-items: center;
    gap: 20px;
}

.tp-best-button {
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 15px;
}

.tp-best-secondary {
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,.9) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255,255,255,.38) !important;
    text-underline-offset: 5px;
}

.tp-best-secondary:hover {
    color: #fff !important;
    text-decoration-color: #fff !important;
}

/* ---------- CUERPO EDITORIAL ---------- */

.tp-best-intro,
.tp-best-selection,
.tp-best-chooser,
.tp-best-errors,
.tp-best-more,
.tp-best-sources {
    max-width: 790px;
}

.tp-best-intro {
    padding-top: 56px;
}

.tp-best-books h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3vw, 35px);
    line-height: 1.18;
    letter-spacing: -.021em;
}

.tp-best-books h3 {
    font-size: 25px;
    line-height: 1.22;
    letter-spacing: -.012em;
}

.tp-best-books p {
    margin-bottom: 20px;
}

/* ---------- IMAGEN EDITORIAL ---------- */

.tp-best-editorial-image {
    max-width: 870px;
    margin-top: 42px;
    margin-bottom: 4px;
    padding-left: 28px;
    padding-right: 28px;
}

.tp-best-editorial-image img {
    border-radius: 6px;
}

/* ---------- SELECCIÓN ---------- */

.tp-best-selection {
    padding-top: 58px;
}

.tp-book-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;

    margin: 0;
    padding: 31px 0 32px;

    border: 0;
    border-bottom: 1px solid var(--tp-line);
    border-radius: 0;
    background: transparent;
}

.tp-book-card:first-of-type {
    border-top: 1px solid var(--tp-line);
}

.tp-book-card.tp-book-own {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;

    border-radius: 7px;
    background: rgba(238,244,247,.62);
}

.tp-book-number {
    width: 34px;
    height: 34px;
    margin-top: 3px;

    font-size: 14px;
    font-weight: 700;
}

.tp-book-age {
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: .055em;
}

.tp-book-meta {
    margin-bottom: 13px !important;
    font-size: 14px;
}

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

.tp-book-card p:last-child {
    margin-bottom: 0;
}

.tp-book-card a {
    font-weight: 600;
}

/* ---------- QUÉ ELEGIR SEGÚN LECTOR ---------- */

.tp-best-chooser {
    padding-top: 65px;
}

.tp-choice-grid {
    gap: 0;
    border-top: 1px solid var(--tp-line);
}

.tp-choice {
    padding: 22px 18px 22px 0;
    border-bottom: 1px solid var(--tp-line);
    border-radius: 0;
    background: transparent;
}

.tp-choice:nth-child(even) {
    padding-left: 22px;
    padding-right: 0;
    border-left: 1px solid var(--tp-line);
}

.tp-choice strong {
    margin-bottom: 6px;
    font-size: 17px;
}

.tp-choice p {
    font-size: 16px;
    line-height: 1.65;
}

/* ---------- ERRORES ---------- */

.tp-best-errors {
    padding-top: 63px;
}

/* ---------- CTA GUÍA ---------- */

.tp-best-cta {
    max-width: 100%;
    margin-top: 68px;
    padding: 44px 28px;
}

.tp-best-cta-inner {
    max-width: 840px;
    gap: 38px;
}

.tp-best-cta h2 {
    max-width: 610px;
    font-size: clamp(27px, 3vw, 34px);
}

.tp-best-cta .tp-best-button {
    white-space: nowrap;
}

/* ---------- CIERRE Y FUENTES ---------- */

.tp-best-more {
    padding-top: 61px;
}

.tp-best-sources {
    padding-top: 43px;
    padding-bottom: 72px;
}

.tp-best-sources h2 {
    font-size: 23px;
}

.tp-best-sources li {
    margin-bottom: 7px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {

    .tp-best-hero {
        padding: 43px 22px 42px;
    }

    .tp-best-hero h1 {
        font-size: clamp(35px, 10.2vw, 43px);
        line-height: 1.08;
    }

    .tp-best-lead {
        font-size: 18px;
        line-height: 1.58;
    }

    .tp-best-actions {
        display: block;
    }

    .tp-best-button {
        width: auto;
        min-width: 0;
    }

    .tp-best-secondary {
        display: block;
        width: max-content;
        max-width: 100%;
        margin-top: 18px;
        text-align: left;
    }

    .tp-best-intro {
        padding-top: 43px;
    }

    .tp-best-editorial-image {
        margin-top: 31px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .tp-best-selection {
        padding-top: 46px;
    }

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

    .tp-book-card.tp-book-own {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .tp-book-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .tp-best-books h3 {
        font-size: 22px;
    }

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

    .tp-choice,
    .tp-choice:nth-child(even) {
        padding: 19px 0;
        border-left: 0;
    }

    .tp-best-chooser {
        padding-top: 52px;
    }

    .tp-best-cta {
        margin-top: 54px;
        padding: 38px 20px;
    }

    .tp-best-cta-inner {
        gap: 20px;
    }

    .tp-best-cta .tp-best-button {
        width: auto;
        text-align: center;
    }
}

/* TP MEJORES LIBROS REFINAMIENTO V2 END */

/* TP MEJORES LIBROS CABECERA V3 START */

/*
 * Cabecera editorial:
 * más contenida, menos promocional
 * y alineada con el cuerpo del artículo.
 */

.tp-best-hero {
    padding: 46px 42px 45px;
}

.tp-best-hero > * {
    max-width: 790px;
}

.tp-best-kicker {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 15px;

    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .075em;
}

.tp-best-kicker::before {
    content: "";
    display: block;
    width: 27px;
    height: 3px;
    flex: 0 0 27px;
    border-radius: 10px;
    background: var(--tp-orange);
}

.tp-best-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;

    font-size: clamp(40px, 3.8vw, 49px);
    line-height: 1.075;
    letter-spacing: -.03em;
}

.tp-best-lead {
    max-width: 720px;
    margin-bottom: 0;

    font-size: 18px;
    line-height: 1.62;

    color: rgba(255,255,255,.9);
}

.tp-best-intro {
    padding-top: 47px;
}

.tp-best-intro h2 {
    max-width: 680px;
}

@media (max-width: 760px) {

    .tp-best-hero {
        padding: 37px 21px 38px;
    }

    .tp-best-kicker {
        margin-bottom: 13px;
        font-size: 10px;
    }

    .tp-best-kicker::before {
        width: 23px;
        flex-basis: 23px;
    }

    .tp-best-hero h1 {
        font-size: clamp(33px, 9.2vw, 39px);
        line-height: 1.09;
    }

    .tp-best-lead {
        font-size: 17px;
        line-height: 1.58;
    }

    .tp-best-intro {
        padding-top: 39px;
    }
}

/* TP MEJORES LIBROS CABECERA V3 END */

/* TP MEJORES LIBROS ACABADO V4 START */

/*
 * Acabado final:
 * - sin fotografía promocional
 * - transición editorial más limpia
 * - nota de no-ranking discreta
 * - mejor respiración en móvil
 */

.tp-best-selection {
    padding-top: 52px;
}

.tp-best-ranking-note {
    margin: -5px 0 23px;
    padding-left: 14px;

    border-left: 2px solid var(--tp-orange);

    color: var(--tp-muted);

    font-size: 15px;
    line-height: 1.62;
}

@media (max-width: 760px) {

    .tp-best-intro,
    .tp-best-selection,
    .tp-best-chooser,
    .tp-best-errors,
    .tp-best-more,
    .tp-best-sources {
        padding-left: 23px;
        padding-right: 23px;
    }

    .tp-best-selection {
        padding-top: 43px;
    }

    .tp-best-ranking-note {
        margin-top: -3px;
        margin-bottom: 18px;

        padding-left: 12px;

        font-size: 14px;
        line-height: 1.58;
    }

    .tp-best-cta {
        padding-left: 23px;
        padding-right: 23px;
    }
}

/* TP MEJORES LIBROS ACABADO V4 END */
