/* Новости туристам (16.11.2026, вид утверждён Лукианом): страница новости .tn, строки .tnl (лента, «Ещё новости», «Новости региона»).
   Палитра «Путешествий»: море, линии, без теней и цветных полос. Шаблоны pages/tur_novost, pages/tur_novosti, partials/region_news. */

/* ---------- страница новости ---------- */
.tn { padding-block: 4px clamp(40px, 6vw, 72px); }
.tn > .tn__m, .tn > h1 { max-width: 820px; }
.tn__m { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 14.5px; color: var(--muted); }
.tn__m a { font-weight: 600; color: var(--sea); text-decoration: none; }
.tn__m a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tn h1 { margin-top: 10px; font-size: clamp(27px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em; hyphens: manual; text-wrap: balance; }
.tn__src { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.tn__src a, .tn__n a { color: var(--sea); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sea-soft); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tn__src a:hover { text-decoration-color: var(--sea); }

.tn__k { margin-top: 18px; padding: 16px 20px 6px; border-radius: var(--r-md); background: var(--sea-soft); }
.tn__k h2 { font: 700 17px/1.2 var(--display); letter-spacing: -.01em; }
.tn__k dl { margin: 6px 0 0; }
.tn__k dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px 16px; padding-block: 10px; border-top: 1px solid rgba(46, 101, 119, .22); }
.tn__k dl > div:first-child { border-top: 0; }
.tn__k dt { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.tn__k dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }

.tn__t { margin-top: 24px; font-size: 18px; line-height: 1.65; color: var(--ink); }
.tn__n { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tn__r { display: inline-grid; gap: 2px; margin-top: 24px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; transition: border-color .15s; }
.tn__r span { font-size: 13.5px; color: var(--muted); }
.tn__r b { font: 700 17px/1.25 var(--display); color: var(--ink); }
.tn__r:hover { border-color: var(--sea); }
.tn__r:hover b { color: var(--sea); }
.tn__ph { margin: 28px 0 0; }
.tn__ph img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.tn__ph figcaption { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tn__ph figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.tn-more { padding-block: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); background: var(--surface); }
.tn-more__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.tn-more__h h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; }

/* ---------- список новостей: дата, заголовок, источник ---------- */
.tnl { display: grid; margin: 0; padding: 0; list-style: none; }
.tnl__i { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 4px 24px; padding-block: 18px; border-top: 1px solid var(--line); }
.tnl__i[hidden] { display: none; }
.tnl__i time { grid-row: span 2; padding-top: 3px; font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tnl__i h2, .tnl__i h3 { font: 700 clamp(18px, 1.5vw, 21px)/1.25 var(--display); letter-spacing: -.015em; hyphens: manual; }
.tnl__i a { color: var(--ink); text-decoration: none; transition: color .15s; }
.tnl__i a:hover { color: var(--sea); }
.tnl__i p { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
/* три новости в ряд: «Ещё новости» и «Новости региона» */
.tnl--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); margin-top: 20px; }
.tnl--3 .tnl__i { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; }
.tnl--3 .tnl__i time { grid-row: auto; padding-top: 0; }

/* ---------- лента ---------- */
.tnf { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 14px 32px; padding-top: clamp(20px, 2.6vw, 32px); }
.tnf[hidden] { display: none; }
.tnf__r { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.tnf__r select { min-height: 44px; padding: 8px 36px 8px 14px; border: 1px solid var(--control); border-radius: var(--r-sm); background: var(--surface); font: inherit; font-size: 15px; color: var(--ink); }
.tnf__r select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tn-feed { padding-block: 20px clamp(48px, 6vw, 80px); }
.tn-feed .tnl { max-width: 920px; border-bottom: 1px solid var(--line); }
.tnl__none { margin-top: 24px; font-size: 16px; color: var(--ink-2); }
.tnl__reset { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--sea); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- блок на странице региона ---------- */
.tn-reg__all { margin-top: 18px; }

@media (max-width: 760px) {
  .tn h1 { font-size: clamp(25px, 7vw, 31px); line-height: 1.1; }
  .tn__src { font-size: 14px; }
  .tn__k { margin-top: 14px; padding: 14px 16px 4px; }
  .tn__k dl > div { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .tn__k dt { font-size: 13px; }
  .tn__k dd { font-size: 15.5px; line-height: 1.4; }
  .tn__t { font-size: 17px; }
  .tnl__i { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 14px; }
  .tnl__i time { grid-row: auto; padding-top: 0; font-size: 13.5px; }
  .tnl--3 { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .tnf { align-items: stretch; flex-direction: column; }
  .tnf__r { justify-content: space-between; }
  .tnf__r select { flex: 1; max-width: 260px; }
}

/* ---------- лента на телефоне: низкая обложка (решение Лукиана 15.11.2026 18:07) ----------
   Обложка сжата до ссылки возврата, заголовка и подписи к снимку; отбор по теме в одну строку с прокруткой вбок.
   На первом экране 430×739 видны отбор и две–три новости. */
@media (max-width: 760px) {
  .rgh--hub:has(+ .tnf) { min-height: 0; padding-top: calc(var(--hdr-h) + 68px); }
  .rgh--hub:has(+ .tnf) .rgh__in { gap: 0; padding-bottom: 40px; }
  .rgh--hub:has(+ .tnf) h1 { font-size: 38px; line-height: 1; }
  .rgh--hub:has(+ .tnf) .rgh__line { display: none; }
  .rgh--hub:has(+ .tnf) .rgh__cap { bottom: 10px; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
  .tnf { gap: 10px; padding-top: 14px; overflow-x: clip; }
  .tnf > * { min-width: 0; max-width: 100%; }
  .tnf .fchips { max-width: none; }
  .tnf .fchips { flex-wrap: nowrap; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tnf .fchips::-webkit-scrollbar { display: none; }
  .tnf .fchips button { flex: none; }
  .tn-feed { padding-top: 10px; }
}


/* ---------- Страница новости, вид от 16.11.2026 (слова Лукиана): «Коротко» сплошным текстом, ниже полная версия ----------
   Без плашек и таблицы фактов. Слева колонка текста, справа на компьютере узкая колонка «источник, сверено, регион». */
.tn__g { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 300px); justify-content: space-between; gap: 0 clamp(40px, 6vw, 96px); align-items: start; margin-top: 26px; }
.tn__b { grid-column: 1; min-width: 0; }
.tn__side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hdr-h) + 20px); }
.tn__lead { padding-top: 14px; border-top: 2px solid var(--ink); }
.tn__lead h2 { font: 700 15px/1.2 var(--display); letter-spacing: 0; color: var(--sea); }
.tn__lead p { margin-top: 8px; font-size: clamp(19px, 1.55vw, 21px); line-height: 1.52; letter-spacing: -.005em; color: var(--ink); }
.tn__b > .tn__src { display: none; margin-top: 14px; }
.tn__ph { margin: 28px 0 0; }
.tn__full { margin-top: 28px; }
.tn__full--rule { padding-top: 26px; border-top: 1px solid var(--line); }
.tn__full p { font-size: 17.5px; line-height: 1.68; color: var(--ink); }
.tn__full p + p { margin-top: 16px; }
.tn__n { margin-top: 22px; }
.tn__pl { margin: 0; border-top: 2px solid var(--ink); }
.tn__pl > div { display: grid; gap: 3px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.tn__pl dt { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.tn__pl dd { margin: 0; font-size: 15.5px; line-height: 1.42; color: var(--ink); }
.tn__pl a { color: var(--sea); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sea-soft); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tn__pl a:hover { text-decoration-color: var(--sea); }
.tn__g > .tn__r { display: none; grid-column: 1; justify-self: start; }

/* «Ещё новости» и «Новости региона»: те же строки, что в ленте, во всю ширину */
.tnl--more, .tnl--reg { margin-top: 20px; border-bottom: 1px solid var(--line); }
.tnl--more { max-width: 920px; }
.tn-reg__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.tnl--reg .tnl__i { grid-template-columns: 176px minmax(0, 1fr); padding-block: 22px; }
.tnl--reg .tnl__i--ph { grid-template-columns: 176px minmax(0, 1fr) clamp(220px, 24vw, 300px); grid-template-rows: auto auto 1fr; gap: 6px clamp(24px, 3vw, 44px); }
.tnl--reg .tnl__i time { grid-row: 1 / span 3; }
.tnl--reg .tnl__i--ph > picture { grid-row: 1 / span 3; }
.tnl--reg .tnl__i h3 { font-size: clamp(20px, 1.8vw, 25px); }
.tnl--reg .tnl__x { max-width: 68ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 900px) {
  .tn__g { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .tn__side { display: none; }
  .tn__b > .tn__src { display: block; }
  .tn__g > .tn__r { display: inline-grid; margin-top: 22px; }
}
@media (max-width: 760px) {
  .tn__lead p { font-size: 18px; line-height: 1.5; }
  .tn__full p { font-size: 17px; }
  .tnl--reg .tnl__i { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 4px; padding-block: 16px; }
  .tnl--reg .tnl__i--ph { grid-template-columns: minmax(0, 1fr) 96px; grid-template-rows: auto auto 1fr; gap: 4px 14px; }
  .tnl--reg .tnl__i time { grid-row: auto; }
  .tnl--reg .tnl__i--ph > picture { grid-column: 2; grid-row: 1 / span 3; }
  .tnl--reg .tnl__i h3 { font-size: 18px; }
  .tnl--reg .tnl__x { display: none; }
}

/* лента: маленькая фотография справа у новостей, где она есть */
.tnl--feed .tnl__i--ph { grid-template-columns: 176px minmax(0, 1fr) 168px; grid-template-rows: auto 1fr; }
.tnl__ph, .tnl__i picture.tnl__ph img, .tnl__i > picture img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.tnl--feed .tnl__i--ph > picture, .tnl--feed .tnl__i--ph > img { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
.tnl--nofoto .tnl__i--ph { grid-template-columns: 176px minmax(0, 1fr); }
.tnl--nofoto .tnl__i > picture, .tnl--nofoto .tnl__i > img { display: none; }

@media (max-width: 760px) {
  .tnl--feed .tnl__i--ph { grid-template-columns: minmax(0, 1fr) 96px; grid-template-rows: auto auto 1fr; gap: 4px 14px; }
  .tnl--feed .tnl__i--ph > picture, .tnl--feed .tnl__i--ph > img { grid-column: 2; grid-row: 1 / span 3; }
  .tnl--feed .tnl__i--ph > time, .tnl--feed .tnl__i--ph > h2, .tnl--feed .tnl__i--ph > p { grid-column: 1; }
  .tnl--nofoto .tnl__i--ph { grid-template-columns: minmax(0, 1fr); }
}

/* ссылки под полной версией (16.11.2026) */
.tn__links { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.tn__links a { color: var(--sea); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sea-soft); text-decoration-thickness: 2px; text-underline-offset: 4px; }
