body {
    background-color: #1e1e1e;
    /* background-image: url('../img/Sprinkle.svg'); */
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

body:has( .home-nav-list.active) {
    height: 100vh;
    overflow: hidden;
}

/* Start Trix */
trix-toolbar .trix-button {
    background: #fff !important; /* force the background to be a light color since Trix icons do not support dark mode */
}

trix-toolbar [data-trix-button-group="file-tools"] {
    display: none !important;
}

trix-editor{
    background-color: #fff;
    color: black;
}
/* End Trix Editor */

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

#time {
    font-size: .8rem;
    color: #1e1e1e;
}

/* Start Root */

    /* Start Home */
        .navbar-topmenu {
            position: sticky;
            top: 0;
            z-index: 9999;
            box-shadow: 0px 0px 15px #1f1f1f40;
        }

        /* Start Navbar */
        .home-navbar-section {
            /* box-shadow: 0px 1px 5px black; */
            position: relative;
            background-color: #1e1e1e;
        }

        .home-navbar-section .container {
            display: grid;
            grid-template-columns: 200px 500px 1fr;
            gap: 1.5rem;
            align-items: center;
            padding: 1rem;
        }

        .home-logo {
            width: 200px;
            filter: drop-shadow(0px 0px 2px #1e1e1e90);
        }

        .home-navbar-section form {
            position: relative;
        }

        .home-navbar-section form input {
            border-radius: 20px;
        }

        .home-navbar-section form .search-glass {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background-color: transparent;
        }

        .home-navbar-section .home-nav-list {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .home-navbar-section .home-nav-list a {
            /* width: 150px; */
            text-align: center;
            text-decoration: none;
            /* color: #fff; */
            color: #111;
            background-color: #1e1e1e;
            background: linear-gradient(#c3521c, #f66b25);
            /* box-shadow: 0 0 3px #00000060 inset, 1px 1px 5px #00000060; */
            box-shadow: 1px 1px 5px #000000;
            padding: .3rem .8rem;
            border-radius: 5px;
            font-weight: 600;
            font-size: .85rem;
            border: 1px solid #1e1e1e;
        }

        .home-navbar-section .home-nav-list a:hover {
            background-color: #fff;
            color: #1e1e1e;
            border-color: #1e1e1e;
            background: linear-gradient(#fff, #fff);
        }

        .home-navbar-section .home-nav-list a.home-button {
            display: none;
        }

        .home-navbar-section .menu-bars {
            display: none;
            margin-left: auto;
            color: #f66b25;
            font-size: 1.8rem;
            position: absolute;
            top: 19%;
            right: 1.9rem;
            cursor: pointer;
            z-index: 999999;
            transition: .3s;
        }

        .home-navbar-section .menu-bars.active {
            color: #f66b25;
        }
        /* End Navbar */

        /* Start Top Menu */
        .home-top-menu-section {
            /* background-color: #1e1e1e; */
            background: linear-gradient(#c3521c, #f66b25);
            box-shadow: 0px 1px 5px black;
        }

        .home-top-menu-section .container {
            width: 100%;
            max-width: 1200px;
            padding: 0 .8rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0 .5rem;
        }

        .home-top-menu-section .container a {
            white-space: nowrap;
            /* color: #fff; */
            color: #111;
            text-decoration: none;
            font-weight: 600;
            padding: .3rem .5rem;
            font-size: .85rem;
        }

        .home-top-menu-section .container a:hover {
            background-color: #fff;
            color: #1e1e1e;
        }
        /* End Top Menu */

        /* Start Carousel */
        .home-carousel-section .container {
            padding: 0 .8rem;
        }

        .home-carousel-section .home-carousel {
            border-radius: 5px;
            overflow: hidden;
        }

        .home-carousel-section .home-carousel-list {
            display: block;
            width: 100%;
            aspect-ratio: 3/1;
            overflow: hidden;
            /* background-color: white; */
            position: relative;
            z-index: 99;
        }

        .home-carousel-section .home-carousel-list::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            background-image: linear-gradient(#070707, transparent, #070707);
        }

        .home-carousel-section .home-carousel-list img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        .home-carousel-section .home-carousel-list h3 {
            z-index: 99;
            position: absolute;
            bottom: 0;
            width: 100%;
            text-align: center;
            color: white;
            padding: 0 .8rem;
            text-transform: uppercase;
        }

        .home-carousel-section .home-carousel .owl-nav button {
            position: absolute;
            top: 50%;
            transform: translateY(-60%);
            font-size: 4rem !important;
            color: #fff !important;
        }

        .home-carousel-section .home-carousel .owl-nav button:first-of-type {
            left: .8rem;
        }

        .home-carousel-section .home-carousel .owl-nav button:last-of-type {
            right: .8rem;
        }
        /* End  Carousel */

        /* Start Main */
        .home-main {
            margin-top: 1rem;
        }


        .home-main .home-main-layout {
            width: 100%;
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 1rem;
            padding-bottom: 2rem;
        }

            /* Start Sidebar */
            .home-main-sidebar h5 {
                color: #1e1e1e;
                color: #fff;
                padding-right: .8rem;
            }

                /* Start Sidebar Category */
                .home-main-sidebar .home-main-category-lists {
                    display: flex;
                    gap: 3px;
                    flex-wrap: wrap;
                    padding-right: 0.8rem;
                }

                .home-main-sidebar .home-main-category-lists a {
                    font-size: .75rem;
                    padding: 4px 8px;
                    line-height: .8rem;
                    display: flex;
                    align-items: center;
                    text-decoration: none;
                    background-color: #1e1e1e;
                    background: linear-gradient(#c3521c, #f66b25);
                    color: #111;
                    font-weight: 600;
                    white-space: nowrap;
                    border-radius: 10px;
                }

                .home-main-sidebar .home-main-category-lists a:hover {
                    background: linear-gradient(#fff, #fff);
                }
                /* End Sidebar Category */

                /* Start Sidebar Latest News */
                .home-main-sidebar .home-main-latest-news {
                    margin-bottom: 2rem;
                }

                .home-main-sidebar .home-main-latest-news .home-main-latest-news-list {
                    padding-right: 0.8rem;
                }

                .home-main-sidebar .home-main-latest-news img {
                    width: 100%;
                }

                .home-main-sidebar .home-main-latest-news a {
                    text-decoration: none;
                    color: #fff;
                    position: relative;
                }

                .home-main-sidebar .home-main-latest-news a:hover {
                    color: rgb(105, 105, 105);
                }

                .home-main-sidebar .home-main-latest-news .home-main-latest-news-list h6 {
                    margin-top: 5px;
                }
                /* End Sidebar Latest News */
            /* End Sidebar */

            /* Start News */
            .home-main .home-main-news {
                display: grid;
                grid-template-columns: repeat(3,1fr);
                gap: 1rem;
                padding-left: .8rem;
            }

            .news-item-container {
                position: relative;
                text-decoration: none;
                /* color: #1e1e1e; */
                color: #fff;
                /* background-color: #333333; */
                /* padding: .5rem; */
                /* text-align: center; */
            }

            .news-item-container:hover {
                color: rgb(105, 105, 105);
            }

            .news-item-container img {
                width: 100%;
                height: 150px;
                object-fit: cover;
                border-radius: 5px;
            }

            .news-item-container h6 {
                margin-bottom: 0;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;  
                overflow: hidden;
                padding-right: 1rem;
                font-size: .9rem !important;
            }

            .news-item-container .category {
                position: absolute;
                top: 0;
                left: 0;
                font-size: .75rem;
                /* background-color: #1f1f1f; */
                background: linear-gradient(#c3521c, #f66b25);
                color: #111;
                font-weight: 600;
                padding: 0 .3rem;
                border-bottom-right-radius: 5px;
                box-shadow: 1px 1px 5px #00000060;
            }

            .news-container .news-pagination {
                padding-left: .8rem;
                margin-top: 1rem;
            }
            /* End News */

            /* Start Profile */
            .profile h5 {
                color: #111;
                border-bottom: 1px solid #111;
                width: fit-content;
                margin: auto;
                padding-inline: 2rem;
                margin-bottom: 1rem;
            }

            .profile-layout {
                width: 100%;
                max-width: 1200px;
                margin: auto;
                padding-inline: .8rem;
            }

            .profile-detail-container {
                background: linear-gradient(#c3521c, #f66b25);
                /* border: 1px solid #fff; */
                border-radius: 5px;
                padding: .8rem;
                margin-right: .4rem;
                color: #111;
                box-shadow: 1px 1px 5px black;
            }

            .profile-detail-container img.profile-image {
                width: 100%;
                max-width: 150px;
                display: block;
                margin: 0 auto .5rem;
            }

            .profile-detail-container table {
                width: 100%;
            }

            .profile-detail-container table tr {
                border-bottom: 1px solid #111;
            }

            .profile-detail-container table tr {
                border-bottom: 1px solid #111;
                font-weight: bold;
            }

            .profile-detail-container table tr:last-of-type {
                border-bottom: none;
            }

            .profile-detail-container table tr td:first-of-type {
                width: 1px;
            }

            .profile-detail-container table tr td:nth-of-type(2) {
                padding-inline: .3rem;
                text-align: center;
            }

            .profile-detail-container table tr td {
                padding-block: .3rem;
            }

            .profile .my-news-container {
                background: linear-gradient(#c3521c, #f66b25);
                border-radius: 5px;
                min-height: 100%;
                padding: .8rem;
                margin-left: .4rem;
                box-shadow: 1px 1px 5px black;
            }

            .profile .my-news-item {
                display: flex;
                flex-direction: row;
                align-items: start;
                margin-bottom: .8rem;
            }

            .profile .my-news-item .card-body {
                padding: .3rem 0.5em;
            }

            .profile .my-news-item img {
                width: 100%;
                max-width: 150px;
                object-fit: contain;
            }

            .profile .my-news-item .card-title {
                margin-bottom: 0.3rem;
            }

            .profile .my-news-item .card-text {
                margin-bottom: .3rem;
                font-size: .75rem;
                font-weight: 600;
            }

            .profile-no-post {
                height: calc(100vh - 100px - 7rem);
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
            }

            .profile-no-post span {
                font-size: 1.5rem;
                font-weight: 600;
                color: #1e1e1e;
            }

            .profile-no-post a {
                display: block;
                background-color: #1e1e1e;
                color: white;
                font-size: .85rem;
                font-weight: 600;
                box-shadow: 1px 1px 5px #000000;
                padding: .3rem .8rem;
                border: 1px solid #1e1e1e;
            }

            .card.my-news-item {
                background-color: #111;
                box-shadow: 1px 1px 5px black;
            }
            /* End Profile */

            /* Start Currencies Conversion */
            .home-currencies-conversion-container {
                padding: 0 .8rem;
                width: 100%;
                max-width: 1200px;
                margin: 1rem auto 0;
            }

            .home-currencies-conversion-container .container {
                background: url('../img/background-konversi.webp');
                background-position: center;
                background-size: cover;
                padding: 2rem;
                color: black;
                border-radius: 5px;
                position: relative;
                box-shadow: 1px 1px 10px black;
            }

            .home-currencies-conversion-container .container h5 {
                color: white;
            }

            .home-currencies-conversion-container .container::before {
                content: '';
                position: absolute;
                background-color: #00000099;
                top: 0;
                bottom: 0;
                right: 0;
                left: 0;
            }

            .home-currencies-conversion-container .container * {
                position: relative;
                z-index: 999;
            }

            .currency-exchange-icon {
                width: fit-content;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
            }

            .home-currencies-conversion-container form button {
                background: linear-gradient(#c3521c, #f66b25);
                color: black;
                font-weight: 600;
            }

            .home-currencies-conversion-container form button:hover {
                background: linear-gradient(#fff, #fff);
            }
            /* End Currencies Conversion */

            /* Start Search Result */
            .search-result-container h5 {
                color: #f66b25;
            }

            .search-result-item {
                display: grid;
                margin: 1rem 0 0;
            }

            .search-result-item a.search-result-item-title {
                font-weight: 600;
                text-decoration: none;
                font-size: 1.5rem;
                color: #f66b25;
            }

            .search-result-item a.search-result-item-title:hover {
                text-decoration: underline;
            }
            /* End Search Result */
        /* End Main */

        /* Start Login & Register */
        .login-register-container {
            width: 100%;
            max-width: 1200px;
            padding: 4rem .8rem;
            margin: auto;
        }
        
        .login-register-container .container {
            border-radius: 20px;
            width: 100%;
            max-width: 600px;
            background: linear-gradient(#c3521c, #f66b25);
            box-sizing: 1px 1px 5px black;
            padding: 1.5rem;
        }

        .login-register-container form {
            color: #111;
        }
        /* End Login */

        button.submit-form {
            background-color: #1e1e1e;
            color: #fff;
            font-weight: 600;
            border-color: #1e1e1e;
            border-width: 2px;
        }

        button.submit-form:hover {
            border-color: #111;
            background-color: #fff;
            color: #111;
        }

        .form-question {
            color: #111;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 5px;
        }

        .form-question a {
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            background-color: #1e1e1e;
            padding: .1rem .3rem;
            border-radius: 5px;
            /* transition: .3s; */
        }

        .form-question a:hover {
            transform: translateY(5%) scale(95%);
        }

        /* Start Create News */
        .home-main trix-editor {
            min-height: 450px;
        }
        /* End Create News */

        /* Start Show News */
        .home-main.show-news h1 {
            font-size: 2rem;
            margin-bottom: 0;
        }

        .home-main.show-news img.news-attachment {
            width: 100%;
            margin-bottom: 1rem;
        }

        .home-main.show-news .news-content {
            text-align: justify;
        }

        .home-main .home-main-item {
            padding-left: .8rem;
        }

        .home-main .home-main-item h5 {
        }

        .news-badge-group {
            display: flex;
            justify-content: space-between;
            margin: .3rem 0 .5rem;
        }
        /* End Show News */

        /* Start Edit News */
        .home-main.edit-news img {
            width: 100%;
            max-width: 370px;
            display: block;
            margin-bottom: .8rem;
        }
        /* End Edit News */

    /* End Home */

/* End Root */

@media screen and (max-width: 991px) {
    /* Start Home */
        /* Start Navbar */
        .home-navbar-section .container {
            grid-template-columns: 1fr;
            gap: 0.8rem;
            padding-inline: .8rem;
        }

        .home-navbar-section .menu-bars {
            display: block;
        }

        .home-navbar-section .home-nav-list {
            background-color: #1e1e1e;
            padding: 4rem .8rem 0;
            width: 80%;
            box-shadow: -1px 0 5px #000000;
            z-index: 9999;
            position: relative;
            display: flex;
            flex-direction: column;
            gap: .5rem;
            position: fixed;
            right: 0;
            top: 0;
            bottom: 0;
            transform: translateX(100%);
            opacity: 0;
            transition: transform .3s, opacity 0s .3s;
        }

        .home-navbar-section .home-nav-list.active {
            transform: translateX(0);
            opacity: 1;
            transition: transform .3s;
        }

        .home-navbar-section .home-nav-list a {
            background-color: #fff;
            color: #1e1e1e;
            width: 100%;
        }

        .home-navbar-section .home-nav-list a:hover {
            background-color: #1e1e1e;
            color: #fff;
            width: 100%;
            border-color: #fff;
        }

        .home-navbar-section .home-nav-list a.home-button {
            display: block;
        }
        /* End Navbar */

        /* Start Create News */
        .home-main trix-editor {
            min-height: 400px;
        }
        /* End Create News */

        
        /* Start Profile */
        .profile-detail-container {
            margin-right: 0rem;
            margin-bottom: 1rem;
        }

        .profile .my-news-container {
            margin-left: 0;
        }

        .profile-no-post {
            height: 200px;
        }
        /* End Profile */
    /* End Home */
}

@media screen and (max-width: 767px) {
    /* Start Home */
        /* Start Top Menu */
        .home-top-menu-section {
            display: none;
        }
        /* End Top Menu */

        /* Start Carousel */
        .home-carousel-section .home-carousel-list {
            aspect-ratio: 3/1.2;
        }

        .home-carousel-section .home-carousel-list img {
            height: 300px;
        }
        /* End Carousel */

        /* Start Main */
        .home-main {
            /* margin-top: 0; */
        }

        .home-main .home-main-layout {
            display: flex;
            flex-wrap: wrap;
            gap: 0;
        }

        .home-main-sidebar .home-main-category h5 {
            display: none;
        }

        .home-main-sidebar .home-main-category-lists {
            padding: .8rem .8rem;
        }

        

        .home-main-sidebar .home-main-latest-news {
            margin-bottom: 0;
            padding: 0 0 0 .8rem;
        }

        .home-main-sidebar .home-main-latest-news .home-main-latest-news-list {
            padding-right: 0;
            display: grid;
            grid-auto-columns: 180px;
            grid-auto-flow: column;
            gap: 10px;
            max-width: calc(100vw - 0.8rem - .8rem);
            overflow: auto;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }

        .home-main-sidebar .home-main-latest-news .home-main-latest-news-list h6 {
            font-size: .95rem;
        }

        

        .home-main-sidebar .home-main-latest-news .home-main-latest-news-list a {
            /* width: 100%;
            min-width: 200px; */
        }

        /* Start News */
        .home-main .home-main-news {
            padding: 0 .8rem;
            grid-template-columns: repeat(2, 1fr);
            /* order: 1; */
        }

        .home-main .news-container {
            order: 1;
        }

        .news-container .news-pagination {
            padding-right: .8rem;
        }
        /* End News */
        /* End Main */

        /* Start Show News */
        .home-main .home-main-item {
            padding: 0.8rem;
            order: 1;
        }

        .news-badge-group {
            display: grid;
            gap: 2px;
        }
        /* End Show News */

        /* Start Currency Conversion */
        .currency-exchange-icon {
            width: 100%;
            margin-top: .75rem;
            margin-bottom: .75rem;
        }

        .currency-exchange-icon > * {
            transform: rotate(90deg);
            font-size: 1.3rem;
        }
        /* End Currency Conversion */

    /* End Home */
}

@media screen and (max-width: 575px) {
    /* Start Home */
        /* Start Carousel */
        .home-carousel-section .home-carousel-list img {
            height: 220px;
        }

        .home-carousel-section .home-carousel-list h3 {
            font-size: 1.2rem;
        }

        .home-carousel-section .home-carousel .owl-nav button {
            font-size: 3rem !important;
        }
        /* End Carousel */

        /* Start Create News */
        .home-main trix-editor {
            min-height: 300px;
        }
        /* End Create News */
    /* End Home */
}

/* Start Pagination Style */
.active>.page-link, .page-link.active {
    background-color: #070707;
    border-color: #070707;
}

.page-link {
    color: #070707;
}
/* End Pagination Style */