/* style/x-s-types-and-rules.css */

.page-x-s-types-and-rules {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0;
    background-color: #1A202C;
    line-height: 1.6;
}

.page-x-s-types-and-rules a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-x-s-types-and-rules a:hover {
    color: #b39700;
}

.page-x-s-types-and-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-x-s-types-and-rules__hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A202C 0%, #FFD700 100%); /* Adjusted gradient for better contrast */
    color: #1A202C; /* Text color for hero section */
}

.page-x-s-types-and-rules__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 0;
}

.page-x-s-types-and-rules__hero .page-x-s-types-and-rules__container {
    position: relative;
    z-index: 1;
    color: #1A202C; /* Ensure text is dark on light background */
}

.page-x-s-types-and-rules__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #1A202C;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-x-s-types-and-rules__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #333;
}

.page-x-s-types-and-rules__hero-subtitle a {
    color: #000; /* Ensure links are visible on light background */
}

.page-x-s-types-and-rules__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-x-s-types-and-rules__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: none;
}

.page-x-s-types-and-rules__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-x-s-types-and-rules__btn--secondary {
    background-color: #333;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-x-s-types-and-rules__btn--secondary:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Sections */
.page-x-s-types-and-rules__section {
    padding: 60px 0;
    background-color: #1A202C;
}

.page-x-s-types-and-rules__section--dark {
    background-color: #2c3440; /* Slightly lighter dark for contrast */
}

.page-x-s-types-and-rules__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-x-s-types-and-rules__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-x-s-types-and-rules__section-title a {
    color: #FFD700;
}

.page-x-s-types-and-rules__section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #E0E0E0;
}

.page-x-s-types-and-rules__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s-types-and-rules__card {
    background-color: #2c3440;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s-types-and-rules__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-x-s-types-and-rules__card-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #FFD700;
}

.page-x-s-types-and-rules__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s-types-and-rules__card-text {
    font-size: 1em;
    color: #C0C0C0;
    text-align: left;
}

.page-x-s-types-and-rules__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    color: #C0C0C0;
}

.page-x-s-types-and-rules__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-x-s-types-and-rules__list li::before {
    content: '★';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-x-s-types-and-rules__list--styled li::before {
    content: '✔';
    color: #FFD700;
}

.page-x-s-types-and-rules__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s-types-and-rules__step-item {
    background-color: #2c3440;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.page-x-s-types-and-rules__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-x-s-types-and-rules__step-item p {
    font-size: 1em;
    color: #C0C0C0;
    text-align: center;
}

.page-x-s-types-and-rules__image-full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Call to Action Section */
.page-x-s-types-and-rules__section--cta {
    background: linear-gradient(90deg, #1A202C, #333);
    text-align: center;
    padding: 80px 0;
    border-top: 5px solid #FFD700;
}

.page-x-s-types-and-rules__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-x-s-types-and-rules__cta-title a {
    color: #FFD700;
}

.page-x-s-types-and-rules__cta-text {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-bottom: 40px;
}

.page-x-s-types-and-rules__btn--cta {
    background-color: #FFD700;
    color: #1A202C;
    font-size: 1.2em;
    padding: 18px 40px;
    border: none;
}

.page-x-s-types-and-rules__btn--cta:hover {
    background-color: #e6c200;
    transform: translateY(-3px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s-types-and-rules__hero-title {
        font-size: 2.8em;
    }

    .page-x-s-types-and-rules__hero-subtitle {
        font-size: 1.2em;
    }

    .page-x-s-types-and-rules__section-title {
        font-size: 2em;
    }

    .page-x-s-types-and-rules__card-title {
        font-size: 1.5em;
    }

    .page-x-s-types-and-rules__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-x-s-types-and-rules__hero {
        padding: 80px 0;
    }

    .page-x-s-types-and-rules__hero-title {
        font-size: 2.2em;
    }

    .page-x-s-types-and-rules__hero-subtitle {
        font-size: 1em;
    }

    .page-x-s-types-and-rules__section {
        padding: 40px 0;
    }

    .page-x-s-types-and-rules__section-title {
        font-size: 1.8em;
    }

    .page-x-s-types-and-rules__grid,
    .page-x-s-types-and-rules__steps {
        grid-template-columns: 1fr;
    }

    .page-x-s-types-and-rules__cta-title {
        font-size: 1.8em;
    }

    .page-x-s-types-and-rules__btn,
    .page-x-s-types-and-rules__btn--cta {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-x-s-types-and-rules__hero-title {
        font-size: 1.8em;
    }

    .page-x-s-types-and-rules__hero-subtitle {
        font-size: 0.9em;
    }

    .page-x-s-types-and-rules__section-title {
        font-size: 1.5em;
    }

    .page-x-s-types-and-rules__card-title {
        font-size: 1.3em;
    }

    .page-x-s-types-and-rules__cta-title {
        font-size: 1.5em;
    }
}