.container {
  max-width: var(--container);
}

.container-large,
.container-xl {
  max-width: 70.875rem;
}

.container-md {
  max-width: 48rem;
}

.container-sm {
  max-width: 28.75rem;
}

/*  */
.flex-1 {
  flex: 1;
}

.gap-large {
  gap: clamp(2rem,3.55vw,3rem)
}

/*  */
main.node-full-width .region-content {
  padding: 0;
}

body.path-frontpage .region.region-content .section-trip {
  /* background: linear-gradient(#031b39 0%, #00928f 100%); */
  background: var(--midnight-blue);
  color: #fff;
  padding-top: 0;
}

body.path-frontpage .block-home-interest {
  /* background: linear-gradient(#00928f 6%, #031b39 100%); */
  background: var(--midnight-blue);
  color: white;
}

/* region second sidebar */
.region.region-sidebar-second {
  gap: 1.875rem;
}

/*  region bottom */
.region.region-content-bottom {
  background-color: var(--midnight-blue);
  color: #fff;
}

/* view */

.grid-space-normal .grid.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.grid-space-medium .grid.row {
  --bs-gutter-y: 3.125rem;
}

.list-layout-trip-slider .view-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/*  */
.section-trip {
  padding-block-start: clamp(2.5rem, 5.7vw, 5rem);
  padding-block-end: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/*  */
form.user-login-form {
  max-width: 18.75rem;
  margin-inline: auto;
}

.pt-header-space {
  padding-block-start: 15.75rem;
}

/*  */
.gallery-layout:not(.no-transform) {
  transform: translateX(min(6.25rem, max(0rem, (50vw - (var(--container) / 2)))));
}

.gallery-layout img {
  border-radius: 0.625rem;
}

.gallery-layout .field__items>.field__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-2-cols .field__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-2-cols .field__items>.field__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.gallery-2-cols .field__items>.field__item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.gallery-2-cols .field__items>.field__item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.gallery-2-cols .field__items>.field__item:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

.gallery-2-cols .field__items>.field__item:nth-child(n+5) {
  display: none;
}


.gallery-2-cols .field__items>.field__item:nth-child(1) img {
  aspect-ratio: 319/153;
}

.gallery-2-cols .field__items>.field__item:nth-child(2) img {
  aspect-ratio: 319/153;
}

.gallery-2-cols .field__items>.field__item:nth-child(3) img {
  aspect-ratio: 319/153;
}

.gallery-2-cols .field__items>.field__item:nth-child(4) img {
  aspect-ratio: 319/153;
}

.gallery-3-cols .field__items {
  display: grid;
  grid-template-columns: 3fr 1fr 2fr;
  grid-template-rows: repeat(12, 1fr);
  gap: 1.25rem;
}

.gallery-3-cols .field__items>.field__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 12;
}

.gallery-3-cols .field__items>.field__item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.gallery-3-cols .field__items>.field__item:nth-child(3) {
  grid-column: 2;
  grid-row: 4 / span 3;
}

.gallery-3-cols .field__items>.field__item:nth-child(4) {
  grid-column: 2;
  grid-row: 7 / span 3;
}

.gallery-3-cols .field__items>.field__item:nth-child(5) {
  grid-column: 2;
  grid-row: 10 / span 3;
}

.gallery-3-cols .field__items>.field__item:nth-child(6) {
  grid-column: 3;
  grid-row: 1 / span 4;
}

.gallery-3-cols .field__items>.field__item:nth-child(7) {
  grid-column: 3;
  grid-row: 5 / span 4;
}

.gallery-3-cols .field__items>.field__item:nth-child(8) {
  grid-column: 3;
  grid-row: 9 / span 4;
}

.gallery-3-cols .field__items>.field__item:nth-child(n+9) {
  display: none;
}


.gallery-complex {
  /* padding-bottom: 103.90625%;
  overflow: hidden; */
}

.gallery-complex .field__items {
  /* position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; */
  display: grid;
  grid-template-columns: 3fr 1fr 2fr;
  grid-template-rows: repeat(24, 1fr);
  gap: 1.25rem;
  aspect-ratio: 1;
}

.gallery-complex .field__items>.field__item:nth-child(1) {
  grid-column: 1 / span 3;
  grid-row: 1 / span 12;
}

.gallery-complex .field__items>.field__item:nth-child(2) {
  grid-column: 1;
  grid-row: 13 / span 12;
}

.gallery-complex .field__items>.field__item:nth-child(3) {
  grid-column: 2;
  grid-row: 13 / span 4;
}

.gallery-complex .field__items>.field__item:nth-child(4) {
  grid-column: 2;
  grid-row: 17 / span 4;
}

.gallery-complex .field__items>.field__item:nth-child(5) {
  grid-column: 2;
  grid-row: 21 / span 4;
}

.gallery-complex .field__items>.field__item:nth-child(6) {
  grid-column: 3;
  grid-row: 13 / span 6;
}

.gallery-complex .field__items>.field__item:nth-child(7) {
  grid-column: 3;
  grid-row: 19 / span 6;
}

.gallery-complex .field__items>.field__item:nth-child(n+8) {
  display: none;
}


.gallery-complex-2 {
  padding-bottom: 87.1875%;
  overflow: hidden;
}

.gallery-complex-2 .field__items {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 3fr 1fr 2fr;
  grid-template-rows: repeat(10, 1fr);
  gap: 1.25rem;
}

.gallery-complex-2 .field__items>.field__item:nth-child(1) {
  grid-column: 1 / span 3;
  grid-row: 1 / span 4;
}

.gallery-complex-2 .field__items>.field__item:nth-child(2) {
  grid-column: 1;
  grid-row: 5 / span 6;
}

.gallery-complex-2 .field__items>.field__item:nth-child(3) {
  grid-column: 2;
  grid-row: 5 / span 2;
}

.gallery-complex-2 .field__items>.field__item:nth-child(4) {
  grid-column: 2;
  grid-row: 7 / span 2;
}

.gallery-complex-2 .field__items>.field__item:nth-child(5) {
  grid-column: 2;
  grid-row: 9 / span 2;
}

.gallery-complex-2 .field__items>.field__item:nth-child(6) {
  grid-column: 3;
  grid-row: 5 / span 3;
}

.gallery-complex-2 .field__items>.field__item:nth-child(7) {
  grid-column: 3;
  grid-row: 8 / span 3;
}

.gallery-complex-2 .field__items>.field__item:nth-child(n+8) {
  display: none;
}

.gutter-large {
  --bs-gutter-x: 3.125rem;
  --bs-gutter-y: 3.125rem;
}

.gutter-medium {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
}

.gutter-normal {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.gutter-small {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}

.right-side-fit-container {
  transform: translateX(max(0px, min(6.25rem, calc((100vw - var(--container)) / 2))));
}


body.path-daily-itinerary header,
body.path-daily-itinerary footer {
  display: none;
}
