/* style/blog-okbet-sports-betting-guide.css */

/* Root variables for colors based on the Black Gold theme */
:root {
    --okbet-primary-color: #F2C14E; /* Main brand color */
    --okbet-secondary-color: #FFD36B; /* Auxiliary brand color */
    --okbet-button-gradient-start: #FFD86A;
    --okbet-button-gradient-end: #DDA11D;
    --okbet-card-bg: #111111;
    --okbet-section-bg: #0A0A0A; /* General section background, assuming dark body background */
    --okbet-text-main: #FFF6D6;
    --okbet-border-color: #3A2A12;
    --okbet-glow-color: #FFD36B;
}

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-blog-okbet-sports-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--okbet-text-main); /* Light text on dark background */
    background-color: var(--okbet-section-bg); /* Use dark background for main content area */
}

/* Hero Section */
.page-blog-okbet-sports-betting-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    background-color: var(--okbet-section-bg);
    overflow: hidden;
}

.page-blog-okbet-sports-betting-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-blog-okbet-sports-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    display: block; /* Ensure no extra space */
}

.page-blog-okbet-sports-betting-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: var(--okbet-text-main);
}

.page-blog-okbet-sports-betting-guide__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--okbet-secondary-color); /* Use secondary color for H1 */
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow */
}

.page-blog-okbet-sports-betting-guide__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--okbet-text-main);
}

.page-blog-okbet-sports-betting-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-blog-okbet-sports-betting-guide__btn-primary,
.page-blog-okbet-sports-betting-guide__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure button does not overflow container */
}

.page-blog-okbet-sports-betting-guide__btn-primary {
    background: linear-gradient(180deg, var(--okbet-button-gradient-start) 0%, var(--okbet-button-gradient-end) 100%);
    color: #ffffff; /* White text on gold gradient */
    border: none;
}

.page-blog-okbet-sports-betting-guide__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-blog-okbet-sports-betting-guide__btn-secondary {
    background: transparent;
    color: var(--okbet-secondary-color); /* Gold text */
    border: 2px solid var(--okbet-secondary-color);
}

.page-blog-okbet-sports-betting-guide__btn-secondary:hover {
    background: var(--okbet-secondary-color);
    color: var(--okbet-section-bg); /* Dark text on gold hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

/* General Section Styling */
.page-blog-okbet-sports-betting-guide__section {
    padding: 60px 20px;
    background-color: var(--okbet-section-bg);
    color: var(--okbet-text-main);
    border-bottom: 1px solid var(--okbet-border-color);
}

.page-blog-okbet-sports-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-blog-okbet-sports-betting-guide__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--okbet-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-blog-okbet-sports-betting-guide__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--okbet-primary-color);
    border-radius: 2px;
}

.page-blog-okbet-sports-betting-guide__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--okbet-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog-okbet-sports-betting-guide__text-block {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--okbet-text-main);
}

.page-blog-okbet-sports-betting-guide__text-block a {
    color: var(--okbet-primary-color);
    text-decoration: underline;
}

.page-blog-okbet-sports-betting-guide__text-block a:hover {
    color: var(--okbet-secondary-color);
}

/* Image and Text Layout */
.page-blog-okbet-sports-betting-guide__image-and-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-okbet-sports-betting-guide__image-and-text--reversed {
    flex-direction: row-reverse;
}

.page-blog-okbet-sports-betting-guide__content-image {
    flex: 1;
    min-width: 300px; /* Ensure image doesn't get too small */
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block; /* Important for responsive images */
    max-width: 100%; /* Ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
}

.page-blog-okbet-sports-betting-guide__text-content {
    flex: 1;
    min-width: 300px; /* Ensure text content doesn't get too small */
}

/* FAQ Section */
.page-blog-okbet-sports-betting-guide__faq-section {
    padding: 60px 20px;
    background-color: var(--okbet-section-bg);
    color: var(--okbet-text-main);
}

.page-blog-okbet-sports-betting-guide__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    border: 1px solid var(--okbet-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-blog-okbet-sports-betting-guide__faq-item {
    border-bottom: 1px solid var(--okbet-border-color);
}

.page-blog-okbet-sports-betting-guide__faq-item:last-child {
    border-bottom: none;
}

.page-blog-okbet-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--okbet-card-bg); /* Dark background for questions */
    transition: background-color 0.3s ease;
}

.page-blog-okbet-sports-betting-guide__faq-question:hover {
    background-color: rgba(17, 17, 17, 0.8);
}

.page-blog-okbet-sports-betting-guide__faq-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--okbet-text-main);
    margin: 0;
}

.page-blog-okbet-sports-betting-guide__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--okbet-primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-blog-okbet-sports-betting-guide__faq-item.active .page-blog-okbet-sports-betting-guide__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X */
    color: var(--okbet-secondary-color);
}

.page-blog-okbet-sports-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: var(--okbet-card-bg);
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--okbet-text-main);
}

.page-blog-okbet-sports-betting-guide__faq-item.active .page-blog-okbet-sports-betting-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

/* Conclusion Section */
.page-blog-okbet-sports-betting-guide__conclusion-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--okbet-section-bg);
    color: var(--okbet-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-okbet-sports-betting-guide__hero-content {
        padding: 30px 15px;
    }

    .page-blog-okbet-sports-betting-guide__section {
        padding: 50px 15px;
    }

    .page-blog-okbet-sports-betting-guide__container {
        padding: 0 15px;
    }

    .page-blog-okbet-sports-betting-guide__image-and-text {
        flex-direction: column;
        gap: 30px;
    }

    .page-blog-okbet-sports-betting-guide__image-and-text--reversed {
        flex-direction: column; /* Keep column direction for reversed layout on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-blog-okbet-sports-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-okbet-sports-betting-guide__hero-section {
        padding: 10px 15px 40px;
    }

    .page-blog-okbet-sports-betting-guide__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-blog-okbet-sports-betting-guide__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-blog-okbet-sports-betting-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-okbet-sports-betting-guide__btn-primary,
    .page-blog-okbet-sports-betting-guide__btn-secondary {
        width: 100% !important; /* Force full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .page-blog-okbet-sports-betting-guide__section {
        padding: 40px 15px;
    }

    .page-blog-okbet-sports-betting-guide__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-blog-okbet-sports-betting-guide__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        margin-top: 25px;
    }

    /* All images must be responsive */
    .page-blog-okbet-sports-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-blog-okbet-sports-betting-guide__image-and-text,
    .page-blog-okbet-sports-betting-guide__container,
    .page-blog-okbet-sports-betting-guide__faq-section,
    .page-blog-okbet-sports-betting-guide__conclusion-section,
    .page-blog-okbet-sports-betting-guide__hero-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-blog-okbet-sports-betting-guide__faq-question {
        padding: 15px 20px;
    }

    .page-blog-okbet-sports-betting-guide__faq-title {
        font-size: 1rem;
    }

    .page-blog-okbet-sports-betting-guide__faq-toggle {
        font-size: 1.5rem;
    }

    .page-blog-okbet-sports-betting-guide__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-blog-okbet-sports-betting-guide__main-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }

    .page-blog-okbet-sports-betting-guide__section-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }
}