.popup-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
}

.popup-overlay[hidden] { display: none; }

.popup-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 100%;
    background: #151515;
    border: 2px solid #e8aa69;
    border-radius: 15px;
    overflow: auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    font-family: Arial, sans-serif;
}

.popup-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    width: 36px;
    height: 36px;
    border: 1px solid #a65d62;
    border-radius: 50%;
    background: #151515;
    color: #ffcf99;
    cursor: pointer;
    font-size: 20px;
}

.popup-logo {
    width: 150px;
    max-width: 80%;
    height: auto;
    margin: 20px auto 10px;
}

.popup-banner {
    display: block;
    width: 100%;
    height: auto;
}

.popup-title {
    color: #ffcf99;
    font-size: 22px;
    font-weight: bold;
    margin: 18px 10px;
}

.popup-buttons {
    display: flex;
    gap: 12px;
    padding: 15px 20px 22px;
}

.popup-btn {
    flex: 1;
    display: block;
    padding: 14px 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd39c, #d78b50);
    color: #171717;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.popup-btn:hover {
    background: #ffe5c1;
}

@media (max-width: 360px) {
    .popup-buttons {
        flex-direction: column;
    }
}

.naga-hidden { display: none !important; }
#sidebar-main-menu .sidebar-logo-image {
    background: url('../../logo.png') left center / contain no-repeat;
    display: block;
    width: 124px;
    height: 30px;
}
.mobile-toolbar-logo { width: auto; height: 32px; }

.layout-component, .layout-component h1, .layout-component h2 {
    color: #f6f1e6;
}
.layout-component a { color: #ffcf99; }
.layout-component .cc-page-header-title, .layout-component .cc-header-name {
    color: #f6f1e6;
}
.layout-component .post-view-caption, .layout-component .post-view-meta-stats {
    color: #c9c1b2;
}
.post-view-header h1 {
    margin: .65em 0 .4em;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.15;
}

.post-view-thumbnail, .post-view-more-thumbnail {
    display: block;
    max-width: 100%;
    height: auto;
}

.post-view-header, .post-view-about, .post-view-content, .post-view-more-component {
    padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.post-view-caption {
    display: block;
    padding: .5rem 1rem;
}

.post-view-content {
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.post-view-meta-component, .post-view-more-posts {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.post-view-meta-avatar { flex: none; }
.post-view-more-post { flex: 1 1 12rem; }

.cc-icon-glyph {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: inherit;
    flex: none;
    vertical-align: middle;
}
.cc-icon-glyph svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.cc-icon-glyph.cc-icon-size-12 { width: 12px; height: 12px; }
.cc-icon-glyph.cc-icon-size-16 { width: 16px; height: 16px; }
.cc-icon-glyph.cc-icon-size-20 { width: 20px; height: 20px; }
.cc-icon-glyph.cc-icon-size-32 { width: 32px; height: 32px; }
