/* style/fishing-games-popular-titles.css */
.page-fishing-games-popular-titles {
    color: #ffffff; /* Body background is dark, so text should be light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000000; /* Ensure main content background matches body */
}

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

.page-fishing-games-popular-titles__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games-popular-titles__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-fishing-games-popular-titles__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games-popular-titles__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
}

.page-fishing-games-popular-titles__hero-section .page-fishing-games-popular-titles__container {
    z-index: 10;
    position: relative;
}

.page-fishing-games-popular-titles__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-fishing-games-popular-titles__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Darken image for text readability */
}

.page-fishing-games-popular-titles__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-titles__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-titles__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-fishing-games-popular-titles__cta-buttons--centered {
    justify-content: center;
}

.page-fishing-games-popular-titles__btn-primary,
.page-fishing-games-popular-titles__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping for buttons */
    word-wrap: break-word; /* Allow text wrapping for buttons */
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games-popular-titles__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-fishing-games-popular-titles__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-fishing-games-popular-titles__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games-popular-titles__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-fishing-games-popular-titles__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games-popular-titles__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: inherit;
}

.page-fishing-games-popular-titles__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: inherit;
}

.page-fishing-games-popular-titles__content-area p,
.page-fishing-games-popular-titles__content-area li {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: inherit;
}

.page-fishing-games-popular-titles__game-grid,
.page-fishing-games-popular-titles__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games-popular-titles__game-card,
.page-fishing-games-popular-titles__promo-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games-popular-titles__game-image,
.page-fishing-games-popular-titles__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games-popular-titles__game-title,
.page-fishing-games-popular-titles__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-fishing-games-popular-titles__game-title a,
.page-fishing-games-popular-titles__promo-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games-popular-titles__game-title a:hover,
.page-fishing-games-popular-titles__promo-title a:hover {
    text-decoration: underline;
}

.page-fishing-games-popular-titles__game-card p,
.page-fishing-games-popular-titles__promo-card p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #555555;
    flex-grow: 1;
}

.page-fishing-games-popular-titles__image-text-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games-popular-titles__text-content {
    flex: 1;
    text-align: left;
}

.page-fishing-games-popular-titles__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games-popular-titles__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.page-fishing-games-popular-titles__step-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games-popular-titles__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-fishing-games-popular-titles__step-item h3 {
    color: #26A9E0;
    margin-top: 0;
}

.page-fishing-games-popular-titles__step-item p {
    color: #f0f0f0;
}

.page-fishing-games-popular-titles__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games-popular-titles__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games-popular-titles__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games-popular-titles__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-fishing-games-popular-titles__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-fishing-games-popular-titles__faq-item.active .page-fishing-games-popular-titles__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-fishing-games-popular-titles__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-fishing-games-popular-titles__faq-item.active .page-fishing-games-popular-titles__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

.page-fishing-games-popular-titles__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

.page-fishing-games-popular-titles__cta-bottom {
    background-color: #26A9E0; /* Use brand color for bottom CTA */
    color: #ffffff;
    padding: 80px 0;
}

.page-fishing-games-popular-titles__cta-bottom-content {
    max-width: 900px;
}

.page-fishing-games-popular-titles__cta-bottom-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-fishing-games-popular-titles__cta-bottom-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games-popular-titles__hero-title {
        font-size: 3em;
    }
    .page-fishing-games-popular-titles__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games-popular-titles__sub-title {
        font-size: 1.6em;
    }
    .page-fishing-games-popular-titles__image-text-layout {
        flex-direction: column;
    }
    .page-fishing-games-popular-titles__text-content,
    .page-fishing-games-popular-titles__image-wrapper {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games-popular-titles__hero-section {
        padding-bottom: 60px;
    }
    .page-fishing-games-popular-titles__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games-popular-titles__hero-description {
        font-size: 1em;
    }
    .page-fishing-games-popular-titles__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-fishing-games-popular-titles__btn-primary,
    .page-fishing-games-popular-titles__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games-popular-titles__section {
        padding: 40px 0;
    }
    .page-fishing-games-popular-titles__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games-popular-titles__sub-title {
        font-size: 1.4em;
    }
    .page-fishing-games-popular-titles__content-area p,
    .page-fishing-games-popular-titles__content-area li {
        font-size: 0.95em;
    }
    .page-fishing-games-popular-titles__game-grid,
    .page-fishing-games-popular-titles__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games-popular-titles__game-card,
    .page-fishing-games-popular-titles__promo-card {
        padding: 20px;
    }
    .page-fishing-games-popular-titles__game-title,
    .page-fishing-games-popular-titles__promo-title {
        font-size: 1.2em;
    }
    .page-fishing-games-popular-titles__game-card p,
    .page-fishing-games-popular-titles__promo-card p {
        font-size: 0.9em;
    }
    .page-fishing-games-popular-titles__cta-bottom-title {
        font-size: 2em;
    }
    .page-fishing-games-popular-titles__cta-bottom-description {
        font-size: 1em;
    }

    /* Mobile image and video responsiveness */
    .page-fishing-games-popular-titles img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games-popular-titles video,
    .page-fishing-games-popular-titles__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games-popular-titles__section,
    .page-fishing-games-popular-titles__card,
    .page-fishing-games-popular-titles__container,
    .page-fishing-games-popular-titles__video-section,
    .page-fishing-games-popular-titles__video-container,
    .page-fishing-games-popular-titles__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games-popular-titles__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section top padding is correct */
    }
    .page-fishing-games-popular-titles__cta-buttons,
    .page-fishing-games-popular-titles__button-group,
    .page-fishing-games-popular-titles__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games-popular-titles__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-fishing-games-popular-titles__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games-popular-titles__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games-popular-titles__sub-title {
        font-size: 1.2em;
    }
}