@import url("components.css?v=20260930f");

/* Estilos exclusivos de la portada del blog. */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #414042;
    font-family: "Inter", Arial, sans-serif;
}

.blog-index {
    width: min(84%, 70rem);
    min-height: 44rem;
    margin: 0 auto;
    padding: 5.4rem 0 7rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2.1rem;
    color: #494949;
    font-size: 1.1rem;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
    color: #d83832;
}

.section-label {
    width: fit-content;
    min-width: 15.4rem;
    margin: 0 auto 4.4rem;
    padding: 0.2rem 1.25rem;
    background: #d83832;
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.12;
    text-align: center;
}

.blog-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.blog-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border-radius: 1.8rem;
    background: #f7f7f7;
}

.blog-card__image-link {
    display: block;
    aspect-ratio: 1.85 / 1;
    overflow: hidden;
}

.blog-card__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__content {
    padding: 2.2rem 2rem 2rem;
}

.blog-card__title {
    min-height: 4.1rem;
    margin: 0 0 1.6rem;
    color: #414042;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.05;
}

.blog-card__title strong {
    color: #d83832;
}

.blog-card__button {
    display: flex;
    width: 100%;
    min-height: 2.7rem;
    padding: 0.55rem 1.1rem;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    background: #d83832;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}



/* Ajustes de la portada para pantallas tipo tablet. */
@media (max-width: 64rem) {
    .blog-index {
        width: min(88%, 52rem);
        padding-top: 4rem;
    }

    .section-label {
        margin-bottom: 3rem;
        font-size: 1.4rem;
    }
}



/* Ajustes de la portada para pantallas móviles. */
@media (max-width: 47.9375rem) {
    .blog-index {
        width: min(90%, 31rem);
        padding: 2.5rem 0 5rem;
    }

    .back-link {
        margin-bottom: 2.5rem;
        font-size: 1rem;
    }

    .section-label {
        min-width: 12rem;
        margin-bottom: 2.25rem;
        font-size: 1.25rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .blog-card__content {
        padding: 1.5rem;
    }

    .blog-card__title {
        min-height: 0;
    }
}
