/*!
Theme Name: BSG-EU
Theme URI: https://qodeum.com/
Author: qodeum.com
Author URI: https://qodeum.com/
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bsg-eu
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red !important; */
}

*:focus,
*:active {
  outline: none;
}

:root {
  /* font */
  --default-font-family: "Libre Franklin", sans-serif;
  --default-font-size: 16px;

  /* typography */
  --default-line-height: 1.64;

  /* gap */
  --default-gap: 96px;

  /* shadow */
  --default-box-shadow: 0px 24px 48px rgba(0, 0, 0, 0.08);

  /* color */
  --color-black-trans: rgba(0, 0, 0, 0.08);
  --color-black: #000000;

  --color-white-trans: rgba(255, 255, 255, 0.08);
  --color-white: #ffffff;

  --color-gray-lighter: #fbfbfb;
  --color-gray-light: #aeafb1;
  --color-gray: #787878;

  --color-accent-trans: rgba(22, 108, 157, 0.08);
  --color-accent-light: #55a7f0;
  --color-accent: #166b9d;
  --color-accent-dark: #283248;
  --color-accent-gradient: linear-gradient(
    to right,
    var(--color-accent-dark),
    var(--color-accent),
    var(--color-accent-light)
  );

  --color-beige: #f1ede6;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

html {
  scroll-behavior: smooth;
  font-size: var(--default-font-size);
}

body {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-accent-dark);
  font-family: var(--default-font-family);
  line-height: var(--default-line-height);
}

/* responsive max */
@media (max-width: 1640px) {
  .hide-1640 {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .hide-1280 {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hide-992 {
    display: none !important;
  }

  /* root */
  :root {
    --default-gap: 48px;
  }

  /* body */
  body {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hide-768 {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .hide-576 {
    display: none !important;
  }
}

/* responsive min */
@media (min-width: 1640px) {
  .show-1640 {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .show-1280 {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .show-992 {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .show-768 {
    display: none !important;
  }
}

@media (min-width: 576px) {
  .show-576 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  HTML
 *
 *  ——
 *  ——
 *
----------------------------------------------------------------------------------------- */
:root {
  --font-size-h1: 48px;
  --line-height-h1: 1.24;

  --font-size-h2: 32px;
  --line-height-h2: 1.48;

  --font-size-h3: 28px;
  --line-height-h3: 1.24;

  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
}

h1 {
  color: inherit;
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

p {
  line-height: var(--default-line-height);
}

b,
strong {
  font-weight: 600;
}

ul,
ol,
dl {
  line-height: var(--default-line-height);
  list-style: none;
}

img {
  height: auto;
  max-width: 100%;
}

hr {
  border: none;
  border-bottom: 1px solid var(--color-black-trans);
}

blockquote {
  padding: 16px;
  position: relative;
  background: var(--color-accent-trans);
  border-left: 2px solid var(--color-accent);
}

sup {
  font-size: 14px;
}

table,
td,
th {
  border: 1px solid var(--color-black);
}

@media (max-width: 1280px) {
  .table-wrapper {
    overflow-x: scroll;
  }
}

/* table */
table {
  width: 100%;
  border-collapse: collapse;
}

tr:nth-child(even) {
  background-color: var(--color-accent-trans);
}

td,
th {
  padding: 8px 16px;
  text-align: left;
  position: relative;
}

thead {
  font-weight: 600;
  color: var(--color-black);
  background: var(--color-accent-trans);
}

thead td {
  vertical-align: middle;
}

@media (max-width: 992px) {
  :root {
    --font-size-h1: 26px;
    --font-size-h2: 24px;
    --font-size-h3: 22px;
    --font-size-h4: 20px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Component
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion {
  position: relative;
  --accordion-button-icon: url("https://api.iconify.design/ri/arrow-down-s-fill.svg")
    no-repeat center / contain;
}

/*  accordion button
------------------------------------------ */
.accordion__button {
  cursor: pointer;
  position: relative;

  font-weight: 600;

  border-radius: 0px;
  padding: 16px 48px 16px 24px;
  border: 1px solid var(--color-black-trans);
}

.accordion__button::after {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);

  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  display: inline-block;
  transition: ease-in-out 0.16s;
  background: var(--color-black-trans);

  -webkit-mask: var(--accordion-button-icon);
  mask: var(--accordion-button-icon);
}

.accordion__button:hover::after,
.accordion__button.active::after {
  background: var(--color-black);
}

.accordion__button::selection {
  background: transparent;
}

/*  accordion content
------------------------------------------ */
.accordion__content {
  display: none;
  padding: 16px 16px 0 16px;
}

/*  component: tab
----------------------------------------------------------------------------------------- */

/*  tab content
----------------------------------------- */
.tab-content {
  height: 100%;
  display: none;
  overflow: hidden;
  position: relative;
  animation: fadeEffect 0.16s;
  -webkit-animation: fadeEffect 0.16s;
}

/* tab content active */
.tab-content.active {
  display: block;
}

/*  tab animation
----------------------------------------- */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*  component: sidebar
----------------------------------------------------------------------------------------- */
:root {
  --sidebar-width: 320px;
}

/* sidebar */
.sidebar {
  top: 0;
  right: 0;
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  color: var(--color-white);
  width: var(--sidebar-width);
  transform: translateX(100%);
  background: var(--color-accent-dark);
  transition: transform 0.16s ease-out;

  background: url(/wp-content/themes/bsg-eu/assets/media/brand-pattern.webp)
    no-repeat 128px bottom / 420px var(--color-accent-dark);
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar > *:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar head */
.sidebar-head {
  padding: 0 32px;
  min-height: var(--masthead-height);
}

/* sidebar panel */
.sidebar-panel {
  gap: 16px;
  padding: 32px;
}

/*  sidebar navigation
------------------------------------------ */
.sidebar-navigation .menu *::selection {
  background: transparent;
}

/* sidebar navigation menu-item */
.sidebar-navigation .menu .menu-item {
  position: relative;
}

.sidebar-navigation .menu .menu-item:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar navigation menu-item > a */
.sidebar-navigation .menu .menu-item > a {
  z-index: 1;
  display: block;
  position: relative;
  padding: 16px 0 16px 32px;
  max-width: calc(100% - 80px);
  transition: ease-in-out 0.16s;
}

.sidebar-navigation .menu .menu-item > a:hover,
.sidebar-navigation .menu [class*="current-menu-"] > a {
  color: var(--color-accent);
}

.sidebar-navigation .menu .menu-item > a:hover {
  text-decoration: underline;
}

/* sidebar navigation menu-item-has-children > a */
.sidebar-navigation .menu .menu-item-has-children > a {
  display: inline-block;
}

/* sidebar navigation menu-item > accordion-button */
.sidebar-navigation .menu-item > span {
  right: 0;
  top: 14px;
  width: 100%;
  height: 24px;
  opacity: 0.32;
  display: block;
  cursor: pointer;
  position: absolute;
  transition: ease-in-out 0.16s;
  background: url("https://api.iconify.design/mdi-light/chevron-down.svg?color=white")
    no-repeat right 32px center / contain;
}

.sidebar-navigation .menu-item > span {
  opacity: 1;
}

/* іidebar navigation sub-menu */
.sidebar-navigation .sub-menu {
  background: var(--color-white-trans);
}

/*  component: editor
----------------------------------------------------------------------------------------- */
.editor {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* editor list */
.editor ul,
.editor ol {
  gap: 0px;
  display: flex;
  margin: 0 0 0 16px;
  flex-direction: column;
}

.editor ul {
  list-style: square;
}

.editor ol {
  list-style: decimal;
}

.editor em {
  font-style: italic;
}

/* editor iframe */
.editor iframe {
  width: 100%;
  height: 420px;
}

/* editor link */
.editor a {
  text-decoration: underline;
  color: var(--color-accent);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* editor br */
  .editor br {
    display: none;
  }
}

/*  component: swiper
----------------------------------------------------------------------------------------- */

/* swiper grid */
@media (min-width: 992px) {
  .swiper-grid > .swiper-wrapper {
    justify-content: center !important;
  }
}

/* swiper slide */
.swiper-slide {
  height: auto !important;
}

/*  component: button
----------------------------------------------------------------------------------------- */
:root {
  --button-height: 48px;
}

/*  button group
------------------------------------------ */
.button-group {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

/* button group center */
.button-group--center {
  justify-content: center;
}

/*  button
------------------------------------------ */
.button,
input[type="button"] {
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;

  outline: none;
  cursor: pointer;

  padding: 0px 32px;
  text-align: center;

  font-size: inherit;
  font-family: inherit;

  height: var(--button-height);

  border-radius: 32px;
  transition: ease-in-out 0.16s;
  border: 1px solid transparent;

  color: var(--color-white);
  background: var(--color-accent-light);
}

.button:hover,
input[type="button"]:hover {
  opacity: 0.8;
}

/* button dark */
.button--dark {
  background: var(--color-accent-dark);
}

/* button outline */
.button--outline {
  background: transparent;
}

.button--outline.button--white {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* button gray */
.button--gray {
  background: var(--color-gray);
}

/* button sidebar */
.button--sidebar {
  z-index: 1;
  position: relative;
}

/* button uniform */
.button--uniform {
  padding: 0;
  font-size: 24px;
  min-width: unset;
  aspect-ratio: 1 / 1;
}

.button--round {
  border-radius: 100%;
}

/* button size */
.button--xs {
  --button-height: 32px;
}

.button--fw {
  min-width: 100%;
}

/*  component: modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
}

/*
----------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
----------------------------------------------------------------------------------------- */
:root {
  /* masthead */
  --masthead-height: 96px;
}

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  position: sticky;
  transition: ease-in-out 0.16s;
  background: var(--color-white);
}

/*  masthead
----------------------------------------------------------------------------------------- */
.masthead,
.masthead-panel,
.masthead [class*="col-"] {
  gap: 32px;
  display: flex;
  align-items: center;
}

/* masthead */
.masthead {
  transition: ease-in-out 0.16s;
  height: var(--masthead-height);
}

/* masthead column */
.masthead [class*="col-"] {
  flex-direction: row;
  justify-content: space-between;
}

/*  masthead navigation
------------------------------------------ */
.masthead-navigation .menu,
.masthead-navigation .menu-item a {
  display: flex;
  align-items: center;
}

.masthead-navigation .menu {
  gap: 0 48px;
}

.masthead-navigation .menu-item a {
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  height: var(--masthead-height);
}

.masthead-navigation .menu-item a::after {
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  content: "";
  position: absolute;
  transition: height 0.16s ease-in-out;
  background: var(--color-accent-light);
}

.masthead-navigation .menu-item a:hover::after,
.masthead-navigation .menu-item.current-menu-item a::after {
  height: 16px;
}

.masthead-navigation:hover .menu-item.current-menu-item a:not(:hover)::after {
  height: 0;
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.colophon {
  padding: 48px 0;
  color: var(--color-white);
  background: var(--color-accent-gradient);
}

/* colophon col */
.colophon [class*="col-"] {
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

/*  */
.colophon__panel {
  gap: 8px 16px;
  display: flex;
  flex-wrap: wrap;
}

/*  colophon navigation
------------------------------------------ */
.colophon-navigation .menu {
  gap: 16px;
  display: flex;
}

.colophon-navigation .sub-menu {
  display: none;
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Main
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.site-main {
  position: relative;
  --pattern-size: 512px;
  --pattern-half: calc(var(--pattern-size) / 2);
}

.site-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.64;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;

  background-image: url("/wp-content/themes/bsg-eu/assets/media/brand-pattern.webp"),
    url("/wp-content/themes/bsg-eu/assets/media/brand-pattern.webp");

  background-repeat: no-repeat, no-repeat;
  background-size: var(--pattern-size), var(--pattern-size);

  background-position: calc(100% + var(--pattern-half)) center,
    calc(0% - var(--pattern-half)) calc(100% + 8%);
}

/* section */
section {
  gap: 48px 0;
  display: flex;
  flex-direction: column;

  padding: var(--default-gap) 0;

  z-index: 1;
  overflow: hidden;
  position: relative;
}

/*  section: hero
----------------------------------------------------------------------------------------- */
section.hero {
  position: unset;
  color: var(--color-white);
}

/* hero background */
.hero__background {
  top: 0;
  left: 0;
  z-index: -1;
  position: absolute;

  object-fit: cover;

  width: 100%;
  height: var(--hero-background-height, 0px);
}

section.hero-banner {
  background: var(--color-white);
}

@media (min-width: 992px) {
  /* hero banner */
  section.hero-banner {
    padding-top: 0;
    background: transparent;
  }

  section.hero-banner .flexgrid {
    align-items: flex-end;
  }
}

/*  section: flowaround
----------------------------------------------------------------------------------------- */
section.flowaround::before {
  top: 50%;
  left: 50%;
  z-index: -1;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: var(--color-beige);
  transform: translate(-50%, -50%);
  max-width: calc(
    var(--container-width) + var(--default-gap) + var(--col-gap) * 2
  );
}

section.flowaround--right::before,
section.flowaround--left::before {
  max-width: none;
  transform: translateY(-50%);
  width: calc(
    50% + var(--container-width) / 2 + var(--default-gap) + var(--col-gap) * 2
  );
}

section.flowaround--left::before {
  left: unset;
  right: 0;
}

section.flowaround--right::before {
  left: 0;
  right: unset;
}

/* --------------------------------------------------------------------------------------
 *
 *  Component
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  component: headline
----------------------------------------------------------------------------------------- */
.headline {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* headline title */
.headline__title {
  line-height: var(--line-height-h2);
  font-size: var(--font-size-h2);
}

.headline__title--lg {
  line-height: var(--line-height-h1);
  font-size: var(--font-size-h1);
}

@media (max-width: 992px) {
  .headline__title br {
    display: none;
  }
}

/*  component: logo
----------------------------------------------------------------------------------------- */
.logo {
  gap: 16px;
  display: flex;
  align-items: center;
}

/* logo img */
.logo__img {
  max-height: 40px;
}

.logo__img--white {
  filter: brightness(0) invert(1);
}

/*  component: announce
----------------------------------------------------------------------------------------- */
.announce {
  --announce-content-photo-size: 192px;

  display: flex;
  font-size: 20px;
  position: relative;
  background: var(--color-beige);
}

.announce-content,
.announce-image {
  width: 50%;
  min-width: 50%;
}

.announce-image {
  object-fit: cover;
}

/* announce content */
.announce-content {
  padding: var(--default-gap);
}

.announce-content__photo {
  border-radius: 100%;
  width: var(--announce-content-photo-size);
  height: var(--announce-content-photo-size);

  z-index: 1;
  position: absolute;
  right: var(--default-gap);
  bottom: calc(var(--announce-content-photo-size) * -0.5);
}

@media (max-width: 992px) {
  .announce {
    --announce-content-photo-size: 96px;
    flex-direction: column;
    font-size: inherit;
  }
  .announce-content,
  .announce-image {
    width: 100%;
    min-width: 100%;
  }
}

/*  component: thumbnail
----------------------------------------------------------------------------------------- */
.thumbnail {
  --thumbnail-size: unset;
  --thumbnail-size-xs: 64px;
  --thumbnail-size-sm: 128px;
  --thumbnail-size-md: 256px;
  --thumbnail-size-lg: 512px;

  width: 100%;
  height: var(--thumbnail-size);

  display: block;
  line-height: 0;
  overflow: hidden;
  position: relative;

  border-radius: 0px;
  background: transparent;
  transition: ease-in-out 0.16s;
}

/* thumbnail size */
.thumbnail--xs {
  --thumbnail-size: var(--thumbnail-size-xs);
}
.thumbnail--sm {
  --thumbnail-size: var(--thumbnail-size-sm);
}
.thumbnail--md {
  --thumbnail-size: var(--thumbnail-size-md);
}
.thumbnail--lg {
  --thumbnail-size: var(--thumbnail-size-lg);
}

/* thumbnail uniform */
.thumbnail--uniform {
  width: 100%;
  height: 100%;

  aspect-ratio: 1 / 1;
}

/* thumbnail contain */
.thumbnail--contain {
  padding: 0;
}

.thumbnail--contain .thumbnail__media {
  position: unset;
  object-fit: contain;
}

/* thumbnail preview */
.thumbnail--preview {
  aspect-ratio: 16 / 9;
}

/*  thumbnail media
----------------------------------------- */
.thumbnail__media {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  object-position: center;
  transition: ease-in-out 0.16s;
}

/*  component: contact
----------------------------------------------------------------------------------------- */
.contact {
  gap: 0 8px;
  display: flex;
  flex-direction: column;
  line-height: var(--default-line-height);
}

/* contact label */
.contact__label {
  font-weight: 600;
  margin: 8px 0 4px 0;
}

/*  contact group
------------------------------------------ */
.contact-group {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

[class*="contact-group__"] {
  position: relative;
  font-weight: 600;
  padding-left: calc(var(--contact-group-icon-size) + 8px);

  --contact-group-icon-size: 24px;
}

[class*="contact-group__"]::before {
  left: 0;
  top: 4px;
  content: "";

  display: block;
  position: absolute;

  width: var(--contact-group-icon-size);
  height: var(--contact-group-icon-size);
  background: no-repeat center center / contain;
}

.contact-group__phone::before {
  background-image: url(/wp-content/themes/bsg-eu/assets/media/icon-1.png);
}

.contact-group__email::before {
  background-image: url(/wp-content/themes/bsg-eu/assets/media/icon-2.png);
}

.contact-group__location::before {
  background-image: url(/wp-content/themes/bsg-eu/assets/media/icon-3.png);
}

/*  component: form
----------------------------------------------------------------------------------------- */
input,
textarea {
  width: 100%;
  padding: 16px;

  font-family: inherit;
  font-size: inherit;

  border: none;
  border-radius: 32px;
}

input[type="submit"] {
  margin: 0 auto;
  max-width: 512px;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

label {
  gap: 8px;
  display: flex;
  align-items: center;
}

/*  contact from 7
------------------------------------------ */

/* .wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* wpcf7-form-control */
.wpcf7-form-control {
  gap: 16px;
  display: flex;
}

/* .wpcf7-list-item */
.wpcf7-list-item {
  gap: 8px;
  margin: 0;
  display: flex;
  align-items: center;
}

/* .wpcf7-spinne */
.wpcf7-spinner {
  top: 50%;
  right: 25px;
  position: absolute;
  transform: translateY(-50%);
}

/* .wpcf7-response-output */
.wpcf7-response-output {
  border-radius: 32px;
  border-width: 2px;
  margin: 32px 0 0 0 !important;
  padding: 8px 32px !important;
}

/*  component: language switcher
----------------------------------------------------------------------------------------- */

/*  */
.wpm-switcher-list {
  gap: 0 48px;
  display: flex;
}

/*  */
[class*="wpm-item-language-"] [data-lang] {
  gap: 0 8px;
  display: flex;
  align-items: center;

  font-weight: 600;
  color: inherit !important;
}

[class*="wpm-item-language-"] [data-lang] img {
  margin: 0;
  width: 24px;
  height: 16px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .wpm-switcher-list {
    gap: 0 16px;
  }
}

/*  component: gallery
----------------------------------------------------------------------------------------- */
.gallery {
  --gallery-gap: var(--default-gap);
  --gallery-control-button-size: var(--gallery-gap);

  display: flex;
  flex-direction: column;
  gap: var(--gallery-gap);

  width: 100%;
  margin: 0 auto;
  max-width: calc(var(--container-width) - calc(var(--col-gap) * 2));
}

/* gallery preview */
.gallery__preview {
  position: relative;
}

/*  gallery control
------------------------------------------ */
.gallery-control,
.gallery-control__button {
  height: 100%;

  display: flex;
  align-items: center;
}

.gallery-control {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: calc(100% + calc(var(--gallery-control-button-size) * 2));

  justify-content: space-between;
}

.gallery-control__button {
  cursor: pointer;
  opacity: 0.32;
  color: var(--color-accent);
  transition: ease-in-out 0.16s;
  font-size: var(--gallery-control-button-size);

  width: var(--gallery-control-button-size);
  justify-content: center;
}

.gallery-control__button:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery {
    --gallery-gap: 32px;
    padding: 0 var(--gallery-gap);
  }
}

/*  component: cookie
----------------------------------------------------------------------------------------- */
.cookie {
  color: var(--color-white);
  background: var(--color-accent-dark);

  border-radius: 16px 16px 0 0;

  width: 100%;
  padding: 32px;
  max-width: var(--sidebar-width);

  right: 32px;
  z-index: 999;
  position: fixed;
  bottom: var(--cookie-initial-bottom, 0);

  gap: 32px;
  display: none;
  flex-direction: column;
}

.cookie--open {
  bottom: 0 !important;
  transition: bottom 0.32s ease;
}

/* cookie buttons */
.cookie-buttons {
  gap: 16px;
  display: flex;
  align-items: center;
}

.cookie-buttons .button {
  width: calc(50% - 8px);
}

/*  cookie banner
------------------------------------------ */
.cookie-banner,
.cookie-banner__content {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.cookie-banner__content {
  gap: 8px;
  max-width: calc(100% - 16px);
}

.cookie-banner__link {
  display: block;
  text-decoration: underline;
  color: var(--color-accent-light);
}

/* cookie settings button */
#cookieOpenSettings {
  top: 16px;
  right: 16px;
  border: none;
  opacity: 0.64;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  background: transparent;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
}

#cookieOpenSettings:hover {
  opacity: 1;
}

/*  cookie settings
------------------------------------------ */
.cookie-settings {
  padding-top: 16px;
  border-top: 1px solid var(--color-white-trans);
}

.cookie-preferences {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 576px) {
  .cookie {
    right: 0;
    max-width: 100%;
  }
}
