/* Blog Page Styles - Microsoft Store Design */

:root {
    --sl-panel-background-color: hsl(240 5.1% 15%);
    --sl-shadow-x-small: 0 1px 2px rgb(0 0 0 / 18%);
    --border-width: 1px;
    --border-color: hsl(240 4.6% 22%);
    --border-radius: 8px;
    --layout-padding: calc(100px + 2 * 3rem);
}

/* body.blog-page background removed — site.css owns the body bg. */
body.blog-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: white;
}

/* Main layout wrapper - no max-width */
.blog-wrapper {
    display: flex;
    gap: 30px;
    padding: 40px 150px 150px 150px;
    max-width: 1996px;
    align-items: flex-start;
}

/* Main content area */
.blog-main {
    flex: 1;
}

/* Card style */
.card {
    display: flex;
    flex-direction: column;
    background-color: var(--sl-panel-background-color);
    box-shadow: var(--sl-shadow-x-small);
    border: solid var(--border-width) var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

/* Page-wide Header */
.page-header {
    padding: 60px 150px;
    text-align: left;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 0;
}

/* Dark overlay for better text readability */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.page-header * {
    position: relative;
    z-index: 1;
}

.page-header img {
    width: 128px;
    margin: 0 0 20px;
    border-radius: 20px;
    display: block;
}

.page-header h1 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: white;
}

.page-header .subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    margin: 0;
    color: white;
}

/* Blog post cards */
.blog-post {
    padding: 40px;
}

.blog-text {
    color: white;
    font-size: 16px;
    padding-left: 20px;
    padding-bottom: 20px;
}

.blog-cred {
    color: gray;
    font-size: 14px;
    padding-bottom: 20px;
}

.blog-text a {
    color:  #5eb7f5;
    text-decoration: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.blog-post h2 {
    color: white;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 18px;
    padding-bottom: 0px;
    border-bottom: 1px solid #444;
}

/* Facebook post wrapper with light background */
.fb-post {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* Sidebar */
.blog-sidebar {
    width: 340px;
    flex-shrink: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
}

/* Discover more header */
.discover-header {
    font-size: 1.6em;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 25px 20px 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Game items container */
.game-items {
    padding: 0;
}

/* Game item links */
.game-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.game-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.game-icon-small {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.game-title {
    font-weight: 600;
    color: #5eb7f5;
    font-size: 1em;
    line-height: 1.3;
}

.game-item:hover .game-title {
    text-decoration: underline;
}

.game-category {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
}

.game-price {
    color: #5ddb5d;
    font-weight: 600;
    font-size: 0.95em;
}

/* Responsive design */
@media (max-width: 1200px) {
    .blog-wrapper {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
    }

    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 600px) {
    .blog-wrapper {
        padding: 10px;
        gap: 15px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 2em;
    }

    .blog-post {
        padding: 25px 20px;
    }

    .game-item {
        padding: 12px 15px;
        gap: 12px;
    }

    .game-icon-small {
        width: 56px;
        height: 56px;
    }

    .page-footer {
        padding: 20px 10px;
    }
}