/* app/static/css/pages/index.css */
/* Стили для главной страницы */

.main-container {
    padding-top: var(--app-spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Логотип — по центру, ширина 250px */
.logo-header {
    text-align: center;
    margin-bottom: var(--app-spacing-lg);
}

.logo-header a {
    display: inline-block;
}

.logo-header img {
    display: block;
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Плеер */
#radio-player {
    margin-bottom: 0;
}

/* Баннер — без отступов, ширина как у плеера */
.banner-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.banner-image {
    width: 100%;
    height: 590px;
    object-fit: cover;
    display: block;
}

/* Две колонки — как в оригинале */
.content-row {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: #f4f4f4;
    border-bottom: 1px solid #000;
}

.content-left {
    flex: 1;
    min-width: 0;
    padding: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.6);
}

.content-right {
    width: 320px;
    flex-shrink: 0;
    padding: 20px;
}

/* Сетка вещания */
.schedule-block {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.schedule-title {
    font-size: var(--app-font-size-xl);
    font-weight: 600;
    margin-bottom: var(--app-spacing-md);
    color: var(--app-color-text-primary);
}

.schedule-content {
    min-height: 100px;
}

/* Контакты */
.contacts-page {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--app-spacing-lg);
    background: var(--app-color-bg-body);
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow-sm);
}

.contacts-page h1 {
    margin-bottom: var(--app-spacing-lg);
    text-align: center;
}

.contacts-info p {
    padding: var(--app-spacing-sm) 0;
    border-bottom: 1px solid var(--app-color-border-light);
    display: flex;
    justify-content: space-between;
}

.contacts-info p:last-child {
    border-bottom: none;
}

.contacts-info strong {
    color: var(--app-color-text-secondary);
}

/* Адаптивность */
@media (max-width: 992px) {
    .content-row {
        flex-direction: column;
    }

    .content-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    }

    .content-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-header img {
        max-width: 180px;
    }

    .banner-image {
        height: 300px;
    }

    .content-left,
    .content-right {
        padding: 30px 20px;
    }

    .schedule-block {
        padding: 0;
    }

    .contacts-info p {
        flex-direction: column;
        gap: var(--app-spacing-xs);
    }
}

@media (max-width: 480px) {
    .banner-image {
        height: 200px;
    }

    .content-left,
    .content-right {
        padding: 20px 15px;
    }
}


/* Заголовки блоков — как в оригинале */
.moduleTitle {
    font-size: 22px;
    color: #0091ff;
}

.schedule-title,
.history-title {
    font-size: 22px;
    color: #0091ff;
    font-weight: normal;
}

/* ===== СТИЛИ ДЛЯ ТАБЛИЦЫ СЕТКИ ВЕЩАНИЯ ===== */
.schedule-content .custom table {
    border-collapse: collapse;
    border-color: #f5f3f1 #f5f3f1 #696969;
    border-style: solid;
    border-width: 0px 0px 1px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.schedule-content .custom table tr {
    border-bottom: 1px solid #696969;
}

.schedule-content .custom table td {
    padding: 10px 15px;
    vertical-align: middle;
}

.schedule-content .custom table td:first-child {
    width: 151px;
    text-align: center;
}

.schedule-content .custom table td:nth-child(2) {
    width: 877px;
    text-align: left;
}

.schedule-content .custom table td:last-child {
    width: 279px;
    text-align: right;
    white-space: nowrap;
}

.schedule-content .custom table td img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.schedule-content .custom table td p {
    margin: 0;
    text-align: left;
}

/* Название рубрики — черный цвет */
.schedule-content .custom table td p .schedule-name {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

/* Описание — серый цвет */
.schedule-content .custom table td p .schedule-desc {
    color: #808080;
    font-size: 14px;
}

/* Время эфира */
.schedule-content .custom table td .schedule-time {
    color: #808080;
}

.schedule-content .custom table td .schedule-time strong {
    font-size: 22px;
    color: #000000;
}

.schedule-content .custom table td .schedule-time sup {
    font-size: 14px;
}

.schedule-content .custom p {
    color: #808080;
    font-size: 11px;
    font-family: arial, sans-serif;
    text-align: center;
    margin-top: 10px;
}
