/* style/poker-omaha.css */

:root {
    --phdream-primary: #F2C14E;
    --phdream-secondary: #FFD36B;
    --phdream-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --phdream-card-bg: #111111;
    --phdream-background: #0A0A0A;
    --phdream-text-main: #FFF6D6;
    --phdream-border: #3A2A12;
    --phdream-glow: #FFD36B;
}

.page-poker-omaha {
    font-family: Arial, sans-serif;
    color: var(--phdream-text-main); /* Default text color for the page */
    background-color: var(--phdream-background);
}

.page-poker-omaha__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-poker-omaha__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px;
    filter: brightness(0.6); /* Darken image slightly for text contrast */
}

.page-poker-omaha__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: 90%;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
}

.page-poker-omaha__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--phdream-text-main);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-poker-omaha__tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 246, 214, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker-omaha__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-poker-omaha__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--phdream-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-poker-omaha__introduction-section,
.page-poker-omaha__advanced-strategies,
.page-poker-omaha__expert-tips,
.page-poker-omaha__faq-section {
    padding: 60px 0;
    background-color: var(--phdream-background);
    color: var(--phdream-text-main);
}

.page-poker-omaha__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-poker-omaha__dark-section {
    background-color: var(--phdream-background);
    color: var(--phdream-text-main);
}

.page-poker-omaha__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker-omaha__card {
    background-color: var(--phdream-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--phdream-border);
    color: var(--phdream-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-poker-omaha__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker-omaha__card-title {
    font-size: 1.6rem;
    color: var(--phdream-primary);
    margin-bottom: 15px;
}

.page-poker-omaha__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 246, 214, 0.8);
}

.page-poker-omaha__btn-primary,
.page-poker-omaha__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-poker-omaha__btn-primary {
    background: var(--phdream-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker-omaha__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-poker-omaha__btn-secondary {
    background-color: transparent;
    color: var(--phdream-primary);
    border: 2px solid var(--phdream-primary);
}

.page-poker-omaha__btn-secondary:hover {
    background-color: var(--phdream-primary);
    color: var(--phdream-background);
}

.page-poker-omaha__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-poker-omaha__mistake-list,
.page-poker-omaha__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    text-align: left;
}

.page-poker-omaha__list-item {
    background-color: #ffffff;
    color: #333333;
    padding: 15px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

.page-poker-omaha__list-item strong {
    color: var(--phdream-primary);
    margin-right: 10px;
}

.page-poker-omaha__tips-list .page-poker-omaha__list-item {
    background-color: var(--phdream-card-bg);
    color: var(--phdream-text-main);
    border: 1px solid var(--phdream-border);
}

.page-poker-omaha__tips-list .page-poker-omaha__list-item::before {
    content: counter(tip-counter);
    counter-increment: tip-counter;
    background: var(--phdream-button-gradient);
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-poker-omaha__tips-list {
    counter-reset: tip-counter;
}

.page-poker-omaha__mistake-image {
    display: block;
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-poker-omaha__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker-omaha__faq-item {
    background-color: var(--phdream-card-bg);
    border: 1px solid var(--phdream-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-poker-omaha__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--phdream-primary);
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.page-poker-omaha__faq-question:hover {
    background-color: #2a2a2a;
}

.page-poker-omaha__faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--phdream-primary);
}

.page-poker-omaha__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--phdream-text-main);
}

.page-poker-omaha__faq-item.active .page-poker-omaha__faq-toggle {
    transform: rotate(45deg);
}

.page-poker-omaha__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--phdream-text-main);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-poker-omaha__faq-item.active .page-poker-omaha__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px;
}

.page-poker-omaha__faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 246, 214, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker-omaha__hero-content {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-poker-omaha__hero-section {
        padding-bottom: 40px;
    }

    .page-poker-omaha__hero-content {
        width: 95%;
        padding: 15px;
    }

    .page-poker-omaha__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 15px;
    }

    .page-poker-omaha__tagline {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 25px;
    }

    .page-poker-omaha__section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-poker-omaha__text-block {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .page-poker-omaha__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-poker-omaha__card {
        padding: 20px;
    }

    .page-poker-omaha__card-title {
        font-size: 1.4rem;
    }

    .page-poker-omaha__card-text {
        font-size: 0.95rem;
    }

    .page-poker-omaha__btn-primary,
    .page-poker-omaha__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-poker-omaha__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-poker-omaha__list-item {
        font-size: 1rem;
        padding: 12px 20px;
        margin-bottom: 10px;
    }

    .page-poker-omaha__tips-list .page-poker-omaha__list-item::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        margin-right: 10px;
    }

    .page-poker-omaha__mistake-image {
        margin: 30px auto;
    }

    .page-poker-omaha__faq-question {
        padding: 15px 20px;
    }

    .page-poker-omaha__faq-question h3 {
        font-size: 1.1rem;
    }

    .page-poker-omaha__faq-toggle {
        font-size: 1.3rem;
    }

    .page-poker-omaha__faq-answer {
        padding: 0 20px;
    }

    .page-poker-omaha__faq-item.active .page-poker-omaha__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-poker-omaha__faq-answer p {
        font-size: 0.95rem;
    }

    /* Ensure all images and containers are responsive */
    .page-poker-omaha img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-poker-omaha__section,
    .page-poker-omaha__card,
    .page-poker-omaha__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Adjust padding for sections on mobile */
    .page-poker-omaha__introduction-section,
    .page-poker-omaha__strategy-overview,
    .page-poker-omaha__advanced-strategies,
    .page-poker-omaha__common-mistakes,
    .page-poker-omaha__expert-tips,
    .page-poker-omaha__cta-section,
    .page-poker-omaha__faq-section {
        padding: 40px 0;
    }

    .page-poker-omaha__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-poker-omaha__main-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .page-poker-omaha__tagline {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }

    .page-poker-omaha__btn-primary,
    .page-poker-omaha__btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .page-poker-omaha__faq-question h3 {
        font-size: 1rem;
    }

    .page-poker-omaha__faq-toggle {
        font-size: 1.2rem;
    }
}