/**
 * WeezirTech Featured Manşet & Trending Bar Styles
 * Clean, modern, high-contrast dark aesthetic matching reference design (media_1792183763131_fd827cb2.jpg).
 * Strictly scoped to #featuredMansetSection.
 */

#featuredMansetSection {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   1. POPÜLER ARAMALAR BAR (Modern Sleek Dark Capsule Dock)
   ========================================================================== */
.manset-trending-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0e1222 0%, #090d18 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px 14px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.25);
    overflow-x: auto;
    scrollbar-width: none;
}

.manset-trending-bar::-webkit-scrollbar {
    display: none;
}

.manset-trending-label {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding-right: 4px;
    letter-spacing: -0.2px;
}

.manset-trending-label svg {
    stroke: #818cf8;
    filter: drop-shadow(0 0 4px rgba(129, 140, 248, 0.5));
}

.manset-trending-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.manset-trending-chips::-webkit-scrollbar {
    display: none;
}

.manset-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #f1f5f9;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.manset-chip:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.manset-chip-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 13px;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.2s ease;
}

.manset-chip-arrow:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
}

/* ==========================================================================
   2. UPPER GRID (Left Main Hero Card + Right 3 Stacked Cards)
   ========================================================================== */
.manset-upper-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
    align-items: stretch;
}

@media (max-width: 960px) {
    .manset-upper-grid {
        grid-template-columns: 1fr;
    }
}

/* Main Hero Card (Large Left Card) */
.manset-hero-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #0e1222 0%, #090d18 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
    display: flex;
    text-decoration: none;
    color: inherit;
    min-height: 380px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.manset-hero-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 20px 45px -10px rgba(99, 102, 241, 0.25);
}

.manset-hero-info {
    flex: 1.15;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

.manset-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.manset-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.manset-badge-trend {
    background: #ef4444;
    color: #ffffff;
}

.manset-hero-subtitle {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.4;
}

.manset-hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Inter', -apple-system, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.manset-hero-summary {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.manset-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.manset-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.manset-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0b0f19;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.2s ease;
    width: fit-content;
}

.manset-hero-card:hover .manset-hero-btn {
    background: #e2e8f0;
    transform: translateX(3px);
}

.manset-hero-visual {
    flex: 0.85;
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.manset-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.manset-hero-card:hover .manset-hero-img {
    transform: scale(1.04);
}

.manset-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0e1222 0%, rgba(14, 18, 34, 0.35) 45%, transparent 100%);
    pointer-events: none;
}

.manset-play-badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 2;
}

@media (max-width: 680px) {
    .manset-hero-card {
        flex-direction: column;
    }
    .manset-hero-visual {
        min-height: 200px;
        order: -1;
    }
    .manset-hero-overlay {
        background: linear-gradient(to top, #0e1222 0%, rgba(14, 18, 34, 0.2) 60%, transparent 100%);
    }
}

/* Right Stack (3 Cards) */
.manset-side-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.manset-side-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #0c101c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease;
    flex: 1;
}

.manset-side-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: #111625;
}

.manset-side-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    overflow: hidden;
}

.manset-side-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.manset-side-meta {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.manset-side-thumb-wrap {
    width: 110px;
    height: 75px;
    min-width: 110px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}

.manset-side-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.manset-side-card:hover .manset-side-thumb {
    transform: scale(1.06);
}

/* ==========================================================================
   3. LOWER GRID (5 Cards in a Row)
   ========================================================================== */
.manset-bottom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

@media (max-width: 1080px) {
    .manset-bottom-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .manset-bottom-grid {
        grid-template-columns: 1fr;
    }
}

.manset-bottom-card {
    display: flex;
    flex-direction: column;
    background: #0c101c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease;
}

.manset-bottom-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.4);
    background: #111625;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.manset-bottom-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    margin-bottom: 10px;
}

.manset-bottom-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.manset-bottom-card:hover .manset-bottom-thumb {
    transform: scale(1.05);
}

.manset-bottom-title {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.manset-bottom-meta {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
