/* ==========================================================================
   Контентные секции главной: плитки-разделы, новости, страницы статей.
   ========================================================================== */

/* --- Общая сетка ---------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.section {
  padding: clamp(23px, 3.25vw, 44px) 0;
}

.section--alt {
  background: #f4eee3;
}

.section__title {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(22px, 2.7vw, 33px);
  line-height: 1.2;
  color: #2c2620;
}

.section__lead {
  margin: 0 0 clamp(22px, 3vw, 34px);
  max-width: 60ch;
  color: #7a6f60;
  font-size: 15.5px;
  line-height: 1.6;
}

.section__more {
  margin: 26px 0 0;
  font-size: 14.5px;
}

.section__more a {
  color: #8a5a2b;
}

/* --- Плитки-«кубики» ------------------------------------------------------ */
.tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1020px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

.tile {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  aspect-ratio: 1 / 1;
  padding: 16px 18px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #2c2620;
  color: #fff;
  text-decoration: none;
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.26s ease;
  will-change: transform;
}

/* Фото плитки: <picture> на всю площадь */
.tile__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.58) 100%);
  pointer-events: none;
}

/* Подпись источников под сеткой */
.tiles__credit {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #9c9182;
}

/* Увеличение в полтора раза при наведении */
.tile:hover,
.tile:focus-visible {
  transform: scale(1.5);
  z-index: 40;
  box-shadow: 0 28px 64px rgba(24, 18, 12, 0.42);
}

.tile:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.tile__name {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none;
  }
}

/* На тач-экранах наведения нет, а «залипший» hover оставил бы плитку увеличенной */
@media (hover: none) {
  .tile:hover {
    transform: none;
    box-shadow: none;
  }
}

/* --- Новости -------------------------------------------------------------- */
.news-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Хаб статей: три карточки в ряд */
.articles-hub {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
}

.articles-hub h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  color: #2c2620;
}

.articles-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8ddcb;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30, 24, 18, 0.14);
}

.news-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card__body {
  display: grid;
  gap: 8px;
  padding: 16px 18px 20px;
}

.news-card time {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9c9182;
}

.news-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 14.5px;
  line-height: 1.5;
  color: #6b6155;
}

/* --- Статья --------------------------------------------------------------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
}

.article__back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  color: #8a5a2b;
  text-decoration: none;
}

.article__back:hover {
  text-decoration: underline;
}

.article h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.18;
  color: #2c2620;
}

.article__meta {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c9182;
}

.article__figure {
  margin: 0 0 26px;
}

.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.article__figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #9c9182;
}

.article p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.68;
  color: #3a332c;
}

/* Подзаголовки внутри лонгрида */
.article h2 {
  margin: 46px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  color: #2c2620;
  scroll-margin-top: 90px;
}

.article h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: #2e7d4f;
}

/* Врезка «где это / как добраться / что учесть» */
.article__facts {
  display: grid;
  gap: 12px;
  margin: 22px 0 30px;
  padding: 18px 20px;
  border-left: 3px solid #d8cbb2;
  border-radius: 0 12px 12px 0;
  background: #fdfbf6;
}

.article__facts dt {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9c9182;
}

.article__facts dd {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4a4238;
}

/* Оглавление */
.article__toc {
  margin: 0 0 30px;
  padding: 18px 20px;
  border: 1px solid #e6dccb;
  border-radius: 12px;
  background: #fff;
}

.article__toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c9182;
}

.article__toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.article__toc li {
  font-size: 15px;
  line-height: 1.4;
}

.article__toc a {
  color: #8a5a2b;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 90, 43, 0.3);
}

.article__toc a:hover {
  border-bottom-color: #8a5a2b;
}

.article__source {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #e6dccb;
  font-size: 14px;
  line-height: 1.6;
  color: #6b6155;
}

.article__source a {
  color: #8a5a2b;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.article__tags li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0e7d8;
  font-size: 12px;
  color: #6b6155;
}

/* --- Страница-заглушка раздела -------------------------------------------- */
.topic {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}

.topic__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9c9182;
}

.topic h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  color: #2c2620;
}

.topic p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: #4a423a;
}

.topic__hero {
  margin: 26px 0 24px;
  border-radius: 16px;
  overflow: hidden;
}

.topic__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.topic__links {
  margin-top: 26px;
  font-size: 15px;
}

/* --- Подвал --------------------------------------------------------------- */
.site-footer {
  padding: 26px 0 30px;
  border-top: 1px solid #e9dfd0;
  background: #fbf8f2;
}

.site-footer p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #9c9182;
}

.site-footer a {
  color: inherit;
  border-bottom: 1px solid rgba(156, 145, 130, 0.4);
  text-decoration: none;
}

.site-footer a:hover {
  color: #6b6155;
}

/* ==========================================================================
   Туры: карточка на главной и страница тура
   ========================================================================== */
.tours-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.tour-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8ddcb;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(30, 24, 18, 0.16);
}

.tour-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tour-card__body {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}

.tour-card__meta {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9c9182;
}

.tour-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.tour-card__excerpt {
  font-size: 14.5px;
  line-height: 1.5;
  color: #6b6155;
}

/* Даты заездов в карточке тура */
.tour-card__dates {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #efe6d6;
}

.tour-card__dates-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9c9182;
}

.tour-card__dates-list {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #3a332c;
  font-variant-numeric: tabular-nums;
}

/* --- Страница тура --- */
.tour {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
}

.tour h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.15;
  color: #2c2620;
}

.tour__lead {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.6;
  color: #4a423a;
}

.tour__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tour__facts li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid #e8ddcb;
  border-radius: 14px;
  background: #fff;
}

.tour__fact-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9c9182;
}

.tour__fact-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.tour__fact-note {
  font-size: 12.5px;
  line-height: 1.4;
  color: #8a8073;
}

@media (max-width: 760px) {
  .tour__facts {
    grid-template-columns: 1fr;
  }
}

.tour__hero {
  margin: 0 0 26px;
  border-radius: 16px;
  overflow: hidden;
}

.tour__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.tour__intro {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.7;
  color: #3a332c;
}

.tour__h2 {
  margin: 38px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: #2c2620;
}

.tour__included {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  font-size: 16.5px;
  line-height: 1.55;
  color: #3a332c;
}

.tour__included li::marker {
  color: #a8896a;
}

.tour__note {
  margin: 14px 0 0;
  font-size: 14px;
  color: #8a8073;
}

.program {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program__day {
  padding: 18px 20px;
  border-left: 3px solid #d9c9a8;
  border-radius: 0 14px 14px 0;
  background: #fff;
}

.program__num {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8896a;
}

.program__title {
  margin: 6px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
}

.program__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #4a423a;
}

.touches {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .touches {
    grid-template-columns: 1fr;
  }
}

.touch {
  overflow: hidden;
  border: 1px solid #e8ddcb;
  border-radius: 14px;
  background: #fff;
}

.touch img {
  display: block;
  width: 100%;
  height: auto;
}

.touch__title {
  margin: 14px 18px 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
}

.touch__text {
  margin: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #6b6155;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #e9dfca;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  padding: 0 18px;
  border: 1px solid #e8ddcb;
  border-radius: 12px;
  background: #fff;
}

.faq__q {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  color: #a8896a;
  font-size: 20px;
  line-height: 1;
}

.faq__item[open] .faq__q::after {
  content: "\2013";
}

.faq__a {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #4a423a;
}

.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.review {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: #f4eee3;
}

.review__text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a423a;
}

.review__name {
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9c9182;
}

.tour__cta {
  margin-top: 42px;
  padding: 26px;
  border-radius: 16px;
  background: #f0e7d8;
  text-align: center;
}

.tour__cta p {
  margin: 0 0 16px;
  color: #4a423a;
}

/* --- Лонгрид с фотогалереей (Wrestling & MMA) ------------------------------ */
.article--wide {
  max-width: 900px;
}

.article .lead {
  font-size: 19px;
  line-height: 1.6;
  color: #4a4238;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 32px;
}

.photo-row__item {
  margin: 0;
}

.photo-row__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.photo-row__item figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #9c9182;
}

@media (max-width: 640px) {
  .photo-row {
    grid-template-columns: 1fr;
  }
}

.names {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.names li {
  padding: 16px 18px;
  border-left: 3px solid #d8cbb2;
  border-radius: 0 10px 10px 0;
  background: #fdfbf6;
  font-size: 16px;
  line-height: 1.6;
  color: #3a332c;
}

.names strong {
  color: #2c2620;
}

.article__cta {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid #e6dccb;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.article__cta p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #6b6155;
}

.article__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px 6px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #2e7d4f;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.article__btn--ghost {
  background: #fff;
  color: #2c2620;
  border: 1.5px solid #e6dccb;
}

/* Две фотографии в ряд (страница Paperwork & Flights) */
.photo-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .photo-row--two {
    grid-template-columns: 1fr;
  }
}

.photo-row__credit {
  color: #b3a99b;
}
