/* =========================================================
   BLOG
========================================================= */

.rl-blog-hero,
.rl-blog-detail-hero {
    background: #f5f6f7;
    padding: 90px 0;
}

.rl-blog-hero h1,
.rl-blog-detail-hero h1 {
    font-weight: 700;
    margin: 10px 0 15px;
}

.rl-blog-hero p,
.rl-blog-detail-hero p {
    max-width: 680px;
    color: #666;
    line-height: 1.8;
}


/* Featured */

.rl-featured-blog {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,.06);
}

.rl-featured-blog img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.rl-featured-blog .row {
    margin: 0;
}

.rl-featured-blog .col-lg-7 {
    padding: 0;
}

.rl-featured-blog .col-lg-5 {
    padding: 45px;
}

.rl-blog-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}


/* Categories */

.rl-blog-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px 0 10px;
}

.rl-blog-categories a {
    white-space: nowrap;
    padding: 8px 15px;
    border-radius: 30px;
    background: #f1f1f1;
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

.rl-blog-categories a:hover,
.rl-blog-categories a.active {
    background: #222;
    color: #fff;
}


/* Cards */

.rl-blog-card {
    height: 100%;
    background: #fff;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eee;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rl-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.rl-blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.rl-blog-card-body {
    padding: 22px;
}

.rl-blog-meta {
    font-size: 12px;
    color: #999;
}

.rl-blog-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 9px 0;
}

.rl-blog-card h3 a {
    color: #222;
    text-decoration: none;
}

.rl-blog-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.rl-read-more {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.rl-read-more i {
    margin-left: 5px;
}


/* Detail */

.rl-blog-detail-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 16px;
}

.rl-blog-content {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.rl-blog-content h2,
.rl-blog-content h3 {
    color: #222;
    margin-top: 35px;
    margin-bottom: 15px;
}

.rl-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.rl-blog-content blockquote {
    border-left: 3px solid #222;
    padding: 15px 20px;
    margin: 30px 0;
    background: #f7f7f7;
}


/* Share */

.rl-blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    margin-top: 45px;
    padding-top: 20px;
}

.rl-blog-share span {
    font-size: 13px;
    color: #888;
    margin-right: auto;
}

.rl-blog-share a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
}


/* Mobile */

@media(max-width:767px) {

    .rl-blog-hero,
    .rl-blog-detail-hero {
        padding: 60px 0;
    }

    .rl-featured-blog img {
        height: 250px;
    }

    .rl-featured-blog .col-lg-5 {
        padding: 25px;
    }

    .rl-blog-card img {
        height: 200px;
    }

    .rl-blog-content {
        font-size: 16px;
    }

}