/* Featured */

.hc-featured-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.hc-featured-container .hc-featured-col {
    flex: 0 0 50%;
    padding: 0 10px 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item > a,
.hc-featured-container .hc-featured-col .hc-featured-item > a{
    display: block;
}

.hc-featured-container .hc-featured-col .hc-featured-item {
    flex: 0 0 50%;
    padding: 0 10px 30px;
}

.hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-img {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: 3px;
    overflow: hidden;
}

.hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-img img {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-category,
.hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-category{
    margin-top: 7px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: #1e1810;
}

.hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-content h5 {
    font-size: 18px;
    line-height: 26px;
    height: 78px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-content h5 {
    font-size: 24px;
    line-height: 39px;
    height: 78px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-content .hc-featured-item-publish-date,
.hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-content .hc-featured-item-publish-date{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    color: #1e1810;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item {
    width: 100%;
    padding: 0 10px 30px;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item > a {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    flex-grow: 1;
    height: 100%;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-img {
    flex-grow: 1;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hc-featured-container .hc-featured-col .hc-featured-special-item > a:hover h5,
.hc-featured-container .hc-featured-col .hc-featured-item > a:hover h5 {
    color: #9b70a1;
}

@media only screen and (max-width: 964px) {
    .hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-content h5 {
        font-size: 16px;
        line-height: 24px;
        height: 72px;
    }

    .hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-content h5 {
        font-size: 23px;
    }
}

@media only screen and (max-width: 768px) {
    .hc-featured-container .hc-featured-col {
        flex: 0 0 100%;
        padding: 0;
    }

    .hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-content h5 {
        font-size: 17px;
        height: unset;
        overflow: unset;
        -webkit-line-clamp: unset;
        display: block;
        -webkit-box-orient: unset;
    }

    .hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-content h5 {
        height: unset;
        overflow: unset;
        -webkit-line-clamp: unset;
        display: block;
        -webkit-box-orient: unset;
    }

    .hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-img {
        flex-grow: unset;
        width: 100%;
        padding-top: 75%;
    }
}

@media only screen and (max-width: 425px) {
    .hc-featured-container .hc-featured-col .hc-featured-item .hc-featured-item-content h5 {
        font-size: 16px;
        line-height: 22px;
    }

    .hc-featured-container .hc-featured-col .hc-featured-special-item .hc-featured-item-content h5 {
        font-size: 21px;
        line-height: 30px;
    }
}


/* Category */

.hc-cat-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.hc-cat-item {
    flex: 0 0 33.33%;
    padding: 0 10px 30px;
}

.hc-cat-item .hc-cat-heading h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 26px;
}

.hc-cat-item .hc-cat-heading h2 a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #9b70a1;
}

.hc-cat-item .hc-cat-heading h2 a {
    position: relative;
}

.hc-cat-item .hc-cat-posts > a {
    display: block;
    overflow: hidden;
    margin-top: 20px;
}

/* First item */

.hc-cat-item .hc-cat-post-item-first {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-img {
    padding-bottom: 60%;
    height: 0;
    width: 100%;
    display: block;
    position: relative;
}

.hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 40px 20px 20px;
    width: 100%;
    background: linear-gradient(0deg,#000000e6,transparent);
}

.hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-content span {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 11px;
}

.hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-content h5 {
    color: #ffffff;
    font-size: 22px;
    line-height: 27px;
    height: 54px;
    text-shadow: 0 1px 3px #000;
    margin: -5px 0 0;
    overflow: hidden;
}

.hc-cat-item .hc-cat-posts > a:hover .hc-cat-post-item-first .hc-cat-post-item-img img {
    transform: scale(1.05);
    transition-duration: 500ms;
}

/* Other Items */

.hc-cat-item .hc-cat-post-item {
    display: flex;
    width: 100%;
    align-items: center;
}

.hc-cat-item .hc-cat-post-item .hc-cat-post-item-img {
    overflow: hidden;
    width: 120px;
    min-width: 120px;
    border-radius: 4px;
}

.hc-cat-item .hc-cat-post-item .hc-cat-post-item-img img {
    height: 120px;
    width: 120px;
    max-width: unset;
    aspect-ratio: 1;
    object-fit: cover;
}

.hc-cat-item .hc-cat-post-item .hc-cat-post-item-content {
    padding-left: 10px;
}

.hc-cat-item .hc-cat-post-item .hc-cat-post-item-content h5 {
    margin: 0;
    padding: 0;
    line-height: 23px;
    font-size: 18px;
}

.hc-cat-item .hc-cat-post-item .hc-cat-post-item-content span {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: #1e1810;
}

.hc-cat-item {
    transition: none !important;
    transform: none !important;
}

.hc-cat-item .hc-cat-posts > a:hover .hc-cat-post-item .hc-cat-post-item-content h5 {
    color: #9b70a1;
}

.hc-cat-item .hc-cat-posts > a:hover .hc-cat-post-item .hc-cat-post-item-content span {
    color: #1e1810;
}

@media only screen and (max-width: 1024px) {
    .hc-cat-item {
        flex: 0 0 50%;
    }
}

@media only screen and (max-width: 768px) {
    .hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-content h5 {
        font-size: 20px;
    }

    .hc-cat-item .hc-cat-post-item .hc-cat-post-item-content h5 {
        line-height: 22px;
        font-size: 16px;
    }

    .hc-cat-item .hc-cat-post-item .hc-cat-post-item-img {
        width: 100px;
        min-width: 100px;
    }

    .hc-cat-item .hc-cat-post-item .hc-cat-post-item-img img {
        height: 100px;
        width: 100px;
    }

    .hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-content {
        padding: 40px 10px 15px;
    }
}

@media only screen and (max-width: 620px) {
    .hc-cat-item {
        flex: 0 0 100%;
    }

    .hc-cat-item .hc-cat-post-item-first .hc-cat-post-item-content {
        padding: 40px 20px 20px;
    }
}

/* Homepage GRID */

.hc-grid {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    margin: 0 0 30px;
    justify-content: center;
}

.hc-grid .hc-grid-item {
    display: flex;
    width: 25%;
}

.hc-grid-item a {
    margin: 15px 15px 30px;
    width: 100%;
    position: relative;
}

.hc-grid-item a .hc-grid-item-img {
    position: relative;
    width: 100%;
    padding-top: 60%;
    border-radius: 3px;
    overflow: hidden;
}

.hc-grid-item a .hc-grid-item-img img {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hc-grid-item .hc-grid-item-text h5 {
    font-size: 18px;
    line-height: 26px;
    margin: 10px 0 0;
}

.hc-grid-item .hc-grid-item-text span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    color: #1e1810;
}

.hc-grid-item a:hover .hc-grid-item-text h5 {
    color: #9b70a1;
}

@media only screen and (max-width: 992px) {
    .hc-grid .hc-grid-item {
        width: 33%;
    }
}

@media only screen and (max-width: 768px) {
    .hc-grid .hc-grid-item {
        width: 50%;
    }

    .hc-grid-item .hc-grid-item-text h5 {
        font-size: 17px;
        line-height: 24px;
    }
}

@media only screen and (max-width: 620px) {
    .hc-grid-item a {
        margin: 10px 10px 20px;
    }
}

@media only screen and (max-width: 425px) {
    .hc-grid-item .hc-grid-item-text h5 {
        font-size: 16px;
        line-height: 22px;
    }

}
