/* ========================================================================
   RULES CONTENT — SHAIYA ADDICTED
   Дополнение к legal_content_styles.css
   Подключать ПОСЛЕ legal_content_styles.css
   ======================================================================== */

body:has(.legal-page--rules) .content-header {
    display: none !important;
}

body:has(.legal-page--rules) .content-bg {
    padding-top: 1px !important;
}


/* ------------------------------------------------------------------------
   INTRO
   ------------------------------------------------------------------------ */

.rules-intro {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin: 20px 0 26px;
    padding: 14px 16px;

    color: #aeb6bc;

    background:
        linear-gradient(
            90deg,
            rgba(19, 20, 16, .72),
            rgba(11, 14, 16, .58)
        );

    border: 1px solid rgba(208,198,150,.08);
    border-left: 3px solid #bba75c;
    border-radius: 4px;
}

.rules-intro__mark {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    color: #e0cf88;

    background: rgba(208,198,150,.055);

    border: 1px solid rgba(208,198,150,.13);
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}

.rules-intro p {
    margin: 1px 0 0;

    font-size: 13px;
    line-height: 1.65;
}


/* ------------------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------------------ */

.rules-section {
    margin-top: 27px;
}

.rules-section:first-of-type {
    margin-top: 0;
}

.rules-section__content {
    background:
        linear-gradient(
            180deg,
            rgba(7,10,12,.34),
            rgba(7,10,12,.22)
        );
}


/* ------------------------------------------------------------------------
   RULES
   ------------------------------------------------------------------------ */

.rules-rule .legal-rule__number {
    color: #d3c68d;
}

.rules-rule .legal-rule__text > p {
    font-size: 14px;
    line-height: 1.72;
}

.rules-rule:hover .legal-rule__number {
    color: #e7d99b;
}


/* ------------------------------------------------------------------------
   NOTE
   ------------------------------------------------------------------------ */

.rules-note {
    margin: 0 !important;

    border: 0;
    border-top: 1px solid rgba(255,255,255,.05);
    border-left: 3px solid #6d9cb0;

    border-radius: 0;

    background:
        linear-gradient(
            90deg,
            rgba(57,88,102,.09),
            rgba(10,14,17,.20)
        );
}

.rules-note .legal-callout__icon {
    color: #8fc1d2;

    border-color: rgba(111,164,184,.16);
    background: rgba(90,144,165,.055);
}

.rules-note .legal-callout__content strong {
    color: #9ec9d6;
}

.rules-note .legal-callout__content p {
    color: #aeb8bd;
}


/* ------------------------------------------------------------------------
   FALLBACK TEXT
   ------------------------------------------------------------------------ */

.rules-text {
    padding: 14px 17px;

    border-bottom: 1px solid rgba(255,255,255,.05);
}

.rules-text p {
    margin: 0;

    color: #b8c0c6;

    font-size: 14px;
    line-height: 1.7;
}


/* ------------------------------------------------------------------------
   FOOTER — SAME ALIGNMENT AS PRIVACY
   ------------------------------------------------------------------------ */

.legal-page--rules .legal-card__footer {
    min-height: 46px;

    margin-top: 20px;
    margin-bottom: -14px;

    padding: 0 14px;
}

.legal-page--rules .legal-card__footer > div,
.legal-page--rules .legal-card__footer > span {
    display: flex;

    align-items: center;

    height: 46px;

    margin: 0;
    padding: 0;

    line-height: 1;
}


/* ------------------------------------------------------------------------
   SMALLER WIDTHS
   ------------------------------------------------------------------------ */

@media (max-width: 1250px) {

    .rules-rule .legal-rule__text > p,
    .rules-text p {
        font-size: 13px;
    }

}
