/* style/resources-online-xoc-dia-rules.css */

/* Base styles for the page content */
.page-resources-online-xoc-dia-rules {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-resources-online-xoc-dia-rules__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-online-xoc-dia-rules__hero-section {
    background: linear-gradient(135deg, #1A2B4C, #FF8C00);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.page-resources-online-xoc-dia-rules__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-resources-online-xoc-dia-rules__hero-section .page-resources-online-xoc-dia-rules__container {
    position: relative;
    z-index: 2;
}

.page-resources-online-xoc-dia-rules__back-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.page-resources-online-xoc-dia-rules__back-link:hover {
    color: #FFD700; /* Lighter orange for hover */
}

.page-resources-online-xoc-dia-rules__title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.page-resources-online-xoc-dia-rules__subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-online-xoc-dia-rules__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

/* Content Section */
.page-resources-online-xoc-dia-rules__content-section {
    padding: 40px 0;
}

.page-resources-online-xoc-dia-rules__article-content p {
    margin-bottom: 1em;
    font-size: 1.05rem;
    color: #444;
}

.page-resources-online-xoc-dia-rules__heading {
    font-size: 2rem;
    color: #1A2B4C;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF8C00;
    padding-bottom: 10px;
    font-weight: 700;
}

.page-resources-online-xoc-dia-rules__sub-heading {
    font-size: 1.5rem;
    color: #1A2B4C;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-online-xoc-dia-rules__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1em;
    color: #555;
}

.page-resources-online-xoc-dia-rules__list li {
    margin-bottom: 0.5em;
    font-size: 1rem;
}

.page-resources-online-xoc-dia-rules__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-online-xoc-dia-rules__table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-online-xoc-dia-rules__table th,
.page-resources-online-xoc-dia-rules__table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    font-size: 1rem;
}

.page-resources-online-xoc-dia-rules__table th {
    background-color: #1A2B4C;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

.page-resources-online-xoc-dia-rules__table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.page-resources-online-xoc-dia-rules__table tr:hover {
    background-color: #e9e9e9;
}

/* Call to action box */
.page-resources-online-xoc-dia-rules__cta-box {
    background-color: #e9f7ff; /* Light blue background for contrast */
    border-left: 5px solid #FF8C00;
    padding: 25px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-online-xoc-dia-rules__cta-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #1A2B4C;
}

.page-resources-online-xoc-dia-rules__button {
    display: inline-block;
    background-color: #FF8C00;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-right: 15px;
    margin-bottom: 10px; /* For stacking on small screens */
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-resources-online-xoc-dia-rules__button:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
}

.page-resources-online-xoc-dia-rules__button--primary {
    background-color: #FF8C00;
}

.page-resources-online-xoc-dia-rules__button--primary:hover {
    background-color: #e67e00;
}

.page-resources-online-xoc-dia-rules__button--secondary {
    background-color: #1A2B4C;
    margin-left: 0;
}

.page-resources-online-xoc-dia-rules__button--secondary:hover {
    background-color: #0f1a30;
}

.page-resources-online-xoc-dia-rules__navigation-buttons {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-online-xoc-dia-rules__title {
        font-size: 2.2rem;
    }

    .page-resources-online-xoc-dia-rules__subtitle {
        font-size: 1rem;
    }

    .page-resources-online-xoc-dia-rules__heading {
        font-size: 1.7rem;
    }

    .page-resources-online-xoc-dia-rules__sub-heading {
        font-size: 1.3rem;
    }

    .page-resources-online-xoc-dia-rules__button {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin-right: 0;
        width: 100%;
        text-align: center;
    }
    .page-resources-online-xoc-dia-rules__navigation-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-resources-online-xoc-dia-rules__hero-section {
        padding: 40px 0;
    }

    .page-resources-online-xoc-dia-rules__title {
        font-size: 1.8rem;
    }

    .page-resources-online-xoc-dia-rules__subtitle {
        font-size: 0.9rem;
    }

    .page-resources-online-xoc-dia-rules__heading {
        font-size: 1.5rem;
    }

    .page-resources-online-xoc-dia-rules__table th,
    .page-resources-online-xoc-dia-rules__table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    .page-resources-online-xoc-dia-rules__cta-box {
        padding: 20px;
    }
}