/*
 Theme Name:  Hello Biz Child
 Theme URI:   https://example.com
 Description: Motyw potomny dla Hello Biz
 Author:      Devkom
 Template:    hello-biz
 Version:     1.0.0
 Text Domain: hello-biz
*/


/* ===========================
   ATRAKCJE – SIATKA I KARTY
   =========================== */
/* ============== USTAWIENIA ============== */
.attr-grid {
  --gap: 24px;
  /* odstęp między kaflami */
  --row: 10px;
  /* wysokość pojedynczego „paska” siatki */
  --span-normal: 33;
  /* ile pasków ma normalny kafel (wysokość) */
  --span-tall: 68;
  /* ile pasków ma tall (≈ 2× normal + gap/~row) */
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .10);
}

/* ============== SIATKA ============== */
.elementor-shortcode>.attr-grid,
.attr-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: var(--row);
}

/* ============== KARTA ============== */
.attr-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

/* Rozmiary kafli przez „span” (liczba wierszy siatki) */
.attr-card.attr-normal {
  grid-column: span 2;
  grid-row: span 15;
}

.attr-card.attr-wide {
  grid-column: span 4;
  grid-row: span 21;
}

.attr-card.attr-tall {
  grid-row: span 36;
  grid-column: span 1;
}

/* ============== OBRAZ ============== */
.attr-card .attr-img {
  width: 100%;
  height: 100% !important;
  /* klucz do pełnego pokrycia */
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  transition: transform .45s ease;
}

/* ============== OVERLAY + GRADIENT ============== */
.attr-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .68) 100%);
  z-index: 1;
  pointer-events: none;
}

.attr-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.attr-title {
  margin: 0;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}

.attr-excerpt {
  margin: 0;
  opacity: .96;
  line-height: 1.5;
}

/* Alternatywne pozycje overlay (jeśli używasz klas) */
.overlay-bottom-right {
  text-align: right;
  align-items: flex-end;
}

.overlay-center {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Hover */
.attr-card:hover .attr-img {
  transform: scale(1.05);
}

/* ============== RESPONSYWNOŚĆ ============== */
@media (max-width: 1200px) {
  .attr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attr-card.attr-wide {
    grid-column: span 2;
  }

  /* wysokości możesz lekko zmniejszyć, jeśli chcesz */
  .attr-grid {
    --span-normal: 30;
    --span-tall: 62;
  }
}

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

  .attr-card.attr-wide {
    grid-column: auto;
  }

  /* na mobile rezygnujemy z „tall” */
  .attr-grid {
    --span-normal: 30;
    --span-tall: 30;
  }

  /* wymuś jedną kolumnę także dla układu 5-elementowego */
  .attr-grid--five {
    grid-template-columns: 1fr;
  }

  .attr-grid--five .attr-card:nth-child(3),
  .attr-grid--five .attr-card:nth-child(4),
  .attr-grid--five .attr-card:nth-child(5) {
    grid-column: span 2;
    grid-row: span 15;
  }
}


/*
Atrakcje -end
*/

/* =========================
   DATA PUBLIKACJI – UI
   ========================= */

.post-date {
  color: #031214;
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  /* Regular */
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  /* 160% */
  letter-spacing: 0;
}

/*
POST NAVIGATION
*/

/* ===== Post Navigation: label + strzałka w 1 wierszu, tytuł w wierszu poniżej ===== */

.post-nav-split .elementor-post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* PREV i NEXT jako grid: [tekst] (bez strzałki Elementora) */
.post-nav-split .elementor-post-navigation__prev,
.post-nav-split .elementor-post-navigation__next {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  row-gap: 10px;
}

/* UKRYJ domyślne strzałki Elementora */
.post-nav-split .post-navigation__arrow-wrapper {
  display: none !important;
}

/* wrapper z labelem + tytułem -> 2 wiersze */
.post-nav-split .post-navigation__link_prev,
.post-nav-split .post-navigation__link_next {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 10px;
}

/* LABEL w pierwszym wierszu */
.post-nav-split .post-navigation__prev-label,
.post-nav-split .post-navigation__next-label {
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

/* TYTUŁ w drugim wierszu */
.post-nav-split .post-navigation__prev-title,
.post-nav-split .post-navigation__next-title {
  grid-row: 2;
  display: block;
}

/* Wyrównanie stron */
.post-nav-split .elementor-post-navigation__prev {
  text-align: left;
}

.post-nav-split .elementor-post-navigation__next {
  text-align: right;
}

/* --- Strzałki dodane CSS-em --- */
/* PREV: ← przed tekstem */
.post-nav-split .post-navigation__prev--label::before {
  content: "";
  width: 36px;
  /* ← tu regulujesz rozmiar */
  height: 18px;
  display: inline-block;
  background: url('/wp-content/uploads/2026/01/arrow-left.svg') no-repeat center;
  background-size: contain;
  transform: translateY(3px);
  margin-right: 10px;
  /* subtelne wyrównanie do baseline */
}

/* NEXT: → po tekście */
.post-nav-split .post-navigation__next--label::after {
  content: "";
  width: 36px;
  /* ← tu regulujesz rozmiar */
  height: 18px;
  display: inline-block;
  background: url('/wp-content/uploads/2026/01/arrow-right.svg') no-repeat center;
  background-size: contain;
  transform: translateY(3px);
  margin-left: 10px;
  /* subtelne wyrównanie do baseline */
}

/* Linki bez podkreśleń */
.post-nav-split a {
  text-decoration: none;
}

/* Mobile: jeden pod drugim */
@media (max-width: 768px) {
  .post-nav-split .elementor-post-navigation {
    flex-direction: column;
    gap: 24px;
  }

  .post-nav-split .elementor-post-navigation__next {
    text-align: left;
  }
}

/* =========================
   YOAST / Elementor Breadcrumbs
   HTML: <p id="breadcrumbs">...</p>
   ========================= */

.yoast-bc #breadcrumbs {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  /* 160% */
  letter-spacing: 0;
  color: rgba(3, 18, 20, .55);
}

/* wewnętrzne spany też ustawiamy jako flex, bo Yoast je zagnieżdża */
.yoast-bc #breadcrumbs>span {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* link Home */
.yoast-bc #breadcrumbs a {
  color: rgba(3, 18, 20, .55);
  text-decoration: none;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yoast-bc #breadcrumbs a:hover {
  color: rgba(3, 18, 20, .85);
}

/* ostatni element: Inspiracje (w Twoim HTML jest <strong> w .breadcrumb_last) */
.yoast-bc #breadcrumbs .breadcrumb_last strong {
  color: #031214;
  font-weight: 600;
}

/* separator między Home a ostatnim elementem */
.yoast-bc #breadcrumbs a::after {
  content: "▶";
  display: inline-block;
  margin-left: 10px;
  color: rgba(3, 18, 20, .35);
  font-size: 10px;
  transform: translateY(-1px);
}

/* ikonka przed "Home" (podmień URL na własny SVG) */
.yoast-bc #breadcrumbs a:first-of-type::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background: url('/wp-content/uploads/2026/01/icon-home-grid.svg') no-repeat center;
  background-size: contain;
  opacity: .55;
}

/** =========================
   PAGINACJA – UI
   ========================= */
.insp-pager {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.insp-pager__inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.insp-pager .page-numbers {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #b8bbb5;
  background: #eceee9;
  color: #3a3d39;
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.insp-pager .page-link {
  font-size: 28px;
}

.insp-pager .page-numbers.current {
  background: #9f2831;
  border-color: #9f2831;
  color: #ffffff;
}

.insp-pager__between {
  font-size: 34px;
  line-height: 1;
  color: #585c57;
  padding: 0 2px;
}

.insp-pager .page-numbers.nav {
  position: relative;
  font-size: 0;
}

.insp-pager .page-numbers.nav::before,
.insp-pager .page-numbers.nav.last::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid #3a3d39;
  border-right: 2px solid #3a3d39;
  transform: rotate(45deg);
}

.insp-pager .page-numbers.nav::before {
  left: 14px;
}

.insp-pager .page-numbers.nav.last::after {
  left: 9px;
}

.insp-pager .page-numbers.disabled {
  opacity: .45;
  pointer-events: none;
}

@media (max-width: 767px) {
  .insp-pager__inner {
    gap: 8px;
  }

  .insp-pager .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .insp-pager .page-link,
  .insp-pager__between {
    font-size: 22px;
  }

  .insp-pager .page-numbers.nav::before,
  .insp-pager .page-numbers.nav.last::after {
    width: 9px;
    height: 9px;
    border-top-width: 1.5px;
    border-right-width: 1.5px;
  }

  .insp-pager .page-numbers.nav::before {
    left: 12px;
  }

  .insp-pager .page-numbers.nav.last::after {
    left: 8px;
  }
}
/* =========================
   CONTINENT TABS (TOP BAR)
   ========================= */
.tvc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  /* odstępy jak w projekcie */
  padding: 14px 18px;
  margin: 0;
  background: #F6DEAE;
  /* beżowy pasek */
  border-radius: 0;
  /* w projekcie pasek jest prosty */
}

.tvc-tabs .tvc-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: #1a1a1a;
  opacity: .9;
  transition: opacity .15s ease, border-color .15s ease, font-weight .15s ease;
}

.tvc-tabs .tvc-tab:hover {
  opacity: 1;
}

.tvc-tabs .tvc-tab.is-active {
  font-weight: 700;
  opacity: 1;
}


/* =========================
   COUNTRY CHIPS (PILLS)
   ========================= */
.tvc-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 18px;
  margin: 0;
  background: transparent;
}

.tvc-chips .tvc-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  /* wysokość jak na screenie */
  border-radius: 10px;
  /* lekko zaokrąglone, nie 999 */
  border: 1px solid #0F3B2E;
  /* ciemna zieleń */
  background: #FBF7EA;
  /* ciepłe jasne tło */
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.tvc-chips .tvc-chip:hover {
  transform: translateY(-1px);
  color: #000000;
}

.tvc-chips .tvc-chip.is-active {
  background: #0F3B2E;
  color: #FFFFFF;
  border-color: #0F3B2E;
}

/* Responsywność: żeby nie robiło się zbyt ciasno */
@media (max-width: 768px) {
  .tvc-tabs {
    gap: 16px;
  }

  .tvc-chips {
    gap: 10px;
    padding: 14px;
  }

  .tvc-chips .tvc-chip {
    padding: 9px 12px;
  }
}

/*Loop item*/

/* Wymuszenie proporcji obrazu w Loop Item */
.loop-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* albo 3 / 2 – zgodnie z projektem */
  object-fit: cover;
  display: block;
}

/* =========================
   HOTELE SIDEBAR FILTERS
   ========================= */
.hotel-sidebar {
  background: #f7f6e6;
  padding: 18px 14px 24px;
  color: #143f3d;
}

.hotel-filter-group {
  margin: 0 0 42px;
}

.hotel-filter-group:last-child {
  margin-bottom: 0;
}

.hotel-taxonomy {
  border: 0;
}

.hotel-taxonomy>summary {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px 12px 0;
  margin: 0;
  border-bottom: 1px solid #a1434e;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: #143f3d;
  cursor: pointer;
}

.hotel-taxonomy>summary::-webkit-details-marker,
.hotel-term-details>summary::-webkit-details-marker {
  display: none;
}

.hotel-taxonomy>summary::marker,
.hotel-term-details>summary::marker {
  content: "";
}

.hotel-taxonomy>summary::after,
.hotel-term-details>summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #143f3d;
  border-bottom: 1.5px solid #143f3d;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.hotel-taxonomy[open]>summary::after,
.hotel-term-details[open]>summary::after {
  transform: translateY(-40%) rotate(-135deg);
}

.hotel-filter-content {
  padding-top: 8px;
}

.hotel-filter-list,
.hotel-subterms {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-filter-list>li>a,
.hotel-subterms>li>a,
.hotel-term-details>summary {
  display: block;
  width: 100%;
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid #7c9892;
  text-decoration: none;
  color: #143f3d;
  font-size: 18px;
  line-height: 1.2;
}

.hotel-subterms>li>a {
  padding-left: 18px;
}

.hotel-term-parent {
  margin: 0;
}

.hotel-term-details {
  border: 0;
}

.hotel-term-details>summary {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  color: #143f3d;
}

.hotel-term-details>summary.is-active,
.hotel-filter-list a.is-active,
.hotel-subterms a.is-active {
  color: #a1434e;
  font-weight: 700;
}

@media (max-width: 767px) {
  .hotel-sidebar {
    padding: 16px 12px 20px;
  }

  .hotel-filter-group {
    margin-bottom: 32px;
  }

  .hotel-filter-list>li>a,
  .hotel-subterms>li>a,
  .hotel-term-details>summary {
    font-size: 17px;
  }
}