.blogd-hero {
    position: relative;
    width: 100%;
    padding: 160px 0 100px;
    background: #0a0a1a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    z-index: 1;
}

.blogd-hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-color: #0a0a1a;
    transform: scale(1.05);
    filter: blur(2px) brightness(0.65);
}

.blogd-hero-img img {
    display: none;
}

.blogd-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(to bottom, rgb(0 0 0 / 70%) 0%, rgb(0 0 0 / 70%) 50%, rgb(0 0 0 / 48%) 100%);    
z-index: -1;
}

.blogd-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.blogd-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.blogd-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s;
}

.blogd-breadcrumb a:hover {
    color: #fff;
}

.blog-category {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(var(--accent-rgb), 0.15);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blogd-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    max-width: 900px;
    line-height: 1.3;
    margin: 0 0 30px 0;
    font-family: 'Inter', sans-serif;
}

.blogd-hero-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.blogd-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.blogd-meta-item i {
    color: var(--accent);
}

.blogd-meta-divider {
    width: 4px;
    height: 4px;
    background: #64748b;
    border-radius: 50%;
}

.blogd-section {
    padding: 60px 0 100px;
    background: #f8fafc; /* light theme background */
}

[data-theme="dark"] .blogd-section {
    background: #0a0a1a;
}

.blogd-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 0 20px;
}

@media (max-width: 991px) {
    .blogd-container {
        grid-template-columns: 1fr;
    }
}

.blogd-article {
    display: flex;
    gap: 30px;
}

@media (max-width: 991px) {
    .blogd-article {
        flex-direction: column;
    }
}

.blogd-share-bar {
    width: 50px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: sticky;
    top: 100px;
    height: max-content;
}

@media (max-width: 991px) {
    .blogd-share-bar {
        flex-direction: row;
        width: 100%;
        position: static;
        justify-content: flex-start;
        margin-top: 20px;
        margin-bottom: 30px;
        order: 2;
    }
}

.blogd-share-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 10px;
    font-weight: 700;
}

[data-theme="dark"] .blogd-share-label {
    color: #9ca3af;
}

@media (max-width: 991px) {
    .blogd-share-label {
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 0;
        margin-right: 10px;
    }
}

.blogd-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

[data-theme="dark"] .blogd-share-btn {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
    color: #cbd5e1;
}

.blogd-share-btn:hover {
    background: var(--accent);
    color: #fff !important;
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 15px rgba(var(--accent-rgb), 0.3);
}

.blogd-body {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

[data-theme="dark"] .blogd-body {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .blogd-body {
        padding: 25px;
    }
}

.blogd-figure {
    margin: 0 0 40px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blogd-figure img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.blogd-content-html {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

[data-theme="dark"] .blogd-content-html {
    color: #cbd5e1;
}

.blogd-content-html h2,
.blogd-content-html h3,
.blogd-content-html h4 {
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

[data-theme="dark"] .blogd-content-html h2,
[data-theme="dark"] .blogd-content-html h3,
[data-theme="dark"] .blogd-content-html h4 {
    color: #fff;
}

.blogd-content-html p {
    margin-bottom: 1.5rem;
}

.blogd-content-html img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 2rem 0;
}

.blogd-content-html ul,
.blogd-content-html ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blogd-content-html li {
    margin-bottom: 0.5rem;
}

.blogd-content-html blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    background: rgba(var(--accent-rgb), 0.05);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #0f172a;
}

[data-theme="dark"] .blogd-content-html blockquote {
    color: #fff;
}

/* Sidebar Styles */
.blogd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blogd-sidebar-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

[data-theme="dark"] .blogd-sidebar-card {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blogd-sidebar-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

[data-theme="dark"] .blogd-sidebar-card h4 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.05);
}

.blogd-sidebar-card h4 i {
    color: var(--accent);
}

.blogd-author-card {
    text-align: center;
}

.blogd-author-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.blogd-author-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.1);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
}

.blogd-author-header h4 {
    border: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.blogd-author-header p {
    font-size: 0.9rem;
    color: var(--accent);
    margin-top: 5px;
    font-weight: 600;
}

.blogd-author-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 20px;
}

[data-theme="dark"] .blogd-author-bio {
    color: #cbd5e1;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--accent);
    filter: brightness(0.88);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(var(--accent-rgb), 0.3);
    color: #fff;
}
/* ===== Comments Section ===== */
.blogd-comments {
    margin-top: 60px;
}

.blogd-comments-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .blogd-comments-title {
    color: #fff;
}

.blogd-comments-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
}

.blogd-comments-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

[data-theme="dark"] .blogd-comments-card {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.05);
}

.blogd-comment-form h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
}

[data-theme="dark"] .blogd-comment-form h5 {
    color: #cbd5e1;
}

.blogd-input-group {
    margin-bottom: 20px;
}

.blogd-input-group input,
.blogd-input-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: #334155;
    transition: border-color 0.3s;
}

[data-theme="dark"] .blogd-input-group input,
[data-theme="dark"] .blogd-input-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.blogd-input-group input:focus,
.blogd-input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.blogd-comment-list {
    margin-top: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
}

[data-theme="dark"] .blogd-comment-list {
    background: #0f172a;
    border-color: #334155;
}

.blogd-comment-item {
    display: flex;
    gap: 15px;
}

.blogd-comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.blogd-comment-avatar.reply {
    width: 35px;
    height: 35px;
    background: #fff;
    color: #64748b;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .blogd-comment-avatar.reply {
    background: #1e293b;
    color: #94a3b8;
    border-color: #334155;
}

.blogd-comment-content {
    flex: 1;
}

.blogd-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.blogd-comment-author h6 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

[data-theme="dark"] .blogd-comment-author h6 {
    color: #fff;
}

.blogd-comment-author span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.blogd-btn-reply {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.blogd-btn-reply:hover {
    filter: brightness(0.85);
    color: var(--accent);
}

.blogd-comment-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

[data-theme="dark"] .blogd-comment-text {
    color: #cbd5e1;
}

.blogd-comment-replies {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

[data-theme="dark"] .blogd-comment-replies {
    border-top-color: #475569;
}


/* Extracted from buku_list.php */
/* ===== Books Page Search ===== */
.buku-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}
.buku-search-form {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    min-width: 320px;
}
.buku-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}
.buku-search-form .s-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}
.buku-search-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    padding: 10px 14px;
    font-weight: 500;
}
.buku-search-form input::placeholder {
    color: var(--text-muted);
}
.buku-search-form button {
    background: var(--gold-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    white-space: nowrap;
}
.buku-search-form button:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

/* ===== Books Page Info Bar ===== */
.buku-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 4px;
}
.buku-info-bar .info-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.buku-info-bar .info-text strong {
    color: var(--accent);
}

/* ===== Books Page Pagination ===== */
.buku-pagination {
    margin-top: 50px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.buku-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.buku-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 4px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}
.buku-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    transform: translateY(-2px);
}
.buku-pagination a.active {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

/* ===== Search Active State ===== */
.buku-search-active {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.buku-search-active .search-keyword {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
}
.buku-search-active .search-keyword i {
    font-size: 0.75rem;
}
.buku-search-active .clear-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.buku-search-active .clear-search:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .buku-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .buku-search-form {
        min-width: 100%;
        width: 100%;
    }
    .buku-pagination a {
        min-width: 38px;
        height: 38px;
        font-size: 0.82rem;
    }
}


/* Extracted from home.php */
.hero-slider-k {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        .hero-slide-k {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s linear;
            transform: scale(1.05);
            filter: blur(2px) brightness(0.65);
        }
        .hero-slide-k.active {
            opacity: 1;
            transform: scale(1.0);
        }
        
        .hero-slider-btn-k {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            backdrop-filter: blur(5px);
            transition: 0.3s ease;
        }
        .hero-slider-btn-k:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }
        .hero-slider-btn-k.prev { left: 30px; }
        .hero-slider-btn-k.next { right: 30px; }
        
        @media (max-width: 768px) {
            .hero-slider-btn-k {
                display: none; /* Hidden on mobile */
            }
        }


/* Extracted from home.php */
.btn-action-k {
                display: inline-flex; 
                align-items: center; 
                justify-content: center;
                gap: 10px; 
                background: var(--gold-gradient); 
                color: #ffffff !important; 
                padding: 14px 38px; 
                border-radius: 10px; 
                font-size: 0.85rem;
                font-weight: 700; 
                letter-spacing: 0.5px;
                text-decoration: none; 
                transition: all 0.3s ease; 
                border: none;
                cursor: pointer;
            }
            .btn-action-k:hover {
                opacity: 0.9;
                transform: translateY(-2px);
            }


/* Extracted from home.php */
.events-slider-container-k {
                position: relative;
                width: 100%;
            }

            .events-grid-wrapper-k {
                overflow: hidden;
                position: relative;
                width: 100%;
                /* Prevent sub-pixel peeking */
                contain: paint;
            }

            .events-grid-k {
                display: flex;
                overflow-x: auto;
                flex-wrap: nowrap;
                gap: 30px;
                padding: 10px 0 30px;
                scroll-snap-type: none; 
                scroll-behavior: auto; /* Changed from smooth to avoid JS conflict */
                -ms-overflow-style: none;
                scrollbar-width: none;
                width: 100%;
            }

            .events-grid-k .event-card-k {
                flex: 0 0 calc((100% - 60px) / 3) !important;
                width: calc((100% - 60px) / 3) !important;
                max-width: none !important;
                /* Snap align removed to smooth JS scroll */
                margin: 0 !important;
                box-sizing: border-box;
            }

            @media (max-width: 1024px) {
                .events-grid-k .event-card-k {
                    flex: 0 0 calc((100% - 30px) / 2) !important;
                    width: calc((100% - 30px) / 2) !important;
                    max-width: none !important;
                }
            }

            @media (max-width: 640px) {
                .events-grid-k .event-card-k {
                    flex: 0 0 100% !important;
                    width: 100% !important;
                    max-width: none !important;
                }
            }

            #eventsSlider::-webkit-scrollbar { display: none; }
            
            @media (max-width: 768px) {
                .events-grid-k .event-card-k {
                    flex: 0 0 100% !important;
                    width: 100% !important;
                }
            }


/* Extracted from home.php */
/* ===== Shortcut Cards – Clean Design ===== */
.sc-grid-k {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.sc-card-k {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    border-radius: 16px;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--glass-border, #e5e7eb);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    gap: 1.5rem;
    text-align: center;
}

.sc-card-k:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.sc-icon-wrap-k {
    font-size: 3.2rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-card-k:hover .sc-icon-wrap-k {
    transform: scale(1.1);
}

.sc-text-k {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary, #333);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.sc-card-k:hover .sc-text-k {
    color: var(--accent, #00aeef);
}

/* Responsive */
@media (max-width: 1024px) {
    .sc-grid-k { grid-template-columns: repeat(3, 1fr); }
    .sc-card-k { padding: 2rem 1rem; }
}
@media (max-width: 640px) {
    .sc-grid-k {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .sc-icon-wrap-k { font-size: 3rem; }
    .sc-text-k { font-size: 0.82rem; min-height: 2.6em; }
    .sc-card-k { padding: 1.5rem 0.5rem; gap: 1.2rem; }
}
@media (max-width: 360px) {
    .sc-grid-k { grid-template-columns: 1fr 1fr; }
}


/* Extracted from search_result.php */
/* ===== Search Results Page Styles ===== */
.sr-search-form {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.sr-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}
.sr-search-form .s-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}
.sr-search-form input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    padding: 10px 14px;
    font-weight: 500;
}
.sr-search-form input[type="text"]::placeholder {
    color: var(--text-muted);
}
.sr-search-form button {
    background: var(--gold-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    white-space: nowrap;
}
.sr-search-form button:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}
.sr-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.sr-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.sr-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 4px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}
.sr-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    transform: translateY(-2px);
}
.sr-pagination a.active {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}
@media (max-width: 576px) {
    .sr-search-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
        gap: 12px;
    }
    .sr-search-form input[type="text"] { width: 100%; text-align: center; }
    .sr-search-form button { width: 100%; justify-content: center; }
    .sr-pagination a { min-width: 38px; height: 38px; font-size: 0.82rem; }
}


/* ===== Generic Page Specific Tweaks ===== */
.generic-hero { padding: 130px 0 60px !important; }
.generic-hero .blogd-hero-title { font-size: 2.2rem; margin-bottom: 0; }


/* Override image sizes */
.blogd-content-html img { max-width: 100% !important; height: auto !important; object-fit: contain; display: block; }
.blogd-content-html table { max-width: 100% !important; overflow-x: auto; display: block; }

/* ===== Landing Page List Pages ===== */
.lp-page-hero {
    position: relative;
    width: 100%;
    padding: 130px 0 60px;
    background: #0a0a1a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    z-index: 1;
}
.lp-page-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: url('https://images.unsplash.com/photo-1541963463532-d68292c34b19?q=80&w=2000') center/cover no-repeat;
    filter: blur(2px) brightness(0.4);
}
.lp-page-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,10,26,0.85) 0%, rgba(0,50,100,0.6) 100%);
    z-index: -1;
}
.lp-page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.lp-page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.lp-page-hero-breadcrumb a { color: #0ea5e9; text-decoration: none; }
.lp-page-hero-breadcrumb a:hover { color: #fff; }
.lp-page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 15px;
}
.lp-page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 600px;
}

/* ===== Grid List Layout ===== */
.lp-list-section {
    padding: 60px 0 80px;
    background: var(--bg-primary, #f8fafc);
    min-height: 50vh;
}
[data-theme="dark"] .lp-list-section {
    background: #0a0a1a;
}
.lp-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.lp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .lp-cards-grid { grid-template-columns: 1fr; }
    .lp-page-hero h1 { font-size: 1.8rem; }
}

/* ===== Shared Card Style ===== */
.lp-pgcard {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
[data-theme="dark"] .lp-pgcard {
    background: #1a1a24;
    border-color: rgba(255,255,255,0.06);
}
.lp-pgcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.lp-pgcard-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e5e7eb;
    flex-shrink: 0;
}
[data-theme="dark"] .lp-pgcard-img-wrap { background: #2a2a34; }
.lp-pgcard-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lp-pgcard:hover .lp-pgcard-img-wrap img { transform: scale(1.05); }
.lp-pgcard-img-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 2.5rem;
    color: #9ca3af;
}
.lp-pgcard-badge {
    position: absolute;
    bottom: 12px; left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lp-pgcard-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lp-pgcard-meta {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
[data-theme="dark"] .lp-pgcard-meta { color: #9ca3af; }
.lp-pgcard-meta i { color: #0ea5e9; margin-right: 4px; }
.lp-pgcard-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
[data-theme="dark"] .lp-pgcard-title { color: #f1f5f9; }
.lp-pgcard-title a { color: inherit; text-decoration: none; }
.lp-pgcard-title a:hover { color: #0ea5e9; }
.lp-pgcard-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 18px;
    flex: 1;
}
[data-theme="dark"] .lp-pgcard-desc { color: #9ca3af; }
.lp-pgcard-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0ea5e9;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
    transition: gap 0.2s ease;
}
[data-theme="dark"] .lp-pgcard-link { border-color: rgba(255,255,255,0.06); }
.lp-pgcard-link:hover { gap: 10px; }

