.hero {
    display: flex;
    align-items: center;
    min-height: 140px;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.home-hero {
    margin-bottom: 8px;
}

.hero-copy {
    max-width: 700px;
}

.hero-copy h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 2.5vw, 2.6rem);
}

.hero-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.home-section {
    margin-top: 34px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.55rem;
}

.section-header a {
    color: var(--muted);
    font-size: 0.92rem;
}

.video-card {
    background: rgba(17, 24, 39, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    overflow: hidden;
    min-height: 270px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.video-card:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.24);
}

.video-thumb {
    position: relative;
    display: block;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.video-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.video-body {
    display: grid;
    grid-template-columns: 42px 1fr 32px;
    gap: 12px;
    align-items: start;
    padding: 12px 12px 16px;
}

.video-channel-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.video-info {
    min-width: 0;
}

.video-title {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.video-title a {
    color: var(--text);
    text-decoration: none;
}

.video-channel,
.video-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.5;
}

.video-menu {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding-top: 4px;
}

.home-chips {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.home-chip {
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 8px 14px;
    background: rgba(148, 163, 184, 0.14);
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
}

.home-chip:hover {
    background: rgba(148, 163, 184, 0.26);
}

.home-chip[aria-current="page"] {
    background: var(--text);
    color: #111827;
    font-weight: 700;
}
