/* style/resources-how-to-choose-the-best-betting-platform.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-the-best-betting-platform {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.page-resources-how-to-choose-the-best-betting-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-how-to-choose-the-best-betting-platform__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-how-to-choose-the-best-betting-platform__section--dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-how-to-choose-the-best-betting-platform__section--dark h2,
.page-resources-how-to-choose-the-best-betting-platform__section--dark h3 {
    color: var(--primary-color);
}

.page-resources-how-to-choose-the-best-betting-platform__section--cta {
    background: linear-gradient(135deg, var(--secondary-color), #a00000);
    color: var(--text-light);
    padding: 80px 0;
}

.page-resources-how-to-choose-the-best-betting-platform h1 {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-the-best-betting-platform h2 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-how-to-choose-the-best-betting-platform h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-resources-how-to-choose-the-best-betting-platform h3 {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-resources-how-to-choose-the-best-betting-platform__section--dark h3 {
    color: var(--primary-color);
}

.page-resources-how-to-choose-the-best-betting-platform p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-resources-how-to-choose-the-best-betting-platform__section--dark p {
    color: var(--text-light);
}

.page-resources-how-to-choose-the-best-betting-platform a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-how-to-choose-the-best-betting-platform a:hover {
    color: var(--primary-color);
}

.page-resources-how-to-choose-the-best-betting-platform__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-resources-how-to-choose-the-best-betting-platform__cta-button:hover {
    background-color: #ffd94f;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-the-best-betting-platform__cta-button--inverted {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-how-to-choose-the-best-betting-platform__cta-button--inverted:hover {
    background-color: #a00000;
    color: var(--primary-color);
}

.page-resources-how-to-choose-the-best-betting-platform__cta-button--large {
    padding: 18px 45px;
    font-size: 1.3em;
}

.page-resources-how-to-choose-the-best-betting-platform__center-button {
    text-align: center;
    margin-top: 40px;
}

.page-resources-how-to-choose-the-best-betting-platform__center-text {
    text-align: center;
}

/* Hero Section */
.page-resources-how-to-choose-the-best-betting-platform__hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color), #a00000);
}

.page-resources-how-to-choose-the-best-betting-platform__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-how-to-choose-the-best-betting-platform__hero-image {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers area without distortion */
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.page-resources-how-to-choose-the-best-betting-platform__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
}

.page-resources-how-to-choose-the-best-betting-platform__hero-content h1 {
    color: var(--primary-color);
    font-size: 3.2em;
    line-height: 1.2;
}

.page-resources-how-to-choose-the-best-betting-platform__hero-content p {
    font-size: 1.3em;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Feature Grid */
.page-resources-how-to-choose-the-best-betting-platform__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-the-best-betting-platform__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-the-best-betting-platform__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-the-best-betting-platform__feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-resources-how-to-choose-the-best-betting-platform__feature-item h3 {
    color: var(--secondary-color);
}

.page-resources-how-to-choose-the-best-betting-platform__feature-item p {
    color: var(--text-dark);
}

/* Advantages Grid */
.page-resources-how-to-choose-the-best-betting-platform__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-the-best-betting-platform__advantage-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-the-best-betting-platform__advantage-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-how-to-choose-the-best-betting-platform__advantage-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-how-to-choose-the-best-betting-platform__advantage-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
}

.page-resources-how-to-choose-the-best-betting-platform__advantage-item p {
    color: var(--text-light);
}

/* Guide List */
.page-resources-how-to-choose-the-best-betting-platform__guide-list {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-top: 40px;
}

.page-resources-how-to-choose-the-best-betting-platform__guide-list li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    text-align: left;
}

.page-resources-how-to-choose-the-best-betting-platform__guide-list li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-the-best-betting-platform__guide-list li h3 {
    margin-top: 0;
    color: var(--secondary-color);
    font-size: 1.4em;
}

.page-resources-how-to-choose-the-best-betting-platform__guide-list li p {
    color: var(--text-dark);
}

/* FAQ Section */
.page-resources-how-to-choose-the-best-betting-platform__faq-list {
    margin-top: 40px;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-how-to-choose-the-best-betting-platform__hero-image {
        height: 350px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero-content h1 {
        font-size: 2.5em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h2 {
        font-size: 1.8em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h3 {
        font-size: 1.3em;
    }
    .page-resources-how-to-choose-the-best-betting-platform p {
        font-size: 1em;
    }
    .page-resources-how-to-choose-the-best-betting-platform__feature-grid,
    .page-resources-how-to-choose-the-best-betting-platform__advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-the-best-betting-platform__section {
        padding: 40px 0;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero {
        padding: 40px 15px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero-image {
        height: 280px;
        margin-bottom: 20px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero-content h1 {
        font-size: 2em;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero-content p {
        font-size: 1.1em;
    }
    .page-resources-how-to-choose-the-best-betting-platform__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h1 {
        font-size: 2.2em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h2 {
        font-size: 1.6em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h3 {
        font-size: 1.2em;
    }
    .page-resources-how-to-choose-the-best-betting-platform__feature-icon {
        width: 90px;
        height: 90px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__guide-list li {
        padding-left: 60px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__guide-list li::before {
        width: 45px;
        height: 45px;
        font-size: 1.5em;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-choose-the-best-betting-platform__hero-image {
        height: 200px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero-content h1 {
        font-size: 1.8em;
    }
    .page-resources-how-to-choose-the-best-betting-platform__hero-content p {
        font-size: 0.95em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h2 {
        font-size: 1.4em;
    }
    .page-resources-how-to-choose-the-best-betting-platform h3 {
        font-size: 1.1em;
    }
    .page-resources-how-to-choose-the-best-betting-platform__feature-grid,
    .page-resources-how-to-choose-the-best-betting-platform__advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-how-to-choose-the-best-betting-platform__feature-item,
    .page-resources-how-to-choose-the-best-betting-platform__advantage-item {
        padding: 20px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__advantage-image {
        height: 200px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__guide-list li {
        padding-left: 55px;
    }
    .page-resources-how-to-choose-the-best-betting-platform__guide-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }
}