/*
Theme Name: af
Theme URI: https://miosito.com
Author: Mario Rossi
Author URI: https://miosito.com
Description: Our fantastic base theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: af
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* ! Reset */
body, html{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box; margin: 0; padding: 0; overflow-x: hidden; scroll-behavior: smooth;
}

*,
*:before,
*:after{box-sizing: border-box;}

h1, h2, h3, h4, h5, h6{margin: 0; padding: 0; text-wrap: balance;}
p, ol:not(ol.standard, ol.custom), ul:not(ul.standard, ul.custom){margin: 0; padding: 0;}
p, ol, ul{text-wrap: pretty;}
ol:not(#member-cv > ol, ol.standard), ul:not(#member-cv > ul, ul.standard){list-style: none;}

img{height: auto;}

a{transition: all 0.25s cubic-bezier(.215, .61, .355, 1);}


/* ! Fonts */
/*----------------------------------------------------------------------------------- */
/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/cormorant-garamond-v21-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* cormorant-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/cormorant-garamond-v21-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/raleway-v37-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/raleway-v37-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/raleway-v37-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/raleway-v37-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Jane Austen */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jane Austen';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Jane Austen.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


/* ! Basics */
/*----------------------------------------------------------------------------------- */
:root{
  --primary-bg-color: #EEEAEB;
  --secondary-bg-color: #C1CCE2;
  --primary-text-color: #1b1919;
  --white-paper: rgb(251, 251, 251);
  --primary-text-color-light: #474141;

  --padding-inline: 2.4rem;
  --large-content-mw: 132rem;
  --medium-content-mw: 100rem;
  --short-content-mw: 80rem;
  --mini-content-mw: 64rem;
  --medium-content-size: calc((var(--medium-content-mw) - var(--short-content-mw)) / 2);
  --large-content-size: calc((var(--large-content-mw) - var(--medium-content-mw)) / 2);
}

html{font-size: 62.5%;}
body{font-size: 1.6rem; background-color: var(--primary-bg-color); color: var(--primary-text-color); font-family: 'Raleway', sans-serif; font-synthesis: none; font-weight: 400;}

strong, b{font-weight: 700;}


/* ! Colors */
/*----------------------------------------------------------------------------------- */
.primary-bg-color{background-color: var(--primary-bg-color);}
.secondary-bg-color{background-color: var(--secondary-bg-color);}
.white-paper{background-color: var(--white-paper);}


/* ! Header */
/*----------------------------------------------------------------------------------- */
.header{display: flex; align-items: center; justify-content: space-between; position: fixed; width: 100%; z-index: 9999; padding: 1.6rem 1.6rem; transition: all .24s ease-in;}
.skip-link{left: 0; top: -100%; position: absolute; width: 100%; height: 0;}
.skip-link:focus{z-index: 100000; background-color: var(--primary-bg-color); color: var(--primary-color); padding: .8rem 1.6rem;  top: 0%; height: auto; outline-offset: 0 !important;}

@media (min-width: 880px) {
  .header{padding: 2rem 4rem;}
}
.header.header--onscroll{background-color: var(--primary-bg-color); padding: .8rem 1.6rem; border-bottom: 0.6px solid var(--primary-text-color-light)}

.logo-header, .logo-header img{width: 5.6rem; min-width: 5.6rem; height: 5.6rem;}

.menu ul{display: flex; margin-bottom: 0; gap: 32px;}
.menu ul li a{text-decoration: none; color: var(--primary-text-color-light); transition: color .32s ease-in; font-weight: 700;}
.menu ul li a:hover{color: var(--primary-text-color); text-decoration: underline;}

.header__icon{display: none;}
.main-menu{align-items: center; margin: 0 16px 0 0;}

@media (max-width: 1280px) {
  .header__icon{display: inline-block; min-width: 24px; width: 24px; height: 24px; position: relative; transform: rotate(0deg); cursor: pointer; z-index: 99995;  background: none; border: none;}
  .header__icon span{background-color: var(--primary-text-color-light); position: absolute; height: 2px; transition: all 0.3s ease-in-out; z-index: 99999; left: 0;}
  .header.has-cover:not(.header.header--onscroll, .header.hasMenuOpen) .header__icon span{background-color: var(--secondary-bg-color);}
  .header__icon:hover span{background-color: var(--primary-text-color);}
  .header.has-cover .header__icon:hover span:not(.header--onscroll .header__icon:hover span, .hasMenuOpen .header__icon span){background-color: #FFFFFF;}

  .header__icon span:nth-child(1){top: 0; width: 100%;}
  .header__icon span:nth-child(2),
  .header__icon span:nth-child(3){top: 9px; width: 100%;}
  .header__icon span:nth-child(4){top: 18px; width: 100%;}

  .header__icon--open span:nth-child(1){top: 8.5px; width: 0%; left: 50%; opacity: 0;}
  .header__icon--open span:nth-child(2){transform: rotate(45deg);}
  .header__icon--open span:nth-child(3){transform: rotate(-45deg);}
  .header__icon--open span:nth-child(4){top: 8.5px; width: 0%; left: 0%; opacity: 0;}

  .menu ul li:hover .sub-menu, .menu ul li:focus-within .sub-menu {padding: 16px 16px 0 !important;}

  .main-menu{
    position: absolute; align-items: flex-start; width: 100%;
    top: -24px; left: 0; transform: translateY(-100%); transition: all 0.64s cubic-bezier(.215, .61, .355, 1); 
    background-color: #FFFFFF; padding: 80px 24px 40px; overflow: hidden;
  }

  @media (orientation: landscape) {
    .main-menu{overflow: auto; height: fit-content;}
    .main-menu nav ul{display: block; columns: 2; column-gap: 40px; -webkit-column-gap: 40px; column-width: 224px; -webkit-column-width: 224px;}
  }

  .main-menu ul{max-width: 560px; width: 100%;}
  .main-menu, .main-menu .menu ul, .main-menu .cta-container{flex-direction: column;}

  .opened-menu .main-menu{transform: translateY(0);}
}


/* ! Hero */
/*----------------------------------------------------------------------------------- */
.hero figure{justify-self: center;}
.hero figure img{max-height: 720px; width: auto;}


/* ! Footer */
/*----------------------------------------------------------------------------------- */
.footer{display: flex; gap: 24px; align-items: center; padding: 24px; width: 100%; background-color: var(--secondary-bg-color);}
.logo-footer, .logo-footer img{width: 104px; min-width: 104x; height: 104px;}


/* ! Layout */
/*----------------------------------------------------------------------------------- */
.main{min-height: 100vh;}

.width-full{width: 100%;}
.height-full{width: 100%;}

.width-fit{width: fit-content;}
.height-fit{width: fit-content;}

.width-inherit{width: inherit;}
.height-inherit{width: inherit;}

.translate-y-120{transform: translateY(-120px);}
.translate-y-240{transform: translateY(-280px);}

.top-120{margin-top: -120px;}
.top-240{margin-top: -280px;}

@media (max-width: 760px){
  .top-120{margin-top: -6vw;}
  .top-240{margin-top: -36vw;}
}

.z-10{position: relative; z-index: 10}

@media (max-width: 1080px){
  #program{padding-bottom: 80px; position: relative;}
}
@media (max-width: 640px){
  #program{padding-bottom: 24px;}
}

/* ! Alignments */
/*----------------------------------------------------------------------------------- */
.fixed{position: fixed;}
.absolute{position: absolute;}
.relative{position: relative;}

.flex{display: flex;}
.flex-column{flex-direction: column;}
.flex-wrap{flex-wrap: wrap;}
.flex-nowrap{flex-wrap: nowrap !important;}
.inline-flex{display: inline-flex}

@media (max-width: 560px) {.flex{flex-wrap: wrap;}}

.jc-start{justify-content: flex-start;}
.jc-center{justify-content: center}
.jc-end{justify-content: flex-end;}
.jc-spbtw{justify-content: space-between;}
.jc-spard{justify-content: space-around;}
.jc-speve{justify-content: space-evenly;}

.al-start{align-items: flex-start;}
.al-center{align-items: center}
.al-end{align-items: flex-end;}

.jcc-center{justify-content: center;}
.alc-center{align-content: center;}


/* ! Images */
/*----------------------------------------------------------------------------------- */
.fit-cover{object-fit: cover}
.fit-content{object-fit: content}
.fit-fill{object-fit: fill}


/* ! Clip Paths */
/*----------------------------------------------------------------------------------- */
.brush-box, figure.wp-block-media-text__media, .white-paper{
  -webkit-mask-image: url("img/brush-mask.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;

  mask-image: url("img/brush-mask.png");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center;
}

.brush-box{padding: 16px;}

.paper-shadow{
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.08));
}

#paper-box-up{
  -webkit-mask-image: url("img/paper-up.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;

  mask-image: url("img/paper-up.png");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center;
}

#paper-box-down{
  -webkit-mask-image: url("img/paper-down.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;

  mask-image: url("img/paper-down.png");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center;
}

#paper-box-single, .paper-box{
  -webkit-mask-image: url("img/cotton-paper.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;

  mask-image: url("img/cotton-paper.png");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center;
}


/* ! Grid systems */
/*----------------------------------------------------------------------------------- */
.container{width: min(calc(100% - (var(--padding-inline) * 2)), var(--large-content-mw)); margin: 0 auto;}
.reduced-container{width: min(calc(100% - (var(--padding-inline) * 2)), var(--medium-content-mw)); margin: 0 auto;}
.short-container{width: min(calc(100% - (var(--padding-inline) * 2)), var(--short-content-mw)); margin: 0 auto;}
.mini-container{width: min(calc(100% - (var(--padding-inline) * 2)), var(--mini-content-mw)); margin: 0 auto;}

.grid-high-height{display: grid; width: 100%; position: relative; grid-template-rows: minmax(19.6rem, 1fr) 50% minmax(6.4rem, 0.8fr);}
@media (max-width: 1184px){.grid-high-height{min-height: 0; height: auto; grid-template-rows: minmax(12rem, 1fr) auto 1fr;}}

.grid-full-height{display: grid; min-height: 720px; height: 100dvh; width: 100%; position: relative; grid-template-rows: minmax(12rem, 1fr) 1fr 1fr;}
.grid-high-height > .top, .grid-full-height > .top{grid-row: 1; margin-bottom: 0; padding-bottom: 24px;}
.grid-high-height > .middle, .grid-full-height > .middle{grid-row: 2;}
.grid-high-height > .bottom, .grid-full-height > .bottom{grid-row: 3;}
.grid-full-height > img:not(.grid-full-height > .hero__img){width: 100%; min-height: inherit; height: inherit; object-fit: cover; z-index: -1;}

.grid-container{
  display: grid; 
  grid-template-columns: 
    [full-content-start] minmax(var(--padding-inline), 1fr) 
    [large-content-start] minmax(0, var(--large-content-size)) 
    [medium-content-start] minmax(0, var(--medium-content-size))
    [short-content-start] min(calc(100% - (var(--padding-inline) * 2)), var(--short-content-mw)) [short-content-end]
    minmax(0, var(--medium-content-size)) [medium-content-end] 
    minmax(0, var(--large-content-size)) [large-content-end] 
    minmax(var(--padding-inline), 1fr) [full-content-end] 
}

.grid-container .full-content{grid-column: full-content;}
.grid-container .large-content{grid-column: large-content;}
.grid-container .medium-content{grid-column: medium-content;}
.grid-container .short-content{grid-column: short-content;}

.grid-container.min-320{grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));}
.grid-container.min-400{grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));}
.grid-container.min-480{grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));}
@media(max-width: 540px) {
  .grid-container.min-320{grid-template-columns: repeat(auto-fit, 100%);}
  .grid-container.min-400{grid-template-columns: repeat(auto-fit, 100%);}
  .grid-container.min-480{grid-template-columns: repeat(auto-fit, 100%);}
}


/* ! Buttons */
/*----------------------------------------------------------------------------------- */
.wp-block-button__link, .custom-button, .wpcf7-form-control.wpcf7-submit{
  transition: all 0.24s ease-in; color: #ede5a6; border: none;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: clamp(1.8rem, 1vw + 1rem, 2.4rem); word-wrap: break-word;
  text-shadow:
    1px 0 0 black,
    -1px 0 0 black,
    0 1px 0 black,
    0 -1px 0 black,
    0px 0px 3.2px rgba(0, 0, 0, 0.64);
  background: url(img/button-background.webp) center center no-repeat; background-size: 100% 100%;
  min-width: 160px;
}
.wp-block-button__link:hover, .custom-button:hover, .wpcf7-form-control.wpcf7-submit:hover{transform: scale(1.02); filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.32));}

.wpcf7-spinner{position: absolute; align-self: center;}


/* ! Visibilities */
/*----------------------------------------------------------------------------------- */
.block{display: block;}
.deleted{display: none !important;}
.invisible{visibility: hidden;}
.disabled{opacity: 0.64; pointer-events: none; transition: all 0.24s cubic-bezier(.215, .61, .355, 1);}
.show-inhactive{pointer-events: none;}
.element-shown{opacity: 1 !important;}


/* ! Decorations */
/*----------------------------------------------------------------------------------- */
.drop-shadow{filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));}

.sleeping-albus{width: min(50%, 320px); margin-left: 6%;}
.birba-hook{position: absolute; bottom: -40px; right: 0; width: 20%; min-width: 12rem; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));}
.nori-the-maki{position: absolute; top: 30%; left: -16px; width: 20%; min-width: 12rem; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));}
.micia-moon{position: absolute; top: 30%; right: -16px; width: 20%; min-width: 12rem; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));}
@media (max-width: 1280px){
  .nori-the-maki{left: -64px; top: auto; bottom: -40px; min-width: 8rem;}
  .micia-moon{right: -64px; top: auto; bottom: -40px; min-width: 8rem;}
}
@media (max-width: 560px){
  .nori-the-maki{left: -16px; bottom: -24px; top: auto;}
  .micia-moon{right: -16px; bottom: -24px; top: auto;}
}

.contacts a{color: darkred; font-weight: 700; text-decoration: none;}
.contacts a:hover{text-decoration: underline;}

#program-content:before{position: absolute; content: ""; height: calc(100% - 360px); margin: auto 0 auto 20px; width: 3px; background-color: #d5a62e; border: 0.1px solid var(--primary-text-color-light); border-radius: 3px;}


/* ! Spacers */
/*----------------------------------------------------------------------------------- */
.spacer_4{height: 0.4rem;}
.spacer_8{height: 0.8rem;}
.spacer_12{height: 1.2rem;}
.spacer_16{height: 1.6rem;}
.spacer_24{height: 2.4rem;}
.spacer_32{height: 3.2rem;}
.spacer_40{height: clamp(3.2rem, 3vw + 1rem, 4rem);}
.spacer_48{height: clamp(3.2rem, 3vw + 1rem, 4.8rem);}
.spacer_56{height: clamp(4rem, 4vw + 1rem, 5.6rem);}
.spacer_64{height: clamp(4rem, 4vw + 1rem, 6.4rem);}
.spacer_72{height: clamp(4.8rem, 5vw + 1rem, 7.2rem);}
.spacer_80{height: clamp(4.8rem, 5vw + 1rem, 8.0rem);}
.spacer_88{height: clamp(5.6rem, 6vw + 1rem, 8.8rem);}
.spacer_96{height: clamp(5.6rem, 6vw + 1rem, 9.6rem);}
.spacer_120{height: clamp(6.4rem, 7vw + 1rem, 12.0rem);}
.spacer_160{height: clamp(7.2rem, 9vw + 1rem, 16.0rem);}
.spacer_184{height: clamp(8rem, 10vw + 1rem, 18.4rem);}
.spacer_200{height: clamp(12rem, 11vw + 1rem, 20.0rem);}
.spacer_224{height: clamp(12rem, 12vw + 1rem, 22.4rem);}
.spacer_240{height: clamp(16rem, 13vw + 1rem, 24.0rem);}


/* ! Margins & paddings */
.pdd_0{padding: 0 !important;}
.pdd_4{padding: 0.4rem;}
.pdd_8{padding: 0.8rem;}
.pdd_16{padding: 1.6rem;}
.pdd_24{padding: 2.4rem;}
.pdd_32{padding: 3.2rem clamp(2.4rem, 2vw + 1rem, 3.2rem);}
.pdd_40{padding: 4rem clamp(2.4rem, 2vw + 1rem, 4rem);}
.pdd_64{padding: 4rem clamp(2.4rem, 2vw + 1rem, 4rem);}

.pdd_v8{padding-top: 0.8rem; padding-bottom: 0.8rem;}
.pdd_v16{padding-top: 1.6rem; padding-bottom: 1.6rem;}
.pdd_v24{padding-top: 2.4rem; padding-bottom: 2.4rem;}
.pdd_v32{padding-top: clamp(2.4rem, 2vw + 1rem, 3.2rem); padding-bottom: clamp(2.4rem, 2vw + 1rem, 3.2rem);}

.pdd_h8{padding-left: 0.8rem; padding-right: 0.8rem;}
.pdd_h16{padding-left: 1.6rem; padding-right: 1.6rem;}
.pdd_h24{padding-left: 2.4rem; padding-right: 2.4rem;}
.pdd_h32{padding-left: clamp(2.4rem, 2vw + 1rem, 3.2rem); padding-right: clamp(2.4rem, 2vw + 1rem, 3.2rem);}

.pdd_l32{padding-left: clamp(2.4rem, 2vw + 1rem, 3.2rem) !important;}

@media (max-width: 880px){
  .mob-p0{padding: 0}
}

.ml-25{margin-left: 25%;}
@media (max-width: 560px){
  .ml-25{margin-left: 0;}
}


/* ! lists */
/*----------------------------------------------------------------------------------- */
.fake-list-item{display: flex; gap: 24px;}
.fake-list-item::before{width: 40px; min-width: 40px; height: 40px; border-radius: 100%; margin-top: clamp(0.24rem, 0.24vw + 1rem, 1.6rem); content: ""; background: url('img/pearl.webp') no-repeat center center; background-size: cover; display: inline-flex; position: relative}


/* ! Gaps */
/*----------------------------------------------------------------------------------- */
.gap_4{gap: 0.4rem;}
.gap_8{gap: 0.8rem;}
.gap_16{gap: 1.6rem;}
.gap_24{gap: 2.4rem;}
.gap_32{gap: 3.2rem;}
.gap_40{gap: clamp(2.4rem, 2vw + 1rem, 4rem);}
.gap_48{gap: clamp(2.8rem, 2vw + 1rem, 4.8rem);}
.gap_56{gap: clamp(3.2rem, 4vw + 1rem, 5.6rem);}
.gap_64{gap: clamp(4rem, 4vw + 1rem, 6.4rem);}

.gap_h4{column-gap: 0.4rem;}
.gap_h8{column-gap: 0.8rem;}
.gap_h16{column-gap: 1.6rem;}
.gap_h24{column-gap: 2.4rem;}
.gap_h32{column-gap: 3.2rem;}
.gap_h40{column-gap: clamp(2.4rem, 2vw + 1rem, 4rem);}
.gap_h56{column-gap: clamp(3.2rem, 4vw + 1rem, 5.6rem);}
.gap_h64{column-gap: clamp(4rem, 4vw + 1rem, 6.4rem);}

.gap_v4{row-gap: 0.4rem;}
.gap_v8{row-gap: 0.8rem;}
.gap_v16{row-gap: 1.6rem;}
.gap_v24{row-gap: 2.4rem;}
.gap_v32{row-gap: 3.2rem;}
.gap_v40{row-gap: clamp(2.4rem, 2vw + 1rem, 4rem);}
.gap_v56{row-gap: clamp(3.2rem, 4vw + 1rem, 5.6rem);}
.gap_v64{row-gap: clamp(4rem, 4vw + 1rem, 6.4rem);}


/* ! Typography */
h1, h2, h3, h4, h5{padding: 0; margin: 0; text-wrap: pretty;}
p, ul, ol{font-size: clamp(1.5rem, 1vw + 1rem, 1.8rem);}

.headline{font-size: clamp(4rem, 5vw + 1rem, 8rem); word-wrap: break-word; letter-spacing: -0.2rem; font-family: 'Jane Austen', serif; font-weight: 700; line-height: 100%;}
.text-type-0{font-size: clamp(3.6rem, 5vw + 1rem, 6.4rem); word-wrap: break-word; letter-spacing: -0.2rem; font-family: 'Jane Austen', serif; font-weight: 700;}
.text-type-0.reduced{font-size: clamp(3.4rem, 3.2vw + 1rem, 5.6rem); word-wrap: break-word; letter-spacing: -0.2rem; font-family: 'Jane Austen', serif; font-weight: 700;}
.text-type-1, .text-type-1 p{font-size: clamp(3.2rem, 4vw + 1rem, 4.8rem); word-wrap: break-word; letter-spacing: -0.2rem; font-family: 'Cormorant Garamond', serif; font-weight: 700;}
.text-type-2, .text-type-2 p{font-size: clamp(2.8rem, 3vw + 1rem, 4rem); word-wrap: break-word; letter-spacing: -0.2rem; font-family: 'Cormorant Garamond', serif; font-weight: 700;}
.text-type-3, .text-type-3 p{font-size: clamp(2.4rem, 2vw + 1rem, 3.2rem); word-wrap: break-word;}
.text-type-4, .text-type-4 p{font-size: clamp(1.8rem, 1vw + 1rem, 2.4rem); word-wrap: break-word;}
.text-type-5, .text-type-5 p{font-size: clamp(1.6rem, 1vw + 1rem, 2rem); word-wrap: break-word;}
.text-type-6, .text-type-6 p{font-size: clamp(1rem, 1vw + 1rem, 1.6rem); word-wrap: break-word;}
.text-type-7, .text-type-7 p{font-size: clamp(0.8rem, 1vw + 1rem, 1.36rem); word-wrap: break-word;}

.text-left, .text-left p{text-align: left;}
.text-center, .text-center p{text-align: center;}
.text-right, .text-right p{text-align: right;}
.text-justify, .text-justify p{text-align: justify; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;}


/* ! Wordpress Styles */
/*----------------------------------------------------------------------------------- */
input, textarea{border: 3px solid #ddd; border-radius: 3px;padding: 10px;}
input[type=submit], button{border: 3px solid #ddd; background: #ddd; border-radius: 3px;padding: 10px;}

.alignfull{width: 100vw;margin-left: calc(50% - 50vw);}
.alignwide{width: 90vw;margin-left: calc(50% - 45vw);}

.wp-block-media-text>.wp-block-media-text__content{padding: 0;}

.grecaptcha-badge{display:none}

.wpcf7-text, .wpcf7-textarea{max-width: 100%}

.form-partecipazione, .messaggio-post-invio {display:none}

.bimbi-container {position: relative; width: 100%; height: 400px; overflow: hidden;}
.bimbi-container img {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 100%; max-height: 100%; opacity: 0; transition: opacity 0.6s ease;}
.bimbi-container img.active {opacity: 1;}
@media (max-width: 880px){
	.bimbi-container {height: 250px;}
}

blockquote {padding-left: 16px; margin: 16px 0; font-style: italic; color: #666;}
blockquote cite {display: block; margin-top: 8px; font-size: 0.9em; color: #999;}

.cf7-label, label{margin-bottom:10px;}

.btn-post-conferma{display:flex; justify-content: space-evenly; margin: 30px 0 50px 0;}
@media (max-width: 880px){
	.btn-post-conferma{flex-direction:column; gap: 50px;}
}