.kdf-yt-container {
width: 100%;
margin: 40px 0;
position: relative;
font-family: inherit;
}
.kdf-yt-container * {
box-sizing: border-box;
} .kdf-yt-container .kdf-tabs {
display: flex !important;
gap: 12px;
margin-bottom: 25px;
flex-wrap: wrap;
}
.kdf-yt-container .kdf-tabs button {
all: unset;
padding: 10px 22px;
border-radius: 30px;
background: #f2f6f8;
color: #333;
cursor: pointer;
font-weight: 600;
font-size: 14px;
box-shadow: 0 2px 6px rgba(0,0,0,.1);
transition: all .25s ease;
}
.kdf-yt-container .kdf-tabs button:hover {
background: #22b3c9;
color: #fff;
transform: translateY(-2px);
}
.kdf-yt-container .kdf-tabs button.active {
background: #22b3c9;
color: #fff;
} .kdf-yt-container .kdf-tab {
display: none !important;
}
.kdf-yt-container .kdf-tab.active {
display: block !important;
} .kdf-yt-container .kdf-grid {
display: flex !important;
gap: 22px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding: 10px 5px 20px;
}
.kdf-yt-container .kdf-grid::-webkit-scrollbar {
height: 8px;
}
.kdf-yt-container .kdf-grid::-webkit-scrollbar-thumb {
background: #22b3c9;
border-radius: 4px;
} .kdf-yt-container .kdf-card {
min-width: 400px;
background: #fff;
border-radius: 18px;
padding: 14px;
box-shadow: 0 6px 18px rgba(0,0,0,.12);
scroll-snap-align: start;
transition: transform .3s ease, box-shadow .3s ease;
}
.kdf-yt-container .kdf-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 28px rgba(0,0,0,.18);
} .kdf-yt-container .kdf-card iframe {
width: 100% !important;
height: 209px !important;
display: block !important;
border-radius: 5px;
margin: 0 !important;
padding: 0 !important;
} .kdf-yt-container .kdf-card p {
margin: 10px 4px 0;
font-weight: 600;
font-size: 14px;
line-height: 1.4;
color: #2b2b2b;
} .kdf-thumb {
position: relative;
cursor: pointer;
aspect-ratio: 16 / 9;
overflow: hidden;
}
.kdf-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 6px;
}
.kdf-play-btn {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 60px;
color: white;
background: rgba(0,0,0,.35);
border-radius: 6px;
opacity: 0;
transition: .3s;
}
.kdf-card:hover .kdf-play-btn {
opacity: 1;
} .kdf-modal {
position: fixed;
inset: 0;
background: rgba(10, 14, 18, 0.85);
backdrop-filter: blur(6px);
display: none;
z-index: 99999;
}
.kdf-modal.showw {
display: flex;
animation: kdfFadeIn .3s ease;
align-items: center;
justify-content: center;
}
@keyframes kdfFadeIn {
from { opacity: 0 }
to { opacity: 1 }
}
.kdf-modal-content {
width: 85%;
max-width: 960px;
background: #000;
border-radius: 18px;
overflow: hidden;
position: relative;
box-shadow: 0 40px 120px rgba(0,0,0,.6);
transform: scale(.9);
animation: kdfZoom .35s ease forwards;
}
@keyframes kdfZoom {
to { transform: scale(1) }
} .kdf-modal-video {
position: relative;
width: 100%;
padding-top: 56.25%;
}
.kdf-modal-video iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: none;
} .kdf-modal-close {
position: absolute;
top: 14px;
right: 14px;
width: 42px;
height: 42px;
border-radius: 50%;
background: rgba(255,255,255,.15);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 22px;
cursor: pointer;
transition: .25s;
z-index: 2;
}
.kdf-modal-close:hover {
background: #22b3c9;
transform: rotate(90deg);
}
.kdf-search{
width:100%;
max-width:400px;
padding:12px 18px;
border-radius:30px;
border:2px solid #22b3c9;
margin-bottom:25px;
font-size:14px;
outline:none;
}