/* Blog index — tarjetas de novedades y prensa */
.blog-index {
    padding: 60px 0 80px;
}

.blog-index__intro {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 16px;
    line-height: 1.65;
    color: #e2e2e2;
}

.blog-section-title {
    margin: 0 0 28px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.blog-section-title--press {
    margin-top: 56px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid--news {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}

.blog-card:hover {
    border-color: rgba(250, 183, 2, .45);
    transform: translateY(-2px);
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card__link:hover,
.blog-card__link:focus {
    text-decoration: none;
    color: inherit;
}

.blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #2a2b2e;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.03);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-card__date {
    color: #e2e2e2;
}

.blog-card__category {
    display: inline-block;
    color: #111;
    background: var(--primary-color-1);
    border-radius: 4px;
    padding: 3px 8px;
}

.blog-card__source {
    display: inline-block;
    color: #111;
    background: rgba(255, 255, 255, .85);
    border-radius: 4px;
    padding: 3px 8px;
}

.blog-card__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
}

.blog-card--press .blog-card__title {
    font-size: 16px;
}

.blog-card__excerpt {
    margin: 0 0 18px;
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: #c8c8c8;
}

.blog-card__cta {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary-color-1);
}

.blog-card--press {
    border-style: dashed;
    border-color: rgba(255, 255, 255, .12);
}

.blog-card--press:hover {
    border-color: rgba(255, 255, 255, .28);
}

.blog-card--press .blog-card__body {
    padding-top: 24px;
}

.blog-card--press .blog-card__cta::after {
    content: " \2197";
    font-size: 12px;
}

.blog-post-body {
    font-size: 16px;
    line-height: 1.7;
    color: #e2e2e2;
}

.blog-post-body p {
    margin-bottom: 16px;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0 0 16px 1.2em;
    padding: 0;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0 16px;
}

.blog-post-body a {
    color: var(--primary-color-1);
    text-decoration: underline;
}

.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    color: #fff;
    margin: 24px 0 12px;
}
