/*
Theme Name: ZYN Suites
Author: SU—F Studio
Description: Custom Theme for ZYN Suites
Version: 0.0.1
Tags: custom, su-f, souncalledfor, sufsufstudio, design studio, design, studio, zyn, suites, essaouira
*/

/* TYPE */

@font-face {
    font-family: Eros;
    src:    url('fonts/eros-regular.otf') format('opentype');
    font-weight:300;
    font-style: normal;
}

@font-face {
    font-family: Rauschen;
    src:    url('fonts/RauschenBTrial-Regular.otf') format('opentype');
    font-weight:normal;
    font-style: normal;
}

@font-face {
    font-family: Louize;
    src:    url('fonts/LouizeDisplayTrial-Regular.otf') format('opentype');
    font-weight:normal;
    font-style: normal;
}

:root {
    /* Font */
    --fs-xl: 80px;
    --fs-lg: 40px;
    --fs-md: 27px;
    --fs-sm: 21px;
    --fs-xs: 15px;
    --fs-xxs: 12px;

    --lh-md: 1.33;
    --lh-xs: 1;

    --ls-l: 1.15px;
    --ls-xl: 2px;
    --ls-xs: 0.5px;

    --color-white: #FFFFFF;
    --color-black: #3F1612;
    --color-pink: #F4C6B6;
    --color-coral: #FC6A51;
    --color-orange: #944131;
    --color-jade: #89C1A3;
    --color-green: #154F40;
}

h1, 
h2, 
h3, 
h4 {
    font-family: Eros, serif;
    font-weight: normal;
    line-height: var(--lh-xs);
    margin: 0;
}

h5, 
h6, 
p, 
figcaption, 
span {
    font-family: Louize, serif;
    font-weight: normal;
    line-height: var(--lh-md);
    margin: 0;
}

ul, 
li,
input,
.wp-block-button, 
.button, 
.header_button,
.lang-item {
    font-family: Rauschen, sans-serif;
    font-weight: normal;
    line-height: var(--lh-md);
    margin: 0;
    text-transform: uppercase;
}

svg {
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
    image-rendering: optimizeQuality;
    transform: translateZ(0);
}

/* LOGO */
h1 { 
    font-size: var(--fs-md);
    letter-spacing: var(--ls-xl);
    line-height: var(--lh-xs);
    justify-self: center;
    text-align: center;
    width: 200px;
    text-transform: uppercase;
}

.xxlarge, .xxlarge h2 {
    font-size: var(--fs-xl);
    letter-spacing: var(--ls-xl);
}

.xlarge, h2 {
    font-size: var(--fs-lg);
    letter-spacing: var(--ls-xl);
    width: 50%;
    margin: auto;
}

.large, h3 {
    font-size: var(--fs-md);
    margin-bottom: 40px;
}

.medium, p {
    font-size: var(--fs-sm);
    width: 45%;
    margin: auto auto 24px;
}

.small, h5 {
    font-size: var(--fs-xs);
    margin-bottom: 20px;
    -webkit-font-smoothing:auto;
    letter-spacing: var(--ls-xs);
}

.xsmall, h6, figcaption, .wp-block-button, .lang-item, .button, .newsletter__input  {
    font-size: var(--fs-xxs);
    letter-spacing: var(--ls-xs);
    -webkit-font-smoothing:auto;
}

/* COLOR */ 

.white {
    background-color: var(--color-white);
}
.pink {
    background-color: var(--color-pink);
}

.coral {
    background-color: var(--color-coral);
}

.orange {
    background-color: var(--color-orange);
}

.black {
    background-color: var(--color-black);
}

.green {
    background-color: var(--color-green);
    color: var(--color-white);
}

.jade {
    background-color: var(--color-jade);
    color: var(--color-orange);
}

/* GENERAL */ 

body:not(.page-id-92) .grecaptcha-badge {
    display:none !important;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

body {
    -ms-autohiding-scrollbar: auto;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    scroll-behavior: smooth;
    color: var(--color-black);
    overflow-x: hidden;
    background-color: var(--color-pink);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--color-black);
}

body figure {
    margin: 0;
    width:100%;
    height:100%;
}

body:not(.home) main > *:first-of-type {
    padding-top: 100px;
}

section, .header, .footer {
    width: 100%;
}

section:not(.full-width) > *, .header > *, .footer > * {
    max-width: 1600px;
    margin: auto;
    padding: 120px 100px;
    box-sizing: border-box;
    text-align: center;
} 

.home section:nth-of-type(2) .rich-text_container {
    padding-top: 0px;
}

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

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

input, textarea, select {
    border-radius: 0;
    width: 100%;
    padding: 5px 15px;
    box-sizing: border-box;
    border: 1px solid var(--color-black);
    -webkit-appearance: none;
}

input[type="checkbox"] {
    -webkit-appearance: auto;
    border: none;
    width: 10px;
    margin: 0 10px 1px 0;
    padding: 0;
}

input::-webkit-date-and-time-value{ 
    text-align:left;
} 

/* BUTTON */ 

.button, .header_button a {
    border: 1px solid var(--color-black);
    padding: 5px 15px;
    margin: 20px 15px 0 0;
    display: inline-block;
}

.button:hover, .header_button a:hover {
    border: 1px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

section .wp-block-button.is-style-outline > .wp-block-button__link, section .wp-block-button .wp-block-button__link.is-style-outline {
    border: 1px solid var(--color-black);
    padding: 5px 15px;
}

section.green .wp-block-button.is-style-outline > .wp-block-button__link, section.green .wp-block-button .wp-block-button__link.is-style-outline {
    border: 1px solid var(--color-white);
}

section .wp-block-button.is-style-outline:hover > .wp-block-button__link, section .wp-block-button:hover .wp-block-button__link.is-style-outline {
    border: 1px solid var(--color-black);
    background-color: var(--color-black);
    color: white;
}

section.green .wp-block-button.is-style-outline:hover > .wp-block-button__link, section.green .wp-block-button:hover .wp-block-button__link.is-style-outline {
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    color: var(--color-black);
}

section .wp-block-button__link {
    font-size: inherit;
}
section:not(.grid):not(.collage) .wp-block-buttons {
    margin-top: 80px;
}
section.collage .wp-block-buttons, section.grid .wp-block-buttons {
    margin-top: 40px;
}

/* HEADER */ 

.header {
    position: fixed;
    top: 0;
    z-index: 10;
    /* height: 100px; */
    transition: all 0.5s ease;
}

body > .header {
    /* background-color: var(--color-pink); */
}

.header.active {
    height: 260px;
    transition: all 0.5s ease;
}

.header.initial-nav {
    position: absolute;
    top: 0;
}

.scroll-down #header {
    transform: translate3d(0, -100%, 0);
}

.header_container {
    padding: 80px 100px 0;
    display: grid;
    grid-template-areas: "nav logo lang";
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header_menu {
    grid-area: nav;
    justify-self: left;
    display: flex;
    align-items: center;
}

.header_menu-button {
    cursor: pointer;
    display:  inline-flex;
    align-items: center;
}

.header_menu-button .icon_menu {
    stroke: var(--color-black);
    width:  32px;
    height: 24px;
    margin-right: 15px;
}

.header_menu-button svg g line {
    stroke-width:1px;
}

.header_menu-button svg g:first-child {
    opacity: 1;
    transition: opacity 0s .2s;
}

.header_menu-button svg g:last-child {
    opacity: 0;
    transition: opacity 0s .2s, transform 0s .2s;
}

.header_menu-button svg g:first-child line {
    transition: transform .2s .2s;
    transform: translateY(0px);
}

.header_menu-button svg g:last-child line {
    transition: transform .2s;
    transform: rotate(0deg);
    transform-origin: center;
}

.header.active .header_menu-button svg g:first-child {
  opacity: 0;
}

.header.active .header_menu-button svg g:first-child line {
  transition: transform .2s;
}

.header.active .header_menu-button svg g:first-child line:first-child {
  transform: translateY(3px);
}

.header.active .header_menu-button svg g:first-child line:last-child {
  transform: translateY(-3px);
    
}
.header.active .header_menu-button svg g:last-child {
  opacity: 1;
  transform: translateX(-4px)
}

.header.active .header_menu-button svg g:last-child line {
  transition: transform .2s .2s;
}

.header.active .header_menu-button svg g:last-child line:first-child {
    transform: rotate(45deg);
    transform-origin: center;
}

.header.active .header_menu-button svg g:last-child line:last-child {
    transform: rotate(-45deg);
    transform-origin: center;
}   

.header_menu-list_container {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1600px;
    padding: 0 60px;
    box-sizing: border-box;
    bottom: 0;
    pointer-events: none;
}

.header_menu-list {
    justify-content: space-between;
    list-style: none;
    margin: 0 auto;
    width: 100%;
    display: flex;
    max-width: 1480px;
    padding: 80px 40px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease 0.5s;
    pointer-events: all;
}

.header_menu-list.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease 0.5s;
    border-bottom: 0.5px solid currentColor;
}

.header_logo {
    grid-area: logo;
    margin-bottom: 0;
}

.header_logo .cls-1 {
    fill: var(--color-white);
}

.logo {
    image-rendering: crisp-edges;
    shape-rendering: crispEdges;
    height: 5vw;
    width: 5vw;
    min-height: 150px;
    min-width: 200px;
}

.header_button {
    grid-area: button;
    justify-self: right;
    display: flex;
    align-items: center;
}

.header .header_button > a {
    margin:0;
}

.lang-item {
    grid-area: lang;
    justify-self: right;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    margin-left: 20px;
}

/* EMBLEM */
.emblem {
    background-image: url(assets/emblem.svg);
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    background-size: contain;
    image-rendering: crisp-edges;
    shape-rendering: crispEdges;
}

.intro_emblem {
    height: 25vw;
    width: 25vw;
    min-height: 200px;
    min-width: 200px;
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
}

.footer_logo .cls-1 {
    fill: var(--color-orange);
}


/* INTRO BANNER */ 

.intro-banner {
    display: block;
    justify-content: center;
    position: relative;
    height: 180svh;
}

.intro-banner_media {
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    clip: rect(auto, auto, auto, auto);
    clip-path: inset(0 0 0 0);
    will-change: auto;
    z-index: 15;
    background-color: var(--color-black);

}

.intro-banner_media figure > video, .intro-banner_media figure > img {
    object-fit: cover;
    object-position: 35% center;
    width: 100%;
    height: 100%;
    opacity: 75%;
}

.intro-banner .header {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.5s ease;
}

.intro-banner .header.active {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.5s ease;
}
.intro-banner .header * {
    color: white;
}

.intro-banner .header .button {
    border-color: white;
}

.intro-banner .header .icon_menu {
    stroke: white;
}

.intro-banner_media-heading {
    position: fixed;
    z-index: 10;
    top: 50%;
    transform: translateY(-33.33%);
    width: 100%;
    max-width: 1600px;
    margin: auto;
    left: 0;
    right: 0;
}

.intro-banner_media-heading * {
    color: white;
    margin: auto;
}
.intro-banner_heading {
    position: sticky;
    z-index: 0;
    top: 50%;
    transform: translateY(-33.33%);
    display: flex;
    justify-content: center;
    width:100%;
    max-width: 1600px;
    margin: auto;
}

.intro-banner_heading * {
    margin: auto;
}

/* RICH TEXT */ 

.rich-text_container .wp-block-group__inner-container h2 {
    margin: 0 auto 80px;
}

.rich-text ul {
    margin: 80px auto 0;
    padding: 0;
    list-style: none;
    column-count: 3;
    column-gap: 40px;
}

.rich-text ul li {
    padding-left: 40px;
    margin-bottom: 20px;
}

.rich-text ul li:before {
    content: "";
    position: absolute;
    margin-top: 10px;
    margin-left: -40px;
    width: 10px;
    border-bottom: 0.5px solid currentColor; 
}

/* LIST */ 

section.list > .list_container {
    padding-top: 80px;
}

.list p {
    margin-top: 70px;
}

.list ul {
    margin: 70px auto 0;
    padding: 0;
    list-style: none;
    column-count: 3;
    column-gap: 40px;
    text-align: left;
}

.list ul li {
    padding-left: 40px;
    margin-bottom: 20px;
    position: relative;
    vertical-align: top;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-top: 0;
    vertical-align:top;
    display: inline-block;
}

.list ul li:before {
    content: "";
    position: absolute;
    margin-top: 10px;
    margin-left: -40px;
    width: 10px;
    border-bottom: 0.5px solid currentColor; 
}


/* COLLAGE */ 

.collage > .wp-block-group > * {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 40px;
    grid-row-gap: 120px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    justify-items: left;    
}

.collage > .wp-block-group > * > figure:first-of-type {
    grid-column-start: 2;
    margin-bottom: 40px;
}

.collage > .wp-block-group > * > figure:nth-of-type(2) {
    grid-column-start: 1;
    width: 80%;
    grid-row: span 2;
    margin-top: 160px
}

.collage > .wp-block-group > * > figure:nth-of-type(3) {
    grid-column-start: 2;
    width: 80%;
    grid-row: span 3;
}

.collage > .wp-block-group > * > figure:nth-of-type(3) img {
    width: 100%;
}

.collage > .wp-block-group > * > div {
    grid-column-start: 1;
    width: 80%;
    text-align: left;
}

.collage > .wp-block-group > * > * {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.collage > .wp-block-group > * > *.show {
    opacity: 1;
    transition: opacity 0.5s ease 0.5s;
}

.collage p {
    width: 100%;
}

/* GRID */ 

.grid_item-group {
    display: grid;
    grid-column-gap: 40px;
    grid-row-gap: 100px;
    grid-template-columns: repeat(3, 1fr);  
    margin: 100px auto 0;  
}

.grid_item-group > *:nth-of-type(4):not(.grid_flip-item) {
    grid-column: 1 / span 2;  
}

.grid_item-group > *, .grid_flip-item-group > * {
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: left;
}

.grid_item-group > *.show, .grid_flip-item-group > *.show {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.grid_item-group figure {
    margin-bottom: 30px;
    height: auto;
}

.grid_item-group img {
    height: auto;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.grid_item-group > *:nth-of-type(4) figure {
    height:0;
    padding-bottom: calc(66.66% - 27px);
    position: relative; 
    overflow: hidden;
}

.grid_item-group > *:nth-of-type(4) img {
    aspect-ratio: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
}

.grid_item-group h6 {
    margin-bottom: 20px;
}

.grid_item-group > .grid_item:nth-of-type(4) > *:not(figure) {
    max-width: 66.66%;
    margin-left: 0;
}

.grid p {
    width: 100%;
}


.grid_flip-item-group {
    display: grid;
    grid-row-gap: 120px;
    grid-template-columns: 1fr;  
    margin: 100px auto 0;  
}

.grid_flip-item {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: repeat(3, 1fr);  
    grid-template-rows: 1fr;
}

.grid_flip-item > *:not(.wp-block-group) {
    grid-column: 1 / span 2;
}

.grid_flip-item:nth-of-type(even) > *:not(.wp-block-group) {
    grid-column: 2 / span 2;
}

.grid_flip-item > figure img {
    aspect-ratio: 4/3;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.grid_flip-item > .wp-block-group {
    grid-column: 3;
}
.grid_flip-item:nth-of-type(even) > .wp-block-group {
    grid-column: 1;
    grid-row: 1;
}

section .wp-block-columns {
    gap: 40px;
    margin-bottom: 0;
}

.wp-block-columns img {
    height: auto;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

/* BANNER */

.banner {
    height: 100vh;
    position: relative;
}

.banner_container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.banner figure {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
}

.banner  .wp-block-video video {
    object-fit: cover;
    object-position: center 65%;
    max-width: none !important;
    width: 100%;
    height: 100vh;
}

.banner .wp-block-image img {
    object-fit: cover;
    max-width: none !important;
    width: 100%;
    height: 100vh;
}

/* SWIPER */ 

.swiper {
    display: flex;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide:not(.swiper-slide-active) figcaption {
    opacity: 0;
}

.swiper .wp-block-image img {
    max-height: 700px;
    max-width: 1400px;
    height: 100%;
    width: auto;
    margin: 0 50px;
}

.swiper .wp-block-image figcaption {
    margin: 30px 0 0;
}

.swiper-navi {
    width: 100%;
    max-width: 1600px;
    padding: 0 100px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-navi > * {
    width: auto;
    cursor: pointer;
    margin: 0;
}

/* IFRAME */

.iframe__map {
    width: 100%;
    aspect-ratio: 4/3;
    margin-top: 80px;
}

.column_container .wp-block-columns{
    text-align: left;
}

.column_container .wp-block-columns p{
    width: 100%;
}

/* MAP */

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-top: 80px;
}

#map {
    width: 100%;
    height: 100%;
    inset: 0;
}

.mapboxgl-canvas-container {
    height: 100%;
    display: block;
}

.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
    display: none;
}
/* 
.cls-1 {
    fill: var(--color-black);
} */

.map-container + p {
    margin: 40px auto 24px;
}



/* FORM */

.wpcf7 form {
    width: 50%;
    margin: 100px auto 0;
}

.form_group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.wpcf7-form > *:not(.form_button) {
    margin-bottom: 15px;
}

.wpcf7-form .form_item p {
    width: 100%;
    margin: 0;
    text-align: left;
}

.form_item label {
    margin-bottom: 5px;
}

.wpcf7-form-control:not(.button) {
    width: 100%;
    border: none;
    padding: 5px 15px;
    font-family: Rauschen, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 0.5px;
    line-height: 1.33;
    color: var(--color-black);
    box-sizing: border-box;
}

textarea.wpcf7-form-control{
    height: 100px;
    resize: none;
}

.wpcf7-form .form_accept p, .wpcf7-form .form_button p {
    width:100%;
    margin: 40px auto 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpcf7-form .form_accept label {
    display: flex;
    align-items: center;
}

.form_button > p > .wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: var(--color-black);
    opacity: 1;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 0 0 40px;
    position: relative;
}

input[type="submit" i] {
    margin: 0 0 0 60px;
    background-color: transparent;
    color: var(--color-black);
}

input[type="submit" i]:disabled {
    border-color: rgba(150, 145, 140, 1);
    color: rgba(150, 145, 140, 1);
    background-color: transparent;
}

.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7 form .wpcf7-response-output {
    padding: 0;
    border: 0px;
    border-color: transparent;;
    font-family: Rauschen, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1.33;
    color: var(--color-black);
    margin:40px auto 0;
}

.h-captcha iframe {
    position: absolute !important;
    top: 0;
    left: 0;
}

.newsletter__container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    margin: auto;
}

.newsletter__form, .ml-block-form {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    gap: 20px 0;
    width: 100%;
    min-width: 360px;
}

.ml-form-embedSubmit {
    margin-left: 20px;
}

.newsletter .button,
.newsletter input {
    margin: 0;
    color: var(--color-white);
    border-color: var(--color-white);
    background-color: transparent;
}

.newsletter .button:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    cursor: pointer;
}

.newsletter__input {
    height: 100%;
    box-sizing: border-box;
}

label.checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

label.checkbox input[type="checkbox"], label.checkbox h6 {
    padding: 0;
    margin: 0;
}

label.checkbox h6 {
    text-align: left;
}

/* FOOTER */ 

.footer_container-top {
    padding-top: 185px;
}

.footer > *, .footer a {
    color: var(--color-orange);
}

.footer {
    height: 750px;
    background-image: url(assets/footer-pattern.png);
    background-size: 3500px;
    background-position: center 55%;
}

.footer_container-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

.footer_logo {
    margin-bottom: 80px;
}

.footer_paragraph {
    margin-bottom: 50px;
    width: 100%;
}

.footer_container-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 60px 0 60px;
}

.footer_container-bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    width: 100%;
    justify-content: space-evenly;
    padding: 0 120px;
}

/* .footer_container-bottom ul:first-of-type li {
    margin-right: 100px;
}

.footer_container-bottom ul:last-of-type li {
    margin-left: 100px;
} */
 

@media (max-width: 1200px) {

    .footer_container-bottom ul {
        padding: 0;
    }
}

@media (max-width: 1080px) {

    .xxlarge, .xxlarge h2 {
        font-size: 40px;
        width: 100%;
    }
    
    
    .xlarge, h2 {
        font-size: 30px;
        width: 100%;
    }
    
    .large, h3 {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .medium, p, .grid_item h3, .grid_item .large {
        font-size: 18px;
        width: 100%;
        margin: auto auto 20px;
    }
    
    .small, .grid_item p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .xsmall, h6, figcaption, .wp-block-button,  .lang-item {
        font-size: 12px;
    }
    
    /* GENERAL */ 
    
    body:not(.home) main > *:first-of-type {
        padding-top: 60px;
    }
    
    section:not(.full-width) > *, .header > * {
        padding: 60px 20px;
    } 

    .footer > * {
        padding-right: 20px;
        padding-left: 20px;
    }
    
    /* BUTTON */ 
    
    .button, .header_button a {
        padding: 5px 10px;
        margin: 20px 10px 0 1px;
    }
    section .wp-block-button.is-style-outline > .wp-block-button__link, section .wp-block-button .wp-block-button__link.is-style-outline {
        padding: 5px 10px;
    }

    section:not(.grid):not(.collage) .wp-block-buttons {
        margin-top: 40px;
    }

    section.grid .grid_item .wp-block-buttons {
        margin-top: 20px;
    }

    section.grid .grid_flip-item .wp-block-buttons {
        margin-top: 40px;
    }

    section.grid .wp-block-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
     /* HEADER */ 

    .header.active {
        height: 360px;
        transition: all 0.5s ease;
    }
    
    .header_container {
        padding: 40px 20px 0;
    }

    .header_menu-button span {
        display: none;
    }

    .header_menu-list_container {
        padding: 0 20px
    }

    .header_menu-list {
        margin: 0 auto;
        padding: 40px 0 20px;
        flex-direction: column;
    }

    .header_menu-list > li {
        margin-bottom:20px;
    }

    .logo {
        min-height: 100px;
        min-width: 150px;
    }
    
    /* .header_logo {
        width: 80px;
        margin-bottom: 0;
    } */


    /* INTRO BANNER */ 

    /* .intro-banner {
        height: 140vh;
    } */

    .intro-banner_media {
        height: 100svh;
    }

    .intro-banner_media figure > video {
        object-position: 75% center;
        height: 115%;
    }

    .intro-banner_media-heading, .intro-banner_heading {
        width: calc(100% - 15px);
    }

    /* RICH TEXT */ 

    .rich-text_container .wp-block-group__inner-container p {
        margin: 40px auto 20px;
        width: 100%;
    }

    .rich-text_container .wp-block-group__inner-container p:first-of-type {
        margin-top: 0;
    }

    /* LIST */ 

    section.list > .list_container {
        padding-top: 60px;
    }
    .list h3 {
        margin-bottom:50px;
    }

    .list p:first-of-type {
        margin-top: 50px;
    }

    .list ul {
        margin: 50px auto 0;
        column-count: 2;
        column-gap: 20px;
    }

    .list ul li {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .list ul li:before {
        margin-top: 7px;
        margin-left: -20px;
        width: 8px;
        border-bottom: 0.5px solid currentColor; 
    }
    
    /* COLLAGE */ 

    .collage > .wp-block-group > * {
        grid-column-gap: 20px;
        grid-row-gap: 60px;
        grid-template-columns: 1fr 1fr;    
    }

    .collage > .wp-block-group > * > figure:first-of-type {
        grid-column: 1 / span 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    .collage > .wp-block-group > * > figure:nth-of-type(2) {
        grid-column-start: 1;
        width: 100%;
        grid-row: 2;
        margin-top: 0;
    }

    .collage > .wp-block-group > * > figure:nth-of-type(3) {
        grid-column-start: 2;
        width: 100%;
        grid-row: 2;
    }

    .collage > .wp-block-group > * > div {
        grid-column: 1 / span 2;
        grid-row: 3;
        width: 100%;
    }

    .collage > .wp-block-group > * > * {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .collage > .wp-block-group > * > *.show {
        opacity: 1;
        transition: opacity 0.5s ease 0.5s;
    }

    .collage p {
        width: 100%;
    }


    /* GRID */ 

    .grid_item-group {
        grid-column-gap: 20px;
        grid-row-gap: 60px;
        grid-template-columns: repeat(2, 1fr);  
        margin: 60px auto 0;  
    }

    .grid_item-group > *:nth-of-type(4), .grid_item-group > *:nth-of-type(3):last-of-type {
        grid-column: 1 / span 2;  
        grid-row: 2;
    }

    .grid_item-group figure {
        margin-bottom: 15px;
    }

    .grid_item-group > *:nth-of-type(4) figure, .grid_item-group > *:nth-of-type(3):last-of-type figure {
        height: auto;
        padding-bottom: 0;
        position: relative;
        overflow: hidden;
    }

    .grid_item-group > *:nth-of-type(4) img, .grid_item-group > *:nth-of-type(3):last-of-type img {
        aspect-ratio: 4/3;
        position: inherit;
        top: auto;
        left: auto;
        transform: translate(-0%, -0%);
    }

    .grid_item-group h6 {
        margin-bottom: 10px;
    }

    .grid_item-group > .grid_item:nth-of-type(4) > *:not(figure) {
        max-width: 100%;
    }



    .grid_flip-item-group {
        grid-row-gap: 60px;
        margin: 60px auto 0;  
    }

    .grid_flip-item {
        grid-column-gap: 20px;
        grid-template-columns: 1fr;  
        grid-template-rows: 1fr;
    }

    .grid_flip-item > *:not(.wp-block-group) {
        grid-column: 1 / span 1;
        grid-row: 1;
        margin-bottom: 30px;
    }

    .grid_flip-item:nth-of-type(even) > *:not(.wp-block-group) {
        grid-column: 1 / span 1;
        grid-row: 1;
    }

    .grid_flip-item > .wp-block-group {
        grid-column: 1;
    }
    .grid_flip-item:nth-of-type(even) > .wp-block-group {
        grid-row: 2;
    }

    section .wp-block-columns {
        gap: 20px;
        margin-bottom: 0;
    }

    /* SWIPER */ 

    .swiper .wp-block-image img {
        max-height: 220px;
        max-width: calc(100vw - 80px);
        height: 100%;
        width: auto;
        margin: 0 10px;
    }

    .swiper .wp-block-image figcaption {
        margin: 20px 0 0;
    }

    .swiper-navi {
        padding: 0 40px;
        bottom: -3px;
    }

    .swiper-navi > * {
        margin: 0;
        width: auto;
    }

    /* IFRAME */

    .iframe__map {
        aspect-ratio: 3/4;
        margin-top: 60px;
    }

    /* FORM */

    /* .wpcf7 form {
        width: 100%;
        margin: 60px auto 0;
    }
    .form_group {
        gap: 0 20px;
    }

    .wpcf7-form > *:not(.form_button) {
        margin-bottom: 10px;
    }

    .wpcf7-form .form_item p {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .form_item label {
        margin-bottom: 5px;
    }

    .wpcf7-form-control:not(.button) {
        padding: 4px 10px;
        font-size: 12px;
    }

    textarea.wpcf7-form-control{
        height: 100px;
        resize: none;
    }

    input[type="date"] {
        height: 24px;
    }

    .wpcf7-form .form_accept p, .wpcf7-form .form_button p {
        width:100%;
        margin: 20px auto 0;
    }

    .form_button > p > .wpcf7-spinner {
        width: 20px;
        height: 20px;
        margin: 0 0 0 20px;
    }

    input[type="submit" i] {
        margin: 0 0 0 40px;
    }

    .wpcf7 form .wpcf7-response-output {
        border-color: transparent !important;
        font-size: 9px;
        margin: 40px auto 0;
    } */

    /* NEWSLETTER */

    .newsletter__container {
        gap: 40px;
    }

    .newsletter__container .ml-form-embedContainer {
        width: 100%;
    }

    .ml-form-embedSubmit {
        margin-left: 10px;
    }

    .newsletter__form, .ml-block-form {
        min-width: unset;
    }

    .newsletter .button,
    .newsletter input {
        box-sizing: border-box;
    }

    /* FOOTER */ 

    /* .footer_logo {
        margin-bottom:60px;
    }

    .footer_paragraph {
        margin-bottom:40px;
    }

    .footer_emblem {
        height: 100px;
        width: 200px;
    }
    
    .footer_container-bottom {
        padding-top: 0;
        padding-bottom: 30px;
    }

    .footer_container-bottom ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: contents;
    }

    .footer_container-bottom ul:first-of-type li {
        margin-right: 0;
    }

    .footer_container-bottom ul:last-of-type li {
        margin-left: 0;
    } */

    .footer {
        height: 650px;
        background-size: 2800px;
        background-position: center 50%;
    }

    .footer_container-top {
        padding-bottom: 40px;
    }

    .footer_paragraph {
        margin-bottom: 0;
    }

    .footer_container-bottom {
        padding-top: 35px;
    }

    .footer_container-bottom ul {
        display: grid;
        grid-template-columns: auto auto;
        gap: 10px;
        justify-content: space-around;
    }
}