body.body {
    background: #fff;
    color: #000000;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    margin: 0;
}

.header {
    background: #111837;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: relative;
    z-index: 20;
}

.header-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    gap: 0.5rem;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.burger-icon {
    width: 1.5rem;
    height: 1.5rem;
}



.main-nav {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    position: static;
    background: transparent;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: inline-block;
    padding: 0.75rem 0;
    color: inherit;
    text-decoration: none;
    transition: text-decoration 0.2s;
}
.nav-link:hover {
    text-decoration: underline;
}

.main {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1rem;
}

.footer {
    background: #f3f4f6;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-link {
    text-decoration: underline;
    color: inherit;
}

.main-section {
    background: #eff6ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.main-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}
.main-desc {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.main-desc2 {
    color: #4b5563;
    margin-bottom: 1rem;
}
.main-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.875rem;
    color: #4b5563;
}
.main-features-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.main-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.channel-list-section {
    margin-bottom: 1.5rem;
}
.channel-list-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.channel-list-desc {
    color: #4b5563;
    margin-bottom: 1.5rem;
}
.channel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.channel-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    color: inherit;
}
.channel-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    background: #eff6ff;
}
.channel-card-img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    border-radius: 0.25rem;
}
.channel-card-content {
    flex: 1 1 0%;
}
.channel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}
.channel-meta {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}
.channel-meta-empty {
    color: #9ca3af;
}
.channel-progress {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
.channel-progress-bar {
    height: 100%;
    background: #60a5fa;
    transition: width 0.3s;
}
.channel-progress-meta {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
}

.seo-section {
    margin-top: 3rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}
.seo-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.seo-content {
    color: #374151;
    max-width: none;
}

.channel-back {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.375rem 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.channel-back:hover {
    border-color: #9ca3af;
    color: #1f2937;
}
.channel-back-icon {
    height: 1rem;
    width: 1rem;
    margin-right: 0.5rem;
}
.channel-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.channel-header-img {
    height: 3rem;
    width: auto;
    margin-right: 0.75rem;
    border-radius: 0.25rem;
    object-fit: contain;
}
.channel-header-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.channel-player {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding-top: 56.25%;
}
.channel-player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.channel-description {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.channel-program-section {
    margin-top: 1.5rem;
}
.channel-program-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.channel-similar-section {
    margin-top: 3rem;
}
.channel-similar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.channel-similar-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .channel-similar-list {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 768px) {
    .channel-similar-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.channel-similar-card {
    display: block;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, background 0.2s;
}
.channel-similar-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    background: #eff6ff;
}
.channel-similar-img {
    margin-left: auto;
    margin-right: auto;
    height: 5rem;
    width: 5rem;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}
.channel-similar-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

/* --- HERO (главная страница) --- */
.hero {
    background: #eff6ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}
.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-desc {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.hero-desc2 {
    color: #4b5563;
    margin-bottom: 1rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.875rem;
    color: #4b5563;
}
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}
.hero-list-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- SECTION --- */
.section {
    margin-bottom: 2rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-desc {
    color: #4b5563;
    margin-bottom: 1.5rem;
}
.section-secondary {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 3rem;
}

/* --- CHANNEL CARD --- */
.channel-img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}
.channel-info {
    flex: 1 1 0%;
}
.channel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}
.channel-now {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}
.channel-noinfo {
    font-size: 0.875rem;
    color: #9ca3af;
}
.channel-progress-bar {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
.channel-progress {
    height: 100%;
    background: #60a5fa;
    transition: width 0.3s;
}
.channel-time {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
}

/* --- PROSE --- */
.prose {
    font-size: 1rem;
    line-height: 1.7;
}
.content-wide {
    max-width: none;
}

/* --- BACK LINK --- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.back-link:hover {
    color: #1e40af;
}
.back-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* --- CHANNEL PAGE HEADER/PLAYER --- */
.header-h1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    padding: 1rem 0;
    position: relative;
    z-index: 20;
}

.header-h1 .header-img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    border-radius: 0.5rem;
    background: #111837;
}
.header-h1 .header-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}
.player {
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 0.5rem;
    overflow: hidden;
    background: #000;
}
.player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- PROGRAM --- */
.program-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.program-title {
    font-size: 1.25rem;
}
.program-empty {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    margin: 2rem 0;
}
.program-details {
    margin-bottom: 1rem;
}
.program-summary {
    cursor: pointer;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}
.program-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #d1d5db;
    text-align: left;
}
.program-past {
    color: #9ca3af;
}
.program-time {
    width: 5rem;
    font-size: 1rem;
    font-family: monospace;
    flex-shrink: 0;
    text-align: center;
}
.program-title {
    word-break: break-word;
}
.program-active {
    background: #eff6ff;
    font-weight: 600;
}

/* --- SIMILAR --- */
.similar-section {
    margin-top: 2rem;
}
.similar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.similar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;
}
.similar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    width: 8rem;
    transition: box-shadow 0.2s;
}
.similar-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}
.similar-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}
.similar-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
}

/* --- ERROR/404 --- */
.error-center {
    text-align: center;
    padding: 4rem 1rem;
}
.error-icon-block {
    margin-bottom: 2rem;
}
.error-icon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    background: #fee2e2;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}
.error-icon {
    width: 4rem;
    height: 4rem;
    color: #ef4444;
}
.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: #d1d5db;
    margin-bottom: 1rem;
    user-select: none;
}
.error-desc-block {
    max-width: 32rem;
    margin: 0 auto 3rem auto;
}
.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}
.error-desc {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}
.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .error-actions {
        flex-direction: row;
        justify-content: center;
    }
}
.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.error-btn-main {
    background: #2563eb;
    color: #fff;
}
.error-btn-main:hover {
    background: #1e40af;
}
.error-btn-secondary {
    background: #e5e7eb;
    color: #374151;
}
.error-btn-secondary:hover {
    background: #d1d5db;
}
.error-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.channels-block {
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 2rem 1rem;
    margin: 2rem 0;
}
.channels-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}
.channels-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .channels-list {
        grid-template-columns: repeat(4, 1fr);
    }
}
.channel-badge {
    display: inline-block;
    background: #bbf7d0;
    color: #15803d;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.25rem;
}

/* --- INFO --- */
.info-block {
    margin-top: 3rem;
    text-align: center;
}
.info-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.info-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}
.info-link:hover {
    color: #1e40af;
}

.page-heading {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;    /* font-bold */
    color: #1f2937;       /* text-gray-900 */
    margin-bottom: 2rem; /* mb-8 */
}

.contact-section {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) {
    .contact-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card-box {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
    margin-right: 0.5rem;
}

.working-hours p {
    display: flex;
    justify-content: space-between;
    color: #4b5563;
}

.working-hours p span:last-child {
    font-weight: 500;
}

.note-box {
    background-color: #eff6ff;
    border-left: 4px solid #60a5fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
}

.note-box p {
    color: #1d4ed8;
}
