/**
 * NPL Sports Pro Theme - Content Filters & Read Also Widget Styles
 * Path: assets/css/content-filters.css
 * Responsive: 7 Breakpoints (Fluid Typography with clamp & vw)
 */

/* ============================================================
   01. READ ALSO WIDGET CONTAINER
   ============================================================ */

.npl-read-also-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: clamp(12px, 1.5vw, 18px) !important;
    margin: 12px 0 20px 20px !important;
    width: 340px !important;
    float: right !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    clear: right !important;
    box-sizing: border-box !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.npl-read-also-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* ============================================================
   02. WIDGET HEADER (READ ALSO: / यो पनि पढ्नुहोस्:)
   ============================================================ */

.read-also-header {
    font-weight: 800 !important;
    font-size: clamp(13px, 1.1vw, 15px) !important;
    color: #dd0000 !important; /* Brand Accent Red */
    margin-bottom: 14px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #fee2e2 !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
}

.read-also-header i {
    font-size: 14px !important;
    color: #dd0000 !important;
}

/* ============================================================
   03. READ ALSO ITEM LIST & THUMBNAILS
   ============================================================ */

.read-also-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.read-also-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: #111111 !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    background: #f9fafb !important;
    border: 1px solid #f3f4f6 !important;
    transition: all 0.25s ease !important;
}

.read-also-item:hover {
    background: #ffffff !important;
    border-color: #0010a0 !important;
    box-shadow: 0 3px 10px rgba(0, 16, 160, 0.08) !important;
    transform: translateX(3px) !important;
}

.read-also-thumb {
    flex-shrink: 0 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
}

.read-also-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.read-also-item:hover .read-also-thumb img {
    transform: scale(1.1) !important;
}

.read-also-title {
    font-size: clamp(12px, 1vw, 13.5px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #1f2937 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
}

.read-also-item:hover .read-also-title {
    color: #0010a0 !important; /* Brand Primary Blue */
}

/* ============================================================
   04. IN-CONTENT FEATURED IMAGE & AD SLOTS
   ============================================================ */

.in-content-featured-card {
    max-width: 100% !important;
    margin: 25px auto !important;
    border: 1px solid #e5e7eb !important;
    background-color: #f9fafb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.ad-in-content {
    margin: 25px 0 !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* ============================================================
   05. 7 DEVICES RESPONSIVE STANDARDS
   ============================================================ */

/* 1. 4K & Ultra Wide (1441px+) */
@media (min-width: 1441px) {
    .npl-read-also-card {
        width: 380px !important;
    }
}

/* 2. Desktop Standard (1025px - 1440px) */
@media (max-width: 1440px) {
    .npl-read-also-card {
        width: 340px !important;
    }
}

/* 3. Small Laptop / Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) {
    .npl-read-also-card {
        width: 300px !important;
        margin: 10px 0 15px 15px !important;
        padding: 12px !important;
    }
}

/* 4. Tablet Portrait (641px - 768px) */
@media (max-width: 768px) {
    .npl-read-also-card {
        float: none !important;
        width: 100% !important;
        margin: 20px 0 !important;
        clear: both !important;
    }
}

/* 5. Mobile Large (481px - 640px) */
@media (max-width: 640px) {
    .npl-read-also-card {
        float: none !important;
        width: 100% !important;
        margin: 20px 0 !important;
    }
}

/* 6. Mobile Medium (321px - 480px) */
@media (max-width: 480px) {
    .npl-read-also-card {
        float: none !important;
        width: 100% !important;
        padding: 12px !important;
    }
    .read-also-thumb {
        width: 45px !important;
        height: 45px !important;
    }
}

/* 7. Mobile Small (320px and below) */
@media (max-width: 320px) {
    .npl-read-also-card {
        padding: 10px !important;
    }
    .read-also-thumb {
        width: 40px !important;
        height: 40px !important;
    }
    .read-also-title {
        font-size: 11.5px !important;
    }
}