/* OP-04: Live-matching post grids (Elementor posts widget replacement) */

.fc-post-grid {
    margin: 24px 0 40px;
    text-align: left;
}

.fc-post-grid__heading {
    margin: 0 0 24px;
    font-family: "Rubik", "Century Gothic", Arial, sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 6.9px;
    text-transform: capitalize;
    color: #f68a8a;
}

.fc-post-grid__list {
    display: grid;
    gap: 35px 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-post-grid--cols-1 .fc-post-grid__list {
    grid-template-columns: 1fr;
}

.fc-post-grid--cols-2 .fc-post-grid__list {
    grid-template-columns: repeat(2, 1fr);
}

.fc-post-grid--cols-3 .fc-post-grid__list {
    grid-template-columns: repeat(3, 1fr);
}

.fc-post-grid__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.fc-post-grid__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.fc-post-grid--featured .fc-post-grid__thumb {
    aspect-ratio: 2.44 / 1;
}

.fc-post-grid__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-post-grid__title {
    margin: 20px 16px 16px;
    font-family: "Roboto Slab", Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
}

.fc-post-grid--featured .fc-post-grid__title {
    margin: 17px 0;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f68a8a;
}

.fc-post-grid--featured .fc-post-grid__title a {
    color: #f68a8a;
    text-decoration: none;
}

.fc-post-grid--cards .fc-post-grid__title {
    font-size: 20px;
}

.fc-post-grid--cards .fc-post-grid__title a {
    color: #000;
    text-decoration: none;
}

.fc-post-grid__read-more {
    display: inline-block;
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 1.3px;
    color: #f68a8a;
    text-decoration: none;
}

.fc-post-grid__pagination {
    margin-top: 32px;
    text-align: center;
    font-size: 21px;
    line-height: 2;
    letter-spacing: 3px;
}

.fc-post-grid__pagination .page-numbers {
    color: #f68a8a;
    text-decoration: none;
    margin: 0 10px;
}

.fc-post-grid__pagination .page-numbers.current {
    font-weight: 700;
}

.fc-home-hero__video {
    max-width: 980px;
    margin: 0 auto;
}

.fc-home-hero__video iframe,
.fc-home-hero__poster {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 200px;
}

.fc-home-hero__poster img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.fc-home-hero__rule {
    max-width: 135px;
    margin: 16px 0 24px;
    border-color: #000;
}

.fc-fashion-hub__title {
    margin: 0 0 8px;
    font-size: 40px;
    letter-spacing: 6.9px;
    text-transform: capitalize;
    color: #f68a8a;
}

.fc-fashion-hub__count {
    margin: 0 0 24px;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
}

@media (max-width: 1024px) {
    .fc-post-grid--cols-3 .fc-post-grid__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-post-grid__heading,
    .fc-fashion-hub__title {
        font-size: 35px;
    }
}

@media (max-width: 767px) {
    .fc-post-grid--cols-3 .fc-post-grid__list,
    .fc-post-grid--cols-2 .fc-post-grid__list {
        grid-template-columns: 1fr;
    }

    .fc-post-grid__heading,
    .fc-fashion-hub__title {
        font-size: 25px;
    }

    .fc-post-grid--featured .fc-post-grid__title {
        font-size: 28px;
    }
}