﻿.hero {
    position: relative;
}

    .hero img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        display: block;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0,0,0,.40), rgba(0,0,0,.25), rgba(0,0,0,.10) );
}

.hero-content {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.title {
    color: #fff;
    font-size: 30px;
    line-height: 1.1;
    margin: 6px 0 0;
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

.org {
    color: #e2e8f0;
    font-size: 14px;
}

.kv {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 680px) {
    .kv {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kv .item {
    border: 1px dashed #e2e8f0;
    border-radius: 12px;
    padding: 12px;
}

.kv .k {
    font-size: 12px;
    color: var(--muted);
}

.kv .v {
    font-weight: 600;
    font-size: 15px;
}

.list {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    margin: 0;
}

    .list li {
        line-height: 1.4;
    }

.muted {
    color: var(--muted);
}

.small {
    font-size: 12px;
}

.aside-sticky {
    position: sticky;
    top: 80px;
    z-index: 9999;
}

.apply-steps {
    display: grid;
    gap: 14px;
}

.apply-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.dot {
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1px solid var(--chip-border);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #065f46;
}

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 14px 0;
}

footer {
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.7);
}

.foot {
    display: grid;
    gap: 8px;
    padding: 24px 0;
    color: #475569;
    font-size: 14px;
}

@media (max-width: 720px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.program-header {
    background: #eef2f6;
    border-radius: 16px;
}

.program-thumb {
    width: 124px;
    height: 124px;
    object-fit: cover;
    border-radius: 10px;
}

.kv-list {
    display: grid;
}

.kv-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #dee2e6;
    font-size: 14px;
}

    .kv-row:last-child {
        border-bottom: none;
    }

@media (max-width: 768px) {
    .kv-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.youtube-container {
    position: relative;
    width: 100%;
    max-width: 960px; /* optional: limits width */
    margin: 1rem auto; /* centers the video */
    aspect-ratio: 16 / 9; /* modern, clean solution */
    background-color: #000; /* prevents white flash */
    border-radius: 8px; /* optional styling */
    overflow: hidden;
}

    .youtube-container iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.intro-list{
    max-width: 50%;
    margin: auto;
}

@media (max-width: 1200px) {
    .intro-list {
        max-width: 75%;
        margin: auto;
    }
}

@media (max-width: 992px) {
    .intro-list {
        max-width: 100%;
        margin: auto;
    }
}