.ellipsis_1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* whatsapp */
.containers {
    bottom: 24px;
    position: fixed;
    margin: 1em;
    left: 33px;
    z-index: 9999;
}

.buttons {
    background: #25d366;
    box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18),
        0px 4px 12px -7px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: block;
    width: 56px;
    height: 56px;
    margin: 20px auto 0;
    position: relative;
    -webkit-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.buttons:active,
.buttons:focus,
.buttons:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

.buttons:not(:last-child) {
    width: 40px;
    height: 40px;
    margin: 20px auto 0;
    opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
}

.containers:hover .buttons:not(:last-child) {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    margin: 15px auto 0;
}

.buttons:nth-last-child(1) {
    -webkit-transition-delay: 25ms;
    transition-delay: 25ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(2) {
    -webkit-transition-delay: 50ms;
    transition-delay: 20ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(3) {
    -webkit-transition-delay: 75ms;
    transition-delay: 40ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(4) {
    -webkit-transition-delay: 100ms;
    transition-delay: 60ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

[tooltip]:before {
    bottom: 25%;
    font-family: arial;
    font-weight: 600;
    border-radius: 2px;
    background: #585858;
    color: #fff;
    content: attr(tooltip);
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    padding: 5px 7px;
    margin-left: 12px;
    position: absolute;
    left: 100%;
    white-space: nowrap;
}

[tooltip]:hover:before,
[tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}

.text-black {
    color: #000;
}

.text-hijau {
    color: #348e38;
}

.text-orange {
    color: #e67e22 !important;
}

.header-title-produk {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hover-image {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hover-image:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.imageCard__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.imageCard:hover .imageCard__play {
    opacity: 1;
    visibility: visible;
}

.plyr {
    height: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: block;
}

.fancybox__content {
    background: transparent;
}

.fancybox__content video,
.fancybox__content iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.plyr__controls {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Kualitas udara */
.ispu-embed-wrapper {
    margin-bottom: 20px;
}

.embed-header {
    text-align: center;
    margin-bottom: 20px;
}

.embed-header h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.embed-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.ispu-embed-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--divider-color);
    background: #fff;
    margin: 20px 0;
}

.embed-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    overflow: hidden;
}

.ispu-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    display: block;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ispu-embed-container iframe::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.ispu-embed-container.fixed-height {
    height: auto;
}

.ispu-embed-container.fixed-height .embed-wrapper {
    position: static;
    height: 650px;
    padding-bottom: 0;
}

.ispu-embed-container.fixed-height iframe {
    position: static;
    height: 100%;
}

@media (max-width: 1200px) {
    .embed-wrapper {
        padding-bottom: 70%;
    }

    .ispu-embed-container.fixed-height .embed-wrapper {
        height: 600px;
    }
}

@media (max-width: 992px) {
    .embed-wrapper {
        padding-bottom: 75%;
    }

    .ispu-embed-container.fixed-height .embed-wrapper {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .embed-wrapper {
        padding-bottom: 80%;
    }

    .ispu-embed-container.fixed-height .embed-wrapper {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .embed-wrapper {
        padding-bottom: 90%;
    }

    .ispu-embed-container.fixed-height .embed-wrapper {
        height: 400px;
    }
}

.embed-wrapper::after {
    content: "Memuat data ISPU...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    z-index: 0;
    animation: fadeOut 3s ease-in-out forwards;
}

@keyframes fadeOut {
    0%,
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

/* FAQ Tooltip */
.faq-floating-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    font-family: "DM Sans", sans-serif;
}

.faq-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    border-radius: 50%;
    text-decoration: none !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.faq-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.4);
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    color: white !important;
    text-decoration: none !important;
}

.faq-btn:active {
    transform: scale(0.95);
}

.faq-icon {
    position: relative;
    z-index: 3;
    font-size: 24px;
    transition: all 0.3s ease;
    animation: pulse-icon 2s infinite;
}

.faq-btn:hover .faq-icon {
    animation: shake 0.6s ease-in-out;
}

.faq-tooltip {
    position: absolute;
    left: 80px;
    background: rgba(44, 85, 48, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 2;
}

.faq-tooltip::before {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(44, 85, 48, 0.9);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.faq-btn:hover .faq-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.faq-ripple,
.faq-ripple-2 {
    position: absolute;
    border: 3px solid rgba(74, 124, 89, 0.6);
    border-radius: 50%;
    animation: ripple 2s infinite ease-out;
}

.faq-ripple-2 {
    animation-delay: 0.5s;
    border-color: rgba(44, 85, 48, 0.4);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

@keyframes ripple {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.faq-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4a7c59, #2c5530, #4a7c59);
    border-radius: 50%;
    z-index: -1;
    animation: rotate-glow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-btn:hover::before {
    opacity: 1;
}

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

@media (max-width: 768px) {
    .faq-floating-button {
        bottom: 20px;
        left: 20px;
    }

    .faq-btn {
        width: 50px;
        height: 50px;
    }

    .faq-icon {
        font-size: 20px;
    }

    .faq-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .faq-floating-button {
        bottom: 15px;
        left: 15px;
    }

    .faq-btn {
        width: 45px;
        height: 45px;
    }

    .faq-icon {
        font-size: 18px;
    }
}

/* Back To ToP */
.back-to-top-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    font-family: "DM Sans", sans-serif;
}

.progress-wrap {
    position: relative;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(74, 124, 89, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-subtle 3s ease-in-out infinite;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.progress-wrap:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.4);
    animation-play-state: paused;
}

.progress-wrap:active {
    transform: scale(0.95);
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle-path {
    transition: stroke-dashoffset 0.1s ease;
    filter: drop-shadow(0 0 8px rgba(74, 124, 89, 0.5));
}

.back-to-top-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2c5530;
    font-size: 18px;
    transition: all 0.3s ease;
    animation: pulse-up-arrow 2s infinite ease-in-out;
}

.progress-wrap:hover .back-to-top-icon {
    color: #4a7c59;
    transform: translate(-50%, -55%) scale(1.1);
    animation: bounce-up 0.6s ease;
}

.progress-wrap::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(from 0deg, #4a7c59, #2c5530, #4a7c59);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate-glow 3s linear infinite;
}

.progress-wrap:hover::before {
    opacity: 0.7;
}

@keyframes float-subtle {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1);
    }
}

@keyframes pulse-up-arrow {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -55%) scale(1.1);
    }
}

@keyframes bounce-up {
    0%,
    100% {
        transform: translate(-50%, -55%) scale(1.1);
    }
    25% {
        transform: translate(-50%, -65%) scale(1.2);
    }
    75% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

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

.progress-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(74, 124, 89, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.6s ease;
}

.progress-wrap.clicked::after {
    width: 120px;
    height: 120px;
    opacity: 1;
    animation: ripple-click 0.6s ease;
}

@keyframes ripple-click {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .back-to-top-wrapper {
        bottom: 100px;
        right: 20px;
    }

    .progress-wrap {
        height: 50px;
        width: 50px;
    }

    .back-to-top-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .back-to-top-wrapper {
        bottom: 90px;
        right: 15px;
    }

    .progress-wrap {
        height: 45px;
        width: 45px;
    }

    .back-to-top-icon {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .back-to-top-wrapper {
        display: none;
    }
}

/* artikel beranda layout  */

.article-home-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9f7 100%);
    position: relative;
    overflow: hidden;
}

.article-layout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
    min-height: 800px;
}

.article-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-height: 100%;
}

.article-hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.article-hero-swiper {
    height: 400px;
    border-radius: 20px;
}

.article-hero-item {
    position: relative;
    height: 100%;
    width: 100%;
}

.article-hero-image-wrap {
    position: relative;
    height: 100%;
    width: 100%;
}

.article-hero-link {
    display: block;
    height: 100%;
    width: 100%;
}

.article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 85, 48, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
    transition: all 0.3s ease;
}

.article-hero-text {
    max-width: 70%;
}

.article-hero-badge {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.article-hero-heading {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: white;
}

.article-hero-meta {
    margin-bottom: 20px;
}

.article-hero-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.article-hero-date i {
    font-size: 13px;
}

.article-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-hero-item:hover .article-hero-button {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.article-hero-button i {
    transition: transform 0.3s ease;
}

.article-hero-item:hover .article-hero-button i {
    transform: translateX(3px);
}

.article-grid-wrapper {
    margin-top: 0;
}

.article-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.article-grid-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 124, 89, 0.1);
    backdrop-filter: blur(10px);
}

.article-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.12);
}

.article-grid-image-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.article-grid-image-link {
    display: block;
    height: 100%;
    position: relative;
}

.article-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-grid-item:hover .article-grid-img {
    transform: scale(1.05);
}

.article-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(44, 85, 48, 0.7),
        rgba(74, 124, 89, 0.5)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.article-grid-item:hover .article-grid-overlay {
    opacity: 1;
}

.article-grid-read-btn {
    background: white;
    color: #2c5530;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.article-grid-item:hover .article-grid-read-btn {
    transform: scale(1);
}

.article-grid-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-grid-text {
    padding: 20px;
}

.article-grid-meta {
    margin-bottom: 10px;
}

.article-grid-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
}

.article-grid-date i {
    font-size: 11px;
    color: #4a7c59;
}

.article-grid-heading {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-grid-heading a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-grid-heading a:hover {
    color: #4a7c59;
    text-decoration: none;
}

.article-grid-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-grid-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.article-grid-read-link:hover {
    color: #2c5530;
    text-decoration: none;
    padding-left: 5px;
}

.article-grid-read-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.article-grid-read-link:hover i {
    transform: translateX(3px);
}

.article-sidebar-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 124, 89, 0.1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 810px;
    max-height: 110vh;
    position: sticky;
    top: 50px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-sidebar-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(74, 124, 89, 0.15);
    flex-shrink: 0;
}

.article-sidebar-header h4 {
    color: #2c5530;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.article-sidebar-scroll {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: calc(100% - 90px);
}

.article-sidebar-swiper {
    height: 100% !important;
    width: 100%;
}

.article-sidebar-swiper .swiper-wrapper {
    flex-direction: column;
}

.article-sidebar-slide {
    height: auto !important;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.article-sidebar-item {
    display: flex;
    gap: 18px;
    padding: 18px 15px;
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
    transition: all 0.3s ease;
    border-radius: 15px;
    margin-bottom: 8px;
    background: rgba(248, 255, 252, 0.3);
    min-height: 110px;
}

.article-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.article-sidebar-item:hover {
    background: rgba(74, 124, 89, 0.08);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.1);
}

.article-sidebar-image {
    width: 90px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.article-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-sidebar-item:hover .article-sidebar-image img {
    transform: scale(1.1);
}

.article-sidebar-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-sidebar-meta {
    margin-bottom: 8px;
}

.article-sidebar-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

.article-sidebar-date i {
    font-size: 10px;
    color: #4a7c59;
}

.article-sidebar-heading {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2c5530;
}

.article-sidebar-heading a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-sidebar-heading a:hover {
    color: #4a7c59;
    text-decoration: none;
}

.article-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4a7c59;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.article-sidebar-link:hover {
    color: #2c5530;
    text-decoration: none;
    padding-left: 4px;
}

.article-sidebar-link i {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.article-sidebar-link:hover i {
    transform: translateX(3px);
}

.article-sidebar-scrollbar {
    background: rgba(74, 124, 89, 0.15);
    width: 6px !important;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 10px;
    z-index: 10;
}

.article-sidebar-scrollbar .swiper-scrollbar-drag {
    background: linear-gradient(180deg, #2c5530, #4a7c59);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(44, 85, 48, 0.3);
}

@media (max-width: 1399px) {
    .article-layout-wrapper {
        grid-template-columns: 1.8fr 1fr;
        gap: 35px;
    }

    .article-sidebar-panel {
        height: 750px;
        padding: 30px 25px;
    }

    .article-sidebar-item {
        padding: 16px 12px;
        min-height: 100px;
    }

    .article-sidebar-image {
        width: 80px;
        height: 65px;
    }
}

@media (max-width: 1199px) {
    .article-layout-wrapper {
        gap: 30px;
    }

    .article-grid-container {
        gap: 20px;
    }

    .article-hero-heading {
        font-size: 1.6rem;
    }

    .article-sidebar-panel {
        height: 700px;
        padding: 25px 20px;
    }

    .article-sidebar-item {
        padding: 15px 10px;
        min-height: 95px;
    }

    .article-sidebar-image {
        width: 75px;
        height: 60px;
    }

    .article-sidebar-heading {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .article-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .article-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-sidebar-panel {
        position: static;
        top: auto;
        height: 500px;
        max-height: 70vh;
    }

    .article-sidebar-scroll {
        height: calc(100% - 80px);
    }

    .article-sidebar-item {
        padding: 16px 15px;
        gap: 15px;
        min-height: 100px;
    }

    .article-sidebar-image {
        width: 85px;
        height: 65px;
    }

    .article-sidebar-heading {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .article-home-section {
        padding: 60px 0;
    }

    .article-hero-swiper {
        height: 300px;
    }

    .article-hero-overlay {
        padding: 25px;
    }

    .article-hero-text {
        max-width: 90%;
    }

    .article-hero-heading {
        font-size: 1.4rem;
    }

    .article-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-sidebar-panel {
        padding: 25px 20px;
        height: 450px;
        max-height: 60vh;
    }

    .article-sidebar-scroll {
        height: calc(100% - 75px);
    }

    .article-sidebar-item {
        padding: 14px 12px;
        min-height: 90px;
    }

    .article-sidebar-image {
        width: 70px;
        height: 55px;
    }

    .article-sidebar-heading {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .article-layout-wrapper {
        gap: 30px;
    }

    .article-hero-overlay {
        padding: 20px;
    }

    .article-hero-text {
        max-width: 100%;
    }

    .article-hero-heading {
        font-size: 1.2rem;
    }

    .article-grid-text {
        padding: 15px;
    }

    .article-sidebar-panel {
        padding: 20px 15px;
        height: 400px;
        max-height: 50vh;
    }

    .article-sidebar-header h4 {
        font-size: 1.2rem;
    }

    .article-sidebar-item {
        padding: 12px 8px;
        gap: 12px;
        min-height: 80px;
    }

    .article-sidebar-image {
        width: 60px;
        height: 45px;
    }

    .article-sidebar-heading {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .article-sidebar-link {
        font-size: 10px;
    }

    .article-sidebar-scrollbar {
        width: 4px !important;
    }
}

@media (max-width: 480px) {
    .article-sidebar-panel {
        height: 350px;
        max-height: 45vh;
    }

    .article-sidebar-item {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        min-height: 120px;
    }

    .article-sidebar-image {
        width: 80px;
        height: 60px;
        margin: 0 auto;
        align-self: center;
    }

    .article-sidebar-text {
        align-items: center;
        text-align: center;
    }
}

/* Weather Widget */
.weather-widget {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

.weather-toggle {
    display: none;
}

.weather-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 65px;
    background: linear-gradient(135deg, #7cb342, #8bc34a);
    border-radius: 12px 0 0 12px;
    color: white;
    cursor: pointer;
    padding: 8px 6px 8px 10px;
    box-shadow: -3px 0 15px rgba(124, 179, 66, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1002;
}

.weather-trigger:hover {
    transform: translateX(-3px);
    box-shadow: -5px 0 20px rgba(124, 179, 66, 0.5);
    background: linear-gradient(135deg, #689f38, #7cb342);
}

.weather-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    position: relative;
}

.weather-icon {
    font-size: 16px;
    margin-bottom: 1px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.weather-temp {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1px;
}

.weather-condition {
    font-size: 8px;
    font-weight: 500;
    text-transform: capitalize;
    opacity: 0.85;
    text-align: center;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}

.arrow-icon-bottom {
    background: rgba(255, 171, 0, 0.9);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.weather-panel {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    width: 360px;
    height: 78vh;
    max-height: 620px;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(124, 179, 66, 0.15);
}

.weather-toggle:checked + .weather-trigger {
    transform: translateX(-290px);
}

.weather-toggle:checked + .weather-trigger .arrow-icon-bottom {
    background: #ff5722;
    transform: translateX(-50%) rotate(180deg);
}

.weather-toggle:checked ~ .weather-panel {
    transform: translateY(-50%) translateX(70px);
}

.weather-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #7cb342, #8bc34a);
    color: white;
    position: relative;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.25);
}

.weather-header-content {
    margin-right: 45px;
}

.weather-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
}

.weather-date {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 400;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    font-size: 12px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.weather-content {
    height: calc(100% - 85px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 179, 66, 0.3) transparent;
    scroll-behavior: smooth;
}

.weather-content::-webkit-scrollbar {
    width: 4px;
}

.weather-content::-webkit-scrollbar-thumb {
    background: rgba(124, 179, 66, 0.3);
    border-radius: 2px;
}

.current-weather {
    padding: 24px 20px;
    background: rgba(124, 179, 66, 0.04);
    border-bottom: 1px solid rgba(124, 179, 66, 0.1);
    margin: 0 50px 0 0;
}

.weather-main-display {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(124, 179, 66, 0.1);
}

.weather-left {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 16px 0;
}

.weather-temp-big {
    font-size: 3.2rem;
    font-weight: 200;
    color: #2e7d32;
    line-height: 0.9;
}

.weather-unit {
    font-size: 1.6rem;
    color: #ff9800;
    font-weight: 300;
    margin-top: -8px;
}

.weather-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.weather-icon-big {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.1));
}

.weather-right {
    text-align: center;
}

.weather-desc-big {
    font-size: 16px;
    color: #558b2f;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 8px;
}

.weather-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #7cb342;
    font-size: 13px;
    font-weight: 500;
}

.weather-stats-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 50px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 179, 66, 0.12);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(124, 179, 66, 0.12);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.stat-icon.kelembapan {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
}

.stat-icon.kecepatan {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    color: white;
}

.stat-icon.arah {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    color: white;
}

.stat-info {
    text-align: center;
}

.stat-label {
    font-size: 8px;
    color: #558b2f;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
    font-weight: 600;
    line-height: 1.1;
}

.stat-value {
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
    line-height: 1;
}

.forecast-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 50px 0 0;
}

.forecast-header {
    margin-bottom: 16px;
    padding: 0 4px;
}

.forecast-title {
    font-size: 13px;
    color: #2e7d32;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forecast-title::before {
    content: "";
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #7cb342, #ff9800);
    border-radius: 2px;
}

.forecast-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forecast-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 70px 1fr 80px;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 179, 66, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.forecast-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.1);
}

.forecast-time {
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
}

.forecast-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.forecast-icon {
    font-size: 18px;
    color: #7cb342;
    width: 24px;
    text-align: center;
}

.forecast-desc {
    font-size: 12px;
    color: #558b2f;
    text-transform: capitalize;
    font-weight: 500;
    flex: 1;
}

.forecast-temp {
    font-size: 13px;
    font-weight: 600;
    color: #ff9800;
    margin-left: 10px;
}

.forecast-humidity {
    color: #7cb342;
    font-weight: 400;
    font-size: 11px;
    display: block;
    margin-top: 2px;
}

.back-to-top {
    padding: 20px;
    text-align: center;
    background: rgba(248, 255, 248, 0.6);
    margin: 0 50px 0 0;
}

.back-to-top button {
    background: linear-gradient(
        135deg,
        rgba(124, 179, 66, 0.15),
        rgba(255, 171, 0, 0.08)
    );
    border: 1px solid rgba(124, 179, 66, 0.25);
    color: #7cb342;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0 auto;
}

.back-to-top button:hover {
    background: linear-gradient(
        135deg,
        rgba(124, 179, 66, 0.25),
        rgba(255, 171, 0, 0.15)
    );
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.2);
}

.back-to-top button:active {
    transform: translateY(-1px) scale(1.02);
}

@media (max-width: 768px) {
    .weather-panel {
        width: 340px;
        height: 82vh;
    }

    .weather-toggle:checked + .weather-trigger {
        transform: translateX(-270px);
    }

    .weather-temp-big {
        font-size: 2.8rem;
    }

    .weather-icon-big {
        width: 60px;
        height: 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stat-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding: 12px 16px;
    }

    .stat-info {
        text-align: left;
        flex: 1;
    }

    .forecast-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }

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

    .current-weather,
    .weather-stats-section,
    .forecast-section,
    .back-to-top {
        margin: 0 35px 0 0;
    }
}

@media (max-width: 480px) {
    .weather-trigger {
        width: 60px;
        height: 55px;
    }

    .weather-panel {
        width: calc(100vw - 70px);
        height: 90vh;
    }

    .weather-toggle:checked + .weather-trigger {
        transform: translateX(calc(-100vw + 130px));
    }

    .weather-toggle:checked ~ .weather-panel {
        transform: translateY(-50%) translateX(60px);
    }

    .weather-temp-big {
        font-size: 2.4rem;
    }

    .current-weather,
    .weather-stats-section,
    .forecast-section,
    .back-to-top {
        margin: 0 20px 0 0;
    }
}

/* dokumen */
.total-documents-badge {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.total-count {
    font-size: 18px;
    font-weight: 700;
}

.total-label {
    font-size: 14px;
}

.category-count {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.document-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.document-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.document-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.document-icon i {
    font-size: 24px;
    color: #fff;
}

.document-content {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-size: 16px;
    font-weight: 600;
    color: #2a3b5c;
    line-height: 1.4;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}



.btn-view {
    background: linear-gradient(90deg, #3498db 0, #2980b9 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-view:hover {
    background: linear-gradient(90deg, #2980b9 0, #3498db 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-download {
    background: linear-gradient(90deg, #27ae60 0, #2ecc71 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn-download:hover {
    background: linear-gradient(90deg, #2ecc71 0, #27ae60 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.btn-unavailable {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.btn-unavailable:hover {
    background: #e9ecef;
    color: #495057;
}

.document-date {
    flex-shrink: 0;
    text-align: right;
    margin-left: 20px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}


.date-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.date-value {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.search-form-group {
    margin-bottom: 20px;
}

.search-form-group:last-of-type {
    margin-bottom: 30px;
}

.search-form-control {
    position: relative;
    display: block;
    width: 100%;
    line-height: 1.5em;
    color: var(--text-color);
    background-color: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    padding: 12px 20px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    font-size: 14px;
}

.search-form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.2);
}

.custom-select-wrapper {
    position: relative;
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 50px !important;
    background-image: none;
    cursor: pointer;
}

.custom-select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.custom-select:focus + .custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--accent-color);
}

.custom-select-wrapper:hover .custom-select-arrow {
    color: var(--accent-color);
}

.custom-select::-moz-focus-inner {
    border: 0;
}

.custom-select::-ms-expand {
    display: none;
}

.custom-select {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
}

.custom-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.2);
}

.search-form-actions {
    display: flex;
    gap: 12px;
}

.search-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    line-height: 1.5em;
    text-transform: capitalize;
    text-decoration: none;
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    padding: 12px 20px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 1;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.search-btn-primary {
    color: var(--white-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.search-btn-primary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.search-btn-primary:hover {
    color: var(--white-color);
    text-decoration: none;
}

.search-btn-primary:hover::after {
    top: 0;
    height: 100%;
}

.search-btn-secondary {
    color: var(--text-color);
    background-color: var(--white-color);
}

.search-btn-secondary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--divider-color);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.search-btn-secondary:hover {
    color: var(--text-color);
    text-decoration: none;
}

.search-btn-secondary:hover::after {
    top: 0;
    height: 100%;
}

.page-catagery-list ul li a.active {
    color: var(--white-color);
    background-color: var(--accent-color);
}

.page-catagery-list ul li a.active::after {
    top: 0;
    height: 100%;
}

.page-catagery-list ul li a.active::before {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .search-form-actions {
        flex-direction: column;
    }

    .search-btn {
        flex: none;
    }

    .custom-select-arrow {
        right: 15px;
    }

    .custom-select {
        padding-right: 45px !important;
    }

    .section-title .d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    .total-documents-badge {
        align-self: stretch;
        justify-content: center;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .document-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .document-content {
        width: 100%;
        margin-bottom: 15px;
    }

    .document-actions {
        width: 100%;
        justify-content: center;
    }

    .document-date {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .date-label {
        display: inline;
        margin-right: 8px;
    }

    .btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .document-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .total-documents-badge {
        padding: 8px 16px;
        font-size: 14px;
    }

    .total-count {
        font-size: 16px;
    }

    .document-item {
        padding: 12px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .custom-select {
        background-image: none;
    }
}

.custom-select::-webkit-appearance {
    -webkit-appearance: none;
}

/* slider youtube */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.youtube-background {
    position: relative;
    width: 100%;
    height: 100%;
}

.youtube-player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

@media (max-aspect-ratio: 16/9) {
    .youtube-player {
        height: 100vh;
        width: 177.77vh;
    }
}

@media (min-aspect-ratio: 16/9) {
    .youtube-player {
        width: 100vw;
        height: 56.25vw;
    }
}

.youtube-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: -1;
}

/* login */
.captcha-container {
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    min-width: 150px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.captcha-container img {
    width: auto;
    height: 50px;
    display: block;
    cursor: pointer;
}

.progress-bar.strength-very-weak {
    background-color: #dc3545;
}

.progress-bar.strength-weak {
    background-color: #fd7e14;
}

.progress-bar.strength-medium {
    background-color: #ffc107;
}

.progress-bar.strength-strong {
    background-color: #20c997;
}

.progress-bar.strength-very-strong {
    background-color: #28a745;
}

.text-very-weak {
    color: #dc3545;
}

.text-weak {
    color: #fd7e14;
}

.text-medium {
    color: #ffc107;
}

.text-strong {
    color: #20c997;
}

.text-very-strong {
    color: #28a745;
}

/* otp verify */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

input[name="otp_code"] {
    transition: all 0.3s ease;
}

input[name="otp_code"]:focus {
    transform: scale(1.02);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

#resend-countdown {
    transition: opacity 0.3s ease;
}

/* header */
.img-header-frontend {
    width: 75px;
}

.img-header-frontend-right {
    width: 40px;
}
