/*!
Theme Name: Dentistman
Theme URI: https://webdeveloper.com.ua/
Author: webdeveloper.com.ua
Author URI: https://t.me/webdeveloper_com_ua
Description: 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: dentistman
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

:root {
  /* default */
  --default-gap: 64px;
  --default-line-height: 1.64;

  /* font */
  --font-serif: "Prata", serif;
  --font-sans-serif: "Montserrat", sans-serif;

  /* color */
  --color-black: #000000;
  --color-black-light: #202020;
  --color-black-trans: rgba(27, 27, 27, 0.16);

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

  --color-accent: #3b566b;
  --color-accent-trans: rgba(61, 88, 110, 0.08);

  --color-gray: #878787;
  --color-gray-dark: #5d5d5d;
  --color-gray-light: #f8f8f8;

  /* settings */
}

html {
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
  font-weight: 500;
  font-display: auto;
  font-family: var(--font-sans-serif);
}

/*  responsive
------------------------------------------ */

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

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

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

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

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

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

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

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

/* --------------------------------------------------------------------------------------
 *
 *  HTML
 *
 *  ——
 *  ——
 *
----------------------------------------------------------------------------------------- */

:root {
  --font-size-h1: 40px;
  --line-height-h1: 1.32;

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

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

  /* font size */
  --font-size-md: 16px;
  --font-size-lg: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: normal;
  font-family: var(--font-serif);
}

h1 {
  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);
}

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
------------------------------------------ */
table,
td,
th {
  border: 1px solid var(--color-black);
}

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;
}

/* thaed */
thead {
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
}

thead td {
  vertical-align: middle;
}

/*
------------------------------------------ */
@media only screen and (max-width: 992px) {
  :root {
    --font-size-h1: 32px;
    --line-height-h1: 1.32;

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

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

    /* font size */
    --font-size-md: 16px;
    --font-size-lg: 18px;
  }

  br {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
----------------------------------------------------------------------------------------- */
:root {
  /* tophead */
  --tophead-height: 56px;

  /* midhead */
  --midhead-height: 72px;

  /* menu */
  --masthead-menu-gap: 24px;
  --masthead-menu-item-gap: 4px;
  --masthead-menu-item-height: 40px;
  --masthead-menu-item-icon-size: 24px;
  --masthead-menu-item-icon-color: var(--color-white);
  --masthead-menu-item-icon: url("https://api.iconify.design/ri/arrow-down-s-fill.svg")
    no-repeat center / contain;

  /* menu sub */
  --masthead-sub-menu-gap: 8px;
  --masthead-sub-menu-width: 220px;
  --masthead-sub-menu-padding: 24px;
}

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  position: fixed;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  border-bottom: 1px solid var(--color-white-trans);
}

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

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

/* tophead */
#tophead {
  font-size: 12px;
  height: var(--tophead-height);
  border-bottom: 1px solid var(--color-white-trans);
}

.site-header--onscroll #tophead {
  color: var(--color-white);
  background: var(--color-accent);
}

/* midhead */
#midhead {
  height: var(--midhead-height);
}

.site-header--onscroll #midhead {
  color: var(--color-black);
  background: var(--color-white);
}

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

/*  masthead navigation
------------------------------------------ */
.masthead-navigation {
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid var(--color-white-trans);
}

.site-header--onscroll .masthead-navigation {
  border-color: var(--color-black-trans);
}

.masthead-navigation .menu,
.masthead-navigation .menu-item {
  display: flex;
  position: relative;
  align-items: center;
}

/* menu */
.masthead-navigation .menu {
  gap: var(--masthead-menu-gap);
}

/* menu item */
.masthead-navigation .menu-item {
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.16s ease-in-out;

  gap: var(--masthead-menu-item-gap);
  height: var(--masthead-menu-item-height);
}

/* menu-item icon */
.masthead-navigation .menu-item-has-children::after {
  content: "";
  display: inline-block;

  -webkit-mask: var(--masthead-menu-item-icon);
  mask: var(--masthead-menu-item-icon);
  width: var(--masthead-menu-item-icon-size);
  height: var(--masthead-menu-item-icon-size);
  background: var(--masthead-menu-item-icon-color);
}

.site-header--onscroll .masthead-navigation .menu-item-has-children::after {
  background: var(--color-black);
}

/* sub menu */
.masthead-navigation .sub-menu {
  left: 50%;
  z-index: 1;
  opacity: 0;
  display: flex;
  visibility: hidden;
  position: absolute;
  flex-direction: column;

  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  transition: opacity 0.16s ease-in-out, visibility 0.16s ease-in-out;

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

  gap: var(--masthead-sub-menu-gap);
  top: var(--masthead-menu-item-height);
  min-width: var(--masthead-sub-menu-width);
  padding: var(--masthead-sub-menu-padding);
}

.masthead-navigation .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* sub menu item */
.masthead-navigation .sub-menu .menu-item {
  height: auto;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

/*  masthead phone
------------------------------------------ */
.masthead__phone {
  gap: 0 8px;
  display: flex;
  align-items: center;

  font-weight: 600;
  font-size: var(--font-size-lg);
}

/*  masthead logo
------------------------------------------ */
#masthead-logo .logo__img {
  filter: brightness(0) invert(1);
}

.site-header--onscroll #masthead-logo .logo__img {
  filter: unset;
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.colophon {
  --colophon-menu-gap: 8px 16px;

  padding: 64px 0;
  color: var(--color-gray-light);
  background: var(--color-black-light);
}

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

/* colophon panel */
.colophon__panel {
  display: flex;
  gap: 16px 32px;
}

/* colophon separator */
.colophon__separator {
  border-bottom-color: var(--color-white);
  margin-top: calc(var(--default-gap) - var(--col-gap));
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Main
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  section background
------------------------------------------ */
.section-background {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/*  section group
------------------------------------------ */
.section-group > section:nth-child(even) {
  background: transparent !important;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  :root {
    /* section */
    --default-gap: 32px;
  }
}

/*  section: hero
----------------------------------------------------------------------------------------- */
section.hero {
  padding: 0;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  padding-bottom: calc(var(--hero-panel-height) / 2);

  /* hero root */
  --hero-panel-height: 128px;
}

section.hero-fullheight {
  min-height: 80vh;
}

/* hero content media */
.hero-content__media {
  z-index: 0;
}

/* hero content media overlay */
.hero-content__media::after {
  z-index: 1;
}

/* hero content area */
.hero-content__area {
  z-index: 2;
}

/*  hero content
------------------------------------------ */
.hero-content {
  overflow: hidden;
  position: relative;
  color: var(--color-white);
  /*  */
  padding: calc(
      (var(--tophead-height) + var(--midhead-height)) + var(--default-gap)
    )
    0 calc((var(--hero-panel-height) / 2) + var(--default-gap)) 0;
}

/* hero content media */
.hero-content__media {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

#hero-media__slider {
  height: 100%;
}

/* hero content media overlay */
.hero-content__media::after {
  top: 0;
  left: 0;
  width: 100%;
  content: "";
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.64);
}

/* hero content media image */
.hero-content__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hero content media video */
.hero-content__video {
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/* hero content area */
.hero-content__area {
  position: relative;
}

/*  hero panel
------------------------------------------ */
.hero-panel {
  left: 0;
  bottom: 0;
  width: 100%;
  position: absolute;
}

/* hero panel column */
.hero-panel [class*="col-"] {
  padding-top: 0;
  padding-bottom: 0;
}

/* hero panel slider */
#hero-panel__slider {
  border-radius: 4px;
  backdrop-filter: blur(16px);
  height: var(--hero-panel-height);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-black-trans);
}

#hero-panel__slider .swiper-wrapper > .swiper-slide {
  display: flex;
  padding: 16px 32px;
  align-items: center;
}

#hero-panel__slider .swiper-wrapper > .swiper-slide:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

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

/*  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-black-light);
  transition: transform 0.16s ease-out;
}

.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;
  height: calc(var(--tophead-height) + var(--midhead-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:hover {
  opacity: 1;
}

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

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

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

/*  tab content
----------------------------------------- */
.tab-content {
  overflow: hidden;
  position: relative;
  animation: fadeEffect 0.16s;
  -webkit-animation: fadeEffect 0.16s;
}

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

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*  tab navigation
------------------------------------------ */
.tab-navigation {
  display: flex;
}

/*  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 link */
.editor a {
  text-decoration: underline;
  color: var(--color-green);
}

/* editor iframe */
.editor iframe,
.editor img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  height: 100%;
  width: 100%;

  line-height: 0;
  border-radius: 4px;
}

/* editor bold */
.editor strong,
.editor b {
  font-weight: 600;
}

/*  component: language switcher
----------------------------------------------------------------------------------------- */
:root {
  --language-switcher-icon: url("https://api.iconify.design/cil/language.svg")
    no-repeat center / contain;
}

.wpm-language-switcher {
  gap: 8px;
  display: flex;
  padding: 8px 0;
  font-weight: 500;
  position: relative;
  align-items: center;
}

.wpm-language-switcher::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: var(--color-white);

  -webkit-mask: var(--language-switcher-icon);
  mask: var(--language-switcher-icon);
}

.site-header--onscroll .wpm-language-switcher::before {
  background: var(--color-black);
}

/* wpm language dropdown */
.wpm-language-dropdown {
  flex-direction: column;
  min-width: max-content;
  display: flex !important;

  left: 50%;
  position: absolute;
  top: calc(100% + 8px) !important;
  transform: translateX(-50%);

  opacity: 0;
  visibility: hidden;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  transition: opacity 0.16s ease-in-out, visibility 0.16s ease-in-out;

  padding: 24px !important;
  border-radius: 4px;
  background: var(--color-white);
}

.wpm-language-switcher:hover .wpm-language-dropdown {
  opacity: 1;
  visibility: visible;
}

/*  component: modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
  border-radius: 4px !important;
}

/*  component: price
----------------------------------------------------------------------------------------- */

/*  price list
------------------------------------------ */
.price-list {
  display: flex;
  padding: 32px 0;
  border-radius: 4px;
  flex-direction: column;
  background: var(--color-accent-trans);
}

.price-list > * {
  padding: 16px 0;
}

.price-list > *:first-child {
  padding-top: 0;
}

.price-list > *:last-child {
  padding-bottom: 0;
}

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

/*  price item
------------------------------------------ */
.price-item {
  gap: 16px 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

/* price item label */
.price-item__label, p.price-item__value {
  font-weight: 600;
	padding: 0 20px;
}

.price-list > *:nth-child(2n) {
    background: #fbfbfb;
}


/* price item value */
.price-item__value {
  font-weight: 600;
  min-width: max-content;
  color: var(--color-accent);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 576px) {
  /* price item */
  .price-item {
    flex-direction: column;
  }
}

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

/*  label
------------------------------------------ */
label {
  gap: 8px;
  display: flex;
  font-weight: 600;
  align-items: baseline;
}

/*  fieldset
------------------------------------------ */
fieldset {
  margin: 0;
  height: 100%;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid var(--color-black-trans);
}

/* legend */
legend {
  font-weight: 600;
  padding: 0 16px;
}

/*  field
------------------------------------------ */
input,
textarea {
  width: 100%;
  border: none;
  padding: 0 16px;
  font-size: inherit;
  font-family: inherit;
  background: transparent;
  color: inherit !important;
}

textarea {
  height: 100%;
  max-height: 128px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: transparent;
}

input[type="submit"] {
  max-width: max-content;
  color: var(--color-white) !important;
}

/*  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: 0px;
  border-width: 2px;
  margin: 0 !important;
  padding: 16px !important;
}

/* --------------------------------------------------------------------------------------
 *
 *  New
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
section {
  gap: 32px 0;
  display: flex;
  flex-direction: column;

  overflow: hidden;
  position: relative;
  padding: var(--default-gap) 0;
}

/*  section: flowaround
----------------------------------------------------------------------------------------- */
section.flowaround {
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-accent);
}

section.flowaround--unhide {
  overflow: unset;
}

@media (min-width: 1440px) {
  section.flowaround {
    border-radius: 4px;
    margin: 0 var(--default-gap);
  }
}

/* flowaround__image */
.flowaround__image {
  bottom: 0;
  right: 16%;
  width: max-content;
  position: absolute;
  height: calc(100% + 32px);
}

@media (max-width: 1440px) {
  .flowaround__image {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  New
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion-group {
  gap: 32px;
  display: flex;
  flex-direction: column;
}

/*  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;
  font-size: var(--font-size-md);

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

.accordion-button::after {
  top: 16px;
  right: 16px;
  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: 32px 16px 0 16px;
}

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

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

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

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

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

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

/*  button
------------------------------------------ */
.button,
input[type="button"] {
  gap: 8px;
  display: flex;
  outline: none;
  cursor: pointer;

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

  font-weight: 600;
  font-size: inherit;
  font-family: inherit;

  border-radius: 4px;
  justify-content: center;
  text-transform: uppercase;
  color: var(--color-white);

  height: var(--button-height);
  transition: ease-in-out 0.16s;
  border: 1px solid transparent;
  background: var(--color-accent);
}

/* button outline */
.button--outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

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

/* button--link */
.button--link {
  padding: 0;
  height: unset;
  text-align: left;
  width: max-content;
  background: transparent;
  justify-content: flex-start;

  font-weight: 400;
  text-transform: unset;
  color: var(--color-accent);
  text-decoration: underline;
}

/* button round / button square */
.button--round,
.button--square {
  padding: 0;
  font-size: 20px;
  width: var(--button-height);
  height: var(--button-height);
  min-width: var(--button-height);
  min-height: var(--button-height);
}

.button--square {
  border-radius: 4px;
}

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

/* button large */
.button--lg {
  --button-height: 64px;
  font-size: 24px;
}

/* button small */
.button--sm {
  --button-height: 32px;
  font-size: 14px;
}

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

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

/*  component: flexgrid
----------------------------------------------------------------------------------------- */
.flexgrid-sidebar {
  padding: var(--default-gap) 32px;
  background: var(--color-gray-light);
}

.flexgrid-content {
  padding: var(--default-gap) 0;
}

@media (max-width: 992px) {
  .flexgrid-layout {
    flex-direction: column-reverse !important;
  }
  .flexgrid-sidebar {
    display: none !important;
  }
}

/*  component: card
----------------------------------------------------------------------------------------- */
.card,
.card__panel {
  display: flex;
  flex-direction: column;
}

.card {
  gap: 16px 32px;
}

.card--inline {
  flex-direction: row;
  align-items: center;
}

/* card panel */
.card__panel {
  gap: 8px 16px;
}

/* card icon */
.card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* card title */
.card__title {
  display: flex;
  font-weight: 600;
  transition: ease-in-out 0.16s;
  font-size: var(--font-size-md);
}

.card__title--lg {
  font-size: var(--font-size-lg);
}

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

  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 8;

  display: block;
  overflow: hidden;
  position: relative;

  border-radius: 4px;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  background: var(--color-accent-trans);
}

/* 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%;
  max-width: var(--thumbnail-size);
  max-height: var(--thumbnail-size);

  aspect-ratio: 1 / 1;
}

/* thumbnail stretch */
.thumbnail--stretch {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

/* thumbnail overlay */
.thumbnail--overlay {
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.16) 50%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

/* thumbnail contain */
.thumbnail--contain {
  padding: 0;
  height: unset;
  aspect-ratio: unset;
}

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

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

a.thumbnail:hover .thumbnail__media {
  transform: scale(1.08);
}

/*  thumbnail panel
----------------------------------------- */
.thumbnail__panel {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;

  /*  */
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/*  thumbnail title
----------------------------------------- */
.thumbnail__title {
  display: flex;
  font-weight: 600;
  transition: ease-in-out 0.16s;
  font-size: var(--font-size-md);
}

/*  component: swiper
----------------------------------------------------------------------------------------- */
.swiper--endless {
  padding: 0 var(--col-gap) !important;
}

@media (min-width: 1440px) {
  .swiper--endless {
    padding: 0 var(--default-gap) !important;
  }
}

/* swiper pagination */
.swiper-pagination {
  position: unset !important;
  text-align: unset !important;

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

/* swiper pagination bullet */
.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
}

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

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

.separator--white {
  border-bottom-color: var(--color-white-trans);
}

/* separator top / bottom */
.separator--top,
.separator--bottom {
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.separator--top {
  top: 0;
}

.separator--bottom {
  bottom: 0;
}

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

.headline--center {
  text-align: center;
  align-items: center;
}

/* headline label */
.headline__label {
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* headline title */
.headline__title {
  font-weight: 600;

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

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

/* headline textarea */
.headline__textarea {
  font-size: var(--font-size-md);
}

/* headline group */
.headline-group {
  gap: 32px var(--default-gap);

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

.widget--card {
  padding: 32px;
  border-radius: 4px;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0px 8px 48px rgba(29, 29, 29, 0.16);
}

/* widget title */
.widget__title {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

/*  component: contact
----------------------------------------------------------------------------------------- */

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

/* contact label */
.contact-label {
  font-weight: 600;
}

/*  */
#contact-map {
  min-height: 512px;
}

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

/* contact group inline */
.contact-group--inline {
  gap: 0 8px;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

/*  component: banner
----------------------------------------------------------------------------------------- */
#banner-slider .swiper-slide {
  padding: var(--default-gap);
  background: var(--color-gray-light);
  border: 1px solid var(--color-black-trans);
}

#banner-slider .swiper-slide:nth-child(1) {
  color: var(--color-white);
  background: var(--color-accent);
}
