/* style/resources-win13-latest-games-recommendations.css */

/* Base styles for the page content */
.page-resources-win13-latest-games-recommendations {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

.page-resources-win13-latest-games-recommendations__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header offset for fixed header */
.page-resources-win13-latest-games-recommendations__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Section Styling */
.page-resources-win13-latest-games-recommendations__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-win13-latest-games-recommendations__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Hero Section */
.page-resources-win13-latest-games-recommendations__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #26A9E0, #345678); /* Example gradient, can be image */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-resources-win13-latest-games-recommendations__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-resources-win13-latest-games-recommendations__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
    font-weight: 700;
}

.page-resources-win13-latest-games-recommendations__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-resources-win13-latest-games-recommendations__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-win13-latest-games-recommendations__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    filter: brightness(0.7); /* Darken image, but not change color */
}

/* CTA Buttons */
.page-resources-win13-latest-games-recommendations__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-win13-latest-games-recommendations__btn-primary,
.page-resources-win13-latest-games-recommendations__btn-secondary,
.page-resources-win13-latest-games-recommendations__btn-primary-small,
.page-resources-win13-latest-games-recommendations__btn-text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-resources-win13-latest-games-recommendations__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-resources-win13-latest-games-recommendations__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-resources-win13-latest-games-recommendations__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-resources-win13-latest-games-recommendations__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.page-resources-win13-latest-games-recommendations__btn-primary-small {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-resources-win13-latest-games-recommendations__btn-primary-small:hover {
    background-color: #1e87bb;
    border-color: #1e87bb;
}

.page-resources-win13-latest-games-recommendations__btn-text {
    background-color: transparent;
    color: #26A9E0;
    border: none;
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
}

.page-resources-win13-latest-games-recommendations__btn-text:hover {
    color: #1e87bb;
}

.page-resources-win13-latest-games-recommendations__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Dark Background Section */
.page-resources-win13-latest-games-recommendations__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-resources-win13-latest-games-recommendations__dark-section .page-resources-win13-latest-games-recommendations__section-title {
    color: #FFFFFF;
}

.page-resources-win13-latest-games-recommendations__dark-section .page-resources-win13-latest-games-recommendations__section-description {
    color: #F0F0F0;
}

/* Light Background Section */
.page-resources-win13-latest-games-recommendations__light-bg {
    background-color: #F8F8F8; /* A light grey to ensure contrast with white text if used */
    color: #333333;
    padding: 60px 0;
}

.page-resources-win13-latest-games-recommendations__light-bg .page-resources-win13-latest-games-recommendations__section-title {
    color: #26A9E0;
}

.page-resources-win13-latest-games-recommendations__light-bg .page-resources-win13-latest-games-recommendations__section-description {
    color: #555555;
}

/* Game Grid / Recommendation Grid */
.page-resources-win13-latest-games-recommendations__game-grid,
.page-resources-win13-latest-games-recommendations__recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-win13-latest-games-recommendations__game-card,
.page-resources-win13-latest-games-recommendations__recommendation-item,
.page-resources-win13-latest-games-recommendations__promo-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333; /* Ensure text color for cards */
}

.page-resources-win13-latest-games-recommendations__game-card:hover,
.page-resources-win13-latest-games-recommendations__recommendation-item:hover,
.page-resources-win13-latest-games-recommendations__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-win13-latest-games-recommendations__game-card-image,
.page-resources-win13-latest-games-recommendations__recommendation-image,
.page-resources-win13-latest-games-recommendations__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.page-resources-win13-latest-games-recommendations__game-card-title,
.page-resources-win13-latest-games-recommendations__recommendation-title,
.page-resources-win13-latest-games-recommendations__promo-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin: 20px 20px 10px 20px;
    font-weight: bold;
}

.page-resources-win13-latest-games-recommendations__game-card-title a,
.page-resources-win13-latest-games-recommendations__recommendation-title a,
.page-resources-win13-latest-games-recommendations__promo-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources-win13-latest-games-recommendations__game-card-title a:hover,
.page-resources-win13-latest-games-recommendations__recommendation-title a:hover,
.page-resources-win13-latest-games-recommendations__promo-title a:hover {
    text-decoration: underline;
}

.page-resources-win13-latest-games-recommendations__game-card-text,
.page-resources-win13-latest-games-recommendations__recommendation-text,
.page-resources-win13-latest-games-recommendations__promo-text {
    font-size: 1em;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

.page-resources-win13-latest-games-recommendations__game-card .page-resources-win13-latest-games-recommendations__btn-text,
.page-resources-win13-latest-games-recommendations__recommendation-item .page-resources-win13-latest-games-recommendations__btn-primary-small,
.page-resources-win13-latest-games-recommendations__promo-card .page-resources-win13-latest-games-recommendations__btn-primary-small {
    align-self: flex-start; /* Align button to start */
    margin: 0 20px 20px 20px;
}