/*
 * SPE Player's Guide
 * Upload beside page-spe-players-guide.php in the Blocksy child theme.
 */
body.page-template-page-spe-players-guide {
    background: #0b0b0d;
}
.spe-pg-page {
    background: #0b0b0d;
    color: #f5f5f5;
    padding: 0 0 76px;
}
.spe-pg-shell {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}
.spe-pg-hero {
    padding: clamp(48px, 8vw, 100px) 0 52px;
    border-bottom: 1px solid #29292e;
}
.spe-pg-hero-kicker, .spe-pg-section-kicker, .spe-pg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffd400;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}
.spe-pg-hero-kicker span {
    width: 26px;
    height: 4px;
    background: #ffd400;
    display: inline-block;
}
.spe-pg-hero h1 {
    max-width: 950px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: .98;
    text-transform: uppercase;
}
.spe-pg-hero-deck {
    max-width: 760px;
    margin: 0;
    color: #c7c7cc;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}
.spe-pg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.spe-pg-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 13px 20px;
    border: 2px solid #ffd400;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.spe-pg-button-primary {
    background: #ffd400;
    color: #090909 !important;
}
.spe-pg-button-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #090909 !important;
    transform: translateY(-2px);
}
.spe-pg-button-secondary {
    background: transparent;
    color: #ffd400 !important;
}
.spe-pg-button-secondary:hover {
    background: #ffd400;
    color: #090909 !important;
}
.spe-pg-featured-section, .spe-pg-discovery, .spe-pg-latest-section {
    padding: 54px 0;
    border-bottom: 1px solid #29292e;
}
.spe-pg-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    margin-bottom: 24px;
}
.spe-pg-section-heading h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(26px, 4vw, 39px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.spe-pg-section-heading > p {
    max-width: 360px;
    margin: 0;
    color: #a8a8b0;
    font-size: 14px;
    line-height: 1.6;
}
.spe-pg-view-all {
    flex: 0 0 auto;
    color: #ffd400 !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
    text-transform: uppercase;
}
.spe-pg-view-all:hover, .spe-pg-text-link:hover {
    color: #fff !important;
}
.spe-pg-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr);
    min-height: 390px;
    background: #141416;
    border: 1px solid #2b2b31;
}
.spe-pg-featured-art {
    display: block;
    min-height: 350px;
    overflow: hidden;
    background: #1a1a1e;
}
.spe-pg-featured-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: transform .35s ease;
}
.spe-pg-featured-art:hover img { transform: scale(1.025); }
.spe-pg-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    height: 100%;
    background: linear-gradient(135deg, #242429, #101012);
    color: #ffd400;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
}
.spe-pg-featured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 4vw, 46px);
}
.spe-pg-featured-copy h2 {
    margin: 12px 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 950;
    letter-spacing: -.04em;
    line-height: 1.02;
    text-transform: uppercase;
}
.spe-pg-featured-copy h2 a, .spe-pg-game-card h3 a {
    color: #fff;
    text-decoration: none;
}
.spe-pg-featured-copy h2 a:hover, .spe-pg-game-card h3 a:hover { color: #ffd400; }
.spe-pg-developer {
    margin: 0 0 12px;
    color: #a7a7ae;
    font-size: 12px;
    font-weight: 700;
}
.spe-pg-featured-excerpt {
    margin: 0 0 20px;
    color: #d0d0d5;
    font-size: 15px;
    line-height: 1.7;
}
.spe-pg-featured-score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
}
.spe-pg-featured-score strong {
    color: #ffd400;
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
}
.spe-pg-featured-score strong span {
    color: #a7a7ae;
    font-size: 14px;
}
.spe-pg-featured-score > span {
    color: #a7a7ae;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}
.spe-pg-genre-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.spe-pg-genre-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 20px;
    overflow: hidden;
    background: #151518;
    border: 1px solid #2b2b31;
    color: #fff !important;
    text-decoration: none !important;
    transition: border-color .2s ease, transform .2s ease;
}
.spe-pg-genre-card:hover {
    border-color: #ffd400;
    transform: translateY(-3px);
}
.spe-pg-genre-count {
    color: #ffd400;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}
.spe-pg-genre-card strong {
    margin-top: 17px;
    max-width: 90%;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}
.spe-pg-genre-games {
    margin-top: 10px;
    color: #a7a7ae;
    font-size: 11px;
    line-height: 1.5;
}
.spe-pg-genre-arrow {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #ffd400;
    font-size: 20px;
}
.spe-pg-game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.spe-pg-game-card {
    min-width: 0;
    overflow: hidden;
    background: #141416;
    border: 1px solid #29292e;
    transition: border-color .2s ease, transform .2s ease;
}
.spe-pg-game-card:hover {
    border-color: #ffd400;
    transform: translateY(-3px);
}
.spe-pg-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1b1b20;
}
.spe-pg-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.spe-pg-card-image:hover img { transform: scale(1.04); }
.spe-pg-card-image .spe-pg-no-image { min-height: 100%; }
.spe-pg-score {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    background: #ffd400;
    color: #080808;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
}
.spe-pg-score small {
    margin-left: 2px;
    font-size: 9px;
    font-weight: 900;
}
.spe-pg-card-content { padding: 18px; }
.spe-pg-card-content .spe-pg-eyebrow { font-size: 9px; }
.spe-pg-game-card h3 {
    margin: 8px 0 6px;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.12;
}
.spe-pg-card-meta {
    min-height: 18px;
    margin: 10px 0 14px;
    color: #a7a7ae;
    font-size: 10px;
    line-height: 1.5;
}
.spe-pg-text-link {
    color: #ffd400 !important;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
    text-transform: uppercase;
}
.spe-pg-rankings-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin: 54px 0;
    padding: clamp(24px, 4vw, 42px);
    background: #171719;
    border-left: 6px solid #ffd400;
}
.spe-pg-rankings-band h2 {
    max-width: 700px;
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.spe-pg-rankings-band p {
    max-width: 720px;
    margin: 0;
    color: #c4c4ca;
    font-size: 14px;
    line-height: 1.7;
}
.spe-pg-bottom-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.spe-pg-bottom-links > a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 25px;
    background: #141416;
    border: 1px solid #29292e;
    color: #fff !important;
    text-decoration: none !important;
    transition: border-color .2s ease;
}
.spe-pg-bottom-links > a:hover { border-color: #ffd400; }
.spe-pg-bottom-links strong {
    font-size: 23px;
    font-weight: 900;
    line-height: 1.15;
}
.spe-pg-bottom-links > a > span:last-child {
    color: #b4b4bb;
    font-size: 13px;
    line-height: 1.5;
}
.spe-pg-bottom-links b { color: #ffd400; }
.spe-pg-empty {
    margin: 40px 0;
    padding: 30px;
    background: #151518;
    border: 1px solid #2b2b31;
}
.spe-pg-empty h2 { color: #ffd400; }
.spe-pg-empty p, .spe-pg-muted { color: #b4b4bb; }

@media (max-width: 900px) {
    .spe-pg-featured { grid-template-columns: 1fr; }
    .spe-pg-featured-art, .spe-pg-featured-art img { min-height: 280px; max-height: 420px; }
    .spe-pg-genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spe-pg-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .spe-pg-shell { width: min(100% - 28px, 1280px); }
    .spe-pg-hero { padding: 44px 0 36px; }
    .spe-pg-hero h1 { font-size: clamp(37px, 12vw, 58px); }
    .spe-pg-section-heading { align-items: flex-start; flex-direction: column; }
    .spe-pg-featured-section, .spe-pg-discovery, .spe-pg-latest-section { padding: 38px 0; }
    .spe-pg-genre-grid, .spe-pg-game-grid, .spe-pg-bottom-links { grid-template-columns: 1fr; }
    .spe-pg-genre-card { min-height: 135px; }
    .spe-pg-rankings-band { align-items: flex-start; flex-direction: column; margin: 38px 0; }
    .spe-pg-featured-art, .spe-pg-featured-art img { min-height: 220px; }
    .spe-pg-featured-copy { padding: 24px; }
}
