/* =========================================================
 * Rule
 * ========================================================= */

.rule-hero{
    padding:72px 0 48px;
    background:var(--surface);
    text-align:center;
}

.rule-hero h1{
    margin:8px 0 0;
    color:var(--text);
    font-size:36px;
    font-weight:900;
}

.rule-hero-text{
    margin:16px 0 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.8;
}


/* =========================================================
 * Content
 * ========================================================= */

.rule-section{
    background:#fff;
}

.rule-card{
    max-width:900px;
    margin:0 auto;
    padding:48px 56px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius-medium);
    box-shadow:var(--shadow-small);
}

.rule-intro{
    padding-bottom:28px;
    border-bottom:1px solid var(--line);
}

.rule-intro h2{
    margin:0;
    color:var(--text);
    font-size:24px;
    font-weight:900;
}


/* =========================================================
 * Articles
 * ========================================================= */

.rule-content{
    padding-top:8px;
}

.rule-article{
    padding:32px 0;
    border-bottom:1px solid var(--line);
}

.rule-article:last-child{
    border-bottom:0;
}

.rule-article h3{
    margin:0 0 18px;
    color:var(--brand);
    font-size:19px;
    font-weight:900;
    line-height:1.5;
}

.rule-article p{
    margin:0 0 12px;
    color:var(--text);
    font-size:14px;
    line-height:2;
}

.rule-article p:last-child{
    margin-bottom:0;
}


/* =========================================================
 * Date
 * ========================================================= */

.rule-date{
    margin-top:32px;
    padding-top:24px;
    border-top:1px solid var(--line);
    color:var(--muted);
    text-align:right;
    font-size:13px;
    line-height:1.8;
}

.rule-date p{
    margin:0;
}


/* =========================================================
 * Responsive
 * ========================================================= */

@media(max-width:640px){

    .rule-hero{
        padding:52px 0 36px;
    }

    .rule-hero h1{
        font-size:30px;
    }

    .rule-card{
        padding:28px 20px;
        border-radius:var(--radius-small);
    }

    .rule-intro{
        padding-bottom:22px;
    }

    .rule-intro h2{
        font-size:20px;
    }

    .rule-article{
        padding:26px 0;
    }

    .rule-article h3{
        margin-bottom:14px;
        font-size:17px;
    }

    .rule-article p{
        font-size:14px;
        line-height:1.9;
    }
}