@media (max-width: 767px) {
    html body button.traffic-rider-tab-button {
        position: relative !important;
        left: 15px !important;
    }
}

@media (min-width: 1024px) {
    .traffic-rider-body-card > section[aria-label="Help and FAQ"],
    .traffic-rider-body-card > section.traffic-rider-data-safety {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 1024px) {
    .traffic-rider-related.traffic-rider-recommended > .traffic-rider-recommended-grid {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 1024px) {
    .traffic-rider-gallery-shell > .traffic-rider-gallery {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: 30px !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 1024px) {
    .traffic-rider-reviews .traffic-rider-review-form-card,
    .traffic-rider-reviews .traffic-rider-review-summary-card {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 1024px) {
    .tr-game-detail-hero-acf .tr-game-detail-content {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Mobile H1 responsive sizing – Homepage + Single Post */
@media (max-width: 767px) {
    .tr-game-detail-hero-acf .tr-game-detail-heading h1 {
        font-size: clamp(19px, 5vw, 22px) !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        letter-spacing: -0.3px !important;
        margin-bottom: 4px !important;
        overflow-wrap: anywhere;
    }
}

/* Mobile: Description text horizontal spacing */
@media (max-width: 767px) {
    body .traffic-rider-body-card .entry-content,
    body .traffic-rider-body-card .post-content,
    body .traffic-rider-body-card .the-content {
        padding-left: 5px !important;
        padding-right: 5px !important;
        box-sizing: border-box !important;
    }
}

html body footer.gma-footer .gma-footer-inner {
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 1024px) {
    footer.gma-footer .gma-footer-bottom {
        max-width: 1144px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}
