/*
  Blog CSS
*/

/* BLOG ARCHIVE */

/* Banner */
.all-categories {
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    box-shadow: 0px 4px 9px -2px rgb(0 0 0 / 37%);
}

.all-categories a.category {
    padding: 16px 15px;
    color: #e7e9e9;
    background: #161817;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.2s ease;
}


.all-categories a.category:hover {
    background: #2c2c2c;
}


/* -- Title */
.et_pb_post .entry-title {
    padding-bottom: 10px;
}

/* -- Post Meta (Date & Category) */
.et_pb_post .post-meta {
    margin-bottom: 20px;
}

/* -- Anchor */
.et_pb_post .post-meta a {
    color: #ff5a24;
}

/* -- Post Excerpt */
.et_pb_post .post-content .post-content-inner {
    margin-bottom: 25px;
}


/* -- Read More button in Archive */
.et_pb_post div.post-content a.more-link {
    text-align: center;
    display: block;
    border-radius: 3px;
    letter-spacing: 1px;
    font-size: 16px;
    padding: 8px 10px;
    transition: all 0.2s ease;
    background: #2c2c2c;
}

.et_pb_post div.post-content a.more-link:hover {
    background: #1d1d1d;
}


/* BLOG SINGLE POST */

/* -- Single Post Spacings */
.et_pb_post_content p+h1,
.et_pb_post_content p+h2,
.et_pb_post_content p+h3,
.et_pb_post_content p+h4,
.et_pb_post_content p+h5,
.et_pb_post_content p:not(.subhead-small)+p,
.et_pb_post_content ul+p,
.et_pb_post_content ol+p {
    margin-top: 2em;
}

.et_pb_post_content p+h1,
.et_pb_post_content p+h2,
.et_pb_post_content p+h3,
.et_pb_post_content p+h4,
.et_pb_post_content p+h5,
.et_pb_post_content p:not(.subhead-small)+p,
.et_pb_post_content ul+p,
.et_pb_post_content ol+p {
    margin-top: 1em;
}


.et_pb_post_content {
    box-shadow: 0px 5px 6px -2px rgb(0 0 0 / 27%);
    font-weight: 400;
}

.et_pb_post_content h2 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.et_pb_post_content h4 {
    margin-top: 5px;
}

.et_pb_post_content img {
    border-radius: 4px;
}


/* --------- DESKTOP & TABLET --------- */
@media only screen and (min-width: 768px){
    /* -- Title anchor */
    .et_pb_post .entry-title a {
        text-overflow: ellipsis;
        overflow: hidden;
        height: 1.4em;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    /* -- Post Excerpt */
    .et_pb_post .post-content .post-content-inner {
        margin-bottom: 25px;
        text-overflow: ellipsis;
        overflow: hidden;
        height: 9.0em;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
    }
}


/* --------- MOBILE --------- */
@media only screen and (max-width: 768px){

    /* Blog Archive Categories */
    .all-categories {
        flex-direction: column;
    }

}