/* Video Embed Responsive */
.yts-responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.yts-responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Single Post Video Wrapper */
.yts-video-wrapper {
    margin: 30px 0;
    text-align: center;
}

.yts-video-wrapper iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.yts-video-full {
    margin: 30px auto;
    max-width: 100%;
}

.yts-video-small {
    max-width: 560px;
    margin: 30px auto;
}

.yts-video-medium {
    max-width: 720px;
    margin: 30px auto;
}

.yts-video-large {
    max-width: 960px;
    margin: 30px auto;
}

/* Video Details */
.yts-video-details {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.yts-video-details span {
    font-size: 14px;
    color: #666;
}

/* Video Description Section */
.yts-video-description-section {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}

.yts-video-description-section h4 {
    margin-top: 0;
    color: #2271b1;
}

/* Related Videos */
.yts-related-videos {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #e0e0e0;
}

.yts-related-videos h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.yts-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.yts-related-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.yts-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.yts-related-item img {
    width: 100%;
    height: auto;
    display: block;
}

.yts-related-item h4 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
}

.yts-related-item a {
    text-decoration: none;
    color: inherit;
}

/* Gallery Layouts */
.yts-gallery {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.yts-cols-2 { grid-template-columns: repeat(2, 1fr); }
.yts-cols-3 { grid-template-columns: repeat(3, 1fr); }
.yts-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive Gallery */
@media (max-width: 768px) {
    .yts-cols-3,
    .yts-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .yts-cols-2,
    .yts-cols-3,
    .yts-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .yts-related-grid {
        grid-template-columns: 1fr;
    }
}

.yts-gallery-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.yts-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.yts-gallery-item img {
    width: 100%;
    height: auto;
}

.yts-gallery-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
}

/* List Layout */
.yts-layout-list .yts-gallery-item {
    display: flex;
    gap: 20px;
}

.yts-layout-list .yts-gallery-item img {
    width: 200px;
    flex-shrink: 0;
}

/* Email Signup */
.yts-email-signup {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
}

.yts-email-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.yts-email-form button {
    width: 100%;
    padding: 12px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.yts-email-form button:hover {
    background: #135e96;
}

/* Social Share */
.yts-social-share {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.yts-social-share a {
    padding: 10px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.yts-social-share a:hover {
    background: #555;
}

/* Latest Videos */
.yts-latest-videos {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.yts-video-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}
