.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #f9f9f9; /* Light background for the page content */
}

/* Container for consistent content width */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #f0f8ff; /* Light blueish background */
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 20px;
    z-index: 1; /* Ensure content is above image if any overlap */
}

.page-fishing-games__main-title {
    font-size: clamp(32px, 5vw, 48px); /* Use clamp for H1 */
    font-weight: 800;
    color: #26A9E0; /* Brand color for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333333;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive wrapping */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure buttons don't exceed container */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1a8cc7;
    transform: translateY(-2px);
}

/* Specific color for Login/Register buttons from custom config */
.page-fishing-games__btn-login,
.page-fishing-games__btn-register {
    background-color: #EA7C07; /* Login color from config */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-fishing-games__btn-login:hover,
.page-fishing-games__btn-register:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

/* About Section */
.page-fishing-games__about-section {
    padding: 60px 0;
}

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
}

.page-fishing-games__image-block {
    flex: 1;
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Game Types Section */
.page-fishing-games__game-types {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark section with brand color */
    color: #FFFFFF; /* White text for dark background */
}

.page-fishing-games__game-types .page-fishing-games__section-title,
.page-fishing-games__game-types .page-fishing-games__section-description {
    color: #FFFFFF; /* Ensure titles/descriptions are white */
}

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

.page-fishing-games__product-card {
    background-color: #FFFFFF;
    color: #333333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 15px 10px;
    color: #26A9E0;
}

.page-fishing-games__card-description {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 15px 20px;
    color: #555555;
}

.page-fishing-games__card-button {
    background-color: #EA7C07; /* Use Login color for card buttons */
    color: #FFFFFF;
    border: none;
    padding: 12px 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
}

.page-fishing-games__card-button:hover {
    background-color: #d16e06;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
}

.page-fishing-games__guide-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__step-icon {
    width: 150px; /* Larger icons as per rules */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded */
}

.page-fishing-games__step-title {
    font-size: 24px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: #f0f8ff; /* Light blueish background */
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-fishing-games__tip-item {
    background-color: #FFFFFF;
    border-left: 5px solid #26A9E0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.page-fishing-games__tip-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.page-fishing-games__tip-heading {
    font-size: 20px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-fishing-games__tip-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background from config */
    color: #FFFFFF;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-description {
    color: #FFFFFF;
}

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

.page-fishing-games__promo-card {
    background-color: #1a1a1a; /* Slightly lighter dark background for cards */
    color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
    height: 220px; /* Adjust height for promo images */
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: #26A9E0; /* Brand color for promo titles */
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    color: #cccccc;
}

.page-fishing-games__promo-card .page-fishing-games__card-button {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-fishing-games__promo-card .page-fishing-games__card-button:hover {
    background-color: #1a8cc7;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 18px; /* Slightly larger for better readability */
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* SEO Article Section */
.page-fishing-games__seo-article {
    padding: 60px 0;
}

.page-fishing-games__article-body {
    max-width: 900px; /* Max width for article readability */
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

.page-fishing-games__article-body h3 {
    font-size: 28px;
    font-weight: 700;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-fishing-games__article-body p {
    margin-bottom: 20px;
}

.page-fishing-games__article-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-fishing-games__article-body li {
    margin-bottom: 10px;
}

.page-fishing-games__article-figure {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* General image styling for content areas */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 15px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-fishing-games__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px; /* Add small horizontal padding */
    }

    /* HERO Section */
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 300px; /* Smaller hero image on mobile */
    }
}