:root {
    --primary-color: #017439; /* max88 casino brand green */
    --secondary-color: #FFFFFF; /* Auxiliary color */
    --accent-color-register: #C30808; /* Register/Login button background */
    --accent-color-login-text: #FFFF00; /* Register/Login button text */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #017439;
    --border-color: #e0e0e0;
}

.page-resources-betting-strategy-tips {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.page-resources-betting-strategy-tips__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    padding-bottom: 20px;
}

.page-resources-betting-strategy-tips__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

.page-resources-betting-strategy-tips__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-betting-strategy-tips__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-betting-strategy-tips__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-betting-strategy-tips__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-resources-betting-strategy-tips__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-resources-betting-strategy-tips__hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-resources-betting-strategy-tips__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-light);
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-betting-strategy-tips__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-betting-strategy-tips__btn-primary,
.page-resources-betting-strategy-tips__btn-secondary {
    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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    border: 2px solid transparent;
}

.page-resources-betting-strategy-tips__btn-primary {
    background: var(--accent-color-register);
    color: var(--accent-color-login-text);
    border-color: var(--accent-color-register);
}

.page-resources-betting-strategy-tips__btn-primary:hover {
    background: #e02a2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-resources-betting-strategy-tips__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-resources-betting-strategy-tips__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-resources-betting-strategy-tips__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-betting-strategy-tips__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-betting-strategy-tips__dark-bg .page-resources-betting-strategy-tips__section-title {
    color: var(--text-light);
}

.page-resources-betting-strategy-tips__dark-bg .page-resources-betting-strategy-tips__section-description {
    color: #cccccc;
}

.page-resources-betting-strategy-tips__introduction-section {
    padding: 60px 0;
}

.page-resources-betting-strategy-tips__introduction-section p {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-betting-strategy-tips__strategies-section {
    padding: 60px 0;
}

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

.page-resources-betting-strategy-tips__strategy-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-betting-strategy-tips__strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-betting-strategy-tips__strategy-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-betting-strategy-tips__strategy-item h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-betting-strategy-tips__strategy-item p {
    font-size: 16px;
    color: #555555;
    text-align: justify;
}

.page-resources-betting-strategy-tips__max88-advantage-section {
    padding: 60px 0;
}

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

.page-resources-betting-strategy-tips__feature-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-betting-strategy-tips__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-betting-strategy-tips__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-resources-betting-strategy-tips__feature-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-resources-betting-strategy-tips__feature-item p {
    font-size: 15px;
    color: #666666;
    line-height: 1.5;
}

.page-resources-betting-strategy-tips__call-to-action-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources-betting-strategy-tips__faq-section {
    padding: 60px 0;
}

.page-resources-betting-strategy-tips__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-betting-strategy-tips__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-betting-strategy-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-betting-strategy-tips__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-betting-strategy-tips__faq-question:active {
    background: #eeeeee;
}

.page-resources-betting-strategy-tips__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-resources-betting-strategy-tips__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-resources-betting-strategy-tips__faq-item.active .page-resources-betting-strategy-tips__faq-toggle {
    color: #333;
    transform: rotate(45deg);
}

.page-resources-betting-strategy-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    color: #444444;
}

.page-resources-betting-strategy-tips__faq-item.active .page-resources-betting-strategy-tips__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-resources-betting-strategy-tips__faq-answer p {
    margin: 0;
    font-size: 16px;
    text-align: justify;
}

.page-resources-betting-strategy-tips__related-articles-section {
    padding: 60px 0;
}

.page-resources-betting-strategy-tips__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-betting-strategy-tips__article-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-betting-strategy-tips__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-betting-strategy-tips__article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-resources-betting-strategy-tips__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources-betting-strategy-tips__article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-resources-betting-strategy-tips__article-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-betting-strategy-tips__article-content h3 a:hover {
    color: #005a2e;
    text-decoration: underline;
}

.page-resources-betting-strategy-tips__article-content p {
    font-size: 15px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

@media (max-width: 1024px) {
    .page-resources-betting-strategy-tips__hero-content h1 {
        font-size: 40px;
    }
    .page-resources-betting-strategy-tips__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-resources-betting-strategy-tips__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-resources-betting-strategy-tips__hero-content h1 {
        font-size: 32px;
    }
    .page-resources-betting-strategy-tips__hero-description {
        font-size: 17px;
        margin-bottom: 30px;
    }
    .page-resources-betting-strategy-tips__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-betting-strategy-tips__btn-primary,
    .page-resources-betting-strategy-tips__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-betting-strategy-tips__section-title {
        font-size: 28px;
        padding-top: 30px;
        padding-bottom: 15px;
    }
    .page-resources-betting-strategy-tips__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-resources-betting-strategy-tips__container {
        padding: 15px;
    }

    .page-resources-betting-strategy-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }
    .page-resources-betting-strategy-tips__hero-image-wrapper,
    .page-resources-betting-strategy-tips__strategy-item,
    .page-resources-betting-strategy-tips__feature-item,
    .page-resources-betting-strategy-tips__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-betting-strategy-tips__strategy-item img {
        height: 200px;
    }
    .page-resources-betting-strategy-tips__feature-item img {
        
        
    }
    .page-resources-betting-strategy-tips__article-card img {
        
    }

    .page-resources-betting-strategy-tips__faq-question {
        padding: 15px 20px;
    }
    .page-resources-betting-strategy-tips__faq-question h3 {
        font-size: 16px;
    }
    .page-resources-betting-strategy-tips__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
        margin-left: 15px;
    }
    .page-resources-betting-strategy-tips__faq-answer {
        padding: 0 20px;
    }
    .page-resources-betting-strategy-tips__faq-item.active .page-resources-betting-strategy-tips__faq-answer {
        padding: 15px 20px !important;
    }
    .page-resources-betting-strategy-tips__faq-answer p {
        font-size: 15px;
    }

    .page-resources-betting-strategy-tips__article-content {
        padding: 20px;
    }
    .page-resources-betting-strategy-tips__article-content h3 {
        font-size: 18px;
    }
    .page-resources-betting-strategy-tips__article-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-resources-betting-strategy-tips__hero-content h1 {
        font-size: 28px;
    }
    .page-resources-betting-strategy-tips__hero-description {
        font-size: 16px;
    }
    .page-resources-betting-strategy-tips__section-title {
        font-size: 24px;
    }
    .page-resources-betting-strategy-tips__strategy-item img {
        
    }
    .page-resources-betting-strategy-tips__article-card img {
        
    }
}