.baka-video-card-section {
    background: #ffffff;
    padding-top: 35px !important;
    padding-bottom: 25px;
    clear: both;
}

.baka-video-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.baka-video-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #1b1b1b;
    box-shadow: 0 12px 30px rgba(0, 32, 70, 0.14);
    transition: all .25s ease;
    height: 100%;
}

.baka-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 32, 70, 0.22);
}

.baka-card-img {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.baka-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12,45,82,.05), rgba(12,45,82,.25));
}

.baka-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.baka-video-btn img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    transition: transform .2s ease;
}

.baka-video-btn:hover img {
    transform: scale(1.08);
}

.baka-card-content {
    padding: 18px 18px 22px;
    height: 190px; /* tüm kartların metin alanı aynı olur */
}

.baka-card-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #082f57;
    margin: 0 0 8px;
}

.baka-card-content p {
    font-size: 14px;
    line-height: 1.45;
    color: #555;
    margin: 0;

     display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.baka-video-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,.78);
    align-items: center;
    justify-content: center;
}

.baka-video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
}

.baka-video-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.baka-video-close {
    position: absolute;
    right: -18px;
    top: -45px;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
}


@media(max-width: 992px) {
    .baka-video-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px) {
    .baka-video-card-grid {
        grid-template-columns: 1fr;
    }
}

.baka-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 35px;
}

.baka-section-title h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    color: #082f57;
    text-align: center;
    line-height: 1.2;
}

.baka-section-title span {
    display: block;
    width: 260px;
    height: 3px;
    background: #082f57;
    position: relative;
}

.baka-section-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -7px;
    width: 12px;
    height: 12px;
    background: #082f57;
    border-radius: 50%;
    transform: translateY(-50%);
}

.baka-section-title span:first-child::after {
    right: auto;
    left: -7px;
}

@media(max-width: 992px) {
    .baka-section-title h2 {
        font-size: 32px;
    }

    .baka-section-title span {
        width: 120px;
    }
}

@media(max-width: 576px) {
    .baka-section-title {
        gap: 12px;
        margin-bottom: 25px;
    }

    .baka-section-title h2 {
        font-size: 26px;
    }

    .baka-section-title span {
        width: 45px;
    }
}
