/*!
Theme Name: Birdie Numnum
Description: Birdie Numnum teema 2025
Author: Jani Paasonen, Design On Demand
Text Domain: birdie
Version: 0.1
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* 
    Colors
*/
:root {
  --color-base: #0a1414;
  --color-primary: #f3e9dc;
  --color-secondary: #fa3c32;
  --color-grey: #5c625e;
}

/* 
    Breakpoints, sass
*/
/* 
    Sizes    
*/
:root {
  /* Setup */
  --font-size-pixels: 16;
  --font-size-base: 0.9rem;
  --base-line-height: 1.3;
  --font-size-xxl: 3.2rem;
  --font-size-xl: 2.4rem;
  --font-size-l: 1.181rem;
  --font-size-s: 0.85rem;
  --margin: 1rem;
}

@font-face {
  font-family: "smack_stdregular";
  src: url("fonts/smack_std_regular-webfont.woff2") format("woff2"), url("fonts/smack_std_regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/*
    GLOBAL
*/
* {
  box-sizing: border-box;
}

html {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--font-size-base);
  line-height: var(--base-line-height);
  scroll-behavior: smooth;
}
@media (max-width: 39rem) {
  html.overflow {
    overflow: hidden;
    -webkit-overflow-scrolling: auto; /* Stops scrolling immediately */
  }
}

body {
  background: var(--color-primary);
  color: var(--color-base);
  min-height: 100%;
  -webkit-text-size-adjust: none;
}

img, figure, video {
  height: auto;
  max-width: 100%;
  margin-bottom: var(--margin);
}

figure img {
  margin-bottom: 0;
  vertical-align: bottom;
}
figure figcaption {
  display: flex !important;
  align-items: center;
  text-align: left;
  line-height: 1.2;
  margin-top: 0.7rem;
  font-style: italic;
}
@media (max-width: 39rem) {
  figure figcaption {
    font-size: 0.9rem;
  }
}

/*
    TYPO
*/
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

strong, b {
  font-weight: bold;
}

em, i {
  font-style: italic;
}

u {
  text-decoration: none;
  border-bottom: 3px solid currentColor;
  display: inline-block;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 56rem) {
  ul li, ol li {
    margin-bottom: 0;
  }
}

.tac ul {
  list-style-position: inside;
}

small {
  font-size: 0.85rem;
  line-height: 1;
}

/*
    HEADINGS
*/
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0;
  font-weight: bold;
  line-height: var(--line-height-s);
}

h1, .h1 {
  text-transform: uppercase;
  font-weight: normal;
  font-size: var(--font-size-xxl);
  margin-bottom: 1.6rem;
  color: var(--color-base);
}
@media (max-width: 78rem) {
  h1, .h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 39rem) {
  h1, .h1 {
    font-size: 1.6rem;
  }
}

.font2 {
  font-family: "smack_stdregular";
  text-transform: uppercase;
  font-size: var(--font-size-xxl);
  line-height: 2;
  margin-bottom: var(--margin);
  color: var(--color-primary);
  scroll-margin-top: 6rem;
}
@media (max-width: 48rem) {
  .font2 {
    font-size: 1.6rem;
  }
}

h3, .h3, h2, .h2 {
  text-transform: uppercase;
  font-size: var(--font-size-l);
  margin-bottom: 1rem;
}
@media (max-width: 48rem) {
  h3, .h3, h2, .h2 {
    font-size: 1.1rem;
  }
}

h4, .h4, .h3-h4-h h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

/*
    HELPERS
*/
.tac {
  text-align: center;
}

.tal {
  text-align: left;
}

.tar {
  text-align: right;
}
@media (max-width: 48rem) {
  .tar {
    text-align: left;
  }
}

.margin-top {
  margin-top: 4rem;
}
@media (max-width: 48rem) {
  .margin-top {
    margin-top: 2rem;
  }
}

.margin-bottom {
  margin-bottom: 4rem;
}
@media (max-width: 48rem) {
  .margin-bottom {
    margin-bottom: 2rem;
  }
}

.no-pt {
  padding-top: 0 !important;
}

.no-pb {
  padding-bottom: 0 !important;
}

.no-mb {
  margin-bottom: 0 !important;
}

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

.caption, .wp-block-gallery .blocks-gallery-item, .wp-caption-text {
  font-size: 0.8rem;
}

.show-on-mobile {
  display: none;
}
@media (max-width: 26rem) {
  .show-on-mobile {
    display: block;
  }
}

@media (max-width: 39rem) {
  .hide-on-mobile {
    display: none;
  }
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.alignfull .col > *:last-of-type {
  margin-bottom: 0;
}

.alignmedium {
  width: 130%;
  max-width: 100vw;
  margin-left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.alignmedium figcaption {
  padding: 0 1rem;
}

.hide {
  display: none !important;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.bg-primary {
  background-color: var(--color-primary);
  color: white;
}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary .h1, .bg-primary .h2, .bg-primary .h3 {
  color: white;
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.border-top {
  border-top: 1px solid var(--color-primary);
}

.text-small {
  font-size: var(--font-size-s);
  font-weight: 500;
}

.mt {
  margin-top: 5rem;
}

.br-1 {
  border-radius: 1rem;
}
.br-1 img {
  border-radius: 1rem;
}

.border-right {
  border-right: 1px solid var(--color-base);
}
@media (max-width: 48rem) {
  .border-right {
    border-right: none;
  }
}

@media (max-width: 30rem) {
  .hide-on-mobile {
    display: none;
  }
}

.tt {
  text-transform: uppercase;
  font-weight: 500 !important;
}

/*
    TABLE
*/
table {
  border: 0;
  border-collapse: collapse;
  width: 100%;
  line-height: 1.5;
}
table tr {
  border: 0;
}
table td, table th {
  text-align: left;
  padding: 0.4rem 0 !important;
  vertical-align: top;
  border: 0 !important;
}
@media (max-width: 48rem) {
  table td, table th {
    padding: 0.7rem;
  }
}
table td:nth-child(2) {
  min-width: 70px;
  padding-left: 1rem !important;
  padding-right: 2rem !important;
  text-align: right;
}
table a {
  text-decoration: underline;
}
table .column-title {
  display: none;
}
.wp-block-column:last-child table {
  border-right: none !important;
}

/*
  WRAPPERS
*/
.section-container {
  width: 100%;
  padding: 4rem 2rem;
  margin: 0 auto;
  max-width: calc(1200px + 2rem);
}
.section-container > * {
  margin-top: 0;
}
@media (max-width: 39rem) {
  .section-container {
    padding: 2rem 1rem;
  }
}

.section-container-narrow {
  max-width: calc(900px + 2rem);
}

/*
  COLUMNS
*/
.grid {
  display: grid;
}

.grid-1-2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 48rem) {
  .grid-1-2 {
    grid-template-columns: 1fr;
  }
}

.cols {
  display: grid;
}

.cols-1-1 {
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 3rem;
}
@media (max-width: 48rem) {
  .cols-1-1 {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }
}

@media (max-width: 56rem) {
  .us-grid {
    gap: 2rem !important;
  }
}
@media (max-width: 39rem) {
  .us-grid {
    grid-template-columns: 1fr !important;
  }
}

/*
  HEADER
*/
.site-header {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}
.home .site-header {
  justify-content: center;
  min-height: 100vh;
}
@media (max-width: 39rem) {
  .home .site-header {
    min-height: 90vh;
  }
}

.site-logo {
  max-width: 400px;
  width: 80%;
  z-index: 2;
}
.home .site-logo {
  max-width: 900px;
}

.site-logo-wrapper {
  text-align: center;
}

.site-header-bottom {
  margin-top: auto;
  text-align: center;
  padding-bottom: 4rem;
}

/*
  Hero
*/
.hero-wrapper {
  text-align: center;
  position: relative;
}

.site-logo-birdie {
  position: absolute;
  top: -50%;
  right: 28%;
  z-index: 1;
  width: 22%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

/*
  NAVIGATION
*/
.site-nav {
  margin: 0 auto;
  margin-bottom: 4rem;
  width: 100%;
  padding: 1rem 3rem;
}
.site-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 40rem) {
  .site-nav ul {
    justify-content: center;
  }
}
.site-nav li {
  list-style: none;
}
.site-nav a {
  margin: 0.2rem;
  padding: 0.4rem 1rem;
  display: block;
  color: var(--color-base);
}
@media (max-width: 30rem) {
  .site-nav a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
.site-nav a:hover {
  text-decoration: none;
  -webkit-transform: translateY(-0.2rem);
          transform: translateY(-0.2rem);
}
@media (max-width: 30rem) {
  .site-nav {
    padding-left: 0;
    padding-right: 0;
  }
}
.site-nav .btn {
  margin-top: 0;
  border: 0;
  padding: 0;
}
.site-nav .btn a {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--color-base);
}
.home .site-nav {
  margin-bottom: auto;
}

/*
  Mobile nav
*/
.mobile-site-nav {
  background-color: #f5f6f0;
  visibility: hidden;
  padding: 6rem 3rem 2rem 3rem;
  width: 100%;
  transition: 0.2s all cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  z-index: 19;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
}
.mobile-site-nav.opened {
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
  transition: 1s;
  visibility: visible;
  transition: 0.4s all cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-site-nav > ul {
  text-align: center;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
}
.mobile-site-nav li {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}
.mobile-site-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 0.4rem 0;
  display: inline-block;
  text-decoration: none;
}
.mobile-site-nav .current-menu-item a {
  color: var(--color-primary);
}
.mobile-site-nav .top-nav {
  justify-content: center;
}
.mobile-site-nav .top-nav a {
  font-size: 0.75rem;
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  font-weight: 400;
}
.mobile-site-nav .top-nav a::after {
  right: -0.4rem;
}
.mobile-site-nav .site-header-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.mobile-site-nav .site-header-links a {
  display: flex;
  padding: 0.6rem 0.4rem;
  padding-left: 0.7rem;
}
.mobile-site-nav .site-header-links a:last-child {
  padding-left: 0.6rem;
  padding-right: 0.8rem;
}
@media (min-width: 30rem) {
  .mobile-site-nav {
    display: none;
  }
}

.lang-item {
  text-transform: uppercase;
}

/*
  Footer
*/
.site-footer img {
  width: 100%;
  margin-bottom: 0;
  vertical-align: bottom;
}

/*
  BTN
*/
.btn,
.wp-block-button__link,
input[type=submit] {
  padding: 0.7rem 1.2rem;
  border-radius: 0;
  width: auto;
  font-weight: normal;
  border: 1px solid var(--color-base);
  background-color: transparent;
  color: var(--color-base);
  margin-top: var(--margin);
}
.btn:hover,
.wp-block-button__link:hover,
input[type=submit]:hover {
  text-decoration: none;
  -webkit-transform: translateY(-0.2rem);
          transform: translateY(-0.2rem);
}

.btn-primary, .has-primary-background-color {
  border-color: var(--color-primary);
  color: white;
  background-color: var(--color-primary);
}
.btn-primary:hover, .btn-primary:focus, .has-primary-background-color:hover, .has-primary-background-color:focus {
  border-color: var(--color-base);
  background-color: var(--color-base);
}

.btn-dark-primary, .has-dark-primary-background-color {
  border-color: var(--color-primary);
  color: white;
  background-color: var(--color-primary);
}

.is-style-outline .wp-block-button__link, .btn-border {
  background-color: white;
  border: 1px solid var(--color-primary) !important;
  padding: 0.8rem 1.5rem !important;
  color: var(--color-primary) !important;
}
.is-style-outline .wp-block-button__link:hover, .is-style-outline .wp-block-button__link:focus, .btn-border:hover, .btn-border:focus {
  background-color: var(--color-base) !important;
  color: white !important;
}

.btn-link {
  display: inline-flex;
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
  text-decoration: none !important;
  background-color: var(--color-base);
  color: white;
  text-transform: uppercase;
  font-weight: 300;
  padding: 0.9rem 1rem 0.8rem 1.5rem;
  border-radius: 2rem;
  position: relative;
  padding-right: 3.8rem;
}
.btn-link::after {
  content: ">";
  width: 2.8rem;
  font-size: 1rem;
  text-align: center;
  background-color: var(--color-secondary);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
.btn-link.btn-text-small {
  font-size: var(--font-size-s);
}
.btn-link.btn-color-primary .btn-link-text {
  background-color: var(--color-primary);
}
.btn-link:hover, .btn-link:focus {
  background-color: var(--color-primary);
}

/* 
  HAMBURGER FOR MOBILE
*/
.c-hamburger {
  z-index: 1001;
  margin: 0.2rem;
  background: var(--color-primary);
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 1.5rem;
  padding: 0.8rem;
  position: relative;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
@media (max-width: 30rem) {
  .c-hamburger {
    display: inline-block !important;
  }
}
@media (max-width: 39rem) {
  .c-hamburger {
    width: 2.3rem;
    height: 2.3rem;
  }
}

.c-hamburger span {
  display: block;
  position: relative;
  right: 0;
  height: 2px;
  background: white;
  width: 100%;
}

.c-hamburger.opened span {
  background: black;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  content: "";
}

.c-hamburger.opened span::before,
.c-hamburger.opened span::after {
  background-color: white;
}

.c-hamburger span::before {
  top: -0.4rem;
}

.c-hamburger span::after {
  bottom: -0.4rem;
}

.c-hamburger--htx span {
  transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, -webkit-transform;
  transition-property: top, transform;
  transition-property: top, transform, -webkit-transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, -webkit-transform;
  transition-property: bottom, transform;
  transition-property: bottom, transform, -webkit-transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.opened span {
  background: none;
}

.c-hamburger--htx.opened span::before {
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.c-hamburger--htx.opened span::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.c-hamburger--htx.opened span::before,
.c-hamburger--htx.opened span::after {
  transition-delay: 0s, 0.3s;
}

.mobile-nav-link {
  display: none;
  position: fixed;
  z-index: 1000;
  right: 1.2em;
  top: 0.2em;
  line-height: 16px;
}
@media (max-width: 30rem) {
  .mobile-nav-link {
    display: block;
  }
}

/*
  Social media links
*/
.social-links {
  text-align: center;
  margin-top: 4rem;
}
@media (max-width: 48rem) {
  .social-links {
    text-align: left;
    margin-top: 2rem;
  }
}

.social-media-links {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 0;
  font-size: 0.7rem;
  margin-bottom: 5rem;
}
.social-media-links li {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
}
.social-media-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-primary);
}
.social-media-links a:hover {
  text-decoration: none;
  -webkit-transform: translateY(-0.2rem);
          transform: translateY(-0.2rem);
}
.social-media-links img {
  max-width: 4rem;
  margin-bottom: 0.2rem;
}
@media (max-width: 48rem) {
  .social-media-links {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

/*
  Popup
*/
.popup-content {
  position: relative;
  color: var(--color-base);
  font-size: 0.8rem;
}
.popup-content p {
  font-size: 1.1rem;
}
.popup-content img {
  margin-bottom: 0;
  width: 1.4rem;
}
.popup-content label {
  padding: 0.3rem 0;
  font-size: 1rem;
}
.popup-content input[type=text], .popup-content input[type=email], .popup-content input[type=tel], .popup-content textarea {
  border-radius: 0;
  border: 1px solid var(--color-base);
  background: transparent;
  padding: 0.8rem 1rem 0.8rem 1rem;
  width: 100%;
  color: var(--color-base);
  font-size: 1rem;
  margin-top: 0.3rem;
}
@media (max-width: 39rem) {
  .popup-content input[type=text], .popup-content input[type=email], .popup-content input[type=tel], .popup-content textarea {
    font-size: 1rem;
  }
}
.popup-content input[type=checkbox] {
  border: 1px solid white;
}
.popup-content input[type=checkbox]:focus {
  outline: 1px solid white;
}
.popup-content input[type=checkbox]:checked {
  background: url("images/icon-check-white.svg") no-repeat 10% 10%;
  background-size: contain;
}
.popup-content input[type=submit] {
  font-size: 1.2rem;
  padding: 0.8rem 1.6rem;
  width: auto;
  font-weight: normal;
  border: none;
  background-color: var(--color-base);
  color: var(--color-primary);
  margin-top: var(--margin);
}
.popup-content input[type=submit]:hover {
  -webkit-transform: translateY(-0.2rem);
          transform: translateY(-0.2rem);
}
.popup-content ::-webkit-input-placeholder {
  color: var(--color-primary);
  opacity: 0.7;
}
.popup-content ::-moz-placeholder {
  color: var(--color-primary);
  opacity: 0.7;
}
.popup-content ::placeholder {
  color: var(--color-primary);
  opacity: 0.7;
}

.form-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
.form-inputs > *:last-child {
  grid-column: 1/-1;
}
@media (max-width: 48rem) {
  .form-inputs {
    grid-template-columns: 1fr;
  }
}

.mfp-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  overflow: hidden auto;
  background-color: #f3e9dc;
}
@media (max-width: 39rem) {
  .mfp-wrap {
    top: 0;
  }
}

.mfp-container {
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.mfp-container::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  z-index: 1045;
  text-align: left;
  width: 100%;
}
.mfp-content h2 {
  color: var(--color-base);
}

.popup-content {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto 2rem;
  padding: 5rem 6rem;
  background: transparent url("images/menu-bg-2.svg") no-repeat center center;
  background-size: contain;
}
@media (max-width: 48rem) {
  .popup-content {
    padding: 6rem 3rem 3rem;
  }
}

.popup-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
  z-index: 2000;
}
.popup-close img {
  position: absolute;
  top: 0;
  margin-bottom: 0;
  vertical-align: bottom;
}
.popup-close:focus-visible {
  outline: 2px solid white;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 0 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
  max-width: 350px;
}
.alignright img {
  max-width: 100%;
  margin-left: 0;
}

.alignleft {
  float: left;
  margin: 3px 10px 7px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 30px 30px;
}

a img.alignnone {
  margin: 5px 0 30px 0;
}

a img.alignleft {
  float: left;
  margin: 3px 10px 7px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: var(--margin);
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  padding: 0;
  width: auto;
}

.wp-caption-text {
  font-size: 0.9em;
  line-height: 1.4;
}

.wp-block-gallery {
  margin-bottom: 2rem;
}
.wp-block-gallery img {
  margin-bottom: 0;
}

/* VIDEO BUG */
/*.mejs-inner,
.mejs-layers {
    height: 100%;
}*/
.wp-video {
  float: right;
  margin-bottom: 3em;
  margin-left: 2em;
}

.wp-video * {
  position: static;
  box-sizing: border-box;
}

/* Responsive videos */
.video-container {
  position: relative;
  padding-bottom: 56%;
  height: 0;
  overflow: hidden;
  margin-bottom: var(--margin);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.entry-content img,
.entry-content iframe,
.entry-content object,
.entry-content embed {
  max-width: 100%;
}

/*
    DEFAULT GALLERY
*/
.gallery img {
  border: none !important;
}
.gallery .gallery-item {
  padding: 3px;
}

/*
    WP MODS
*/
.blocks-gallery-item {
  margin-bottom: var(--margin) !important;
}

/* Add multi-line by line breaks to Gutenberg galleries. */
.blocks-gallery-item figcaption {
  white-space: pre-line;
}

/* Prevent the last image from growing to fill available space if there aren't three images in a row. */
.blocks-gallery-item {
  flex-grow: 0 !important;
  display: inline-block !important;
}

.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
  display: inline-block;
  height: auto;
  padding: 5px 0;
}

.wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
  position: relative;
  background: none;
  margin: 0;
  padding: 0;
  padding-right: 0.1rem;
  text-align: right;
}

@media (max-width: 26rem) {
  .wp-block-gallery .blocks-gallery-item {
    width: 100%;
    margin-right: 0;
  }
}

/*
    GUTENBERG
*/
.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.alignwide {
  display: block;
  margin-left: -100px;
  margin-right: -100px;
  text-align: center;
  margin-bottom: var(--margin);
}
.alignwide img {
  max-width: none;
  width: calc(100% + 200px) !important;
  vertical-align: bottom;
}
.alignwide figcaption {
  margin-top: 0;
}
@media (max-width: rem(986)) {
  .alignwide {
    margin-left: 0;
    margin-right: 0;
  }
  .alignwide img {
    width: 100% !important;
  }
}
@media (max-width: 39rem) {
  .alignwide {
    text-align: left;
  }
}

.wp-block-separator {
  margin: 4rem 0;
}

.pswp__button--fullscreen-button, .pswp__button--zoom {
  display: none !important;
}

/*
  Flickity
*/
.carousel.is-fullscreen .carousel-cell {
  height: 100% !important;
}

.flickity-page-dots {
  bottom: 2rem !important;
}

.flickity-page-dots .dot {
  background: #cbbba0 !important;
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
}

.flickity-page-dots .dot.is-selected {
  background: var(--color-primary) !important;
}

/*
* PLUGINS
*/
/*
    Gutenberg
*/
@media (max-width: 48rem) {
  :where(.wp-block-group.has-background) {
    padding: 1rem 1rem;
  }
}

@media (max-width: 78rem) {
  .info-box {
    padding: 2.5rem !important;
  }
}
@media (max-width: 48rem) {
  .info-box {
    padding: 2rem !important;
  }
}

/*
    GDPR Cookie banner styles
*/
#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom_left:not(.gdpr-full-screen-infobar).moove-gdpr-dark-scheme, #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom_left:not(.gdpr-full-screen-infobar).moove-gdpr-light-scheme, #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom_right:not(.gdpr-full-screen-infobar).moove-gdpr-dark-scheme, #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom_right:not(.gdpr-full-screen-infobar).moove-gdpr-light-scheme {
  border: none !important;
}

/*
    FORMS
*/
