/* ==========================================================================
   Block: Blog Latest
   ========================================================================== */

.blog-latest {
    position: relative;
    overflow: hidden;
}

.bl-wrapper {
    max-width: var(--max-w-wrapper);
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .bl-wrapper {
        padding: 80px 80px;
    }
}

.bl-title {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
}

@media (min-width: 1024px) {
    .bl-title {
        font-size: 48px;
    }
}

/* Grid */
.bl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .bl-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 56px 24px;
    }
}

/* Card */
.bl-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .bl-card:hover .bl-card-title {
        color: var(--color-teal);
    }

    .bl-card:hover .bl-card-eyebrow {
        color: var(--color-teal);
    }
}

.bl-card-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .bl-card-image {
        height: 200px;
    }
}

.bl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bl-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bl-card-texts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bl-card-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: inherit;
    margin: 0;
}

.bl-card-title {
    font-size: var(--font-h3-size);
    font-weight: 500;
    margin: 0;
    transition: color 0.25s ease-out;
}

.bl-card-time {
    font-size: 13px;
    color: inherit;
}

/* Bottom link */
.bl-bottom {
    display: flex;
    justify-content: start;
}

.bl-card-details.author-pill-details {
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .bl-card-details.author-pill-details {
        flex-direction: row;
        align-items: center;
    }
}