/* goZanzibar.pl - home page redesign */
.home-page {
  color: #263746;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
  letter-spacing: -0.015em;
}

.home-hero {
  padding: 32px 0 26px;
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
  border-bottom: 1px solid #eef1f4;
}

.home-hero__copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.home-hero h1 {
  margin: 0;
  color: #122e44;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 600;
}

.home-hero__lead {
  max-width: 780px;
  margin: 12px auto 0;
  color: #536575;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
}

.home-search-widget {
  max-width: 1040px;
  margin: 20px auto 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 46, 68, 0.065);
}

.home-section {
  padding: 28px 0;
}

.home-section--soft {
  background: #f7f9fb;
}

.home-section__header {
  max-width: 760px;
  margin: 0 auto 17px;
  text-align: center;
}

.home-section__header h2 {
  margin: 0;
  color: #122e44;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.home-section__header p {
  margin: 6px 0 0;
  color: #61717f;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

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

.home-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid #e5eaee;
  border-radius: 10px;
  background: #fff;
  color: #18364f;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  box-shadow: 0 3px 12px rgba(18, 46, 68, 0.035);
}

.home-quick-link:hover {
  color: #f2a51a;
  border-color: #ffd3a9;
  transform: translateY(-1px);
}

.home-quick-link .mdi {
  margin-left: 12px;
  color: #f2a51a;
  font-size: 20px;
}

.home-region-card,
.home-discover-card,
.home-article-card,
.home-hotel-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(18, 46, 68, 0.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-region-card:hover,
.home-discover-card:hover,
.home-article-card:hover,
.home-hotel-card:hover {
  transform: translateY(-2px);
  border-color: #d9e1e7;
  box-shadow: 0 10px 26px rgba(18, 46, 68, 0.075);
}

.home-region-card {
  display: block;
  padding: 19px;
  color: inherit;
}

.home-region-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: #fff2e6;
  color: #f2a51a;
  font-size: 20px;
}

.home-region-card h3,
.home-discover-card h3 {
  margin: 0;
  color: #122e44;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
}

.home-region-card p,
.home-discover-card p {
  margin: 7px 0 0;
  color: #61717f;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
}

.home-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
  color: #d96b00;
  font-size: 14px;
  font-weight: 500;
}

.home-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf1f4;
}

.home-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.home-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9aa8b3;
  font-size: 44px;
}

.home-article-card:hover .home-card-media img,
.home-hotel-card:hover .home-card-media img {
  transform: scale(1.02);
}

.home-card-body {
  padding: 15px 18px 17px;
}

.home-card-badge {
  display: inline-block;
  margin-bottom: 7px;
  color: #d96b00;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.home-article-card h3,
.home-hotel-card h3 {
  margin: 0;
  color: #122e44;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

.home-article-card h3 a,
.home-hotel-card h3 a {
  color: inherit;
}

.home-article-card h3 a:hover,
.home-hotel-card h3 a:hover {
  color: #d96b00;
}

.home-card-summary {
  margin: 7px 0 0;
  color: #61717f;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
}

.home-card-meta {
  margin-top: 10px;
  color: #7a8792;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 300;
}

.home-hotel-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 11px;
  margin-top: 8px;
  color: #647582;
  font-size: 13px;
  font-weight: 300;
}

.home-hotel-card__price {
  margin-top: 10px;
  color: #d96b00;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
}

.home-discover-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  color: inherit;
}

.home-discover-card .home-card-link {
  margin-top: auto;
  padding-top: 10px;
}

.home-section__actions {
  margin-top: 18px;
  text-align: center;
}

.home-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #f2a51a;
  border-radius: 999px;
  color: #d96b00;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.home-primary-link:hover {
  background: #f2a51a;
  color: #fff;
}

.home-community {
  padding: 25px 0;
  background: #122e44;
}

.home-community__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.home-community h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
}

.home-community p {
  margin: 5px 0 0;
  color: #d5dee5;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
}

.home-community__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.home-community__button:hover {
  color: #fff;
  background: #1266d5;
}

@media (max-width: 991px) {
  .home-hero {
    padding: 28px 0 24px;
  }

  .home-hero h1 {
    font-size: 36px;
  }

  .home-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section {
    padding: 24px 0;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: 22px 0 21px;
  }

  .home-hero h1 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
  }

  .home-hero__lead {
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.5;
  }

  .home-search-widget {
    margin-top: 15px;
    padding: 9px;
    border-radius: 11px;
  }

  .home-section {
    padding: 22px 0;
  }

  .home-section__header {
    margin-bottom: 14px;
  }

  .home-section__header h2 {
    font-size: 25px;
  }

  .home-section__header p {
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.45;
  }

  .home-quick-grid {
    gap: 9px;
  }

  .home-quick-link {
    min-height: 54px;
    padding: 11px 13px;
    font-size: 14px;
  }

  .home-community {
    padding: 22px 0;
  }

  .home-community__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .home-community h2 {
    font-size: 23px;
  }

  .home-community__button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .home-quick-grid {
    grid-template-columns: 1fr;
  }
}


/* HOME - Last Minute */
.home-last-minute-section {
  background: #fff8f1;
  border-top: 1px solid #ffe9d5;
  border-bottom: 1px solid #ffe9d5;
}

.home-last-minute-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0dfcf;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(18, 46, 68, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-last-minute-card:hover {
  transform: translateY(-2px);
  border-color: #ffd0a5;
  box-shadow: 0 10px 26px rgba(18, 46, 68, 0.08);
}

.home-last-minute-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf1f4;
}

.home-last-minute-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.home-last-minute-card:hover .home-last-minute-card__media img {
  transform: scale(1.02);
}

.home-last-minute-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2a51a;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(153, 76, 0, .18);
}

.home-last-minute-card__body {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 15px 18px 17px;
}

.home-last-minute-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #d96b00;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
}

.home-last-minute-card h3 {
  margin: 7px 0 0;
  color: #122e44;
  font-size: 19px;
  line-height: 1.32;
  font-weight: 600;
}

.home-last-minute-card h3 a {
  color: inherit;
}

.home-last-minute-card h3 a:hover {
  color: #d96b00;
}

.home-last-minute-card__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  color: #61717f;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 300;
}

.home-last-minute-card__details strong {
  color: #415462;
  font-weight: 500;
}

.home-last-minute-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.home-last-minute-card__price {
  color: #d96b00;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
}

.home-last-minute-card__price small {
  font-size: 11px;
  font-weight: 500;
}

.home-last-minute-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #f2a51a;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
}

.home-last-minute-card__cta:hover,
.home-last-minute-card__cta:focus {
  background: #e87300;
  color: #fff;
}

.home-primary-link--filled {
  background: #f2a51a;
  color: #fff;
}

.home-primary-link--filled:hover {
  background: #e87300;
  border-color: #e87300;
  color: #fff;
}

@media (max-width: 480px) {
  .home-last-minute-card__body {
    min-height: 0;
  }

  .home-last-minute-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .home-last-minute-card__cta {
    width: 100%;
  }
}

/* goZanzibar.pl - finalne kafle regionow na stronie glownej */
.home-section--soft {
  background: #f6f8fa;
}

.home-section--soft .home-section__header {
  margin-bottom: 20px;
}

.home-section--soft .home-section__header h2 {
  letter-spacing: -0.02em;
}

.home-region-card--photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe6eb;
  border-radius: 14px;
  background: #dcebf0;
  box-shadow: 0 7px 22px rgba(18, 46, 68, 0.07);
  color: inherit;
  isolation: isolate;
}

.home-section .row.row-20 > .col-md-4 {
  align-items: flex-start;
  margin-bottom: 0;
}

.home-region-card--photo .home-region-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #dcebf0;
}

.home-region-card--photo .home-region-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.home-region-card--photo .home-region-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 35, 51, 0.06) 28%, rgba(8, 35, 51, 0.22) 56%, rgba(8, 35, 51, 0.82) 100%);
  pointer-events: none;
}

.home-region-card--photo .home-region-card__title {
  position: absolute;
  left: 18px;
  right: 155px;
  bottom: 17px;
  z-index: 2;
  color: #fff;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

.home-region-card--photo .home-region-card__cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #bd5a00;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(7, 31, 45, .20);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-region-card--photo .home-region-card__cta .mdi {
  font-size: 17px;
  line-height: 1;
}

.home-region-card--photo:hover {
  transform: translateY(-3px);
  border-color: #cfdbe2;
  box-shadow: 0 13px 30px rgba(18, 46, 68, 0.12);
}

.home-region-card--photo:hover .home-region-card__media img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.home-region-card--photo:hover .home-region-card__cta {
  border-color: #ff830a;
  background: #ff830a;
  color: #fff;
  transform: translateX(1px);
}

/* Ostatnie szlify strony glownej */
.home-hero {
  padding-top: 30px;
  padding-bottom: 24px;
}

.home-search-widget {
  box-shadow: 0 7px 22px rgba(18, 46, 68, 0.055);
}

.home-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.home-section__header {
  margin-bottom: 18px;
}

.home-section__header p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home-article-card,
.home-hotel-card,
.home-discover-card {
  border-color: #e2e8ec;
}

.home-card-media img {
  will-change: transform;
}

.home-primary-link {
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-primary-link:hover {
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .home-region-card--photo .home-region-card__title {
    right: 140px;
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .home-section .row.row-20 > .col-md-4 + .col-md-4 {
    margin-top: 14px;
  }

  .home-region-card--photo .home-region-card__media {
    aspect-ratio: 16 / 9.5;
  }

  .home-region-card--photo .home-region-card__title {
    left: 15px;
    right: 15px;
    bottom: 16px;
    padding-right: 0;
    font-size: 22px;
  }

  .home-region-card--photo .home-region-card__cta {
    top: 12px;
    right: 12px;
    bottom: auto;
    min-height: 32px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .home-hero {
    padding-top: 22px;
    padding-bottom: 21px;
  }

  .home-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .home-region-card--photo .home-region-card__title {
    font-size: 21px;
  }
}

/* goZanzibar.pl 2026-09-30 - finalny spokojny wyglad kafli regionow */
.home-region-grid > [class*="col-"] {
  display: flex;
}

.home-region-tile {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid #e0e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 46, 68, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-region-tile:hover {
  transform: translateY(-3px);
  border-color: #d1dde4;
  box-shadow: 0 14px 30px rgba(18, 46, 68, .11);
}

.home-region-tile__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dcebf0;
}

.home-region-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.home-region-tile:hover .home-region-tile__media img {
  transform: scale(1.025);
}

.home-region-tile__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 20px 19px;
}

.home-region-tile__body h3 {
  margin: 0;
  color: #122e44;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -.015em;
}

.home-region-tile__body h3 a {
  color: inherit;
}

.home-region-tile__body h3 a:hover {
  color: #d96b00;
}

.home-region-tile__body p {
  margin: 9px 0 0;
  color: #61717f;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
}

.home-region-tile__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 3px;
  margin-top: 15px;
  color: #c45e00;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.home-region-tile__cta .mdi {
  font-size: 18px;
  transition: transform .18s ease;
}

.home-region-tile__cta:hover {
  color: #ff830a;
}

.home-region-tile__cta:hover .mdi {
  transform: translateX(2px);
}

@media (max-width: 767px) {
  .home-region-grid > [class*="col-"] + [class*="col-"] {
    margin-top: 15px;
  }

  .home-region-tile__body {
    padding: 16px 17px 17px;
  }

  .home-region-tile__body h3 {
    font-size: 21px;
  }
}
