@charset "UTF-8";
/* Дэя: страница направления (taxonomy-destination.php). Карточки, боковая карточка, пилюли: components/tour-card.css */

.deya-dest__h1 { max-width: 1000px; text-wrap: balance; }
.deya-dest .deya-dest__lead { max-width: 820px; }

/* Обложка */
.deya-dest__cover { margin-top: 48px; height: min(480px, 60vw); min-height: 260px; border-radius: 32px; overflow: hidden; position: relative; background: var(--gray); }
.deya-dest__cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* Текст + боковая форма */
.deya-dest__layout { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.deya-dest__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.deya-dest__block { display: flex; flex-direction: column; gap: 20px; }
.deya-dest__h2 { margin: 36px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; text-wrap: balance; }
.deya-dest__text { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.7; color: #2B424A; text-wrap: pretty; }
.deya-dest__text > * { margin: 0; }
.deya-dest__text ul, .deya-dest__text ol { padding-left: 1.3em; }
.deya-dest__text a { text-decoration: underline; }

/* Таблица (даты и цена) */
.deya-dest__tablebox { border-radius: 24px; overflow: hidden; border: 1px solid #E4E6EA; }
.deya-dest__table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 15px; line-height: 1.5; text-align: left; }
.deya-dest__table th, .deya-dest__table td { padding: 14px 18px; vertical-align: top; text-align: left; font-weight: 400; white-space: pre-line; overflow-wrap: anywhere; }
.deya-dest__table thead th { background: var(--dark); color: #fff; font-weight: 700; font-size: 14px; }
.deya-dest__table tbody tr { border-top: 1px solid #E4E6EA; }
.deya-dest__table tbody:first-child tr:first-child { border-top: 0; }

/* Боковая карточка */
.deya-dest .deya-dest__aside { --w: 360px; gap: 18px; }
.deya-dest__form-title { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.deya-dest .deya-dest__layout--solo .deya-dest__aside { --w: 520px; position: static; }
.deya-dest__hint { flex: 1 1 320px; margin: 0; padding: 18px 22px; border: 1.5px dashed var(--line); border-radius: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Туры направления */
.deya-dest__tours { margin-top: 96px; }
.deya-dest__tours-title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.deya-dest__tours .deya-tgrid { margin-top: 28px; }

@media (max-width: 1100px) {
	.deya-dest .deya-dest__aside, .deya-dest .deya-dest__layout--solo .deya-dest__aside { --w: 100%; }
}
@media (max-width: 900px) {
	.deya-dest__cover { margin-top: 32px; border-radius: 28px; }
	.deya-dest__layout { margin-top: 40px; gap: 32px; }
	.deya-dest__h2 { margin-top: 24px; }
	.deya-dest__tours { margin-top: 64px; }
}
@media (max-width: 720px) {
	.deya-dest__cover { border-radius: 24px; min-height: 200px; }
	.deya-dest__text { font-size: 16px; line-height: 1.65; }
	.deya-dest__table th, .deya-dest__table td { padding: 12px 14px; }
	.deya-dest__form-title { font-size: 24px; }
}
