/* .blog-item {
    align-items: stretch;
} */

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

#close-accessibility {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    transition: 0.2s;
}

#close-accessibility:hover {
    color: #000;
    transform: scale(1.2);
}


/* Floating Button */
#accessibility-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #0057ff;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: inherit;
}

#accessibility-btn:hover {
    transform: scale(1.1);
}

/* Sidebar Panel */
#accessibility-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transition: 0.3s ease;
    overflow-y: auto;
    z-index: 9999;
}

#accessibility-panel.open {
    right: 0;
}

#accessibility-panel h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

/* Item */
.acc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 15px;
}

.acc-item:hover {
    background: #f0f4ff;
}

/* Scrollbar */
#accessibility-panel::-webkit-scrollbar {
    width: 6px;
}

#accessibility-panel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Warna abu-abu */
#wrapper.grayscale {
    filter: grayscale(100%);
}

/* Kontras tinggi */
#wrapper.high-contrast {
    filter: contrast(180%) brightness(120%);
}

/* Kontras negatif */
#wrapper.negative-contrast {
    filter: invert(100%) contrast(150%);
}

/* Latar belakang terang */
#wrapper.light-bg {
    background: white !important;
    color: black !important;
}

/* Garis bawah tautan */
#wrapper.underline-links a {
    text-decoration: underline !important;
}

/* Font mudah dibaca */
#wrapper.readable-font {
    font-family: Arial, Helvetica, sans-serif !important;
}


/* Popup container */
.privacy-popup {
    position: fixed;
    bottom: -200px;
    /* hidden initially */
    left: 0;
    right: 0;
    background: #1e1e1e;
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transition: bottom 0.4s ease;
    font-size: 15px;
}

/* When visible */
.privacy-popup.show {
    bottom: 0;
}

/* Inner layout */
.privacy-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

/* Text */
.privacy-text p {
    margin: 6px 0 0 0;
    line-height: 1.5;
}

/* Buttons */
.privacy-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.privacy-link {
    color: #90caf9;
    text-decoration: underline;
    font-size: 14px;
}

.privacy-btn {
    background: #4caf50;
    border: none;
    padding: 10px 18px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.privacy-btn:hover {
    background: #43a047;
}

/* Responsive */
@media (max-width: 600px) {
    .privacy-inner {
        flex-direction: column;
        text-align: center;
    }
}
