/* ============================================
   MUSICVIBEDAILY HEADER CSS - FIXED OVERFLOW
   ============================================ */

/* Mobile Header - Sticky */
@media only screen and (max-width: 767px) {
    .header.site-chrome {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #0f0f91;
    }

    .header .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px;
        background: #0f0f91;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-header-left {
        flex: 1;
        text-align: left;
        min-width: 0; /* Prevents overflow */
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-shrink: 0; /* Prevents shrinking */
    }

    .three-dot-menu {
        width: 28px;
        height: 22px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 10001;
        flex-shrink: 0;
    }

    .three-dot-menu span {
        width: 100%;
        height: 3px;
        background: #ffffff;
        border-radius: 2px;
    }

    .search-icon {
        color: #ffffff !important;
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10001;
        flex-shrink: 0;
    }

    .search-icon i {
        color: #ffffff !important;
    }

    .header .logo {
        max-width: calc(100% - 100px); /* Prevents logo overflow */
        overflow: hidden;
    }

    .header .logo img.mobile {
        max-height: 48px;
        width: auto;
        display: block;
        max-width: 100%; /* Ensures logo doesn't overflow */
    }

    .header .logo img.desktop {
        display: none !important;
    }

    /* Search Popout - Below mobile menu - FIXED OVERFLOW */
    .mobile-search-popout {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f0f91;
        padding: 15px;
        z-index: 9998;
        border-top: 1px solid #2D76FF;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        box-sizing: border-box; /* FIX: Ensures padding is included in width */
    }

    .mobile-search-popout.active {
        display: block !important;
    }

    .mobile-search-popout .search-form {
        display: flex;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box; /* FIX: Prevents overflow */
    }

    .mobile-search-popout .search-field {
        flex: 1;
        padding: 12px;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        width: 100%;
        box-sizing: border-box; /* FIX: Prevents overflow */
        min-width: 0; /* Allows flex to shrink properly */
    }

    .mobile-search-popout .search-field::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .mobile-search-popout .search-submit {
        background: #ffffff;
        color: #000;
        border: none;
        padding: 12px 15px; /* Reduced padding to prevent overflow */
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        flex-shrink: 0; /* Prevents button from shrinking */
        white-space: nowrap; /* Prevents text wrapping */
    }

    /* Submenu - Below mobile menu - FIXED OVERFLOW */
    .mobile-submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f0f91;
        padding: 15px; /* Reduced padding to prevent overflow */
        z-index: 9997;
        border-top: 1px solid #2D76FF;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        box-sizing: border-box; /* FIX: Ensures padding is included in width */
    }

    .mobile-submenu.active {
        display: block !important;
    }

    .submenu-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; /* Reduced gap to prevent overflow */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box; /* FIX: Prevents overflow */
    }

    .submenu-item {
        color: white;
        text-align: center;
        text-decoration: none;
        padding: 10px 5px; /* Reduced padding */
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
        transition: background 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 70px;
        box-sizing: border-box; /* FIX: Prevents overflow */
        width: 100%; /* Ensures items don't overflow grid */
    }

    .submenu-item:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .submenu-item i {
        font-size: 22px; /* Reduced icon size */
        margin-bottom: 5px;
        display: block;
    }

    .submenu-item span {
        font-size: 10px; /* Reduced font size */
        text-transform: uppercase;
        display: block;
        line-height: 1.2;
        word-break: break-word; /* Prevents text overflow */
        max-width: 100%; /* Prevents text overflow */
    }

    /* Mobile Main Menu - Always visible */
    .mobile-main-menu {
        display: flex;
        justify-content: space-around;
        background: #0f0f91;
        padding: 10px 5px; /* Reduced padding */
        border-top: 1px solid #2D76FF;
        position: relative;
        z-index: 9996;
        width: 100%;
        box-sizing: border-box; /* FIX: Prevents overflow */
    }

    .mobile-main-menu a {
        color: white;
        font-size: 15px; /* Reduced font size */
        font-weight: bold;
        text-decoration: none;
        padding: 5px 2px; /* Reduced padding */
        text-transform: uppercase;
        white-space: nowrap; /* Prevents text wrapping */
        flex: 1;
        text-align: center;
        min-width: 0; /* Allows text truncation */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide desktop elements on mobile */
    .header .nav-link.mobile,
    .desktop-icon-menu {
        display: none !important;
    }
}

/* =================== DESKTOP =================== */
@media only screen and (min-width: 768px) {
    .header.site-chrome {
        position: relative;
        background: #ffffff !important; /* WHITE background for desktop */
    }

    /* Hide all mobile elements on desktop */
    .three-dot-menu, 
    .search-icon, 
    .mobile-main-menu, 
    .mobile-submenu, 
    .mobile-search-popout,
    .mobile-header-right {
        display: none !important;
    }

    /* Desktop top section with WHITE background */
    .header .top {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
        background: #ffffff !important; /* WHITE background */
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-header-left {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .header .logo {
        text-align: center;
        width: 100%;
    }

    .header .logo img.mobile {
        display: none !important;
    }

    .header .logo img.desktop {
        display: block !important;
        max-height: 65px; /* Reduced size */
        width: auto;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Desktop Icon Menu - Reduced size */
    .desktop-icon-menu {
        display: block !important;
        background: #ffffff;
        padding: 15px 0 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        width: 100%;
        box-sizing: border-box;
    }

    .custom-icon-menu {
        list-style: none;
        display: flex;
        justify-content: center;
        padding: 0 15px; /* Added padding */
        margin: 0 auto;
        max-width: 1100px;
        flex-wrap: wrap;
        box-sizing: border-box;
        width: 100%;
    }

    .custom-icon-menu li {
        margin: 0 5px 10px; /* Reduced spacing */
        text-align: center;
        flex: 0 0 auto;
    }

    .custom-icon-menu a {
        text-decoration: none;
        color: #333333;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px; /* Smaller font */
        text-transform: uppercase;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        max-width: 80px;
    }

    .custom-icon {
        width: 70px; /* Reduced size */
        height: 70px; /* Reduced size */
        background-color: #ffffff;
        border-radius: 50%;
        margin: 0 auto 5px; /* Reduced margin */
        padding: 8px; /* Reduced padding */
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #e0e0e0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }

    .custom-icon i {
        color: #0202c7;
        font-size: 22px; /* Reduced icon size */
    }

    .custom-label {
        font-size: 10px; /* Smaller label */
        margin-top: 2px;
        font-weight: bold;
        line-height: 1.2;
        max-width: 100%;
        word-break: break-word;
        text-align: center;
    }

    .custom-icon-menu a:hover .custom-icon {
        background-color: #f7f8fa;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    /* Desktop notice */
    .desktop-t-only {
        display: block !important;
        background: #ffffff;
        padding: 8px 15px; /* Added horizontal padding */
        text-align: center;
        border-bottom: 1px solid #ffffff;
        width: 100%;
        box-sizing: border-box;
    }

    .desktop-t-only a {
        color: #0f0f91;
        text-decoration: none;
        font-size: 13px;
        display: inline-block;
        max-width: 100%;
    }

    .desktop-t-only a:hover {
        text-decoration: underline;
    }
}

/* Hide desktop-t-only on mobile/tablet */
@media screen and (max-width: 1024px) {
    .desktop-t-only {
        display: none !important;
    }
}

/* Info Banner - Both mobile and desktop */
.khodex-info {
    background: #0620c9;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    margin: 10px;
    border: 2px solid #ff751a;
    border-radius: 5px;
    width: calc(100% - 20px); /* Prevents overflow */
    box-sizing: border-box;
    max-width: 100%;
}

.khodex-info p {
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    max-width: 100%;
    word-break: break-word;
}

/* Fix any conflicts with underscore theme */
#masthead,
.site-header,
.main-navigation,
.site-branding {
    display: none !important;
}

.header.site-chrome {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
}

/* Close button for mobile menus */
.close-btn {
    display: none !important; /* Hide on desktop */
}

@media only screen and (max-width: 767px) {
    .close-btn {
        display: block !important;
        position: absolute;
        top: 10px;
        right: 10px; /* Adjusted position */
        background: none;
        border: none;
        color: #fff;
        font-size: 28px; /* Reduced size */
        cursor: pointer;
        z-index: 10002;
        width: 35px; /* Reduced width */
        height: 35px; /* Reduced height */
        line-height: 35px; /* Adjusted line height */
        text-align: center;
        padding: 0;
    }
}

/* Ensure body scrolls properly with sticky header */
body {
    padding-top: 0;
    overflow-x: hidden; /* Prevents horizontal scroll */
    width: 100%;
    box-sizing: border-box;
}

/* Global fix for all elements */
* {
    box-sizing: border-box; /* Ensures padding doesn't cause overflow */
    max-width: 100%; /* Prevents elements from exceeding viewport */
}

/* ============================================
   FORCE STICKY HEADER - SIMPLE FIX
   ============================================ */

@media only screen and (max-width: 767px) {
    /* NUCLEAR FIX: Force header to stay at top */
    .header.site-chrome {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background: #0f0f91 !important;
    }
    
    /* Add space below header so content doesn't hide under it */
    body {
        padding-top: 80px !important;
    }
    
    /* WordPress admin bar support */
    .admin-bar .header.site-chrome {
        top: 46px !important;
    }
    
    /* Position submenus below fixed header */
    .mobile-search-popout,
    .mobile-submenu {
        position: fixed !important;
        top: 115px !important;
        left: 0 !important;
        z-index: 99998 !important;
    }
    
    .admin-bar .mobile-search-popout,
    .admin-bar .mobile-submenu {
        top: 126px !important;
    }
}

/* Desktop - no sticky */
@media only screen and (min-width: 768px) {
    .header.site-chrome {
        position: relative !important;
        top: auto !important;
    }
    
    body {
        padding-top: 0 !important;
    }
}

/* ============================================
   FIX KHOODEX-INFO POSITION WITH STICKY HEADER
   ============================================ */

@media only screen and (max-width: 767px) {
    /* Move khodex-info down to clear the fixed header */
    .khodex-info {
        margin-top: 50px !important; /* Match header height */
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-bottom: 0px !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure the main content area starts below header */
    main,
    #front-list,
    .widget,
    .viziwyg-section-39129,
    .inpage-widget-17335624 {
        position: relative;
        z-index: 1;
    }
    
    /* Add some space before desktop-t-only if it shows on mobile */
    .desktop-t-only {
        margin-top: 10px !important;
    }
}

/* Desktop - reset */
@media only screen and (min-width: 768px) {
    .khodex-info {
        margin-top: 10px !important; /* Original margin */
        margin-left: 10px !important;
        margin-right: 10px !important;
        width: calc(100% - 20px) !important;
    }
}

/* =================== DESKTOP SEARCH POPOUT FIXES =================== */
@media only screen and (min-width: 768px) {
    .desktop-search-popout {
        display: none;
        position: relative !important; /* Changed from absolute to relative */
        top: auto !important;
        left: auto !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.98); /* White background */
        z-index: 10000; /* Lower z-index than header */
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease-out;
        border-top: 1px solid #e0e0e0;
        margin: 0;
        border-radius: 0 0 10px 10px;
    }
    
    /* Make sure it appears below khodex */
    .khodex-info + .desktop-search-popout {
        margin-top: -10px; /* Overlap slightly with khodex */
        border-top: none;
    }
    
    .search-popout-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
    }
    
    .search-popout-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ff0000;
        color: white;
        border: none;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10001;
    }
    
    .search-popout-close:hover {
        background: #cc0000;
        transform: scale(1.1);
    }
    
    .search-input-wrapper {
        display: flex;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    
    .desktop-search-field {
        flex: 1;
        padding: 15px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        background: white;
        color: #333;
        outline: none;
        transition: border-color 0.3s ease;
    }
    
    .desktop-search-field:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }
    
    .desktop-search-submit {
        background: #007bff;
        color: white;
        border: none;
        padding: 0 30px;
        height: 52px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: background 0.3s ease;
        white-space: nowrap;
    }
    
    .desktop-search-submit:hover {
        background: #0056b3;
    }
    
    /* Adjust desktop icon menu for 9 items */
    .custom-icon-menu {
        max-width: 1100px;
    }
    
    .custom-icon-menu li {
        margin: 0 6px 12px;
    }
    
    /* Artists Icon */
    .custom-icon-menu li a[href*="artists"] .custom-icon i {
        color: #e91e63;
    }
    
    /* Search Icon */
    .desktop-search-icon-container .custom-icon i {
        color: #4caf50;
    }
}

/* =================== MOBILE - HIDE DESKTOP ELEMENTS =================== */
@media only screen and (max-width: 767px) {
    .desktop-search-icon-container,
    .desktop-search-popout {
        display: none !important;
    }
}

/* =================== CLOSE BUTTON STYLES =================== */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10002;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    padding: 0;
    display: block !important;
}

/* =================== ANIMATIONS =================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Search Popout Styles - Positioned below khodex */
.desktop-search-popout {
    display: none;
    position: absolute; /* Changed from fixed to absolute */
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); /* White background instead of blue */
    z-index: 100000;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
    border-top: 1px solid #e0e0e0;
}

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

.search-popout-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-popout-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff0000;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 100001;
}

.search-popout-close:hover {
    background: #cc0000;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
}

.desktop-search-field {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.desktop-search-field:focus {
    border-color: #007bff;
}

.desktop-search-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.desktop-search-submit:hover {
    background: #0056b3;
}

/* Hide on mobile */
@media only screen and (max-width: 767px) {
    .desktop-search-popout {
        display: none !important;
    }
    .desktop-search-icon-container {
        display: none !important;
    }
}

/* Latest Music Section - Clean Design */
.latest-music-section {
    margin: 30px auto;
    padding: 30px 20px;
    max-width: 1400px;
    background: #f8fafc;
    border-radius: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 12px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.see-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 0;
    background: transparent;
    border: none;
    transition: color 0.2s ease;
}

.see-more:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Fixed Grid - 4 per row on desktop */
.music-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.music-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: none;
    border: none;
    position: relative;
    box-shadow: none;
}

/* Fixed image container - equal size for all */
.music-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio - FIXED */
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 12px;
    border-radius: 4px;
}

.music-thumbnail a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Fixed image size - all images same size */
.music-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.music-info {
    padding: 0;
    text-align: left;
}

.song-title {
    margin-bottom: 5px;
}

/* FORCE MULTI-LINE SONG TITLES */
.latest-music-section .music-card .song-title a {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}


.song-title a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* FORCE MULTI-LINE ARTIST NAMES */
.latest-music-section .music-card .artist-name {
    white-space: normal !important;
    overflow: hidden !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}


.artist-name a {
    color: #000000f6;
    text-decoration: none;
    font-weight: 500;
}

.artist-name a:hover {
    color: #00050e;
    text-decoration: underline;
}

/* Fix for comma spacing - only show one comma */
.artist-name a + a::before {
    content: ', ';
}

/* Responsive Design */
@media (max-width: 1200px) {
    .music-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .latest-music-section {
        max-width: 1000px;
        padding: 25px 15px;
    }
}

/* Tablet - 3 per row */
@media (max-width: 992px) {
    .music-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Small Tablet - 2 per row */
@media (max-width: 768px) {
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .latest-music-section {
        padding: 20px 15px;
        margin: 30px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .song-title a {
        font-size: 14px;
    }
    
    .artist-name {
        font-size: 12px;
    }
}

/* Mobile - 2 per row */
@media (max-width: 576px) {
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .see-more {
        font-size: 14px;
    }
    
    .music-thumbnail {
        margin-bottom: 10px;
    }
}

/* Large Desktop - 4 per row */
@media (min-width: 1201px) {
    .music-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Extra Large Desktop - 4 per row with more spacing */
@media (min-width: 1400px) {
    .music-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.no-music-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: transparent;
    border: none;
}

.no-music-found p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
}

.add-music-btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.add-music-btn:hover {
    background: #1d4ed8;
    color: white;
}

/* FORCE 4 COLUMNS ON ALL DESKTOPS */
@media (min-width: 993px) {
    .music-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        max-width: 1400px !important;
    }
    
    .latest-music-section {
        max-width: 1400px !important;
        width: 100% !important;
    }
    
    /* Force parent containers to be wider */
    .latest-music-section .container,
    .latest-music-section .site-content,
    .latest-music-section .content-area {
        max-width: 1400px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Override theme's max-width restrictions */
body:not(.wp-custom-logo) .site {
    max-width: 100% !important;
}

/* Remove any container padding/margin that restricts width */
.alignwide, .alignfull {
    max-width: 100% !important;
}

/* Simple fix - no breaks between sections */
.latest-music-section {
    margin-bottom: 0 !important;
}

.latest-music-section + .latest-music-section {
    margin-top: -30px !important;
}

.latest-music-section .section-header {
    margin-top: 40px !important;
}

/* ============================================= */
/* REDUCE GAP BETWEEN HEADER AND GRID - ADD THIS */
/* ============================================= */

.latest-music-section .section-header {
    margin-bottom: 15px !important; /* Reduced from 30px */
    padding-bottom: 8px !important; /* Reduced from 12px */
}

/* Also reduce the space above the first section header */
.latest-music-section:first-of-type .section-header {
    margin-top: 0 !important;
}

/* Reduce padding inside the section */
.latest-music-section {
    padding-top: 20px !important; /* Reduced from 30px */
    padding-bottom: 20px !important; /* Reduced from 30px */
}

/* Remove the conflicting rule at line 241 */
.latest-music-section .section-header {
    margin-top: 10 !important; /* Remove the 40px margin-top */
}

/* Single Music Post - Clean Design */
.single-music-wrapper {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1600px;
}

.music-content-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.music-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.music-breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}

.music-breadcrumbs a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #2563eb;
}

.breadcrumbs-lines {
    border-bottom: 1px solid #e2e8f0 !important;
    margin: 10px 0 25px;
}

/* Post Title */
.music-post-title {
    font-size: 32px;
    color: #1e293b;
    margin: 0 0 30px 0;
    line-height: 1.3;
    font-weight: 700;
}

/* Featured Section - COMPACT LAYOUT */
.music-featured-section {
    display: flex;
    gap: 20px; /* Reduced gap */
    margin-bottom: 40px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.music-image-container {
    flex: 0 0 250px; /* Reduced from 350px */
    min-width: 300px;
}

.music-cover-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Music Info Section - COMPACT */
.music-info-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Metadata List - SIMPLE SINGLE LINE APPROACH */
.music-metadata {
    margin-bottom: 15px;
    width: 100%;
}

.metadata-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced gap */
    width: 100%;
}

.metadata-item {
    display: flex;
    font-size: 15px; /* Slightly smaller */
    color: #334155;
    line-height: 1.3; /* Tighter line height */
    align-items: baseline; /* Changed to baseline */
    width: 100%;
    flex-wrap: nowrap;
    min-height: 20px;
}

.metadata-label {
    font-weight: 600;
    color: #334155;
    min-width: 105px; /* Reduced width */
    flex-shrink: 0;
    text-align: left;
    padding-right: 8px; /* Reduced padding */
    white-space: nowrap;
}

.metadata-value {
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    display: block;
}

.metadata-value a {
    color: #2563eb;
    text-decoration: none;
    display: inline;
}

.metadata-value a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Horizontal Separator */
.metadata-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 15px 0;
    width: 100%;
}

/* Controls - COMPACT BUT FULLY VISIBLE */
.music-controls {
    display: flex;
    gap: 10px; /* Reduced gap */
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    padding-top: 5px;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px; /* Reduced padding */
    border: none;
    border-radius: 6px;
    font-size: 13px; /* Smaller font */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 36px; /* Smaller height */
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
}

.play-btn {
    background: #2563eb;
    color: white;
    width: 36px;
    padding: 0;
    border-radius: 50%;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn {
    background: #2563eb;
    color: white;
    flex: 0 0 auto;
    min-width: 70px; /* Smaller minimum */
    padding: 8px 10px;
}

.download-btn {
    background: #2563eb;
    color: white;
    flex: 1;
    min-width: 0;
    max-width: 180px; /* Fixed max width */
    padding: 8px 10px;
}

.control-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.control-btn i {
    font-size: 13px;
    flex-shrink: 0;
}

.control-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
}

/* Ensure download button shows fully */
.download-btn span {
    display: inline-block;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

/* Tabs */
.music-tabs {
    margin: 40px 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.tab-header {
    padding: 12px 30px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.tab-header:hover {
    color: #2563eb;
}

.tab-header.active {
    color: #2563eb;
    border-bottom: 3px solid #2563eb;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-content-inner {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

/* Article Content */
.tab-content-inner .article-paragraph {
    margin-bottom: 25px;
    line-height: 1.8;
}

.tab-content-inner ul,
.tab-content-inner ol {
    margin: 20px 0;
    padding-left: 30px;
}

.tab-content-inner li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.tab-content-inner blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #4b5563;
}

/* Fast Download */
.fast-download-section {
    display: none;
    text-align: center;
    margin: 25px 0 35px;
}

.fast-download-btn {
    color: #2563eb;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
    display: none;
    padding: 5px 10px;
}

.fast-download-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Lyrics */
.lyrics-container {
    position: relative;
}

.lyrics-preview {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.lyrics-text {
    white-space: pre-line;
    line-height: 1.8;
    font-size: 16px;
    color: #334155;
}

.lyrics-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #f8fafc);
}

.lyrics-full .lyrics-text {
    white-space: pre-line;
    line-height: 1.8;
    font-size: 16px;
    color: #334155;
}

.lyrics-toggle {
    display: block;
    margin: 10px auto 0;
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: sticky;
    bottom: 10px;
    z-index: 10;
}

.lyrics-toggle:hover {
    background: #365dc9;
    transform: translateY(-2px);
}

.no-lyrics-message {
    color: #64748b;
    font-style: italic;
    font-size: 16px;
}

/* Community Section */
.community-section {
    background: #065f9b;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    color: white;
}

.community-title {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.community-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 25px;
}

.community-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.twitter-btn {
    background: #000;
    color: white;
}

.telegram-btn {
    background: #0088cc;
    color: white;
}

.community-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Share Modal */
.share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-share-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 0;
}

.share-modal-content h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.share-option {
    background: #1877f2;
    color: white;
    text-decoration: none;
    padding: 15px 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.twitter-option {
    background: #1da1f2;
}

.whatsapp-option {
    background: #25d366;
}

.share-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.share-option i {
    font-size: 24px;
    margin-bottom: 8px;
}

.share-option span {
    font-size: 14px;
}

.share-link-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.share-link-section p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 15px;
    text-align: center;
}

.link-copy-box {
    display: flex;
    gap: 10px;
}

.share-url-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.copy-link-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.copy-success-msg {
    margin-top: 10px;
    font-size: 14px;
    color: #10b981;
    text-align: center;
    display: none;
}

/* Music Player */
.music-player {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    border-top: 1px solid #e2e8f0;
    padding: 12px 15px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.player-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-image {
    flex: 0 0 50px;
    position: relative;
}

.player-image img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.mobile-play-btn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(37, 99, 235, 0.9);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
}

.mobile-close-btn {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    background: none;
    color: #000;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
    padding: 0;
    line-height: 1;
}

.player-info {
    flex: 1;
    min-width: 0;
}

#player-song-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#player-artist-name {
    color: #64748b;
    font-size: 13px;
}

.player-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-play-btn {
    background: #2563eb;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.player-progress {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-time {
    font-size: 12px;
    color: #64748b;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #2563eb;
    transition: width 0.1s;
}

.player-close-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-music-wrapper {
        padding: 25px;
    }
    
    .music-featured-section {
        gap: 25px;
    }
    
    .music-image-container {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .metadata-label {
        min-width: 95px;
        font-size: 14px;
    }
    
    .metadata-value {
        font-size: 14px;
    }
    
    .control-btn {
        padding: 7px 10px;
        font-size: 12px;
        height: 34px;
    }
    
    .play-btn {
        width: 34px;
        flex: 0 0 34px;
    }
    
    .share-btn {
        min-width: 65px;
        padding: 7px 8px;
    }
    
    .download-btn {
        max-width: 170px;
        padding: 7px 8px;
    }
}

@media (max-width: 768px) {
    .single-music-wrapper {
        padding: 20px;
        margin: 20px auto;
    }
    
    .music-post-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .music-featured-section {
        flex-direction: column;
        gap: 25px;
    }
    
    .music-image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        min-width: 0;
    }
    
    .music-info-section {
        width: 100%;
    }
    
    .metadata-item {
        font-size: 14px;
        align-items: baseline;
    }
    
    .metadata-label {
        min-width: 85px;
        font-size: 14px;
        text-align: left;
        padding-right: 6px;
    }
    
    .metadata-value {
        font-size: 14px;
    }
    
    .metadata-separator {
        margin: 12px 0;
    }
    
    .music-controls {
        gap: 6px;
        flex-wrap: nowrap;
    }
    
    .control-btn {
        height: 32px;
        padding: 6px 8px;
        font-size: 11px;
        flex: 1;
        min-width: 0;
        gap: 4px;
    }
    
    .play-btn {
        width: 32px;
        flex: 0 0 32px;
    }
    
    .share-btn {
        flex: 0 0 auto;
        min-width: 55px;
        padding: 6px 6px;
    }
    
    .download-btn {
        flex: 2;
        min-width: 0;
        max-width: none;
        padding: 6px 6px;
    }
    
    .share-btn span, .download-btn span {
        font-size: 11px;
    }
    
    /* FIXED: Mobile download button text */
    .download-btn {
        background: #2563eb;
        padding: 6px 8px;
        flex: 2;
    }
    
    .download-btn span {
        display: block;
        white-space: normal;
        word-break: break-all;
        overflow-wrap: break-word;
        line-height: 1.2;
        max-height: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .tab-header {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .fast-download-btn {
        font-size: 16px;
    }
    
    .community-section {
        padding: 25px 20px;
    }
    
    .community-title {
        font-size: 20px;
    }
    
    .community-desc {
        font-size: 15px;
    }
    
    .community-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .community-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .music-player {
        padding: 10px 12px;
        height: 65px;
    }
    
    .player-wrapper {
        gap: 12px;
    }
    
    .mobile-play-btn {
        display: flex;
    }
    
    .mobile-close-btn {
        display: flex;
    }
    
    .player-play-btn {
        display: none;
    }
    
    .player-close-btn {
        display: none;
    }
    
    .player-progress {
        min-width: 120px;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .single-music-wrapper {
        padding: 15px;
    }
    
    .music-post-title {
        font-size: 24px;
    }
    
    .music-image-container {
        max-width: 100%;
    }
    
    .metadata-item {
        font-size: 13px;
    }
    
    .metadata-label {
        min-width: 80px;
        font-size: 13px;
        padding-right: 5px;
    }
    
    .metadata-value {
        font-size: 13px;
    }
    
    .music-controls {
        gap: 5px;
    }
    
    .control-btn {
        height: 30px;
        padding: 5px 6px;
        font-size: 10px;
    }
    
    .play-btn {
        width: 30px;
        flex: 0 0 30px;
    }
    
    .share-btn {
        min-width: 45px;
        padding: 5px 5px;
    }
    
    .download-btn {
        flex: 2;
        padding: 5px 6px;
    }
    
    .share-btn span, .download-btn span {
        font-size: 10px;
    }
    
    .tab-header {
        padding: 8px 15px;
        font-size: 15px;
    }
    
    .fast-download-btn {
        font-size: 15px;
    }
    
    .music-player {
        height: 60px;
        padding: 8px 10px;
    }
    
    .player-info {
        min-width: 100px;
    }
    
    #player-song-title {
        font-size: 14px;
    }
    
    #player-artist-name {
        font-size: 12px;
    }
    
    .player-progress {
        min-width: 100px;
    }
    
    .progress-time {
        font-size: 11px;
        min-width: 35px;
    }
}

/* Ensure proper content display */
.article-paragraph {
    margin-bottom: 25px !important;
    line-height: 1.8 !important;
}

/* Override MH theme styles */
.entry-header .mh-meta {
    display: none !important;
}

.mh-post-header {
    display: none !important;
}

/* Related Songs Section */
.related-songs {
    margin: 40px 0 0 0;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.related-header {
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
}

/* Related List */
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Related Item */
.related-item {
    display: flex;
    align-items: center;
    width: calc(50% - 10px);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Ensure ALL items have borders except the last 2 */
.related-item:nth-last-child(-n+2) {
    border-bottom: none;
}

/* When odd number of items, make last item full width without border */
.related-item:last-child:nth-child(odd) {
    width: 100%;
    border-bottom: 1px solid #eee;
}

/* Thumbnail */
.related-thumb {
    flex-shrink: 0;
    margin-right: 15px;
}

.related-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* Info */
.related-info {
    flex-grow: 1;
    min-width: 0;
}

.related-song-title a {
    font-size: 16px;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-song-title a:hover {
    text-decoration: underline;
}

.related-artist-name a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.related-artist-name a:hover {
    text-decoration: underline;
}

/* Mobile: Single column */
@media (max-width: 768px) {
    .related-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .related-item:last-child {
        border-bottom: none;
    }
    
    .related-song-title a {
        font-size: 15px;
    }
    
    .related-artist-name a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .related-header {
        font-size: 18px;
    }
    
    .related-thumb img {
        width: 50px;
        height: 50px;
    }
}

/* Fix for list numbering and bullets in content */
.tab-content-inner ol,
.tab-content-inner ul {
    margin: 20px 0;
    padding-left: 30px;
}

.tab-content-inner ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.tab-content-inner ul {
    list-style-type: disc;
    list-style-position: outside;
}

.tab-content-inner li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Remove the :before pseudo-element to prevent double dots */
.tab-content-inner ul > li:before {
    content: none !important;
}

/* Also remove backup styling for ol since we're using native list styles */
.tab-content-inner ol > li:before {
    content: none !important;
}

/* Remove counter styling since we're using native numbering */
.tab-content-inner ol {
    counter-reset: none;
}

/* Remove MH theme interference but keep native list styling */
.tab-content-inner ul li,
.tab-content-inner ol li {
    display: list-item !important;
}

/* Remove any additional pseudo-elements from theme */
.tab-content-inner ul li::before,
.tab-content-inner ul li::after,
.tab-content-inner ol li::before,
.tab-content-inner ol li::after {
    content: none !important;
}

/* Ensure proper spacing in lyrics */
.lyrics-text ol,
.lyrics-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.lyrics-text ol {
    list-style-type: decimal;
}

.lyrics-text ul {
    list-style-type: disc;
}

.lyrics-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Force native list styling to work */
.tab-content-inner ol,
.tab-content-inner ul,
.lyrics-text ol,
.lyrics-text ul {
    list-style-position: outside !important;
    list-style-image: none !important;
}

.tab-content-inner ol li,
.tab-content-inner ul li,
.lyrics-text ol li,
.lyrics-text ul li {
    list-style: inherit !important;
}

/* ============================================
   COMMENTS SECTION - FINAL FIXED VERSION (NO EXPANSION)
   ============================================ */

/* Master wrapper - completely isolates comments from sidebar/footer */
.comments-master-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Main comments section - fixed, centered, will not expand */
.comments-section {
    background: #ffffff;
    padding: 20px 25px !important;
    margin: 30px auto !important;
    border-radius: 0;
    border-top: 2px solid #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100% !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
    float: none !important;
    clear: both !important;
    left: 0 !important;
    right: 0 !important;
}

/* Header */
.comments-header {
    font-size: 22px;
    color: #1e293b;
    margin: 0 0 20px 0;
    font-weight: 700;
    position: relative;
}

.comments-header:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

/* Comments list */
.comments-list {
    margin-bottom: 25px !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* KILL WORDPRESS CHILDREN MARGINS - THIS IS THE FIX */
.comments-list .children,
.comment .children,
.children,
.children .children,
.children .children .children {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    list-style: none !important;
}

/* Every comment (top-level + replies) */
.comment {
    padding: 15px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Remove all indentation from nested comments */
.comment .comment {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Reply visual distinction (safe — no width change) */
.comment.depth-2 {
    background: #f8fafc !important;
    border-left: 4px solid #93c5fd !important;
    margin-top: 15px !important;
    margin-left: 0 !important;
    padding: 15px 15px 15px 20px !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.comment.depth-3 {
    background: #f1f5f9 !important;
    border-left: 4px solid #60a5fa !important;
    margin-top: 15px !important;
    margin-left: 0 !important;
    padding: 15px 15px 15px 20px !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.comment.depth-4,
.comment.depth-5 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* FIXED: Comment header — FLEX WRAP FOR LONG DATES */
.comment-header {
    display: flex !important;
    align-items: flex-start !important; /* CHANGED: center → flex-start */
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.comment-author-info {
    display: flex !important;
    align-items: center !important; /* FIX: Avatar stays aligned with name */
    gap: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

/* FIXED: Author name can now shrink and wrap */
.comment-author-name {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 60% !important;
    flex-shrink: 1 !important;
    line-height: 1.4 !important;
}

/* FIXED: Date can wrap and shrink */
.comment-date {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-align: right !important;
    margin-left: auto !important;
    max-width: 35% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    padding-top: 2px !important; /* Align with avatar */
}

/* Comment content - WILL NOT EXPAND */
.comment-body {
    margin: 5px 0 12px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    clear: both !important;
}

.comment-body p {
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
    margin: 0 0 8px 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

/* Actions */
.comment-actions {
    display: flex;
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
}

.reply-btn,
.love-btn {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.reply-btn:hover,
.love-btn:hover {
    color: #1d4ed8;
    transform: translateY(-1px);
}

.love-btn.liked { color: #dc2626; }
.love-btn.liked i { color: #dc2626; }

/* Blue comment form - fixed, narrow, no shift */
.comment-form-container {
    background: #2563eb !important;
    padding: 20px 25px !important;
    border-radius: 8px !important;
    margin-top: 30px !important;
    width: 100% !important;
    max-width: 600px !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* Form title */
.comment-form-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

/* Form fields */
.comment-form-field {
    margin-bottom: 12px;
    width: 100% !important;
    max-width: 100% !important;
}

.comment-form-field input[type="text"],
.comment-form-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 15px;
    box-sizing: border-box !important;
}

.comment-form-field textarea {
    min-height: 80px;
    resize: vertical;
    max-width: 100% !important;
}

/* Submit button */
.comment-submit-btn {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.comment-submit-btn:hover {
    background: #1e40af !important;
    transform: translateY(-2px) !important;
}

/* Reply form (popout/inline) */
.comment-respond,
.reply-form-popout {
    margin-top: 15px !important;
    padding: 15px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

.reply-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reply-form-header h4 {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.close-reply-form {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.reply-form-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.reply-form-field {
    flex: 1;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.reply-form-field input,
.reply-form-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box !important;
}

.reply-form-submit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reply-submit-btn {
    background: #1d4ed8 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.cancel-reply-btn {
    background: #64748b !important;
    color: white !important;
    border: none !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

.form-message {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 6px;
    font-size: 14px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* MOBILE FIXES - IMPORTANT! */
@media (max-width: 768px) {
    .comments-section {
        padding: 15px 20px !important;
        margin: 25px auto !important;
        width: 95% !important;
    }

    /* FIXED: Mobile layout - Avatar STAYS BESIDE NAME */
    .comment-header {
        flex-wrap: nowrap !important; /* Keep on same line */
        gap: 10px !important;
        align-items: center !important;
    }
    
    .comment-author-info {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        align-items: center !important;
    }
    
    /* Avatar stays normal size on mobile */
    .comment-author-avatar img,
    .comment .avatar {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }
    
    .comment-author-name {
        max-width: 50% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 14px !important;
    }
    
    /* Date on mobile - stays on same line */
    .comment-date {
        max-width: 45% !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: right !important;
        padding-top: 0 !important;
        line-height: 1.4 !important;
    }

    .comment.depth-2,
    .comment.depth-3 {
        padding: 12px 12px 12px 15px !important;
        margin-top: 10px !important;
    }
    
    .reply-form-fields {
        flex-direction: column;
        gap: 8px;
    }
    
    .reply-form-field {
        width: 100% !important;
    }
    
    .comment-form-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px !important;
    }
    
    .comment-actions {
        gap: 15px !important;
    }
    
    .reply-btn,
    .love-btn {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .comments-section {
        padding: 12px 15px !important;
        width: 98% !important;
        margin: 20px auto !important;
    }
    
    /* Extra small screens */
    .comment-author-name {
        max-width: 45% !important;
        font-size: 13px !important;
    }
    
    .comment-date {
        max-width: 50% !important;
        font-size: 11px !important;
    }
    
    .comment-author-avatar img,
    .comment .avatar {
        width: 32px !important;
        height: 32px !important;
    }

    .comment-form-container {
        padding: 15px 20px !important;
    }
}

/* Circle avatars - FIXED FOR MOBILE */
.comment-author-avatar img,
.avatar,
.comment .avatar {
    border-radius: 50% !important;
    overflow: hidden !important;
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
}

/* Hide moderation notice */
.comment-awaiting-moderation {
    display: none !important;
}

/* NUCLEAR CONTAINMENT - ABSOLUTE */
.comments-section * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Prevent horizontal scroll on entire page */
body, html {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Sidebar Wrapper (Desktop) */
.sidebar {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    flex: 1.5;
    margin-left: 2px;
    background: #f8fafc; /* Light blue grey background */
    border-radius: 10px;
    padding: 15px;
}

/* Trending Sidebar Container */
.trending-sidebar {
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc; /* Matches sidebar for seamless look */
    border-radius: 10px; /* Curved edges */
}

/* Trending Song Title (Header) */
.trending-sidebar h3 {
    font-size: 20px;
    color: #0d6efd; /* Blue title */
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #0d6efd; /* Blue underline */
    padding-bottom: 10px;
}

/* Trending Song List */
.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Trending Song Item */
.trending-item {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #dee2e6; /* Light grey horizontal separator */
    transition: background 0.3s ease;
}

.trending-item:last-child {
    border-bottom: none; /* No separator on last item */
}

.trending-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Numbering Outside the Thumbnail */
.trending-number {
    font-size: 16px;
    font-weight: bold;
    color: var(--def-text-color);
    margin-right: 10px;
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
}

/* Thumbnail Container */
.trending-thumbnail {
    position: relative;
    width: 55px;
    height: 55px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.trending-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Trending Song Details - Prevents overflow */
.trending-details {
    flex: 1;
    min-width: 0; /* Critical: allows shrinking and prevents overflow */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Song Title - Truncates long titles with ellipsis */
.trending-sidebar .song-title,
.trending-sidebar .song-title a {
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd; /* Blue song title */
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%; /* Never exceeds container width */
}

/* Artist Name - Allows wrapping for very long names */
.trending-sidebar .artist-name,
.trending-sidebar .artist-name a {
    font-size: 12px;
    color: #000; /* Black artist name */
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.3;
    white-space: normal; /* Allows multi-line if needed */
    word-break: break-word; /* Breaks very long words */
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .sidebar {
        width: 100%;
        margin: 20px 0 0 0;
        border-radius: 8px;
        background: #f8f9fa; /* Light blue grey */
        padding: 15px;
    }

    .trending-number {
        font-size: 14px;
    }

    .trending-thumbnail {
        width: 50px;
        height: 50px;
    }

    .trending-sidebar .song-title,
    .trending-sidebar .song-title a {
        font-size: 12px;
    }

    .trending-sidebar .artist-name,
    .trending-sidebar .artist-name a {
        font-size: 11px;
    }
}

/* DropJam Footer Styles */
.dropjam-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.dropjam-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

/* Footer Logo - Desktop Left */
.dropjam-footer .footer-logo {
  justify-self: start;
}

.dropjam-footer .footer-logo img {
  height: 50px;
  width: auto;
}

/* Footer Links - Desktop Middle */
.dropjam-footer .footer-links {
  justify-self: center;
}

.dropjam-footer .footer-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropjam-footer .footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px; /* Reduced size */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.dropjam-footer .footer-links a:hover {
  color: #fff;
}

/* Social Icons - Desktop Right */
.dropjam-footer .footer-social {
  justify-self: end;
}

.dropjam-footer .social-icons {
  display: flex;
  gap: 20px;
}

.dropjam-footer .social-icon {
  width: 20px;
  height: 20px;
  fill: #aaa;
  transition: fill 0.3s ease, transform 0.3s ease;
}

/* Social icon hover colors */
.dropjam-footer .social-icons a:nth-child(1):hover .social-icon { /* Facebook */
  fill: #1877F2;
}

.dropjam-footer .social-icons a:nth-child(2):hover .social-icon { /* Twitter/X */
  fill: #1DA1F2;
}

.dropjam-footer .social-icons a:nth-child(3):hover .social-icon { /* Instagram */
  fill: #E4405F;
}

.dropjam-footer .social-icons a:nth-child(4):hover .social-icon { /* YouTube */
  fill: #FF0000;
}

.dropjam-footer .social-icons a:hover .social-icon {
  transform: translateY(-2px);
}

/* Footer Bottom */
.dropjam-footer .footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
}

.dropjam-footer .footer-bottom p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

.dropjam-footer .footer-bottom a.designer-link {
  color: #3498db; /* Blue color */
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.dropjam-footer .footer-bottom a.designer-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .dropjam-footer {
    padding: 30px 15px 15px;
  }
  
  .dropjam-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
    padding-bottom: 25px;
  }
  
  /* Mobile: Logo centered */
  .dropjam-footer .footer-logo {
    justify-self: center;
  }
  
  .dropjam-footer .footer-logo img {
    height: 45px;
  }
  
  /* Mobile: Links horizontal */
  .dropjam-footer .footer-links ul {
    flex-wrap: wrap;
    justify-content: left;
    gap: 14px;
  }
  
  .dropjam-footer .footer-links a {
    font-size: 10px;
  }
  
  /* Mobile: Social icons below links */
  .dropjam-footer .footer-social {
    justify-self: center;
  }
  
  .dropjam-footer .social-icons {
    gap: 18px;
  }
  
  .dropjam-footer .social-icon {
    width: 18px;
    height: 18px;
  }
  
  .dropjam-footer .footer-bottom {
    margin-top: 25px;
  }
  
  .dropjam-footer .footer-bottom p {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .dropjam-footer .footer-container {
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
  }
  
  .dropjam-footer .footer-links ul {
    gap: 15px;
  }
  
  .dropjam-footer .footer-links a {
    font-size: 12px;
  }
  
  .dropjam-footer .social-icons {
    gap: 18px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .dropjam-footer {
    background-color: #0a0a0a;
  }
  
  .dropjam-footer .footer-container {
    border-bottom-color: #444;
  }
}

/* Print Styles */
@media print {
  .dropjam-footer {
    display: none;
  }
}

/* DMCA Badge Styles */
.dropjam-footer .footer-social-dmca {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.dropjam-footer .dmca-badge-container {
  text-align: right;
}

.dropjam-footer .dmca-badge {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.dropjam-footer .dmca-badge:hover {
  opacity: 0.8;
}

.dropjam-footer .dmca-badge img {
  width: 100px;
  height: 20px;
  display: block;
}

/* Mobile Responsive Styles - Updated */
@media (max-width: 768px) {
  .dropjam-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
    padding-bottom: 25px;
  }
  
  /* Mobile: Logo centered */
  .dropjam-footer .footer-logo {
    justify-self: center;
  }
  
  .dropjam-footer .footer-logo img {
    height: 45px;
  }
  
  /* Mobile: Links horizontal */
  .dropjam-footer .footer-links ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  
  .dropjam-footer .footer-links a {
    font-size: 10px;
  }
  
  /* Mobile: Social icons & DMCA centered */
  .dropjam-footer .footer-social-dmca {
    justify-self: center;
    align-items: center;
  }
  
  .dropjam-footer .social-icons {
    gap: 18px;
  }
  
  .dropjam-footer .social-icon {
    width: 18px;
    height: 18px;
  }
  
  .dropjam-footer .dmca-badge-container {
    text-align: center;
  }
  
  .dropjam-footer .footer-bottom {
    margin-top: 10px;
  }
  
  .dropjam-footer .footer-bottom p {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Tablet Styles - Updated */
@media (min-width: 769px) and (max-width: 1024px) {
  .dropjam-footer .footer-container {
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
  }
  
  .dropjam-footer .footer-links ul {
    gap: 15px;
  }
  
  .dropjam-footer .footer-links a {
    font-size: 12px;
  }
  
  .dropjam-footer .social-icons {
    gap: 18px;
  }
  
  .dropjam-footer .footer-social-dmca {
    gap: 12px;
  }
}

/* Archive Section */

/* Archive Section Styles */
.archive-section {
    background: #f8fafc; /* Light blue-grey, subtle */
    border-radius: 12px; /* Curved edges */
    padding: 20px;
    margin: 20px 0;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumbs {
    font-size: 14px;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: #007bff; /* Blue for links */
    text-decoration: none;
}

.breadcrumbs .breadcrumb-item:last-child {
    color: #333;
    pointer-events: none;
}

.breadcrumbs-line {
    height: 2px;
    background: #007bff; /* Blue horizontal line */
    margin: 10px 0 20px;
}

.archive-description {
    position: relative;
    padding: 15px 20px;
    background: #f0f8ff; /* Match section bg */
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: none; /* Remove shadow if blending */
}

.archive-description p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.archive-title {
    font-size: 28px;
    margin: 0 0 15px;
    color: #007bff;
}

.last-updated {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 13px;
    color: #333;
    background: #e9ecef; /* Grey background */
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hottest-search {
    margin: 20px 0;
}

.hottest-label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.hottest-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hottest-buttons .search-btn {
    flex: 0 0 auto; /* Auto width based on content */
    background: #ffffff;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent line breaks */
}

.hottest-buttons .search-btn:hover {
    background: #007bff;
    color: #ffffff;
}

.gb-space {
    height: 20px;
}

.song-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.song-thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.song-details {
    margin-left: 15px;
    max-width: calc(100% - 85px); /* Prevent overflow */
    overflow: hidden;
}

.song-title a {
    color: #007bff; /* Blue song titles */
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-title a:hover {
    text-decoration: underline;
}

.artist-name {
    color: #000000; /* Black artist name */
    font-size: 14px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    margin: 0 6px;
    padding: 6px 12px;
    border: 1px solid #007bff;
    border-radius: 4px;
    color: #007bff;
    text-decoration: none;
    display: inline-block;
    background: #ffffff;
}

.pagination .current {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination a:hover {
    background: #007bff;
    color: white;
}

.pagination .dots {
    border: none;
    padding: 6px 12px;
    color: #007bff;
    background: transparent;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .archive-section {
        padding: 15px;
    }

    .hottest-buttons {
        justify-content: flex-start;
    }

    .hottest-buttons .search-btn {
        flex: 0 0 auto;
        margin-bottom: 10px;
    }

    .song-item {
        padding: 10px 0;
    }

    .song-thumbnail img {
        width: 60px;
        height: 60px;
    }

    .song-details {
        max-width: calc(100% - 75px);
    }

    .song-title a {
        font-size: 15px;
    }

    .artist-name {
        font-size: 13px;
    }

    .pagination a,
    .pagination span {
        padding: 4px 8px;
        font-size: 14px;
    }
}

/* ============================================
   ARCHIVE DESCRIPTION AREA FIXES
   ============================================ */

.archive-description-area {
    background: #f8fafc; /* Match section bg */
    border-radius: 8px; /* Square-round border */
    padding: 15px 20px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #dbdde0; /* Light border */
}

.archive-description-content {
    position: relative;
    min-height: 60px; /* Ensure space for datetime */
}

.archive-description-content > *:first-child {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    max-width: 85%; /* Leave space for datetime */
}

/* Last Updated Box - FIXED */
.last-updated-box {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #eff3f7; /* Match section bg */
    border: 1px solid #cce0ff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.last-updated-box i {
    color: #151616;
    font-size: 12px;
}

.last-updated-box time {
    font-weight: 500;
}

/* Mobile adjustments for datetime */
@media (max-width: 768px) {
    .archive-description-content > *:first-child {
        max-width: 70%;
        margin-bottom: 15px;
    }
    
    .last-updated-box {
        position: relative;
        bottom: auto;
        right: auto;
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
        padding: 5px 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .archive-description-content > *:first-child {
        max-width: 100%;
        margin-bottom: 12px;
    }
    
    .last-updated-box {
        width: 100%;
        justify-content: center;
    }
}

/* Artist Links Styling */
.artist-name a.artist-link {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.artist-name a.artist-link:hover {
    color: #000000;
    text-decoration: none;
}

.artist-name {
    color: #000000;
    font-size: 14px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Archive3 Styles */

/* Custom Category Archive - Fixed Zoom + Uniform Blue Badge */

/* Overall section wrapper */
.archive-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs-line {
    height: 1px;
    background: #e2e8f0;
    margin: 0 0 20px;
}

/* Header - LEFT aligned */
.archive-header-wrapper {
    margin-bottom: 30px;
}

.archive-main-title {
    font-size: 32px;
    font-weight: 900;
    color: #1e293b;
    margin: 0 0 10px;
    text-align: left;
}

.archive-sub-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
    text-align: left;
}

/* Separator */
.archive-grid-separator {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 0 0 35px;
}

/* Grid - 3 columns desktop, 1 mobile */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.article-card {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Image with zoom on hover */
.article-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease; /* Smooth zoom */
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.08); /* Zoom effect activated on card hover */
}

/* Uniform BLUE badge - smaller size */
.article-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #2563eb; /* Solid blue for ALL badges */
    color: white;
    font-size: 10.5px; /* Slightly smaller */
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
    line-height: 1;
}

/* Content */
.article-content {
    padding: 18px;
}

.article-meta .article-date {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.article-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.35;
}

.article-title a {
    color: #1e293b;
    text-decoration: none;
}

.article-title a:hover {
    color: #2563eb;
}

.article-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 16px;
}

.read-more-link {
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-link:hover {
    color: #1d4ed8;
}

/* Sidebar layout fix */
.homepage-container.article-archive {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

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

.sidebar {
    flex: 1 1 320px;
    min-width: 320px;
}

@media (max-width: 1024px) {
    .homepage-container.article-archive {
        flex-direction: column;
    }
    .sidebar {
        order: 2;
    }
}

/* Breadcrumbs - Fixed */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1;
}

.breadcrumb-item.current {
    color: #475569;
    font-weight: 500;
}

/* Pagination Wrapper - Added spacing */
.pagination-wrapper {
    margin: 50px 0 80px; /* Increased bottom margin for footer spacing */
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.pagination .page-numbers.current {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
}

.pagination .prev,
.pagination .next {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .prev:hover,
.pagination .next:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Ensure footer has enough space */
.body-wrapper {
    padding-bottom: 40px;
    min-height: calc(100vh - 200px); /* Adjust based on your footer height */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 13px;
        gap: 6px;
    }
    
    .breadcrumb-separator {
        font-size: 14px;
    }
    
    .pagination-wrapper {
        margin: 40px 0 60px;
    }
    
    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
    
    .pagination .prev,
    .pagination .next {
        min-width: 36px;
        height: 36px;
    }
}

/* No Posts Message */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 18px;
    background: white;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

/* Nigeria Song Section */

/* Nigeria Songs Section - Updated Header Style */
.nigeria-songs-section {
  background-color: #f8fafc;
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto;
  padding: 20px 20px;
  max-width: 1400px;
  border: none;
  overflow: visible;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Updated Section Header to match Latest Music */
.nigeria-songs-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  position: relative;
  background: none;
  border-radius: 0;
  padding: 0;
  min-height: auto;
}

.nigeria-songs-section .section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2563eb;
}

.nigeria-songs-section .section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.3;
}

.nigeria-songs-section .see-more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 0;
  background: transparent;
  border: none;
  transition: color 0.2s ease;
}

.nigeria-songs-section .see-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Remove old header styles - they are now overridden by section-header */
.nigeria-songs-section .nigeria-section-header,
.nigeria-songs-section .nigeria-section-title {
  display: none;
}

/* Song List */
.nigeria-songs-section .nigeria-song-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

.nigeria-songs-section .nigeria-song-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  min-height: 70px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.nigeria-songs-section .nigeria-song-item:hover {
  background-color: #f1f5f9;
}

.nigeria-songs-section .nigeria-song-item:last-child {
  border-bottom: none;
}

/* Song Thumbnail */
.nigeria-songs-section .nigeria-song-thumbnail {
  margin-right: 15px;
  flex-shrink: 0;
}

.nigeria-songs-section .nigeria-song-thumbnail img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

/* Song Details */
.nigeria-songs-section .nigeria-song-details {
  flex: 1;
  min-width: 0;
  padding-right: 10px;
}

/* Song Title - BLUE and BOLD */
.nigeria-songs-section .nigeria-song-title {
  margin-bottom: 5px;
  overflow: hidden;
}

.nigeria-songs-section .nigeria-song-title a {
  color: #007bff !important;
  font-size: 15px;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1.3;
  transition: color 0.2s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nigeria-songs-section .nigeria-song-title a:hover {
  color: #0056b3 !important;
  text-decoration: none !important;
}

/* Artist Name - BLACK and a bit bold */
.nigeria-songs-section .nigeria-artist-name {
  color: #1a202c !important;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1.4;
  overflow: hidden;
}

.nigeria-songs-section .nigeria-artist-name a {
  color: #1a202c !important;
  text-decoration: none !important;
  transition: color 0.2s;
  font-weight: 600 !important;
}

.nigeria-songs-section .nigeria-artist-name a:hover {
  color: #2d3748 !important;
  text-decoration: none !important;
}

/* See More Button at bottom */
.nigeria-songs-section .nigeria-see-more-container {
  padding: 15px 20px;
  text-align: right;
  background-color: transparent;
  border-top: 1px solid #e2e8f0;
  margin-top: 10px;
}

.nigeria-songs-section .nigeria-see-more-btn {
  background-color: transparent;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 0;
  border: none;
  cursor: pointer;
  box-shadow: none;
  display: inline-block;
}

.nigeria-songs-section .nigeria-see-more-btn:hover {
  background-color: transparent;
  color: #1d4ed8;
  text-decoration: underline;
  transform: none;
  box-shadow: none;
}

/* No Songs Found */
.nigeria-songs-section .nigeria-no-songs-found {
  padding: 40px 20px;
  text-align: center;
  background-color: transparent;
}

.nigeria-songs-section .nigeria-no-songs-found p {
  color: #64748b;
  margin-bottom: 20px;
  font-size: 15px;
}

.nigeria-songs-section .nigeria-add-song-btn {
  background-color: #10b981;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s;
}

.nigeria-songs-section .nigeria-add-song-btn:hover {
  background-color: #059669;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .nigeria-songs-section {
    margin-bottom: 25px;
    padding: 15px;
  }
  
  .nigeria-songs-section .section-header {
    padding: 0;
    margin-bottom: 10px;
  }
  
  .nigeria-songs-section .section-title {
    font-size: 20px;
  }
  
  .nigeria-songs-section .see-more {
    font-size: 14px;
  }
  
  .nigeria-songs-section .nigeria-song-item {
    padding: 10px 15px;
    min-height: 65px;
  }
  
  .nigeria-songs-section .nigeria-song-thumbnail {
    margin-right: 12px;
  }
  
  .nigeria-songs-section .nigeria-song-thumbnail img {
    width: 45px;
    height: 45px;
  }
  
  .nigeria-songs-section .nigeria-song-title a {
    font-size: 14px;
  }
  
  .nigeria-songs-section .nigeria-artist-name {
    font-size: 12px;
  }
  
  .nigeria-songs-section .nigeria-see-more-container {
    padding: 12px 15px;
  }
  
  .nigeria-songs-section .nigeria-see-more-btn {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nigeria-songs-section .section-title {
    font-size: 18px;
  }
  
  .nigeria-songs-section .see-more {
    font-size: 13px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .nigeria-songs-section {
    margin-bottom: 35px;
  }
  
  .nigeria-songs-section .nigeria-song-item {
    padding: 12px 18px;
  }
  
  .nigeria-songs-section .nigeria-song-thumbnail img {
    width: 48px;
    height: 48px;
  }
}

/* Desktop Large Screens */
@media (min-width: 1200px) {
  .nigeria-songs-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* IMPORTANT: Reset any potential conflicts */
.song-section,
.section-header,
.song-list,
.song-item,
.song-thumbnail,
.song-details,
.song-title,
.artist-name,
.see-more-container,
.see-more-btn {
  /* These generic classes won't affect our Nigeria section */
  /* Our section uses nigeria- prefixed classes */
}

/* Reuse of existing archive CSS for search */

.search-results-container {
    background: #f8fafc;          /* Light blue-grey bg */
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    margin-top: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 404 Page Container - matches archive/search style */
.error-404-container {
    background: #f8fafc;               /* subtle light blue-grey */
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 20px !important;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* Breadcrumbs (only Home) */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: left;
}

.breadcrumbs a {
    color: #007bff;                    /* blue Home link */
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Horizontal line under breadcrumb */
.breadcrumbs-line {
    height: 2px;
    background: #e0e0e0;               /* light grey-blue line */
    margin: 0 0 30px 0;
}

/* 404 Main Content */
.error {
    padding: 20px 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #1f2937;
    margin: 0 0 20px;
    line-height: 1;
}

.error-text {
    font-size: 20px;
    color: #4b5563;
    margin: 0 0 30px;
}

/* Back to Home Button */
.error-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.error-btn:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .error-404-container {
        padding: 30px 15px;
        margin: 20px 10px;
    }

    .error-code {
        font-size: 90px;
    }

    .error-text {
        font-size: 18px;
    }

    .error-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
}

/* Additional CSS for search template */
.breadcrumbs-separator {
    height: 2px;
    background: #2187ee;
    margin: 0 0 30px;
}

/* No Results Section */
.no-results-section {
    margin-top: 30px;
}

.no-results {
    text-align: center;
    background: #f8fafc;
    padding: 60px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 620px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 90px;
    color: #2187ee;
    margin-bottom: 25px;
}

.no-results h3 {
    font-size: 32px;
    margin: 0 0 12px;
    color: #111;
    font-weight: 700;
}

.no-results p {
    font-size: 16px;
    color: #555;
    margin: 0 0 35px;
    line-height: 1.6;
}

.no-results-search {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.no-results-search input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    outline: none;
    background: white;
    color: #333;
}

.no-results-search input::placeholder {
    color: #888;
}

.no-results-search button {
    background: #2187ee;
    color: white;
    border: none;
    width: 64px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.no-results-search button:hover {
    background: #1a6ed1;
}

/* Ensure proper spacing for existing elements */
.search-results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumbs {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.breadcrumbs a {
    color: #2187ee;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 6px;
    color: #aaa;
}

.archive-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .no-results {
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .no-results-icon {
        font-size: 70px;
    }
    
    .no-results h3 {
        font-size: 26px;
    }
    
    .no-results p {
        font-size: 15px;
    }
    
    .no-results-search {
        max-width: 100%;
    }
    
    .archive-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .no-results {
        padding: 30px 15px;
    }
    
    .no-results-icon {
        font-size: 60px;
    }
    
    .no-results h3 {
        font-size: 22px;
    }
    
    .no-results-search input {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .no-results-search button {
        width: 50px;
        font-size: 18px;
    }
}

/* Artists Page Template styles */

/* Overall background */
        body {
            background-color: #ffffff !important;
            margin: 0;
            padding: 10;
            overflow-x: hidden;
        }
        
        /* Theme override for this template only */
        .page-template-artists-page-template #main-content {
            float: left;
            width: 70% !important; /* Reduced from 72% */
            margin-right: 1%; /* Reduced margin */
            box-sizing: border-box;
        }
        
        .page-template-artists-page-template .mh-sidebar {
            width: 29%; /* Increased from 26% */
            float: left;
            background: transparent !important;
            box-shadow: none !important;
            border-radius: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            overflow: visible !important;
            position: relative;
            z-index: 1;
            box-sizing: border-box;
        }
        
        .page-template-artists-page-template .mh-sidebar .mh-widget {
            background: #ffffff;
            padding: 20px;
            margin-bottom: 25px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            overflow: visible !important;
            max-width: 100%;
            box-sizing: border-box;
        }
        
        /* Main container */
        .artists-page-container {
            background-color: #f8fafc;
            padding: 18px; /* Slightly reduced */
            border-radius: 10px;
            margin-bottom: 30px;
            margin-top: 20px;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }

        /* Home breadcrumb */
        .breadcrumb-nav {
            margin-bottom: 15px;
        }
        
        .home-breadcrumb {
            color: #0d6efd !important;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }
        
        .home-breadcrumb:hover {
            color: #0a58ca !important;
            text-decoration: underline;
        }
        
        /* Grey horizontal separator */
        .grey-separator {
            height: 1px;
            background-color: #d1d5db;
            margin: 15px 0 20px 0;
            width: 100%;
        }
        
        /* Blue horizontal separators */
        .blue-separator {
            height: 2px;
            background-color: #0d6efd;
            margin: 20px 0;
            width: 100%;
        }

        /* Top Artists title */
        .top-artists-title {
            font-size: 22px;
            font-weight: bold;
            color: #000;
            margin: 15px 0 10px 0;
        }

        .artist-letter {
            font-size: 22px;
            font-weight: bold;
            color: #000;
            margin: 25px 0 15px 0;
            padding-right: 10px; /* Added padding */
        }

        /* Alphabet navigation */
        .artist-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
            margin: 20px 0;
            padding: 15px 0;
            max-width: 100%;
        }

        .artist-nav a {
            text-decoration: none;
            font-size: 12px;
            font-weight: bold;
            color: #fff;
            background: #0d6efd;
            border-radius: 50%;
            height: 32px;
            width: 32px;
            display: flex;  
            align-items: center;  
            justify-content: center;  
            text-align: center;
            transition: background-color 0.3s ease;
            flex-shrink: 0;
        }

        .artist-nav a:hover {
            background: #0a58ca;
        }

        /* Artists grid - 6 per row on desktop, 3 on mobile */
        .artists-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 5px; /* Reduced gap */
            margin: 15px 0;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        /* For tablet sizes */
        @media (max-width: 1024px) {
            .artists-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 10px;
            }
        }

        /* 3 per row on mobile */
        @media (max-width: 768px) {
            .page-template-artists-page-template #main-content,
            .page-template-artists-page-template .mh-sidebar {
                width: 100% !important;
                float: none;
                margin: 0;
            }
            
            .page-template-artists-page-template .mh-sidebar {
                margin-top: 30px;
            }
            
            .artists-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 8px;
            }
            
            .artist-card img {
                width: 80px !important;
                height: 80px !important;
            }
        }

        /* For very small phones */
        @media (max-width: 480px) {
            .artists-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            
            .artist-card img {
                width: 75px !important;
                height: 75px !important;
            }
        }

        /* For extremely small phones */
        @media (max-width: 360px) {
            .artists-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 6px;
            }
            
            .artist-card img {
                width: 70px !important;
                height: 70px !important;
            }
        }

        .artist-card {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            min-height: 120px;
        }

        .artist-card a {
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .artist-card img {
            width: 85px; /* Reduced size */
            height: 85px;
            border-radius: 50% !important;
            object-fit: cover;
            display: block;
            margin: 0 auto;
            max-width: 100%;
            background-color: #f8f9fa;
            overflow: hidden;
            transition: transform 0.2s ease-in-out; /* Added for smooth zoom */
        }

        /* Fix for broken Portable and Olamide images */
        .artist-card img[alt="Portable"],
        .artist-card img[alt="Olamide"] {
            object-position: center center;
        }

        /* Zoom hover effect for ALL artist images - NO BLUE BORDER */
        .artist-card:hover img {
            transform: scale(1.05); /* Zoom effect only */
        }

        .artist-card .artist-name {
            font-size: 13px; /* Slightly smaller */
            color: #000;
            font-weight: bold;
            margin-top: 8px;
            line-height: 1.2;
            padding: 0 3px;
            text-align: center;
            word-break: break-word;
            width: 100%;
        }

        .load-more-wrapper {
            text-align: center;
            margin: 30px 0;
            display: block !important;
            width: 100%;
        }

        .load-more-btn {
            background-color: #2d3748 !important;
            color: #fff !important;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
            font-size: 14px;
            min-width: 140px;
            display: inline-block;
        }

        .load-more-btn:hover {
            background-color: #0d6efd !important;
        }

        /* Hidden artists */
        .hidden-artist {
            display: none !important;
        }

        @media (max-width: 768px) {
            .artist-nav {
                gap: 5px;
                padding: 10px 0;
            }
            
            .artist-nav a {
                height: 30px;
                width: 30px;
                font-size: 11px;
            }
            
            .artists-page-container {
                padding: 15px;
            }
            
            .top-artists-title,
            .artist-letter {
                font-size: 20px;
            }
        }

        @media (max-width: 576px) {
            .artists-page-container {
                padding: 12px;
            }
            
            .artist-nav {
                gap: 4px;
            }
            
            .artist-nav a {
                height: 28px;
                width: 28px;
                font-size: 10px;
            }
        }
        
        /* Fix for empty sections */
        .artist-section:empty {
            display: none;
        }
        
        /* Artists list spacing */
        .artists-list {
            margin-top: 20px;
        }
        
        /* Ensure no horizontal overflow */
        .mh-container, 
        .mh-wrapper,
        .mh-content {
            max-width: 100%;
            overflow-x: hidden;
        }