/* Economy Strip - Strict Specs from home-page.html - FIXED */
:root {
    --bl-md: rgba(30,115,190,.1);
    --bl-dk: #155a96;
    --or-md: rgba(251,139,1,.12);
    --or-dk: #d97000;
}

.eco-strip {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    margin-bottom: 26px;
}

.eco-head {
    background: linear-gradient(135deg, #1e73be, #155a96);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eco-head-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Kufi Arabic', sans-serif;
}

.eco-head-more {
    font-size: 11px;
    color: rgba(255,255,255,.8);
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 4px 14px;
    border-radius: 20px;
    transition: all .2s;
    text-decoration: none;
}

.eco-head-more:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.eco-rows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
}

.eco-row {
    padding: 16px;
    border-left: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
    display: block;
}

.eco-row:last-child {
    border-left: none;
}

.eco-row:hover {
    background: #fcfcfc;
}

/* Rounded Images - FIXED with !important */
.eco-row img {
    height: 100px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important; /* Rounded corners */
    margin-bottom: 10px !important;
    display: block !important;
}

/* Badge Style - Exact Specs */
.eco-row .bdg {
    display: inline-flex;
    align-items: center;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 9px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.eco-row .bdg.bl { background: var(--bl-md) !important; color: var(--bl-dk) !important; }
.eco-row .bdg.or { background: var(--or-md) !important; color: var(--or-dk) !important; }

.eco-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.55;
    color: #222;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px; /* Fixed height for alignment */
}

.eco-row:hover .eco-title {
    color: #1e73be;
}

.eco-meta {
    font-size: 10.5px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f9f9f9;
    padding-top: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .eco-rows { grid-template-columns: repeat(2, 1fr); }
    .eco-row:nth-child(2) { border-left: none; }
    .eco-row:nth-child(even) { border-left: none; }
    .eco-row:nth-child(n+3) { border-top: 1px solid #f0f0f0; }
}
