/* =========================================
   SPE REVIEW INDEX
========================================= */

.spe-review-index {
    max-width: 1220px;
    margin: 0 auto;
    padding: 55px 24px 100px;
    background: #111;
    color: #fff;
}


/* =========================================
   HEADER
========================================= */

.spe-review-index-header {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.spe-review-index-kicker {
    margin-bottom: 10px;
    color: #ffd400;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.spe-review-index-header h1 {
    margin: 0 0 16px;
    color: #ffd400;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.spe-review-index-header p {
    margin: 0 auto;
    color: #d8d8d8;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================
   RANKINGS LINKS
========================================= */

.spe-review-index-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 30px;
    padding: 14px 16px;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    background: #181818;
}

.spe-review-index-links span {
    margin-right: 6px;
    color: #aaa;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.spe-review-index-links a {
    padding: 7px 12px;
    border-radius: 4px;
    background: #ffd400;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.spe-review-index-links a:hover {
    background: #fff;
}


/* =========================================
   FILTERS
========================================= */

.spe-review-filters {
    margin-bottom: 35px;
    padding: 20px;
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    background: #181818;
}

.spe-review-filters form {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr))
        minmax(180px, 1.4fr)
        auto;
    gap: 12px;
    align-items: end;
}

.spe-review-filter {
    min-width: 0;
}

.spe-review-filter label {
    display: block;
    margin-bottom: 7px;
    color: #ffd400;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spe-review-filter select,
.spe-review-filter input {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    background: #0d0d0d;
    color: #fff;
    font-size: 14px;
}

.spe-review-filter select:focus,
.spe-review-filter input:focus {
    outline: 2px solid #ffd400;
    outline-offset: 1px;
}

.spe-review-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spe-review-filter-actions button {
    min-height: 44px;
    padding: 9px 15px;
    border: 0;
    border-radius: 5px;
    background: #ffd400;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.spe-review-filter-actions button:hover {
    background: #fff;
}

.spe-review-filter-actions a {
    color: #aaa;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.spe-review-filter-actions a:hover {
    color: #ffd400;
}


/* =========================================
   RESULT COUNT
========================================= */

.spe-review-index-result-count {
    margin-bottom: 18px;
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   REVIEW GRID
========================================= */

.spe-review-index-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================
   REVIEW CARD
========================================= */

.spe-review-index-card {
    overflow: hidden;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    background: #181818;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.spe-review-index-card:hover {
    transform: translateY(-4px);
    border-color: #ffd400;
    background: #1c1c1c;
}


/* =========================================
   CARD IMAGE
========================================= */

.spe-review-index-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #080808;
}

.spe-review-index-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.spe-review-index-card:hover
.spe-review-index-image img {
    transform: scale(1.03);
}

.spe-review-index-no-image {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #ffd400;
    font-size: 34px;
    font-weight: 900;
}

.spe-review-index-score {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd400;
    border-radius: 50%;
    background: #080808;
    color: #ffd400;
    font-size: 20px;
    font-weight: 900;
}


/* =========================================
   CARD BODY
========================================= */

.spe-review-index-card-body {
    padding: 18px;
}

.spe-review-index-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.spe-review-index-tier,
.spe-review-index-passion {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.spe-review-index-tier {
    background: #ffd400;
    color: #111;
}

.spe-review-index-passion {
    background: #303030;
    color: #fff;
}


/* Tier utility classes */

.spe-tier-hof {
    background: #ffd400;
    color: #111;
}

.spe-tier-a {
    background: #ffd400;
    color: #111;
}

.spe-tier-b {
    background: #2d8c47;
    color: #fff;
}

.spe-tier-c {
    background: #326da8;
    color: #fff;
}

.spe-tier-m {
    background: #555;
    color: #fff;
}

.spe-tier-f {
    background: #9d3030;
    color: #fff;
}


/* =========================================
   TITLE
========================================= */

.spe-review-index-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
}

.spe-review-index-card h2 a {
    color: #fff;
    text-decoration: none;
}

.spe-review-index-card h2 a:hover {
    color: #ffd400;
}


/* =========================================
   TAGS
========================================= */

.spe-review-index-tags,
.spe-review-index-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 9px;
}

.spe-review-index-tags span,
.spe-review-index-platforms span {
    padding: 4px 7px;
    border-radius: 999px;
    background: #292929;
    color: #cfcfcf;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.spe-review-index-platforms span {
    background: #222;
    color: #aaa;
}


/* =========================================
   CARD FOOTER
========================================= */

.spe-review-index-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #2b2b2b;
}

.spe-review-index-footer span {
    color: #888;
    font-size: 10px;
    font-weight: 700;
}

.spe-review-index-footer a {
    color: #ffd400;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.spe-review-index-footer a:hover {
    color: #fff;
}


/* =========================================
   PAGINATION
========================================= */

.spe-review-pagination {
    margin-top: 45px;
    text-align: center;
}

.spe-review-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.spe-review-pagination li {
    margin: 0;
    padding: 0;
}

.spe-review-pagination a,
.spe-review-pagination span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #181818;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.spe-review-pagination a:hover {
    border-color: #ffd400;
    color: #ffd400;
}

.spe-review-pagination .current {
    border-color: #ffd400;
    background: #ffd400;
    color: #111;
}


/* =========================================
   NO RESULTS
========================================= */

.spe-review-no-results {
    max-width: 650px;
    margin: 60px auto;
    padding: 45px 25px;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    background: #181818;
    text-align: center;
}

.spe-review-no-results h2 {
    margin: 0 0 12px;
    color: #ffd400;
    font-size: 32px;
    font-weight: 900;
}

.spe-review-no-results p {
    margin: 0 0 22px;
    color: #ccc;
    line-height: 1.6;
}

.spe-review-no-results a {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    background: #ffd400;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .spe-review-filters form {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .spe-review-filter-actions {
        grid-column: 1 / -1;
    }

    .spe-review-index-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .spe-review-index {
        padding: 35px 16px 70px;
    }

    .spe-review-index-header h1 {
        font-size: 42px;
    }

    .spe-review-index-header p {
        font-size: 16px;
    }

    .spe-review-index-links {
        align-items: stretch;
    }

    .spe-review-index-links span {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .spe-review-filters form {
        grid-template-columns: 1fr;
    }

    .spe-review-filter-actions {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
    }

    .spe-review-index-grid {
        grid-template-columns: 1fr;
    }

    .spe-review-index-card h2 {
        font-size: 20px;
    }

}