.gshop-guides-all {
    margin-top: 34px;
}

.gshop-guides-all__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.gshop-guides-all__header > div > span {
    display: block;
    margin-bottom: 6px;
    color: #d70000;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gshop-guides-all__header h2 {
    margin: 0 !important;
    font-size: 30px !important;
}

.gshop-guides-all__header p {
    margin: 8px 0 0 !important;
    color: #626971 !important;
    font-size: 13px !important;
}

.gshop-guides-all__header > strong {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #555d65;
    font-size: 12px;
}

.gshop-guides-all__header > strong b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111317;
    color: #fff;
    font-size: 13px;
}

.gshop-guide-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    border: 1px solid #dfe3e7;
    border-radius: 12px;
    background: #fff;
}

.gshop-guide-filters button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #dfe3e7;
    border-radius: 7px;
    background: #f5f6f8;
    color: #343a40;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
}

.gshop-guide-filters button span {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #fff;
    color: #757b82;
    font-size: 9px;
}

.gshop-guide-filters button[aria-pressed="true"] {
    border-color: #d70000;
    background: #d70000;
    color: #fff;
}

.gshop-guide-filters button[aria-pressed="true"] span {
    color: #d70000;
}

.gshop-guides-all .gshop-guides-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.gshop-guides-all .gshop-guide-card {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1101px) {
    .gshop-guides-all .gshop-guide-card:last-child:nth-child(4n + 1) {
        grid-column: 2 / span 2;
    }
}

.gshop-guides-all .gshop-guide-card[hidden] {
    display: none !important;
}

.gshop-guides-all .gshop-guide-card__media {
    min-height: 172px;
}

.gshop-guides-all .gshop-guide-card > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.gshop-guides-all .gshop-guide-card__category {
    min-height: 25px;
    color: #d70000;
    letter-spacing: .04em;
}

.gshop-guides-all .gshop-guide-card h3 {
    min-height: 40px;
    font-size: 17px !important;
}

.gshop-guides-all .gshop-guide-card p {
    min-height: 0;
    flex: 1;
    font-size: 13px !important;
}

.gshop-guides-all .gshop-guide-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #eceef0;
}

.gshop-guides-empty {
    margin: 22px 0 0 !important;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

@media (max-width: 1100px) {
    .gshop-guides-all .gshop-guides-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gshop-guides-all .gshop-guide-card:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

@media (max-width: 800px) {
    .gshop-guides-all__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .gshop-guides-all .gshop-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gshop-guides-all .gshop-guide-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .gshop-guide-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px;
    }

    .gshop-guide-filters button {
        flex: 0 0 auto;
    }

    .gshop-guides-all .gshop-guides-grid {
        grid-template-columns: 1fr;
    }

    .gshop-guides-all .gshop-guide-card:last-child {
        grid-column: auto;
    }

    .gshop-guides-all .gshop-guide-card__media {
        min-height: 150px;
    }
}
