@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap");
/* font-family: 'Playfair Display', serif;
font-family: 'Poppins', sans-serif; */

/* ====== COMMON ========= */

:root {
    --primary-color: #f7a70d;
    --primary-color-light: #ffbe45;
    --secondary-color: #1d1d1b;
    --text-color-1: #1d1d1b;
    --bg-light-color: #f7f7f7;
    --bg-light-color-2: #fff5ef;
    --text-color-dark: #1f1f1f;
    --heading-text: "Red Hat Text", sans-serif;
    --playfair-font: "Lato", serif;
    --h2-size: 3.6rem;
    --h2-lh: 5.2rem;
    --h2-fw: 900;
    --text-size: 1.7rem;
    --text-lh: 2.5rem;
    --text-fw: 400;
}

html {
    font-size: 62.5%;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-color-dark);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

iframe {
    width: 100% !important;
    height: 800px !important;
}

button {
    background: none;
    box-shadow: none;
    border: 0;
    outline: 0;
}

a {
    text-decoration: none;
}

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

ul {
    list-style: none;
}

section {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.two-column {
    margin-top: 14rem !important;
    max-width: 100%;
}

.ml-1 {
    margin-left: 4px;
}

.ml-2 {
    margin-left: 8px;
}

.ml-3 {
    margin-left: 1.2rem;
}

.text-primary {
    color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    color: #2c2c2c;
}

.footer-slider,
.container:not(.top-nav .container) {
    width: 100%;
    padding: 2rem 0;
}

@media (min-width: 576px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .footer-slider,
    .two-column,
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
}

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

@media (max-width: 991px) {
    .d-flex {
        justify-content: center;
    }
}

.d-none {
    display: none;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.p-4 {
    padding: 1.4rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.btn {
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    transition: 0.2s all ease;
}

.btn-primary:hover {
    background: var(--primary-color-light);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.shimmer {
    display: inline-block;
    position: relative;
    color: #fff;
    padding: 1rem 2rem;
    font-weight: 400;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.shimmer::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    height: 100%;
    transform: rotate(45deg) scale(2);
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.shimmer:hover::after {
    top: 0;
    left: 140%;
}

/* ======= SITE TOP =========== */
.site-top {
    padding: 1rem;
    color: #fff;
    font-size: 1.3rem;
    background: var(--secondary-color);
}

.site-top .container {
    display: flex;
    padding: 0 0.8rem;
    justify-content: space-between;
}

.site-top .info-divider {
    margin: 0 0.9rem;
}
.site-top a {
    color: #fff;
}
.site-top .social {
    cursor: pointer;
}

.site-top .info-detail {
    margin-left: 4px;
}

@media (max-width: 991px) {
    .site-top {
        display: none;
    }
}

/* ======== TOP NAV ======== */
.top-nav {
    background: #1d1d1b;
    transition: all 0.4s ease-in-out;
}

.top-nav > .container {
    display: flex;
    margin: 0 auto;
    padding: 1.2rem 0;
    justify-content: space-between;
}

.brand {
    height: 70px;
    color: #181818 !important;
    font-weight: 600;
    font-size: 2.4rem;
    padding: 1rem 0;
}

.brand span {
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    height: 100%;
}

.brand img {
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.4rem 1.7rem;
    transition: color 0.4s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-btn {
    /* background: var(--primary-color); */
    background-color: #36b91c !important;
    color: #fff;
    padding: 1rem 2rem;
    margin-top: 1.4rem;
    margin-left: 2rem;
    height: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    color: #fff;
    background-color: #32c415 !important;
}

.nav-item .dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 23rem;
    border-radius: 1px;
    transform: translateY(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dropdown-link {
    color: #1f1f1f;
    font-size: 1.5rem;
    padding: 1.5rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: #0969c8;
    padding-left: 1.6rem;
    background: #fff;
}

.nav-item:hover > .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
}

.dropdown-item {
    position: relative;
}

.dropdown-item > .dropdown {
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 100%;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.dropdown-item:hover > .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.dropdown-toggler {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.navbar-toggler-wrapper {
    display: none;
    position: fixed;
    top: 18px;
    right: 10px;
    justify-content: flex-end;
    margin-bottom: 2.4rem;
    z-index: 1000;
}

.navbar-toggler {
    color: #1f1f1f;
    font-weight: 400;
    font-size: 2rem;
    padding: 0.4rem 1rem;
    cursor: pointer;
}

.navbar-toggler i {
    pointer-events: none;
}

@media (max-width: 991px) {
    .brand img {
        width: auto;
        height: 100%;
    }
}

/* =========== STICKY NAV ============ */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
}

.shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.shadow-lg {
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

/* ======== TOP MENU RESPONSIVE ======== */
@media (max-width: 991px) {
    .sidenav-toggle {
        display: none;
    }
}

.sidenav-toggle i {
    pointer-events: none;
}

.side-nav {
    display: block;
    padding: 3rem 1rem 2rem 1rem;
    position: fixed;
    margin-right: 0;
    height: 100vh;
    background: #fff;
    right: 0;
    top: 0;
    width: 20rem;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.sidenav-close {
    display: block;
    width: 2rem;
    margin-left: auto;
    margin-right: 1rem;
    color: #1f1f1f;
    cursor: pointer;
}

.side-nav.active {
    box-shadow: -4px 0 4px rgba(0, 0, 0, 0.1);
    transform: translateX(0);
}

.side-nav .nav-item:hover > .dropdown {
    transform: none;
}

.side-nav .nav-link,
.side-nav .dropdown-link {
    align-items: center;
    padding: 1.2rem 1rem;
    justify-content: space-between;
    color: #1f1f1f;
}

.side-nav .nav-item .dropdown {
    display: none;
    visibility: visible;
    opacity: 1;
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    transition: none;
}

.side-nav .dropdown-item > .dropdown {
    display: none;
    background: rgba(0, 0, 0, 0.1);
    transition: none;
}

.side-nav span {
    border: 1px solid #1f1f1f;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    border-radius: 50%;
}

.side-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav .dropdown-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 18rem;
}

.side-nav .nav-item:last-child,
.side-nav .dropdown-item:last-child {
    border-bottom: none;
}

@media (max-width: 991px) {
    .navbar-toggler-wrapper {
        display: flex;
    }

    .navbar-toggler {
        display: inline;
    }

    .nav-menu {
        display: block;
        padding: 6rem 1rem 2rem 1rem;
        position: fixed;
        margin-right: 0;
        height: 100vh;
        background: #fff;
        right: 0;
        top: 0;
        width: 20rem;
        transform: translateX(100%);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        box-shadow: -4px 0 4px rgba(0, 0, 0, 0.1);
        transform: translateX(0);
    }

    .nav-item:hover > .dropdown {
        transform: none;
    }

    .nav-link,
    .dropdown-link {
        align-items: center;
        padding: 1.2rem 1rem;
        justify-content: space-between;
        color: #1f1f1f;
    }

    .nav-item .dropdown {
        display: none;
        visibility: visible;
        opacity: 1;
        position: static;
        transform: none;
        background: #f1f1f1;
        box-shadow: none;
        transition: none;
    }

    .dropdown-item > .dropdown {
        display: none;
        background: #ebebeb;
        transition: none;
    }

    .nav-menu span {
        border: 1px solid #fff;
        width: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 24px;
        border-radius: 50%;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 18rem;
    }

    .nav-item:last-child,
    .dropdown-item:last-child {
        border-bottom: none;
    }
    .brand {
        height: 7rem;
        /* margin-left: 2.3rem; */
        color: #fff;
        font-size: 2rem;
        line-height: 2.8rem;
        padding: 1rem;
    }
}

/* ========= BANNER ============ */
.banner {
    background: linear-gradient(94.5deg, #f7a611 0%, #f1c26b 74%, #ed9e09 107%);
    width: 100%;
    height: 56rem;
    /* padding: 0; */
    padding-bottom: 20px;
    margin: 0;
    transition: all 0.3s;
    padding-top: 10rem;
}

.banner-top {
    position: relative;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.banner-top h1 {
    font-family: var(--heading-text);
    font-size: 4.7rem;
    max-width: 900px;
    font-weight: 900;
    text-align: center;
    color: var(--text-color-dark);
    margin-bottom: 10px;
}

.banner-top p {
    font-size: 2rem;
    line-height: 3.4rem;
    text-align: center;
    font-weight: 400;
    color: var(--text-color-dark);
}

.banner-top svg {
    position: absolute;
}

.banner-top svg:nth-of-type(1) {
    left: 0;
    top: 6rem;
}
.banner-top svg:nth-of-type(2) {
    right: 14rem;
    top: 6rem;
}

.banner-top svg:nth-of-type(3) {
    right: 6rem;
    bottom: 4rem;
}

@media (max-width: 991px) {
    .banner-top {
        padding: 0;
        text-align: center;
    }
    .banner-top svg {
        display: none;
    }
}

.banner-slider,
.banner-slide {
    height: 36rem;
}

.banner-slide {
    display: flex;
    column-gap: 4px;
}

.banner-detail {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 8rem 5rem 2rem;
}

.banner-cat-title a {
    display: inline-block;
    color: var(--text-color-1);
    background: var(--primary-color-light);
    padding: 0.6rem 1rem;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.banner-cat-title a:not(:last-child)::after {
    content: "|";
    margin: 0 5px;
    display: inline-block;
    color: var(--secondary-color);
}

.banner-post-title a {
    display: block;
    font-family: var(--heading-text);
    font-size: 3.7rem;
    font-weight: 900;
    line-height: 5.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-color-1);
    transition: all 0.2s ease;
}

.banner-top-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 0 0;
}

.banner-post-title a:hover {
    color: var(--primary-color);
}

.banner-post-date {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.banner-post-body {
    font-size: 1.6rem;
    color: var(--text-color-dark);
    font-weight: 400;
    line-height: 2.6rem;
}

.banner-img {
    flex-basis: 50%;
    padding: 2rem 2rem 6rem 6rem;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-img img:hover {
    box-shadow: none;
    transform: scale(0.99);
}

.owl-carousel.banner-slider .owl-dots {
    position: absolute;
    bottom: 2rem;
    left: 0;
    text-align: center;
    width: 100%;
}
.owl-carousel.banner-slider button.owl-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    margin-right: 6px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.owl-carousel.banner-slider button.owl-dot.active {
    width: 2.4rem;
    height: 0.8rem;
    border-radius: 4px;
    background: var(--primary-color);
}

@media (max-width: 991px) {
    /* .banner {
        margin-top: -1rem;
        height: 42rem;
    } */
    .banner-slider,
    .banner-slide {
        height: 42rem;
    }

    .banner-slide {
        flex-direction: column;
    }
    .owl-carousel.banner-slider button.owl-dot {
        background: rgba(255, 255, 255, 0.8);
    }
    .banner-detail {
        padding: 2rem;
        flex-basis: 100%;
        background: url("attr(data-img)");
    }

    .banner-cat-title a {
        display: inline-block;
        color: #fff;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .banner-post-title a {
        font-size: 2.8rem;
        color: #fff;
        font-weight: 700;
        margin-bottom: 1.2rem;
        transition: all 0.2s ease;
    }
    .banner-post-body {
        font-size: 1.7rem;
        color: #fff;
        font-weight: 300;
        line-height: 2.4rem;
    }
    .banner-img {
        display: none !important;
    }
}

/* ============= TOP FIVE ============== */
.top-five {
    padding: 6rem 0;
    background: var(--bg-light-color);
}

@media (max-width: 991px) {
    .top-five {
        padding: 4rem 0 0 0;
    }
}

.top-five-wrapper {
    display: grid;
    grid-template-columns: 60% auto;
    column-gap: 4rem;
}

@media (max-width: 991px) {
    .top-five-wrapper {
        grid-template-columns: auto;
        row-gap: 4rem;
    }
}

.top-five .card {
    padding: 0;
    position: relative;
    background: #fff;
}

.top-five .card-info {
    padding: 1rem 2rem;
}

.top-five .card-img {
    width: 100%;
    height: 18rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
}

.top-five .card-cat-top {
    font-size: 1.1rem;
    display: inline-block;
    font-weight: 600;
    position: absolute;
    top: 2rem;
    left: 1rem;
}

.top-five .card-cat-top a {
    background: #fff;
    color: var(--text-color-1);
    margin-right: 8px;
    border-radius: 4rem;
    padding: 4px 8px;
    cursor: pointer;
}

.top-five .card-title {
    font-size: 2.8rem;
    margin-top: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.top-five .card-title:hover {
    color: var(--primary-color);
}

.top-five .card-desc {
    font-size: 1.5rem;
    line-height: 1.75;
    margin-top: 1.4rem;
}

.top-five .card-date,
.card-right-date {
    margin-top: 1.3rem;
    display: inline-block;
    font-size: 1.4rem;
}

.card-right-date i,
.top-five .card-date i {
    margin-right: 4px;
}

.top-five-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.card-right {
    display: grid;
    background: #fff;
    grid-template-columns: 20% auto;
    align-items: center;
    column-gap: 1rem;
}

.card-right-info {
    padding: 1.4rem;
}

@media (max-width: 991px) {
    .card-right {
        grid-template-columns: auto;
        margin-bottom: 2rem;
    }
}

.card-right-divider:not(:last-child) {
    display: block;
    width: 100%;
    height: 1px;
    background: #dfdfdf;
}

.card-right-img {
    width: 100%;
    display: block;
    height: 12rem;
    object-fit: cover;
}
@media (max-width: 991px) {
    .card-right-img {
        height: 18rem;
    }
}

.card-right-title {
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.card-right-title:hover {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .card-right-info {
        margin-top: 1rem;
    }
}

.card {
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    padding: 4rem 2rem;
    padding-bottom: 2rem;
}

.modal-overlay.active .modal-box .card {
    border-radius: 20px;
}

@keyframes bounce {
    0% {
        transform: translateY(-1rem);
    }
    50% {
        transform: translateY(0rem);
    }
    100% {
        transform: translateY(-1rem);
    }
}

.card-header {
    font-size: 2.4rem;
    font-weight: 500;
    color: #4b4b4b;
    text-align: center;
}

.form-control {
    display: block;
    width: 100%;
    padding: 1.4rem;
    border: 0;
    border-radius: 4px;
    outline: 0;
    box-shadow: none;
    background-color: #eee;
    resize: none;
}

.form-group {
    margin: 1.4rem 0;
}

/* ========== SERVICES ============ */

.services {
    padding-top: 14rem;
    padding-bottom: 6rem;
}

.services .card-wrapper {
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
    align-items: center;
}

.card-wrapper .card {
    min-height: 24rem;
    background: #f5f8fa;
    border-radius: 1.8rem;
    text-align: center;
}

.card-body h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.card-body i {
    font-size: 8rem;
    color: var(--secondary-color);
    margin-bottom: 4rem;
}

.card-body img {
    width: 40px;
    height: 40px;
    fill: red;
}

@media (max-width: 991px) {
    .services {
        padding-top: 6rem;
    }
    .services .card-wrapper {
        flex-direction: column;
    }
}

/* ========= LATEST POSTS ========== */

.latest-post-section {
    padding-top: 14rem;
    padding-bottom: 6rem;
    background: #dfe6e9;
}

.section-title {
    display: block;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.8rem;
    font-family: var(--heading-text);
    font-weight: 600;
    position: relative;
}
/* 
.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    height: 2px;
    background: var(--primary-color);
    width: 10rem;
    transform: translate(-50%, -50%);
} */

@media (max-width: 991px) {
    .section-title::after {
        left: 6%;
    }
}

.post-img {
    height: 22rem;
    object-fit: cover;
}

.post-detail {
    padding: 0.6rem;
}

.post-title {
    font-weight: 600;
    font-size: 1.68rem;
    line-height: 2.4rem;
    margin-bottom: 1.2rem;
}

.post-title a {
    color: var(--text-color-dark);
}

.post-date {
    position: absolute;
    bottom: 1.5rem;
    font-size: 1.3rem;
}

.post-date span {
    font-weight: 500;
    margin-left: 0.6rem;
}

.owl-nav {
    display: inline-block;
    font-size: 3rem;
    color: #000;
}

button.owl-prev,
button.owl-next {
    position: absolute;
    top: -5.4rem;
    visibility: hidden;
    transition: all 0.2s ease;
}

button.owl-prev::before,
button.owl-next::before {
    visibility: visible;
    font-size: 2.4rem;
    color: #000;
}

button.owl-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f30b";
}

button.owl-prev::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f30a";
}

/* button.owl-prev:hover, button.owl-next:hover {
    background: var(--secondary-color) !important;
} */

button.owl-prev {
    left: 0;
}

button.owl-next {
    right: 0;
}

button.owl-next span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -60%);
}

button.owl-prev span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-54%, -60%);
}

@media (max-width: 991px) {
    .latest-post-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .owl-carousel {
        margin-top: 4rem;
    }

    button.owl-prev,
    button.owl-next {
        top: -7.6rem;
    }

    button.owl-prev {
        transform: translateY(1.4rem);
        right: 5rem;
    }

    button.owl-next {
        transform: translateY(1.4rem);
        right: 1rem;
    }
}

.post-slide {
    min-height: 32rem;
    border-radius: 0;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 2rem;
}

.post-slide img {
    width: 100%;
    border-radius: 10px;
}

/* ======== Featured Slide ========= */
section.featured_articles {
    padding-top: 4rem;
    padding-bottom: 0;
    background: #f1f5fb;
}

@media (max-width: 991px) {
    .featured_articles {
        padding: 5rem 0 0 0;
    }
    .featured_articles .section-title {
        margin-bottom: 1rem;
    }
    .featured-slider.owl-carousel {
        margin-top: 2rem;
    }
    .featured-slider .owl-dots {
        display: none;
    }
}

.featured-slide {
    height: 34rem;
    border-radius: 12px;
}

.featured-wrapper {
    height: 100%;
    display: block;
    width: 100%;
    position: relative;
}

.featured-img {
    width: 100%;
    height: 100%;
}

.featured-detail {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    text-align: center;
    width: 86%;
    margin: 0 auto;
    right: 0;
}

.featured-title a {
    text-align: center;
    color: #fff;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--heading-text);
    font-size: 2.4rem !important;
}

.featured-body {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

.featured-category a {
    /* background: var(--primary-color); */
    color: #fff;
    padding: 10px 0 0px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-block;
    /* margin-bottom: 0.6rem; */
}

.featured-btn a {
    margin-top: 1.2rem;
    display: inline-block;
    color: #fff;
    padding: 0.8rem 1.3rem;
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 1.6rem;
    border-radius: 14px;
    transition: all 0.3s;
    border: 1px solid #fff;
}
.featured-btn a:hover {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}
.featured-btn a i {
    font-size: 1.2rem;
    margin-left: 4px;
}

/* ======== CATEGORY TABS ========== */

.category-section {
    background: var(--bg-light-color-2);
}

.top-post-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
@media (max-width: 991px) {
    .top-post-container {
        grid-template-columns: 1fr;
    }
}
section.category-section {
    padding: 20rem 0 10rem !important;
}
.category-section {
    padding: 10rem;
    background: transparent;
    border-top: 2px solid rgba(51, 51, 51, 0.062);
}

@media (max-width: 991px) {
    .category-section {
        padding: 3rem 0 0 0;
    }
}

.category-section .section-title {
    margin-bottom: 4rem;
}

.category-section .section-title h3 {
    color: var(--text-color-1);
}

.category-section button.owl-prev::before,
.category-section button.owl-next::before {
    color: #d6d6d6;
}

.category-tabs {
    padding: 10px 6px;
    position: relative;
    text-align: center;
    margin: 0 auto;
    border-radius: 10px;
    background: var(--primary-color-light);
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    user-select: none;
}

@media (max-width: 991px) {
    .category-tabs {
        height: auto;
        padding: 8px 4px 4px 4px;
    }
}

.category-tabs::-webkit-scrollbar {
    width: 4px;
    height: 5px;
}

.category-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.category-tabs::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: var(--primary-color-light);
    visibility: hidden;
    border-radius: 4px;
}

.category-tabs:hover::-webkit-scrollbar-thumb {
    visibility: visible;
}

.tab {
    position: relative;
    color: var(--text-color-dark);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.4rem;
    font-family: var(--heading-text);
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tab.active,
.tab:hover {
    color: var(--primary-color);
    background: var(--primary-color-light);
}

@media (max-width: 991px) {
    /* .tab {
        background: transparent;
        color: #fff;
    } */
}

.posts-per-category {
    margin-top: 4px;
}

.category-section .post-title {
    font-family: var(--heading-text);
    font-size: 2rem;
    margin-top: 1.2rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 3rem;
}

.category-section .post-body {
    font-size: 1.6rem;
    margin-top: 0;
    line-height: 2.4rem;
}

.category-section .post-date {
    position: static;
    margin-top: 1.4rem;
}

.category-section .post-detail {
    padding: 0 10px;
}

.load-more {
    height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #555;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed #cecece;
    cursor: pointer;
}

.load-more svg {
    fill: #6e6e6e;
    margin-bottom: 0.8rem;
}

.load-more span {
    font-size: 1.4rem;
    font-weight: 200;
}

.load-more.loading svg {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.posts-per-category.second {
    border-bottom: 2px solid rgba(51, 51, 51, 0.046);
}

@media (max-width: 991px) {
    .section-title {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 2rem;
    }

    .posts-per-category {
        margin-top: 4px;
    }
}

/* ======= CTA SECTION ========== */
.cta-section {
    /* background: var(--primary-color); */
}
.cta-section .container {
    display: flex;
    padding: 4rem !important;
    border-radius: 20px;
    background: #ef457e;
    justify-content: space-between;
}
.cta-section .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.cta-section .right img {
    height: 25rem;
    border-radius: 24px;
}

.cta-heading {
    color: #fff;
    font-family: var(--playfair-font);
    font-size: 4.6rem;
    line-height: 6.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    grid-column: 2 / 3;
}

.cta-btn {
    grid-column: 3 / -1;
    text-align: right;
}

.cta-btn .btn {
    padding: 1.5rem 3rem;
    color: var(--text-color-dark);
    font-weight: 700;
    background-color: #fff760;
    transition: all 0.3s ease;
}

.cta-btn .btn:hover {
    background: #fff;
    color: var(--text-color-dark);
}

.cta-btn .btn span {
    margin-right: 0;
    transition: all 0.3s ease;
}

.cta-btn .btn:hover span {
    margin-right: 1rem;
}

.cta-btn .btn .fas {
    margin-left: 0.8rem;
    transition: all 0.3s ease;
}

.cta-btn .btn:hover .fas {
    margin-left: 1.2rem;
}

@media (max-width: 991px) {
    .cta-section {
        padding: 0;
        border-radius: 0;
    }

    .cta-section .container {
        border-radius: 0;
    }

    .cta-section .cta-heading {
        font-size: 2rem;
        line-height: 3rem;
        text-align: center;
    }

    .cta-section .cta-btn {
        text-align: center;
        margin-top: 1rem;
    }

    .cta-section .btn {
        padding: 1rem 2rem;
    }
}

.modal-overlay {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: all 0.3s ease;
}

.modal-box {
    position: absolute;
    top: -100%;
    left: 50%;

    width: 40%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.modal-box span {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 4rem;
    cursor: pointer;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay.active .modal-box {
    top: 50%;
}

@media (max-width: 991px) {
    .modal-box {
        width: 90%;
    }
}

/* ======= FOOTER ======== */
footer {
    background: var(--secondary-color);
    color: #fff;
    padding-top: 3rem;
}

@media (max-width: 991px) {
    footer {
        padding-top: 10px;
    }
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0 auto;
    align-items: start;
    /* justify-items: center; */
    text-align: center;
}

footer .form-control {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

footer .btn {
    font-size: 1.3rem;
    margin: 1.6rem 0;
    padding: 1rem 1.2rem;
    background: #fff;
    color: var(--text-color-1);
    transition: all 0.3s ease;
}

footer .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

footer .box-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.box .box-text {
    color: #fff;
    line-height: 2rem;
}

.box a {
    color: #fff;
}

.list-item {
    margin-bottom: 1.4rem;
}

.list-item:last-child {
    margin-bottom: 0;
}

.list-item a {
    display: block;
    color: #fff;
}

.copyright {
    background: rgba(0, 0, 0, 0.4);
    margin-top: 2rem;
    font-size: 1.4rem;
}

.copyright .container {
    grid-template-columns: auto auto;
    align-items: center;
    padding: 1.2rem 0.6rem !important;
}

@media (max-width: 991px) {
    .copyright .container {
        grid-template-columns: auto;
        align-items: center;
        justify-items: center;
        row-gap: 1rem;
        padding: 1rem 0.6rem !important;
    }
}

.copy-info {
    text-align: left;
}

.copyright .social-links {
    text-align: right;
}

.copyright a {
    color: #fff;
}

.copyright .btn {
    background-color: #fff;
    color: #333;
}

@media (max-width: 991px) {
    .copyright .btn {
        margin-bottom: 8px;
    }
}

.footer-slider {
    padding: 0 3rem;
    height: 16rem;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* transition: all .3s ease; */
}

/* .footer-slider.active {
    height: 16rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
} */

@media (max-width: 991px) {
    .footer-slider {
        margin-top: 0;
        padding: 0;
    }
}

.footer-slider .slide-row {
    padding: 1rem 0.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 8px;
    text-align: center;
}

.slide-row a {
    color: #fff;
    transition: all 0.2s ease;
}

.slide-row a:hover {
    color: var(--secondary-color);
}

.footer-slider button.owl-prev,
.footer-slider button.owl-next {
    top: 28%;
}

button.owl-prev::before,
button.owl-next::before {
    visibility: hidden;
    opacity: 0;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.footer-slider:hover button.owl-prev::before,
.footer-slider:hover button.owl-next::before {
    visibility: visible;
    opacity: 1;
}

.footer-slider button.owl-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
}

button.owl-prev::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f053";
}

@media (max-width: 991px) {
    .footer-slider button.owl-prev {
        left: 1.2rem;
    }

    .footer-slider button.owl-next {
        right: 1.2rem;
    }
}

button.owl-next span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -60%);
}

button.owl-prev span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-54%, -60%);
}

@media (max-width: 991px) {
    footer .container {
        grid-template-columns: 1fr;
    }

    .box {
        padding: 1.6rem;
    }
}

.toast-alert-box {
    display: none;
    position: fixed;
    z-index: 100000;
    top: 10rem;
    color: #fff;
    min-width: 20%;
    max-width: 40%;
    left: 50%;
    transform: translateX(-60%);
    font-size: 1.4rem;
    text-align: center;
    padding: 1rem;
    border-radius: 5rem;
    background: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    opacity: 1;
}

@media (max-width: 991px) {
    .toast-alert-box {
        right: 2px;
        width: 80%;
    }
}

.loader {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 20000;
    transition: all 0.3s ease;
}

.loader .loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.loader .loading-icon svg {
    fill: #aaa;
    width: 4rem;
    height: 4rem;
    animation: rotate 2s linear infinite;
}

.loader.active {
    visibility: visible;
    opacity: 1;
}

.loader .loading-icon span {
    font-size: 1.6rem;
    color: #aaa;
    margin-top: 1.4rem;
    display: block;
}

/* ========= SINGLE POST PAGE ============== */
.breadcumb-menu {
    padding: 2rem 1.4rem;
}

.breadcumb-menu > i {
    margin-right: 0.6rem;
    color: var(--secondary-color);
}

.breadcrumb {
    display: inline-block;
    font-weight: 600;
    font-size: 1.4rem;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item::after {
    content: "/";
    margin: 0 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-item:last-child::after {
    content: "";
    margin: 0;
}

.breadcrumb-item:last-child a {
    color: #888;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

.two-column {
    display: flex;
    justify-content: space-between;
    /* padding: 1rem 0.8rem; */
}

.all-posts {
    padding: 4px 10px !important;
    /* margin-top: 10rem; */
    color: #000 !important;
    /* background: #f6f6f6; */
    /* background: var(--secondary-color); */
}

@media (max-width: 991px) {
    .all-posts {
        margin-top: 0;
        padding: 2px 20px !important;
    }
}

.all-posts-slider,
.all-posts-slider .item {
    height: 20rem;
}

.all-posts-slider .item a {
    /* color: #4e4e4e; */
    /* color: #fff; */
    font-weight: 500;
}

.all-posts-slider .item img {
    border-radius: 4px;
    width: 100%;
    height: 12rem;
    position: relative;
    object-fit: cover;
    cursor: pointer;
}

.all-posts-slider button.owl-prev,
.all-posts-slider button.owl-next {
    top: 20%;
}

.all-posts-slider button.owl-prev {
    left: -1.6rem;
}

.all-posts-slider button.owl-next {
    right: -1.6rem;
}

@media (max-width: 991px) {
    .all-posts-slider button.owl-prev,
    .all-posts-slider button.owl-next {
        top: 12%;
    }
    .all-posts-slider button.owl-prev {
        left: -26rem;
    }
    .all-posts-slider button.owl-next {
        right: -1rem;
    }
}

.all-posts-slider button.owl-prev::before,
.all-posts-slider button.owl-next::before {
    visibility: hidden;
    background: #fff !important;
    border: 1px solid #c4c4c4;
    border-radius: 50% !important;
    padding: 8px 12px;
    text-align: center;
    color: #4e4e4e;
    opacity: 0;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.all-posts-slider:hover button.owl-prev::before,
.all-posts-slider:hover button.owl-next::before {
    visibility: visible;
    opacity: 1;
}

.all-posts-slider button.owl-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
}

.all-posts-slider button.owl-prev::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f053";
}

@media (max-width: 991px) {
    .two-column {
        margin-top: 4rem !important;
        flex-direction: column;
        padding: 3rem 2rem;
    }
}

main {
    flex-basis: 74%;
}
/* .single-post {
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
} */

.featured_img {
    width: 100%;
    max-height: 44rem;
    border-radius: 2rem;
    object-fit: cover;
}

.post-datetime > i {
    margin-right: 0.8rem;
}

.post-datetime > span {
    color: var(--text-color-dark);
    font-weight: 600;
}

.post-author {
    text-transform: capitalize;
    color: var(--secondary-color);
    font-weight: 600;
}

.content {
    padding: 2rem 3rem;
}

@media (max-width: 991px) {
    .content {
        padding: 1rem;
    }
}

/* aside {
    flex-basis: 28%;
    margin-top: 1rem;
} */

aside {
    box-shadow: 2px 0 20px rgba(126, 126, 126, 0.1);
    border-radius: 4px;
    margin-top: 5rem;
    flex: 1;
    padding: 2rem;
    height: 56rem;
    margin-bottom: 4rem;
    position: sticky;
    top: 10px;
}

@media (max-width: 991px) {
    main {
        order: 1;
    }
    aside {
        order: 2;
        height: 100%;
        margin-bottom: 4rem;
        position: static;
    }
    aside .search-box {
        height: 100%;
    }
}

aside .widget {
    margin-bottom: 2rem;
}

.category-box {
    text-align: center;
}

.category-box .category-btn {
    display: inline-block;
    color: #f3f3f3;
    font-size: 1.3rem;
    margin-bottom: 8px;
    background: #34495e;
    border-radius: 1.6rem;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--secondary-color);
}

aside .widget-title {
    font-family: var(--heading-text);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-align: center;
    color: #424242;
}

.widget-nav {
    margin-bottom: 1rem;
}

.marquee-slide {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateY(47%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.marquee-box {
    overflow: hidden;
    max-height: 20rem;
    box-shadow: 0px -4x 4px rgba(255, 255, 255, 0.8);
}

.widget-nav-link {
    display: block;
    padding: 1rem;
    border-radius: 3px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    background: var(--primary-color);
}

.widget-post img {
    border-radius: 5px;
}

.widget-post {
    margin-bottom: 2rem;
}

.widget-post .title {
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
    padding: 2px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.single-post-title {
    font-size: 3.7rem;
    font-family: var(--heading-text);
    margin-bottom: 2.4rem;
    line-height: 4.9rem;
    font-weight: 900;
}

.a-box {
    height: 34rem;
    text-align: center;
    overflow: hidden;
}

.a-box img {
    height: 100%;
}

.post-body {
    margin-top: 2.6rem;
    overflow-wrap: anywhere;
    font-size: 1.7rem;
    width: 100%;
    line-height: 3.2rem;
}
/* 
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
}

.post-body h1 {
    font-size: 3rem;
    font-weight: 600;
}

.post-body h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

.post-body h3 {
    font-size: 2.6rem;
    font-weight: 600;
}

.post-body h4 {
    font-size: 2.2rem;
    font-weight: 600;
}

.post-body h5 {
    font-size: 2rem;
    font-weight: 600;
}

.post-body h6 {
    font-size: 1.6rem;
    font-weight: 600;
}

.post-body p,
.post-body ul li {
    margin: 1.2rem 0;
    line-height: 3rem;
    font-size: 1.5rem;
}

.post-body a {
    color: var(--secondary-color);
    font-weight: 500;
}

.post-body ul {
    list-style: disc;
    margin-left: 1rem;
}

.post-body table {
    width: 100%;
    text-align: center;
}

.post-body td {
    padding: 2px;
}

.post-body ol {
    list-style: decimal;
    margin-left: 1rem;
} */

.post-body *:not(form *) {
    all: revert;
}

.post-body form {
    all: inherit;
}

.post-body a {
    text-decoration: none;
    color: var(--primary-color);
}

.post-body table {
    width: 100%;
    text-align: center;
}

.post-body td {
    padding: 2px;
}

.search-box {
    height: 4.3rem;
    width: 100%;
    position: relative;
}

.search-box input {
    box-shadow: none;
    outline: none;
    border: 0;
    border-radius: 0;
}

.search-box input {
    width: 100%;
    height: 100%;
    padding: 1.4rem 4.8rem 1.4rem 1rem;
    color: #6b6b6b;
    display: block;
}

.search-box .search-btn {
    position: absolute;
    top: 0;
    /* transform: translateY(-50%); */
    bottom: 0;
    right: 0;
    display: block;
    font-size: 1.7rem;
    z-index: 1000;
    cursor: pointer;
    background: var(--primary-color);
    height: 100%;
    width: 4.5rem;
    color: #fff;
}

/* ========== Pagination ============= */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
}

.page-item {
    margin: 2px 4px;
    height: 3.4rem;
    width: 3.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-link {
    color: #fff;
    background: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.page-item.active .page-link {
    color: #fff;
    background-color: var(--secondary-color);
}

.page-item.disabled .page-link {
    color: #fff;
    background: #aaaaaa;
    border: 0;
}

@media (max-width: 991px) {
    li.page-item {
        display: none;
    }
    .page-item:first-child,
    .page-item:nth-child(2),
    .page-item:last-child,
    .page-item:nth-last-child(2),
    .page-item.string,
    .page-item.active,
    .page-item.disabled {
        display: flex;
    }
}

.arrow-icon {
    font-size: 3rem;
    display: block;
    transform: translateY(-3px);
}

.social-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.social-nav li {
    margin: 2px 0.6rem;
}

.social-nav li a {
    font-size: 2.6rem;
    display: block;
}

.preloader {
    position: fixed;
    visibility: visible;
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 30000;
    background: var(--secondary-color);
}

.preloader.hide {
    visibility: hidden;
    opacity: 0;
}

.preloader .icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    70% {
        box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.error {
    max-width: 60rem;
    width: 100%;
    display: block;
    margin: auto;
    margin-top: -12rem;
}

#converter {
    font-size: 1.6rem;
    line-height: 3rem;
}

iframe {
    width: 100%;
    border: 0;
    max-height: 800px;
}

@media (max-width: 991px) {
    iframe {
        width: 100%;
        max-height: 400px;
    }
}

.rgba-convert {
    display: flex;
    align-items: center;
}

.input-wrapper {
    flex-basis: 70%;
}

.color-group {
    flex-basis: 30%;
}

.input-group {
    display: flex;
    align-items: center;
    margin: 2rem;
}

input[type="range"] {
    background: #f1f1f1;
    border-radius: 8px;
    flex-basis: 70%;
    height: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
}

#r::-webkit-slider-thumb {
    background: red;
}

#g::-webkit-slider-thumb {
    background: green;
}

#b::-webkit-slider-thumb {
    background: blue;
}

.input-num {
    flex-basis: 20%;
    margin-left: 2rem;
    height: 26px;
    text-align: center;
    border: 0;
    border-radius: 4px;
    background-color: #f1f1f1;
}

.input-num:focus {
    border: 0;
    outline: none;
}

/* Chrome, Safari, Edge, Opera */
.input-num::-webkit-outer-spin-button,
.input-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.show-color {
    height: 80px;
    width: 80px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px dashed #d6d6d6;
}

.hex-value {
    text-align: center;
    width: 10rem;
    color: #888;
    font-size: 1.4rem;
    border-radius: 1rem;
    padding: 0.8rem;
    background: #f1f1f1;
}

.copy-code {
    background: var(--secondary-color);
}

.color-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.tool-details h3 {
    font-size: 2.6rem;
    line-height: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.tool-details p {
    font-size: 1.6rem;
    line-height: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.tool-details img {
    margin-bottom: 2rem;
}

.d-flex .category {
    background: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    padding: 2px 10px;
    margin-right: 8px;
    transform: translateY(-2px);
}
.category-page {
    margin-top: 14rem;
}

.category-page .content {
    padding: 4rem 0;
    display: flex;
    gap: 2rem;
    border-bottom: 4px solid #4545450e;
    justify-content: space-between;
}

.category-page .content .featured {
    flex-basis: 44%;
}
.category-page .content .title-area {
    flex: 1;
}

.category-page .content .post-body {
    margin: 0;
    margin-bottom: 1.6rem;
}
.content .title-area a h1 {
    transition: all 0.3s;
}

.content a:hover h1 {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .category-page {
        margin-top: 6rem;
    }

    .category-page .content {
        padding: 3rem;
        flex-direction: column;
        gap: 2rem;
        border-bottom: 4px solid #4545450e;
        justify-content: space-between;
    }

    .category-page .content .featured {
        order: 1;
    }
    .category-page .content .title-area {
        order: 3;
    }
}

.pagination {
    margin: 2rem auto 2.4rem;
}

.d-flex .fa,
.d-flex .fas {
    color: var(--primary-color);
}
.community-section {
    margin-top: 2rem;
    padding: 1rem 4rem;
    border-top: 2px solid #3333330e;
}
.community-section h2 {
    font-family: var(--heading-text);
    font-weight: var(--h2-fw);
    line-height: var(--h2-lh);
    font-size: var(--h2-size);
    margin-bottom: 1.4rem;
}

.community-section h3 {
    font-family: var(--heading-text);
    font-weight: 900;
    margin: 1.4rem 0;
    font-size: 2.4rem;
}
.community-section p {
    line-height: 3.4rem;
}

.post-body table {
    border: 1px solid #000 !important;
    border-collapse: collapse !important;
}

.post-body table td,
.post-body table tr {
    border: 1px solid #000 !important;
}

.section-body {
    font-size: 1.8rem;
    padding: 0 0 4rem;
    text-align: center;
}
