/* Общие стили */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: #e4e6eb; 
    padding: 20px 0; 
    color: #1c1e21;
}
.post-container { 
    max-width: 600px; 
    margin: 0 auto; 
    padding: 0 15px; 
}
.archive-page {
    background-color: #ffffff; 
    border-radius: 10px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    padding: 20px;
}

/* Стили карточки канала */
.channel-card { 
    background-color: #ffffff; 
    padding: 15px; 
    border-radius: 10px; 
    margin-bottom: 25px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    border: 1px solid #ddd;
}
.channel-link { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    color: inherit; 
    margin-bottom: 10px; 
}
.channel-avatar { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-right: 15px; 
    flex-shrink: 0; 
}
.channel-name { 
    font-weight: 600; 
    font-size: 1.1em; 
    color: #2a5885; 
}
.channel-status { 
    font-size: 0.85em; 
    color: #8899a6; 
}
.channel-description { 
    font-size: 0.9em; 
    color: #1c1e21; 
    border-top: 1px solid #eee; 
    padding-top: 10px;
}

/* Стили заголовков */
h1 { 
    font-size: 1.4em; 
    color: #1c1e21; 
    margin-top: 0; 
    margin-bottom: 15px; 
}
h2 { 
    font-size: 1.4em; 
    color: #2a5885; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px; 
    margin-top: 25px;
}
h3 { 
    font-size: 1.1em; 
    color: #1c1e21; 
    margin-top: 15px; 
}

/* Стили навигации */
.top-nav a { 
    text-decoration: none; 
    color: #0088cc; 
    font-size: 0.9em; 
}
.day-navigation { 
    display: flex; 
    justify-content: space-between; 
    margin: 15px 0; 
    font-size: 0.9em; 
}
.day-navigation a { 
    color: #0088cc; 
    text-decoration: none; 
    font-weight: 600; 
}
.day-navigation span { 
    color: #ccc; 
    display: inline-block; /* Для сохранения структуры flex-контейнера */
    min-width: 100px; /* Приблизительное место для ссылок */
}

/* Стили архива */
ul { 
    list-style: none; 
    padding: 0; 
    margin: 5px 0 15px 0; 
    display: flex; 
    flex-wrap: wrap; 
}
li { 
    margin-right: 15px; 
    margin-bottom: 5px; 
}
li a { 
    text-decoration: none; 
    color: #0088cc; 
    font-size: 0.9em; 
}

/* Стили постов */
.telegram-post { 
    background-color: #ffffff; 
    padding: 15px; 
    border-radius: 10px; 
    margin-bottom: 10px; 
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); 
}
.post-text { 
    font-size: 0.95em; 
    line-height: 1.4; 
    color: #1c1e21; 
}
.post-text a { 
    color: #0088cc; 
    text-decoration: none; 
}
.post-text b { 
    font-weight: bold; 
}
.post-footer { 
    margin-top: 10px; 
    font-size: 0.75em; 
    color: #8899a6; 
    display: flex; 
    justify-content: space-between; 
}