.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default body background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: #f9f9f9; /* Light background for the hero section */
}

.page-fishing-games__hero-section .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-fishing-games__image-wrapper {
    width: 100%;
    max-width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__content-block {
    max-width: 800px;
    margin-top: 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #e0e0e0;
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 60px 0;
}

.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__light-text {
    color: #f0f0f0; /* Lighter text for dark background */
}

.page-fishing-games__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from section background */
}

.page-fishing-games__text-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-fishing-games__text-block p {
    margin-bottom: 1em;
}

.page-fishing-games__text-block ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

.page-fishing-games__text-block li {
    margin-bottom: 0.5em;
}

/* Grid Layout for Game Types */
.page-fishing-games__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333333;
}

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

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
}

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

/* Two-Column Layout */
.page-fishing-games__two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__column-text h3 {
    font-size: 1.8em;
    color: #FFFF00; /* Register/Login font color for titles on dark background */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-fishing-games__column-text p,
.page-fishing-games__column-text ul {
    font-size: 1.05em;
    margin-bottom: 1.5em;
}

.page-fishing-games__column-image {
    text-align: center;
}

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

.page-fishing-games__strategy-list {
    list-style-type: decimal;
    margin-left: 25px;
    font-size: 1.05em;
    line-height: 1.8;
    color: #333333;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 1em;
}

.page-fishing-games__strategy-list li strong {
    color: #017439;
}

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

.page-fishing-games__promo-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__promo-item h3 {
    font-size: 1.6em;
    font-weight: 600;
    color: #FFFF00; /* Yellow for titles on dark background */
    margin-bottom: 15px;
}

.page-fishing-games__promo-item p {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure dark text on light background */
}
.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;
  color: #555555; /* Ensure readable text color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section .page-fishing-games__container {
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 2.5em);
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__two-column-layout {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__column-image {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-fishing-games__column-text h3 {
        font-size: 1.6em;
    }
    .page-fishing-games__grid-layout {
        gap: 20px;
    }
    .page-fishing-games__card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Top padding for the first block */
        padding-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em) !important;
        margin-bottom: 10px;
    }
    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Section titles */
    .page-fishing-games__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__image-wrapper,
    .page-fishing-games__column-image,
    .page-fishing-games__card,
    .page-fishing-games__promo-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Grid layouts for single column */
    .page-fishing-games__grid-layout,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    .page-fishing-games__column-text h3 {
        font-size: 1.5em;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__column-text {
        font-size: 1em;
    }

    /* FAQ */
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 15px; }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
    }
}