/* Georgia With a Local
 * Common styles for the site's public pages.
 * Edit colours and fonts in :root. Mobile rules are at the end.
 */

/* Цвета и шрифты */
:root {
  --paper:#faf8f3;
  --ink:#292c29;
  --muted:#777a70;
  --accent:#8c3937;
  --line:#deded4;
  --soft:#efeee7;
  --serif:Georgia,'Times New Roman',serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:15px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased;
}

/* Пиксель Метрики для посетителей с отключённым JavaScript. */
.metrika-pixel {
  position:absolute;
  left:-9999px;
}

a {
  color:inherit;
  text-decoration:none;
}

button,input {
  font:inherit;
}

button,a,input,summary {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:6px;
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

button {
  color:inherit;
}

button[hidden],[hidden] {
  display:none!important;
}

.wrap {
  width:min(1184px,calc(100% - 96px));
  margin-inline:auto;
}

.skip {
  position:fixed;
  top:-70px;
  left:20px;
  z-index:10;
  background:var(--paper);
  padding:12px;
}

.skip:focus {
  top:10px;
}

/* Общая шапка и навигация */
.site-header {
  border-bottom:1px solid var(--line);
}

.header-inner {
  height:100px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:40px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.2;
}

.brand>img {
  width:41px;
  height:41px;
  object-fit:contain;
}

.brand>span {
  font:21px var(--serif);
  letter-spacing:-.6px;
}

.brand i {
  font-style:normal;
}

.brand small {
  display:block;
  margin-top:7px;
  font:8px var(--sans);
  letter-spacing:2.6px;
  color:var(--muted);
}

.header-inner nav {
  display:flex;
  align-items:center;
  gap:36px;
}

.header-inner nav>a {
  position:relative;
  font-size:13px;
  padding:10px 0;
}

.header-inner nav>a[aria-current=page]:after {
  content:'';
  position:absolute;
  bottom:2px;
  left:0;
  right:0;
  height:1px;
  background:var(--accent);
}

.header-inner nav span {
  margin-left:12px;
  color:var(--accent);
}

.eyebrow {
  text-transform:uppercase;
  font:10px/1.5 var(--sans);
  letter-spacing:2px;
  color:var(--accent);
  display:flex;
  align-items:center;
  gap:10px;
}

.eyebrow>span:not(.other) {
  height:5px;
  width:5px;
  background:var(--accent);
  border-radius:50%;
}

h1,h2,h3,p,figure {
  margin:0;
}

h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400;
}

em {
  font-weight:400;
}

p {
  color:var(--muted);
}

/* Главная страница */
.home-hero {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:60px;
  align-items:center;
  margin-top:56px;
  margin-bottom:54px;
}

.hero-copy {
  padding-block:16px;
}

.home-hero h1 {
  font-size:clamp(54px,5.4vw,78px);
  line-height:1.08;
  letter-spacing:-2.4px;
  margin:25px 0 23px;
}

.home-hero h1 em {
  color:var(--accent);
}

.hero-copy>p {
  max-width:370px;
  font-size:14px;
  line-height:1.85;
}

.button {
  display:inline-flex;
  justify-content:space-between;
  align-items:center;
  gap:35px;
  background:var(--accent);
  border:1px solid var(--accent);
  color:white;
  padding:15px 22px;
  font-size:12px;
  min-height:49px;
  transition:background .2s,transform .2s;
}

.button:hover {
  background:#71302e;
  transform:translateY(-1px);
}

.hero-copy>.button {
  margin-top:28px;
}

.button span {
  font-size:19px;
  line-height:1;
}

.hero-caption {
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:37px;
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
}

.small-star {
  font-size:35px;
  color:#a6a48d;
  line-height:1;
}

.hero-picture {
  position:relative;
  align-self:stretch;
  min-height:565px;
}

.hero-picture>img {
  height:100%;
  position:absolute;
  inset:0;
  width:100%;
  object-fit:cover;
  object-position:60% center;
  border-radius:3px;
}

.picture-label {
  position:absolute;
  bottom:17px;
  left:24px;
  right:24px;
  display:flex;
  justify-content:space-between;
  color:#fffdf3;
  font-size:9px;
  text-shadow:0 1px 8px #000;
  letter-spacing:.8px;
}

.stories-section {
  padding-top:65px;
  padding-bottom:70px;
}

.stories-actions {
  display:flex;
  justify-content:center;
  margin-top:32px;
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:25px;
  margin-bottom:30px;
}

.section-heading h2 {
  font-size:34px;
  line-height:1.2;
  letter-spacing:-.7px;
  margin-top:12px;
}

.text-link {
  font-size:12px;
  white-space:nowrap;
  padding-bottom:5px;
  border-bottom:1px solid var(--line);
}

.text-link span {
  margin-left:16px;
  color:var(--accent);
}

.text-link:hover {
  color:var(--accent);
}

/* Общие карточки статей */
.story-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
}

.story-card {
  min-width:0;
}

.story-image {
  display:block;
  overflow:hidden;
  aspect-ratio:16 / 9;
  background:var(--soft);
  position:relative;
  border-radius:3px;
}

.story-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .6s;
}

.story-image:hover img {
  transform:scale(1.035);
}

.image-arrow {
  position:absolute;
  bottom:16px;
  right:16px;
  background:var(--paper);
  width:35px;
  height:35px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:20px;
  color:var(--accent);
}

.story-info {
  padding-top:20px;
}

.story-kicker {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:9px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:var(--accent);
}

.story-kicker .read-time {
  color:var(--muted);
  letter-spacing:.2px;
  text-transform:none;
  font-size:10px;
}

.story-card .story-title {
  font-family:var(--serif);
  font-weight:400;
  color:var(--ink);
  font-size:27px;
  line-height:1.25;
  letter-spacing:-.4px;
  margin:13px 0 12px;
  max-width:490px;
}

.story-card .story-title a:hover {
  color:var(--accent);
}

.story-card p:not(.story-title) {
  font-size:13px;
  line-height:1.8;
  max-width:490px;
}

.story-date {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:17px;
}

.closing {
  border-top:1px solid var(--line);
  padding:48px 0 60px;
  display:grid;
  grid-template-columns:65px 1fr 1fr;
  gap:25px;
  align-items:center;
}

.closing-mark {
  color:#ada68c;
  font-size:57px;
  line-height:1;
}

.closing h2 {
  font-size:31px;
  line-height:1.3;
  margin-top:13px;
  letter-spacing:-.5px;
}

.closing h2 em {
  color:var(--accent);
}

.closing>p {
  font-size:13px;
  line-height:1.85;
  max-width:350px;
  justify-self:end;
}

/* Общий подвал */
.site-footer {
  background:#efeee6;
  border-top:1px solid #e4e2d7;
}

.footer-top {
  display:flex;
  align-items:center;
  gap:60px;
  padding:35px 0;
}

.footer-brand {
  font:21px var(--serif);
}

.footer-brand i {
  font-style:normal;
  color:var(--accent);
}

.footer-top p {
  font-size:11px;
  line-height:1.7;
}

.up-link {
  margin-left:auto;
  font-size:11px;
}

.up-link span {
  display:inline-block;
  margin-left:15px;
  font-size:20px;
  color:var(--accent);
}

.footer-bottom {
  padding:18px 0;
  border-top:1px solid #dcdccf;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:.2px;
  color:var(--muted);
}

.footer-bottom nav {
  display:flex;
  gap:25px;
}

.footer-bottom a:hover {
  color:var(--accent);
}

/* Хлебные крошки */
.breadcrumbs {
  display:flex;
  gap:13px;
  align-items:center;
  padding-top:29px;
  font-size:10px;
  color:var(--muted);
  flex-wrap:wrap;
}

.breadcrumbs a:hover {
  color:var(--accent);
}

.breadcrumbs>span[aria-hidden] {
  color:#b3b4a8;
}

/* Каталог статей */
.catalog-heading {
  padding:53px 0 42px;
  position:relative;
}

.catalog-heading h1 {
  font-size:64px;
  letter-spacing:-1.8px;
  line-height:1.2;
  margin:14px 0 20px;
}

.catalog-heading p {
  font-size:14px;
  line-height:1.8;
}

.catalog-decoration {
  position:absolute;
  right:20px;
  top:50px;
  font-size:100px;
  color:#bfbaa0;
  line-height:1;
}

.catalog-tools {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:17px 0;
  align-items:center;
}

.topic-filters {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.filter {
  border:0;
  background:transparent;
  border-radius:3px;
  padding:10px 13px;
  font-size:11px;
  color:var(--muted);
}

.filter.active {
  background:#eae7dc;
  color:var(--ink);
}

.filter:hover {
  color:var(--accent);
}

.filter span {
  font-size:9px;
  margin-left:9px;
  opacity:.6;
}

.search {
  display:flex;
  gap:10px;
  align-items:center;
  border-left:1px solid var(--line);
  padding-left:20px;
  color:var(--muted);
}

.search input {
  background:transparent;
  outline-offset:3px;
  border:0;
  width:170px;
  font-size:12px;
  color:var(--ink);
  padding:7px 0;
}

.search input::placeholder {
  color:var(--muted);
}

.search svg {
  flex-shrink:0;
}

.search-submit {
  border:0;
  border-radius:3px;
  background:var(--soft);
  padding:8px 12px;
  color:var(--accent);
  font-size:12px;
}

.search-submit:hover {
  background:var(--line);
}

.results-count {
  font-size:10px;
  margin:21px 0 23px;
}

.catalog-grid {
  row-gap:45px;
}

.pagination {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:48px 0;
}

.pagination-link,.pagination-direction {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:44px;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:3px;
  font-size:13px;
}

.pagination-link[aria-current=page] {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--paper);
}

.pagination a:hover {
  background:var(--soft);
  color:var(--accent);
}

.pagination-gap {
  color:var(--muted);
  padding-inline:4px;
}

.catalog-end {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin:65px 0;
  color:var(--muted);
}

.catalog-end p {
  font-size:11px;
  line-height:1.7;
  text-align:center;
}

.catalog-end span {
  width:70px;
  height:1px;
  background:var(--line);
}

.no-results {
  text-align:center;
  padding:50px 0 70px;
}

.no-results h2 {
  font-size:30px;
  margin-bottom:15px;
}

.no-results p {
  font-size:13px;
  margin-bottom:24px;
}

/* Детальная страница статьи */
.article-header {
  padding:46px 0 30px;
  max-width:990px;
}

.topic-link {
  display:inline-flex;
}

.topic-link>span:not(.other) {
  width:auto;
  height:auto;
  background:none;
  border-radius:0;
}

.article-header h1 {
  font-size:clamp(33px,4.2vw,56px);
  line-height:1.14;
  letter-spacing:-1.35px;
  margin-top:18px;
  margin-bottom:24px;
}

.article-meta {
  display:flex;
  gap:13px;
  align-items:center;
  color:var(--muted);
  font-size:10px;
  flex-wrap:wrap;
}

.article-meta .dot {
  color:#aaa58f;
}

.article-cover {
  margin-bottom:52px;
}

.article-cover>img {
  width:100%;
  height:440px;
  object-fit:cover;
  border-radius:3px;
}

/* Цельные коллажи сохраняют пропорции и видны без обрезки. */
.article-cover>img.collage-image {
  height:auto;
  object-fit:contain;
}


/* Горизонтальная обложка 16:9 применяется только к выбранной статье. */
.article-cover.article-cover--wide>img {
  display:block;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
}

.article-cover figcaption {
  font-size:9px;
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  margin-top:10px;
}

/* Подпись обложки единым текстом с обозначенной ссылкой на источник. */
.article-cover figcaption.article-credit {
  display:block;
  line-height:1.7;
}

.article-cover .article-credit a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
}

.article-layout {
  display:grid;
  grid-template-columns:230px minmax(0,720px);
  gap:72px;
  justify-content:start;
}

.toc-inner {
  position:sticky;
  top:26px;
  max-height:calc(100vh - 52px);
  overflow:auto;
  scrollbar-width:thin;
  padding-right:15px;
}

.toc-inner>.eyebrow {
  margin-bottom:18px;
}

.toc-inner nav {
  display:grid;
  gap:12px;
  border-left:1px solid var(--line);
  padding-left:15px;
}

.toc-inner nav a {
  font-size:10px;
  color:var(--muted);
  line-height:1.55;
}

.toc-inner nav a:hover,.toc-inner nav a.active {
  color:var(--accent);
}

.back-to-articles {
  display:block;
  margin-top:29px;
  font-size:10px;
  color:var(--accent);
}

.article-body {
  font-size:16px;
  line-height:1.95;
  min-width:0;
  color:#44473f;
  overflow-wrap:anywhere;
}

.article-body p {
  color:inherit;
  margin:0 0 23px;
}

/* Ненавязчивое выделение короткого ответа в цветах сайта. */
.article-body .article-summary {
  margin:0 0 32px;
  padding:24px clamp(18px,3vw,26px);
  background:rgba(140,57,55,.055);
  border-left:2px solid rgba(140,57,55,.32);
  border-radius:3px;
}

.article-body .article-summary p {
  margin:0 0 14px;
  font-size:17px;
  line-height:1.75;
}

.article-body .article-summary p:last-child {
  margin-bottom:0;
}

.article-body h2 {
  font-size:31px;
  line-height:1.25;
  letter-spacing:-.5px;
  margin:48px 0 19px;
  scroll-margin-top:26px;
  color:var(--ink);
}

.article-body h3 {
  font-size:24px;
  line-height:1.4;
  margin:30px 0 15px;
  color:var(--ink);
}

.article-body h4 {
  font-size:21px;
  margin:25px 0 12px;
}

.article-body ul,.article-body ol {
  padding-left:23px;
  margin:18px 0 25px;
}

.article-body li {
  margin-bottom:10px;
  padding-left:4px;
}

.article-body strong {
  font-weight:600;
}

.article-body a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-color:#c9aaa0;
}

.article-body a:hover {
  text-decoration-color:var(--accent);
}

.article-body figure {
  margin:30px 0;
}

.article-body figure>img {
  width:100%;
  max-height:640px;
  object-fit:cover;
  border-radius:3px;
}

.article-body figure>img.collage-image {
  height:auto;
  max-height:none;
  object-fit:contain;
}

.article-body figcaption {
  font-size:11px;
  color:var(--muted);
  margin-top:8px;
  line-height:1.7;
}

/* Обтекание портретных фото действует только внутри своего текстового блока. */
.article-body .article-photo-wrap {
  display:flow-root;
}

.article-body .article-photo-wrap>:last-child {
  margin-bottom:0;
}

.article-body .article-photo-wrap--list>p:first-child {
  margin-bottom:6px;
}

.article-body figure.article-photo {
  max-width:360px;
  margin:26px auto;
}

.article-body figure.article-photo>img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
}

@media(min-width:1100px) {
  .article-body figure.article-photo {
    float:right;
    width:35%;
    max-width:260px;
    margin:4px 0 18px 28px;
  }

  .article-body .article-photo-wrap--list>figure.article-photo {
    margin-top:10px;
  }

  .article-body .article-photo-wrap--quote>figure.article-photo {
    margin-top:0;
    margin-left:2px;
  }

  .article-body .article-photo-wrap--quote>blockquote {
    display:flow-root;
  }

  .article-body .article-photo-wrap--list>ul,
  .article-body .article-photo-wrap--list>ol {
    margin-top:0;
  }
}

/* Необязательная карта объекта в статье. */
.article-body .location-map {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:3px;
  background:var(--soft);
}

.location-map-header {
  padding:22px;
}

.article-body .location-map-header .eyebrow {
  margin:0 0 9px;
  color:var(--muted);
}

.article-body .location-map-header h3 {
  margin:0 0 8px;
  font-size:25px;
  line-height:1.25;
}

.article-body .location-map-header p:last-child {
  margin:0;
  font:13px/1.6 var(--sans);
  color:var(--muted);
}

.location-map iframe {
  display:block;
  width:100%;
  height:clamp(300px,42vw,400px);
  border:0;
  background:var(--paper);
}

.article-body .location-map figcaption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 22px;
  margin:0;
  padding:18px 22px;
  font:12px/1.6 var(--sans);
}

.location-map figcaption>span {
  flex:1 1 220px;
}

.article-body .location-map .map-route {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:44px;
  padding:9px 14px;
  border:1px solid var(--accent);
  border-radius:2px;
  font-size:12px;
  text-decoration:none;
}

.article-body .location-map .map-route:hover {
  background:var(--accent);
  color:var(--paper);
}

.article-body .gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
}

.article-body .gallery>figure {
  margin:0;
  min-width:0;
}

.article-body .gallery img {
  width:100%;
  height:155px;
  object-fit:cover;
}

.article-body .gallery.gallery--pair {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.article-body .gallery.gallery--pair img {
  display:block;
  height:auto;
  border-radius:3px;
}

/* Три вертикальных кадра в одном ряду с сохранением полного изображения. */
.article-body .gallery.gallery--triple {
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.article-body .gallery.gallery--triple img {
  display:block;
  height:auto;
  max-height:none;
  object-fit:contain;
}

.article-body table {
  display:block;
  overflow-x:auto;
  border-collapse:collapse;
  font-size:13px;
  line-height:1.6;
  margin:25px 0;
  max-width:100%;
}

.article-body th,.article-body td {
  text-align:left;
  border-bottom:1px solid var(--line);
  padding:13px 16px;
  min-width:140px;
}

.article-body th {
  background:var(--soft);
}

.article-body .price-table th,.article-body .price-table td {
  min-width:70px;
  padding:9px 6px;
}

.article-body .price-table td,
.article-body .price-table thead th:not(:first-child) {
  white-space:nowrap;
}

.article-body .price-table thead th:first-child,
.article-body .price-table th[scope="row"] {
  min-width:175px;
  position:sticky;
  left:0;
}

.article-body .price-table th[scope="row"] {
  background:var(--paper);
  font-weight:inherit;
}

.article-body caption {
  text-align:left;
  color:var(--muted);
  padding-bottom:10px;
  font-size:12px;
}

.article-body table:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px;
}

.article-faq details {
  border-top:1px solid var(--line);
}

.article-faq details:last-child {
  border-bottom:1px solid var(--line);
}

.article-faq summary {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:18px 0;
  font-weight:600;
  line-height:1.6;
  cursor:pointer;
  list-style:none;
}

.article-faq summary::-webkit-details-marker {
  display:none;
}

.article-faq summary::after {
  content:"+";
  color:var(--accent);
  flex-shrink:0;
}

.article-faq details[open]>summary::after {
  content:"−";
}

.article-faq details p {
  margin-bottom:20px;
}

.article-notes {
  margin-top:36px;
  padding:18px 20px;
  background:var(--soft);
  border-radius:3px;
  font-size:13px;
  line-height:1.7;
}

.article-notes>summary {
  cursor:pointer;
  color:var(--ink);
}

.article-notes[open]>summary {
  margin-bottom:16px;
}

.article-body blockquote {
  margin:25px 0;
  padding:20px 25px;
  background:var(--soft);
  border-left:2px solid var(--accent);
}

.article-body blockquote p:last-child {
  margin:0;
}

.toc-mobile {
  display:none;
}

.reading-progress {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:3px;
  z-index:5;
  pointer-events:none;
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  color:var(--accent);
}

.reading-progress::-webkit-progress-bar {
  background:transparent;
}

.reading-progress::-webkit-progress-value {
  background:var(--accent);
}

.reading-progress::-moz-progress-bar {
  background:var(--accent);
}

.article-end-mark {
  text-align:center;
  font-size:35px;
  color:#a8a087;
  margin:48px 0 30px;
}

.article-share {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:20px 0;
  font-size:11px;
}

.copy-link {
  padding:8px 0;
  background:transparent;
  border:0;
  color:var(--accent);
  font-size:11px;
}

.copy-link span {
  padding-left:12px;
}

.related {
  padding:70px 0;
}

.related .story-card {
  display:grid;
  grid-template-columns:340px 1fr;
  align-items:center;
  gap:35px;
  max-width:920px;
}

.related .story-info {
  padding:0;
}

.related .story-card .story-title {
  font-size:28px;
}

.related .story-card p:not(.story-title) {
  max-width:440px;
}

.related .read-time {
  display:none;
}

.related .story-date {
  margin-top:14px;
}

/* Об авторе: заголовок, фотография слева и текст справа. */
.about-content {
  max-width:1004px;
  margin-top:32px;
  margin-bottom:40px;
}

.about-content h1 {
  margin:0 0 32px;
  font:400 clamp(40px,4.5vw,56px)/1.12 var(--serif);
  letter-spacing:-1.5px;
}

.about-layout {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  align-items:center;
  gap:64px;
}

.about-photo {
  width:100%;
  height:auto;
  aspect-ratio:3/4;
  border-radius:5px;
}

.about-copy {
  min-width:0;
  font-size:17px;
  line-height:1.75;
}

.about-copy p {
  margin:0 0 20px;
  color:var(--ink);
}

.about-copy p:last-child {
  margin-bottom:0;
}

.about-copy .about-intro {
  margin-bottom:23px;
  font:400 clamp(27px,2.6vw,32px)/1.35 var(--serif);
  letter-spacing:-.35px;
}

/* Адаптация к размеру экрана */
@media(min-width:1500px) {
  .home-hero {
    margin-top:65px;
    margin-bottom:65px;
  }
  .hero-picture {
    min-height:600px;
  }
}

@media(max-width:1000px) {
  .about-layout {
    gap:34px;
  }
  .about-copy {
    font-size:16px;
    line-height:1.65;
  }
  .wrap {
    width:calc(100% - 64px);
  }
  .home-hero {
    gap:35px;
    grid-template-columns:.9fr 1.1fr;
  }
  .hero-picture {
    min-height:520px;
  }
  .home-hero h1 {
    font-size:61px;
  }
  .hero-copy>p {
    font-size:13px;
  }
  .hero-copy>p br {
    display:none;
  }
  .article-layout {
    grid-template-columns:190px minmax(0,1fr);
    gap:35px;
  }
  .closing {
    grid-template-columns:45px 1fr 1fr;
  }
  .closing-mark {
    font-size:45px;
  }
  .catalog-tools {
    align-items:flex-start;
  }
  .search {
    padding-left:15px;
  }
  .search input {
    width:130px;
  }
  .filter {
    padding:9px 10px;
    font-size:10px;
  }
  .story-card .story-title {
    font-size:24px;
  }
  .article-cover>img {
    height:370px;
  }
}

@media(max-width:760px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .header-inner {
    height:80px;
  }
  .brand>span {
    font-size:17px;
    letter-spacing:-.5px;
  }
  .brand>img {
    width:32px;
    height:32px;
  }
  .brand small {
    font-size:6.5px;
    letter-spacing:1.8px;
    margin-top:5px;
  }
  .header-inner nav {
    gap:20px;
  }
  .header-inner nav>a {
    font-size:11px;
  }
  .header-inner nav span {
    margin-left:5px;
  }
  .home-hero {
    grid-template-columns:1fr;
    gap:32px;
    margin-top:34px;
    margin-bottom:35px;
  }
  .hero-copy {
    padding:0;
  }
  .home-hero h1 {
    font-size:63px;
    line-height:1.03;
    margin:21px 0;
    letter-spacing:-2px;
  }
  .hero-copy>p {
    font-size:14px;
    max-width:440px;
  }
  .hero-copy>p br {
    display:block;
  }
  .hero-caption {
    display:none;
  }
  .hero-copy>.button {
    margin-top:24px;
  }
  .hero-picture {
    min-height:0;
    height:380px;
  }
  .hero-picture>img {
    object-position:center;
  }
  .picture-label {
    left:18px;
    right:18px;
  }
  .stories-section {
    padding-top:38px;
    padding-bottom:40px;
  }
  .section-heading {
    align-items:flex-end;
    gap:15px;
    margin-bottom:24px;
  }
  .section-heading h2 {
    font-size:28px;
    margin-top:10px;
    max-width:270px;
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:1.6px;
  }
  .text-link {
    font-size:10px;
  }
  .text-link span {
    margin-left:7px;
  }
  .story-grid {
    grid-template-columns:1fr;
    gap:35px;
  }
  .story-card .story-title {
    font-size:27px;
    max-width:none;
  }
  .story-card p:not(.story-title) {
    font-size:13px;
  }
  .story-info {
    padding-top:16px;
  }
  .closing {
    grid-template-columns:40px 1fr;
    padding:33px 0 40px;
    gap:18px;
  }
  .closing>p {
    grid-column:2;
    justify-self:start;
    max-width:none;
    font-size:12px;
  }
  .closing h2 {
    font-size:28px;
  }
  .closing-mark {
    align-self:start;
    margin-top:15px;
    font-size:42px;
  }
  .footer-top {
    padding:28px 0;
    gap:20px;
    flex-wrap:wrap;
  }
  .footer-brand {
    font-size:19px;
  }
  .footer-top p {
    order:3;
    width:100%;
    font-size:11px;
  }
  .up-link {
    font-size:10px;
  }
  .footer-bottom {
    gap:16px;
    flex-wrap:wrap;
    font-size:8px;
  }
  .footer-bottom>span:last-child {
    display:none;
  }
  .footer-bottom nav {
    gap:14px;
  }
  .breadcrumbs {
    font-size:9px;
    padding-top:22px;
    gap:10px;
  }
  .catalog-heading {
    padding:36px 0 30px;
  }
  .catalog-heading h1 {
    font-size:44px;
    letter-spacing:-1.2px;
    margin:13px 0 17px;
  }
  .catalog-heading p {
    font-size:13px;
  }
  .catalog-decoration {
    font-size:53px;
    right:2px;
    top:41px;
    opacity:.6;
  }
  .catalog-tools {
    flex-direction:column;
    gap:16px;
    padding:15px 0;
  }
  .topic-filters {
    width:100%;
    gap:3px;
  }
  .filter {
    font-size:10px;
    padding:9px 10px;
  }
  .search {
    border-left:0;
    border-top:1px solid var(--line);
    padding:15px 0 0;
    width:100%;
  }
  .search input {
    width:100%;
    font-size:13px;
  }
  .results-count {
    margin:18px 0 22px;
  }
  .catalog-end {
    margin:45px 0;
  }
  .article-header {
    padding:30px 0 24px;
  }
  .article-header h1 {
    font-size:37px;
    line-height:1.14;
    letter-spacing:-.9px;
    margin:16px 0 22px;
  }
  .article-meta {
    font-size:9px;
    gap:8px;
  }
  .article-meta>span:first-child {
    flex-basis:100%;
  }
  .article-meta>.dot:first-of-type {
    display:none;
  }
  .article-cover {
    margin-bottom:28px;
  }
  .article-cover>img {
    height:260px;
  }
  .article-cover figcaption {
    font-size:8px;
  }
  .article-layout {
    display:block;
  }
  .toc-desktop {
    display:none;
  }
  .article-body {
    font-size:15px;
    line-height:1.9;
  }
  .article-body h2 {
    font-size:28px;
    margin:36px 0 18px;
    line-height:1.3;
  }
  .article-body h3 {
    font-size:23px;
  }
  .article-body .gallery {
    grid-template-columns:repeat(2,1fr);
    gap:8px;
  }
  .article-body .gallery img {
    height:145px;
  }
  .toc-mobile {
    display:block;
    background:var(--soft);
    padding:16px 18px;
    margin-bottom:25px;
    border-radius:3px;
  }
  .toc-mobile summary {
    display:flex;
    justify-content:space-between;
    font-size:12px;
    list-style:none;
    cursor:pointer;
  }
  .toc-mobile summary::-webkit-details-marker {
    display:none;
  }
  .toc-mobile nav {
    display:grid;
    gap:10px;
    padding-top:18px;
  }
  .toc-mobile nav a {
    font-size:11px;
    text-decoration:none;
    line-height:1.6;
  }
  .article-share {
    gap:14px;
    font-size:10px;
  }
  .copy-link {
    font-size:10px;
  }
  .related {
    padding:42px 0;
  }
  .related .story-card {
    display:block;
  }
  .related .story-info {
    padding-top:18px;
  }
  .related .story-card .story-title {
    font-size:26px;
  }
  .article-body figure>img {
    max-height:440px;
  }
}

@media(max-width:380px) {
  .brand i {
    display:block;
  }
  .brand>span {
    font-size:16px;
  }
  .brand small {
    font-size:5.5px;
  }
  .header-inner nav {
    gap:13px;
  }
  .home-hero h1 {
    font-size:57px;
  }
  .catalog-heading h1 {
    font-size:39px;
  }
  .catalog-decoration {
    font-size:42px;
  }
  .filter {
    font-size:9px;
    padding:8px;
  }
  .article-header h1 {
    font-size:32px;
  }
}

@media(max-width:640px) {
  .header-inner {
    height:auto;
    min-height:80px;
    flex-wrap:wrap;
    gap:10px 24px;
    padding:18px 0 10px;
  }
  .header-inner nav {
    width:100%;
    justify-content:flex-start;
    gap:26px;
  }
  .header-inner nav>a {
    min-height:44px;
    display:flex;
    align-items:center;
  }
  .about-content h1 {
    margin-bottom:26px;
    letter-spacing:-1px;
  }
  .about-layout {
    grid-template-columns:minmax(0,1fr);
    gap:30px;
  }
  .about-photo {
    max-width:440px;
  }
  .about-copy {
    font-size:17px;
    line-height:1.7;
  }
  .about-copy .about-intro {
    font-size:28px;
    margin-bottom:19px;
  }
}

/* Первый экран главной. Общая шапка и остальные типы страниц не меняются. */
.home-hero--cover {
  --home-header-height:101px;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  min-height:calc(100svh - var(--home-header-height));
  margin:0;
  overflow:hidden;
  color:#fffdf7;
  background:#233b47;
}

.home-hero--cover .hero-picture {
  position:absolute;
  inset:0;
  min-height:0;
  height:100%;
  container-type:size;
}

/* Сначала кадр 16:9, затем его адаптация к пропорциям экрана. */
.home-hero--cover .hero-picture>img {
  inset:auto;
  top:50%;
  left:50%;
  width:max(100cqw,177.777778cqh);
  height:max(100cqh,56.25cqw);
  max-width:none;
  transform:translate(-50%,-50%);
  object-fit:cover;
  object-position:50% 52%;
  border-radius:0;
}

.home-hero--cover::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(9,23,25,.79),rgba(9,23,25,.36) 61%,rgba(9,23,25,.09)),linear-gradient(180deg,rgba(9,23,25,.13),transparent 40%,rgba(9,23,25,.24));
}

.home-hero--cover .hero-cover-inner {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  min-width:0;
  padding-block:clamp(44px,7.4vh,86px);
}

.home-hero--cover .hero-copy {
  width:min(690px,65%);
  padding:0;
}

.home-hero--cover .eyebrow {
  color:#eddbc0;
}

.home-hero--cover .eyebrow>span {
  background:currentColor;
}

.home-hero--cover h1 {
  max-width:650px;
  font-size:clamp(52px,5.4vw,78px);
  line-height:1.07;
  letter-spacing:-2px;
  margin:24px 0 23px;
}

.home-hero--cover .hero-copy>p {
  max-width:440px;
  color:#fffdf7;
  font-size:16px;
  line-height:1.75;
}

.home-hero--cover .hero-title-place {
  display:inline-block;
  white-space:nowrap;
}

.home-page .story-card .story-title {
  overflow-wrap:anywhere;
}

.home-hero--cover .hero-copy>p br {
  display:block;
}

.home-hero--cover .button {
  color:var(--ink);
  background:var(--paper);
  border-color:var(--paper);
}

.home-hero--cover .button:hover {
  background:#eddbc0;
}

.home-hero--cover .hero-caption {
  display:flex;
  color:#fffdf7;
}

.home-hero--cover .small-star {
  color:#eddbc0;
}

@media(max-width:1000px) {
  .home-hero--cover .hero-copy {
    width:min(650px,78%);
  }
}

@media(max-width:760px) {
  .home-hero--cover {
    --home-header-height:81px;
  }
  .home-hero--cover .hero-copy {
    width:min(620px,100%);
  }
  .home-hero--cover h1 {
    font-size:clamp(42px,8vw,62px);
    letter-spacing:-1.2px;
    margin:21px 0;
  }
}

@media(max-width:640px) {
  .home-hero--cover {
    --home-header-height:115px;
  }
  .home-hero--cover .hero-cover-inner {
    padding-block:44px;
  }
  .home-hero--cover h1 {
    font-size:clamp(42px,11.7vw,64px);
  }
}

@media(max-width:380px) {
  .home-hero--cover {
    --home-header-height:132px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
  }
}


/* Tbilisi sights map, 25 November 2026. */
/* Leaflet 1.9.4 (BSD-2-Clause), local styles for the supplied map. */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(/assets/images/map-controls/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(/assets/images/map-controls/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(/assets/images/map-controls/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}


.article-body .tbilisi-sights-map{border:1px solid var(--line);border-radius:3px;overflow:hidden;margin:25px 0;background:var(--paper);font:13px/1.5 var(--sans)}
.tbilisi-sights-map [hidden]{display:none!important}
#tbilisi-map{height:clamp(352px,62vw,496px);background:#e9eee9;font:12px/1.5 var(--sans)}
.tbilisi-sights-map .sights-map-controls,.tbilisi-sights-map .sights-map-points{padding:12px;display:flex;gap:10px;flex-wrap:wrap}
.tbilisi-sights-map .sights-map-controls button{font:inherit;border:1px solid var(--line);border-radius:2px;background:var(--paper);color:var(--ink);padding:9px 12px;min-height:44px;cursor:pointer}
.tbilisi-sights-map .sights-map-controls button[aria-pressed="true"]{background:#f4e8ed;border-color:var(--accent)}
.tbilisi-sights-map .sights-map-points details{flex:1 1 190px;min-width:0}
.article-body .tbilisi-sights-map .sights-map-points ul{font:12px/1.6 var(--sans);padding-left:20px;margin:12px 0}
.tbilisi-sights-map .sights-map-points summary{padding:10px 0;font-weight:600;cursor:pointer}
.tbilisi-sights-map .sights-key{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.tbilisi-sights-map .sights-k1,.tbilisi-sights-map .sights-map-k1{background:#287356}
.tbilisi-sights-map .sights-k2,.tbilisi-sights-map .sights-map-k2{background:#935b18}
.tbilisi-sights-map .sights-k3,.tbilisi-sights-map .sights-map-k3{background:#315fa3}
.tbilisi-sights-map .sights-map-pin{border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #36383d66}
.tbilisi-sights-map .sights-map-pin:hover{box-shadow:0 0 0 2px #36383d}
.tbilisi-sights-map .leaflet-container a{color:var(--accent)}
.tbilisi-sights-map .leaflet-container .leaflet-control-attribution{font-size:10px}
.tbilisi-sights-map .leaflet-container .leaflet-control-attribution a{color:#333}
@media(max-width:575px){.tbilisi-sights-map .sights-map-points details{flex-basis:100%}.article-page--tbilisi-sights .article-header h1{font-size:clamp(24px,7.5vw,37px)}}
@media print{.tbilisi-sights-map .sights-map-controls,#tbilisi-map{display:none!important}}

/* Изображения бутылок в сравнительной таблице вина. */
.article-body .wine-comparison td > img {
  width:auto;
  height:140px;
  max-width:none;
  object-fit:contain;
  margin:0 auto;
}
