body {
    /* font-family: Arial, sans-serif; */
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
picture,
video,
iframe {
    max-width: 100%;
}

/* img {
    height: auto;
  } */

/* Full-width Bootstrap rows need their negative gutters neutralized. */
.container-full {
    width: 100%;
    max-width: 100%;
}

.container-full > .row {
    margin-right: 0;
    margin-left: 0;
}

.container-full > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.card__post-carousel picture,
.card__post-carousel picture img {
    display: block;
    width: 100%;
}

.container {
    width: 100%;
    margin: 0 auto;
}

/* Extra small devices (phones) */
@media screen and (max-width: 575.98px) {
    /* .container {
      padding: 10px;
    }
    .header {
      font-size: 18px;
    } */
    .wrapper__list__article h4 {
        font-size: 22px;
    }
    .board-name {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .wrapper__list__article h4 {
        font-size: 22px;
    }

    body {
        /* margin: 0;
      font-family: 'Calibri', sans-serif, 'Arial', 'Battambang', Montserrat, "Helvetica Neue","Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
        font-size: 14px;
        font-weight: 400;
        line-height: 1.4rem;
        color: #212529;
        text-align: left;
        background-color: #fff;
    }

    .body-km {
        margin: 0;
        font-family:
            "Koh Santepheap", "Battambang", "Kantumruy Pro", "Siemreap",
            "Calibri", sans-serif, "Arial";
        font-size: 16px;
        font-weight: 400;
        line-height: 1.6rem;
        color: #212529;
        text-align: left;
        background-color: #f4e6e6;
    }
}

/* Small devices (landscape phones, small tablets) */
@media screen and (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding: 15px;
    }
    .header {
        font-size: 20px;
    }
}

/* Medium devices (tablets) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding: 20px;
    }
    .header {
        font-size: 22px;
    }
}

/* Large devices (desktops) */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        padding: 30px;
    }
    .header {
        font-size: 24px;
    }
}

/* Extra large devices (large desktops) */
@media screen and (min-width: 1200px) {
    .container {
        padding: 40px;
    }
    .header {
        font-size: 26px;
    }
}

/* Keep the desktop header compact while retaining the page container gutters. */
@media screen and (min-width: 992px) {
    header .topbar > .container,
    header .navigation-wrap .navbar > .container {
        padding-top: 0;
        padding-bottom: 0;
    }

    header .topbar,
    header .topbar > .container,
    header .topbar > .container > .row {
        min-height: 50px;
    }

    header .navbar-soft {
        min-height: 100px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    header .navbar-soft figure {
        margin-bottom: 0;
    }

    header .navigation-wrap nav figure a {
        width: 225px;
        max-width: 225px;
    }

    header .navbar-soft .navbar-nav .nav-item {
        margin-bottom: 0;
    }

    header .navbar-soft .navbar-nav .nav-link {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

/* mobile nav */
.modal-dialog-aside {
    max-width: 80%;
    margin: 0;
    height: 100%;
}

.modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.navbar-nav .nav-item {
    margin-bottom: 10px;
}

.nav-link {
    color: #1a1a1a;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link:hover {
    text-decoration: none;
    color: #0056b3;
}

.nav-link.dropdown-toggle::after {
    display: none;
}

.collapse.list-unstyled {
    padding-left: 15px;
}

.dropdown-item {
    color: #000;
    font-weight: 600;
    padding: 10px 0;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0056b3;
    text-decoration: none;
}

.widget__form-search-bar .input-group {
    width: 100%;
}

.widget__form-search-bar .form-control {
    border-radius: 20px 0 0 20px;
}

.widget__form-search-bar .btn {
    border-radius: 0 20px 20px 0;
}
