/* TA Video Library New - Dark Theme */

.ta-video-library-new {
    background: #202025 ;
    padding: 40px 0 50px !important;
    min-height: 100vh;

}
.ta-section-title{color:#fff !important;}

.ta-video-library-new .ssp-header {
    background: #202025 !important;
    padding: 0px 130px 20px 130px !important;
    gap: 10px;
    text-align: center;
    margin-bottom: 32px;
    border-bottom: solid 1px;
}
.entry-content {
    max-width: 1200px;
    margin: 0 auto !important;
}
.entry-content .player .title {
    margin: 15px 0;
    color: #fff;
    text-align: center;
    font-weight: 300;
    display:none;
}
/* Dark mode (light theme) - white backgrounds and dark text */
.darkmode--activated .ta-video-library-new {
    background: #fff !important;
}

.darkmode--activated .ta-video-library-new .ssp-header {
    background: #fff !important;
}

.darkmode--activated .ta-video-library-new .ta-hero-video,
.darkmode--activated .ta-video-library-new .ta-video-card,
.darkmode--activated .ta-video-library-new .ta-accordion-item,
.darkmode--activated .ta-video-library-new .ta-category-tab {
    background: #f5f5f5 !important;
    border-color: #e5e5e5 !important;
}

.darkmode--activated .ta-video-library-new .ssp-subtitle,
.darkmode--activated .ta-video-library-new .ta-featured-title,
.darkmode--activated .ta-video-library-new .ta-section-title,
.darkmode--activated .ta-video-library-new .ta-video-title,
.darkmode--activated .ta-video-library-new .ta-accordion-header h3 {
    color: #1a1a1a !important;
}

.darkmode--activated .ta-video-library-new .ta-featured-description,
.darkmode--activated .ta-video-library-new .ta-featured-meta,
.darkmode--activated .ta-video-library-new .ta-video-meta,
.darkmode--activated .ta-video-library-new .ta-video-count,
.darkmode--activated .ta-video-library-new .pagination-wrapper .page-numbers {
    color: #666 !important;
}

.darkmode--activated .ta-video-library-new .ta-category-tab {
    color: #1a1a1a !important;
}

.darkmode--activated .ta-video-library-new .ta-category-tab.active {
    color: #000 !important;
}

.ta-video-library-new .ssp-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b49551 !important;
    margin-bottom: 8px !important;
}

.ta-video-library-new .ssp-subtitle {
    font-size: 36px;
    font-weight: 700;
    color: #fff !important;
    margin: 0 !important;
}

/* Category Tabs */
.ta-category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.ta-category-tab {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid #27272a;
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ta-category-tab:hover {
    border-color: #b49551;
    color: #fff;
}

.ta-category-tab.active {
    background: linear-gradient(135deg, #b49551 0%, #d4af37 100%);
    border-color: transparent;
    color: #000;
    font-weight: 600;
}

/* Hero Section with Online Player */
.ta-hero-section {
    margin-bottom: 48px !important;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 1600px) {
body.sm-product-template .entry-content, body.sm-product-template .entry-product .entry-content, .page-template .entry-content, .page-template .entry-product .entry-content {
    padding: initial !important;
    max-width: 1200px !important;
    justify-content: space-around;
    text-align: center;
    margin: 0 auto !important;
}}
.ta-hero-video {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg, #18181b 0%, #1f1f23 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #27272a;
}

.ta-hero-player {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    width: 100%;
    order: 2;
}

.ta-hero-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.ta-hero-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ta-play-overlay-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
    text-decoration: none;
}

.ta-hero-thumbnail:hover .ta-play-overlay-link {
    opacity: 1;
}

.ta-hero-info {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    text-align: left;
    order: 1;
}

.ta-hero-info .ta-video-meta {
    order: 3;
    padding: 16px 32px 24px 32px;
    margin: 0 -32px -24px -32px;
}

.ta-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #b49551 0%, #d4af37 100%);
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ta-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.ta-featured-thumbnail:hover .ta-play-overlay,
.ta-video-card:hover .ta-play-overlay {
    opacity: 1;
}

.ta-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(180, 149, 81, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    box-shadow: 0 8px 32px rgba(180, 149, 81, 0.4);
}

.ta-play-btn:hover {
    transform: scale(1.1);
}

.ta-play-btn svg {
    width: 32px;
    height: 32px;
    fill: #000;
    margin-left: 4px;
}

.ta-play-btn.small {
    width: 48px;
    height: 48px;
}

.ta-play-btn.small svg {
    width: 20px;
    height: 20px;
}

.ta-featured-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ta-featured-category {
    color: #b49551 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

.ta-featured-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
    color: #fff !important;
    text-align: left !important;
    margin-top: 0;
}
.dyt-brand-logo {
    height: 150px !important;
    width: 150px !important;
}
.ta-featured-description {
    color: #a1a1aa !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

.ta-featured-meta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    color: #71717a !important;
    font-size: 13px !important;
    text-align: left !important;
}

.ta-featured-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ta-featured-meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* Tab Content */
.ta-tab-content {
    display: none;
    max-width: 1600px;
}

.ta-tab-content.active {
    display: block;
}

/* Section Header */
.ta-section-header {
    margin-bottom: 24px;
}

.ta-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* Accordion */
.ta-accordion-item {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.ta-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.ta-accordion-header:hover {
    background: rgba(180, 149, 81, 0.05);
}

.ta-accordion-header h3 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin: 0;
}

.ta-event-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #b49551 0%, #d4af37 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ta-event-icon svg {
    width: 18px;
    height: 18px;
    fill: #000;
}

.ta-video-count {
    color: #71717a;
    font-size: 13px;
    font-weight: 400;
}

.ta-chevron {
    width: 24px;
    height: 24px;
    color: #71717a;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.ta-accordion-item.open .ta-chevron {
    transform: rotate(180deg);
}

.ta-accordion-content {
    display: none;
    padding: 0 20px 20px;
}

/* Video Grid */
.ta-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.ta-video-card {
    background: #1f1f23;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #27272a;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.ta-video-card:hover {
    transform: translateY(-4px);
    border: 1px solid #b49551 !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.ta-video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ta-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ta-video-card:hover .ta-video-thumbnail img {
    transform: scale(1.05);
}

.ta-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.ta-video-info {
    padding: 14px;
    text-align: left;
}

.ta-video-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
    margin-top: 0 !important;
}

.ta-video-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa !important;
    font-size: 12px;
    text-align: left;
}

/* Pagination - Override for dark theme */
.ta-video-library-new .pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.ta-video-library-new .pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 6px;
    color: #a1a1aa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.ta-video-library-new .pagination-wrapper .page-numbers:hover:not(.current):not(.dots) {
    border-color: #b49551;
    color: #fff;
    background: #1f1f23;
}

.ta-video-library-new .pagination-wrapper .page-numbers.current {
    background: linear-gradient(135deg, #b49551 0%, #d4af37 100%);
    border-color: transparent;
    color: #000;
    font-weight: 600;
}

.ta-video-library-new .pagination-wrapper .page-numbers.dots {
    background: transparent;
    border: none;
    color: #71717a;
    min-width: auto;
    padding: 0 4px;
}

/* Responsive */
@media (min-width: 1600px) {
    .ta-tab-content {
        max-width: 1600px;
    }
}

@media (max-width: 1024px) {
    .ta-hero-info {
        padding: 20px 24px;
    }
    
    .ta-hero-info .ta-video-meta {
        padding: 12px 24px 20px 24px;
        margin: 0 -24px -20px -24px;
    }
    
    .ta-video-library-new .ssp-header {
        padding: 40px 20px 20px 20px;
    }
}

@media (max-width: 768px) {
    .ta-video-library-new {
        padding: 24px 0;
    }
    
    .ta-video-library-new .ssp-subtitle {
        font-size: 28px;
    }
    
    .ta-category-tabs {
        flex-wrap: wrap;
    }
    
    .ta-category-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .ta-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ta-video-grid {
        grid-template-columns: 1fr;
    }
    
    .ta-category-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
}
