/*
Theme Name: Spazio Armonia
Theme URI: https://www.flyingchair.it/
Description: Tema child di Spazio Armonia
Author: Nicola Mascotto
Author URI: https://www.flyingchair.it/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Add your custom styles here */
@font-face {
  font-family: "Shippori Mincho", serif;
  src: url("../font/ShipporiMincho-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
.my-custom-font {
  font-family: "Shippori Mincho", serif;
}

body {
  background-color: #FEF0DA;
  color: #000;
  font-family: "Shippori Mincho", serif;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* typography */
main h1 {
  font-size: 50px;
  font-weight: 600;
  color: #000;
}
main h2 {
  font-size: 40px;
  font-weight: 600;
  color: #000;
}
main h3,
article.post > h2 {
  font-size: 26px;
  font-weight: 600;
  color: #000;
}
main h4 {
  font-size: 26px;
  font-weight: 600;
  color: #000;
}
main h5 {
  font-size: 22px;
  font-weight: 600;
  color: #000;
}
main h6 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

main p, main li {
  font-size: 18px;
  font-weight: 500;
  color: #000;
}
strong {
  font-weight: 700;
}
@media (max-width: 1100px) {
  main h1 {font-size: 42px}
  main h2 {font-size: 38px}
  main h3,article.post > h2 {font-size: 26px}
  main h4 {font-size: 26px}
  main h5 {font-size: 22px}
  main h6 {font-size: 17px}
  main p, main li {font-size: 17px}
}
@media (max-width: 768px) {
  main h1 {font-size: 32px}
  main h2 {font-size: 28px}
  main h3,article.post > h2 {font-size: 22px}
  main h4 {font-size: 20px}
  main h5 {font-size: 18px}
  main h6 {font-size: 16px}
  main p, main li {font-size: 16px}
}
.elementor a:not(.elementor-button) {
  display: inline;
  text-decoration: underline;
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.5rem;
}
.elementor a:not(.elementor-button):hover {
  text-decoration-thickness: 0.4rem;
}
.elementor img {
  border-radius: 8px;
}

/* ugo block */
.ugo-block {
  background-color: #FEF0DA;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}
.ugo-block > .e-con-inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.ugo-block > .e-con-inner > .elementor-element {
  padding: 0;
}
.ugo-block:first-child {
  background-image: url('/wp-content/themes/federica-moliani/image/soffione-marrone.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.ugo-block:nth-child(odd):not(:first-child) {
  position: relative;
  z-index: 0;
}
.ugo-block:nth-child(odd):not(:first-child)::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: -1;
  background-image: url('/wp-content/themes/federica-moliani/image/soffione-bianco.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/*.ugo-block:nth-child(odd):not(:first-child):nth-child(n+5)::after {
  content: "";
  transform: rotate(180deg);
  top: -20%;
  left: -50%;
}*/

/* elementor text */
.elementor-widget-text-editor .elementor-widget-container > * {
  margin-top: 0;
  margin-bottom: 0;
}
.elementor-widget-text-editor .elementor-widget-container > *:not(:last-child) {
  margin-bottom: 20px;
}

/* button */
.elementor-button {
  background-color: #B28D66 !important;
  border: 2px solid #9a7956;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 3px;
}
.elementor-button .elementor-button-text {
  color: #fff;
}
.elementor-button:hover {
  background-color: #9a7956 !important;
}
/* form */
.wpcf7 > * {
  font-size: 18px;
}
.wpcf7 label {
  width: 100%;
  margin-bottom: 15px;
}
.wpcf7 .wpcf7-form-label {
  display: block;
  margin-bottom: 5px;
}
.wpcf7 .wpcf7-list-item {
  margin: 0;
}
.wpcf7 label:has(input[type=checkbox]) {
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.wpcf7 label:has(input[type=checkbox]) .wpcf7-list-item-label::before, .wpcf7 label:has(input[type=checkbox]) .wpcf7-list-item-label::after {
  display: none;
}
.wpcf7 .wpcf7-not-valid-tip {
  background-color: #dc3232;
  color: #fff;
  font-weight: 700;
  padding: 5px;
}
.wpcf7 .wpcf7-response-output {
  margin: 0 !important;
  margin-top: 25px !important;
}

textarea {
  color: #000;
  font-size: 18px;
}

input {
  color: #000;
  font-size: 18px;
}

input[type=text],
input[type=email],
input[type=number],
input[type=tel],
textarea {
  border-radius: 5px;
  padding: 15px;
}

input[type=checkbox] {
  width: 25px;
  height: 25px;
}

input[type=submit],
input[type=submit]:focus {
  background-color: #FEE047;
  border: 2px solid #FFCE00;
  color: #000;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 3px;
  line-height: 1;
}
input[type=submit]:hover,
input[type=submit]:focus:hover {
  background-color: #9a7956;
  border: 2px solid #fff;
  color: #fff;
}

/* header */
.site-header {
  background-color: #fff;
  padding: 0 15px;
  min-height: 80px;
}
.site-header .header-inner {
  max-width: unset;
}
.site-header nav.site-navigation {
  align-items: stretch;
}
.site-header nav.site-navigation > ul.menu > li.menu-item:not(:last-child) {
  height: 100%;
  align-items: center;
}
.site-header nav.site-navigation > ul.menu > li.menu-item:not(:last-child) > a {
  color: #000;
  font-weight: 500;
  height: 100%;
  display: flex;
  align-content: center;
  align-items: center;
}
.site-header nav.site-navigation > ul.menu > li.menu-item:not(:last-child):hover > a:before,
.site-header nav.site-navigation > ul.menu > li.current-menu-item.menu-item:not(:last-child) > a:before {
  content: "";
  background-color: #B28D66;
  height: 5px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.site-header nav.site-navigation > ul.menu > li.menu-item:last-child {
  align-items: center;
  margin-left: 20px;
}
.site-header nav.site-navigation > ul.menu > li.menu-item:last-child a {
  background-color: #9a7956;
  border: 2px solid #9a7956;
  color: #fff;
  padding: 7px 20px;
  border-radius: 3px;
}
.site-header nav.site-navigation > ul.menu > .menu-item-has-children:after {
  color: #000;
  font-size: 30px;
  margin-top: -4px;
}
.site-header nav.site-navigation > ul.menu > .menu-item-has-children > a {
  padding-right: 8px;
}
.site-header nav.site-navigation ul.sub-menu a {
  color: #000;
  font-weight: 500;
}

.elementor > .elementor-element:nth-of-type(n+3):nth-of-type(odd) {
  background-color: #DFC5AA;
}

/* footer */
.site-footer {
  border-top: 1px solid #000;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer .footer-inner {
  max-width: 1100px;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
}
.site-footer h3 {
  font-size: 24px;
}
.site-footer ul,
.site-footer ol {
  list-style-type: none;
  padding-left: 0;
}
.site-footer a {
  color: #000;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer__column {
  flex: 1;
}
.site-footer__company p {
  font-size: 14px;
  display: inline;
}

/* breadcrumbs rank math */
.rank-math-breadcrumb * {
  color: #fff;
}
.rank-math-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  [class*=__button] {
    text-align: center;
  }
  [class*=__button] .elementor-button {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    min-width: 300px;
  }
}
@media only screen and (max-width: 600px) {
  .site-footer .footer-inner {
    flex-direction: column;
  }
}
@media only screen and (max-width: 500px) {
  [class*=__button] .elementor-button {
    width: 90%;
    max-width: unset;
    min-width: unset;
  }
}
/* grid colonne 1 */
.grid__grid.grid-cols-1 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.grid__grid.grid-cols-1 .elementor-image-box-title {
  font-size: clamp(32px, 2vw, 22px);
  margin-bottom: 15px;
}

/* grid colonne 2 */
.grid__grid.grid-cols-2 {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
}

.grid__grid.grid-cols-2 .elementor-image-box-title {
  font-size: clamp(30px, 2vw, 22px);
  margin-bottom: 15px;
}

/* grid colonne 3 */
.grid__grid.grid-cols-3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
}

.grid__grid.grid-cols-3 .elementor-image-box-title {
  font-size: clamp(24px, 2vw, 22px);
  margin-bottom: 15px;
}

/* grid colonne 4 */
.grid__grid.grid-cols-4 {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
}

.grid__grid.grid-cols-4 .elementor-image-box-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.site-header .header-inner .site-branding .site-logo img {
  max-height: 60px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .site-header .header-inner .site-branding .site-logo img {
    max-height: 50px;
  }
  .site-header .header-inner {
    padding: 0;
  }
}
footer .show-logo {
  display: none !important;
}

.cover {
  min-height: 400px;
}
.cover__column {
  padding: 50px;
}
.cover__text {
  max-width: 700px !important;
}
.cover__image {
  height: 100%;
}
.cover__image img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media only screen and (max-width: 768px) {
  .cover__column {
    padding: 15px;
  }
}
.box-text__text {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.box-text .elementor-widget-container {
  max-width: 700px !important;
  margin: 0 auto;
  padding: 50px !important;
  background-color: #fff;
  border-radius: 10px;
}
.box-text .elementor-widget-container * {
  color: #000;
}
.box-text h2 {
  text-align: center;
}

.accordion summary {
  border: 2px solid #fff !important;
  background-color: #B28D66;
  margin-bottom: 10px;
  border-radius: 5px !important;
  justify-content: space-between !important;
  padding: 20px !important;
}
.accordion summary * {
  color: #fff;
  fill: #fff;
  font-size: 18px !important;
}
.accordion summary:hover, .accordion summary[aria-expanded=true] {
  background-color: #fff;
}
.accordion summary:hover *, .accordion summary[aria-expanded=true] * {
  color: #000;
  fill: #000;
}
.accordion summary h3 {
  font-size: 22px !important;
}
.accordion details > .elementor-element {
  margin-bottom: 10px;
  border: 0;
}

.text > .e-con-inner {
  max-width: 700px !important;
  padding-left: 15px;
  padding-right: 15px;
  gap: 30px;
}

.text-image:nth-child(odd) .elementor-button {
  background-color: #fff !important;
  border-color: #fff;
}
.text-image:nth-child(odd) .elementor-button span {
  color: #000;
}
.text-image:nth-child(odd) .elementor-button:hover {
  background-color: #9a7956 !important;
  border-color: #9a7956;
}
.text-image:nth-child(odd) .elementor-button:hover span {
  color: #fff;
}
.text-image > .e-con-inner {
  max-width: 1100px;
  padding-left: 15px;
  padding-right: 15px;
  gap: 30px;
}
@media only screen and (min-width: 768px) {
  .text-image:nth-child(odd) .text-image__column:last-child {
    order: -1;
  }
}
.grid > .e-con-inner {
  max-width: 1100px;
  padding-left: 15px;
  padding-right: 15px;
  gap: 30px;
}
.grid:not(:has(.grid__card:nth-child(2))) .grid__grid {
  max-width: 600px;
  margin: 0 auto;
}
.grid__text {
  text-align: center;
  max-width: 700px !important;
  margin: 0 auto;
}
.grid__button {
  text-align: center !important;
}
.grid__grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-template-rows: auto !important;
  gap: 30px;
}
.grid__card .elementor-image-box-img {
  width: 100% !important;
  margin: 0 !important;
  margin-bottom: 10px !important;
}
.grid__card .elementor-image-box-img a {
  display: flex;
}
.grid__card .elementor-image-box-img img {
  aspect-ratio: 1.5;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.grid__card .elementor-image-box-wrapper {
  position: relative;
  text-align: left !important;
}
.grid__card .elementor-image-box-title {
  margin: 0;
  margin-bottom: 10px;
  color: #000 !important;
}
.grid__card .elementor-image-box-title a:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.grid__card .elementor-image-box-description {
  position: relative;
  color: #000 !important;
  z-index: 3;
}

.banner > .e-con-inner {
  max-width: 1100px;
  padding-left: 15px;
  padding-right: 15px;
  gap: 30px;
}
.banner__text {
  text-align: center;
  max-width: 700px !important;
  margin: 0 auto;
}
.banner__button {
  text-align: center;
}

.blog,
.archive {
  /* card */
  /* first post */
}
.blog .site-main,
.archive .site-main {
  max-width: 1000px !important;
  padding: 40px 15px;
}
.blog .page-header > .entry-title,
.archive .page-header > .entry-title {
  max-width: 700px;
  margin: 0;
  margin-bottom: 20px;
}
.blog .page-content,
.archive .page-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 50px;
}
.blog .post,
.archive .post {
  display: flex;
  flex-direction: column;
  /* title */
  /* image */
  /* text */
}
.blog .post .entry-title a,
.archive .post .entry-title a {
  text-decoration: underline;
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.5rem;
}
.blog .post .entry-title a:hover,
.archive .post .entry-title a:hover {
  text-decoration-thickness: 0.4rem;
}
.blog .post > a,
.archive .post > a {
  order: -1;
  display: flex;
}
.blog .post > a img,
.archive .post > a img {
  border-radius: 10px;
}
.blog .post > p,
.archive .post > p {
  font-size: 18px;
}
.blog .post:first-child,
.archive .post:first-child {
  grid-column: 1/-1;
}
.blog .post:first-child .entry-title,
.blog .post:first-child > p,
.archive .post:first-child .entry-title,
.archive .post:first-child > p {
  max-width: 600px;
}

.header-blog {
  margin-bottom: 50px;
}
.header-blog > * {
  max-width: 700px;
}
.header-blog .title-blog {
  margin: 0;
  margin-bottom: 10px;
}
.header-blog .description-blog {
  font-size: 18px;
}

/* pagination numbers */
.pagination-numbers {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.page-numbers {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.page-numbers li {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px #fff;
  border-radius: 3px;
  width: 50px;
  height: 50px;
}
.page-numbers li:not(:has(a)) {
  background-color: #fff;
}
.page-numbers li:not(:has(a)) > * {
  color: #000;
}
.page-numbers li > * {
  display: flex;
  align-content: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  width: 50px;
  height: 50px;
}
.page-numbers li:has(a):hover {
  background-color: #fff;
}
.page-numbers li:has(a):hover > * {
  color: #000;
}

.single .site-main {
  max-width: 1000px !important;
  padding: 40px 15px;
}
.single .site-main > *:not(:last-child) {
  margin-bottom: 20px;
}
.single .entry-title {
  max-width: 700px;
  margin: 0 !important;
  margin-bottom: 25px !important;
}
.single .page-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
}
.single .page-content > *:first-child {
  margin-top: 50px;
}
.single .page-content h2, .single .page-content h3 {
  margin-top: 50px;
}

/* TOPBAR */
.site-topbar{
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}
.site-topbar__inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-topbar__left,
.site-topbar__right{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.site-topbar__item{
  text-decoration: none;
}

/* FOOTER */
.site-footer{
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 60px 0 0;
}
.site-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-footer__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 40px;
}
.site-footer__col h4{
  margin: 0 0 12px;
}
.site-footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__list li{
  margin: 8px 0;
}
.site-footer__text p{
  margin-top: 0;
}

/* BOTTOM (company) */
.site-footer__bottom{
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 18px 0;
}
.site-footer__bottom-inner{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.site-footer__copyright{
  white-space: nowrap;
  font-size: 14px;
  opacity: .9;
}
.site-footer__company{
  font-size: 14px;
  opacity: .9;
}
.site-footer__company p{
  margin: 0;
}
.site-footer__company a{
  text-decoration: none;
}

@media (min-width: 901px){
  .site-footer__bottom-inner{
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 600px){
  .site-topbar__item span:not(.sfm-ico) {
    display: none;
  }
  .site-topbar__item {
    background-color: #fff;
    border-radius: 100%;
    padding: 5px;
  }
  .site-topbar__item svg {
    fill: #9a7956 !important;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Icone SVG */
.sfm-ico{
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}
.sfm-ico svg{
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* item con icona + testo */
.site-topbar__item,
.site-footer__list a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Social (destra topbar): icone sole */
.site-topbar__right .site-topbar__item span:not(.sfm-ico){
  display:none;
}

/* Screen-reader only */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.site-topbar {
  background-color: #9a7956;
  color: #fff;
  fill: #fff;
}
.site-topbar a {
  color: #fff;
  fill: #fff;
}

footer {
  max-width: 1320px !important;
}
.site-footer__inner {
  margin: 0 !important;
}