/*
Theme Name: Twenty Twenty One Child
Theme URI: https://example.com/twenty-twenty-one-child/
Description: Twenty Twenty-One Child Theme
Author: Anna Fitzgerald
Author URI: https://example.com
Template: twentytwentyone
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-column, responsive-layout
Text Domain: twentytwentyonechild
*/

.category-main {
    padding: 40px 0 0;
}

.category-inner {

}

.category-list {

}

.tabs-content-main {

}

.category-grid {

}

.category-grid .category-media {
    width: 100%;
    height: 265px;
    overflow: hidden;
}

.category-grid .category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-grid .category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-grid .category-content {
    padding: 40px 0 0;
}

.category-grid .category-content h3 {
    color: var(--color-mi-black-onyx);
    font-size: var(--font-size-24);
    font-style: normal;
    font-weight: var(--mi-font-weight-600);
    line-height: normal;
    letter-spacing: -0.72px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-grid .category-content p {
    margin-bottom: 15px;
    color: var(--color-mi-black-onyx);
    font-size: var(--font-size-16);
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 75px;
}

.category-grid .category-content a {
    color: var(--color-mi-black-onyx);
    font-size: var(--font-size-16);
    font-style: normal;
    font-weight: var(--mi-font-weight-600);
    line-height: normal;
    letter-spacing: -0.48px;
}

.category-grid .category-content a img {
    background: var(--mi-gradient-text, linear-gradient(90deg, #ED184F 0%, #E117F1 39.06%, #0084FF 77.6%, #00C6E9 100%));
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 4px;
    margin-left: 10px;
}

.btn__wrapper {
    padding: 35px 0 65px;
    width: 100%;
    text-align: center;
}

.btn__wrapper .btn__primary {
    border: 1px solid var(--color-mi-black-onyx);
    background: var(--color-mi-white-alabaster);
    color: var(--color-mi-black-onyx);
    text-align: center;
    font-size: var(--font-size-16);
    font-style: normal;
    font-weight: var(--mi-font-weight-500);
    line-height: normal;
    letter-spacing: -0.48px;
    text-transform: var(--mi-text-transform-uppercase);
    padding: 11.5px 20.5px;
    transition: var(--mi-transition-5s);
    border-radius: 0;
    position: relative;
}

.btn__wrapper .btn__primary:before {
    position: absolute;
    content: '';
    background: var(--mi-gradient-text);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    z-index: -1;
    left: -1px;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transition: var(--mi-transition-5s);
}

.btn__wrapper .btn__primary:after {
    position: absolute;
    content: '';
    background: var(--color-mi-white-alabaster);
    width: 100%;
    height: 100%;
    z-index: -1;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transition: var(--mi-transition-5s);
}

.btn__wrapper .btn__primary:hover:before {
    opacity: 1;
    transition: var(--mi-transition-5s);
}

.post-content-read {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid rgba(108, 117, 125, 0.40);
    padding-bottom: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.post-content-read span {
    color: var(--color-mi-black-onyx);
    font-size: var(--font-size-14);
    font-style: normal;
    font-weight: var(--mi-font-weight-500);
    line-height: normal;
}

.post-content-read span img {
    border-radius: 50%;
    margin-right: 5px;
}

.post-content-read span:last-child {
    color: var(--color-mi--dove-gray);
}

.post-publish-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.post-publish-content ul {
    display: flex;
}

.post-publish-content ul li {
    display: flex;
    flex-wrap: wrap;
}

.post-publish-content ul li {
    color: var(--color-mi--dove-gray);
    font-size: var(--font-size-16);
    font-style: normal;
    font-weight: var(--mi-font-weight-500);
    line-height: normal;
    position: relative;
}

.post-publish-content ul li + li {
    margin-left: 30px;
}

.post-publish-content ul li + li:before {
    position: absolute;
    content: '';
    background: var(--color-mi--dove-gray);
    height: 5px;
    width: 5px;
    left: -15px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
}

.post-publish-content ul li a {
    display: flex;
    align-items: center;
}

.category-grid .category-content .post-publish-content ul li img {
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    margin: 0 10px 0 0;
}

.category-name {
    margin-bottom: 10px;
}

.category-grid .category-content .category-name a, .category-grid .category-content .category-name label {
    border-radius: 6px;
    background: #F0F0F0;
    display: inline-block;
    padding: 6px 10px;
    color: var(--color-mi-black-onyx);
    font-size: var(--font-size-14);
    font-style: normal;
    font-weight: var(--mi-font-weight-500);
    line-height: normal;
    margin-right: 5px;
}

@media screen and (max-width: 1366px) {

    .category-main {
        padding: 35px 0 0;
    }

    .category-grid .category-content {
        padding: 30px 0 0;
    }

    .category-grid .category-content h3 {
        margin-bottom: 10px;
    }

    .category-grid .category-content p {
        margin-bottom: 30px;
    }

    .btn__wrapper {
        padding: 15px 0 65px;
    }

}

@media screen and (max-width: 1200px){

    .category-main {
        padding: 30px 0 0;
    }

    .category-grid .category-content {
        padding: 25px 0 0;
    }

    .category-grid .category-content h3 {
        margin-bottom: 10px;
    }

    .category-grid .category-content p {
        margin-bottom: 15px;
    }

    .category-grid .category-content a {
        font-size: 14px;
    }

    .btn__wrapper {
        padding: 5px 0 65px;
    }

}

@media screen and (max-width: 1024px) {

    .category-main {
        padding: 30px 0 0;
    }

    .category-grid .category-content {
        padding: 20px 0 0;
    }

    .category-grid .category-content h3 {
        margin-bottom: 12px;
    }

    .category-grid .category-content p {
        font-size: var(--font-size-mobile-16);
        margin-bottom: 25px;
    }

    .btn__wrapper {
        padding: 0 0 60px;
    }

    .btn__wrapper .btn__primary {
        padding: 10px 20px;
    }

    .category-grid {
        margin-bottom: 40px;
    }

    .category-grid:last-child {
        margin-bottom: 0;
    }

}

@media screen and (max-width: 767px) {

    .category-main {
        padding: 30px 0 0;
    }

    .category-grid {
        margin-bottom: 30px;
    }

    .category-grid:last-child {
        margin-bottom: 0;
    }

    .category-grid .category-content {
        padding: 20px 0 0;
    }

    .category-grid .category-content h3 {
        margin-bottom: 10px;
    }

    .category-grid .category-content p {
        margin-bottom: 25px;
        font-size: var(--font-size-mobile-14);
        min-height: auto;
    }

    .category-grid .category-content a {
        font-size: var(--font-size-mobile-16);
    }

    .post-publish-content ul li {
        font-size: var(--font-size-12);
    }

    .post-content-read span img {
        margin-right: 8px;
    }

    .btn__wrapper {
        padding: 0 0 50px;
    }

    .btn__wrapper .btn__primary {
        padding: 8px 20px;
    }

    .category-grid .category-content .category-name a {
        margin: 2.5px 5px 2.5px 0;
    }

}

@media screen and (max-width: 575px) {

    .category-main {
        padding: 20px 0 0;
    }

}