:root {
    --accent-color: #cfaf74;
    --dop-accent-color: rgba(200, 172, 120, 0.300);
    --heavy-accent-color: #3d3422;
    --search-accent-color: #a98f60;
}


/* стеки */
.horizontalStack {
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding: 30px;
    gap: 8px;
}
.verticalStackMenu {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 30px;
    min-width: 280px;
    background: transparent;
    border-radius: 16px;
    align-self: flex-start;
    position: sticky;
    top: 0;
    height: fit-content;
}
.verticalStackContent {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 30px;
    min-width: 500px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
}


/* Стили для табов */
.tabLink {
    text-decoration: none;
    color: var(--heavy-accent-color);
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}
.tabLink:hover {
    background-color: var(--dop-accent-color);
    font-weight: 600;
}
.tabLink.active {
    font-weight: bold;
    color: white;
    background-color: var(--accent-color);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}


/* Управляемые элементы: поле поиска и кнопки */
.seField {
    border: 1px solid var(--dop-accent-color);
    padding: 8px;
    border-radius: 4px;
    outline: none;
    background: white;
}
.seField:focus {
    box-shadow: 0 0 0 4px var(--dop-accent-color);
}
.usBut, button.usBut {
    border: 1px solid var(--dop-accent-color);
    background-color: var(--dop-accent-color);
    color: var(--heavy-accent-color);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}
.usBut:hover, button.usBut:hover {
    filter: brightness(0.85);
}
/* Active (onclick) — сильнее затемнять при нажатии */
.tabLink:active,
.tabLink.active:active {
    filter: brightness(0.7);
}
.usBut:active,
button.usBut:active {
    filter: brightness(0.7);
}






/* Карточки отцы коробки  */
/* ПЛЕТНЕВА */
.cardPletneva {
    display: flex;
    flex-direction: row;
    gap: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding-top: 4px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 8px 0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    width: calc(100% - 32px);
}
/* МЕСТА */
.card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding-top: 4px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 8px 0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    width: calc(100% - 32px);
}
/* дети карточки коробки */
.cardContent {
    display: flex;
    flex-direction: column;
    gap: 8px;

    flex: 1;
    justify-content: center;
}
.cardImage {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 8px;
    border: var(--heavy-accent-color) 1px solid;
    overflow: hidden;
    
    flex: 0 0 250px;
    height: 200px;
}


/* все заголовки в карточке */
.cardContent h3 {
    margin: 0 0 12px 0;
    font-size: 1.3em;
    color: #333;
}
/* все параграфы в карточке */
.cardContent p {
    margin: 0px 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}
/* все фотки в карточке фото */
.cardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Убираем бордер из cardImage только для Плетневой */
.cardPletneva .cardImage {
    border: none;
    max-height: 200px;
}

/* Добавляем отступ сверху для текста у Плетневой */
.cardPletneva .cardContent {
    margin-top: 16px;
}

/* Добавляем отступ сверху для cardImage в карточках мест */
.card .cardImage {
    margin-top: 12px;
}

/* Добавляем отступ сверху для cardImage у Плетневой */
.cardPletneva .cardImage {
    margin-top: 12px;
}

/* Добавляем отступ сверху для cardContent только в карточках внутри allPlaces */
#allPlaces .card .cardContent {
    margin-top: 16px;
}

/* Добавляем отступ сверху для cardContent в школьных карточках */
.cardSchoolG .cardContent {
    margin-top: 0;
}

/* Добавляем отступ сверху для iframe в школьных карточках */
.cardSchoolG iframe {
    margin: 0;
}

/* Убираем отступ для первой карточки (Выбор редакции) */
.card:first-of-type .cardContent {
    margin-top: 0;
}

h6 {
    margin: 0.98em 0;  /* или примерно 8px 0 в зависимости от font-size */
}



/* школьные экскурсии видео */
.cardSchoolG {
    display: flex;
    flex-direction: row;
    gap: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    width: calc(100% - 32px);
}
.cardVideo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 8px;
    border: var(--heavy-accent-color) 1px solid;
    overflow: hidden;
    
    flex: 0 0 250px;
    height: 200px;
}
