/* FONTS */

@font-face {
  font-family: "PF DinDisplay Pro";
  src: url("/fonts/PFDinDisplayPro-Light.woff2") format("woff2"),
    url("/fonts/PFDinDisplayPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PF DinDisplay Pro";
  src: url("/fonts/PFDinDisplayPro-Bold.woff2") format("woff2"),
    url("/fonts/PFDinDisplayPro-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* CSS RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "PF DinDisplay Pro", "HelveticaNeue", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  padding: 5px 0 10px;
  border: none;
  border-bottom-color: rgba(27, 27, 27, 0.35);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-weight: 700;
  transition: border-color 0.2s ease-out;
}

select:focus-visible {
  outline: none;
}

@media (min-width: 576px) {
  input,
  textarea,
  select {
    display: flex;
    padding: 13px 0 13px 130px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-weight: bold;
}
p {
  overflow-wrap: break-word;
}
h2 {
  font-size: 35px;
  line-height: 1.4em;
  margin-bottom: 20px;
}
h3 {
  font-size: 28px;
  line-height: 1.25em;
  margin-bottom: 10px;
}
h4 {
  font-size: 22px;
  line-height: 1.181em;
}
h5 {
  font-size: 18px;
  line-height: 1.181em;
}
h6 {
  font-size: 16px;
  line-height: 1.181em;
}
@media (min-width: 834px) {
  h2 {
    font-size: 45px;
    margin-bottom: 40px;
  }
  h3 {
    font-size: 32px;
    line-height: 1.25em;
  }
  h4 {
    font-size: 26px;
    line-height: 1.181em;
  }
  h5 {
    font-size: 22px;
    line-height: 1.181em;
  }
  h6 {
    font-size: 19px;
    line-height: 1.181em;
  }
}

#root,
#__next {
  isolation: isolate;
}

/* GENERAL */

:root {
  --color-primary: #ad0707;
  --color-darkgrey: #1b1b1b;
  --color-grey: #777;
  --color-lightgrey: #e5e5e5;
}

::selection {
  color: #fff;
  background: var(--color-primary);
}

a:not(.button) {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:not(.button):hover {
  color: var(--color-darkgrey);
}

a.dark {
  color: var(--color-darkgrey);
}

a.dark:hover {
  color: var(--color-primary);
}

.button {
  padding: 18px 40px;
  background-color: var(--color-darkgrey);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 15px;
  border: none;
  cursor: pointer;
}

.button svg {
  fill: #fff;
  transform: rotate(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.button:hover svg {
  transform: rotate(90deg);
}

.button.red {
  background-color: var(--color-primary);
}

.button-round {
  display: inline-flex;
  align-items: center;
}

.button-round .icon {
  align-items: center;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 54px;
  justify-content: center;
  margin: 0;
  width: 54px;
}

.button-round .icon::before {
  content: "";
  height: 14px;
  width: 14px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='14' height='14' viewBox='0 0 14 14' fill='%23fff' %3E%3Cpath class='horizontal' d='M0,0H14V2H0Z' transform='translate(0 6)' %3E%3C/path%3E%3Cpath class='vertical' d='M0,0H2V14H0Z' transform='translate(6)' %3E%3C/path%3E%3C/svg%3E");
  transform: rotate(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.button-round.small .icon {
  height: 44px;
  width: 44px;
}

.button-round:hover .icon::before {
  transform: rotate(90deg);
}

.button-round .text {
  font-size: 15px;
  line-height: 1.133em;
  margin-left: 19px;
  font-weight: 700;
  color: var(--color-darkgrey);
}

button.secondary {
  padding: 0;
  background-color: #fff;
  color: var(--color-grey);
  text-decoration: none;
  border: none;
  cursor: pointer;
  background-image: linear-gradient(var(--color-grey), var(--color-grey));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

button.secondary:hover {
  background-size: 100% 1px;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

/* HEADER */

header {
  position: relative;
  color: #fff;
  text-align: center;
}

.video {
  width: 100vw;
}

@media (max-width: 767px) {
  .video video {
    display: none;
  }
  .video {
    background-color: var(--color-darkgrey);
  }
}

.video video {
  left: 50%;
  min-height: 100%;
  max-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero {
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.hero.secondary {
  position: unset;
  background-color: var(--color-darkgrey);
  min-height: unset;
}

.hero-content {
  padding: 30px 30px 0;
  width: 100%;
  max-width: 950px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.secondary .hero-content {
  padding: 30px;
  min-height: auto;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 60px 60px 0;
  }

  .hero.secondary .hero-content {
    padding: 60px;
  }
}

.languages {
  display: flex;
  gap: 5px;
  margin-top: 60px;
  justify-content: center;
  flex-wrap: wrap;  
}

.hero.secondary .languages {
  margin-bottom: 0;
}

.languages > a {
  color: #fff;
  text-decoration: none;
  position: relative;
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.languages > a:hover {
  color: #fff;
}

.languages > a::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  position: absolute;
  z-index: -1;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.3, 1), opacity 0.3s ease;
}

.languages > a:hover::after {
  opacity: 1;
  transform: scale(1);
}

.navigation {
  width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.navigation a {
  color: #fff;
}

.navigation a:hover {
  color: var(--color-primary);
}

.login {
  cursor: pointer;
}

dialog {
  padding: 3rem;
  background: #fff;
  max-width: 600px;
  width: 90%;
  border: 0;
  box-shadow: 0 5px 30px 0 rgb(0 0 0 / 10%);
  animation: fadeIn 0.5s ease both;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

dialog::backdrop {
  animation: fadeIn 0.5s ease both;
  background: rgb(0 0 0 / 40%);
  z-index: 2;
  backdrop-filter: blur(20px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero-contacts {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
}
@media (min-width: 834px) {
  .hero-contacts {
    flex-direction: row;
    min-height: 170px;
  }
}

.hero-contacts .cta,
.hero-contacts .contacts {
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

@media (min-width: 834px) {
  .hero-contacts .cta,
  .hero-contacts .contacts {
    padding: 0 60px;
  }
}

.hero-contacts .cta {
  background-color: var(--color-primary);
}

.hero-contacts .contacts {
  background-color: var(--color-darkgrey);
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
@media (min-width: 480px) {
  .hero-contacts .contacts {
    flex-direction: row;
  }
}
@media (min-width: 834px) {
  .hero-contacts .contacts {
    text-align: left;
  }
}

/* CONTENT */

section {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 20px;
  margin: 30px auto;
}

section.full {
  max-width: 100%;
  padding-inline: 0;
}

.not-full {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 20px;
}

.content-title {
  margin-bottom: 30px;
}

.departament-image {
  margin-bottom: 30px;
}

.departament-content {
  align-items: center;
  display: flex;
  padding-bottom: 30px;
  position: relative;
  gap: 30px;
}

.departament-content:not(:last-child) {
  margin: 0 0 63px 0;
}

.departament-content:not(:last-child)::after {
  background-color: #a6a6a6;
  bottom: 0;
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 100vw;
}

.departament-content ul {
  list-style-image: url("data:image/svg+xml,%3Csvg fill='%23ad0707' xmlns='http://www.w3.org/2000/svg' width='16.971' height='12.728' viewBox='0 0 16.971 12.728'%3E%3Cg transform='translate(-766.793 -1747.429)'%3E%3Crect width='16' height='2' transform='translate(771.035 1758.743) rotate(-45)'%3E%3C/rect%3E%3Crect width='2' height='8' transform='translate(773.864 1758.743) rotate(135)'%3E%3C/rect%3E%3C/g%3E%3C/svg%3E");
}

.content-description p:not(:last-child) {
  margin-bottom: 20px;
}

@media (min-width: 834px) {
  section {
    margin: 100px auto;
  }
  .content {
    display: flex;
  }

  .content-title {
    padding-right: 7.5%;
    width: 34.5%;
    flex-shrink: 0;
  }

  .content-description {
    border-left: 1px solid #a6a6a6;
    overflow: hidden;
    padding: 0 0 0 8.5%;
    width: 100%;
  }

  .departament-image {
    margin-bottom: 60px;
  }

  .departament-content {
    padding-bottom: 60px;
  }
}

.people {
  display: grid;
  grid-template-columns: minmax(20px, auto) minmax(auto, 1400px) minmax(
      20px,
      auto
    );
  color: #fff;
}

.people .has-bg {
  background-color: var(--color-darkgrey);
}

.people-conent {
  padding-top: 30px;
}

.people-description {
  max-width: 500px;
  padding-right: 20px;
  margin-bottom: 20px;
}

@media (min-width: 834px) {
  .people-conent {
    padding-top: 100px;
  }
  .people-description {
    margin-bottom: 40px;
  }
}

.map-wrapper {
  position: relative;
}

.map-poiner {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
}

.map-poiner.scandinavia {
  top: 34%;
  left: 53%;
}
.map-poiner.europe {
  top: 58%;
  left: 50%;
}
.map-poiner.russia {
  top: 47%;
  left: 65%;
}

@media (min-width: 480px) {
  .map-poiner::before {
    content: "";
    position: absolute;
    display: block;
    width: 18px;
    height: 15px;
    background-image: url(/images/q-small.png);
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30%;
  }
}

@media (min-width: 834px) {
  .map-poiner {
    font-size: 18px;
  }
}

.content-2 {
  display: flex;
  flex-direction: column;
}

.content-2 > * {
  flex: 1;
}

.content-2-description {
  align-self: center;
  padding-right: 15%;
}

@media (max-width: 833px) {
  .content-2 {
    align-items: center;
  }

  .content-2-image {
    order: -1;
    margin-top: -30px;
    margin-bottom: 30px;
  }
}

@media (min-width: 834px) {
  .content-2 {
    flex-direction: row;
  }

  .content-2-image {
    margin-top: -100px;
  }
}

.gallery {
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.gallery-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-content {
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding-inline: 20px;
}

@media (min-width: 834px) {
  .gallery-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact {
  height: 800px;
  background-image: url(/images/map-2.jpg);
  object-fit: cover;
  background-position: center;
  position: relative;
}

.contact_lv {
  height: 800px;
  background-image: url(/images/map-3.jpg);
  object-fit: cover;
  background-position: center;
  position: relative;
}

.contact-content {
  position: absolute;
  z-index: 1;
  background-color: #fff;
  padding: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.contact-content p {
  color: var(--color-grey);
}
.contact-content p,
.contact-content a {
  font-size: 15px;
}

.contact-content hr {
  border: 0;
  height: 1px;
  background-color: var(--color-grey);
  margin: 30px 0;
}

.contact-split {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-split > * {
  flex: 1;
}

@media (min-width: 834px) {
  .contact-content {
    padding: 70px 60px;
  }
  .contact-split {
    flex-direction: row;
    gap: 40px;
  }
}

.instafram-feed iframe {
  border: none !important;
  max-width: 100%;
  width: 100%;
}

footer {
  border-top: 1px solid var(--color-darkgrey);
  max-width: 1400px;
  margin-inline: auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.social {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  footer {
    flex-direction: row;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  padding-top: 30px;
  font-size: 15px;
  margin: 0 auto;
}

.breadcrumbs a {
  color: var(--color-grey);
}

.breadcrumbs a:hover {
  color: var(--color-darkgrey);
}

.breadcrumbs a::after {
  content: "/";
  color: var(--color-grey);
  margin: 0 10px;
}

/* Request page */
.label {
  width: 100%;
  display: block;
  margin: 0 0 25px;
  color: var(--color-grey);
  position: relative;
}

@media (min-width: 576px) {
  .label {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 48px;
  }
}

.label .label-name {
  font-size: 15px;
}

@media (min-width: 576px) {
  .label .label-name {
    position: absolute;
    width: 140px;
    padding: 15px 10px 0 0;
    color: var(--color-darkgrey);
  }
}

input,
textarea,
select {
  width: 100%;
  padding: 5px 0 10px;
  border: none;
  border-bottom-color: rgba(27, 27, 27, 0.35);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-weight: 700;
  transition: border-color 0.2s ease-out;
}

@media (min-width: 576px) {
  input,
  textarea,
  select {
    display: flex;
    padding: 13px 0 13px 130px;
  }
}

input:focus,
textarea:focus,
select:focus {
  color: var(--color-darkgrey);
  outline: none;
  border-color: #1b1b1b;
}

.info-field,
.message-field {
  margin-top: 26px;
  margin-bottom: 26px;
}

.message-field {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 18px 27px;
}

.validation-error {
  color: #dc3232;
  font-size: 15px;
  font-weight: 400;
  display: block;
}

/* Gallery page */
.gallery-heading p {
  margin-bottom: 20px;
}

.gallery-heading.single p {
  margin-bottom: 40px;
}

@media (min-width: 834px) {

.gallery-heading.single p {
  margin-bottom: 80px;
  }
}

.gallery-heading .tags {
  margin-bottom: 40px;
}

@media (min-width: 834px) {
  .gallery-heading .tags {
    margin-bottom: 80px;
  }
}

.tags span {
  display: inline-block;
  margin-right: 4px;
}

.tags a {
  color: var(--color-grey);
  margin-right: 4px;
}

.tags a:hover {
  color: var(--color-darkgrey);
}

.tags a:not(:last-child):after {
  content: "/";
  padding-left: 10px;
  color: var(--color-grey);
}

.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  position: relative;
  gap: 20px;
  font-weight: 700;
  min-height: 27px;
}

@media (min-width: 834px) {
  .pagination {
    margin-top: 80px;
  }
}

.pagination a {
  color: var(--color-darkgrey);
}

.pagination a.number {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  background-size: 0 1px;
}

.pagination a.number:hover,
.pagination a.number.current {
  background-size: 100% 1px;
}

.pagination .prev,
.pagination .next {
  display: flex;
  position: absolute;
  top: 0;
}

.pagination .prev {
  flex-direction: row-reverse;
  left: 20px;
}

.pagination .next {
  right: 20px;
}

.pagination-arrow-left,
.pagination-arrow-right {
  display: block;
  height: auto;
  overflow: visible;
  will-change: transform;
  transition: margin-left 0.3s ease, margin-right 0.3s ease;
}

.pagination-arrow-left {
  margin-right: 10px;
}

.pagination .prev:hover .pagination-arrow-left {
  margin-right: 21px;
}

.pagination-arrow-right {
  margin-left: 10px;
  transform: rotate(180deg);
}

.pagination .next:hover .pagination-arrow-right {
  margin-left: 21px;
}

.pagination-arrow-left .oblique-1,
.pagination-arrow-right .oblique-1 {
  width: 22px;
  height: 2px;
  transition: width 0.3s ease;
  will-change: transform;
}

.pagination .prev:hover .pagination-arrow-left .oblique-1,
.pagination .next:hover .pagination-arrow-right .oblique-1 {
  width: 12px;
}

.pagination-arrow-left .oblique-2,
.pagination-arrow-right .oblique-2 {
  width: 2px;
  height: 22px;
  transition: height 0.3s ease;
  will-change: transform;
}

.pagination .prev:hover .pagination-arrow-left .oblique-2,
.pagination .next:hover .pagination-arrow-right .oblique-2 {
  height: 12px;
}

.pagination-arrow-left .horizontal,
.pagination-arrow-right .horizontal {
  width: 2px;
  height: 0;
  transition: height 0.3s ease;
  will-change: transform;
}

.pagination .prev:hover .pagination-arrow-left .horizontal,
.pagination .next:hover .pagination-arrow-right .horizontal {
  height: 20px;
}

.back-link {
  margin-top: 30px;
}

@media (max-width: 479px) {
  .pagination .prev span,
  .pagination .next span {
    display: none;
  }
}

@media (min-width: 834px) {
  .back-link {
    margin-top: 80px;
  }
}

.gallery-grid {
  display: grid;
  position: relative;
  border-top: 1px solid var(--color-grey);
}

.gallery-grid::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #fff;
  z-index: 1;
}

.gallery-grid::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  right: left;
  background-color: var(--color-grey);
  z-index: 1;
}

@media (min-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  padding: 27% 10% 15.5% 10%;
  padding: 50px 20px;
  border-color: var(--color-grey);
  border-style: solid;
  border-width: 0px 1px 1px 0px;
  transition: background-color 0.3s linear;
}

.gallery-item:hover {
  background-color: var(--color-lightgrey);
}
.gallery-single {

  border-top: 1px solid var(--color-grey);

  border-bottom: 1px solid var(--color-grey);

  padding: 50px 20px;

  text-align: center;

}

.gallery-single .image-wrapper {
  position: relative;
}

.gallery-single .pagination {
  position: absolute;
  top: 50%;
  width: 100%;
  margin: 0;
  transform: translateY(-50%);
}

.gallery-single .prev,
.gallery-single .next {
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  transition: all 0.35s ease;
  top: 50%;
}

@media (min-width: 834px) {
  .gallery-single .prev,
  .gallery-single .next {
    width: 90px;
    height: 90px;
  }
}

.gallery-single .prev::before,
.gallery-single .next::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  z-index: 0;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.3, 1), opacity 0.3s ease;
  transform: translateX(-5px) scale(0);
}

/* .gallery-single .prev::after,
.gallery-single .next::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: absolute;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.3, 1), opacity 0.3s ease;
} */

.gallery-single .prev:hover::before {
  opacity: 1;
  transform: translateX(-15px) scale(1);
}

.gallery-single .next:hover::before {
  opacity: 1;
  transform: translateX(15px) scale(1);
}

/* .gallery-single .prev::after {
  transform: translateX(-15px) scale(1);
}

.gallery-single .next::after {
  transform: translateX(15px) scale(1);
}

.gallery-single .prev:hover::after,
.gallery-single .next:hover::after {
  opacity: 0;
  transform: translateX(-5px) scale(0);
} */

.gallery-single .prev svg,
.gallery-single .next svg {
  transition: fill 0.3s ease;
}

.gallery-single .prev:hover svg,
.gallery-single .next:hover svg {
  fill: #fff;
}

.gallery-single .prev {
  flex-direction: row;
}

.gallery-single .next {
  flex-direction: row-reverse;
}

.gallery-single img {
  margin: auto;
}

.gallery-single .actions {
  margin-top: 40px;
}

.gallery-single .meta {
  font-size: 15px;
  color: var(--color-grey);
}

.gallery-single .meta a {
  color: var(--color-grey);
}

.gallery-single .meta a:hover {
  color: var(--color-darkgrey);
}

.gallery-single .meta .available {
  color: #006500;
}

.gallery-single .actions a:not(:last-child)::after,
.gallery-single .meta a:not(:last-child)::after {
  content: "/";
  color: var(--color-grey);
  margin: 0 10px;
}

@media (min-width: 834px) {
  .gallery-item {
    padding: 15% 10%;
  }

  .gallery-single {
    padding: 100px 25px;
  }  
}

.gallery-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.gallery-item a {
  color: var(--color-darkgrey);
}

.album-title {
  margin-top: 26px;
  width: 100%;
}

/* Blog */
.post + .post {
  margin-top: 90px;
}

.post img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-content {
  margin-top: 55px;
}

.post-content .date {
  color: var(--color-grey);
  font-size: 15px;
  margin-bottom: 10px;
}

.post-content h2 {
  margin-bottom: 30px;
}

.post-content h2 a {
  color: var(--color-darkgrey);
}

.post-content .back-link {
  margin-top: 30px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

/* Tool tip */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 420px;
  background-color: black;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 5px 6px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -165px;
  left: -5%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.gallery-label {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

select:focus-visible {
  outline: none;
}

.label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
}
.label:has(input[type="checkbox"]) .label-name {
  position: unset;
  width: auto;
  padding: 0;
  font-size: inherit;
}
input[type="checkbox"] {
  margin: -2px 14px 0 0;
  width: auto;
  appearance: none;
  border: 1px solid currentColor;
  box-sizing: border-box;
  height: 14px;
  padding: 0;
  position: relative;
  width: 14px;
}

input[type="checkbox"]:checked {
  background-color: var(--color-primary);
}

input[type="checkbox"]:after {
  background-color: transparent;
  border: 2px solid #fff;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 12px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.2s ease-out;
  width: 12px;
}

input[type="checkbox"]:checked:after {
  opacity: 1;
}

/* Services list */

.services-list-header {
  display: none;
}

@media (min-width: 834px) {
  .services-list-header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--color-grey);
    border-bottom: 1px solid #a6a6a6;
  }

  .services-list-header-name {
    width: 38%;
    flex-shrink: 0;
  }

  .services-list-header-desc {
    flex: 1;
  }

  .services-list-header-btn {
    width: 44px;
    flex-shrink: 0;
  }
}

.services-list-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid #a6a6a6;
  color: var(--color-darkgrey);
}

.services-list-item:hover {
  color: var(--color-darkgrey);
}

.services-list-item:hover .button-round .icon::before {
  transform: rotate(90deg);
}

.services-list-item-name {
  flex: 1;
  font-weight: bold;
  font-size: 22px;
  line-height: 1.181em;
}

.services-list-item-desc {
  display: none;
  color: var(--color-grey);
}

@media (min-width: 834px) {
  .services-list-item {
    gap: 40px;
    padding: 36px 0;
  }

  .services-list-item-name {
    flex: none;
    font-size: 26px;
    width: 38%;
  }

  .services-list-item-desc {
    display: block;
    flex: 1;
  }
}

/* Homepage services preview */

.services-preview {
  background-color: #dfdfdf;
  padding-block: 30px;
  margin: 0;
}

@media (min-width: 834px) {
  .services-preview {
    padding-block: 100px;
  }
}

.services-preview-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 834px) {
  .services-preview-inner {
    flex-direction: row;
    gap: 0;
  }

  .services-preview-intro {
    width: 34.5%;
    flex-shrink: 0;
    padding-right: 7.5%;
  }

  .services-preview-cards {
    border-left: 1px solid #a6a6a6;
    padding-left: 8.5%;
    width: 100%;
  }
}

.services-preview-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.services-preview-intro h2 {
  margin-bottom: 0;
}

.services-preview-cards {
  overflow: hidden;
}

.services-preview-cards .departament-content > div {
  flex: 1;
}
