/* Video Block and Container Styles */
.video-block {
    margin-bottom: 2rem;
    width: 96%;
    display: block;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    width: 100%;
    display: block;
}

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

.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    display: block;
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    display: block;
}

/* Video Carousel Styles */
.video-carousel-container {
    position: relative;
    width: 100%;
    min-height: 660px;
    display: flex;
    flex-direction: column;
}

.video-carousel-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}

.video-carousel-item.active {
    display: block;
    opacity: 1;
}

.video-carousel-headline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #e67e00;
    margin-bottom: 8px;
    text-align: center;
    margin-top: 16px;
}

.video-carousel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
    min-height: 3rem;
}

.video-carousel-hashtags {
    font-size: 0.9rem;
    color: #888;
    margin-top: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.video-carousel-cta {
    text-align: center;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 8px;
}

.video-carousel-cta .desktop-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #c56600;
    color: #fff;
    border: 1px solid #c56600;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-carousel-cta .desktop-login-btn:hover {
    background: #1db954;
    border-color: #1db954;
}

.video-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.video-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.video-carousel-dot:hover {
    background: #666;
    transform: scale(1.2);
}

.video-carousel-dot.active {
    background: #e67e00;
    transform: scale(1.3);
}

/* Horizontal Video Scroll Styles */
.video-block-96 {
    position: relative;
    width: 96%;
    max-width: 1400px;
    margin: 0 auto 64px auto;
    padding: 0;
}

.horizontal-video-scroll-wrapper {
    position: relative;
    width: 100%;
}

.horizontal-video-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 24px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #888 #333;
    width: 100%;
}

.horizontal-video-scroll::-webkit-scrollbar {
    height: 10px;
}

.horizontal-video-scroll::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 5px;
}

.horizontal-video-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.horizontal-video-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.horizontal-video-item {
    flex: 0 0 500px;
    min-width: 500px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

/* Scroll Navigation Arrows */
.horizontal-scroll-nav {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    background: rgba(36, 36, 36, 0.85);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #e67e00;
    font-size: 48px;
    font-weight: bold;
    user-select: none;
}

.horizontal-scroll-nav:hover {
    background: rgba(230, 126, 0, 0.95);
    color: #fff;
}

.horizontal-scroll-nav.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

.horizontal-scroll-nav-left {
    left: 0;
    border-right: 2px solid rgba(68, 68, 68, 0.5);
}

.horizontal-scroll-nav-right {
    right: 0;
    border-left: 2px solid rgba(68, 68, 68, 0.5);
}

.horizontal-video-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}

.horizontal-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

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

.horizontal-video-hashtags {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

/* CTA Block Styles */
.cta-block {
    position: relative;
    width: 96%;
    max-width: 1400px;
    margin: 80px auto 80px auto;
    padding: 0;
    clear: both;
    display: block;
}

.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: nowrap;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cta-buttons-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .cta-block {
        margin: 48px auto;
    }
}

@media (max-width: 768px) {
    .horizontal-scroll-nav {
        width: 48px;
        font-size: 36px;
    }

    .horizontal-video-item {
        width: 85vw;
    }
}

