/* goTurcja.pl - 2026-10-10, paczka 24. Public-facing layouts only.
 * Jedna szerokosc zewnetrzna, biale sekcje, mniejsze headingi i pionowe odstepy.
 * Celowo NIE zmieniamy nawigacji, JS, tabel ofert ani sekcji admina.
 */
:root {
  --gt-surface: #fff;
  --gt-page: #f4f7fa;
  --gt-line: #e1e8ef;
  --gt-text: #18364c;
  --gt-muted: #586d7b;
  --gt-radius: 15px;
  --gt-shadow: 0 3px 15px rgba(18, 46, 68, .035);
}

/* HOME: redukcja pustych pasow pomiedzy wczesniej obramowanymi sekcjami. */
.home-page { background: var(--gt-page); padding-bottom: 13px; }
.home-page .home-hero { padding: 10px 0 2px; }
.home-page .home-hero > .container,
.home-page .home-section > .container {
  width: calc(100% - 24px);
  max-width: 1176px;
  padding: 18px 23px 20px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  box-shadow: var(--gt-shadow);
  background: var(--gt-surface);
}
.home-page .home-hero > .container { padding-top: 18px; padding-bottom: 18px; }
.home-page .home-hero__copy { max-width: 1100px; }
.home-page .home-hero h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.025em;
}
.home-page .home-hero__lead {
  margin: 7px auto 0;
  max-width: 940px;
  font-size: 15px;
  line-height: 1.5;
}
.home-page .home-section { padding: 7px 0 0; margin: 0; background: transparent; }
.home-page .home-section__header,
.home-page .home-section--soft .home-section__header { margin: 0 auto 13px; max-width: 850px; }
.home-page .home-section__header h2 {
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.home-page .home-section__header p { margin: 5px auto 0; font-size: 14px; line-height: 1.45; }
.home-page .home-section .row.row-20 { margin-top: 0; }
.home-page .home-section__actions { margin-top: 12px; }
.home-page .home-section:last-child { padding-bottom: 0; }
.home-page .home-last-minute-card__body { min-height: 0; }

/* Ta sama zewnetrzna szerokosc co wewnetrzna tresc .container w Bootstrapie. */
@media (min-width: 992px) and (max-width: 1199px) {
  .home-page .home-hero > .container,
  .home-page .home-section > .container { max-width: 936px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .home-page .home-hero > .container,
  .home-page .home-section > .container { max-width: 696px; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .home-page .home-hero > .container,
  .home-page .home-section > .container { max-width: 516px; }
}

/* LAYOUT WSPOLNY: zachowujemy szerokosc bootstrap container, ale nie ograniczamy
   wybranych boksow do 900/980/1060px przy katalogach. */
.category-page,
.hotel-listing-section,
.last-minute-page,
.article-page-section,
.hotel-detail-section { background: var(--gt-page); }
.category-page > .container,
.hotel-listing-section > .container,
.last-minute-page > .container,
.article-page-section > .container,
.hotel-detail-section > .container {
  max-width: 1200px;
}

/* KATEGORIE I GLOWNA LISTA PORADNIKOW. */
.category-page { padding: 14px 0 28px; }
.category-page .category-header,
.category-page .category-directory,
.category-page .category-results,
.category-page .category-seo-content,
.category-page .category-editorial {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 21px 24px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
}
.category-page .category-header h1 { margin: 0; font-size: 31px; line-height: 1.22; font-weight: 600; }
.category-page .category-header__description { margin-top: 8px; max-width: 1030px; font-size: 15px; line-height: 1.57; }
.category-page .category-results__heading { margin-bottom: 15px; }
.category-page .category-results__heading h2,
.category-page .category-directory > h2,
.category-page .category-seo-content h2,
.category-page .category-editorial h2 { margin: 0 0 11px; font-size: 23px; line-height: 1.3; font-weight: 600; }
.category-page .category-results__heading h2 { margin: 0; }
.category-page .category-seo-content { background: #fff; }
.category-page .category-seo-content__body { font-size: 15px; line-height: 1.7; }
.category-page .category-seo-content__extra { margin-top: 18px; }
.category-page .category-seo-content h3 { font-size: 19px; }
.category-editorial > p { margin: 0 0 15px; color: var(--gt-muted); line-height: 1.7; font-size: 15px; }
.category-editorial__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category-editorial__path {
  padding: 17px 18px;
  border: 1px solid #e4eaf0;
  border-radius: 11px;
  background: #f8fafb;
}
.category-editorial__path h3 { margin: 0 0 7px; color: var(--gt-text); font-size: 17px; font-weight: 600; line-height: 1.3; }
.category-editorial__path p { margin: 0 0 10px; color: var(--gt-muted); font-size: 14px; line-height: 1.55; }
.category-editorial__path a { display: block; margin: 6px 0 0; color: #bd600a; font-size: 14px; font-weight: 500; }
.category-editorial__last { margin: 16px 0 0 !important; }
.category-editorial__last a { color: #bc600d; text-decoration: underline; text-underline-offset: 3px; }

/* KATALOG HOTELI, REGIONY, TYPY. Kazda duza grupa jest jednym kontenerem,
   drobne filtry w srodku nie otrzymuja kolejnej ramki o innym rozmiarze. */
.hotel-listing-section { padding: 14px 0 28px; }
.hotel-listing-section .hotel-listing-intro,
.hotel-listing-section .hotel-listing-controls,
.hotel-listing-section .hotel-listing-results,
.hotel-listing-section .hotel-destination-content,
.hotel-listing-section .hotel-directory-guide {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 21px 24px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: #fff;
  box-shadow: var(--gt-shadow);
}
.hotel-listing-section .hotel-listing-intro h1 { font-size: 31px; font-weight: 600; line-height: 1.22; margin: 0 0 9px; }
.hotel-listing-section .hotel-destination-heading { margin: 0 auto 12px; max-width: none; }
.hotel-listing-section .hotel-destination-heading h1 { font-size: 31px; font-weight: 600; max-width: none; line-height: 1.22; }
.hotel-listing-section .hotel-destination-heading__text,
.hotel-listing-section .hotel-destination-heading > p { max-width: 990px; margin-top: 10px; font-size: 15px; }
.hotel-listing-section .hotel-listing-intro__text { max-width: 990px; font-size: 15px; line-height: 1.65; }
.hotel-listing-section .hotel-listing-note { margin-top: 10px; }
.hotel-listing-section .hotel-listing-heading { margin: 0 0 14px; }
.hotel-listing-section .hotel-listing-heading h2,
.hotel-listing-section .hotel-destination-content h2,
.hotel-listing-section .hotel-directory-guide h2 { margin: 0 0 9px; font-size: 23px; font-weight: 600; line-height: 1.3; }
.hotel-listing-section .hotel-listing-heading h2 { margin: 0; }
.hotel-listing-section .hotel-destination-content { border-top: 1px solid var(--gt-line); }
.hotel-listing-section .hotel-destination-content__body { font-size: 15px; line-height: 1.7; }
.hotel-listing-section .hotel-destination-content__body h3 { font-size: 19px; }
.hotel-listing-section .hotel-listing-controls .hotel-search-box { max-width: none; margin: 0 0 14px; }
.hotel-listing-section .hotel-listing-controls .hotel-region-nav { margin: 0 0 12px; }
.hotel-listing-section .hotel-listing-controls .hotel-subregion-filter,
.hotel-listing-section .hotel-listing-controls .hotel-type-filter { max-width: none; margin: 0 0 11px; }
.hotel-listing-section .hotel-listing-controls .hotel-type-filter:last-child,
.hotel-listing-section .hotel-listing-controls .hotel-subregion-filter:last-child { margin-bottom: 0; }
.hotel-listing-section .hotel-list-card__media {
  margin: 0;
  padding: 0;
  line-height: 0;
  align-self: stretch;
}
.hotel-listing-section .hotel-list-card__media img {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  vertical-align: top;
}
.hotel-directory-guide > p { margin: 0 0 14px; color: var(--gt-muted); font-size: 15px; line-height: 1.7; }
.hotel-directory-guide__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hotel-directory-guide__grid > div { padding: 16px 17px; border: 1px solid #e4eaf0; border-radius: 11px; background: #f8fafb; }
.hotel-directory-guide__grid h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--gt-text); }
.hotel-directory-guide__grid p { margin: 0 0 9px; color: var(--gt-muted); font-size: 14px; line-height: 1.6; }
.hotel-directory-guide__grid a { color: #bd600a; font-weight: 500; font-size: 14px; }
.hotel-directory-guide .hotel-directory-guide__last { margin: 15px 0 0; }
.hotel-directory-guide__last a { color: #bd600a; text-decoration: underline; text-underline-offset: 3px; }

/* LAST MINUTE: pojedynczy kontener na wstep i podzial wg regionu/lotniska;
   kolejny na filtry, kolejny na wyniki i jeden na poradnik. */
.last-minute-page { padding: 14px 0 28px; }
.last-minute-page .last-minute-intro-card,
.last-minute-page .last-minute-filters,
.last-minute-page .last-minute-results-card,
.last-minute-page .last-minute-seo-content {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 21px 24px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: #fff;
  box-shadow: var(--gt-shadow);
}
.last-minute-page .last-minute-hero { max-width: none; margin: 0 0 14px; }
.last-minute-page .last-minute-hero h1 { margin: 0; font-size: 31px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.last-minute-page .last-minute-intro { margin-top: 9px; max-width: 1000px; font-size: 15px; line-height: 1.62; }
.last-minute-page .last-minute-updated { margin-top: 8px; }
.last-minute-page .last-minute-regions { margin: 12px 0 8px; }
.last-minute-page .last-minute-regions:last-child { margin-bottom: 0; }
.last-minute-page .last-minute-seo-links { max-width: none; margin: 9px 0 0; padding: 13px 16px; box-shadow: none; }
.last-minute-page .last-minute-seo-links h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; }
.last-minute-page .last-minute-filter-context { margin-bottom: 0; }
.last-minute-page .last-minute-results-head { max-width: none; margin: 0 0 15px; }
.last-minute-page .last-minute-results-head h2 { font-size: 23px; font-weight: 600; line-height: 1.3; margin: 0; }
.last-minute-page .last-minute-list,
.last-minute-page .last-minute-pagination { max-width: none; }
.last-minute-page .last-minute-seo-content__body h2 { font-size: 23px; font-weight: 600; }
.last-minute-page .last-minute-seo-content__body h3 { font-size: 19px; }
.last-minute-page .last-minute-seo-content__body { font-size: 15px; line-height: 1.7; }

/* PELNY ARTYKUL: ta sama szerokosc zewnetrzna artykulu i jego modulow.
   Zachowany uklad 8+4 i sticky spis tresci, bez ingerencji w JS. */
.article-page-section { padding: 14px 0 28px; }
.article-page-section .post-creative,
.article-page-section .article-trip-box,
.article-page-section .article-related {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 20px 23px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: #fff;
  box-shadow: var(--gt-shadow);
}
.article-page-section .post-creative-title { font-size: 30px; line-height: 1.22; font-weight: 600; }
.article-page-section .article-related { border-top: 1px solid var(--gt-line); }
.article-page-section .article-related__title,
.article-page-section .article-trip-box h2 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0 0 14px; }
.article-page-section #tresc h2 { font-size: 24px; }
.article-page-section #tresc h3 { font-size: 19px; }
.article-page-section .article-toc-nav { border: 1px solid var(--gt-line); border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); }

/* KARTA HOTELU: grupy w jednakowych ramkach; bez mieszania roznych max-width.
   Galeria, opis, oferty i hotele powiazane sa osobnymi sekcjami. */
.hotel-detail-section { padding: 14px 0 28px; }
.hotel-detail-section .hotel-detail-head,
.hotel-detail-section .hotel-gallery,
.hotel-detail-section .hotel-description,
.hotel-detail-section .hotel-offers-section,
.hotel-detail-section .hotel-lastminute-links,
.hotel-detail-section .hotel-comparisons-section,
.hotel-detail-section .hotel-related-section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 20px 23px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: #fff;
  box-shadow: var(--gt-shadow);
}
.hotel-detail-section .hotel-detail-head { margin-bottom: 12px; }
.hotel-detail-section .hotel-detail-title { max-width: none; font-size: 32px; line-height: 1.23; font-weight: 600; }
.hotel-detail-section .hotel-gallery { margin-bottom: 12px; }
.hotel-detail-section .hotel-description { font-size: 16px; line-height: 1.7; }
.hotel-detail-section .hotel-description h2 { font-size: 24px; }
.hotel-detail-section .hotel-description h3 { font-size: 19px; }
.hotel-detail-section .hotel-offers-section { margin-bottom: 12px; }
.hotel-detail-section .hotel-offers-header h2,
.hotel-detail-section .hotel-comparisons-heading h2,
.hotel-detail-section .hotel-related-heading h2 { font-size: 23px; line-height: 1.3; font-weight: 600; }
.hotel-detail-section .hotel-related-section { border-top: 1px solid var(--gt-line); }
.hotel-detail-section .hotel-related-heading h2 { margin-bottom: 8px; }
.hotel-detail-section .hotel-short-description { font-size: 15px; line-height: 1.6; }

/* TABLET */
@media (max-width: 991px) {
  .home-page .home-hero h1 { white-space: normal; font-size: 30px; }
  .category-page .category-header,
  .category-page .category-results,
  .category-page .category-seo-content,
  .category-page .category-editorial,
  .hotel-listing-section .hotel-listing-intro,
  .hotel-listing-section .hotel-listing-controls,
  .hotel-listing-section .hotel-listing-results,
  .hotel-listing-section .hotel-destination-content,
  .hotel-listing-section .hotel-directory-guide,
  .last-minute-page .last-minute-intro-card,
  .last-minute-page .last-minute-filters,
  .last-minute-page .last-minute-results-card,
  .last-minute-page .last-minute-seo-content,
  .article-page-section .post-creative,
  .article-page-section .article-trip-box,
  .article-page-section .article-related,
  .hotel-detail-section .hotel-detail-head,
  .hotel-detail-section .hotel-gallery,
  .hotel-detail-section .hotel-description,
  .hotel-detail-section .hotel-offers-section,
  .hotel-detail-section .hotel-lastminute-links,
  .hotel-detail-section .hotel-comparisons-section,
  .hotel-detail-section .hotel-related-section { padding: 18px 20px; }
  .category-editorial__grid,
  .hotel-directory-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* MOBILE */
@media (max-width: 767px) {
  .home-page .home-hero { padding-top: 7px; }
  .home-page .home-hero h1 { font-size: 25px; white-space: normal; }
  .home-page .home-section { padding-top: 7px; }
  .home-page .home-section > .container,
  .home-page .home-hero > .container { width: calc(100% - 24px); padding: 15px; border-radius: 12px; }
  .home-page .home-section__header h2 { font-size: 22px; }
  .category-page,
  .hotel-listing-section,
  .last-minute-page,
  .article-page-section,
  .hotel-detail-section { padding: 9px 0 20px; }
  .category-page .category-header,
  .category-page .category-results,
  .category-page .category-directory,
  .category-page .category-seo-content,
  .category-page .category-editorial,
  .hotel-listing-section .hotel-listing-intro,
  .hotel-listing-section .hotel-listing-controls,
  .hotel-listing-section .hotel-listing-results,
  .hotel-listing-section .hotel-destination-content,
  .hotel-listing-section .hotel-directory-guide,
  .last-minute-page .last-minute-intro-card,
  .last-minute-page .last-minute-filters,
  .last-minute-page .last-minute-results-card,
  .last-minute-page .last-minute-seo-content,
  .article-page-section .post-creative,
  .article-page-section .article-trip-box,
  .article-page-section .article-related,
  .hotel-detail-section .hotel-detail-head,
  .hotel-detail-section .hotel-gallery,
  .hotel-detail-section .hotel-description,
  .hotel-detail-section .hotel-offers-section,
  .hotel-detail-section .hotel-lastminute-links,
  .hotel-detail-section .hotel-comparisons-section,
  .hotel-detail-section .hotel-related-section {
    padding: 16px 15px;
    margin-bottom: 9px;
    border-radius: 12px;
  }
  .category-page .category-header h1,
  .hotel-listing-section .hotel-listing-intro h1,
  .hotel-listing-section .hotel-destination-heading h1,
  .last-minute-page .last-minute-hero h1,
  .article-page-section .post-creative-title,
  .hotel-detail-section .hotel-detail-title { font-size: 26px; }
  .category-page .category-results__heading h2,
  .category-page .category-editorial h2,
  .hotel-listing-section .hotel-listing-heading h2,
  .hotel-listing-section .hotel-destination-content h2,
  .hotel-listing-section .hotel-directory-guide h2,
  .last-minute-page .last-minute-results-head h2,
  .last-minute-page .last-minute-seo-links h2 { font-size: 20px; }
  .category-editorial__grid,
  .hotel-directory-guide__grid { grid-template-columns: 1fr; }
  .category-editorial__path,
  .hotel-directory-guide__grid > div { padding: 15px; }
  /* Na telefonie filtry regionu moga scrollowac poziomo, ale karta zachowuje pelna szerokosc. */
  .hotel-listing-section .hotel-listing-controls .hotel-region-nav,
  .hotel-listing-section .hotel-listing-controls .hotel-type-filter { margin-left: 0; margin-right: 0; border-radius: 9px; }
  .hotel-detail-section .hotel-gallery { gap: 6px; }
  .last-minute-page .last-minute-results-head { align-items: flex-start; }
}


/* PACZKA 25 | HOME: karty regionow/hoteli. Zdjecia od pierwszego piksela,
   bez pustych pasow/letterboxingu wynikajacego z ukladu i starych styli. */
.home-page .home-region-tile__media,
.home-page .home-card-media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}
.home-page .home-region-tile__media > img,
.home-page .home-card-media > img {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top;
  object-fit: cover;
  object-position: center center;
}
/* Placeholder (hotel bez fotografii) dalej zajmuje cala ramke. */
.home-page .home-card-media > .home-card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* W Last Minute link nawigacyjny, nie zaokraglony przycisk. */
.home-page .home-section__actions--lastminute {
  margin: 10px 0 0;
  padding: 0;
  text-align: right;
}
.home-page .home-lastminute-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #c6630b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.home-page .home-lastminute-all-link:hover,
.home-page .home-lastminute-all-link:focus-visible {
  color: #9d4e07;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-page .home-lastminute-all-link span {
  font-size: 17px;
  line-height: 1;
}
@media (max-width: 767px) {
  .home-page .home-section__actions--lastminute { margin-top: 10px; }
  .home-page .home-lastminute-all-link { font-size: 13px; }
}
