
/* ====================================================
   RISKYJATT.COM - MASTER STYLESHEET (CORRECTED & UNIFIED)
   ==================================================== */

/* --- CSS VARIABLES (Clean Light Theme) --- */
:root {
    --primary: #4f46e5;       /* Indigo */
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --bg-color: #f3f4f6;      /* Soft Gray Background */
    --surface: #ffffff;       /* Pure White Card */
    --text-main: #1f2937;     /* Dark Text */
    --text-muted: #6b7280;    /* Gray Text */
    --border: #e5e7eb;        /* Light Border */
    --hover-bg: #f9fafb;      /* Light Hover */
    --header-bg: #1f2937;     /* Solid dark background for logo header */
}

/* --- BASE STYLES --- */
body, html {
    margin: 0; padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* --- GLOBAL HYPERLINK UNDERLINE REMOVAL --- */
a, a:link, a:visited, a:active, a:focus {
    text-decoration: none !important;
}

/* --- MAIN APP CONTAINER --- */
.main-container {
    max-width: 820px;
    margin: 30px auto;
    background-color: var(--surface);
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

@media (max-width: 820px) {
    .main-container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
    }
}

/* --- BRAND HEADER WITH CUSTOM BACKGROUND FOR LOGO --- */
.headertop {
    background-color: var(--header-bg);
    padding: 16px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
} 

.logo-img {
    max-height: 45px; 
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}
.logo-img:hover {
    transform: scale(1.05); 
}
/* Back to Home Link block */
.back-home {
    padding: 15px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.back-home a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.back-home a:hover {
    text-decoration: underline;
}
/* --- SECTION HEADINGS (Premium Modern Badge Style) --- */
h1, h2, .jatt {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 16px 20px;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Modern Pill/Badge Indicator on the Left */
h1::before, h2::before, .jatt::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--primary-gradient);
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}

/* --- TEXT CONTENT --- */
.text-block {
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.text-block p { margin: 0 0 10px 0; }
.text-block p:last-child { margin: 0; }

/* ====================================================
   PUNJABILIST STYLE FOR CATEGORIES (SIMPLE LIST)
   ==================================================== */
.punjabilist { 
    margin: 0; 
    padding: 0; 
    list-style: none;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.punjabilist li { 
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border); 
}
.punjabilist li:last-child { 
    border-bottom: none; 
}

.punjabilist li a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--text-main);
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.punjabilist li a::before { 
    content: '🎵'; 
    margin-right: 12px; 
    font-size: 16px; 
    opacity: 0.8; 
}

.punjabilist li a:hover {
    background-color: var(--hover-bg);
    color: var(--primary);
    padding-left: 24px;
}
/* ==================================================== */

/* --- cat-link COMPATIBILITY STYLING (No Underlines) --- */
.cat-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--surface);
    color: var(--text-main);
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all 0.25s ease;
}

.cat-link::before { 
    content: '🎵'; 
    margin-right: 12px; 
    font-size: 16px; 
    opacity: 0.8; 
    transition: transform 0.3s ease;
}

a:hover .cat-link,
a:focus .cat-link,
a:active .cat-link {
    background-color: var(--hover-bg);
    color: var(--primary);
    padding-left: 24px;
    text-decoration: none !important;
}

a:hover .cat-link::before {
    transform: scale(1.15) rotate(-10deg);
}

/* --- PHP INJECTED CSS FIXES --- */
section { margin: 0; padding: 0; background: var(--surface); }
section > div { padding: 15px 20px !important; color: var(--text-muted); font-size: 14px; border-bottom: 1px solid var(--border); }
.updateshow, .catshow, .fontupdate, .manzda { font-size: 13px; padding: 10px; }

/* --- FOOTER --- */
.footer-links {
    background: var(--hover-bg);
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-top: auto;
    border-top: 1px solid var(--border);
}
.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
}
.footer-links a:hover { 
    color: var(--primary); 
    text-decoration: none !important;
}

.headerfoot {
    background-color: #1f2937;
    padding: 15px;
    color: #fff;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.5px;
}  

/* ====================================================
   TOP STORIES / LATEST UPDATES GRID STYLING
   ==================================================== */

/* Container Grid Layout */
.update-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    padding: 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

/* Individual Song/Album Card Styling */
.update-container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--hover-bg);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Hover Effect (App-like lift & border color change) */
.update-container a:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
    background: var(--surface);
}

/* Cover Image Styling */
.update-container img {
    width: 100%;
    max-width: 110px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.update-container a:hover img {
    transform: scale(1.03);
}

/* Song / Album Title */
.update-container .update-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

/* Singer / Artist Name */
.update-container .singer-name {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- SEARCH BOX STYLING --- */
.search-box {
    background: var(--surface);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

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

.search-input {
    flex: 1;
    background: var(--hover-bg);
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 30px; /* Modern pill shape */
    color: var(--text-main);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.search-button {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    white-space: nowrap;
}

.search-button:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

.search-button:active {
    transform: translateY(0);
}

/* Mobile Responsiveness for Search */
@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }
    .search-input, .search-button {
        width: 100%;
        border-radius: 12px;
    }
}
.atext {
    padding: 16px 20px;
    line-height: 1.7;
    font-size: 14px;
    color: var(--text-main);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.atext p {
    margin: 0 0 12px 0;
    padding: 0;
    color: var(--text-muted);
}

.atext p:last-child {
    margin-bottom: 0;
}
/* --- MODERN SCHEMA BREADCRUMBS --- */
ol.breadcrumbs {
    list-style: none;
    margin: 0;
    padding: 12px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

ol.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

ol.breadcrumbs li a {
    color: var(--primary);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

ol.breadcrumbs li a:hover {
    color: var(--text-main);
    text-decoration: none !important;
}

ol.breadcrumbs li:not(:last-child):after {
    content: '›';
    margin-left: 8px;
    color: var(--text-muted);
    font-weight: 600;
}

ol.breadcrumbs li.last,
ol.breadcrumbs li.last a {
    color: var(--text-muted);
    pointer-events: none;
    text-decoration: none !important;
}
/* --- DJPUNJAB CLASSES STYLED LIKE H2 --- */
.rjtitle, .rjtitle1, .rjtitle2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 16px 20px;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rjtitle::before, .rjtitle1::before, .rjtitle2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--primary-gradient);
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}	
/* --- CUSTOM FAQ SECTION (Themed) --- */
.custom-faq-section {
    margin: 0;
    padding: 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.custom-faq-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 15px;
}

.custom-faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.custom-faq-q {
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 6px;
    font-size: 14.5px;
}

.custom-faq-a {
    color: var(--text-muted);
    display: block;
    font-size: 13.5px;
    line-height: 1.6;
}
/* --- SOCIAL SHARE ICONS STYLING (Cleaned & Optimized) --- */
p.share {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 10px 0 25px 10px !important;
    flex-wrap: wrap;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.share a:hover, 
.share a:active {
    transform: scale(1.15);
}

.shareicon.inline-svg {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease, fill 0.2s ease;
}

/* Brand Icon Colors */
.wa-color  { fill: #25D366; }
.tg-color  { fill: #0088cc; }
.fb-color  { fill: #1877F2; }
.x-color   { fill: #000000; }
.pin-color { fill: #E60023; }
.sms-color { fill: #475569; }

/* --- SIMPLE UNIFIED HEADINGS (H3-H6) --- */
h3, h4, h5, h6 {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    padding: 12px 16px;
    margin: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}
    
* --- BREADCRUMBS CONTAINER & ITEM STYLING --- */
.breadcrumbs {
    padding: 14px 20px !important;
    background: var(--surface, #ffffff) !important;
    border-bottom: 1px solid var(--border, #e5e7eb) !important;
    font-size: 13.5px !important;
    color: var(--text-muted, #6b7280) !important;
    line-height: 1.6 !important;
}

.breadcrumbs div[itemprop="itemListElement"] {
    display: inline !important;
}

.breadcrumbs a {
    color: #1f2937 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.breadcrumbs a:hover {
    color: #4f46e5 !important;
    text-decoration: none !important;
}

/* --- SCHEMA BREADCRUMBS CONTAINER & LINK HOVER FIX --- */
.breadcrumbs {
    padding: 14px 20px !important;
    background: var(--surface, #ffffff) !important;
    border-bottom: 1px solid var(--border, #e5e7eb) !important;
    font-size: 13.5px !important;
    color: var(--text-muted, #6b7280) !important;
    line-height: 1.6 !important;
}

.breadcrumbs div[itemprop="itemListElement"] {
    display: inline !important;
}

.breadcrumbs a,
.breadcrumbs a:link,
.breadcrumbs a:visited,
.breadcrumbs a:active {
    color: #1f2937 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    color: #4f46e5 !important;
    text-decoration: none !important;
}
	/* --- SONG PATH / BREADCRUMB STYLING --- */
/* If you add a class like class="path-box" to your div, or style it globally: */
.path-box, div[style*="padding: 5px"] {
    padding: 14px 20px !important;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 13.5px !important;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
}

.path-box a, div[style*="padding: 5px"] a {
    color: var(--primary, #4f46e5);
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.path-box a:hover, div[style*="padding: 5px"] a:hover {
    color: var(--text-main, #1f2937);
    text-decoration: none !important;
}
/* --- SONG DESCRIPTION TEXT STYLING --- */
.song-description, div:has(> font[color="green"]) {
    padding: 16px 20px !important;
    background: var(--surface, #ffffff) !important;
    border-bottom: 1px solid var(--border, #e5e7eb) !important;
    font-size: 14px !important;
    color: var(--text-muted, #6b7280) !important;
    line-height: 1.7 !important;
}

.song-description font[color="green"], div:has(> font[color="green"]) font[color="green"] {
    color: var(--primary, #4f46e5) !important;
    font-weight: 600 !important;
}
	/* --- SONG DETAILS METADATA CARD STYLING (.catpilar) --- */
div[style*="float: left"] {
    float: none !important;
    max-width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

div[style*="float: left"] picture {
    display: block !important;
    width: 100% !important;
    max-width: 200px !important;
    margin: 0 auto !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

div[style*="float: left"] picture:hover {
    border-color: var(--primary, #4f46e5) !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15) !important;
    transform: translateY(-4px) !important;
}

div[style*="float: left"] img {
    width: 100% !important;
    height: auto !important;
    max-width: 170px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 6px !important;
    transition: transform 0.3s ease !important;
}

div[style*="float: left"] picture:hover img {
    transform: scale(1.03) !important;
}

/* --- SONG DETAILS METADATA CARD STYLING --- */
.song-meta {
    font-size: 14px !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
    padding-bottom: 6px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    width: 100% !important;
    display: block !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.song-meta:last-child {
    border-bottom: none !important;
}

.song-meta b {
    color: #1a202c !important;
    font-weight: 600 !important;
    display: inline-block !important;
    min-width: 110px !important;
}

.song-meta a {
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.song-meta a:hover {
    text-decoration: underline !important;
}

.song-meta:first-child {
    font-weight: 600 !important;
    color: #1e3c72 !important;
}

.song-meta font, 
.song-meta span {
    display: inline !important;
    white-space: normal !important;
}

/* --- RESPONSIVE OVERRIDE FOR MOBILE/SMALL SCREENS --- */
@media (max-width: 799px) {
    .song-meta {
        font-size: 13px !important;
        padding-bottom: 5px !important;
    }

    .song-meta b {
        min-width: auto !important;
        width: auto !important;
        display: inline !important;
    }
}

/* --- GLOBAL HYPERLINK STATES & STYLING (#1f2937 Link Color) --- */
a, 
a:link, 
a:visited, 
a:active {
    color: #1f2937 !important;
    text-decoration: none !important;
}

a:focus {
    color: #000000 !important;
    text-decoration: none !important;
    outline: none;
}

a:hover {
    color: #4f46e5 !important;
    text-decoration: none !important;
}	


	.catbiu {
    padding: 15px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #333333;
}

.catbiu input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin: 6px 6px 0 0;
    font-size: 14px;
}

.catbiu input[type="submit"] {
    padding: 8px 16px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
 /* --- CATEGORY LIST NAVIGATION CSS (Applied to <a> tags) --- */
a:has(>.cat-link), 
a:has(.cat-link) {
    display: flex !important;
    align-items: center !important;
    padding: 16px 20px !important;
    color: #1f2937 !important;
    text-decoration: none !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid var(--border, #e5e7eb) !important;
    background: var(--surface, #ffffff) !important;
    transition: background-color 0.2s ease, padding-left 0.2s ease, color 0.2s ease !important;
}

a:has(>.cat-link) div.cat-link, 
a:has(.cat-link) div.cat-link {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    display: inline !important;
}

a:has(>.cat-link):hover, 
a:has(.cat-link):hover {
    background-color: var(--hover-bg, #f9fafb) !important;
    color: #4f46e5 !important;
    padding-left: 24px !important;
    text-decoration: none !important;
}
 /* --- MANZDA DESCRIPTION BOX STYLING --- */
.manzda {
    margin: 15px 0 !important;
    padding: 16px 20px !important;
    background: var(--surface, #ffffff) !important;
    border: 1px solid var(--border, #e5e7eb) !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    color: var(--text-muted, #6b7280) !important;
    line-height: 1.6 !important;
    clear: both !important;
}

.manzda a {
    color: var(--primary, #375691) !important;
    text-decoration: none !important;
}

.manzda a:hover {
    color: #4f46e5 !important;
    text-decoration: underline !important;
}
          
 /* --- SEARCH BAR STYLING (.site-search) --- */
.site-search {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 20px !important;
    background-color: var(--surface) !important;
    border-bottom: 1px solid var(--border) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.site-search form {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.site-search input[type="text"] {
    flex: 1 !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: var(--text-main) !important;
    background-color: var(--hover-bg) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 10px !important;
    outline: none !important;
    transition: all 0.25s ease-in-out !important;
}

.site-search input[type="text"]:focus {
    background-color: var(--surface) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.site-search select {
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: var(--text-main) !important;
    background-color: var(--hover-bg) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 10px !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
}

.site-search select:focus {
    background-color: var(--surface) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.site-search input[type="submit"] {
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    color: #ffffff !important;
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.25s ease-in-out !important;
}

.site-search input[type="submit"]:hover {
    opacity: 0.95 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
}

.site-search input[type="submit"]:active {
    transform: translateY(0) !important;
}

/* --- MOBILE RESPONSIVE SEARCH BAR --- */
@media (max-width: 540px) {
    .site-search {
        padding: 12px 14px !important;
    }

    .site-search form {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .site-search input[type="text"],
    .site-search select,
    .site-search input[type="submit"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


#dle-content .file-list-view {
  list-style: none;
  padding: 0;
  margin: 0;
}

#dle-content .list-item {
  margin-bottom: 12px;
}

#dle-content .list-item > a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#dle-content .list-item > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  background-color: #fafbfc;
}

/* Thumbnail Container */
#dle-content .list-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f3f5;
}

#dle-content .list-thumb picture,
#dle-content .list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Details Container */
#dle-content .list-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0; /* Crucial for text truncation (ellipsis) */
}

#dle-content .file-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

#dle-content .artist-name {
  font-size: 13px;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow Icon */
#dle-content .list-arrow {
  color: #adb5bd;
  font-size: 14px;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

#dle-content .list-item > a:hover .list-arrow {
  color: #007bff;
  transform: translateX(4px);
}

