/* @import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400&family=Cinzel:wght@700&display=swap');*/

.holiday {
    border: 1px solid #cd1610; /* Оранжевая окантовка */
    font-weight: bold;
    cursor: pointer;
    
   
}



.page .entry-title {
    margin: 0 0 0px;
}


.calendar-container {
    max-width: 100%;
    width: 100%;

    box-sizing: border-box;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
}

.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.5em;

    margin-bottom: 3vh;
}

.custom-input, .custom-button {
    font-family: 'Cinzel', serif;
    padding: 10px 14px;
    border: 3px solid #eee;
    color: #999;
    background: white;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    font-size: 0.8em;
    text-align: center;
}
.input[type="number"] {
    text-align: center; /* Центрирование текста */
}


.custom-button {
    cursor: pointer;
}

.custom-button:hover {
    background-color: #f0f0f0;
}

.custom-input:focus {
    outline: none;
    border-color: #f0f0f0; /* Меняет цвет рамки при фокусе */
}

#calendar {
    margin-top: 3vh; /* Добавлен отступ сверху */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vh; /* Добавлен отступ между колонками и строками */
    justify-items: center;
}

.calendar-month {
    background-color: #ffffff;
    padding: 5px;
    border: 0px solid #BCBCBC;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

.calendar-month h2 {
    margin-top: 0;
    font-family: 'Cinzel', serif;
    font-size: 1em;
    margin-bottom: 5px;
}

.calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    margin: 1px;
    background-color: #fff;
    text-align: center;
    font-size: 0.8em;
    font-family: 'Alegreya', serif;
    color: #404040;
}

.calendar-day.empty {
    background-color: #fff;
}

.calendar-day:nth-child(7n) {
    color: #A80000;
}

.week-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
    gap: 1px;
    border-bottom: 1px solid #BCBCBC;
    font-family: 'Alegreya', serif;
    color: #305496;
    font-size: 0.8em;
    text-align: center;
}

.week-days div:nth-child(7) {
    color: #A80000;
}

.week-days div {
    padding-bottom: 3px;
    text-align: center;
    border-bottom: 1px solid #BCBCBC;
}

.days-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.header-controls {
    gap: 5px;
}

.header-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
       margin: 0px 0;
}

.subtitle-wrapper
{ margin: 0px 0;}
.year-patron {
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    color: #2A4570; 
 

}