/* shared */
.tda-tag {
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.tda-cta {
    font-weight: 700;
    border-radius: 10px;
    padding: 20px 34px;
    color: white;
    display: block;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}
.tda-input {
    border-radius: 50px;
    border: 1px solid #ddd;
    padding: 10px 20px;
    color: #000;
    font-weight: 600;
    font-size: 0.8rem;
    -webkit-appearance: none;
    -moz-appearance: none;
}
select.tda-input {
    padding-right: 4em;
    background-image:
    linear-gradient(45deg, transparent 50%, black 50%),
    linear-gradient(135deg, black 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1em + 5px),
    calc(100% - 15px) calc(1em + 5px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}
.tda-hidden {
    display: none;
}

/* tda-video-card-list */
.tda-video-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:5rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 3.5rem;
}
@media screen and (max-width: 480px) {
    .tda-video-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 480px) {
    .tda-video-card-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tda-video-card-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.tda-video-card-item__link:after {
    content: '';
    background-image: url(icon-play.svg);
    background-size: 4rem;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.tda-video-card-item__link {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    position: relative;
}
.tda-video-card-item__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
}
.tda-video-card-item__title {
    font-weight: 600;
}
.tda-video-card-item__date {
    text-transform: uppercase;
    color: #575757;
}
.tda-video-card-item__image {
    max-width: 100%;
    width: 100%;
    height: auto;
    background-color: #ddd;
}
.tda-video-card-item__category {
    background: #D3EAFF;
}

.tda-video-card-list-more {
    background: #1D6AB0;
    width: fit-content;
    margin: 0 auto;
}

[data-loading="1"] [data-category], 
[data-loading="1"] [data-date], 
[data-loading="1"] [data-title],
[data-loading="1"] [data-link]
{
    background: linear-gradient(to right, #eee 8%, #ddd 18%, #eee 33%);
    background-size: 500px 200px;
    position: relative;
    animation: tda_loading 1.5s infinite linear;
    width: 100%;
    min-width: 100px;
}

@keyframes tda_loading {
    0% {
        background-position: -500px 0;
    }
    100% {
        background-position: 500px 0;
    }
}

/* video-hero */
.tda-video-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.tda-video-hero__video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    background: #000;
}
.tda-video-hero__date {
    background-color: #FFE9CB;
}
.tda-video-hero__title {
    font-weight: 900;
    font-size: 2rem;
}
.tda-video-hero__desc {
    color: #575757;
}
.tda-video-hero__meta {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
}
@media screen and (max-width: 480px) {
    .tda-video-hero__meta {
        flex-direction: column;
    }    
}
.tda-video-hero__download-cta {
    background-color: #F0A947;
}
.tda-video-hero__share {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    align-self: stretch;
    padding: 0 30px;
}
.tda-video-hero__share > div {
    font-weight: 600;
    padding-right: 1rem;
}
.tda-video-hero__share button {
    border:0;
    padding: 0;
    margin: 0;
    font-size: 0;
}
@media screen and (max-width: 480px) {
    .tda-video-hero__share {
        flex-direction: column;
        border: 0;
    }
}

.tda-video-hero__share button:hover,
.tda-video-hero__share button:active,
.tda-video-hero__share button:focus {
    background: transparent;
}

/* filters */
.tda-video-filters {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
}
@media screen and (max-width: 480px) {
    .tda-video-filters__label {
        display: none;
    }
}
.tda-video-filters__search {
    margin-left: auto;
}
.tda-video-filters__search-input {
    display: flex;
    flex-direction: row;
    gap: 0;
}
.tda-video-filters input {
    border: 0 !important;
    padding: 0 !important;
    width: auto !important;
    outline: 0 !important;
}
.tda-video-filters input::placeholder {
    color: #000;
}
button.tda-video-filters__search-submit, button.tda-video-filters__search-submit:hover, button.tda-video-filters__search-submit:active, button.tda-video-filters__search-submit:focus {
    display: inline-block;
    align-self: stretch;
    aspect-ratio: square;
    background: #F0A947;
    font-size: 0;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    outline:5px solid #F0A947;
    border:0 solid #F0A947;
    padding: 5px;
}
button.tda-video-filters__search-submit svg {
    width: 100%;
    height: auto;
}

/* live stream */
.tda-live-stream {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    color: white;
}
@media screen and (max-width: 768px) {
    .tda-live-stream {
        grid-template-columns: 1fr;
    }
}
.tda-live-stream__video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    background-color: #000;
    display: block;
}
.tda-live-stream__video-category {
    background: #11111150;
    margin-top: 1rem;
}
.tda-live-stream__title {
    font-weight: 700;
}
.tda-live-stream__time {
    font-weight: 300;
    margin-bottom: 1rem;
}

.tda-live-stream__col-2 {

}
.tda-live-stream__window {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    background: #11111150;
    padding: 3rem;
    max-height: 450px;
    overflow-y: scroll;
}
@media screen and (max-width: 768px) {
    .tda-live-stream__window {
        padding: 1rem;
    }
}
.tda-live-stream__window::-webkit-scrollbar {
    width: 0; /* Hide scrollbar */
    background: transparent; /* Make scrollbar transparent */
  }
.tda-live-stream__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap:20px;
}
.tda-live-stream__list-item {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
}
@media screen and (max-width: 768px) {
    .tda-live-stream__list-item {
gap: 1rem;
    }
}
.tda-live-stream__list-item-image-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 10%;
    background-color: #000;
    overflow: hidden;
    max-width: 180px;
    flex-shrink: 0;
}
@media screen and (max-width: 768px) {
    .tda-live-stream__list-item-image-wrapper {
        max-width: 150px;
    }
}
.tda-live-stream__list-item-image {
    width: 100%;
    height: auto;
    display: block;
}
.tda-live-stream__list-item-image-wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    left: 55%;
    top: 50%;
    translate: -50% -50%;
    width: 40px;
    height: 40px;
    background-image: url(icon-play.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.tda-live-stream__list-item-copy-wrapper {
    /* flex:calc(100% - 180px); */
}
.tda-live-stream__list-item-title {
    font-weight: 700;
    font-size: 1.4rem;
}
@media screen and (max-width: 768px) {
    .tda-live-stream__list-item-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }
}
.tda-live-stream__list-item-time {
    font-weight: 300;
    font-size: 0.9rem;
}
.tda-live-stream__next {
    background-color: #F0A947;
    cursor: pointer;
    padding: 1px 0;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: center;
}

.tda-live-stream--fullwidth {
    grid-template-columns: repeat(1, 1fr);
    color: black;
}
.tda-live-stream--fullwidth .tda-live-stream__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 768px) {
    .tda-live-stream--fullwidth .tda-live-stream__list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tda-static-list--dark .tda-video-card-item__category {
    background: #ffffff50;
    color: #fff;

}
.tda-static-list--dark .tda-video-card-item__title {
    color: white;
}
.tda-static-list--dark .tda-video-card-item__date {
    color: #ccc;
}