/* ===================================
   BLOG.CSS — "No lo sé, RYC"
=================================== */


nav a.active{

    color:#ED1C24;

}


/* ===============================
 HERO DEL BLOG
================================ */

.blog-hero{

    padding:170px 0 80px;
    background:linear-gradient(160deg, #2E2E2E 0%, #1c1c1c 100%);
    color:white;
    text-align:center;
    position:relative;
    overflow:hidden;

}

.blog-hero::before{

    content:'';
    position:absolute;
    top:-160px;
    right:-120px;
    width:380px;
    height:380px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(237,28,36,.22), transparent 70%);

}

.blog-hero::after{

    content:'';
    position:absolute;
    bottom:-180px;
    left:-140px;
    width:400px;
    height:400px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(212,160,23,.20), transparent 70%);

}

.blog-hero-content{

    position:relative;
    z-index:1;
    max-width:720px;
    margin:auto;

}

.blog-eyebrow{

    display:inline-block;
    padding:8px 20px;
    border-radius:30px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.25);
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:24px;

}

.blog-hero h1{

    font-family:'Playfair Display', serif;
    font-size:46px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:22px;

}

.blog-hero h1 span{

    display:block;
    background:linear-gradient(90deg, #ED1C24, #D4A017);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;

}

.blog-hero p{

    font-size:17px;
    line-height:1.7;
    color:rgba(255,255,255,.85);
    margin-bottom:34px;

}


/* ===============================
 LISTA DE CONSEJOS
================================ */

.blog-tips{

    padding:80px 0;
    background:#fdfaf5;

}

.tip{

    display:grid;
    grid-template-columns:120px 1fr;
    gap:30px;
    align-items:start;

    padding:36px 0;
    border-bottom:1px solid rgba(46,46,46,.1);

}

.tip:last-child{

    border-bottom:none;

}

.tip-number{

    font-family:'Playfair Display', serif;
    font-size:64px;
    font-weight:800;
    line-height:1;
    background:linear-gradient(160deg, #ED1C24, #D4A017);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;

    text-align:right;

}

.tip-body h2{

    font-size:22px;
    margin-bottom:12px;
    color:#2E2E2E;

}

.tip-body p{

    font-size:15.5px;
    line-height:1.75;
    color:#4a4a4a;
    max-width:680px;

}


/* ===============================
 CTA DE CIERRE
================================ */

.blog-cta{

    padding:80px 0;
    background:linear-gradient(135deg, #ED1C24, #B5121B);
    color:white;
    text-align:center;

}

.blog-cta h2{

    font-family:'Playfair Display', serif;
    font-size:32px;
    margin-bottom:14px;

}

.blog-cta p{

    font-size:16px;
    opacity:.9;
    margin-bottom:34px;

}

.blog-cta-buttons{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

}

.blog-cta .btn-primary{

    background:white;
    color:#ED1C24;

}

.btn-secondary-dark{

    padding:15px 35px;
    border-radius:35px;
    text-decoration:none;
    font-weight:600;
    border:2px solid white;
    color:white;

}


/* ===============================
 RESPONSIVE
================================ */

@media(max-width:768px){

    .blog-hero{

        padding:140px 0 60px;

    }

    .blog-hero h1{

        font-size:32px;

    }

    .tip{

        grid-template-columns:1fr;
        gap:10px;

    }

    .tip-number{

        text-align:left;
        font-size:44px;

    }

    .blog-cta h2{

        font-size:26px;

    }

}


/* ===============================
 ARTÍCULO (posts individuales)
================================ */

.article-container{

    max-width:820px;

}

.article-lead{

    font-size:18px;
    line-height:1.75;
    color:#2E2E2E;
    font-weight:500;
    padding-bottom:30px;
    margin-bottom:10px;
    border-bottom:1px solid rgba(46,46,46,.1);

}

.article-image-placeholder{

    margin:40px 0;
    padding:50px 30px;
    border-radius:16px;
    border:2px dashed rgba(212,160,23,.5);
    background:linear-gradient(160deg, #faf7f1, #f2ede3);
    text-align:center;

}

.article-image-placeholder span{

    display:block;
    font-size:34px;
    margin-bottom:14px;

}

.article-image-placeholder figcaption{

    max-width:520px;
    margin:0 auto;
    font-size:14px;
    line-height:1.6;
    color:#7a7a7a;

}

.article-closing{

    margin-top:40px;
    padding-top:30px;
    border-top:1px solid rgba(46,46,46,.1);

}

.article-closing h2{

    font-size:26px;
    margin-bottom:14px;
    color:#2E2E2E;

}

.article-closing p{

    font-size:15.5px;
    line-height:1.75;
    color:#4a4a4a;
    margin-bottom:14px;

}


/* ===============================
 ARTÍCULOS RELACIONADOS
================================ */

.blog-related{

    padding:20px 0 70px;
    background:#fdfaf5;

}

.blog-related .blog-eyebrow{

    background:rgba(46,46,46,.06);
    border-color:rgba(46,46,46,.15);
    color:#2E2E2E;
    margin-bottom:20px;

}

.related-card{

    display:block;
    max-width:600px;
    padding:26px 30px;
    border-radius:16px;
    background:white;
    border-left:5px solid #D4A017;
    box-shadow:0 8px 24px rgba(0,0,0,.07);
    text-decoration:none;
    transition:transform .25s ease, box-shadow .25s ease;

}

.related-card:hover{

    transform:translateX(4px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.related-card h3{

    font-size:19px;
    color:#2E2E2E;
    margin-bottom:8px;

}

.related-card p{

    font-size:14.5px;
    color:#666;
    line-height:1.6;
    margin-bottom:12px;

}

.related-card-link{

    font-size:14px;
    font-weight:700;
    color:#ED1C24;

}


/* ===============================
 IMÁGENES DEL ARTÍCULO
================================ */

.article-image{

    margin:40px 0;
    text-align:center;

}

.article-image img{

    width:100%;
    border-radius:16px;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
    display:block;

}

.article-image figcaption{

    margin-top:14px;
    font-size:14px;
    color:#7a7a7a;
    font-style:italic;

}

.article-image-portrait img{

    max-width:320px;
    margin:0 auto;

}

@media(max-width:600px){

    .article-image-portrait img{

        max-width:260px;

    }

}
