/* style/resources-789f-game-beginner-guide.css */

/* Base styles for the page content, ensuring light text on dark background */
.page-resources-789f-game-beginner-guide {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body or shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

/* Container for general content sections */
.page-resources-789f-game-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Headings */
.page-resources-789f-game-beginner-guide__heading {
    color: #26A9E0; /* Brand color for main headings */
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-789f-game-beginner-guide__sub-heading {
    color: #ffffff;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-789f-game-beginner-guide__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Lists */
.page-resources-789f-game-beginner-guide__list,
.page-resources-789f-game-beginner-guide__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-resources-789f-game-beginner-guide__ordered-list {
    list-style-type: decimal;
}

.page-resources-789f-game-beginner-guide__list-item {
    margin-bottom: 10px;
}

/* Buttons */
.page-resources-789f-game-beginner-guide__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-789f-game-beginner-guide__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-789f-game-beginner-guide__btn-primary:hover {
    background-color: #1e87b8; /* Slightly darker on hover */
    border-color: #1e87b8;
}

.page-resources-789f-game-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-789f-game-beginner-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources-789f-game-beginner-guide__button-group {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* Image styles */
.page-resources-789f-game-beginner-guide__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-resources-789f-game-beginner-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Hero Section */
.page-resources-789f-game-beginner-guide__hero-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('[GALLERY:hero_main:1920x1080:789f game,beginner guide,online gambling,sports betting,casino,promotions]') no-repeat center center/cover;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-resources-789f-game-beginner-guide__hero-image-wrapper {
    display: none; /* Hide hero image wrapper as background handles it */
}

.page-resources-789f-game-beginner-guide__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-resources-789f-game-beginner-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    line-height: 1.2;
}

.page-resources-789f-game-beginner-guide__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Game Grid Section */
.page-resources-789f-game-beginner-guide__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-789f-game-beginner-guide__game-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-789f-game-beginner-guide__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-789f-game-beginner-guide__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-789f-game-beginner-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources-789f-game-beginner-guide__card-title a {
    color: #26A9E0; /* Brand color for card titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-789f-game-beginner-guide__card-title a:hover {
    color: #1e87b8;
    text-decoration: underline;
}

.page-resources-789f-game-beginner-guide__card-description {
    font-size: 1em;
    color: #cccccc;
}

/* FAQ Section */
.page-resources-789f-game-beginner-guide__faq-section {
    background-color: rgba(255, 255, 255, 0.03); /* Slightly darker background for FAQ */
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-789f-game-beginner-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-789f-game-beginner-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-789f-game-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources-789f-game-beginner-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-789f-game-beginner-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-resources-789f-game-beginner-guide__faq-item.active .page-resources-789f-game-beginner-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-789f-game-beginner-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #cccccc;
}

.page-resources-789f-game-beginner-guide__faq-item.active .page-resources-789f-game-beginner-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px !important;
}

.page-resources-789f-game-beginner-guide__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    font-size: 1em;
}