/* style/resources-sic-bo-game-strategies-and-tips.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark-card: rgba(0, 0, 0, 0.2);
    --border-color: #e0e0e0;
}

.page-resources-sic-bo-game-strategies-and-tips {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Light background for the page content */
}

/* Padding to prevent content from being hidden by fixed header */
.page-resources-sic-bo-game-strategies-and-tips__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
}

.page-resources-sic-bo-game-strategies-and-tips__section:first-of-type:not(.page-resources-sic-bo-game-strategies-and-tips__hero-banner) {
    padding-top: 120px; /* Fallback for pages without hero, or if hero is not first */
}

.page-resources-sic-bo-game-strategies-and-tips__hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    overflow: hidden;
}

.page-resources-sic-bo-game-strategies-and-tips__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-sic-bo-game-strategies-and-tips__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-sic-bo-game-strategies-and-tips__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-resources-sic-bo-game-strategies-and-tips__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-sic-bo-game-strategies-and-tips__cta-button:hover {
    background: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-sic-bo-game-strategies-and-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    overflow: hidden;
}

.page-resources-sic-bo-game-strategies-and-tips__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-resources-sic-bo-game-strategies-and-tips__section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-sic-bo-game-strategies-and-tips__section:nth-of-type(even) {
    background-color: #f1f3f5;
}

.page-resources-sic-bo-game-strategies-and-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-sic-bo-game-strategies-and-tips__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-sic-bo-game-strategies-and-tips__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-resources-sic-bo-game-strategies-and-tips__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-resources-sic-bo-game-strategies-and-tips__text-block {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444444;
}

.page-resources-sic-bo-game-strategies-and-tips__list {
    list-style: disc inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-resources-sic-bo-game-strategies-and-tips__list-item {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #444444;
}

.page-resources-sic-bo-game-strategies-and-tips__list-item strong {
    color: var(--primary-color);
}

.page-resources-sic-bo-game-strategies-and-tips__strategy-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-sic-bo-game-strategies-and-tips__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-sic-bo-game-strategies-and-tips__card-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-resources-sic-bo-game-strategies-and-tips__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-sic-bo-game-strategies-and-tips__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

.page-resources-sic-bo-game-strategies-and-tips__criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-sic-bo-game-strategies-and-tips__criteria-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-resources-sic-bo-game-strategies-and-tips__criteria-card:hover {
    transform: translateY(-5px);
}

.page-resources-sic-bo-game-strategies-and-tips__criteria-icon {
    max-width: 150px; /* Increased size to meet min 200px requirement */
    height: auto;
    margin-bottom: 15px;
    display: inline-block;
}

.page-resources-sic-bo-game-strategies-and-tips__criteria-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-resources-sic-bo-game-strategies-and-tips__criteria-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

.page-resources-sic-bo-game-strategies-and-tips__cta-block {
    text-align: center;
    margin-top: 40px;
}

.page-resources-sic-bo-game-strategies-and-tips__inline-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-sic-bo-game-strategies-and-tips__inline-link:hover {
    color: #0056b3;
}

.page-resources-sic-bo-game-strategies-and-tips__cta-button--large {
    font-size: 22px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.page-resources-sic-bo-game-strategies-and-tips__cta-button--large:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.page-resources-sic-bo-game-strategies-and-tips__faq-section {
    background-color: #f1f3f5;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #ffffff;
}

.page-resources-sic-bo-game-strategies-and-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.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    color: #555555;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-item.active .page-resources-sic-bo-game-strategies-and-tips__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-question:hover {
    background: #f5f5f5;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-question:active {
    background: #eeeeee;
}

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

.page-resources-sic-bo-game-strategies-and-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: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-resources-sic-bo-game-strategies-and-tips__faq-item.active .page-resources-sic-bo-game-strategies-and-tips__faq-toggle {
    color: #0056b3;
    transform: rotate(45deg); /* Plus sign rotates to form an X or similar for close */
}

.highlight {
    color: var(--secondary-color);
}

/* General image responsiveness */
.page-resources-sic-bo-game-strategies-and-tips img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-resources-sic-bo-game-strategies-and-tips__main-title {
        font-size: 40px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__hero-description {
        font-size: 18px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__section-title {
        font-size: 30px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__sub-title {
        font-size: 22px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__text-block,
    .page-resources-sic-bo-game-strategies-and-tips__list-item,
    .page-resources-sic-bo-game-strategies-and-tips__card-text {
        font-size: 16px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__cta-button--large {
        padding: 15px 40px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources-sic-bo-game-strategies-and-tips__hero-banner {
        padding-top: 140px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
        flex-direction: column;
        text-align: center;
    }
    .page-resources-sic-bo-game-strategies-and-tips__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__hero-content {
        padding: 0 10px;
    }

    .page-resources-sic-bo-game-strategies-and-tips__section {
        padding: 30px 15px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__text-block,
    .page-resources-sic-bo-game-strategies-and-tips__list-item,
    .page-resources-sic-bo-game-strategies-and-tips__card-text {
        font-size: 15px;
    }

    .page-resources-sic-bo-game-strategies-and-tips__strategy-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__card-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__criteria-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__criteria-card {
        padding: 20px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__criteria-title {
        font-size: 20px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__criteria-icon {
        max-width: 120px; /* Adjust icon size for mobile */
    }
    .page-resources-sic-bo-game-strategies-and-tips__cta-button--large {
        font-size: 18px;
        padding: 12px 30px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__faq-question h3 {
        font-size: 16px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__faq-answer {
        padding: 0 15px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__faq-item.active .page-resources-sic-bo-game-strategies-and-tips__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images and containers fit screen width */
    .page-resources-sic-bo-game-strategies-and-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-resources-sic-bo-game-strategies-and-tips__section,
    .page-resources-sic-bo-game-strategies-and-tips__container,
    .page-resources-sic-bo-game-strategies-and-tips__strategy-card,
    .page-resources-sic-bo-game-strategies-and-tips__criteria-card,
    .page-resources-sic-bo-game-strategies-and-tips__faq-list,
    .page-resources-sic-bo-game-strategies-and-tips__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-sic-bo-game-strategies-and-tips__hero-banner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-resources-sic-bo-game-strategies-and-tips__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}