.site-header.is-at-top {
  background-color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}

/* –––––––––––– HERO –––––––––––– */

section.hero {
  background: url("/wp-content/themes/zornica/assets/img/backgrounds/back-gn.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;

  padding-top: calc(var(--header-height) + var(--section-padding));
}

section.hero .container {
  display: flex;
  flex-direction: column-reverse;
}
section.hero .container div strong {
  margin-bottom: 35px;

  display: block;
  color: var(--color-primary-soft);
  font-size: 2em;
  line-height: 1;
  font-weight: 600;
}
section.hero .container div span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.4px;
  margin-bottom: 15px;
}
section.hero .container > div:not(.swiper) > div {
  margin-top: 28px;

  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

section.hero .container .swiper {
  margin-top: 28px;
  width: 100%;
  height: 450px;
}
section.hero .container .swiper .swiper-pagination {
  bottom: 1rem;
}
section.hero .container .swiper .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
}
section.hero .container .swiper .swiper-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

@media screen and (min-width: 1280px) {
  section.hero .container {
    flex-direction: row;
    gap: 3rem;
  }
  section.hero .container .swiper {
    margin-top: 0;
  }
  section.hero .container > div:not(.swiper) {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
  }
}

/* –––––––––––– SINGLE –––––––––––– */

section.single {
  background-color: var(--color-panel);
  padding-bottom: 0;
}

section.single .container.request strong {
  display: block;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(1.5rem, 1.0192rem + 1.5385vw, 2.25rem);
  color: var(--color-primary-soft);
  text-align: center;
  margin-bottom: 26px;
}
section.single .container.request .form > span {
  display: block;
  font-size: clamp(1.125rem, 1.0449rem + 0.2564vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: var(--color-text);
  text-wrap: balance;
  text-align: center;
}

section.single .container form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
section.single .container form .iti {
  width: 100%;
  max-width: 100%;
}

section.single .container form .iti input {
  width: 100%;
}
section.single .container form .iti input {
  padding-left: 40px;
}
section.single .container form input {
  background-color: var(--color-white);
  border: 2px solid var(--color-secondary);
  border-radius: 10px;
  padding: 24px 32px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
  margin-inline: auto;
  width: 100%;
}
section.single .container form label {
	margin-top: 20px;
}
section.single .container form label>span {
	transform: translateX(0.4em) translateY(-0.6em);
}
section.single .container form .btn {
  padding-block: 10px;
  font-weight: 600;
}

section.single .container form label > input:not([type="checkbox"]):has(+ span):not(:focus):placeholder-shown + span,
section.single .container form label > textarea:not([type="checkbox"]):has(+ span):not(:focus):placeholder-shown + span {
	transform: translateY(2.7em) translateX(1.5em) scale(1.15);
}

section.single .container .rooms {
  margin-block: 4rem;
}
section.single .container .swiper {
  width: 100%;
}
section.single .container .rooms-swiper .swiper-wrapper {
  align-items: stretch;
}

section.single .container .rooms-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

section.single .container .rooms-swiper .swiper-slide .body {
  flex: 1;
}

section.single .container .rooms-swiper .swiper-slide .foot {
  margin-top: auto;
}
section.single .container .swiper .swiper-pagination {
  bottom: 1rem;
}
section.single .container .swiper .swiper-pagination-bullet {
  outline-offset: 1;
  outline: 1px solid var(--color-secondary);

  background-color: var(--color-primary-soft);
  opacity: 0.5;
}
section.single .container .swiper .swiper-pagination-bullet-active {
  opacity: 1;
}
section.single .container .swiper .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--color-primary-soft);
  background-color: var(--color-white);
}
section.single .container .swiper .swiper-slide .head {
  height: 250px;
  position: relative;
}
section.single .container .swiper .swiper-slide .head img {
  height: 100%;

  object-fit: cover;
  object-position: center;
}
section.single .container .swiper .swiper-slide .head p {
  position: absolute;
  bottom: 1rem;
  left: 0;

  display: block;
  padding-left: 20px;
  background-color: rgba(181, 166, 111, 0.5);

  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.56px;
  max-width: 380px;
  color: var(--color-white);
}
section.single .container .swiper .swiper-slide .body {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;

  padding: 1rem 2rem;
}
section.single .container .swiper .swiper-slide .body .info {
  font-size: var(--text-md);
  line-height: 1.2;
  color: var(--color-text);

  padding-right: 1rem;

  border-right: 2px solid var(--color-secondary);
}
section.single .container .swiper .swiper-slide .body .info .comforts {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;

  margin-bottom: 20px;

  color: var(--color-primary-soft);
}
section.single .container .swiper .swiper-slide .body .info .comforts svg {
  width: 30px;
  height: 30px;
}

section.single .container .swiper .swiper-slide .body .capacity div {
  display: flex;
  align-items: center;

  margin-top: 15px;

  color: var(--color-secondary);
}

section.single .container .swiper .swiper-slide .foot {
  margin-top: 4rem;
  padding: 1rem 2rem;
  padding-bottom: 4rem;
}
section.single .container .swiper .swiper-slide .foot p {
  font-size: var(--text-md);
  color: var(--color-text);

  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
}
section.single .container .swiper .swiper-slide .foot p b {
  font-size: 24px;
}

section.single .container .swiper .swiper-slide .foot .btn {
  width: fit-content;
  margin-inline: auto;
  margin-top: 20px;
}

section.single .content {
  padding-block: var(--section-padding);
  background-color: var(--color-white);
}

section.single .content .container h1 {
  margin-bottom: 32px;
  color: var(--color-primary-soft);
}
section.single .content .container > div {
  font-size: var(--text-md);
  color: var(--color-text);

  line-height: 1.4;
  letter-spacing: 0.03em;
}

section.single .content .container > div h1,
section.single .content .container > div h2,
section.single .content .container > div h3,
section.single .content .container > div h4,
section.single .content .container > div h5,
section.single .content .container > div h6 {
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

section.single .content .container > div p {
  margin-bottom: 1.5rem;
}

section.single .content .container > div li.as-link {
  color: var(--color-secondary);
  /* text-decoration: underline; */
  cursor: pointer;

  transition: 0.3s all;
}

@media (hover: hover) {
  section.single .content .container > div li.as-link:hover {
    color: var(--color-text);
  }
}

section.single .content .container > div ul,
section.single .content .container > div ol {
  list-style-type: disc;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

section.single .content .container > div ul li,
section.single .content .container > div ol li {
  margin-bottom: 0.5rem;
}

section.single .content .container > div blockquote {
  padding: 1rem;
  border-left: 4px solid var(--color-primary-soft);
  margin-bottom: 1.5rem;
}

section.single .content .container > div img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

section.single .content .container > div table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

section.single .content .container > div iframe {
  width: 100%;
}

section.single .content .container > div th,
section.single .content .container > div td {
  padding: 0.75rem;
  border: 1px solid var(--color-gray);
}

@media screen and (min-width: 580px) {
  section.single .container form .iti,
  section.single .container form input {
    width: 400px;
  }
}

@media screen and (min-width: 1280px) {
  section.single {
    padding-block: 0;

    display: grid;
    grid-template-columns: 1fr 0.7fr;
  }
  section.single .content {
    padding-block: var(--section-padding);

    grid-column: 1;
    grid-row: 1;
  }
  section.single > .container {
    width: 100%;
    overflow: hidden;

    padding-block: var(--section-padding);
    grid-column: 2;
    grid-row: 1;
  }

  section.single .container .swiper .swiper-slide .foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  section.single .container .swiper .swiper-slide .foot .btn {
    margin: 0;
  }
}
