/*
  Theme Name: WAF Custom
  Author: Greta Eline Poclen
  Version: 1.0.0

  Base theme structure originally developed by Egloo (https://egloo.it)
  for the waf_custom theme used across the WAF network.
  Adapted for foilingclub.org by Greta Eline Poclen.
*/

/* -----------------------------------
==============================================================================
	# FONTS
==============================================================================
----------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* -----------------------------------
==============================================================================
	# GENERAL
==============================================================================
----------------------------------- */

:root {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.25;
  font-family: 'DM Sans', sans-serif;

  --vh-100: 100vh;
  --full-height: var(--vh-100);

  --dm-sans: 'DM Sans', sans-serif;

  --grey: #9f9f9f;
  --light-grey: #f4f4f4;
  --dark-grey: #151515;
  --text-color: black;
  --background-color: white;
  --accent: #1D1F2A; /* WAF midnight*/
  --secondary-color: #C3D7EE; /* WAF Ice */
}


.dark-mode {
  --grey: #9f9f9f;
  --light-grey: #f4f4f4;
  --dark-grey: #151515;
  --text-color: black;
  --background-color: white;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-overflow-style: none;
}

body {
  color: var(--text-color);
  font-size: 0.875rem;
  line-height: 1.85;
  background-color: var(--background-color);
}

.container {
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  max-width: 1306px;
}

a {
  color: inherit;
  text-decoration: none;
  transition-duration: 0.3s;
}

p:not(:last-child) {
  margin-bottom: 1.5rem;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

input,
label,
textarea {
  font-family: Montserrat, sans-serif;
}

section {
  position: relative;
}

main.egloo .full-height {
  min-height: var(--full-height);
}

main.egloo section .bg,
main.egloo section .bg .overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
}

main.egloo section .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*main.egloo section .bg .overlay.dark {
  background-color: black;
}
*/
main.egloo section .bg .overlay.light {
  background-color: white;
}

main.egloo .eg-btn {
  all: unset;
  position: relative;
  padding: 0.7rem 1.875rem;
  display: inline-block;
  border: 0.75px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  background-color: transparent;

  transition-property: background, color;
  transition-duration: 0.3s;
}

main.egloo .eg-btn.black {
  color: black;
  border-color: black;
}

main.egloo .eg-btn.black:hover {
  color: white;
  background-color: black;
}

main.egloo .eg-btn.white {
  color: white;
  border-color: white;
}

main.egloo .eg-btn.white:hover {
  color: black;
  background-color: white;
}

body .bg-color {
  background-color: white;
  transition: background-color 300ms ease-in-out;
}

body.dark-mode .bg-color {
  background-color: var(--dark-grey);
}

main.egloo .bg-grey {
  background-color: var(--light-grey);
}

body section#hero .switch-button {
  position: absolute;
  right: 2rem;
  display: flex;
  justify-content: flex-end;
  color: white;
  align-items: center;
  gap: 0.8125rem;
  bottom: 3.93rem;
  z-index: 2;
  font-family: var(--dm-sans);
}

body section#hero .switch-mode.fixed {
  position: fixed;
  top: 3.5rem;
  z-index: 2;
  width: 100%;
  height: auto;
  padding-right: 0;
}

body section#hero .switch-mode.fixed .switch-button {
  position: unset;
}

body section#hero .switch-mode .toggle-text {
  font-weight: 600;
  letter-spacing: 0.04em;
}

body section#hero .switch-mode .toggle {
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
}

body section#hero .switch-mode .toggle input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

body section#hero .switch-mode .toggle label {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

body section#hero .switch-mode .toggle label:before {
  content: "";
  width: 3.625rem;
  height: 2rem;
  position: relative;
  display: inline-block;
  background: transparent;
  border-radius: 2.5rem;
  border: 1px solid #fff;
  box-sizing: border-box;
  transition: 0.2s ease-in;
}

body section#hero .switch-mode .toggle label:after {
  content: "";
  position: absolute;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  left: 0.1875rem;
  top: 0.1875rem;
  z-index: 2;
  background: white;
  box-sizing: border-box;
  transition: 0.2s ease-in;
}

body section#hero .switch-mode .toggle input[type="checkbox"]:checked + label:before {
  background: rgb(255 255 255 / 0.5);
}

body section#hero .switch-mode .toggle input[type="checkbox"]:checked + label:after {
  left: 1.8rem;
}

body section#hero .arrow {
  position: absolute;
  left: 50%;
  transform: translatex(-50%);
  bottom: 3.35rem;
  transition: bottom 200ms ease-in-out;
}

body section#hero .arrow:hover {
  bottom: 3rem;
}

body .loading {
  position: relative;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
}

body .filter-loading .loading {
  -webkit-transition: all 950ms ease;
  -moz-transition: all 950ms ease;
  -o-transition: all 950ms ease;
  transition: all 950ms ease;
  width: 100%;
}

body .filter-loading {
  visibility: visible;
}

main.egloo section.archive-list .filters {
  display: flex;
  position: relative;
  top: 0.5rem;
  gap: 4.15rem;
}

main.egloo section.archive-list .filters .filter {
  position: relative;
}

main.egloo section.archive-list .filters .filter:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.769' height='7.385' viewBox='0 0 12.769 7.385'%3E%3Cpath id='Tracciato_11' data-name='Tracciato 11' d='M7472.768 442.109l-4.971-4.97 4.971-4.97' transform='translate(-430.754 7474.182) rotate(-90)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  height: 0.37rem;
  width: 0.6925rem;
  content: "";
  position: absolute;
  right: 0;
  pointer-events: none;
  top: 50%;
  transform: translatey(-50%);
  margin-top: -0.04rem;
}

.dark-mode main.egloo section.archive-list .filters .filter:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.769' height='7.385' viewBox='0 0 12.769 7.385'%3E%3Cpath id='Tracciato_17' data-name='Tracciato 17' d='M7472.768 442.109l-4.971-4.97 4.971-4.97' transform='translate(-430.754 7474.182) rotate(-90)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
}

main.egloo section.archive-list .filters select {
  flex: 1;
  display: flex;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.8rem 1.05rem 0.8rem 0;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--grey);
  position: relative;
  font-family: Montserrat, sans-serif;
}

main.egloo section.archive-list .filters select option {
  font-weight: 600;
  font-family: Montserrat, sans-serif;
}

/* -----------------------------------
==============================================================================
	# COOKIE BOT
==============================================================================
----------------------------------- */

body #CybotCookiebotDialogHeader {
  display: none;
}

body #CybotCookiebotDialog *,
body #CybotCookiebotDialogBodyUnderlay * {
  font-family: "dm-sans";
}

body #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
}

body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept,
body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept,
body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

body #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
  background-color: var(--accent);
  border-color: var(--accent);
}

body #CybotCookiebotDialogTabContent input:checked + .CybotCookiebotDialogBodyLevelButtonSlider {
  background-color: var(--accent);
}

body #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
  border: 2px solid var(--accent);
}

body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,
body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
body #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw {
  border-color: var(--accent);
}

body #CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a,
body #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink,
body #CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a,
body #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a,
body #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a,
body #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink,
body #CybotCookiebotDialogDetailBodyContentTextAbout a,
body #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton:hover,
body #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab:hover,
body #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount):hover,
body #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover,
body #CybotCookiebotDialogBodyLevelButtonsSelectPane label:not([for="CybotCookiebotDialogBodyLevelButtonNecessary"]) .CybotCookiebotDialogBodyLevelButtonDescription:hover,
body #CookiebotWidget .CookiebotWidget-consent-details button {
  color: var(--accent);
}

body #CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo,
body #CybotCookiebotDialogPoweredByText {
  display: none;
}

body #CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
  fill: var(--accent);
}

body #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieTypeTableContainer,
body #CybotCookiebotDialogDetailBodyContentIABv2Tabs .CollapseCard {
  margin-left: 0;
}

body #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieTypeIntro {
  padding-left: 0;
}

/* -----------------------------------
==============================================================================
  # HEADER
==============================================================================
----------------------------------- */

header {
  position: fixed;
  width: 100%;
  z-index: 11;
  top: 0;
  left: 0;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  transition: padding 300ms ease-in-out;
}

header.fixed {
  background: var(--background-color);
  padding-top: 1.56rem;
  padding-bottom: 1.56rem;
}

header .logo {
  position: unset;
}

header.fixed .logo {
  position: unset;
  transform: none;
}

/* Logo size - desktop and mobile */
header .logo a img {
  width: 9rem;
  height: auto;
}

header.white img.logo-color,
body:not(.dark-mode) header.dark img.logo-white,
body:not(.dark-mode) header.fixed img.logo-white {
  display: none;
}

body:not(.dark-mode) header.fixed img.logo-color {
  display: block;
}

header.white:not(.fixed) .menu {
  color: white;
}

header .header-wrapper {
  display: flex;
  justify-content: space-between;
}

header .menu-container {
  display: grid;
  align-items: center;
}

header ul {
  display: flex;
  gap: 1.875rem;
  list-style: none;
}

header ul li a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--dm-sans);
}

header ul li a:after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-color);
  opacity: 0;
  transform: translateY(0.25rem);
  transition-duration: 0.3s;
}

header.white:not(.fixed) ul li a:after {
  background-color: white;
}

header ul li a:hover:after,
header ul li.current-menu-item a:after,
header ul li.current-page-ancestor a:after {
  opacity: 1;
  transform: translateY(0);
}

header .switch-mode.fixed {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translatey(-50%);
}

/* Stack logo + dates vertically */
header .logo .logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

/* Event dates under the logo */
header .logo .logo-dates {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.7875rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: normal;
  color: white;
  transition: color 300ms ease-in-out;
}

/* Accent color on scroll */
body:not(.dark-mode) header.fixed .logo-dates {
  color: var(--accent);
}

/* ----------------------------------- */
/* Desktop only                        */
/* ----------------------------------- */

@media only screen and (min-width: 990px) {
  .mobile-button {
    display: none;
  }
}

/* ----------------------------------- */
/* Mobile                              */
/* ----------------------------------- */

@media only screen and (max-width: 990px) {
  header,
  header.fixed {
    z-index: 9;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  header.fixed .logo {
    position: unset;
    transform: none;
  }

  header .mobile-button {
    margin-left: auto;
  }

  header .mobile-button button {
    all: unset;
    width: 23px;
    height: 19.5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  header .mobile-button button .linea {
    height: 1.5px;
    border-radius: 0.05rem;
    transition: transform 300ms ease-in-out;
  }

  body header.hero .mobile-button button .linea {
    background-color: white;
  }

  body header.white .mobile-button button .linea {
    background-color: white;
  }

  body:not(.dark-mode) header.open .mobile-button button .linea,
  body:not(.dark-mode) header.sticky .mobile-button button .linea,
  body:not(.dark-mode) header.fixed .mobile-button button .linea,
  body header .mobile-button button .linea {
    background-color: black;
  }

  header.open .mobile-button button .linea-1 {
    transform: translateY(9px) rotate(-45deg);
  }

  header.open .mobile-button button .linea-2 {
    opacity: 0;
  }

  header.open .mobile-button button .linea-3 {
    transform: translateY(-9px) rotate(45deg);
  }

  header.egloo.open .header-wrapper .logo,
  header.egloo.open .header-wrapper .mobile-button {
    position: relative;
    z-index: 9;
  }

  header.egloo .header-wrapper .menu-voices .menu-menu-container {
    padding-top: 5.71rem;
    padding-bottom: 5.71rem;
  }

  header.egloo.open:before {
    content: "";
    background: var(--background-color);
    height: 5.65rem;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
  }

  header.egloo .header-wrapper {
    align-items: center;
  }

  header.egloo .header-wrapper .menu-voices {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    opacity: 0;
    visibility: hidden;
    transition: all 450ms ease-in-out;
    overflow: auto;
    padding-bottom: 5rem;
    overflow-x: hidden;
    align-items: flex-start;
  }

  header.egloo.open .header-wrapper .menu-voices {
    opacity: 1;
    visibility: visible;
  }

  header.egloo .header-wrapper .menu-voices .menu {
    display: block;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1rem;
    justify-content: center;
    text-align: left;
    padding-top: 2.5rem;
    color: var(--text-color);
  }

  header.egloo .header-wrapper .menu-voices .menu li {
    padding-bottom: 0.8rem;
  }

  header.egloo .header-wrapper .menu-voices .menu li a {
    font-size: 1.125rem;
  }

  body:not(.dark-mode) header.open img.logo-white {
    display: none;
  }

  body:not(.dark-mode) header.open img.logo-color {
    display: block;
  }

  header.white:not(.fixed) ul li a:after {
    background-color: black;
  }

  /* Dates slightly larger on mobile */
  header .logo .logo-dates {
    font-size: 0.85rem;
  }
}
/* -----------------------------------
==============================================================================
	# NEWSLETTR
==============================================================================
----------------------------------- */

main.egloo section#newsletter .sides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

main.egloo section#newsletter .sides .side.img {
  position: relative;
}

main.egloo section#newsletter .sides .bg {
  position: unset;
}

main.egloo section#newsletter .sides .content-wrap {
  padding-top: 5.125rem;
  padding-bottom: 4.6875rem;
  display: grid;
  align-items: center;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper {
  max-width: 653px;
  width: 100%;
  margin-left: auto;
  padding-left: 2rem;
  padding-right: 4rem;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup h2 {
  font-size: 2.375rem;
  font-family: var(--dm-sans);
  text-transform: uppercase;
  line-height: 1.1;
  font-weight: 600;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons {
  display: flex;
  max-width: 30.56rem;
  column-gap: 1.25rem;
  padding-top: 2.5625rem;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons .mc-field-group {
  width: 100%;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons .mc-field-group input {
  width: 100%;
  max-width: 100%;
  border: 0;
  color: black;
  min-height: 3rem;
  padding: 0.8rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons .mc-field-group input::placeholder,
main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons .mc-field-group input::-webkit-placeholder {
  color: black;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons .mc-field-group input:focus,
main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .mc-buttons .mc-field-group input:focus-visible {
  border: 0;
  outline: 1px solid var(--accent);
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup #mc-embedded-subscribe {
  width: 100%;
  max-width: 100%;
  border: 0;
  color: white;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  background-color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup div.mce_inline_error {
  color: #c00;
  font-weight: 500;
  font-size: 0.7rem;
  background-color: transparent;
  padding: 0.7rem 0 0;
  margin: 0;
  line-height: 1;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap {
  display: flex;
  line-height: 1.4;
  max-width: 30.56rem;
  column-gap: 0.7rem;
  align-items: flex-start;
  padding-top: 1.875rem;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap input {
  margin-top: 0.25rem;
  outline: none;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap input:focus,
main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap input:focus-visible {
  border: 0;
  outline: none;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap label,
main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap a {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup .privacy-wrap a {
  text-decoration: underline;
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup #mce-success-response {
  letter-spacing: 0.04em;
  padding-top: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup #mce-error-response {
  letter-spacing: 0.04em;
  padding-top: 1.5rem;
  font-weight: 600;
  color: #c00;
}

@media only screen and (max-width: 767px) {
  main.egloo section#newsletter .sides {
    grid-template-columns: 1fr;
  }

  main.egloo section#newsletter .sides .side.img {
    display: none;
  }

  main.egloo section#newsletter .sides .content-wrap {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  main.egloo section#newsletter .sides .content-wrap .content-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  main.egloo section#newsletter .sides .content-wrap .content-wrapper #mc_embed_signup h2 {
    font-size: 2rem;
  }
}
/* -----------------------------------
==============================================================================
    # FOOTER
==============================================================================
----------------------------------- */

/* Two-row compact band layout.
   Row 1 (.footer-main): logo + three content columns + social icons.
   Row 2 (.footer-bottom): legal links + copyright.
   Modified by: Greta Eline Poclen */

footer {
  background-color: #ffffff;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* Row 1 — main content */
footer .footer-main {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  justify-content: space-between;
}

/* Top separator line, constrained to container width */
footer .footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background-color: var(--accent);
}

/* Logo */
footer .footer-logo img {
  height: 2rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Content columns (wysiwyg output) */
footer .footer-col {
  font-size: 0.75rem;
  line-height: 1.7;
}

/* Social icons column */
footer .footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

footer .footer-social img {
  height: 1.25rem;
  width: auto;
  display: block;
}

/* Row 2 — bottom bar */
footer .footer-bottom {
  border-top: none;
}

footer .footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
}

/* Legal links wrapper */
footer .footer-legal-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

footer .footer-legal {
  color: var(--accent);
  opacity: 1;
  transition: opacity 200ms ease;
}

footer .footer-legal:hover {
  opacity: 0.7;
}

footer .footer-copyright {
  margin: 0;
  color: var(--accent);
}

/* Mobile: stack vertically */
@media only screen and (max-width: 767px) {
  footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  footer .footer-logo img {
    height: 1.75rem;
  }

  footer .footer-social {
    margin-left: 0;
  }

  footer .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
/* -----------------------------------
==============================================================================
	# HOME / LANDING
==============================================================================
----------------------------------- */

body.page-template-landing section#hero .main-content,
body.home section#hero .main-content {
  color: white;
  text-align: center;
  height: var(--full-height);
  display: grid;
  align-items: center;
}

body.page-template-landing section#hero .main-content .title h1,
body.home section#hero .main-content .title h1 {
  font-size: 3.25rem;
  line-height: 1;
  font-family: var(--dm-sans);
}

body.page-template-landing section#hero .main-content .text,
body.home section#hero .main-content .text {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.35;
  padding-top: 0.375rem;
}

body.page-template-landing section#hero .main-content .cta,
body.home section#hero .main-content .cta {
  padding-top: 4rem;
}

body.page-template-landing section#hero .main-content .cta a,
body.home section#hero .main-content .cta a {
  border: 1.5px solid white;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.page-template-landing section#hero .main-content .cta a:hover,
body.home section#hero .main-content .cta a:hover {
  background: white;
  color: black;
}

body.home section#instagram-feed {
  margin-top: 6.25rem;
  margin-bottom: 6.25rem;
}

body.home section#instagram-feed .content {
  max-width: 87.5%;
  margin: auto;
}

body.home section#instagram-feed .sbi-header.sbi-header-type-text {
  display: block;
  font-size: 2.375rem;
  font-family: var(--dm-sans);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  padding: 0;
  margin-bottom: 3.25rem;
}

body.home section#instagram-feed #sb_instagram #sbi_load .sbi_follow_btn a {
  border: 0;
  color: white;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  background-color: var(--accent) !important;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
  margin-top: 2rem;
  box-shadow: none;
}

body.home section#instagram-feed .sbi_carousel:hover .sbi-owl-nav > div {
  display: none;
}

body.home section#instagram-feed .sbi-owl-stage-outer {
  margin-bottom: 2rem;
}

/*body.home section#instagram-feed .eapps-instagram-feed-posts-slider-nav {
	background: transparent;
	box-shadow: none;
	width: 1.458rem;
	height: 1.3675rem;
}

body.home section#instagram-feed .eapps-instagram-feed-posts-slider-nav.eapps-instagram-feed-posts-slider-next:before {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23.328' height='21.884' viewBox='0 0 23.328 21.884'%3E%3Cg id='Raggruppa_295' data-name='Raggruppa 295' transform='translate(-893 -1548.751)'%3E%3Cpath id='Tracciato_3' data-name='Tracciato 3' d='M23.328 9.387H5.054L11.164 0H7.443L0 10.886l7.443 11h3.721l-6.11-9.442H23.328Z' transform='translate(916.327 1570.635) rotate(180)' fill='%231390b4'/%3E%3C/g%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	width: 1.458rem;
	height: 1.3675rem;
	position: absolute;
}

body.home section#instagram-feed .eapps-instagram-feed-posts-slider-nav.eapps-instagram-feed-posts-slider-prev:before {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg id='Raggruppa_296' data-name='Raggruppa 296' xmlns='http://www.w3.org/2000/svg' width='23.328' height='21.884' viewBox='0 0 23.328 21.884'%3E%3Cpath id='Tracciato_3' data-name='Tracciato 3' d='M23.328 12.5H5.054l6.11 9.387H7.443L0 11 7.443 0h3.721L5.054 9.442H23.328Z' transform='translate(0 0)' fill='%231390b4'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	width: 1.458rem;
	height: 1.3675rem;
	position: absolute;
}

body.home section#instagram-feed .eapps-instagram-feed-posts-slider-nav svg {
	display: none;
}*/

@media only screen and (max-width: 767px) {
  body.page-template-landing section#hero .main-content .title h1,
  body.home section#hero .main-content .title h1 {
    font-size: 2.3125rem;
  }

  body.page-template-landing section#hero .main-content .text,
  body.home section#hero .main-content .text {
    font-size: 1.25rem;
    line-height: 1.35;
    padding-top: 0.9375rem;
  }

  body.page-template-landing section#hero .main-content .cta,
  body.home section#hero .main-content .cta {
    padding-top: 2rem;
  }

  body.page-template-landing section#hero .arrow,
  body.home section#hero .arrow {
    bottom: 6.93rem;
  }

  body.home section#instagram-feed .content {
    max-width: 100%;
  }

  body.home section#instagram-feed .eapps-instagram-feed-title-container .eapps-instagram-feed-title {
    font-size: 2rem;
  }

  body.home section#instagram-feed {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  body.home section#instagram-feed .eapps-widget-toolbar {
    display: none;
  }
}

/* -----------------------------------
==============================================================================
	# EVENTS
==============================================================================
----------------------------------- */

body.post-type-archive-events section#hero {
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body.post-type-archive-events section#hero .bg {
  position: unset;
}

body.post-type-archive-events section#hero .bg img {
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body.post-type-archive-events section.post-list {
  padding-bottom: 6.25rem;
}

body.post-type-archive-events section.post-list .intro-wrap {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
  display: flex;
  justify-content: space-between;
}

body.post-type-archive-events section.post-list h2 {
  font-family: var(--dm-sans);
  font-size: 2.375rem;
  font-weight: 600;
  line-height: 1.1;
}

body.post-type-archive-events section#latest-events.post-list h2 {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

@media only screen and (max-width: 767px) {
  body.post-type-archive-events section.post-list {
    padding-bottom: 4rem;
  }

  body.post-type-archive-events section.post-list .intro-wrap {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: grid;
    gap: 1.7rem;
  }

  body.post-type-archive-events section.post-list h2 {
    font-size: 2rem;
  }

  body.post-type-archive-events section#hero,
  body.post-type-archive-events section#hero .bg img {
    min-height: 55vh;
    max-height: 55vh;
  }

  body.post-type-archive-events section#latest-events.post-list h2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    font-size: 2rem;
  }
}

/* -----------------------------------
==============================================================================
	# AROUND THE WORLD
==============================================================================
----------------------------------- */

body.post-type-archive-around-the-world section#hero {
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body.post-type-archive-around-the-world section#hero .bg {
  position: unset;
}

body.post-type-archive-around-the-world section#hero .bg img {
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body.post-type-archive-around-the-world section.post-list {
  padding-bottom: 6.25rem;
}

body.post-type-archive-around-the-world section.post-list .intro-wrap {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
  display: flex;
  justify-content: space-between;
}

body.post-type-archive-around-the-world section.post-list h2 {
  font-family: var(--dm-sans);
  font-size: 2.375rem;
  font-weight: 600;
  line-height: 1.1;
}

body.post-type-archive-around-the-world section#latest-events.post-list h2 {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

@media only screen and (max-width: 767px) {
  body.post-type-archive-around-the-world section.post-list {
    padding-bottom: 4rem;
  }

  body.post-type-archive-around-the-world section.post-list .intro-wrap {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: grid;
    gap: 1.7rem;
  }

  body.post-type-archive-around-the-world section.post-list h2 {
    font-size: 2rem;
  }

  body.post-type-archive-around-the-world section#hero,
  body.post-type-archive-around-the-world section#hero .bg img {
    min-height: 55vh;
    max-height: 55vh;
  }

  body.post-type-archive-around-the-world section#latest-events.post-list h2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    font-size: 2rem;
  }
}

/* -----------------------------------
==============================================================================
	# PAGE
==============================================================================
----------------------------------- */

body.page #main-content section.egloo-block.simple-text:last-child {
  margin-bottom: 6rem;
}

body section#hero.page-hero {
  min-height: 31.25rem;
}

body section#hero.page-hero .bg,
body section#hero.page-hero .bg img {
  position: unset;
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body section#page-title {
  margin-top: 12.5rem;
  margin-bottom: 3.125rem;
}

body section#page-title h1 {
  font-size: 2.375rem;
  font-weight: 600;
  font-family: var(--dm-sans);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4.5rem;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  body section#hero.page-hero,
  body section#hero.page-hero .bg img,
  body section#hero.page-hero .bg {
    min-height: 55vh;
    max-height: 55vh;
  }

  body section#page-title {
    margin-top: 9.5rem;
  }

  body section#page-title h1 {
    font-size: 2rem;
  }

  body.page #main-content section.egloo-block.simple-text:last-child {
    margin-bottom: 4rem;
  }
}

/* -----------------------------------
==============================================================================
	# BLOG
==============================================================================
----------------------------------- */

body.page-template-blog section#hero {
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body.page-template-blog section#hero .bg {
  position: unset;
}

body.page-template-blog section#hero .bg img {
  min-height: 31.5rem;
  max-height: 31.5rem;
}

body.page-template-blog section.post-list {
  padding-bottom: 6.25rem;
}

body.page-template-blog section.post-list .intro-wrap {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
  display: flex;
  justify-content: space-between;
}

body.page-template-blog section.post-list h2 {
  font-family: var(--dm-sans);
  font-size: 2.375rem;
  font-weight: 600;
  line-height: 1.1;
}

body.page-template-blog section#latest-article.post-list h2 {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

body.page-template-blog main.egloo section#latest-article.post-list .content-wrap .posts .single-post .post-content .post-info {
  border-bottom: 2px solid var(--light-grey);
}

body.single-post main.egloo section.single-article .content-wrap .content {
  grid-column: span 6;
}

body.single-post main.egloo section.single-article .content-wrap .content .title h1 {
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  body.page-template-blog section.post-list {
    padding-bottom: 4rem;
  }

  body.page-template-blog section.post-list .intro-wrap {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: grid;
    gap: 1.7rem;
  }

  body.page-template-blog section.post-list h2 {
    font-size: 2rem;
  }

  body.page-template-blog section#hero,
  body.page-template-blog section#hero .bg img {
    min-height: 55vh;
    max-height: 55vh;
  }

  body.page-template-blog main.egloo section#latest-article.post-list .content-wrap .posts .single-post .post-content {
    background-color: var(--light-grey);
  }

  body.page-template-blog main.egloo section#latest-article.post-list .content-wrap .posts .single-post .post-content .post-info {
    border-bottom: 2px solid white;
  }

  body.page-template-blog section#latest-article.post-list h2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  body.page-template-blog section#latest-events.post-list h2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    font-size: 2rem;
  }

  body.page-template-blog main.egloo section.archive-list .filters {
    gap: 3rem;
  }
}

/* -----------------------------------
==============================================================================
	# SINGLE POST / EVENT
==============================================================================
----------------------------------- */

main.egloo section.single-article {
  padding-top: 12.5rem;
  margin-bottom: 4.2rem;
}

main.egloo section.single-article .content-wrap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.25rem;
}

main.egloo section.single-article .content-wrap .back,
main.egloo section.single-article .content-wrap .detail-title,
main.egloo section.single-article .content-wrap .post-type-title {
  margin-bottom: 6rem;
}

main.egloo section.single-article .content-wrap .content-left-wrap,
main.egloo section.single-article .content-wrap .content-right-wrap {
  position: sticky;
  top: 12.5rem;
  padding-bottom: 4.2rem;
}

main.egloo section.single-article .content-wrap .content-left-wrap .social .social-icons {
  display: grid;
  list-style: none;
  gap: 0.76rem;
}

main.egloo section.single-article .content-wrap .content-left-wrap .social .social-icons li {
  display: flex;
}

main.egloo section.single-article .content-wrap .content-left {
  grid-column: span 1;
}

main.egloo section.single-article .content-wrap .content {
  grid-column: span 5;
}

main.egloo section.single-article .content-wrap .content-right {
  grid-column: span 2;
  padding-left: 1rem;
}

main.egloo section.single-article .content-wrap .back a {
  display: flex;
  gap: 0.95rem;
  font-size: 0.875rem;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

main.egloo section.single-article .content-wrap .detail-title,
main.egloo section.single-article .content-wrap .post-type-title {
  font-size: 0.875rem;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

main.egloo section.single-article .content-wrap .post-type-title {
  color: var(--grey);
}

main.egloo section.single-article .content-wrap .content .title h1 {
  font-size: 2.5rem;
  line-height: 1.19;
  font-weight: 600;
  max-width: 45rem;
}

main.egloo section.single-article .content-wrap .content .reading-time p {
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  padding-top: 2.1875rem;
}

main.egloo section.single-article .content-wrap .content .categories {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.43rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0;
  margin-top: 2.1875rem;
  margin-bottom: 2.375rem;
}

main.egloo section.single-article .content-wrap .content .text ul {
  margin-bottom: 1.5rem;
  margin-left: 0.8rem;
}

main.egloo section.single-article .content-wrap .content iframe {
  max-width: 100%;
  width: 100%;
  margin-top: 2.2rem;
  margin-bottom: 2.2rem;
  height: 27rem;
}

main.egloo section.single-article .content-wrap .content img {
  margin-top: 4rem;
  margin-bottom: 4rem;
  max-width: 100%;
  width: 100%;
}

main.egloo section.single-article .content-wrap .content-right .detail-wrap {
  padding-top: 0.4rem;
}

main.egloo section.single-article .content-wrap .content-right .detail-wrap .detail {
  display: flex;
  align-items: flex-start;
  gap: 1.53rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-grey);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

main.egloo section.single-article .content-wrap .content-right .detail-wrap .detail:not(:nth-child(1)) {
  padding-top: 0.9625rem;
}

main.egloo section.single-article .content-wrap .content-right .detail-wrap .detail img {
  padding-top: 0.3rem;
}

body.single-around-the-world main.egloo section.single-article .content-wrap .content .reading-time p,
body.single-events main.egloo section.single-article .content-wrap .content .reading-time p {
  padding-bottom: 2.875rem;
}

@media only screen and (max-width: 767px) {
  main.egloo section.single-article {
    padding-top: 8.5rem;
    margin-bottom: 4rem;
  }

  main.egloo section.single-article .content-wrap {
    display: block;
  }

  main.egloo section.single-article .content-wrap .content-left-wrap,
  main.egloo section.single-article .content-wrap .content-right-wrap {
    position: unset;
    top: 0;
    padding-bottom: 0;
  }

  main.egloo section.single-article .content-wrap .back,
  main.egloo section.single-article .content-wrap .detail-title,
  main.egloo section.single-article .content-wrap .post-type-title {
    margin-bottom: 2.2rem;
  }

  main.egloo section.single-article .content-wrap .content .title h1 {
    font-size: 1.7rem;
  }

  main.egloo section.single-article .content-wrap .social {
    margin-top: 4rem;
  }

  main.egloo section.single-article .content-wrap .social .social-icons {
    display: flex;
    list-style: none;
    gap: 0.76rem;
  }

  main.egloo section.single-article .content-wrap .social .social-icons li {
    display: flex;
  }

  main.egloo section.single-article .content-wrap .social .social-icons img {
    margin-top: 0;
    margin-bottom: 0;
  }

  main.egloo section.single-article .content-wrap .detail-wrap {
    padding-top: 0.4rem;
  }

  main.egloo section.single-article .content-wrap .content .detail-wrap .detail {
    display: flex;
    align-items: flex-start;
    gap: 1.53rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-grey);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
  }

  main.egloo section.single-article .content-wrap .content .detail-wrap .detail:not(:nth-child(1)) {
    padding-top: 0.9625rem;
  }

  main.egloo section.single-article .content-wrap .content .detail-wrap .detail img {
    padding-top: 0.3rem;
    width: auto;
    margin: 0;
  }

  main.egloo section.single-article .content-wrap .content-right-wrap {
    padding-top: 2.3rem;
  }
}

/* -----------------------------------
==============================================================================
	# CONTACTS
==============================================================================
----------------------------------- */

body.page-template-contacts:not(.dark-mode) header .logo-white {
  display: none;
}

body.page-template-contacts:not(.dark-mode) header .logo-color {
  display: block;
}

body.page-template-contacts section#hero .content-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

body.page-template-contacts section#hero .content-wrap .container {
  max-width: 653px;
  margin-right: 0;
  padding-top: 15rem;
}

body.page-template-contacts section#hero .content-wrap .container .title h1 {
  font-size: 2rem;
  font-family: var(--dm-sans);
  font-weight: bold;
  line-height: 1.3;
  padding-bottom: 9.2rem;
}

body.page-template-contacts section#hero .content-wrap .container .text {
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  padding-bottom: 10.625rem;
}

body.page-template-contacts section#hero .bg {
  position: relative;
  margin-left: -7.5vw;
}

body.page-template-contacts section#hero .bg img {
  position: absolute;
}

body.page-template-contacts section#hero .content-wrap .container .text {
  max-width: 75%;
  margin: auto;
}

body.page-template-contacts section#hero .content-wrap .container .text a {
  font-weight: 600;
  color: var(--accent);
}

@media only screen and (max-width: 767px) {
  body.page-template-contacts section#hero .content-wrap {
    grid-template-columns: 1fr;
  }

  body.page-template-contacts section#hero .bg {
    position: relative;
    margin-left: 0;
    order: 1;
  }

  body.page-template-contacts section#hero .bg img {
    min-height: 55vh;
    max-height: 55vh;
    position: unset;
  }

  body.page-template-contacts section#hero .content-wrap .container {
    max-width: 100%;
    margin-right: 0;
  }

  body.page-template-contacts section#hero .main-content {
    order: 2;
  }

  body.page-template-contacts section#hero .content-wrap .container {
    padding-top: 4rem;
  }

  body.page-template-contacts section#hero .content-wrap .container .title h1 {
    padding-bottom: 3rem;
  }

  body.page-template-contacts section#hero .content-wrap .container .text {
    max-width: 100%;
    padding-bottom: 4rem;
  }

  body.page-template-contacts section#hero .switch-mode {
    position: absolute;
    top: calc(55vh - 4.625rem);
    left: 50%;
    transform: translatex(-50%);
    width: 100%;
  }

  body.page-template-contacts section#hero .switch-mode .switch-button {
    top: 0;
    right: auto;
    left: 50%;
    transform: translatex(-50%);
    bottom: auto;
  }

  body.page-template-contacts:not(.fixed) header .logo-color {
    display: none;
  }

  body.page-template-contacts:not(.fixed) header .logo-white {
    display: block;
  }
}

/* -----------------------------------
==============================================================================
	# POST LIST
==============================================================================
----------------------------------- */

main.egloo section.post-list .content-wrap {
  max-width: 75%;
  margin: auto;
}
main.egloo section.post-list .content-wrap .no-result {
  font-size: 1.125rem;
  line-height: 1.77;
}

main.egloo section.post-list .content-wrap .posts {
  display: grid;
  row-gap: 6.25rem;
}

main.egloo section.post-list .content-wrap .posts .single-post {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
  column-gap: 1.25rem;
}

main.egloo section.post-list .content-wrap .posts .single-post.align-right .post-content {
  order: 1;
}

main.egloo section.post-list .content-wrap .posts .single-post.align-right .img {
  order: 2;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content {
  background: var(--background-color);
  padding: 3.3125rem 3.75rem 3.75rem;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.36;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .post-info {
  border-bottom: 2px solid var(--light-grey);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

main.egloo section.post-list.archive-list .content-wrap .posts .single-post .post-content .post-info {
  border-bottom: 2px solid var(--light-grey);
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .post-info p,
main.egloo section.post-list .content-wrap .posts .single-post .post-content .post-info a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 0;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .post-info .categories-wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.43rem;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .short-desc {
  font-size: 1rem;
  line-height: 1.77;
  letter-spacing: 0.04em;
  padding-top: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 7rem;
}

main.egloo section.post-list .content-wrap .posts .single-post .img a {
  display: grid;
  height: 100%;
}

main.egloo section.post-list .content-wrap .posts .single-post .img a img {
  height: 100%;
  object-fit: cover;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination {
  display: flex;
  align-items: center;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination:before {
  content: "";
  flex: 2;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list {
  flex: 5;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  list-style: none;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.34;
  color: var(--grey);
  display: grid;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li span,
main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a {
  padding: 0.3rem 0.7rem;
  border-radius: 50%;
  min-width: 2.34rem;
  display: grid;
  place-items: center;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a.prev,
main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a.next {
  padding: 0;
  background-color: black;
  display: grid;
  place-items: center;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a.prev:hover,
main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a.next:hover {
  background-color: black;
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li span.current,
main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a:hover {
  color: white;
  position: relative;
  background-color: var(--grey);
}

main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-numbers {
  flex: 2;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-align: right;
}

/* -----------------------------------
==============================================================================
	# EVENT LIST
==============================================================================
----------------------------------- */

main.egloo section.post-list .content-wrap .posts .single-post .post-content.event .post-info p,
main.egloo section.post-list .content-wrap .posts .single-post .post-content.event .post-info a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0;
}

main.egloo section#latest-events.post-list .content-wrap .posts .single-post .post-content {
  background-color: var(--light-grey);
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .post-info {
  border-bottom: 2px solid white;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-info-wrapper {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--grey);
  line-height: 1.2;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-link a {
  display: flex;
  gap: 2.1rem;
  align-items: center;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-link a svg {
  position: relative;
  left: 0;
  transition: left 200ms ease-in-out;
}

main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-link p {
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateX(-0.5em);
  opacity: 0;
  transition-duration: 0.3s;
  transition-property: transform, opacity;
}

main.egloo section.post-list .content-wrap .posts .single-post:hover .post-content .event-info .event-link p {
  transform: translateX(0);
  opacity: 1;
}

@media only screen and (max-width: 767px) {
  main.egloo section.post-list .content-wrap {
    max-width: 100%;
  }

  main.egloo section.post-list .content-wrap .posts {
    gap: 4rem;
  }

  main.egloo section.post-list .content-wrap .posts .single-post {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  }

  main.egloo section.post-list .content-wrap .posts .single-post .post-content {
    padding: 2rem 1.5rem;
  }

  main.egloo section.post-list .content-wrap .posts .single-post .post-content h3 {
    font-size: 1.3rem;
  }

  main.egloo section.post-list .content-wrap .posts .single-post.align-right .img {
    order: 1;
  }

  main.egloo section.post-list .content-wrap .posts .single-post a img {
    height: auto;
  }

  main.egloo section.post-list .content-wrap .posts .single-post.align-right .post-content {
    order: 2;
  }

  main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-info-wrapper {
    font-size: 1.3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-link a:hover svg {
    left: 0;
  }

  main.egloo section.post-list .content-wrap .posts .egloo-pagination:before {
    display: none;
  }

  main.egloo section.post-list .content-wrap .posts .egloo-pagination {
    display: grid;
    row-gap: 1.8rem;
  }

  main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-numbers {
    text-align: center;
  }

  main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li span,
  main.egloo section.post-list .content-wrap .posts .egloo-pagination .pagination-list ul li a {
    padding: 0.15rem 0.5rem;
    min-width: 2rem;
  }

  main.egloo section.post-list .content-wrap .posts .single-post .post-content .short-desc {
    font-size: 1rem;
    max-height: 6.4rem;
  }

  main.egloo section.post-list .content-wrap .posts .single-post .post-content .event-info .event-link p {
    opacity: 1;
  }
}

/* -----------------------------------
==============================================================================
	# GALLERY WITH SCROLLBAR
==============================================================================
----------------------------------- */

main.egloo section#gallery {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
  overflow: hidden;
}

main.egloo section#gallery .swiper-wrap {
  max-width: 75%;
  margin: auto;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
}

main.egloo section#gallery .swiper {
  overflow: visible;
}

main.egloo section#gallery .swiper .swiper-wrapper .swiper-slide {
  width: auto !important;
  height: 17.8rem;
}

main.egloo section#gallery .swiper .swiper-wrapper .swiper-slide .img img {
  width: auto;
  height: 17.8rem;
}

main.egloo section#gallery .swiper .swiper-scrollbar {
  top: calc(100% + 2.9rem);
  left: 0;
  width: 100%;
  bottom: unset;
  background-color: transparent;
  height: 9px;
}

main.egloo section#gallery .swiper .swiper-scrollbar::before {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
}

main.egloo section#gallery .swiper .swiper-scrollbar .swiper-scrollbar-drag {
  background-color: var(--accent);
  border-radius: 0;
  cursor: grab;
}

@media only screen and (max-width: 767px) {
  main.egloo section#gallery .swiper-wrap {
    max-width: 100%;
  }

  main.egloo section#gallery .swiper .swiper-wrapper .swiper-slide,
  main.egloo section#gallery .swiper .swiper-wrapper .swiper-slide .img img {
    height: 14.8rem;
  }
}

/* -----------------------------------
==============================================================================
	# RELATED ARTICLES
==============================================================================
----------------------------------- */

main.egloo section.related-articles {
  margin-top: 6.25rem;
}

main.egloo section.related-articles .section-title h2 {
  font-size: 1.75rem;
  text-align: center;
  line-height: 1.35;
  padding-bottom: 6.25rem;
}

main.egloo section.related-articles .swiper-wrap {
  max-width: 75%;
  margin: auto;
  padding: 6.25rem 0;
}

main.egloo section.related-articles .swiper-wrap .swiper-wrapper {
  align-items: center;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.25rem;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content {
  background: var(--background-color);
  padding: 3.3125rem 3.75rem 3.75rem;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.36;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content h3 a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 4.8rem;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content .post-info {
  border-bottom: 2px solid var(--light-grey);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content .post-info p,
main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content .post-info a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 0;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content .post-info .categories-wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.43rem;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content .short-desc {
  font-size: 1.125rem;
  line-height: 1.77;
  letter-spacing: 0.04em;
  padding-top: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 7rem;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide a {
  display: grid;
  height: 100%;
}

main.egloo section.related-articles .swiper-wrap .swiper-slide a img {
  height: 24.5rem;
  width: 100%;
  object-fit: cover;
}

main.egloo section.related-articles .swiper-button-prev:after,
main.egloo section.related-articles .swiper-button-next:after {
  display: none;
}

main.egloo section.related-articles .swiper-button-prev {
  left: 6.25%;
  outline: none;
}

main.egloo section.related-articles .swiper-button-next {
  right: 6.25%;
  outline: none;
}

@media only screen and (max-width: 767px) {
  main.egloo section.related-articles {
    margin-top: 4rem;
  }

  main.egloo section.related-articles .section-title h2 {
    padding-bottom: 4rem;
  }

  main.egloo section.related-articles .swiper-wrap {
    max-width: 92.5%;
    padding: 4rem 0;
  }

  main.egloo section.related-articles .swiper-wrap .swiper-slide {
    grid-template-columns: 1fr;
  }

  main.egloo section.related-articles .swiper-wrap .swiper-slide a img {
    height: 15.5rem;
  }

  main.egloo section.single-article .content-wrap .content img {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content {
    padding: 2rem 1.5rem;
  }

  main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content h3 {
    font-size: 1.3rem;
  }

  main.egloo section.related-articles .swiper-wrap .swiper-slide .post-content .short-desc {
    font-size: 1rem;
  }

  main.egloo section.related-articles .swiper-button-prev {
    left: 1.25%;
  }

  main.egloo section.related-articles .swiper-button-next {
    right: 1.25%;
  }
}

/* -----------------------------------
==============================================================================
	# CONTACT FORM
==============================================================================
----------------------------------- */

main.egloo .wp-block-contact-form-7-contact-form-selector {
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  max-width: 1306px;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 {
  max-width: 39.5rem;
  margin: auto;
  margin-top: -0.7rem;
  margin-bottom: 7.18rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row-title h2 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.44;
  text-transform: uppercase;
  text-align: center;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row-title {
  margin-top: 2.1875rem;
  margin-bottom: 2.1875rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row.cols-2,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row.cols-2 .column.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.25rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .label {
  font-size: 0.875rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.2;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row input {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--grey);
  color: black;
  min-height: 3rem;
  padding: 0.8rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row input:focus,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row input:focus-visible {
  border: 1px solid var(--accent);
  outline: 1px solid var(--accent);
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .checkbox + div {
  margin-top: 0.5rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .wpcf7-checkbox .wpcf7-list-item {
  margin-left: 0;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .wpcf7-checkbox .wpcf7-list-item > label {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: 1rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .wpcf7-checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .wpcf7-checkbox input:focus,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row .wpcf7-checkbox input:focus-visible {
  border: 0;
  outline: none;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row textarea {
  height: 6.25rem;
  min-width: 100%;
  max-width: 100%;
  border: 1px solid var(--grey);
  padding: 0.8rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row textarea:focus,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row textarea:focus-visible {
  border: 1px solid var(--accent);
  outline: 1px solid var(--accent);
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-submit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.25rem;
  margin-top: 3.65rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-submit .submit {
  position: relative;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-submit .submit input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem;
  outline: none;
  font-size: 0.875rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-submit .submit input:hover {
  opacity: 0.8;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-submit .submit span.wpcf7-spinner {
  position: absolute;
  margin: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler {
  border: 0;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .codedropz-upload-container {
  padding: 0;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .codedropz-upload-inner h3,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .codedropz-upload-inner span,
main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .dnd-upload-counter {
  display: none;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .codedropz-btn-wrap a {
  font-size: 0px;
  display: flex;
  align-items: center;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .codedropz-btn-wrap a:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52.368' height='32.488' viewBox='0 0 52.368 32.488'%3E%3Cpath id='Tracciato_331' data-name='Tracciato 331' d='M131.819 133.862a8.963 8.963 0 0 0-8.714-6.6h-.846a13.6 13.6 0 0 0-2.2-8.63 13.018 13.018 0 0 0-8.122-5.5 12.54 12.54 0 0 0-2.623-.254A13.478 13.478 0 0 0 98.146 118.8a9.454 9.454 0 0 0-3.723-.761 9.329 9.329 0 0 0-9.307 8.63 12.278 12.278 0 0 0-1.607 1.015 9.5 9.5 0 0 0-3.046 4.146 10.075 10.075 0 0 0 .423 8.122 9.594 9.594 0 0 0 8.207 5.415h13.368a1.015 1.015 0 0 0 0-2.031H89.178a7.592 7.592 0 0 1-6.515-4.315 7.749 7.749 0 0 1-.338-6.43 7.62 7.62 0 0 1 2.369-3.215 12.751 12.751 0 0 1 1.692-1.015l.761-.338v-.761a7.3 7.3 0 0 1 7.276-7.107 8.068 8.068 0 0 1 3.469.846l1.015.592.677-1.1a1.77 1.77 0 0 1 .338-.508A11.415 11.415 0 0 1 109.4 115a8.053 8.053 0 0 1 2.115.254 11.408 11.408 0 0 1 6.938 4.653c1.523 2.2 2.115 4.907 1.777 8.376v1.184h3.046a6.908 6.908 0 0 1 6.768 5.076 7 7 0 0 1-6.43 8.8H111.429a4.55 4.55 0 0 1-4.569-4.569v-9.053l2.623 2.623a1.26 1.26 0 0 0 .761.338 1.033 1.033 0 0 0 .761-.338.973.973 0 0 0 0-1.438l-3.723-3.723c-.085-.085-.508-.423-.508-.508a1.041 1.041 0 0 0-.846-.423 1.072 1.072 0 0 0-.761.338l-4.23 4.23a.973.973 0 0 0 0 1.438 1.047 1.047 0 0 0 1.438 0L105 129.632V138.6a6.7 6.7 0 0 0 6.684 6.684h12.1a9 9 0 0 0 6.938-3.723 9.815 9.815 0 0 0 1.1-7.7Z' transform='translate(-79.805 -112.88)' fill='%239f9f9f'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 3.273rem;
  height: 2.03rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-handler .codedropz-btn-wrap a:after {
  content: "Upload pictures";
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.2;
  margin-left: 1.125rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details {
  padding-left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .name {
  color: var(--accent);
  padding: 4px 0;
  padding-right: 0;
  display: flex;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  order: 2;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .name em {
  font-weight: 600;
  color: black;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .remove-file {
  order: 1;
  display: grid;
  align-items: center;
  padding-right: 0.5rem;
  position: unset;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .remove-file span:after {
  background-image: url("data:image/svg+xml,%3Csvg id='Componente_2_1' data-name='Componente 2 %E2%80%93 1' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cg id='Ellisse_57' data-name='Ellisse 57' fill='none' stroke='%23151515' stroke-width='1.5'%3E%3Ccircle cx='9' cy='9' r='9' stroke='none'/%3E%3Ccircle cx='9' cy='9' r='8.25' fill='none'/%3E%3C/g%3E%3Cg id='Raggruppa_706' data-name='Raggruppa 706' transform='translate(-660.5 -1877.5)'%3E%3Cline id='Linea_58' data-name='Linea 58' x2='6' y2='6' transform='translate(666.5 1883.5)' fill='none' stroke='%23151515' stroke-linecap='round' stroke-width='1.5'/%3E%3Cline id='Linea_59' data-name='Linea 59' x1='6' y2='6' transform='translate(666.5 1883.5)' fill='none' stroke='%23151515' stroke-linecap='round' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-image {
  display: none;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .dnd-progress-bar {
  order: 3;
  border-radius: 0;
  height: 0.9rem;
  width: 100%;
  background-color: black;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .dnd-progress-bar span {
  background-color: var(--accent);
  font-weight: 600;
  font-size: 0.625rem;
  color: #fff;
  height: 100%;
  width: 0;
  line-height: 14px;
  padding: 0.03rem 0;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .codedropz-upload-wrapper .dnd-upload-details .dnd-progress-bar span:after {
  content: "";
  padding-right: 0.2rem;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .wpcf7-not-valid-tip {
  color: #c00;
  font-weight: 500;
  font-size: 0.7rem;
  padding-top: 0.2rem;
  display: block;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 form.invalid .wpcf7-response-output {
  padding: 0;
  margin: 0;
  border: 0;
  margin-top: 2.1875rem;
  color: #c00;
  font-weight: 600;
  letter-spacing: 0.04em;
}

main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 form.sent .wpcf7-response-output {
  padding: 0;
  margin: 0;
  border: 0;
  margin-top: 2.1875rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media only screen and (max-width: 767px) {
  main.egloo .wp-block-contact-form-7-contact-form-selector {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row.cols-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row,
  main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row-title {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  main.egloo .wp-block-contact-form-7-contact-form-selector > .wpcf7 .waf-form-row-title h2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* -----------------------------------
==============================================================================
	# RESPONSIVE
==============================================================================
----------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 1200px) {
  body {
    font-size: 0.7rem;
  }

  body.page-template-landing section#hero .main-content .text {
    font-size: 1.4rem;
  }

  body.page-template-landing section#hero .main-content .title h1 {
    font-size: 2.5rem;
  }

  body.page-template-landing section#hero .main-content .cta {
    padding-top: 3.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .desktop-hidden {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  body.fixed {
    height: 100%;
    overflow: hidden;
    touch-action: none;
  }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mobile-hidden {
    display: none;
  }

  :root {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.25;
    font-family: dm-sans, sans-serif;
    --vh-100: 86vh;
  }

  body section#hero .switch-button {
    bottom: 2.625rem;
    right: auto;
    left: 50%;
    transform: translatex(-50%);
  }

  body section#hero .switch-mode.fixed {
    position: unset;
  }

  body section#hero .switch-mode.fixed .switch-button {
    position: absolute;
  }
  
  body.home section#instagram-feed .sbi-header.sbi-header-type-text {
	font-size: 2rem;
  }
}
/* smooth scroll e compensazione header */
html {
  scroll-behavior: smooth !important;
  /* spaziatura interna in alto quando entri in un anchor */
  scroll-padding-top: 70px;
}

