 

/*карточка каналов*/

/* /tv-channels/ catalog — same block as homepage .main .content + .topch */
.main_wrapper--full .content {
	width: 100%;
	min-width: 0;
	overflow-x: hidden;
	box-sizing: border-box;
}

.main_wrapper--full .topch {
	margin-bottom: 0;
}

.main_wrapper--full .topch__grid {
	align-items: stretch;
}

.main_wrapper--full .topch-item {
	height: 100%;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.main_wrapper--full .topch-item__meta {
	margin-top: auto;
	width: 100%;
	display: flex;
	justify-content: center;
}

.main_wrapper--full .content_title {
	margin-bottom: 32px;
}

.main_wrapper--full .content_title h1 {
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: inherit;
}

.main_wrapper--full .tvp-nav {
	margin-top: 24px;
}

.main_wrapper--full .tvp-description {
	margin-top: 20px;
}

.main_wrapper--full .tvp-description:empty {
	display: none;
	margin: 0;
	padding: 0;
}

/* TV program catalog filters */
.tvp-filters {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0 0 20px;
	box-shadow: none;
	margin: 0 0 20px;
}

.tvp-filters__row {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px;
}

.tvp-filters__select-wrap {
	position: relative;
	flex: 0 1 240px;
	min-width: 160px;
}

.tvp-filters__select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid #1480d9;
	border-bottom: 2px solid #1480d9;
	transform: rotate(45deg);
	pointer-events: none;
}

.tvp-filters__input {
	flex: 1 1 280px;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid #d8e0e7;
	background: #fff;
	font-size: 14px;
	color: #000;
	transition: .2s ease;
}

.tvp-filters__input:focus {
	border-color: #1480d9;
	box-shadow: 0 0 0 2px rgba(20, 128, 217, .15);
	outline: none;
}

.tvp-filters__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 40px 0 14px;
	border-radius: 8px;
	border: 1px solid #d8e0e7;
	background: #fff;
	font-size: 14px;
	color: #1a1a1a;
	font-family: SemiBold, sans-serif;
	cursor: pointer;
	transition: .2s ease;
	box-shadow: 0 2px 8px rgba(20, 128, 217, .06);
}

.tvp-filters__select:hover {
	border-color: #1480d9;
}

.tvp-filters__select:focus {
	border-color: #1480d9;
	box-shadow: 0 0 0 2px rgba(20, 128, 217, .15);
	outline: none;
}

.tvp-filters__btn {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 22px;
	border-radius: 8px;
	border: none;
	background: #1480d9;
	color: #fff;
	font-size: 14px;
	font-family: Bold, sans-serif;
	cursor: pointer;
	transition: .2s ease;
	white-space: nowrap;
}

.tvp-filters__btn:hover {
	background: #0f6fcf;
}

.main_wrapper--full .tvp-filters {
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 768px) {
	.main_wrapper--full .content_title {
		margin-bottom: 24px;
	}

	.tvp-filters {
		padding-bottom: 14px;
		margin-bottom: 14px;
	}

	.tvp-filters__row {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.tvp-filters__input,
	.tvp-filters__select-wrap,
	.tvp-filters__btn {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		max-width: none;
		box-sizing: border-box;
	}

	.tvp-filters__btn {
		width: 100%;
	}
}

.tvp-page {
    padding: 0 20px 30px;
}

.tvp-list {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: start;
}

.tv-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;

    min-height: 235px;
    padding: 18px 14px 14px;

    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);

    transition: .2s ease;
}

.tv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.tv-card__logo {
    width: 100%;
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.tv-card__logo img {
    display: block;
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
}

.tv-card__body {
    margin-top: 16px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.tv-card__title {
    min-height: 48px;
    font-size: 14px;
    line-height: 1.1;
    color: #222;
    font-family: SemiBold;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tv-card__country {
    /*margin-top: 3px;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 24px;
    padding: 0 10px;
    border-radius: 4px;

    background: #c7ccd3;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-family: SemiBold;

    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tvp-nav {
    margin-top: 30px;
}

.tvp-description {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.6;
}
.tv-card__logo {
    height: 95px;
}

.tv-card__logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* ВАЖНО */
}
@media (max-width: 1199px) {
    .tvp-list {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    .tvp-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .tv-card {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .tvp-page {
        padding: 0 15px 25px;
    }

    .tvp-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .tv-card {
        min-height: 210px;
        padding: 14px 10px 12px;
    }

    .tv-card__logo {
        height: 85px;
    }

    .tv-card__title {
        font-size: 13px;
        min-height: 42px;
    }
}

@media (max-width: 480px) {
    .tvp-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tv-card__country {
        font-size: 11px;
        padding: 0 8px;
    }
}
/*карточка каналов*/

/*пагинация — единый вид: DLE новости + TV программа*/
.pager-wrap {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pager3 {
    margin: 0;
}

.pager3__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* сброс старых градиентов DLE */
.content_card-nav-active,
.pager3 .content_card-nav-active {
    position: static !important;
    z-index: auto !important;
    background: none !important;
}

.content_card-nav-active::before,
.content_card-nav-active::after,
.pager3 .content_card-nav-active::before,
.pager3 .content_card-nav-active::after {
    display: none !important;
    content: none !important;
}

.content_card-nav ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* номера страниц */
.pager3__inner > a,
.pager3__inner > .content_card-nav-active {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 6px;
    border-radius: 50%;
    font-size: 16px;
    color: #000 !important;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    transition: background .2s ease, color .2s ease;
}

.pager3__inner > a:hover {
    background: #e8f2fb !important;
    color: #1480d9 !important;
}

.pager3__inner > .content_card-nav-active,
.pager3__inner > span:not(.nav_ext) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 6px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    box-sizing: border-box;
    background: #1480d9 !important;
    color: #fff !important;
    font-family: Bold, sans-serif;
    font-weight: 700;
    pointer-events: none;
}

.pager3__inner > .content_card-nav-active {
    text-decoration: none;
}

/* многоточие */
.pager3__inner > .nav_ext {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 35px;
    color: #888;
    font-size: 16px;
    letter-spacing: 1px;
    background: none !important;
    pointer-events: none;
}

/* стрелки */
.pager3__arrow a,
.pager3__arrow span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 35px !important;
    min-width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f0f3f6 !important;
    color: #000 !important;
    font-size: 18px;
    font-weight: 400 !important;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .2s ease, color .2s ease;
}

.pager3__arrow a:hover {
    background: #1480d9 !important;
    color: #fff !important;
}

.pager3__arrow span {
    opacity: 0.35;
    pointer-events: none;
}
/*пагинация*/

/* Category listing (/regional/ etc.) — 5 tiles; homepage .topch__grid stays 6 */
html[data-channels-view="grid"] #chview.chview--list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}

html[data-channels-view="grid"] #chview.chview--list .chv-list {
    display: none !important;
}

html[data-channels-view="grid"] #chview.chview--list .chv-item + .chv-item {
    margin-top: 0;
}

html[data-channels-view="grid"] .chviewbar__btn[data-view="list"] {
    background: transparent;
}

html[data-channels-view="grid"] .chviewbar__btn[data-view="grid"] {
    background: #e9f2fb;
}

@media (max-width: 1100px) {
    html[data-channels-view="grid"] #chview.chview--list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    html[data-channels-view="grid"] #chview.chview--list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    html[data-channels-view="grid"] #chview.chview--list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.chview--grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.chview--grid .chv-grid,
.chview--grid .topch-item {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .chview--grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .chview--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .chview--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*полная страница канала*/

.tv-channel-page {
    padding: 0 20px 30px;
}

.tv-channel-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.tv-channel-logo {
    width: 92px;
    height: 92px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tv-channel-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.tv-channel-meta {
    flex: 1;
    min-width: 0;
}

.tv-channel-title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 36px;
    font-family: SemiBold;
    color: #000;
}

.tv-channel-country {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    line-height: 18px;
    color: #666;
}

.tv-channel-country a {
    color: #1c548b;
}

.tv-channel-flag {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.channel-description {
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 1.65;
    color: #000;
}

.channel-description p:last-child {
    margin-bottom: 0;
}

.tv-program {
    margin-top: 25px;
}

.tv-program-title {
    font-size: 24px;
    line-height: 30px;
    font-family: SemiBold;
    color: #000;
    position: relative;
    margin-bottom: 20px;
}

.tv-program-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin-top: 8px;
    border-radius: 90px;
    background: #1480d9;
}

.tv-program-days {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tv-program-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 767px) {
    .tv-channel-page {
        padding: 0 15px 25px;
    }

    .tv-channel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tv-channel-logo {
        width: 120px;
        height: 90px;
    }

    .tv-channel-title {
        font-size: 24px;
        line-height: 30px;
    }
}

/*(скрытие)*/
.channel-description {
    position: relative;
    margin-bottom: 30px;
}

/* скрываем часть текста */
.channel-description__text {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

/* градиент снизу */
.channel-description__text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;

    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* кнопка */
.channel-description__more {
    margin-top: 10px;
    background: none;
    border: none;
    color: #1480d9;
    cursor: pointer;
    font-size: 14px;
}

/* открыто */
.channel-description.open .channel-description__text {
    max-height: none;
}

.channel-description.open .channel-description__text::after {
    display: none;
}


/*передачи список*/
.tv-program-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tv-program-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;

    padding: 14px;
    background: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 6px;

    transition: .2s ease;
    cursor: pointer;
}

.tv-program-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.tv-program-item.is-now {
    border-color: #1480d9;
    box-shadow: 0 0 0 1px rgba(20,128,217,.08);
}

.tv-program-item__poster {
    width: 155px;
    min-width: 155px;
    position: relative;
    height: 0;
    padding-bottom: 87.19px;
}

.tv-program-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f5f7;
}

.tv-program-item__content {
    flex: 1;
    min-width: 0;
}

.tv-program-item__time {
    font-size: 13px;
    line-height: 16px;
    color: #1480d9;
    font-family: SemiBold;
    margin-bottom: 6px;
}

.tv-program-item__title {
    font-size: 18px;
    line-height: 22px;
    color: #000;
    font-family: SemiBold;
}

.tv-program-item__sub-title {
    margin-top: 6px;
    font-size: 14px;
    line-height: 18px;
    color: #1480d9;
    font-family: SemiBold;
}

.tv-program-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #444;
}

.program-cats {
    margin-top: 8px;
    font-size: 13px;
    line-height: 16px;
    color: #777;
}

.tv-program-item__actions {
    margin-top: 12px;
}

.tv-program-item__actions .watch-now-item__watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #1480d9;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.tv-program-item__actions .watch-now-item__watch:hover {
    color: #0f6fcf;
    transform: scale(1.06);
}

.tv-program-item__actions .watch-now-item__watch-icon {
    display: block;
}

/* модалка */
.tv-program-modal[hidden] {
    display: none !important;
}

.tv-program-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.tv-program-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.tv-program-modal__dialog {
    position: relative;
    width: calc(100% - 30px);
    max-width: 760px;
    margin: 60px auto 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
    overflow: hidden;
    z-index: 1;
}

.tv-program-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f1f4f7;
    color: #000;
    font-size: 22px;
    line-height: 34px;
    cursor: pointer;
}

.tv-program-modal__body {
    padding: 24px;
}

.tv-program-modal__loading {
    font-size: 15px;
    color: #666;
}

/* мобила */
@media (max-width: 767px) {
    .tv-program-item {
        flex-direction: column;
    }

    .tv-program-item__poster {
        width: 100%;
        min-width: 0;
    }

    .tv-program-poster {
        height: 180px;
    }

    .tv-program-item__title {
        font-size: 16px;
        line-height: 20px;
    }

    .tv-program-modal__dialog {
        margin-top: 20px;
    }

    .tv-program-modal__body {
        padding: 18px;
    }
}


.tv-program-inline {
    padding: 18px 0 6px;
}

.tv-program-inline__content {
    width: 100%;
}

.tv-program-inline__desc {
    font-size: 15px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 12px;
}

.tv-program-inline__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tv-program-inline__link,
.tv-program-inline__trailer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
    font-family: SemiBold;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

/* More info */
.tv-program-inline__link {
    background: #f1f4f7;
    color: #000;
    border: 1px solid #d9e0e6;
}

.tv-program-inline__link:hover {
    background: #e7edf3;
    color: #000;
}

/* Trailer */
.tv-program-inline__trailer-btn {
    border: none;
    background: #1480d9;
    color: #fff;
}

.tv-program-inline__trailer-btn:hover {
    opacity: .92;
}

.tv-program-inline__trailer-btn.is-active {
    box-shadow: 0 0 0 2px rgba(20,128,217,.15);
}

/* блок трейлера */
.tv-program-inline__trailer {
    margin-top: 10px;
}

.tv-program-inline__trailer-box {
    width: 100%;
    max-width: 100%; /* убираем ограничение */

    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.tv-program-inline__trailer-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


/*ДНИ*/
.tv-program-days a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 34px;
    padding: 0 14px;

    border-radius: 6px;
    background: #f1f4f7;
    color: #000;
    font-size: 14px;

    text-decoration: none;
    transition: .2s ease;
}

.tv-program-days a:hover {
    background: #1480d9;
    color: #fff;
}

.tv-program-days a.active {
    background: #1480d9;
    color: #fff;
}

.tv-program-days {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tv-days-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 16px;

    border-radius: 6px;
    background: #f1f4f7;
    color: #000;
    font-size: 14px;

    text-decoration: none;
    transition: .2s ease;
}

.tv-days-item:hover {
    background: #1480d9;
    color: #fff;
}

.tv-days-item.is-active {
    background: #1480d9;
    color: #fff !important;
    font-family: SemiBold;
}




/*full story*/

 /* ===== FULL STORY TV PROGRAM / NEW ===== */

.content_list {
    padding: 0 20px !important;
    box-sizing: border-box;
}

.tvpost-schedule {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.tvpost-schedule__item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 8px 10px !important;
    border: 1px solid #dfe5ea !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tvpost-schedule__item--now {
    border-color: #1480d9 !important;
    box-shadow: 0 0 0 1px rgba(20,128,217,.08) !important;
}

.tvpost-schedule__poster {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;

    display: block !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: #f3f5f7 !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.tvpost-schedule__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    border: 0 !important;
}

.tvpost-schedule__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-top: 2px !important;
}

.tvpost-schedule__time {
    margin: 0 0 3px 0 !important;
    font-size: 13px !important;
    line-height: 15px !important;
    color: #1480d9 !important;
    font-family: SemiBold !important;
}

.tvpost-schedule__title {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    color: #000 !important;
    font-family: SemiBold !important;
}

.tvpost-schedule__subtitle {
    margin: 3px 0 0 0 !important;
    font-size: 13px !important;
    line-height: 16px !important;
    color: #666 !important;
}

.tvpost-schedule__actions {
    margin-top: 6px !important;
}

.tvpost-schedule__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    background: #1480d9 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-family: SemiBold !important;
    text-decoration: none !important;
}

.tvpost-schedule__more {
    margin-top: 10px !important;
    text-align: center !important;
}

.tvpost-schedule__more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    border: 1px solid #d9e0e6 !important;
    border-radius: 8px !important;
    background: #f5f7fa !important;
    color: #000 !important;
    font-size: 14px !important;
    font-family: SemiBold !important;
    cursor: pointer !important;
}

@media (max-width: 767px) {
    .content_list {
        padding: 0 15px !important;
    }

    .tvpost-schedule__item {
        gap: 10px !important;
        padding: 8px !important;
    }

    .tvpost-schedule__poster {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
    }

    .tvpost-schedule__title {
        font-size: 13px !important;
        line-height: 17px !important;
    }

    .tvpost-schedule__subtitle {
        font-size: 12px !important;
        line-height: 15px !important;
    }
}

.tvpost-schedule__more-btn {
    transition: .2s ease;
}

.tvpost-schedule__more-btn.is-loading {
    opacity: .7;
    cursor: default;
}

.tvpost-schedule__item--enter {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.tvpost-schedule__item--enter.is-visible {
    opacity: 1;
    transform: translateY(0);
}



.tvpost-schedule__item {
    cursor: pointer;
}

.tvpost-schedule__item--open {
    border-color: #1480d9;
}

.tvpost-inline-wrap {
    margin-top: -2px;
    margin-bottom: 6px;
}

.tvpost-inline {
    padding: 12px 14px 14px;
   /* border: 1px solid #dfe5ea;*/
    border-top: 0;
   /* border-radius: 0 0 6px 6px;*/
    background: #fff;
}

.tvpost-inline--loading,
.tvpost-inline--error {
    font-size: 14px;
    color: #666;
}

.tvpost-inline__desc {
    font-size: 14px;
    line-height: 1.65;
    color: #000;
}

.tvpost-inline__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tvpost-inline__link,
.tvpost-inline__trailer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    font-family: SemiBold;
    text-decoration: none;
    cursor: pointer;
}

.tvpost-inline__link {
    background: #f1f4f7;
    color: #000;
    border: 1px solid #d9e0e6;
}

.tvpost-inline__trailer-btn {
    border: 0;
    background: #1480d9;
    color: #fff;
}

.tvpost-inline__trailer {
    margin-top: 12px;
}

.tvpost-inline__trailer-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.tvpost-inline__trailer-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* tv-channel page */
.tv-channel-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 18px;
    color: #777;
}

.tv-channel-breadcrumbs a {
    color: #1c548b;
    text-decoration: none;
}

.tv-channel-breadcrumbs a:hover {
    color: #1480d9;
}

.tv-channel-breadcrumbs__sep {
    color: #bbb;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tv-channel-country__label {
    color: #666;
}

.tv-channel-onair-wrap {
    margin-bottom: 24px;
}

.tv-channel-onair {
    background: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 8px;
    padding: 14px;
}

.tv-channel-onair__epg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.tv-channel-onair__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 6px;
    background: #f4f7fa;
}

.tv-channel-onair__col--now {
    background: #eef6ff;
    border: 1px solid #c8dff5;
}

.tv-channel-onair__label {
    font-size: 11px;
    line-height: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.tv-channel-onair__time {
    margin-top: 6px;
    font-size: 13px;
    line-height: 16px;
    color: #1480d9;
    font-family: SemiBold;
}

.tv-channel-onair__name {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.35;
    color: #111;
    font-family: SemiBold;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tv-channel-onair__remaining {
    margin-top: 8px;
    font-size: 12px;
    line-height: 16px;
    color: #1480d9;
    font-family: SemiBold;
}

.tv-channel-onair__remaining:empty {
    display: none;
}

.tv-channel-onair__progress {
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: #d8e6f2;
    overflow: hidden;
}

.tv-channel-onair__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #1480d9;
}

.tv-channel-back {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e8edf2;
}

.tv-channel-back__link {
    color: #1480d9;
    font-size: 14px;
    text-decoration: none;
}

.tv-channel-back__link:hover {
    text-decoration: underline;
}

.tv-program-item.is-open {
    border-color: #1480d9;
}

.tv-program-item.is-past {
    opacity: .62;
}

.tv-program-item.is-past:hover {
    opacity: .82;
}

.tv-program-item__live {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 7px;
    border-radius: 4px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    font-family: SemiBold;
    vertical-align: middle;
}

.tv-program-inline-wrap {
    margin: -6px 0 4px;
}

@media (max-width: 767px) {
    .tv-channel-onair__epg {
        grid-template-columns: 1fr;
    }

    .tv-program-item__poster {
        width: 112px;
        min-width: 112px;
        padding-bottom: 63px;
    }
}