/* =========================================================================
   LIBRARY PAGE STYLES - SDN PADURENAN 1
   ========================================================================= */

/* Library Hero Header overrides */
.library-header {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../../picture/carousel_bg_perpustakaan.png') center/cover;
    text-align: center;
    color: var(--white);
    padding: 6rem 0 5rem;
    margin-bottom: 2.5rem;
}

.library-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.library-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.library-header-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Controls (Filter Tabs & Search Bar) */
.library-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.library-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lib-tab-btn {
    padding: 0.5rem 0.25rem;
    background-color: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.lib-tab-btn:hover, .lib-tab-btn.active {
    background-color: transparent;
    color: var(--primary-color);
    border-color: transparent;
}

.library-search-box {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.library-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.library-search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.library-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.7;
    pointer-events: none;
}

/* Class Filter Container & Pills */
.library-class-filter-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.library-class-filter-container.show {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 2.5rem;
    padding: 0.85rem 1.25rem;
    border-color: #e2e8f0;
}

.class-filter-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.class-filter-title i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.class-filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.class-pill {
    padding: 0.45rem 1.15rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.class-pill:hover {
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--primary-color);
    background-color: #eff6ff;
}

.class-pill.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(26, 86, 219, 0.2);
}

@media (max-width: 768px) {
    .library-class-filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .library-class-filter-container.show {
        padding: 1rem;
    }
}

/* Books Grid */
.library-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.25rem;
}

/* Book Card Customizations */
.lib-book-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.lib-book-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

/* Card Layout Structure (Horizontal Split) */
.lib-card-top {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    align-items: flex-start;
    flex-grow: 1;
}

.lib-cover-container {
    width: 90px;
    height: 125px;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
}

/* Book spine shadow on cover */
.lib-cover-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.03) 50%, transparent 100%);
    z-index: 2;
}

.lib-cover-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}



.lib-status-pill-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(239, 68, 68, 0.9);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    padding: 0.15rem 0;
    z-index: 3;
    backdrop-filter: blur(2px);
}

.lib-details-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 125px; /* ensure minimum height matches cover */
    justify-content: space-between;
}

.lib-meta-header {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.lib-category-tag {
    padding: 0.15rem 0.45rem;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flat Badges - Uniform Navy Blue Scheme */
.lib-category-tag.cat-buku-materi,
.lib-category-tag.cat-kamus,
.lib-category-tag.cat-novel,
.lib-category-tag.cat-buku-cerita {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-color) !important;
}

.lib-grade-tag {
    background-color: #f1f5f9;
    color: #475569;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.6rem;
}

.lib-book-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
    line-height: 1.35;
    font-family: var(--font-heading);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.7em;
}

.lib-book-author {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.4em;
}

.lib-stock-info {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.lib-dot-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.lib-dot-indicator.available {
    background-color: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
}

.lib-dot-indicator.unavailable {
    background-color: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.3);
}

.lib-stock-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.lib-card-bottom {
    padding: 0 1.25rem 1.25rem;
}

.lib-book-actions {
    display: flex;
    gap: 0.5rem;
}

.lib-book-actions .btn {
    flex: 1;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    outline: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.lib-book-actions .btn-pinjam {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
}

.lib-book-actions .btn-pinjam:hover {
    background-color: #172554 !important;
}

.lib-book-actions .btn-kosong {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0;
    cursor: not-allowed;
}

.lib-book-actions .btn-edit {
    background-color: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #dbeafe;
}

.lib-book-actions .btn-edit:hover {
    background-color: #dbeafe !important;
}

.lib-book-actions .btn-hapus {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fee2e2;
}

.lib-book-actions .btn-hapus:hover {
    background-color: #fee2e2 !important;
}

/* Responsive adjustment for small screens */
@media (max-width: 480px) {
    .lib-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .lib-details-container {
        height: auto;
        align-items: center;
        margin-top: 0.5rem;
    }
    
    .lib-meta-header {
        justify-content: center;
    }
    
    .lib-stock-info {
        margin-top: 0.75rem;
    }
}

/* Pagination */
.library-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.page-num.active, .page-num:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .library-books-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .library-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .library-search-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .library-books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .page-num {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.82rem !important;
        border-radius: 4px !important;
    }
}

@media (max-width: 480px) {
    .library-books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .page-num {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.75rem !important;
    }
    
    .admin-table-pagination, .library-pagination {
        gap: 0.25rem !important;
    }
}

.lib-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.lib-modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 3rem;
    border-radius: 32px; /* Very rounded corners matching the image */
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.05);
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.lib-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
}

.lib-modal-close:hover {
    opacity: 1;
    color: #ef4444;
}

/* Modal & Admin Form Styling */
.lib-modal-content .auth-form-group,
.admin-management-section .auth-form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.lib-modal-content .auth-form-input,
.admin-management-section .auth-form-input {
    width: 100%;
    padding: 0.9rem 1.15rem;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.lib-modal-content .auth-form-input::placeholder,
.admin-management-section .auth-form-input::placeholder {
    color: #94a3b8;
}

.lib-modal-content .auth-form-input:focus,
.admin-management-section .auth-form-input:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Admin filter buttons and pagination */
.admin-filter-btn {
    padding: 0.5rem 1.25rem;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.admin-filter-btn:hover, .admin-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.15);
}

.admin-table-pagination .page-num {
    background-color: var(--white);
}

.admin-table-pagination .page-num.active, .admin-table-pagination .page-num:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive Admin Section and Grid */
@media (max-width: 768px) {
    .admin-management-section {
        padding: 1.25rem !important;
    }
    .admin-forms-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Custom Dropdown / Select Styles for Admin Section */
.custom-select-container {
    position: relative;
    width: 100%;
    display: block;
}

.custom-select-trigger {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    user-select: none;
    box-sizing: border-box;
}

.custom-select-trigger::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

.custom-select-container.active .custom-select-trigger::after {
    transform: rotate(180deg);
}

.custom-select-container.active .custom-select-trigger {
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    box-sizing: border-box;
}

.custom-select-container.active .custom-select-options {
    display: block;
    animation: dropdownSlideIn 0.2s ease forwards;
}

@keyframes dropdownSlideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #334155;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.custom-select-option:hover {
    background-color: #f1f5f9;
    color: #1a56db;
}

.custom-select-option.selected {
    background-color: #eff6ff;
    color: #1a56db;
    font-weight: 600;
}

/* Card Cover Text Overlays matching mockup */
.lib-book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0.75rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(15, 23, 42, 0) 100%);
    color: var(--white);
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    pointer-events: none;
}

.lib-book-overlay-title {
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lib-book-overlay-grade {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.lib-borrowed-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
}

/* Custom Approve & Reject Action Button Hovers */
.btn-approve-custom {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--white) !important;
    transition: var(--transition) !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-approve-custom:hover {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25) !important;
    color: var(--white) !important;
}

.btn-reject-custom {
    background-color: transparent !important;
    border: 1px solid #ef4444 !important;
    color: #ef4444 !important;
    transition: var(--transition) !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-reject-custom:hover {
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25) !important;
}

/* Due list item layout */
.due-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem !important;
    background-color: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    transition: var(--transition) !important;
}

.due-item:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.03) !important;
}

@media (max-width: 576px) {
    .due-item {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    .due-item a.btn {
        width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
    }
}

/* Position book cover edit image button at top-left to prevent text overlay collision */
.lib-cover-wrapper .edit-image-btn {
    top: 10px !important;
    bottom: auto !important;
    left: 10px !important;
    right: auto !important;
}

/* Modern overlay category cards showcase */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

.category-showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.category-showcase-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-showcase-card:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.1) !important;
}

/* Expand details description slide-up */
.category-showcase-card .category-card-desc {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.4s ease !important;
}

.category-showcase-card:hover .category-card-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .category-showcase-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Recommended Books Grid & Card Styles */
.rec-books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

.rec-book-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.rec-book-card:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05) !important;
}

@keyframes pulse-slow {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.05); opacity: 0.25; }
}

@media (max-width: 1024px) {
    .rec-books-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stats-row-container {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .rec-books-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Editorial layout responsive adjustments */
@media (max-width: 768px) {
    .stats-minimal-row {
        gap: 1.5rem !important;
        justify-content: space-between;
    }
    .stat-divider {
        display: none !important;
    }
    .editorial-hero h1 {
        font-size: 2rem !important;
    }
}

/* Fix excessive top padding gap above catalog hero section */
#katalog.section-padding {
    padding-top: 1.5rem !important;
}

@media (max-width: 768px) {
    .service-split-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}


