/*
 * NPL Sports Pro Theme - Grid Block L Styling
 * Path: assets/css/custom-widgets/npl-grid-block-l.css
 * Fully Responsive for 7 Devices
 */

.npl-grid-l-wrapper {
    margin-bottom: 40px;
    font-family: inherit;
}

/* --- Block Header --- */
.npl-grid-l-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
    position: relative;
}

.npl-grid-l-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    padding-bottom: 10px;
    position: relative;
}

.npl-grid-l-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color, #dd0000);
}

.view-all-btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    text-decoration: none;
}

/* --- Content Layout --- */
.npl-grid-l-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* 60% Left, 40% Right */
    gap: 30px;
}

/* --- Featured Card (Left) --- */
.npl-grid-l-featured-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.npl-grid-l-featured-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.npl-featured-thumb {
    position: relative;
    overflow: hidden;
}

.npl-featured-thumb img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.npl-grid-l-featured-card:hover .npl-featured-thumb img {
    transform: scale(1.05);
}

.npl-cat-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.npl-featured-body {
    padding: 20px;
}

.npl-featured-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.npl-featured-title a {
    color: #111;
    text-decoration: none;
}

.npl-featured-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.npl-featured-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* --- List Items (Right) --- */
.npl-list-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.npl-list-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.npl-list-thumb {
    width: 120px;
    flex-shrink: 0;
}

.npl-list-thumb img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 5px;
}

.npl-list-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.npl-list-title a {
    color: #222;
    text-decoration: none;
}

/* ===================================================================
 * RESPONSIVE: 7 DEVICES STANDARDS
 * =================================================================== */

/* 1. 4K Monitor (2560px+) */
@media (min-width: 2560px) {
    .npl-featured-title { font-size: 36px; }
    .npl-featured-thumb img { height: 600px; }
    .npl-list-thumb { width: 200px; }
    .npl-list-title { font-size: 22px; }
}

/* 2. Desktop (Standard - 1440px) */
/* (Default styles above cover this) */

/* 3. Laptop (1200px) */
@media (max-width: 1200px) {
    .npl-grid-l-content { gap: 20px; }
    .npl-featured-title { font-size: 20px; }
}

/* 4. Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .npl-grid-l-content { grid-template-columns: 1fr 1fr; }
    .npl-featured-thumb img { height: 300px; }
}

/* 5. Tablet Portrait (768px) */
@media (max-width: 768px) {
    .npl-grid-l-content { grid-template-columns: 1fr; } /* Stack columns */
    .npl-featured-thumb img { height: 350px; }
    .npl-list-container { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
}

/* 6. Mobile Large (425px) */
@media (max-width: 425px) {
    .npl-list-container { grid-template-columns: 1fr; }
    .npl-featured-title { font-size: 18px; }
    .npl-grid-l-title { font-size: 18px; }
}

/* 7. Mobile Small (320px - 375px) */
@media (max-width: 375px) {
    .npl-featured-thumb img { height: 220px; }
    .npl-list-thumb { width: 90px; }
    .npl-list-title { font-size: 13px; }
    .npl-featured-body { padding: 15px; }
}