/* =====================================================
   TPP 2026 - LIGERO / MODERNO / ADSENSE SAFE
   ===================================================== */

:root {
    --tpp-orange: #f59b18;
    --tpp-text: #202124;
    --tpp-soft: #5f6368;
    --tpp-border: #ececec;
    --tpp-bg: #ffffff;
}


/* OCULTAR AUTOR */
.blog-post-author {
    display: none;
}


/* =====================================================
   BOTÓN WHATSAPP
   ===================================================== */

.whatsapp-button {
    display: flex;
    justify-content: center;
    margin: 22px auto;
    width: 100%;
    max-width: 400px;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;

    background: linear-gradient(110deg, #12c96b, #20d879, #f5a623);

    color: #fff;
    text-decoration: none;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 15px;
    font-weight: 700;

    border-radius: 28px;

    box-shadow: 0 4px 14px rgba(0,0,0,.10);

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

.whatsapp-button a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 17px rgba(0,0,0,.14);
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    margin-right: 9px;

    background-image:
        url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg");

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* =====================================================
   ÚLTIMAS NOTICIAS + TENDENCIAS
   ===================================================== */

#recent-posts-2,
#top-posts-2 {
    background: var(--tpp-bg);

    border: 1px solid var(--tpp-border);
    border-radius: 14px;

    padding: 18px;

    box-shadow:
        0 2px 4px rgba(0,0,0,.025),
        0 8px 22px rgba(0,0,0,.045);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* TÍTULOS */

#recent-posts-2 .widget-title,
#top-posts-2 .widget-title {
    position: relative;

    margin: 0 0 12px;
    padding: 0 0 11px;

    border-bottom: 1px solid var(--tpp-border);

    color: var(--tpp-text);

    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .4px;
}

#recent-posts-2 .widget-title::after,
#top-posts-2 .widget-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -1px;

    width: 42px;
    height: 3px;

    background: var(--tpp-orange);
    border-radius: 5px;
}


/* LISTAS */

#recent-posts-2 ul,
#top-posts-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;

    counter-reset: tppnews;
}

#recent-posts-2 ul li,
#top-posts-2 ul li {
    position: relative;

    margin: 0;
    padding: 11px 0 11px 39px;

    border-bottom: 1px solid var(--tpp-border);

    color: var(--tpp-text);

    font-size: 15px;
    line-height: 1.4;

    counter-increment: tppnews;
}

#recent-posts-2 ul li:last-child,
#top-posts-2 ul li:last-child {
    border-bottom: 0;
}


/* NÚMERO */

#recent-posts-2 ul li::before,
#top-posts-2 ul li::before {
    content: counter(tppnews);

    position: absolute;

    left: 0;
    top: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: #fff5e5;
    color: #d97900;

    font-size: 13px;
    font-weight: 800;
}


/* ENLACES */

#recent-posts-2 ul li a,
#top-posts-2 ul li a {
    color: var(--tpp-text);
    text-decoration: none;
    font-weight: 600;
}

#recent-posts-2 ul li a:hover,
#top-posts-2 ul li a:hover {
    color: #d97900;
}


/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 767px) {

    #recent-posts-2,
    #top-posts-2 {
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,.05);
    }

    #recent-posts-2 .widget-title,
    #top-posts-2 .widget-title {
        font-size: 18px;
    }

    .whatsapp-button {
        margin: 20px auto;
    }
}