/* default */
html { font-family:Poppins; margin: 0; padding: 0; border: 0 solid; box-sizing: border-box; line-height:1.5; }
body { background-color:#000; margin: 0; padding: 0; font-size:1rem; font-weight:400; color:#fff; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale }
img, video { display: block; max-width: 100%; height: auto; border-radius: 0.75rem; width: 100%; }
a { text-decoration: none; color: #fff;}
.block { display: block; }
p { margin-block: 0.25rem;  }

/* grid */
.grid { display: grid; gap: 1rem; width: 100%; box-sizing: border-box; padding-inline-end: 0.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.col-span-2 { grid-column: span 2 / span 2 ; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.col-start-4 { grid-column-start: 4; }
.col-start-5 { grid-column-start: 5; }

/* content */
.content { margin-block-start: 5rem; }
.rubric { margin-block-end: 1.5rem; }
.rubric h1 { display: flex; justify-content: space-between; align-items: baseline; border-bottom: solid 1px #777; font-size: 1.25rem; }
.rubric h1 > span { padding-block: 0.25rem; padding-inline: 1rem; background-color: #fff; color: #000; text-transform: uppercase; font-weight: 500; border-radius: 0 1.5rem 0 0; }
.rubric h1 .goto-index { display: flex; justify-content: space-between; align-items: center; gap: 0.25rem; font-size: 1rem; font-weight: 400; }
.rubric h1 .arrow-icon--circle { transition: stroke-dashoffset 0.3s ease; stroke-dasharray: 95; stroke-dashoffset: 95; }
.rubric h1 .goto-index:hover .arrow-icon--circle { stroke-dashoffset: 0; }
.rubric .panel { padding-block-end: 0.25rem; }
.rubric .withmeta { display: grid; grid-template-columns: 212px repeat(3, 1fr); }
.panel .caption { display: none; }
.panel .meta { padding: 0.5rem; }
.panel .meta-title { font-size: x-large;  font-weight: 500; margin: 0; }
.panel .meta-caption { display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; max-height: 9em; margin-block-start: 1rem; }
.panel .meta-caption p { margin: 0; }
.panel .item { border: solid 5px transparent; }
.panel .item:hover { border: solid 5px #fff; border-radius: 1rem;}
.top4 { background-color: #333; border-radius: 1rem; margin-block-end: 2rem; }
.top4 h1 { text-align: center; }
.item4 { display: flex; flex-wrap: nowrap; flex-direction: row; justify-content: center; align-items: baseline; }
.item4 .rank { font-size: 9rem; font-weight: 900; width: 30%; min-width: 30%; text-align: right; margin-bottom: -2rem;}
.episode { margin-block-start: 1rem; margin-block-end: 2rem; border-block-end: dashed 1px #777; }
.episode .ep-title { font-weight: 600; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; max-height: 3em; margin: 0; }
.episode .ep-caption { display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; max-height: 6em; margin-block-start: 1rem; margin: 0; }
.pagination { margin-block: 1rem; }
.pagination .next, .pagination .prev { font-weight: 600; text-transform: uppercase; text-align: center; display: block; border: solid 2px #aaa; padding-block: 0.5rem; border-radius: 2rem; }
.pagination .next:hover, .pagination .prev:hover { background-color: #333; }

/* popup */
.popup-overlay { z-index: 100; top: 0; right: 0; bottom: 0; left: 0; position: absolute; overflow: auto; justify-content: center; align-items: flex-start; display: flex; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(2px); }
.popup-container { position: relative; width: auto; overflow: hidden; margin-block-start: 2rem; }
.popup-container a img { max-width: 480px !important; }
.popup-slider { position: relative; }
.popup-slide { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; display: flex; justify-content: center; align-items: center; }
.popup-slide.active { opacity: 1; transition: opacity 0.8s ease; width: 100%; height: auto; position: relative; }

/* nav */
nav { position: fixed; width: 100%; top: 0; inset-inline-start: 0; background-color: #000; z-index: 8; }
.nav-wrapper { padding: 1rem; justify-content: space-between; align-items: center; flex-wrap: nowrap; display: flex; margin-inline: auto; }
.nav-logo { height: 3rem; width: 100%; border-radius: 0 !important; }
.nav-burger-btn { font-size: 0.875rem; line-height: calc(1.25/0.875); padding: 0.5rem; border-radius: 0.5rem; align-items: center; width: 2.5rem; height: 2.5rem; border: 0; background-color: transparent; color: #fff; }
.nav-menu { display: none; width: auto; align-items: center; }
.nav-menu ul { list-style: none; padding: 0;  margin-top: 0; font-weight: 500; display: flex; align-items: center; }
.nav-menu ul li.active { border-bottom: solid 3px #f00; }
.nav ul li a { padding-block: 0.5rem; padding-inline: 0.75rem; display: block; }
.submenu-btn { padding: 0; width: auto; display: flex; justify-content: space-between; align-items: center; background-color: transparent; color: #fff; border: 0; font-size: 1rem; font-weight: 500; cursor: pointer; }
.submenu-arrow { width: calc(0.25rem * 2.5); height: calc(0.25rem * 2.5); margin-inline-start: calc(0.25rem * 2.5); }
.nav-submenu { display: none; position: absolute; max-width: calc(0.25rem * 65); border: solid 5px #999; z-index: 10; margin-top: 0.5rem; background-color: #000; border-radius: 1rem; }
.nav-active { height: 3px; --c:no-repeat linear-gradient(#f00 0 0); background: var(--c),var(--c),#542e4a; background-size: 60% 100%; animation: navanim 7s infinite; margin-block-start: 5px; }
@keyframes navanim { 0%   {background-position:-150% 0,-150% 0} 66%  {background-position: 250% 0,-150% 0} 100% {background-position: 250% 0, 250% 0} }

/* live dot-pulse */
@keyframes opacity-animation { 0% { opacity: 0; } }
@keyframes pulse-animation { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 70% { opacity: 0; transform: translate(-50%, -50%) scale(5); } to { transform: translate(-50%, -50%) scale(0); opacity: 0; } }
.pulse:before { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: #faa; border-radius: 100%; opacity: 0.5; transform: translate(-50%, -50%) scale(3); animation: pulse-animation 2s infinite; }
.pulse { position: relative; display: inline-block; vertical-align: sub; width: 15px; height: 15px; margin: 0 6px; background: #f00; color: transparent; border-radius: 100%; flex: 0 0 auto; animation: opacity-animation 1s linear; }

/* roll-slideshow */
.roll-container { position: relative; overflow: hidden; margin-block-end: 1.5rem; }
.roll-track { display: flex; transition: transform 0.5s ease-in-out; }
.roll-item { min-width: 100%; height: auto; background-size: cover; background-position: center; }
.roll-arrow { position: absolute; top: 50%; height: 100%; transform: translateY(-50%); font-size: 2rem; color: white; background-color: transparent; border: none; cursor: pointer;
padding: 10px; z-index: 2; }
.roll-arrow:hover, .roll-indicators:hover { background: rgba(0,0,0,0.5); }
.arrow-left { left: 0; }
.arrow-right { right: 0; }
.roll-indicators { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; padding-block: 0.5rem; padding-inline: 1rem; margin-block-end: 1rem; border-radius: 1rem; }
.roll-indicator { width: 12px; height: 12px; border-radius: 50%; background: white; opacity: 0.5; cursor: pointer; }
.roll-indicator.active { opacity: 1; background: #f00; }

/* about */
.bg-about { animation: bg-slide 3s ease-in-out infinite alternate; background-image: linear-gradient(-60deg, #700 50%, #000 50%); bottom: 0; left: -50%; opacity: .5; position: fixed; right: -50%; top: 0; z-index: -1; }
.bg2 { animation-direction: alternate-reverse; animation-duration: 4s; }
.bg3 { animation-duration: 5s; }
@keyframes bg-slide { 0% { transform: translateX(-25%); } 100% { transform: translateX(25%); } }
.about-tabs { margin-block: 2rem; border: solid 5px #777; padding-inline: 2rem; border-radius: 2rem; }
.about-tabs input[name=tab-control] { display: none; }
.about-tabs ul { list-style-type: none; padding-left: 0; display: flex; flex-direction: row; margin-bottom: 10px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.about-tabs ul li { box-sizing: border-box; flex: 1; padding: 0 10px; text-align: center; }
.about-tabs ul li label { transition: all 0.3s ease-in-out; text-transform: uppercase; font-size: 1.25rem; font-weight: 600; overflow: hidden; display: block; cursor: pointer; transition: all 0.2s ease-in-out; white-space: nowrap; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } 
.about-tabs ul li label:hover, .about-tabs ul li:focus, .about-tabs ul li label:active { outline: 0; color: #f00; }
.about-tabs .tab-slider { position: relative; width: 25%; transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07); }
.about-tabs .tab-slider .slider-indicator { position: relative; width: 50px; max-width: 100%; margin: 0 auto; height: 4px; background: #f00; border-radius: 1px; margin-block-end: 1rem; }
.about-tabs .tab-content section { display: none; -webkit-animation-name: content; animation-name: content; -webkit-animation-direction: normal; animation-direction: normal; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; line-height: 1.4; }
.about-tabs .tab-content section p { margin-block: 1rem; }
.about-tabs .tab-content section table { border: solid 1px #777; border-radius: 1rem; width: 100%; margin-block-end: 1rem; padding: 1rem; }
.about-tabs .tab-content section table tr td { padding: 0.5rem; }
.about-tabs .tab-content section table tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.15); }
.about-tabs .tab-content section ol.visi-misi { margin-inline-start: 1rem; list-style: decimal; }
.about-tabs .tab-content section ol.visi-misi li { padding: 1rem; list-style: decimal; }
.about-tabs .tab-content section ol { margin: 0; padding: 0; list-style: none; }
/* 1 */
.about-tabs input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label { cursor: default; color: #f00; }
.about-tabs input[name=tab-control]:nth-of-type(1):checked ~ .tab-slider { transform: translateX(0%); }
.about-tabs input[name=tab-control]:nth-of-type(1):checked ~ .tab-content > section:nth-child(1) { display: block; }
/* 2 */
.about-tabs input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label { cursor: default; color: #f00; }
.about-tabs input[name=tab-control]:nth-of-type(2):checked ~ .tab-slider { transform: translateX(100%); }
.about-tabs input[name=tab-control]:nth-of-type(2):checked ~ .tab-content > section:nth-child(2) { display: block; }
/* 3 */
.about-tabs input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label { cursor: default; color: #f00; }
.about-tabs input[name=tab-control]:nth-of-type(3):checked ~ .tab-slider { transform: translateX(200%); }
.about-tabs input[name=tab-control]:nth-of-type(3):checked ~ .tab-content > section:nth-child(3) { display: block; }
/* 4 */
.about-tabs input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label { cursor: default; color: #f00; }
.about-tabs input[name=tab-control]:nth-of-type(4):checked ~ .tab-slider { transform: translateX(300%); }
.about-tabs input[name=tab-control]:nth-of-type(4):checked ~ .tab-content > section:nth-child(4) { display: block; }

/* vod */
.vod { margin-block-end: 2rem; }
.vod-play { width: 100%; height: auto; object-fit: fill; margin-block-start: 1.5rem; }
.vod-title { font-weight: 500; }
.vod-info { display: flex; }
.vod-info > div { font-weight: 400; margin-inline-end: 1rem; padding: .25rem .5rem; border: solid 1px #777; border-radius: 0.5rem; }
.vod-program:hover { background-color: #333; }
.vod-caption { text-align: justify; margin-block: 1rem; }
.vod-others-h1 { font-weight: 600; border-bottom: solid 1px #777; }
.vod-others h3 { font-weight: 500; }
.vod-share { list-style: none; display: inline-flex; margin: 0; padding: 0; }
.vod-share svg { vertical-align: sub; margin-inline: 10px; }

/* youtube */
.youtube { aspect-ratio: 16 / 9; width: 100% !important; }

/* search */
.search-wrapper { padding: calc(00.25rem * 2); background-color: #fff; border-radius: 2rem; display: flex; align-items: center; justify-content: center; }
.search-input { color: #000; background-color: #fff; font-size: 0.875rem; border: 0; width: 115px; }
.search-btn { background-color: transparent; border: 0; cursor: pointer; width: 24px; }
.search-btn svg { width: 1rem; height: 1rem; margin-inline-end: 0.5rem; }

/* footer */
.footer { background-color: #333; }
.footer h3 { margin-block-start: 2.5rem; margin-block-end: 0.5rem; }
.social { display: flex; flex-direction: row; justify-content: center; align-items: center; }
.social a { margin-inline: 0.5rem; }
.footer dl { display: grid; grid-gap: 4px 16px; grid-template-columns: max-content; }
.footer dd { margin: 0; grid-column-start: 2; }

/* media responsive */
@media (max-width: 599px) {
    .grid-3, .grid-5, .grid-6 { grid-template-columns: repeat(1, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .popup-slide img, .banner-video { width: 100%; max-width: 240px !important; height: auto; }
    .nav-burger-btn { display: inline; cursor: pointer; }
    .nav-menu { display: none; background-color: #000; box-shadow: 0px 0px 32px 0px rgba(255,255,255,0.9); border-radius: 1.5rem; padding-block: 0.5rem; padding-inline: 0.5rem; margin-block-start: 0.25rem; z-index: 9; width: 100%; }
    .nav-menu ul { flex-direction: column; }
    .nav-menu ul li { display: block; width: 100%; }
    .nav-menu ul li a { padding-block: 0.5rem; padding-inline: 0.5rem; display: block; width: 100%; }
    .nav-menu ul li a:hover { background-color: #777; }
    .search-wrapper { width: 90%; }
    .search-input { width: 100%; }
    .meta { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .grid-3, grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(6, 1fr); }
    .popup-slide img, .banner-video { width: 100%; max-width: 360px !important; height: auto; }
    .nav-burger-btn { display: inline; cursor: pointer; }
    .nav-menu { display: none; background-color: #000; box-shadow: 0px 0px 32px 0px rgba(255,255,255,0.9); border-radius: 1.5rem; padding-block: 0.5rem; padding-inline: 0.5rem; margin-block-start: 0.25rem; z-index: 9; width: 100%; }
    .nav-menu ul { flex-direction: column; }
    .nav-menu ul li { display: block; width: 100%; }
    .nav-menu ul li a { padding-block: 0.5rem; padding-inline: 0.5rem; display: block; width: 100%; }
    .nav-menu ul li a:hover { background-color: #777; }
    .search-wrapper { width: 90%; }
    .search-input { width: 100%; }
    .meta { display: none; }
}
@media (min-width: 900px) {
    .popup-slide img, .banner-video { width: 100%; max-width: 480px !important; height: auto; }
    .nav-burger-btn { display: none; }
    .nav-menu { display: block; }
    .nav-menu ul { flex-direction: row; margin: auto; }
    .nav-menu ul li { margin-inline-start: 0; margin-inline-end: 1.2rem; }
    .nav-submenu ul { display: flex; justify-content: left; align-items: inherit; flex-direction: column; }
    .nav-submenu ul li { margin-inline-start: 0; margin-inline-end: 0; }
    .nav-submenu ul li:hover { background-color: #777; border-radius: 0.4rem; }
    .nav-submenu ul li a { padding-block: 0.5rem; padding-inline: 0.75rem; }
}