.page-blog-latest-soc99-games {
    font-family: 'Arial', sans-serif;
    background-color: #08160F; /* Overall page background from custom colors */
    color: #F2FFF6; /* Main text color from custom colors */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-blog-latest-soc99-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-latest-soc99-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F;
}

.page-blog-latest-soc99-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-blog-latest-soc99-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-latest-soc99-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-blog-latest-soc99-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-latest-soc99-games__hero-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 40px;
}

.page-blog-latest-soc99-games__hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-blog-latest-soc99-games__btn-primary,
.page-blog-latest-soc99-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-latest-soc99-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-latest-soc99-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-blog-latest-soc99-games__btn-secondary {
    background-color: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-blog-latest-soc99-games__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
}

/* General Section Styling */
.page-blog-latest-soc99-games__section {
    padding: 60px 0;
    background-color: #08160F; /* Ensure dark background for sections */
}

.page-blog-latest-soc99-games__section:nth-child(even) {
    background-color: #0A1E14; /* Slightly different shade for contrast */
}

.page-blog-latest-soc99-games__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #F2C14E; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-blog-latest-soc99-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2AD16F;
    border-radius: 2px;
}

.page-blog-latest-soc99-games__section-text {
    font-size: 1.05rem;
    color: #A7D9B8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-blog-latest-soc99-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Game Grid */
.page-blog-latest-soc99-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-latest-soc99-games__game-card {
    background-color: #11271B; /* Card BG color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #F2FFF6;
}

.page-blog-latest-soc99-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-blog-latest-soc99-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-blog-latest-soc99-games__game-card h3 {
    font-size: 1.4rem;
    color: #F2C14E;
    margin: 20px 20px 10px 20px;
    text-align: center;
}

.page-blog-latest-soc99-games__game-card p {
    font-size: 0.95rem;
    color: #A7D9B8;
    padding: 0 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-blog-latest-soc99-games__card-link {
    display: block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    text-align: center;
    padding: 12px 20px;
    margin: 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.page-blog-latest-soc99-games__card-link:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Highlight Grid */
.page-blog-latest-soc99-games__highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-latest-soc99-games__highlight-item {
    background-color: #11271B;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #F2FFF6;
}

.page-blog-latest-soc99-games__highlight-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-blog-latest-soc99-games__highlight-title {
    font-size: 1.3rem;
    color: #57E38D; /* Glow color for highlight titles */
    margin: 20px 20px 10px 20px;
}

.page-blog-latest-soc99-games__highlight-description {
    font-size: 0.95rem;
    color: #A7D9B8;
    padding: 0 20px 20px 20px;
}

/* Feature List */
.page-blog-latest-soc99-games__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-latest-soc99-games__feature-item {
    background-color: #11271B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #F2FFF6;
}

.page-blog-latest-soc99-games__feature-title {
    font-size: 1.3rem;
    color: #2AD16F;
    margin-bottom: 15px;
}

.page-blog-latest-soc99-games__feature-description {
    font-size: 0.95rem;
    color: #A7D9B8;
}

/* Steps Grid */
.page-blog-latest-soc99-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-latest-soc99-games__step-card {
    background-color: #11271B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6;
}

.page-blog-latest-soc99-games__step-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-blog-latest-soc99-games__step-title {
    font-size: 1.3rem;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-blog-latest-soc99-games__step-description {
    font-size: 0.95rem;
    color: #A7D9B8;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-blog-latest-soc99-games__faq-section {
    padding: 60px 0;
    background-color: #0A1E14;
}

.page-blog-latest-soc99-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    overflow: hidden;
}

.page-blog-latest-soc99-games__faq-item {
    background-color: #11271B;
    border-bottom: 1px solid #2E7A4E;
    color: #F2FFF6;
}

.page-blog-latest-soc99-games__faq-item:last-child {
    border-bottom: none;
}

.page-blog-latest-soc99-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #57E38D;
    cursor: pointer;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-blog-latest-soc99-games__faq-question:hover {
    background-color: #1a3a2a;
}

.page-blog-latest-soc99-games__faq-question::-webkit-details-marker,
.page-blog-latest-soc99-games__faq-question::marker {
    display: none;
}

.page-blog-latest-soc99-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-blog-latest-soc99-games__faq-item[open] .page-blog-latest-soc99-games__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-latest-soc99-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8;
}

/* Final CTA */
.page-blog-latest-soc99-games__cta-final {
    padding: 80px 0;
    text-align: center;
    background-color: #08160F;
}

.page-blog-latest-soc99-games__cta-final-content {
    max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-latest-soc99-games__hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-blog-latest-soc99-games__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-blog-latest-soc99-games__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }
    .page-blog-latest-soc99-games__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-blog-latest-soc99-games__hero-description {
        font-size: 1rem;
    }
    .page-blog-latest-soc99-games__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog-latest-soc99-games__btn-primary,
    .page-blog-latest-soc99-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-blog-latest-soc99-games__section {
        padding: 40px 0;
    }
    .page-blog-latest-soc99-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-blog-latest-soc99-games__section-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-blog-latest-soc99-games__container {
        padding: 0 15px !important;
    }

    /* Images responsiveness */
    .page-blog-latest-soc99-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }
    .page-blog-latest-soc99-games__hero-image-wrapper,
    .page-blog-latest-soc99-games__game-grid,
    .page-blog-latest-soc99-games__highlight-grid,
    .page-blog-latest-soc99-games__feature-list,
    .page-blog-latest-soc99-games__steps-grid,
    .page-blog-latest-soc99-games__faq-list,
    .page-blog-latest-soc99-games__cta-final-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-blog-latest-soc99-games__card-image,
    .page-blog-latest-soc99-games__highlight-image,
    .page-blog-latest-soc99-games__step-image {
        height: auto !important; /* Let height adjust naturally */
        max-height: 200px !important; /* Limit max height for smaller screens */
    }

    .page-blog-latest-soc99-games__game-grid,
    .page-blog-latest-soc99-games__highlight-grid,
    .page-blog-latest-soc99-games__feature-list,
    .page-blog-latest-soc99-games__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-blog-latest-soc99-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-blog-latest-soc99-games__faq-answer {
        font-size: 0.9rem;
        padding: 0 20px 15px 20px;
    }
}