﻿/* SCOPED styles to avoid breaking _Layout.cshtml */

.gamepage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.gamepage-hero {
    text-align: left;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.gamepage-content {
    display: flex;
    flex-direction: column;
    gap: 3rem; 
    justify-content: space-between;
    align-items: flex-start
}

@media (min-width: 992px) {
    .gamepage-content {
        flex-direction: row;
    }
}

.gamepage-main {
    flex: 1 1 65%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
}

.gamepage-sidebar {
    flex: 1 1 35%;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gamepage-section {
    margin-bottom: 2rem;
    padding: 0;
}

.gamepage-media-box {
    width: 100%;
    height: 400px;
    background: #000;
}

.gamepage-video {
    width: 100%;
    height: 100%;
    border: none;
}

.gamepage-media-image,
.gamepage-sidebar-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.gamepage-screenshots {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.gamepage-screenshot {
    height: 180px;
    flex-shrink: 0;
    object-fit: cover;
}

.gamepage-heading {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.gamepage-prose {
    line-height: 1.8;
    font-size: 1rem;
}

.gamepage-reviews,
.gamepage-news {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gamepage-review {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.gamepage-date {
    font-size: 0.85rem;
    color: #666;
}

.gamepage-link {
    color: #2563eb;
    text-decoration: none;
}

    .gamepage-link:hover {
        text-decoration: underline;
    }
