:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;

    /* RGB values for rgba usage */
    --primary-color-rgb: 17, 59, 122;
    --secondary-color-rgb: 29, 95, 209;
    --deep-navy-rgb: 8, 22, 43;
}

.page-betting-guides {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Deep Navy body background #08162B is dark, so use light text */
    background-color: transparent; /* Body background from shared.css */
}

.page-betting-guides__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-betting-guides__section:nth-of-type(even) {
    background-color: var(--deep-navy); /* Darker background for alternating sections */
}

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

.page-betting-guides__section-title {
    font-size: clamp(28px, 4vw, 38px);
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-betting-guides__highlight {
    color: var(--gold);
    font-weight: bold;
}

/* --- Hero Section --- */
.page-betting-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-navy); /* Ensure hero section has a background */
    overflow: hidden; /* Prevent image overflow */
}

.page-betting-guides__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within max-width */
}

.page-betting-guides__hero-image-main {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px; /* Space between image and content */
}

.page-betting-guides__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px; /* Constrain content width */
}

.page-betting-guides__main-title {
    font-size: clamp(36px, 5vw, 56px); /* Use clamp for H1 */
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.page-betting-guides__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-betting-guides__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.page-betting-guides__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-betting-guides__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
}

.page-betting-guides__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-betting-guides__btn-secondary {
    background: var(--card-bg); /* Use a darker background for secondary */
    color: var(--gold);
    border: 2px solid var(--gold);
}

.page-betting-guides__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General content styling */
.page-betting-guides p {
    margin-bottom: 1em;
    font-size: 17px;
    color: var(--text-secondary);
}

.page-betting-guides__image-content {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-betting-guides__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-betting-guides__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--text-secondary);
}

.page-betting-guides__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 20px;
    top: 0;
}

/* --- Card Grid --- */
.page-betting-guides__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-betting-guides__card {
    background-color: var(--card-bg); /* #10233F */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main); /* Light text on dark card background */
}

.page-betting-guides__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-betting-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-betting-guides__card-title {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-betting-guides__card p {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-betting-guides__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* --- Bet Type Cards --- */
.page-betting-guides__bet-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-betting-guides__bet-type-card {
    padding: 25px;
}

/* --- Tip List --- */
.page-betting-guides__tip-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-betting-guides__tip-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-betting-guides__tip-title {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-betting-guides__tip-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* --- FAQ Section --- */
.page-betting-guides__faq-section {
    background-color: var(--deep-navy);
}

.page-betting-guides__faq-list {
    margin-top: 40px;
}

details.page-betting-guides__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-betting-guides__faq-item summary.page-betting-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}
details.page-betting-guides__faq-item summary.page-betting-guides__faq-question::-webkit-details-marker {
    display: none;
}
details.page-betting-guides__faq-item summary.page-betting-guides__faq-question:hover {
    background: rgba(var(--primary-color-rgb), 0.2); /* Slightly lighter hover */
}
.page-betting-guides__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-betting-guides__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}
details.page-betting-guides__faq-item .page-betting-guides__faq-answer {
    padding: 0 25px 25px;
    background: rgba(var(--deep-navy-rgb), 0.5); /* Slightly lighter background for answer */
    border-radius: 0 0 12px 12px;
    color: var(--text-secondary);
}
details.page-betting-guides__faq-item .page-betting-guides__faq-answer p {
    margin-bottom: 0;
    font-size: 16px;
}

/* --- Conclusion Section --- */
.page-betting-guides__conclusion {
    text-align: center;
}

.page-betting-guides__conclusion p {
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-betting-guides__hero-image-main {
        border-radius: 8px;
    }
    .page-betting-guides__main-title {
        font-size: clamp(32px, 4.5vw, 48px);
    }
    .page-betting-guides__hero-description {
        font-size: clamp(15px, 1.8vw, 18px);
    }
    .page-betting-guides__section {
        padding: 50px 0;
    }
    .page-betting-guides__section-title {
        font-size: clamp(26px, 3.5vw, 34px);
    }
    .page-betting-guides__card-grid,
    .page-betting-guides__bet-type-cards,
    .page-betting-guides__tip-list {
        gap: 25px;
    }
    .page-betting-guides__card {
        padding: 25px;
    }
    .page-betting-guides__card-title {
        font-size: 20px;
    }
    details.page-betting-guides__faq-item summary.page-betting-guides__faq-question {
        padding: 16px 20px;
    }
    .page-betting-guides__faq-qtext {
        font-size: 17px;
    }
    details.page-betting-guides__faq-item .page-betting-guides__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    .page-betting-guides__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-betting-guides__hero-image-main {
        margin-bottom: 30px;
        border-radius: 6px;
    }
    .page-betting-guides__main-title {
        font-size: clamp(28px, 8vw, 40px);
    }
    .page-betting-guides__hero-description {
        font-size: 16px;
        padding: 0 10px;
    }
    .page-betting-guides__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-betting-guides__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important; /* Ensure buttons take full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-betting-guides__section {
        padding: 40px 0;
    }
    .page-betting-guides__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-betting-guides__section-title {
        font-size: clamp(24px, 7vw, 30px);
        margin-bottom: 30px;
    }
    .page-betting-guides p {
        font-size: 16px;
    }
    .page-betting-guides__list li {
        font-size: 16px;
    }
    .page-betting-guides__image-content {
        margin: 30px auto;
        border-radius: 6px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-betting-guides__card-grid,
    .page-betting-guides__bet-type-cards,
    .page-betting-guides__tip-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-betting-guides__card {
        padding: 20px;
    }
    .page-betting-guides__card-title {
        font-size: 18px;
    }
    .page-betting-guides__card p {
        font-size: 15px;
    }
    
    details.page-betting-guides__faq-item summary.page-betting-guides__faq-question { 
        padding: 15px; 
    }
    .page-betting-guides__faq-qtext {
        font-size: 16px; 
    }
    .page-betting-guides__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    details.page-betting-guides__faq-item .page-betting-guides__faq-answer {
        padding: 0 15px 15px;
    }
    details.page-betting-guides__faq-item .page-betting-guides__faq-answer p {
        font-size: 15px;
    }
}