/*
Theme Name: THE GAME EDIT
Description: Independent gaming publication theme.
Author: THE GAME EDIT
Template: oceanly
Version: 1.0.0
Text Domain: thegameedit
*/

/* THE GAME EDIT — Homepage */
body:has(.tge-site) {
    background: #101010 !important;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
}
body:has(.tge-site) #masthead,
body:has(.tge-site) #colophon {
    display: none !important;
}
body:has(.tge-site) #content,
body:has(.tge-site) .site-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}
.tge-site {
    background: #101010;
    color: #f5f5f5;
    min-height: 100vh;
}
.tge-site * { box-sizing: border-box; }
.tge-header {
    max-width: 1240px;
    margin: auto;
    min-height: 105px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid #303030;
}
.tge-brand > a {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-decoration: none;
}
.tge-brand > a span,
.tge-footer > a span { color: #e52b35; }
.tge-tagline {
    color: #999;
    font-size: 9px;
    letter-spacing: 2.2px;
    margin-top: 5px;
}
.tge-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}
.tge-nav a {
    color: #ddd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
}
.tge-nav a:hover { color: #ed303a; }
.tge-hero {
    max-width: 1240px;
    min-height: 510px;
    margin: 30px auto 75px;
    padding: 65px 55px 45px;
    background: radial-gradient(ellipse at 80% 45%, #492126 0%, #241518 32%, #171313 65%, #111 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.tge-hero-content { position: relative; z-index: 2; max-width: 650px; }
.tge-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #bbb;
}
.tge-kicker span {
    display: inline-block;
    width: 20px;
    height: 3px;
    background: #ed303a;
    vertical-align: middle;
    margin-right: 9px;
}
.tge-hero-label {
    margin: 30px 0 12px;
    color: #ed5960;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}
.tge-hero h1 {
    color: white;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .92;
    letter-spacing: -5px;
    font-weight: 900;
    margin: 0 0 25px;
}
.tge-hero-description {
    color: #c2bcbc;
    max-width: 440px;
    font-size: 15px;
    line-height: 1.8;
}
.tge-button {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 22px;
    background: #e52b35;
    color: white !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-decoration: none;
}
.tge-button:hover { background: #bd2029; }
.tge-button span { margin-left: 18px; }
.tge-hero-number {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-55%);
    color: rgba(255,255,255,.055);
    font-size: clamp(220px, 35vw, 440px);
    font-weight: 900;
    line-height: 1;
}
.tge-hero-bottom {
    position: absolute;
    bottom: 22px;
    right: 30px;
    color: #777;
    font-size: 9px;
    letter-spacing: 2px;
}
.tge-hero-bottom span { color: #e52b35; padding: 0 8px; }
.tge-latest {
    max-width: 1240px;
    margin: 0 auto 85px;
    padding: 0 28px;
}
.tge-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}
.tge-section-heading h2 {
    color: white;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 12px 0 0;
}
.tge-section-heading h2 span { color: #e52b35; }
.tge-section-heading > a {
    color: #ddd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}
.tge-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.tge-news-card {
    background: #191919;
    border: 1px solid #292929;
    min-width: 0;
}
.tge-card-art {
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.tge-art-one { background: linear-gradient(135deg, #49242b, #171719 75%); }
.tge-art-two { background: linear-gradient(135deg, #343434, #111 75%); }
.tge-art-three { background: linear-gradient(135deg, #292929, #171717 75%); }
.tge-card-art span {
    color: #ddd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}
.tge-card-art b {
    color: rgba(255,255,255,.13);
    font-size: 90px;
    line-height: 1;
    font-weight: 900;
}
.tge-card-art small {
    color: #e75a60;
    font-size: 9px;
    letter-spacing: 5px;
}
.tge-card-info { padding: 23px; }
.tge-category {
    color: #ed5960;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.tge-card-info h3 {
    color: white;
    font-size: 20px;
    line-height: 1.3;
    margin: 12px 0;
}
.tge-card-info p {
    color: #999;
    font-size: 13px;
    line-height: 1.7;
}
.tge-card-info a {
    display: inline-block;
    margin-top: 12px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}
.tge-card-info a:hover { color: #ed303a; }
.tge-newsletter {
    max-width: 1184px;
    margin: 0 auto 75px;
    padding: 45px;
    background: #191919;
    border-left: 3px solid #e52b35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.tge-newsletter h2 {
    color: white;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    margin: 15px 0;
}
.tge-newsletter p { color: #999; font-size: 13px; }
.tge-newsletter .tge-button { white-space: nowrap; }
.tge-footer {
    border-top: 1px solid #303030;
    padding: 35px 28px;
    text-align: center;
    color: #777;
}
.tge-footer > a {
    color: white;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}
.tge-footer p {
    color: #777;
    font-size: 9px;
    letter-spacing: 2px;
}
.tge-footer div { margin-top: 20px; font-size: 10px; }

@media (max-width: 760px) {
    .tge-header { align-items: flex-start; flex-direction: column; gap: 20px; padding: 22px; }
    .tge-nav { gap: 15px; }
    .tge-nav a { font-size: 10px; }
    .tge-hero { margin: 15px 12px 55px; min-height: 470px; padding: 45px 25px; }
    .tge-hero h1 { letter-spacing: -2px; }
    .tge-hero-number { right: -5%; font-size: 220px; }
    .tge-hero-bottom { font-size: 8px; right: 15px; }
    .tge-news-grid { grid-template-columns: 1fr; }
    .tge-latest { padding: 0 18px; }
    .tge-section-heading h2 { font-size: 31px; }
    .tge-newsletter { margin: 0 12px 50px; padding: 28px; align-items: flex-start; flex-direction: column; }
}

/* Full-width editorial layout */
html, body,
#page.site,
#content.site-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.tge-site {
    width: calc(100% - 64px);
    max-width: 1440px;
    margin: 0 auto;
}
.tge-header,
.tge-hero,
.tge-latest {
    max-width: none;
}
.tge-hero {
    min-height: 560px;
}
@media (max-width: 760px) {
    .tge-site {
        width: calc(100% - 24px);
    }
}
