html,
body {
    font-family: ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
}


.article-content {
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-content>*:first-child {
    margin-top: 0;
}

.article-content>*:last-child {
    margin-bottom: 0;
}


.article-content p {
    margin-bottom: 1rem;
}

    #hero-section {
        background-image: url('{{ asset('img/gb1.webp') }}');
        background-size: cover;
        background-position: 9% center;
        background-repeat: no-repeat;
    }
    
    @media (max-width: 768px) {
        #hero-section {
            background-position: center;
        }
    }
    
    [x-cloak] {
        display: none !important;
    }

    header button {
        position: relative;
        width: 24px;
        height: 24px;
    }

    header button svg {
        position: absolute;
        inset: 0;
    }

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-content h1 {
    font-size: 2.25rem;
}

.article-content h2 {
    font-size: 1.875rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content h5 {
    font-size: 1.125rem;
}

.article-content h6 {
    font-size: 1rem;
}


.article-content ul {
    list-style: disc !important;
    padding-left: 2rem !important;
    margin: 1rem 0;
}

.article-content ol {
    list-style: decimal !important;
    padding-left: 2rem !important;
    margin: 1rem 0;
}

.article-content li {
    display: list-item !important;
    margin-bottom: 0.5rem;
}

.article-content ul ul {
    list-style: circle !important;
}

.article-content ul ul ul {
    list-style: square !important;
}

.article-content ol ol {
    list-style: lower-alpha !important;
}

.article-content ol ol ol {
    list-style: lower-roman !important;
}

.article-content ul li::marker {
    color: #84cc16;
}

.article-content ol li::marker {
    color: #84cc16;
    font-weight: 700;
}


.article-content strong,
.article-content b {
    font-weight: 700 !important;
}

.article-content em,
.article-content i {
    font-style: italic !important;
}

.article-content u {
    text-decoration: underline !important;
}

.article-content s,
.article-content strike {
    text-decoration: line-through !important;
}



.article-content a {
    color: #65a30d;
    text-decoration: underline;
}

.article-content a:hover {
    color: #4d7c0f;
}


.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 12px;
}


.article-content blockquote {
    border-left: 5px solid #84cc16;
    background: #f7fee7;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}


.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.article-content table th,
.article-content table td {
    border: 1px solid #d1d5db;
    padding: 0.75rem;
}

.article-content table th {
    background: #f3f4f6;
}


.article-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.article-content pre {
    background: #111827;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    overflow-x: auto;
}

.article-content pre code {
    background: transparent;
    padding: 0;
}


.article-content iframe {
    width: 100%;
    min-height: 450px;
    border: 0;
    border-radius: 12px;
}


.note-editor.note-frame,
.note-editor.note-airframe {
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
}

.note-toolbar {
    background: #f9fafb !important;
}

.note-editable {
    min-height: 400px !important;
    font-family: inherit !important;
    line-height: 1.8 !important;
    padding: 15px !important;
}


.note-editable ul {
    list-style-type: disc !important;
    padding-left: 40px !important;
    margin: 10px 0 !important;
}


.note-editable ol {
    list-style-type: decimal !important;
    padding-left: 40px !important;
    margin: 10px 0 !important;
}


.note-editable li {
    display: list-item !important;
    margin-bottom: 4px !important;
}


.note-editable ul ul {
    list-style-type: circle !important;
}

.note-editable ul ul ul {
    list-style-type: square !important;
}

.note-editable ol ol {
    list-style-type: lower-alpha !important;
}

.note-editable ol ol ol {
    list-style-type: lower-roman !important;
}


.note-editable u {
    text-decoration: underline !important;
}


.note-editable b,
.note-editable strong {
    font-weight: 700 !important;
}


.note-editable i,
.note-editable em {
    font-style: italic !important;
}


@media (max-width: 768px) {
    .article-content {
        font-size: 15px;
    }

    .article-content h1 {
        font-size: 1.8rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content iframe {
        min-height: 250px;
    }

    .article-content table {
        display: block;
        overflow-x: auto;
    }
}


.clip-triangle-left {
    clip-path: polygon(0 0, 70% 0, 55% 100%, 0% 100%);
}

@media (max-width: 1024px) {
    .clip-triangle-left {
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    }
}

@media (max-width: 768px) {
    .clip-triangle-left {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}


.note-editor {
    border-radius: 12px !important;
    overflow: hidden;
}

.note-editor .note-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.note-editor .note-editing-area .note-editable {
    min-height: 400px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.note-editor .note-editable ul {
    list-style-type: disc !important;
    padding-left: 40px !important;
    margin: 1rem 0 !important;
}

.note-editor .note-editable ol {
    list-style-type: decimal !important;
    padding-left: 40px !important;
    margin: 1rem 0 !important;
}

.note-editor .note-editable li {
    display: list-item !important;
    margin-bottom: 6px !important;
}

.note-editor .note-editable ul ul {
    list-style-type: circle !important;
}

.note-editor .note-editable ul ul ul {
    list-style-type: square !important;
}

.note-editor .note-editable ol ol {
    list-style-type: lower-alpha !important;
}

.note-editor .note-editable h1 {
    font-size: 2rem !important;
    font-weight: 700;
}

.note-editor .note-editable h2 {
    font-size: 1.75rem !important;
    font-weight: 700;
}

.note-editor .note-editable h3 {
    font-size: 1.5rem !important;
    font-weight: 700;
}

.note-editor .note-editable p {
    margin-bottom: 1rem;
}

.note-editor .note-editable ul {
    list-style: disc !important;
    padding-left: 40px !important;
    margin: 10px 0 !important;
}

.note-editor .note-editable ol {
    list-style: decimal !important;
    padding-left: 40px !important;
    margin: 10px 0 !important;
}

.note-editor .note-editable li {
    display: list-item !important;
}

.note-editor .note-editable p {
    margin-bottom: 10px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #84cc16;
    border-radius: 10px;
}

.group {
    transition: all 0.3s ease;
}

article {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.toc-container {
    max-height: 380px;
    overflow-y: auto;
}

.toc-container::-webkit-scrollbar {
    width: 3px;
}

.toc-container::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.toc-container::-webkit-scrollbar-thumb {
    background: #84cc16;
    border-radius: 10px;
}

#daftar-isi ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#daftar-isi li {
    margin-bottom: 10px;
}

#daftar-isi .ml-4 {
    margin-left: 20px;
}

#daftar-isi .ml-8 {
    margin-left: 40px;
}

.toc-link {
    display: block;
    padding: 6px 0 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.toc-link:hover {
    color: #84cc16;
    border-left-color: #84cc16;
    padding-left: 16px;
}

#article-content h1,
#article-content h2,
#article-content h3 {
    scroll-margin-top: 100px;
}

#article-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

#article-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #84cc16;
}

#article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 2px solid #cbd5e1;
    color: #475569;
}

#article-content p {
    margin-bottom: 1.25em;
    line-height: 1.8;
    color: #334155;
}

#article-content img {
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

#article-content blockquote {
    border-left: 4px solid #84cc16;
    padding-left: 20px;
    font-style: italic;
    color: #475569;
    background: #f8fafc;
    padding: 16px 24px;
    border-radius: 12px;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .toc-link {
        font-size: 12px;
        padding: 4px 0 4px 8px;
    }

    #article-content h1 {
        font-size: 24px;
    }

    #article-content h2 {
        font-size: 20px;
    }

    #article-content h3 {
        font-size: 16px;
    }
}

article:nth-child(1) {
    animation-delay: 0.05s;
}

article:nth-child(2) {
    animation-delay: 0.1s;
}

article:nth-child(3) {
    animation-delay: 0.15s;
}

article:nth-child(4) {
    animation-delay: 0.2s;
}

article:nth-child(5) {
    animation-delay: 0.25s;
}

article:nth-child(6) {
    animation-delay: 0.3s;
}

article:nth-child(7) {
    animation-delay: 0.35s;
}

article:nth-child(8) {
    animation-delay: 0.4s;
}
