body {
    background-color:#5C5C5C;
    color: #dcdcdc;
    font-family: "Chakra Petch", sans-serif;
    font-size: 16px;
}
.breadcrumb {
    background-color: #2c2c2c;
    border-radius: 5px;
    padding: 10px 15px;
}
.btn-custom {
    background-color: #dc3545;
    color: white;
    border-radius: 25px;
    padding: 6px 20px;
}
.btn-custom:hover {
    background-color: #c82333;
    color: white;
}
.select-dark {
    background-color: #2c2c2c;
    color: white;
    border: 1px solid #444;
    border-radius: 25px;
    padding: 5px 15px;
}
.menu-item {
    display: flex;
    align-items: center;
    padding: 8px 12px; /* ลดระยะห่าง */
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}
.menu-item:hover {
    background-color: #e9ecef;
    cursor: pointer;
}
.menu-item i {
    font-size: 18px; /* ขนาดไอคอนเล็กลง */
    color: #f5a623; /* สีส้ม */
    margin-right: 8px; /* ระยะห่างระหว่างไอคอนกับข้อความ */
}
.menu-item span {
    font-size: 14px;
}
.widget {
    background-color: #ffffff;
    padding: 12px; /* ลดระยะห่าง */
    margin: 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-bottom: 2px;
	border: 1px solid #E1E1E1;
}
.widget i {
    font-size: 30px;
    color: #f5a623; /* สีส้ม */
    margin-right: 10px; /* ระยะห่างระหว่างไอคอนกับข้อความ */
}
.widget .content {
    flex-grow: 1;
    text-align: right;
}
.widget h6 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.widget p {
    font-size: 14px;
    color: #555;
}
.text-highlight {
    color: white;
    font-weight: bold;
}
.bottom-tab {
    z-index: 1030;
    border-top: 1px solid #444;
}
.chakra-petch-light {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.chakra-petch-regular {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.chakra-petch-medium {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.chakra-petch-semibold {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-style: normal;
}
.chakra-petch-bold {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.chakra-petch-light-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 300;
    font-style: italic;
}
.chakra-petch-regular-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 400;
    font-style: italic;
}
.chakra-petch-medium-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 500;
    font-style: italic;
}
.chakra-petch-semibold-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-style: italic;
}
.chakra-petch-bold-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: italic;
}
.navbar {
    background-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: top 0.4s ease-in-out;
}
.navbar.show-on-scroll {
    top: 0;
}
.navbar-nav .nav-link {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    color: #ffdd57;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.navbar-nav .dropdown-menu {
    background-color: #000000;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.navbar-nav .dropdown-item {
    color: #fff;
}
.navbar-nav .dropdown-item:hover {
    background-color: #ffdd57;
    color: #333;
}
.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background-color: #000000;
    color: #fff;
}
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}
.btn-success:hover {
    background-color: #218838;
}
.btn, .navbar-toggler {
    font-size: 1.1rem;
}
.navbar-nav .nav-item:active .nav-link {
    color: #ffdd57;
}
/* แก้ไขตำแหน่งของ dropdown ให้แสดงขวา */
.dropdown-menu-end {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
}
.d-nonemobile {
    display: block;
}
@media (max-width: 767px) {
    .d-nonemobile {
        display: none;
    }
    .offcanvas-start {
        width: 90% !important;
    }
    .navbar-toggler {
        font-size: 1.4rem;
    }
    /* แก้ไขตำแหน่งของ dropdown ให้แสดงขวา */
    .dropdown-menu-end {
        position: static !important;
        right: auto !important;
        left: 0 !important;
    }
    .btn-outline-light {
        color: white;
        border-color: white;
    }
    .btn-outline-light:hover {
        background-color: #000000;
        color: #fff;
    }
    .btn-outline-primary, .btn-outline-danger {
        color: white;
        border-color: white;
    }
    .btn-outline-primary:hover, .btn-outline-danger:hover {
        background-color: #000000;
        color: #fff;
    }
}
.offcanvas-header {
    background-color: #000000;
    color: #fff;
    text-transform: uppercase;
}
.offcanvas-body {
    background-color: #000000;
}
.footer-section {
    background: #151414;
    position: relative;
}
.footer-cta {
    border-bottom: 1px solid #373636;
}
.single-cta i {
    color: #ff5e14;
    font-size: 30px;
    float: left;
    margin-top: 8px;
}
.cta-text {
    padding-left: 15px;
    display: inline-block;
}
.cta-text h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}
.cta-text span {
    color: #757575;
    font-size: 15px;
}
.footer-content {
    position: relative;
    z-index: 2;
}
.footer-pattern img {
    position: absolute;
    top: 0;
    left: 0;
    height: 330px;
    background-size: cover;
    background-position: 100% 100%;
}
.footer-logo {
    margin-bottom: 30px;
}
.footer-logo img {
    max-width: 200px;
}
.footer-text p {
    margin-bottom: 14px;
    font-size: 14px;
    color: #7e7e7e;
    line-height: 28px;
}
.footer-social-icon span {
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}
.footer-social-icon a {
    color: #fff;
    font-size: 16px;
    margin-right: 15px;
}
.footer-social-icon i {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
}
.facebook-bg {
    background: #3B5998;
}
.twitter-bg {
    background: #55ACEE;
}
.google-bg {
    background: #DD4B39;
}
.footer-widget-heading h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
}
.footer-widget-heading h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    height: 2px;
    width: 50px;
    background: #ff5e14;
}
.footer-widget ul li {
    display: inline-block;
    float: left;
    width: 50%;
    margin-bottom: 12px;
}
.footer-widget ul li a:hover {
    color: #ff5e14;
}
.footer-widget ul li a {
    color: #878787;
    text-transform: capitalize;
}
.subscribe-form {
    position: relative;
    overflow: hidden;
}
.subscribe-form input {
    width: 100%;
    padding: 14px 28px;
    background: #2E2E2E;
    border: 1px solid #2E2E2E;
    color: #fff;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #ff5e14;
    padding: 13px 20px;
    border: 1px solid #ff5e14;
    top: 0;
}
.subscribe-form button i {
    color: #fff;
    font-size: 22px;
    transform: rotate(-6deg);
}
.copyright-area {
    background: #202020;
    padding: 25px 0;
}
.copyright-text p {
    margin: 0;
    font-size: 14px;
    color: #878787;
}
.copyright-text p a {
    color: #ff5e14;
}
.footer-menu li {
    display: inline-block;
    margin-left: 20px;
}
.footer-menu li:hover a {
    color: #ff5e14;
}
.footer-menu li a {
    font-size: 14px;
    color: #878787;
}

@media (min-width: 600px) {

}
@media (max-width: 600px) {
   
}
.card {
    background-color: #2a2a2a;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}
.card:hover {
    transform: scale(1.03);
}
.card-img-top {
    height: 300px;
    object-fit: cover;
}
.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545;
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}
.manhua-tag {
    background-color: #20c997;
}
.color-badge {
    background-color: gold;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 5px;
    color: #000;
}
.chapter-box {
    background-color: #333;
    border-radius: 10px;
    padding: 0.5rem;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}
.chapter-box p {
    margin: 0;
}
.chapter-box .d-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.chapter-box .d-flex p {
    font-size: 14px;
    color: #fff;
    text-align: left;
}
.chapter-box .d-flex p:last-child {
    text-align: right;
}
/* Responsive columns */
@media (max-width: 970px) {
    .responsive-row > * {
        flex: 0 0 auto;
        width: 25%;
    }
}
@media (max-width: 870px) {
    .responsive-row > * {
        flex: 0 0 auto;
        width: 50%;
    }
}
@media (max-width: 450px) {
    .responsive-row > * {
        width: 100%;
    }
}