/* Shared content styles. */
.rules-section ul {
    font-size: 1.1em;
    line-height: 1.6;
}

.nested {
    padding-left: 20px;
    font-size: 1.1em;
    line-height: 1.6;
}

.underlined {
    text-decoration: underline;
}

l {
    border-bottom: 1.6px solid #ccc;
}

.rules-section {
    background-color: #161616;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(211, 211, 211, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.rules-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.horizontal-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.horizontal-links li {
    display: inline-block;
    margin-right: 5px;
    position: relative;
}

.horizontal-links li::after {
        content: "";
        position: absolute;
        top: 1px;
        bottom: 3px;
        right: -6px;
        border-right: 2px solid rgb(255, 255, 255);
    }

.horizontal-links li:last-child::after {
        display: none;
    }

.horizontal-links li:last-child {
    margin-right: 0;
}

.horizontal-links a {
    text-decoration: none;
    color: #b3b3b3;
    font-size: 1.25em;
    font-weight: bold;
}

.horizontal-links a:hover {
    color: #ffffff;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.faq-item h3:hover{
    font-weight: bold;
    color: #FF5733;
}

.faq-answer {
    display: none;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.faq-answer p{
    font-weight: normal;
}

.rules-section { overflow-wrap: anywhere; }
.rules-section:focus-within { box-shadow: 0 0 0 2px var(--site-accent); }
