/* ============================================================
   MJ Horizontal List — Saraya style
   ============================================================ */
.mjhl-wrap { width: 100%; box-sizing: border-box; font-family: inherit; }

/* Header */
.mjhl-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }

.mjhl-header-title-wrap { position: relative; }
.mjhl-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    padding-right: 14px;
    border-right: 4px solid #dc2626;
    text-decoration: none;
    display: block;
}
.mjhl-section-title:hover { opacity: 0.85; }
.mjhl-title-underline {
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(to left, rgba(220,38,38,0) 0%, rgba(220,38,38,0.5) 50%, #dc2626 100%);
}

.mjhl-more {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 600; color: #dc2626;
    text-decoration: none;
}
.mjhl-more:hover { opacity: 0.8; }

/* List container — white rounded box */
.mjhl-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mjhl-divider .mjhl-item { border-bottom: 1px solid #f3f4f6; }
.mjhl-divider .mjhl-item:last-child { border-bottom: none; }

/* Item */
.mjhl-item { transition: background 0.15s; }
.mjhl-item:hover { background: #f9fafb; }

.mjhl-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

/* Thumb — LEFT side */
.mjhl-thumb {
    width: 90px;
    min-width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    flex-shrink: 0;
    position: relative;
}
.mjhl-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.mjhl-item:hover .mjhl-thumb img { transform: scale(1.05); }

/* Content */
.mjhl-content { flex: 1; min-width: 0; }

.mjhl-meta-top {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px; flex-wrap: wrap;
}

.mjhl-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 11px; font-weight: 600;
    background: rgba(220,38,38,0.08);
    color: #dc2626;
}

.mjhl-date {
    display: flex; align-items: center; gap: 3px;
    font-size: 11px; color: #9ca3af;
}

.mjhl-title {
    margin: 0; font-size: 14px; font-weight: 700; color: #111827;
    line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color 0.2s;
}
.mjhl-item:hover .mjhl-title { color: #dc2626; }

/* Responsive */
@media (max-width: 767px) {
    /* Force all 25% Horizontal List sidebar columns to full width and stack */
    .elementor-element-bedca23 {
        flex-direction: column !important;
        --flex-direction: column !important;
    }
    .elementor-element-0d08f48,
    .elementor-element-b2c31df,
    .elementor-element-510f93a,
    .elementor-element-4128d5e {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media (max-width: 480px) {
    .mjhl-thumb { width: 72px; min-width: 72px; height: 56px; }
    .mjhl-title { font-size: 13px; }
    .mjhl-link { padding: 10px 12px; gap: 10px; }
}
