@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #FEF8F2;
}

a {
    text-decoration: none;
    color: #FA5D00;
}

img {
    max-width: 100%;
    height: auto;
}

.form-control:focus, .form-select:focus, .page-link:focus, .form-check-input:focus, .btn-close:focus, .navbar-toggler:focus {
    box-shadow: unset;
}

.dropdown-menu {
    --bs-dropdown-border-width: 0;
    box-shadow: var(--bs-box-shadow);
}

.navbar {
    background: rgba(254, 236, 223, .7);
}

.navbar-brand {
    --bs-navbar-brand-font-size: 1.5rem;
    --bs-navbar-brand-margin-end: 0;
}

.logo {
    font-size: 1.5rem;
}

.navbar-brand, .logo {
    font-family: "Source Serif 4", serif;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    --bs-navbar-toggler-padding-x: 0;
}

.navbar-toggler-icon {
    width: 1em;
    height: 1em;
}

.avatar {
    display: block;
}

.avatar img {
    width: 2rem;
    height: 2rem;
}

.dropdown-menu {
    --bs-dropdown-padding-x: .25rem;
    --bs-dropdown-padding-y: .25rem;
    --bs-dropdown-font-size: .875rem;
}

.dropdown-menu .dropdown-item {
    border-radius: .25rem;
}

.dropdown-item.active, .dropdown-item:active {
    color: #FA5D00;
    background-color: rgba(250, 93, 0, 0.1);
}

.nav-link {
    font-weight: 500;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-nav .nav-link.active {
    color: #fa5d00;
}

.main-content {
    min-width: 0;
}

.sidebar {
    width: 300px;
    height: 100%;
    /*position: sticky;*/
    /*top: 0;*/
}

.breadcrumb {
    margin-bottom: .5rem;
}

.breadcrumb-item a {
    font-size: .875em;
    color: rgba(0, 0, 0, .5);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(0, 0, 0, .5);
}

.post-container {
    background: rgba(254, 236, 223, .7);
    padding: 1rem;
}

.post-container .description {
    font-family: "Source Serif 4", serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-title {
    font-family: "Source Serif 4", serif;
    font-size: 1.75rem;
    font-weight: 600;
}

.post-item {
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.post-item .thumb, .section-small .item .thumb {
    position: relative;
    padding-top: calc(100% - 40%);
}

.post-item .thumb a, .section-small .item .thumb a {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.post-item h3 {
    font-size: 1rem;
    padding: 0 .25rem;
    margin-top: .875rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-item h3 a {
    color: unset;
}

.post-item h4 {
    padding: 0 .25rem;
    font-weight: 300;
    font-size: 1rem;
}

.post-info {
    font-size: .875rem;
    padding: 0 .25rem;
}

.post-content {
    font-family: "Source Serif 4", serif;
    font-size: 1.125rem;
}

.post-content img {
    cursor: pointer;
}

.post-content .portrait {
    display: block;
    text-align: center;
    background: rgba(29, 30, 28, 0.06);
}

.post-content .portrait img {
    max-height: 100%;
}

.post-content strong {
    font-weight: 600;
}

.section-latest .col-md-8 .post-item h3 {
    font-size: 1.125rem;
}

.section-small .item {
    display: flex;
    /*margin-bottom: 1rem;*/
}

.section-small .item > div:nth-child(1) {
    flex: 0 0 40%;
    margin-right: .625rem;
}

.section-small .item h5 {
    font-size: .875rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: .125rem;
}

.section-small .item a {
    color: unset;
}

.section-small .item .post-info {
    font-size: .625rem;
}

.section-video {
    /*background: rgba(250, 93, 0, 0.1);*/
    /*border-radius: .5rem;*/
    padding: 1rem 0;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

.section-video h2, .section-recent h2 {
    font-size: 1rem;
}

.section-small h2 {
    margin-bottom: .75rem;
}

.footer {
    background: rgba(254, 236, 223, .7);
}

.footer a {
    color: unset;
}

.footer hr {
    opacity: .1;
}

#videoModal .modal-dialog {
    margin: unset;
    max-width: 100%;
    height: 100%;
}

#videoModal .modal-content {
    border: unset;
    border-radius: unset;
    background-color: #000;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.mejs__container:focus {
    outline: unset;
}

.close, .btn-circle-logo {
    position: absolute;
    top: .5rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    z-index: 2;
    color: rgb(228, 230, 235);
}

.btn-circle-avatar {
    position: absolute;
    top: .5rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    z-index: 2;
}

.close .overlay, .swiper-button-prev .overlay, .swiper-button-next .overlay {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover .overlay, .swiper-button-prev:hover .overlay, .swiper-button-next:hover .overlay {
    background-color: rgba(255, 255, 255, 0.1);
}

.close:active, .swiper-button-prev:active, .swiper-button-next:active {
    transform: scale(.96);
}

.btn-circle-logo {
    overflow: hidden;
}

.modal.fade .modal-dialog {
    transform: unset;
}

.section-video .swiper-slide {
    /*font-size: .875rem;*/
}

.section-video .swiper-slide .description, .video-item .description {
    /*background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.section-video .swiper-slide a:active {
    transform: scale(.98);
}

.mejs__poster, .mejs__controls {
    display: none;
}

.modal-video .video-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 52.5%, rgba(0, 0, 0, 0));
    z-index: 2;
    padding: .75rem 1rem;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.modal-video .video-sound .sound-on {
    display: none;
}

.video-sound.on .sound-on {
    display: block;
}

.video-sound.on .sound-off {
    display: none;
}

.modal-video .swiper-slide .dropdown > a, .modal-video .swiper-slide .video-sound {
    color: #fff;
}

.modal-video .video-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1) 12.5%, rgba(0, 0, 0, 0.4));
    padding: .75rem 1rem;
}

.modal-video .swiper-navigation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.swiper-button-prev, .swiper-button-next {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.modal-video .swiper-navigation.bottom {
    top: unset;
    bottom: 1.625rem;
}

.swiper-navigation.bottom .swiper-button-prev, .swiper-navigation.bottom .swiper-button-next {
    width: 2.5rem;
    height: 2.5rem;
}

.modal-video .swiper-button-prev, .modal-video .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.1);
}

.section-video .swiper-button-prev, .section-video .swiper-button-next {
    background-color: rgba(254, 236, 223, .7);
}

.swiper-button-prev::after, .swiper-button-next::after {
    content: unset;
}

.modal-video .swiper-button-prev i, .modal-video .swiper-button-next i {
    color: rgb(228, 230, 235);
}

.section-video .swiper-button-prev i, .section-video .swiper-button-next i {
    color: #1D1E1C;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}

.mejs__overlay-error > img {
    border-radius: .5rem;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
}

.hashtags .item {
    margin-top: .375rem;
}

.hashtags .item:not(:first-child) {
    margin-left: .375rem;
}

.hashtags .item a {
    border: 1px solid transparent;
    color: unset;
    background-color: rgba(250, 93, 0, 0.1);
}

.hashtags .item a:hover, .hashtags .item a:active {
    background-color: rgba(250, 93, 0, .2);
    color: #FA5D00;
}

.comment-item img, .add-comment-section img {
    width: 40px;
}

.comment-item .username {
    font-weight: 500;
}

.comment-item .dropdown {
    display: none;
}

.comment-wrap:hover .dropdown {
    display: unset;
}

.comment-item > .reply-wrap {
    margin-left: 3.5rem;
    margin-top: .5rem;
}

.form-signin {
    max-width: 380px;
    background: rgba(254, 236, 223, .7);
}

#add-comment-form .tox-tinymce, .reply-comment-form .tox-tinymce {
    border: unset;
}

.pagination {
    margin-bottom: 0;
}

.page-item:not(:first-child) .page-link {
    margin-left: .125rem;
}

.page-item .page-link {
    color: var(--bs-body-color);
    background-color: unset;
    border-color: transparent;
    border-radius: var(--bs-pagination-border-radius);
}

.page-link:hover {
    border-color: rgba(250, 93, 0, 0.1);
}

.active > .page-link, .page-link.active {
    color: #FA5D00;
    background-color: rgba(250, 93, 0, 0.1);
    border-color: rgba(250, 93, 0, 0.1);
}

.card {
    --bs-card-border-color: var(--bs-border-color);
}

.table > :not(caption) > * > * {
    border-bottom-width: 0px;
    border-top-width: 1px;
}

.table > thead:first-child > tr:first-child > th, .table > tbody:first-child > tr:first-child > td {
    border-top: 0;
}

.table > thead > tr > th, .table > tbody > tr > th {
    font-weight: 500;
}

.mm-spn.mm-spn--navbar ul {
    /*top: calc(var(--mm-spn-item-height) + 0px);*/
}

.g-2-5 {
    --bs-gutter-y: .75rem;
    --bs-gutter-x: .75rem;
}

@media (min-width: 576px) {
    .col-sm-5 {
        flex: 0 0 auto;
        width: 20%;
    }
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .navbar-brand {
        --bs-navbar-brand-margin-end: 2rem;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: unset;
    }
}

@media (max-width: 991px) {
    .sidebar {
        width: unset;
    }
}

@media (max-width: 767px) {
    .section-video .swiper-button-next, .section-video .swiper-button-prev {
        display: none;
    }

    .navbar {
        border-bottom: 1px solid rgba(254, 236, 223, .7);
    }

    .navbar-brand {
        --bs-navbar-brand-font-size: 1.375rem;
        --bs-navbar-brand-padding-y: 0;
        margin-left: calc(var(--bs-gutter-x) * .5);
    }

    .navbar-toggler {
        --bs-navbar-toggler-padding-y: 0;
    }

    .nav-link {
        padding-left: .75rem;
        padding-right: .75rem;
        padding-top: calc(.5rem - 1px);
        padding-bottom: calc(.5rem - 1px);
    }
}

@media (max-width: 575px) {
    body, .btn {
        font-size: .875rem;
    }

    p {
        margin-bottom: .75rem;
    }

    .post-content, .post-container .description {
        font-size: 1rem;
    }

    .post-container {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-item {
        margin-bottom: .5rem;
    }

    .post-item h3 {
        margin-top: .5rem;
        margin-bottom: 0.375rem;
        font-size: .875rem;
    }

    .section-latest .col-md-8 .post-item h3 {
        font-size: 1rem;
    }

    .modal-video .description {
        font-size: .875rem;
        padding: .375rem .5rem;
    }

    .post-container {
        margin-left: calc(var(--bs-gutter-x) * -.5);
        margin-right: calc(var(--bs-gutter-x) * -.5);
    }

    .comment-item img, .add-comment-section img {
        width: 32px;
    }

    .comment-item > .reply-wrap {
        margin-left: 2.5rem;
    }
}
