/* style/index-poker-strategy-tutorials.css */

/* Base styles for the page content */
.page-index-poker-strategy-tutorials {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
}

/* Hero Section */
.page-index-poker-strategy-tutorials__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    background: linear-gradient(135deg, #26A9E0 0%, #1a7fb0 100%); /* Brand color gradient */
    color: #ffffff;
}

.page-index-poker-strategy-tutorials__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-index-poker-strategy-tutorials__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-index-poker-strategy-tutorials__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-index-poker-strategy-tutorials__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-poker-strategy-tutorials__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

/* Video Section */
.page-index-poker-strategy-tutorials__video-section {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-index-poker-strategy-tutorials__video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-index-poker-strategy-tutorials__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.page-index-poker-strategy-tutorials__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it behaves as a block element */
}

.page-index-poker-strategy-tutorials__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Content Area */
.page-index-poker-strategy-tutorials__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #ffffff; /* Explicitly white background */
    color: #333333; /* Dark text for white background */
    box-sizing: border-box;
}

.page-index-poker-strategy-tutorials__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-poker-strategy-tutorials__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-index-poker-strategy-tutorials__sub-section-title {
    font-size: 1.8em;
    color: #333333;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-poker-strategy-tutorials__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center;
    color: #555555;
}

.page-index-poker-strategy-tutorials__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #444444;
}

.page-index-poker-strategy-tutorials__text-block strong {
    color: #26A9E0;
}

.page-index-poker-strategy-tutorials__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-index-poker-strategy-tutorials__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-index-poker-strategy-tutorials__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444444;
}

.page-index-poker-strategy-tutorials__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-index-poker-strategy-tutorials__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-poker-strategy-tutorials__card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none; /* For link cards */
    color: #333333;
}

.page-index-poker-strategy-tutorials__card--link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-poker-strategy-tutorials__card-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-poker-strategy-tutorials__card-text {
    font-size: 1em;
    color: #555555;
}

/* CTA Section */
.page-index-poker-strategy-tutorials__cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-poker-strategy-tutorials__cta-text {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #333333;
    font-weight: bold;
}

/* FAQ Section */
.page-index-poker-strategy-tutorials__faq-list {
    margin-top: 40px;
}

.page-index-poker-strategy-tutorials__faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-poker-strategy-tutorials__faq-item details > summary {
    list-style: none; /* Hide default marker */
}
.page-index-poker-strategy-tutorials__faq-item details > summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-index-poker-strategy-tutorials__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background: #f0f8ff; /* Light blue tint */
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-index-poker-strategy-tutorials__faq-question:hover {
    background-color: #e6f7ff;
}

.page-index-poker-strategy-tutorials__faq-qtext {
    flex-grow: 1;
}

.page-index-poker-strategy-tutorials__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    width: 20px;
    text-align: center;
}

.page-index-poker-strategy-tutorials__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #555555;
    background: #ffffff;
}

/* Related Content Section */
.page-index-poker-strategy-tutorials__related-content {
    padding: 80px 20px;
    text-align: center;
    background: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text */
}

.page-index-poker-strategy-tutorials__related-content .page-index-poker-strategy-tutorials__section-title {
    color: #ffffff;
    margin-bottom: 40px;
}

.page-index-poker-strategy-tutorials__related-content .page-index-poker-strategy-tutorials__card {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white card */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: none;
}

.page-index-poker-strategy-tutorials__related-content .page-index-poker-strategy-tutorials__card-title {
    color: #ffffff;
}

.page-index-poker-strategy-tutorials__related-content .page-index-poker-strategy-tutorials__card-text {
    color: #f0f0f0;
}

.page-index-poker-strategy-tutorials__related-content .page-index-poker-strategy-tutorials__card--link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}


/* Buttons */
.page-index-poker-strategy-tutorials__btn-primary,
.page-index-poker-strategy-tutorials__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Important for responsive buttons */
    max-width: 100%; /* Important for responsive buttons */
    text-align: center;
}

.page-index-poker-strategy-tutorials__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-index-poker-strategy-tutorials__btn-primary:hover {
    background-color: #d16b00;
    border-color: #d16b00;
}

.page-index-poker-strategy-tutorials__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-index-poker-strategy-tutorials__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

/* Custom color classes for contrast */
.page-index-poker-strategy-tutorials__dark-bg {
    color: #ffffff; /* Dark background with light text */
}

.page-index-poker-strategy-tutorials__light-bg {
    color: #333333; /* Light background with dark text */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-poker-strategy-tutorials__hero-title {
        font-size: 2.8em;
    }
    .page-index-poker-strategy-tutorials__hero-description {
        font-size: 1.2em;
    }
    .page-index-poker-strategy-tutorials__section-title {
        font-size: 2em;
    }
    .page-index-poker-strategy-tutorials__sub-section-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-index-poker-strategy-tutorials__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }
    .page-index-poker-strategy-tutorials__hero-title {
        font-size: 2.2em;
    }
    .page-index-poker-strategy-tutorials__hero-description {
        font-size: 1em;
    }
    .page-index-poker-strategy-tutorials__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-poker-strategy-tutorials__btn-primary,
    .page-index-poker-strategy-tutorials__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-poker-strategy-tutorials__section-title {
        font-size: 1.8em;
    }
    .page-index-poker-strategy-tutorials__sub-section-title {
        font-size: 1.4em;
    }
    .page-index-poker-strategy-tutorials__text-block,
    .page-index-poker-strategy-tutorials__list li,
    .page-index-poker-strategy-tutorials__card-text,
    .page-index-poker-strategy-tutorials__faq-answer p {
        font-size: 0.95em;
    }
    .page-index-poker-strategy-tutorials__card-grid {
        grid-template-columns: 1fr;
    }
    .page-index-poker-strategy-tutorials__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    /* Mobile image and video responsive fix */
    .page-index-poker-strategy-tutorials img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-poker-strategy-tutorials__section,
    .page-index-poker-strategy-tutorials__card,
    .page-index-poker-strategy-tutorials__container,
    .page-index-poker-strategy-tutorials__video-section,
    .page-index-poker-strategy-tutorials__video-container,
    .page-index-poker-strategy-tutorials__video-wrapper,
    .page-index-poker-strategy-tutorials__hero-cta-buttons,
    .page-index-poker-strategy-tutorials__faq-list,
    .page-index-poker-strategy-tutorials__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-index-poker-strategy-tutorials__video-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-index-poker-strategy-tutorials__content-area {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-index-poker-strategy-tutorials__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}