@font-face {
    font-family: "Charter";
    src: url("/assets/frontend/fonts/charter/otf/Charter Regular.otf")
        format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Charter";
    src: url("/assets/frontend/fonts/charter/otf/Charter Bold.otf")
        format("opentype");
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: "Charter", serif !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ul li {
    padding: 0;
    list-style: none;
    margin: 0;
}

a,
span {
    text-decoration: none;
    transition: all 0.8s ease-in-out;
    cursor: pointer;
}

.all-category {
    display: flex;
    align-items: center;
    margin-bottom: 34px;
    gap: 16px;
    overflow: auto;
}
.category-main a:hover,
.category-main.active a {
    background: #e07900;
    color: #ffffff;
}
.category-main a.active {
    background: #e07900;
    color: #ffffff;
}
.category-main a {
    font:
        500 20px / 26px "Charter",
        serif;
    color: #757575;
    padding: 10px 0;
    width: 157px;
    display: block;
    background: #e9e9e9;
    text-align: center;
    border-radius: 10px;
}

.category-main a:hover,
.category-main.active a {
    background: #e07900;
    color: #ffffff;
}

#featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 0 30px;
}

#featured .primary,
#featured .primary > article {
    position: relative;
}

#featured .primary {
    padding: 0 24px 0 0;
    border-right: 1px solid #ccd7d7;
}

#featured .secondary {
    padding: 24px 0;
    border-bottom: 1px solid #ccd7d7;
}

#featured .secondary .image-holder {
    width: 46%;
}

#featured .secondary .article-description {
    width: 50%;
}

#featured .secondary-index {
    padding: 0 0 0 24px;
}

#featured .secondary .article-block {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 24px;
}

#featured .image-holder {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.category-label {
    position: absolute;
    top: 2px;
    left: 8px;
}

.category-label a {
    font:
        400 14px / 20px "Charter",
        serif;
    color: #000000;
    background: transparent;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 0 5px;
    background: #ffffff;
}

.category-label .category-icon {
    width: 10px;
    height: 10px;
}

.image-holder img {
    display: block;
    height: 100%;
    width: 100%;
}

.article-item .image-holder img {
    object-fit: cover;
}

.author,
.timestamp {
    font:
        400 12px / 18px "Charter",
        serif;
    color: #595e5e;
}

.timestamp {
    padding: 0 0 0 5px;
    border-left: 1px solid #595e5e;
}

#featured .read-more {
    display: none;
}

.section-heading {
    font:
        700 32px / 38px "Charter",
        serif;
    color: #000000;
}

.section-subheading {
    font:
        500 24px / 30px "Charter",
        serif;
    padding: 16px 0;
    color: #000000;
}

.article-description a h1,
.article-description a h2,
.article-description a h3 {
    font:
        700 20px / 26px "Charter",
        serif !important;
    color: #000000 !important;
    padding: 0 0 16px;
    display: block;
    text-align: left;
}
.article-description a h1:hover,
.article-description a h2:hover,
.article-description a h3:hover {
    color: #f8941d !important;
}

.article-description p {
    font:
        400 16px / 22px "Charter",
        serif;
    color: #000000;
    padding: 0 0 16px;
}

#featured .primary .article-description,
.article-index .article-item .article-description {
    padding: 20px 20px 24px;
    margin: -30px 24px 0;
    display: inline-block;
    background: #ffffff;
    position: relative;
}

#features .section-header {
    padding: 16px 0;
    margin: 30px 0;
    text-align: center;
    font:
        700 24px / 30px "Charter",
        serif;
    color: #000000;
    border-top: 1px solid #ccd7d7;
    border-bottom: 1px solid #ccd7d7;
}

#article-container {
    display: grid;
    align-items: self-start;
    gap: 30px 20px;
    grid-template-columns: repeat(3, 1fr);
}

.article-item .image-holder {
    aspect-ratio: 16/9;
    background: #f7f9fa;
    position: relative;
    overflow: hidden;
}

.article-index .article-item {
    padding: 0 20px 0 0;
    box-sizing: border-box;
    border: 0;
    border-right: 1px solid #ccd7d7;
    height: 100%;
}

.article-index .article-block {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-index .article-item:nth-of-type(3n) {
    border-right: 0;
}

.article-index .article-item .article-description {
    margin: -20px 16px 0;
    flex: 1 0 auto;
    padding: 16px 12px 56px;
    border-bottom: 1px solid #ccd7d7;
}

.article-index .article-item .read-more {
    display: flex;
    position: absolute;
    bottom: 12px;
    right: 12px;
    margin-top: auto;
    align-items: center;
    gap: 6px;
}

.article-index .article-item .read-more a {
    font:
        700 12px/18px "Charter",
        serif;
    font-style: italic;
    color: #000000;
}

#pagination {
    margin: 26px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

#pagination span,
#pagination a {
    border: 1px solid #e9e9e9;
    padding: 8px 12px;
    color: #313131;
    border-radius: 4px;
    font:
        500 14px/20px "Charter",
        serif;
}

#pagination .current,
#pagination span:hover,
#pagination a:hover {
    background: #f8941d;
    color: #ffffff;
}

.breadcrumb-item a {
    font:
        400 16px / 22px "Charter",
        serif;
    color: #f8941d !important;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 6px;
}

.breadcrumb-item.active {
    color: #757575;
}

.google-ad {
    padding: 10px;
    text-align: center;
}
@media (max-width: 575px) {
    .category-main a {
        font:
            500 16px / 22px "Charter",
            serif;
        width: 110px;
    }
    #featured {
        grid-template-columns: repeat(1, 1fr);
    }

    #featured .primary {
        padding: 0;
        border-right: none;
    }

    #article-container {
        gap: 16px 0;
        grid-template-columns: repeat(1, 1fr);
    }

    #featured .primary .article-description,
    .article-index .article-item .article-description {
        padding: 10px 16px 10px;
        margin: -20px 10px 0;
    }

    .article-description a h1,
    .article-description a h2,
    .article-description a h3 {
        font:
            700 18px / 24px "Charter",
            serif !important;
        padding: 0 0 10px;
    }

    .article-description p {
        font:
            400 14px / 20px "Charter",
            serif;
        padding: 0 0 10px;
    }

    .secondary .article-excerpt {
        display: none;
    }

    #featured .secondary-index {
        padding: 0;
    }

    #featured .secondary:last-child {
        border-bottom: none;
    }

    #featured .primary {
        border-bottom: 1px solid #ccd7d7;
    }

    #featured .secondary {
        padding: 16px 0 0;
    }

    #featured .secondary .article-block {
        gap: 14px;
        padding: 0 0 16px;
    }

    .category-label a {
        font:
            400 10px / 16px "Charter",
            serif;
        padding: 3px 5px;
    }

    .category-label {
        top: 0;
        left: 2px;
    }

    .category-label .category-icon {
        width: 8px;
        height: 8px;
    }

    #features .section-header {
        padding: 10px 0;
        margin: 20px 0;
        font:
            700 20px / 26px "Charter",
            serif;
    }

    .article-index .article-item {
        padding: 0;
        box-sizing: border-box;
        border: 0;
        border-right: none;
        height: 100%;
    }

    .article-index .article-block {
        display: flex;
        flex-direction: row;
        height: 100%;
        gap: 14px;
        align-items: center;
    }

    .article-index .article-item .article-description {
        margin: -20px 16px 0;
        flex: 1;
        padding: 16px 12px 56px;
        border-bottom: 1px solid #ccd7d7;
    }

    #features .secondary .image-holder {
        width: 46%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    #features .secondary .article-description {
        width: 50%;
        margin: 0;
        padding: 0;
        border: none;
    }

    #features .article-index .article-item .read-more {
        display: none;
    }

    #features .article-index .article-item {
        padding: 0 0 16px;
        border-bottom: 1px solid #ccd7d7;
    }

    #pagination .page-link:nth-of-type(n + 3):not(.next) {
        display: none;
    }

    .section-heading {
        font:
            700 22px / 26px "Charter",
            serif;
    }
}

@media (max-width: 425px) {
    .article-description a h1,
    .article-description a h2,
    .article-description a h3 {
        font:
            700 16px / 22px "Charter",
            serif !important;
        padding: 0 0 10px;
    }
    .section-heading {
        font:
            700 22px / 26px "Charter",
            serif;
    }
}
