/* Hero Post */

.hero-post {
    height: 70vh;
    background: url('../Imagenes/gruas-blog.jpg') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0 70px 60px 70px;
    margin-top: 90px;
    position: relative;
}

.hero-post::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
}

.hero-post-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.hero-post-tag {
    display: inline-block;
    background: #e53434;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.hero-post-content h1 {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 14px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.hero-post-meta {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-post-meta p {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* Artículo */

.post-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 70px 30px 90px;
}

.post-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    border-left: 4px solid #e53434;
    padding-left: 22px;
    margin-bottom: 50px;
    font-weight: 500;
}

.post-body p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15.5px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

.post-body h2 {
    font-family: 'Oswald', sans-serif;
    color: #e53434;
    font-size: 26px;
    margin: 48px 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Cards de datos */

.datos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px 0;
}

.dato-card {
    background: #f5f5f5;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    border-top: 4px solid #e53434;
}

.dato-card .numero {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    color: #e53434;
    line-height: 1;
    margin-bottom: 8px;
}

.dato-card .label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Lista de características */

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.features-list li i {
    color: #e53434;
    margin-top: 3px;
    flex-shrink: 0;
}


/* ── Volver al blog ── */

.volver-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e53434;
    text-decoration: none;
    margin-bottom: 40px;
    transition: gap 0.2s;
}

.volver-blog:hover { gap: 12px; }

/* Fuente del post */

.post-fuente {
    margin-top: 48px;
    padding: 18px 22px;
    background: #f5f5f5;
    border-left: 4px solid #e53434;
    border-radius: 0 8px 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-fuente i {
    color: #e53434;
    flex-shrink: 0;
}

.post-fuente a {
    color: #e53434;
    font-weight: 600;
    text-decoration: none;
}

.post-fuente a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {
    .hero-post {
        height: auto;
        min-height: 55vh;
        padding: 20px 20px 40px;
        align-items: flex-end;
    }

    .hero-post::before {
        background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    }

    .hero-post-content h1 { font-size: 28px; }
    .datos-grid { grid-template-columns: 1fr 1fr; }
    .post-container { padding: 40px 20px 60px; }
}

@media (max-width: 480px) {
    .datos-grid { grid-template-columns: 1fr; }
    .hero-post-content h1 { font-size: 22px; }
}