/* style/blog-latest-game-trends.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-color: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-blog-latest-game-trends {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Main text color for the page */
    background-color: var(--bg-color);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for content below fixed header */
}

.page-blog-latest-game-trends a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-latest-game-trends a:hover {
    color: var(--primary-color);
}

.page-blog-latest-game-trends__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog-latest-game-trends__section {
    padding: 60px 0;
    position: relative;
}

/* Hero Section */
.page-blog-latest-game-trends__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--header-offset, 120px);
    min-height: 600px;
}

.page-blog-latest-game-trends__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-blog-latest-game-trends__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.page-blog-latest-game-trends__hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 40px 0;
}

.page-blog-latest-game-trends__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-blog-latest-game-trends__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-blog-latest-game-trends__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-blog-latest-game-trends__cta-buttons--center {
    margin-top: 30px;
}

.page-blog-latest-game-trends__btn-primary,
.page-blog-latest-game-trends__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog-latest-game-trends__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog-latest-game-trends__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-blog-latest-game-trends__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-blog-latest-game-trends__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* General Content Styling */
.page-blog-latest-game-trends__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-blog-latest-game-trends__paragraph {
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-blog-latest-game-trends__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-latest-game-trends__card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-latest-game-trends__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-latest-game-trends__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-blog-latest-game-trends__card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-blog-latest-game-trends__card-text {
    font-size: 1rem;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-blog-latest-game-trends__content-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-blog-latest-game-trends__content-with-image--reverse {
    flex-direction: row-reverse;
}

.page-blog-latest-game-trends__text-content {
    flex: 1;
}

.page-blog-latest-game-trends__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-blog-latest-game-trends__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-blog-latest-game-trends__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-latest-game-trends__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-blog-latest-game-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--card-bg-color);
    color: var(--secondary-color);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-blog-latest-game-trends__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.05);
}

.page-blog-latest-game-trends__faq-title {
    font-size: 1.15rem;
    margin: 0;
    color: var(--secondary-color);
}

.page-blog-latest-game-trends__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-blog-latest-game-trends__faq-item.active .page-blog-latest-game-trends__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-latest-game-trends__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main-color);
}

.page-blog-latest-game-trends__faq-item.active .page-blog-latest-game-trends__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-blog-latest-game-trends__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-blog-latest-game-trends__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-blog-latest-game-trends__content-with-image {
        flex-direction: column;
    }
    .page-blog-latest-game-trends__content-with-image--reverse {
        flex-direction: column;
    }
    .page-blog-latest-game-trends__image-wrapper {
        order: -1; /* Image appears above text in reversed layout on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-blog-latest-game-trends {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog-latest-game-trends__section {
        padding: 40px 0;
    }
    .page-blog-latest-game-trends__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-blog-latest-game-trends__main-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }
    .page-blog-latest-game-trends__intro-text {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    .page-blog-latest-game-trends__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-blog-latest-game-trends__btn-primary,
    .page-blog-latest-game-trends__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog-latest-game-trends__section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }
    .page-blog-latest-game-trends__card-grid {
        gap: 20px;
    }
    .page-blog-latest-game-trends__card {
        padding: 20px;
    }
    .page-blog-latest-game-trends__card-image {
        height: 180px;
    }
    .page-blog-latest-game-trends__content-image,
    .page-blog-latest-game-trends__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog-latest-game-trends__container {
        padding: 0 15px;
    }
    .page-blog-latest-game-trends__faq-question {
        padding: 15px 20px;
    }
    .page-blog-latest-game-trends__faq-title {
        font-size: 1rem;
    }
    .page-blog-latest-game-trends__faq-answer {
        padding: 0 20px;
    }
    .page-blog-latest-game-trends__faq-item.active .page-blog-latest-game-trends__faq-answer {
        padding: 15px 20px 20px 20px;
    }
}