/* Shared Figma blog card. */

.c-blog-card {
    width: 535px;
    max-width: 100%;
}

.c-blog-card__link {
    display: block;
}

.c-blog-card__link:hover {
    opacity: 1;
}

.c-blog-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 535 / 295;
    overflow: hidden;
    background: var(--color-navy);
}

.c-blog-card__thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.c-blog-card:hover .c-blog-card__thumb > img {
    transform: scale(1.03);
}

.c-blog-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 10px;
    color: var(--color-white);
}

.c-blog-card__brand-logo {
    width: 68px;
    height: 45px;
    padding: 5px;
    border-radius: 10px;
    background: var(--color-white);
    object-fit: contain;
}

.c-blog-card__brand-name {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--color-white);
    font-size: 29px;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 2.3px;
    white-space: nowrap;
}

.c-blog-card__brand-name small {
    font-size: 22px;
}

.c-blog-card__brand-name em {
    align-self: flex-end;
    margin-bottom: 1px;
    font-size: 9px;
    font-style: normal;
    letter-spacing: .72px;
}

.c-blog-card__body {
    padding-top: 15px;
}

.c-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 35px;
}

.c-blog-card__category {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 155px;
    width: 155px;
    height: 35px;
    color: var(--color-white);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 1.6px;
}

.c-blog-card__category--navy {
    background: var(--color-navy);
}

.c-blog-card__category--orange {
    background: var(--color-orange);
}

.c-blog-card__date {
    color: #d9d9d9;
    font-size: 16px;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 1.28px;
    white-space: nowrap;
}

.c-blog-card__title {
    margin-top: 14px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 2;
    letter-spacing: 1.6px;
}

@media (max-width: 768px) {
    .c-blog-card {
        width: 100%;
    }

    .c-blog-card__brand-logo {
        width: 54px;
        height: 40px;
    }

    .c-blog-card__brand-name {
        gap: 4px;
        font-size: clamp(18px, 5.5vw, 24px);
        letter-spacing: .08em;
    }

    .c-blog-card__brand-name small {
        font-size: .72em;
    }

    .c-blog-card__category {
        flex-basis: 132px;
        width: 132px;
        font-size: 16px;
        letter-spacing: 1.28px;
    }

    .c-blog-card__date {
        font-size: 14px;
        letter-spacing: .84px;
    }

    .c-blog-card__title {
        font-size: 17px;
        line-height: 1.8;
        letter-spacing: 1.02px;
    }
}
