/* ОБЩИЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Главный заголовок */
.main-title {
    color: #1a2a3a;
    font-size: 20px;
    border-bottom: 3px solid #c58e34;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Описание */
.description {
    text-align: justify;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
    padding: 20px;
    background: #fdf8f0;
    /* border-left: 5px solid #c58e34;  <-- эта строка удалена */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Блок года */
.year-block {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* Заголовки годов */
.year-title {
    color: #000000;
    font-size: 15px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f7fa;
    font-weight: 700;
}

/* Простой список (для 2026 года) */
.simple-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.simple-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
}

.simple-list li:last-child {
    border-bottom: none;
}

.simple-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
    padding-left: 5px;
}

.simple-list li a:hover {
    color: #c58e34;
    padding-left: 10px;
    text-decoration: none;
}

/* Кнопка сворачивания */
.toggle-btn {
    background: #c58e34;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.toggle-btn:hover {
    background: #a8752a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 142, 52, 0.25);
}

.toggle-btn:focus-visible {
    outline: 2px solid #c58e34;
    outline-offset: 2px;
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.toggle-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Контейнер со ссылками */
/* Контейнер со ссылками — скрыт по умолчанию */
.links-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 12px;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
}

/* Контейнер в открытом состоянии */
.links-container.open {
    max-height: 1000px; /* Достаточно большое значение, чтобы вместить все ссылки */
    opacity: 1;
}

/* Горизонтальная линия внутри аккордеона */
.links-container hr {
    border: none;
    border-top: 1px solid #c58e34;
    margin: 15px 0;
    opacity: 0.3;
}

/* Список ссылок внутри аккордеона */
.links-container ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.links-container ul li {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f2f5;
}

.links-container ul li:last-child {
    border-bottom: none;
}

.links-container ul li a {
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.links-container ul li a:hover {
    color: #c58e34;
    text-decoration: underline;
}

/* Стили для кнопки-переключателя */
.toggle-btn {
    background: #c58e34;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn:hover {
    background: #a8752a;
    transform: translateY(-2px);
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Поворот стрелки при открытии */
.toggle-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}


/* Адаптив для мобильных */
@media (max-width: 600px) {
    .readings-block {
        padding: 16px;
    }
    .main-title {
        font-size: 22px;
    }
    .year-title {
        font-size: 16px;
    }
    .toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
    .year-block {
        padding: 16px;
    }
}