/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =========================================
   VİDEOLAR SAYFASI - THUMBNAIL -> OYNAT
========================================= */

.video-filter-wrap {
    width: 100%;
}

.video-marka-filtreleri {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.video-filter-btn {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    transition: all .2s ease;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.video-filter-btn:hover,
.video-filter-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: all .25s ease;
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

/* thumbnail butonu default görünümü sıfırla */
.video-thumb-button {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* hem thumbnail hem iframe aynı oranı kullansın */
.video-thumb-wrap,
.video-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    margin-bottom: 12px;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* iframe tam kaplasın */
.video-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* play rozeti */
.video-play-badge{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    width:68px;
    height:68px;
    border-radius:50%;
    background:rgba(255, 0, 0, 0.88) !important;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0;
    line-height:0;
    color:transparent;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
    border:0 !important;
}

.video-play-badge::before{
    content:"";
    display:block;
    width:0;
    height:0;
    margin-left:4px;
    border-top:11px solid transparent;
    border-bottom:11px solid transparent;
    border-left:18px solid #fff;
}

.video-thumb-button:hover .video-play-badge {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(220, 0, 0, 0.96);
}

.video-marka-name {
    text-align: center;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* YouTube butonu */
.video-youtube-link {
    display: flex;
    width: max-content;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ff0000;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: all .2s ease;
}

.video-youtube-link:hover {
    background: #d90000;
    color: #fff !important;
    text-decoration: none !important;
}

/* Load more */
.video-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.video-load-more-btn {
    padding: 12px 22px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}

.video-load-more-btn:hover {
    background: #333;
    border-color: #333;
}

.video-empty {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}

/* responsive */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
/* Thumbnail üzerindeki mavi button/focus kalıntılarını temizle */
.video-thumb-button{
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 14px; /* kart içindeki görsel radius ile aynı */
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.video-thumb-button:hover,
.video-thumb-button:focus,
.video-thumb-button:active{
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Görsel alanı da mavi arka plan/focus vermesin */
.video-player-box{
    border-radius: 14px;
    overflow: hidden;
}

/* İstersen hover'da sadece hafif bir kararma verelim */
.video-thumb-wrap::after{
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background .2s ease;
    pointer-events: none;
}

.video-thumb-button:hover .video-thumb-wrap::after{
    background: rgba(0,0,0,.08);
}