
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

.h1 { font-size: 36px; }
.h2 { font-size: 30px; }
.h3 { font-size: 24px; }
.h4 { font-size: 20px; }

p {
    margin-bottom: 15px;
}

a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}


.grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.grid__item {
    padding: 0 10px;
    margin-bottom: 20px;
}

.grid-uniform {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.one-quarter {
    width: 25%;
}

.one-third {
    width: 33.333%;
}

.one-half {
    width: 50%;
}

.two-thirds {
    width: 66.666%;
}

.post-large--one-third {
    width: 33.333%;
}

.post-large--two-thirds {
    width: 66.666%;
}

.post-large--one-quarter {
    width: 25%;
}

.post-large--one-fifth {
    width: 20%;
}


.text-center {
    text-align: center;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.rte {
    line-height: 1.8;
}

.rte ul, .rte ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff !important;
    border: 1px solid #333;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: #fff;
    color: #333 !important;
    opacity: 1;
}


@media screen and (max-width: 768px) {
    .medium-down--one-half {
        width: 50%;
    }
    
    .medium-down--hide {
        display: none;
    }
    
    .one-quarter,
    .one-third,
    .two-thirds,
    .post-large--one-third,
    .post-large--two-thirds {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .medium-down--one-half {
        width: 100%;
    }
}


.post-large--display-table {
    display: table;
    width: 100%;
}

.post-large--display-table-cell {
    display: table-cell;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .post-large--display-table,
    .post-large--display-table-cell {
        display: block;
        width: 100%;
    }
    
    .post-large--hide {
        display: none !important;
    }
}

.medium--hide {
    display: none;
}

@media screen and (min-width: 769px) {
    .medium--hide {
        display: block;
    }
}

hr {
    border: 0;
    border-top: 1px solid #e8e8e8;
    margin: 20px 0;
}

