.page-resources-game-guides {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
}

.page-resources-game-guides__hero-section {
    background-color: #000080; /* Deep blue background for hero */
    color: #ffffff; /* Light text on dark background */
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Minimum height for hero */
}

.page-resources-game-guides__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-resources-game-guides__hero-title {
    font-size: 3em;
    color: #FFD700; /* Gold for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-game-guides__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-game-guides__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #000080; /* Deep blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-game-guides__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-game-guides__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-game-guides__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

.page-resources-game-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
}

.page-resources-game-guides__table-of-contents {
    flex: 0 0 280px; /* Fixed width for TOC */
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    align-self: flex-start; /* Stick to the top */
    position: sticky;
    top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky top position */
    max-height: calc(100vh - var(--header-offset, 120px) - 40px);
    overflow-y: auto;
}

.page-resources-game-guides__toc-title {
    font-size: 1.5em;
    color: #000080; /* Deep blue */
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700; /* Gold underline */
    padding-bottom: 10px;
}

.page-resources-game-guides__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-game-guides__toc-list li {
    margin-bottom: 10px;
}

.page-resources-game-guides__toc-link {
    text-decoration: none;
    color: #333333;
    font-size: 1.05em;
    display: block;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.page-resources-game-guides__toc-link:hover {
    color: #FFD700; /* Gold on hover */
}

.page-resources-game-guides__article {
    flex: 1;
    max-width: 800px; /* Content width control */
}

.page-resources-game-guides__article-heading {
    font-size: 2.2em;
    color: #000080; /* Deep blue */
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700; /* Gold accent */
    padding-left: 15px;
}

.page-resources-game-guides__article-subheading {
    font-size: 1.6em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-game-guides__article-paragraph {
    font-size: 1.1em;
    margin-bottom: 1em;
    line-height: 1.7;
}

.page-resources-game-guides__image-container {
    text-align: center;
    margin: 30px 0;
}

.page-resources-game-guides__article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-resources-game-guides__inline-link {
    color: #000080; /* Deep blue link */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s ease;
}

.page-resources-game-guides__inline-link:hover {
    color: #FFD700; /* Gold on hover */
}

.page-resources-game-guides__cta-buttons {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-resources-game-guides__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #000080;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-game-guides__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-game-guides__cta-button--secondary {
    background-color: #000080;
    color: #FFD700;
}

.page-resources-game-guides__cta-button--secondary:hover {
    background-color: #000066;
    color: #FFD700;
}

.page-resources-game-guides__related-resources {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-game-guides__related-title {
    font-size: 1.8em;
    color: #000080;
    margin-bottom: 25px;
    text-align: center;
}

.page-resources-game-guides__related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.page-resources-game-guides__related-list li {
    margin-bottom: 12px;
}

.page-resources-game-guides__related-link {
    text-decoration: none;
    color: #333333;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.2s ease;
}

.page-resources-game-guides__related-link:hover {
    color: #FFD700;
}

.page-resources-game-guides__back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #000080;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s ease;
}

.page-resources-game-guides__back-link:hover {
    color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-game-guides__content-area {
        flex-direction: column;
    }

    .page-resources-game-guides__table-of-contents {
        width: 100%;
        max-width: none;
        position: static;
        top: auto;
        margin-bottom: 30px;
    }

    .page-resources-game-guides__article {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-game-guides__hero-title {
        font-size: 2.2em;
    }

    .page-resources-game-guides__hero-description {
        font-size: 1em;
    }

    .page-resources-game-guides__article-heading {
        font-size: 1.8em;
    }

    .page-resources-game-guides__article-subheading {
        font-size: 1.4em;
    }

    .page-resources-game-guides__article-paragraph {
        font-size: 1em;
    }

    /* Mobile overflow prevention */
    .page-resources-game-guides img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size is still met for content images */
        min-height: 200px;
    }
    .page-resources-game-guides__hero-image img {
        min-width: auto; /* Hero image can be smaller if needed for responsiveness */
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-game-guides__hero-title {
        font-size: 1.8em;
    }

    .page-resources-game-guides__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-game-guides__cta-buttons {
        flex-direction: column;
    }
    .page-resources-game-guides__cta-button {
        width: 100%;
    }
}