/*!
Theme Name: Monarich
Theme URI:
Author:
Author URI:
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: monarich
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

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

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy/Gilroy-Regular.eot");
  src: local("Gilroy Regular"), local("assets/fonts/Gilroy/Gilroy-Regular"),
    url("assets/fonts/Gilroy/Gilroy-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("assets/fonts/Gilroy/Gilroy-Regular.woff") format("woff"),
    url("assets/fonts/Gilroy/Gilroy-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy/Gilroy-RegularItalic.eot");
  src: local("Gilroy Regular Italic"),
    local("assets/fonts/Gilroy/Gilroy-RegularItalic"),
    url("assets/fonts/Gilroy/Gilroy-RegularItalic.eot?#iefix")
      format("embedded-opentype"),
    url("assets/fonts/Gilroy/Gilroy-RegularItalic.woff") format("woff"),
    url("assets/fonts/Gilroy/Gilroy-RegularItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy/Gilroy-Medium.eot");
  src: local("Gilroy Medium"), local("assets/fonts/Gilroy/Gilroy-Medium"),
    url("assets/fonts/Gilroy/Gilroy-Medium.eot?#iefix")
      format("embedded-opentype"),
    url("assets/fonts/Gilroy/Gilroy-Medium.woff") format("woff"),
    url("assets/fonts/Gilroy/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy/Gilroy-MediumItalic.eot");
  src: local("Gilroy Medium Italic"),
    local("assets/fonts/Gilroy/Gilroy-MediumItalic"),
    url("assets/fonts/Gilroy/Gilroy-MediumItalic.eot?#iefix")
      format("embedded-opentype"),
    url("assets/fonts/Gilroy/Gilroy-MediumItalic.woff") format("woff"),
    url("assets/fonts/Gilroy/Gilroy-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

:root {
  /* font */
  /* --font-serif: "Prata", serif; */
  --font-sans-serif: "Gilroy", sans-serif;
  --font-serif: "Cormorant Garamond", serif;

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

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

  --color-accent: rgb(129, 180, 191);
  --color-accent-trans: rgba(129, 180, 191, 0.08);

  --color-brown: #624118;
  --color-brown-light: #cbc0b2;
  --color-brown-trans: rgba(98, 65, 24, 0.04);

  --color-gray: #878787;
  --color-gray-dark: #474747;
  --color-gray-light: #f8f8f8;
}

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

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

  /* style */
  color: var(--color-gray-dark);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* body */
  body {
    font-size: 14px;
  }
}

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

  /* row gap 992 */
  .gap-992 {
    gap: 32px;
  }
  .gap-992 > [class*="col-"] {
    max-width: calc(50% - 16px);
  }
}

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

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

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

:root {
  /* heading */
  --font-size-h1: 48px;
  --font-size-h2: 32px;
  --font-size-h3: 28px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1;
  margin: 0 !important;
  color: var(--color-black);
  font-family: var(--font-serif);
}

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

h2 {
  font-size: var(--font-size-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: 1.56;
}

ul,
ol,
dl {
  line-height: 1.56;
  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-brown-trans);
  border-left: 2px solid var(--color-brown);
}

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

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

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

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

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

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  :root {
    /* heading */
    --font-size-h1: 36px;
    --font-size-h2: 32px;
    --font-size-h3: 28px;
    --font-size-h4: 24px;
    --font-size-h5: 20px;
    --font-size-h6: 16px;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  site layout
 *
 *  ——
 *  ——
 *  ——
 *
----------------------------------------------------------------------------------------- */
:root {
  /* column */
  --column-padding: 16px;

  /* container */
  --container-width: 1280px;
}

/*  site layout: container
------------------------------------------ */
.container,
.container-short {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--column-padding);
  max-width: var(--container-width);
}

/* container short */
.container-short {
  max-width: 992px;
}

/*  site layout: row
------------------------------------------ */
.row {
  box-sizing: border-box;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex: 0 1 auto;
  -webkit-box-flex: 0;
  flex: 0 1 auto;
  -ms-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/*  site layout: column
------------------------------------------ */
.row-grid {
  padding: var(--column-padding);
}

.row-grid > * {
  padding: 0 !important;
  border-right: 1px solid var(--color-black-trans);
}

.row-grid > * [class*="col-"]:nth-child(3n) {
  border-right: 0;
}

/*  site layout: column
------------------------------------------ */
[class*="col-"] {
  box-sizing: border-box;
  -ms-flex: 0 0 auto;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
  max-width: 100%;
  padding: var(--column-padding);

  /* column gap */
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.col-xs {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  -webkit-box-flex: 1;
  flex-grow: 1;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  max-width: 100%;
}

.col-xs-1 {
  -ms-flex-preferred-size: 8.333%;
  flex-basis: 8.333%;
  max-width: 8.333%;
}

.col-xs-2 {
  -ms-flex-preferred-size: 16.667%;
  flex-basis: 16.667%;
  max-width: 16.667%;
}

.col-xs-3 {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;
  max-width: 25%;
}

.col-xs-4 {
  -ms-flex-preferred-size: 33.333%;
  flex-basis: 33.333%;
  max-width: 33.333%;
}

.col-xs-5 {
  -ms-flex-preferred-size: 41.667%;
  flex-basis: 41.667%;
  max-width: 41.667%;
}

.col-xs-6 {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  max-width: 50%;
}

.col-xs-7 {
  -ms-flex-preferred-size: 58.333%;
  flex-basis: 58.333%;
  max-width: 58.333%;
}

.col-xs-8 {
  -ms-flex-preferred-size: 66.667%;
  flex-basis: 66.667%;
  max-width: 66.667%;
}

.col-xs-9 {
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
  max-width: 75%;
}

.col-xs-10 {
  -ms-flex-preferred-size: 83.333%;
  flex-basis: 83.333%;
  max-width: 83.333%;
}

.col-xs-11 {
  -ms-flex-preferred-size: 91.667%;
  flex-basis: 91.667%;
  max-width: 91.667%;
}

.col-xs-12 {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  max-width: 100%;
}

@media only screen and (min-width: 576px) {
  .col-sm {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-sm-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-sm-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-sm-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-sm-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-sm-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-sm-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-sm-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-sm-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-sm-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-sm-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-sm-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-sm-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .col-md {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-md-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-md-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-md-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-md-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-md-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-md-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-md-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-md-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-md-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-md-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-md-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-md-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width: 1280px) {
  .col-lg {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-lg-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-lg-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-lg-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-lg-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-lg-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-lg-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-lg-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-lg-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-lg-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
----------------------------------------------------------------------------------------- */

:root {
  /* site header: masthead */
  --masthead-height: 160px;
}

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

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

/* masthead */
.masthead {
  height: var(--masthead-height);
}

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

/*  masthead navigation
------------------------------------------ */

/* masthead menu */
.masthead-navigation .menu {
  gap: 32px;
  display: flex;
}

/* masthead navigation menu item */
.masthead-navigation .menu-item {
  /* root */
  --menu-item-height: 48px;

  /* style */
  gap: 0px;
  height: var(--menu-item-height);
  display: flex;
  cursor: pointer;
  position: relative;
  align-items: center;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
}

.masthead-navigation .menu-item > a {
  font-weight: 500;
  transition: ease-in-out 0.16s;
}

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

.masthead-navigation .menu-item-has-children::after {
  left: 0;
  bottom: 0;
  width: 32%;
  content: "";
  display: block;
  position: absolute;
  transition: ease-in-out 0.16s;
  border-bottom: 1px solid var(--color-black-trans);
}

.masthead-navigation .menu-item-has-children:hover::after {
  width: 100%;
}

/* masthead navigation sub menu */
.masthead-navigation .sub-menu {
  gap: 8px;
  left: 0;
  padding: 24px;
  display: none;
  min-width: 256px;
  position: absolute;
  flex-direction: column;
  background: var(--color-white);
  color: var(--color-black) !important;
  top: calc(var(--menu-item-height) - 2px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.04);
}

.masthead-navigation .sub-menu .menu-item {
  height: unset;
}

/* masthead navigation sub menu first level */
.masthead-navigation .menu > *:hover > .sub-menu {
  display: flex;
}

/* masthead navigation sub menu second level */
.masthead-navigation .menu > * > * > *:hover > .sub-menu {
  top: 0;
  left: 100%;
  display: flex;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 576px) {
  :root {
    /* site header: masthead */
    --masthead-height: 112px;
  }
  .site-header {
    top: 0 !important;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.site-footer {
  color: var(--color-white);
  padding: var(--section-padding) 0;
  background: var(--color-black-light);
}

/*  colophon panel
------------------------------------------ */
.colophon-panel {
  display: flex;
  min-width: max-content;
  gap: var(--section-padding);
}

/* colophon panel separator */
.colophon-separator {
  border-color: var(--color-white-trans);
  margin: calc(var(--section-padding) / 2) 0;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  /* colophon panel */
  .colophon-panel {
    flex-wrap: wrap;
    min-width: unset;
  }
}

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

:root {
  /* section */
  --section-padding: 80px;
}

section {
  padding: var(--section-padding) 0;
}

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

@media only screen and (min-width: 1640px) {
  .section-feed > *:nth-child(even) {
    padding: 0;
  }
}

/*  section: announce
----------------------------------------------------------------------------------------- */
section.announce {
  padding: 0;
  display: flex;
  min-height: 520px;
  position: relative;
  flex-direction: column;
  justify-content: center;
}

/* announce left */
.announce-left .announce-media {
  left: 0;
}

.announce-left .row {
  justify-content: flex-end;
}

/* announce right */
.announce-right .announce-media {
  right: 0;
}

/*  announce content
------------------------------------------ */
.announce-content {
  z-index: 1;
  position: relative;
  padding: var(--section-padding) 0;
}

/*  announce thumbnail
------------------------------------------ */
.announce-media {
  top: 0;
  z-index: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  background: var(--color-black-trans);
}

/* announce media slider */
.announce-media__slider {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

/* announce media object */
.announce-media__object {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* section announce */
  section.announce {
    min-height: unset;
  }
  /* announce media */
  .announce-media {
    width: 100%;
    position: unset;
  }
}

/*  section: flowaround
----------------------------------------------------------------------------------------- */
.flowaround {
  max-width: 1640px;
  margin: var(--section-padding) auto;
  background: rgba(129, 180, 191, 1);
}

/* flowaround unstyle */
.flowaround-unstyle {
  background: transparent;
}

/* flowaround graylight */
.flowaround-light {
  background: var(--color-gray-light);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1640px) {
  .flowaround {
    margin: 0;
  }
}

/*  section: announce
----------------------------------------------------------------------------------------- */

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

/*  component: facetwp
----------------------------------------------------------------------------------------- */
.facetwp-facet {
  margin: 0 !important;
}

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

label {
  font-weight: 500;
}

input:not([type="submit"]),
select,
textarea {
  width: 100%;
  border: none;
  color: inherit;
  padding: 0 0 24px 0;
  background: transparent;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-brown);
}

/* textarea */
textarea {
  height: 88px;
}

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

/* input [type="submit"] */
input[type="submit"] {
  color: inherit;
  font-size: inherit;
  width: max-content;
}

/*  Form Layout
------------------------------------------ */
.form-field {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

/*  Contact Form 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 {
  font-size: 12px;
  border-width: 1px;
  border-radius: 16px;
  margin: 0 !important;
  padding: 16px !important;
}

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

/* widget title */
.widget-title {
  font-size: 18px;
  font-weight: 600;
}

/*  widget navigation
------------------------------------------ */

/* widget navigation / menu */
.widget-navigation .menu {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

/* widget navigation / sub menu */
.widget-navigation .sub-menu {
  display: none;
}

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion {
  position: relative;
}

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

.accordion-button::selection {
  background: transparent;
}

/*  accordion panel
------------------------------------------ */
.accordion-panel {
  display: none;
}

/*  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(--masthead-height) * 1);
}

/* 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: headline
----------------------------------------------------------------------------------------- */
.headline {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

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

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

/*  headline group
------------------------------------------ */
.headline-group {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

/*  headline label
------------------------------------------ */
.headline-label {
  letter-spacing: 2px;
}

/*  headline title
------------------------------------------ */
.headline-title {
  font-weight: 600;
  line-height: 1;
  color: var(--color-black);
  font-size: var(--font-size-h1);
  font-family: var(--font-serif);
}

/*  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: contact
----------------------------------------------------------------------------------------- */

/*  contact
------------------------------------------ */
.contact {
  display: flex;
  line-height: 1.56;
  flex-direction: column;
}

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

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

/* contact group inline */
.contact-group.inline {
  flex-direction: row;
}

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

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

.editor ul {
  list-style: square inside;
}

.editor ol {
  list-style: decimal inside;
}

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

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

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

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

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

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

/*  component: language switcher
----------------------------------------------------------------------------------------- */
.wpm-language-switcher {
  display: flex;
  align-items: center;
}

.wpm-language-switcher > *:not(:last-child)::after {
  content: "/";
  opacity: 0.08;
  margin: 0 16px;
  display: inline-block;
}

.switcher-list li.active a,
.switcher-list li.active > span {
  color: var(--color-accent) !important;
}

.switcher-list li a,
.switcher-list li > span {
  color: inherit !important;
}

/*  component: site branding
----------------------------------------------------------------------------------------- */
.site-branding {
  display: flex;
  align-items: center;
}

/* site logo */
.site-logo {
  max-height: 96px;
}

/* site logo inverse */
.site-logo.inverse {
  filter: brightness(0) invert(1);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 576px) {
  /* site logo */
  .site-logo {
    max-height: 64px;
  }
}

/*  component: social
----------------------------------------------------------------------------------------- */

/*  social
------------------------------------------ */
.social {
  display: block;
  transition: ease-in-out 0.16s;
}

.social:hover {
  opacity: 1;
  color: var(--color-accent);
}

/*  social group
------------------------------------------ */
.social-group {
  gap: 32px;
  display: flex;
}

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

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

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

/*  button
------------------------------------------ */
.button-group button,
.button {
  gap: 16px;
  border: none;
  display: flex;
  outline: none;
  cursor: pointer;
  min-width: 156px;
  font-weight: 500;
  padding: 0px 24px;
  text-align: center;
  align-items: center;
  background: transparent;
  justify-content: center;
  height: var(--button-height);
  transition: ease-in-out 0.16s;
  color: var(--color-brown) !important;
  border: 1px solid var(--color-brown);
}

.button-group button:not(.button-square, .button-round),
.button:not(.button-square, .button-round):before {
  content: "";
  width: 24px;
  display: block;
  transition: ease-in-out 0.16s;
  border-bottom: 1px solid var(--color-brown);
}

.button-group button:not(.button-square, .button-round):hover:before,
.button:not(.button-square, .button-round):hover:before {
  width: 32px;
}

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

/* button square */
.button-square {
  border-radius: 0px;
}

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

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

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

/*  swiper endless
----------------------------------------- */
.swiper-endless {
  padding: 16px 120px !important;
}

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

/*  reposnsive
----------------------------------------- */
@media only screen and (max-width: 992px) {
  /* swiper endless */
  .swiper-endless {
    padding: 16px 32px !important;
  }
}

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

/*  component: thumbnail
----------------------------------------------------------------------------------------- */
.thumbnail {
  gap: 8px;
  height: 280px;
  padding: 32px;
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: 0px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  background: var(--color-black-trans);
}

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

/* thumbnail image grayscale */
.thumbnail-image.grayscale {
  filter: grayscale(100%);
}

/* thumbnail image hover */
.thumbnail:hover .thumbnail-image {
  transform: scale(1.04);
}

/*  thumbnail square
------------------------------------------ */
.thumbnail-square {
  height: unset;
  padding: 100% 0 0 0;
}

/*  thumbnail round
------------------------------------------ */
.thumbnail-round {
  height: unset;
  padding: 100% 0 0 0;
  border-radius: 100%;
}

/*  thumbnail large
------------------------------------------ */
.thumbnail-large {
  height: 420px;
}

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

/*  card title
------------------------------------------ */
.card-panel {
  gap: 0px;
}

/* card panel center */
.card-panel.center {
  text-align: center;
  align-items: center;
}

/*  card title
------------------------------------------ */
.card-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  color: var(--color-black-light);
}

/*  card list
------------------------------------------ */
.card-list {
  display: flex;
  flex-direction: column;
}

/* card list item */
.card-list__item {
  padding: 16px 0;
  position: relative;
  transition: ease-in-out 0.32s;
  border-bottom: 1px solid var(--color-black-trans);
}

.card-list__item:hover {
  color: var(--color-accent);
}

.card-list__item::after {
  left: 0;
  bottom: 0;
  width: 32%;
  content: "";
  position: absolute;
  transition: ease-in-out 0.32s;
  border-bottom: 1px solid var(--color-accent);
}

.card-list__item:nth-child(even):after {
  width: 64%;
}
.card-list__item:hover::after {
  width: 100%;
}
