/*
 * 3. Premium Home Layout and Grid (Updated Layout & No Underline)
 */
.mehena-home-wrapper {
    max-width: 1200px;
    width: 92%;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.mehena-section {
    margin-bottom: 70px;
}

/* Header - Keep on same line (Desktop & Mobile) */
.mehena-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #111827;
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.mehena-section-title {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 900;
    color: #111827;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

/* Eye-catching orange accent before the category title */
.mehena-section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: #f59e0b;
    border-radius: 4px;
}

.mehena-view-more {
    background: transparent;
    color: #111827 !important;
    padding: 6px 16px;
    border: 2px solid #111827;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevents breaking into multiple lines */
}

.mehena-view-more:hover {
    background: #f59e0b;
    color: #111827 !important;
    border-color: #f59e0b;
}

/* Premium Grid Container */
.mehena-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* COMPLETELY REMOVE UNDERLINES FROM ALL LINKS IN GRID */
.mehena-grid a {
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Premium Card Design */
.mehena-premium-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mehena-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
}

.premium-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.premium-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mehena-premium-card:hover .premium-card-img img {
    transform: scale(1.08);
}

.premium-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: #111827;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
}

.premium-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
    font-weight: 700;
}

.premium-meta svg {
    color: #f59e0b;
    width: 14px;
    height: 14px;
}

.premium-title {
    margin: 0 0 15px 0;
}

.premium-title a {
    color: #111827 !important;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 800;
    line-height: 1.4;
    transition: color 0.3s;
    text-decoration: none !important; /* Forces no underline */
}

.mehena-premium-card:hover .premium-title a {
    color: #f59e0b !important;
}

.premium-read-more {
    margin-top: auto;
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #111827 !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.mehena-premium-card:hover .premium-read-more {
    color: #f59e0b !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .mehena-home-wrapper { width: 100%; padding: 0 15px; }
    /* Force header items to stay on the same row */
    .mehena-section-header { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 10px; }
    .mehena-section-title { font-size: 16px; }
    .mehena-view-more { font-size: 10px; padding: 5px 12px; flex-shrink: 0; }
}
