/*
Theme Name: NotTitledYet
Theme URI: 
Author: Rian Rodrigo da Silva Tonaco
Author URI: 
Description: A Design Studio Works We help brands and organizations elevate their creativity, amplify their impact, and transform their presence into profitability.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nottitledyet
Tags: 
*/

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 90px;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.recaptcha-legal {
    margin: 40px 0 0 0;
    font-size: 10px;
    color: #939393;
    text-align: center;
}

.page-id-163 .recaptcha-legal, .page-id-163 .recaptcha-legal a {
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: -1px;
}

.mainMenu,
.contattiWrapper,
.copywriteFooter {
  width: 90%;
  margin: 0 auto !important;
}

.contattiWrapper {
  align-items: flex-start;
}

.contattiWrapper h4 {
  max-width: 90%;
}

header.wp-block-template-part {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 9999999;
}

.mainNavigation a:hover {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--wp--preset--color--custom-blu-scuro);
  text-decoration-thickness: 20%;
  text-decoration-skip-ink: true;
  text-underline-offset: 25%;
}

.mainNavigation a {
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  transition: text-decoration 0.5s ease-in-out;
  text-decoration: none;
  text-decoration-color: #000;
}
.headerButton a {
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}
.headerButton a:hover {
  background-color: var(--wp--preset--color--custom-giallino);
  color: #000;
}

.contattiWrapper > div {
  width: 50%;
}

.cf7module {
  width: 100%;
}

.cf7module input,
.cf7module textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #000;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  transition: border-color 0.5s ease-in-out;
  border-color: #fff;
  background-color: transparent;
  color: #fff;
  padding-left: 0;
}

.cf7module input:focus,
.cf7module textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--custom-blu-scuro);
}

.cf7module textarea {
  max-height: 100px;
  margin-bottom: 60px;
}

mark {
  font-family: var(--wp--preset--font-family--bodoni-moda);
  font-style: italic;
  font-weight: 600;
}

.bottone {
  width: auto !important;
  padding: 10px 20px !important;
  font-size: 16px;
  font-family: var(--wp--preset--font-family--bodoni-moda) !important;
  padding: 23px 27px 25px 27px !important;
  border-radius: 64px;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out !important;
  background-color: var(--wp--preset--color--custom-blu-scuro) !important;
  color: #fff !important;
  border: none;
  border-bottom: 0 !important;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  word-break: break-word;
}

.bottone:hover {
  background-color: var(--wp--preset--color--custom-giallino) !important;
  color: #000 !important;
}

footer {
  margin-block-start: 0;
}

/* Back to Top Button */
.backtotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.backtotop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.backtotop img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.backtotop:hover img {
  transform: scale(1.1);
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); */
}

.backtotop:active img {
  transform: scale(0.95);
}

.rg-text-accent {
  color: var(--wp--preset--color--custom-blu-scuro);
  font-family: var(--wp--preset--font-family--bodoni-moda);
  font-style: italic;
}

.aboutuswrapper {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  flex-direction: row;
  gap: 5cqw;
  width: 100%;
  padding: 100px 0;
}

.aboutuswrapper > * {
  min-width: 250px;
}

.about2-title1 {
  font-size: 8vw;
  line-height: 3vw;
}

.about2-title2 {
  font-size: 10.2vw;
  text-transform: lowercase;
}

.mission > *,
.vision > * {
  width: 50%;
}

.mission,
.vision {
  gap: 5em;
  align-items: center;
  justify-content: space-between;
}

.mission {
  margin-bottom: 8em;
}

.missionvision {
  width: 40%;
}
.missionvision mark {
  font-size: 140%;
  line-height: 100%;
}

.missionvisionimg img {
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 296px;
}

.mission h3,
.vision h3 {
  font-size: 48px;
  font-weight: 600;
}
.mission h4,
.vision h4 {
  font-size: 24px;
  font-weight: 600;
}

.mission p,
.vision p {
  font-size: 18px;
  line-height: 24px;
}

.attivitatop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 60px;
}

.attivitatop h4 {
  width: 100%;
  font-weight: 500;
  font-size: 24px !important;
}

.attivitatop > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.attivitatop > div > * {
  width: 40%;
}

.attivitatop > div > p {
  font-size: 18px;
  line-height: 26px;
}

.attivitatop > div > h3 {
  font-size: 56px !important;
  font-weight: 600;
  text-wrap-style: pretty;
}

.attivitaimg img {
  overflow: hidden;
  object-fit: cover;
  width: 476px;
  height: 196px;
  border-radius: 98px;
}

.attivitarow {
  justify-content: space-between;
  border-top: 1px solid #8d8d8f;
  padding-top: 40px;
  padding-bottom: 20px;
}

.attivitacontentwrap {
  width: 50%;
  gap: 20%;
}

.attivitaIndicator {
  font-size: 22px;
}

.attivitatitle {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
}

.serviziwrap > h2 {
  font-size: 24px !important;
  font-weight: 600;
}

.serviziwrap > h3 {
  font-size: 8cqw !important;
  font-weight: 600;
  margin-top: 0;
  line-height: 140px;
}

.serviziitems {
  margin-top: 60px;
}

.servizirow2 > *,
.servizirow1 > figure {
  width: 33.333%;
}

.servizirow1 > figure img {
  width: 100%;
  height: 100%;
}

.servizirow1 > div {
  width: 66.667%;
}

.servizirow1,
.servizirow2 {
  align-items: stretch;
}

.servizispace1:before {
  width: 100%;
  content: "";
  aspect-ratio: 1 / 1;
  background: #5324ff;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  display: block;
}

.servizispace1:after {
  width: 100%;
  content: "";
  height: -webkit-fill-available;
  background: #5324ff;
  display: block;
}

.servizispace2:before {
  width: 100%;
  content: "";
  display: block;
  background: #5324ff;
  height: var(--before-height);
}

.servizispace2:after {
  width: 100%;
  content: "";
  display: block;
  background: #5324ff;
  aspect-ratio: 1 / 1;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.servizispace1,
.servizispace2 {
  background: #000;
  width: 33.333% !important;
  position: relative;
  overflow: hidden;
}

.servizispace1 {
  border-top-left-radius: 0%;
  border-top-right-radius: 0%;
}

.servizispace2 {
  border-bottom-left-radius: 0%;
  border-bottom-right-radius: 0%;
}

.servizirow2 > figure img {
  transform: rotate(180deg);
  width: 100%;
  height: 100%;
}

.servizirow2 {
  margin: 0;
}

.servizirow1,
.servizirow2 {
  gap: 0;
}

.servizicontent {
  height: -webkit-fill-available;
  padding: 60px;
  gap: 60px;
  justify-content: space-between;
}

.servizicontent p {
  font-size: 18px !important;
  line-height: 28px;
}

.numerosrvizi,
p.numerosrvizi {
  font-size: 52px !important;
  font-family: "Bodoni Moda";
  font-style: italic;
}

.servizicontent h2 {
  font-size: 28px !important;
  line-height: 28px;
  font-weight: 600;
  text-transform: uppercase;
}

.servizicontent > div {
  justify-content: space-between;
  width: 100%;
}

.servizirow2 .servizicontent:nth-child(1) {
  border-left: 1px solid var(--wp--preset--color--custom-blu-scuro);
}

.servizirow2 .servizicontent:nth-child(3) {
  border-top: 1px solid var(--wp--preset--color--custom-blu-scuro);
}

.calltoactionwrap {
  justify-content: space-between;
}

.calltoactionwrap h4 {
  font-size: 6cqw !important;
  width: 70%;
  text-wrap-style: pretty;
  line-height: 110px;
  font-weight: 600;
}

.btnservizi a,
.callactionbtn a {
  background: #fff;
  color: var(--wp--preset--color--custom-blu-scuro);
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: 600;
}

.btnservizi a:hover,
.callactionbtn a:hover {
  background: var(--wp--preset--color--custom-giallino);
}

.callactionbtn a:hover {
  background: var(--wp--preset--color--custom-blu-scuro);
  color: #fff;
}

.btnservizi a:hover:after {
  transform: rotate(-180deg);
}

.callactionbtn a:hover:after {
  filter: brightness(0) invert(1);
  transform: rotate(-225deg);
}

.btnservizi a:after,
.callactionbtn a:after {
  content: "";
  background-image: url(/wp-content/uploads/2025/09/arrow-up-right.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.callactionbtn a:after {
  transform: rotate(-180deg);
}

.hompagetemplate {
  margin-block-start: 0 !important;
}

.paginetitolo2Wrap {
  align-items: flex-end;
  width: fit-content;
  margin-right: inherit !important;
}

.paginetitolo1 {
  align-items: flex-start;
}

.paginetitolo1 > * {
  font-size: 5.8cqw !important;
  font-weight: 600;
  line-height: 5.8cqw;
}

.paginetitolo2 {
  gap: 0px;
}

.paginetitolo2 p {
  font-weight: 600;
  font-size: 18px !important;
}

.paginetitolo2 h2 {
  font-weight: 600;
  font-size: 52px !important;
}

.pageitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 0;
  padding: 40px 0;
}

.pagecontent {
  max-width: 70%;
}

.contattibtn {
  width: 80px;
  height: 80px;
  background-color: var(--wp--preset--color--custom-blu-scuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contattibtn::after {
  content: "";
  background-image: url(/wp-content/uploads/2025/09/arrow-angle-down-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
  filter: brightness(0) invert(1);
  margin: 0;
}

.contattibtn:hover:after {
  filter: brightness(0) invert(1);
  transform: rotate(-45deg);
}

.pageitems {
  border-top: 1px solid #000;
  padding: 0;
  background-color: #fff;
}

.pageinnercontent {
  gap: 40px;
  width: 100%;
}

p.pagecounter {
  font-size: 22px;
  font-family: "Bodoni Moda";
  font-style: italic;
  color: var(--wp--preset--color--custom-blu-scuro);
  font-weight: 600;
}

.pagecontent h2 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 28px;
}

.pagecontent {
  gap: 10px;
  font-size: 18px;
}

.pageitem:nth-child(even) {
  background: #000;
  color: #fff;
  width: 100% !important;
  max-width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}
.pageitem:nth-child(even) h2 {
  color: #fff;
}

.pageitem:nth-child(even) .contattibtn {
  background-color: #fff;
}

.pageitem:nth-child(even) .contattibtn::after {
  filter: brightness(1) invert(1);
}

.pagebottomnavcolitem .contattibtn {
  width: 40px;
  background: #000;
  height: 40px;
  border: 1px solid transparent;
  min-width: 40px;
  min-height: 40px;
}

.pagebottomnavcolitem .contattibtn:hover {
  background: #fff;
  border: 1px solid #000;
}

.pagebottomnavcolitem .contattibtn:after {
  transform: rotate(180deg);
}

.pagebottomnavcolitem .contattibtn:hover:after {
  transform: rotate(225deg);
  filter: brightness(1) invert(1);
}

.pagebottomnav {
  padding: 100px 0;
}

.pagebottomnavcol {
  gap: 20px;
  width: 33.333%;
}

.pagebottomnavcoltext h3 {
  font-size: 30px;
  font-weight: 600;
}

.pagebottomnavcoltext h4 {
  font-size: 30px !important;
  line-height: 40px;
}

.pagebottomnavcoltext p {
  font-size: 18px !important;
  margin-top: 40px;
}

.pagebottomnavcoltext {
  gap: 0;
}

.pagebottomnavcolitem {
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.evidenziato1 h3,
.evidenziato2 h3 {
  font-size: 28px;
  line-height: 28px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
}

.evidenziato1,
.evidenziato2 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: stretch;
  background: var(--wp--preset--color--custom-blu-scuro);
  color: #fff;
  padding: 50px 30px;
  max-width: 400px;
  min-height: 350px;
  width: 50%;
}

.evidenziato1 {
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  height: -webkit-fill-available;
  align-items: flex-start;
}

.evidenziato2 {
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  height: -webkit-fill-available;
  align-items: flex-end;
}

.pagebottomnavwrap {
  justify-content: space-between;
  align-items: flex-start;
}

.evidenziawrap {
  gap: 45px;
}

#progetto,
.gallerywrap {
  margin-block-start: 0;
}
.gallerywrap p,
.gallerywrap b {
  display: none;
}

.gallery-slide-info p {
  display: block;
}

.progettititle {
  font-size: 6cqw !important;
  max-width: 60%;
  text-align: left;
  margin: 0;
  display: inline-block;
}

.articleloop img {
  border-top-right-radius: 60px;
}

.articleloop .wp-block-read-more:hover {
  color: #000;
}

#studio-companion-notice {
  display: none !important;
}

/* responsive styles */

.wp-block-navigation__responsive-container-content {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
}

ul.wp-block-navigation__container {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.wp-block-navigation__responsive-container-close {
  right: 42px;
  top: 28px;
}

.serviziitems {
  display: flex;
  flex-direction: column;
}

.servizicontent {
  height: auto;
}

/* ===========================================
   MOBILE DEVICES (Portrait & Landscape)
   =========================================== */

@media screen and (max-width: 1445px) {
  .servizicontent {
    padding: 2rem;
    gap: 2rem;
    justify-content: flex-start;
  }
  .servizispace2 {
    max-height: 500px;
  }
  .serviziwrap > h2 {
    font-size: 32px !important;
  }
}

@media screen and (max-width: 1024px) {
  .little-text-container {
    max-width: 50%;
  }
  .btnservizi a,
  .callactionbtn a {
    font-size: 14px;
  }
  .servizicontent p {
    font-size: 16px !important;
  }
  .pagebottomnavwrap {
    flex-wrap: wrap;
  }
  .pagebottomnavcol {
    width: 100%;
  }
  .evidenziawrap {
    gap: 0;
  }
  .evidenziawrap > div {
    width: 50%;
  }
  .pageitem {
    padding: 20px 0;
  }
  .contattibtn {
    width: 90px;
  }
}

@media screen and (max-width: 768px) {
  .servizispace2:after,
  .servizispace2:before,
  .servizispace1:after,
  .servizispace1:before {
    display: none;
  }
  .servizirow2 {
    gap: 0 !important;
  }
  .servizicontent {
    padding: 2rem 15px !important;
  }
  .text-container-wrapper {
    flex-direction: column-reverse;
    gap: 10%;
  }
  .text-container-wrapper > div {
    position: relative;
    top: inherit;
    bottom: inherit;
  }
  .pagebottomnavwrap {
    flex-wrap: wrap;
  }
  .pagebottomnavcol {
    width: 100%;
  }
  .evidenziawrap {
    gap: 0;
  }
  .evidenziawrap > div {
    width: 50%;
  }
  .pageitem {
    padding: 20px 0;
  }
  .contattibtn {
    width: 90px;
  }
  .copywriteFooter > * {
    width: 33%;
  }
}

@media screen and (max-width: 767px) {
  .contattibtn {
    width: 80px;
  }
  .evidenziawrap > div {
    width: 100%;
  }
  .copywriteFooter {
    flex-direction: column;
    width: 90%;
    text-align: center;
  }
  .copywriteFooter > * {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .wp-block-navigation__responsive-container-content {
    padding-top: 100px !important;
    padding-left: 20px !important;
  }
  .servizispace2:after,
  .servizispace2:before,
  .servizispace1:after,
  .servizispace1:before {
    display: none;
  }

  .text-container-wrapper {
    flex-direction: column-reverse;
    gap: 10%;
  }
  .text-container-wrapper > div {
    position: relative;
    top: inherit;
    bottom: inherit;
  }
  .servizicontent {
    padding: 2rem;
    gap: 2rem;
    justify-content: flex-start;
  }
}

/* Large Phone Portrait (481px - 540px) */
@media screen and (min-width: 481px) and (max-width: 540px) and (orientation: portrait) {
  .little-text-container {
    max-width: 100%;
  }

  .servizirow1,
  .servizirow2 {
    flex-direction: column;
  }
  .servizicontent {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .backtotop {
    bottom: 0px;
    right: 10px;
  }

  .pagebottomnavwrap {
    flex-direction: column;
    width: 100%;
  }
  .pagebottomnavcol {
    width: 100%;
  }

  .evidenziawrap {
    flex-direction: column;
  }

  .headerButton a {
    position: fixed;
    bottom: 12px;
    left: 12px;
    width: auto !important;
    height: auto;
    z-index: 9999999;
  }
  .text-container,
  .gradient-bg {
    width: 100%;
  }
  .big-title-icon svg,
  .big-title2-icon svg {
    width: 65px;
    height: auto;
  }
  .aboutuswrapper {
    flex-direction: column;
  }
  .animated-text-container {
    font-size: 32px;
  }
  .headerlogo {
    z-index: 9999999999;
  }
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #000 !important;
  }
  .mission,
  .vision {
    flex-direction: column;
  }
  .vision {
    flex-direction: column-reverse;
  }
  .mission > *,
  .vision > * {
    width: 100%;
  }
  .missionvision {
    width: 100%;
  }
  .wp-block-group:has(> .about2-title1) {
    padding-bottom: 45px !important;
    margin-top: -5em !important;
  }
  .attivitatop > div {
    flex-direction: column;
  }
  .attivitatop > div > * {
    width: 100%;
  }

  .attivitarow {
    flex-direction: column;
  }
  .attivitacontentwrap {
    align-items: flex-start;
  }
  .attivitatitle {
    font-size: 22px;
  }
  .attivitacontentwrap {
    width: 100%;
    gap: 12px;
  }
  .serviziwrap > h3 {
    margin-top: 28px;
    line-height: inherit;
    text-align: left;
  }
  .servizirow1 > div {
    width: 100%;
  }
  .servizicontent {
    padding: 15px;
  }
  .servizispace1 {
    display: none;
  }
  .servizirow2 {
    flex-direction: column;
    gap: 0;
    margin-top: 45px;
  }
  .servizirow2 > *,
  .servizirow1 > figure {
    width: 100%;
  }
  .calltoactionwrap {
    flex-direction: column;
  }
  .calltoactionwrap h4 {
    width: 100%;
    text-align: center;
    line-height: inherit;
  }
  .contattiWrapper {
    flex-direction: column;
  }
  .contattiWrapper > div {
    width: 100%;
  }
  .contattiWrapper h4 {
    max-width: 100%;
    font-size: 38px !important;
  }
  footer button[aria-label="Apri menu"] {
    display: none;
  }
  .backtotop img {
    width: 50px;
    height: 50px;
  }
  .copywriteFooter .wp-block-group {
    flex-direction: column;
  }
  .copywriteFooter {
    align-items: flex-start;
  }
  .progettititle {
    font-size: 11cqw !important;
    max-width: 100%;
  }
}

/* Mobile Portrait (320px - 480px) */
@media screen and (max-width: 480px) and (orientation: portrait) {
  .servizirow1,
  .servizirow2 {
    flex-direction: column;
  }
  .servizicontent {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .little-text-container {
    max-width: 100%;
  }
  .backtotop {
    bottom: 0px;
    right: 10px;
  }

  .pagebottomnavwrap {
    flex-direction: column;
    width: 100%;
  }
  .pagebottomnavcol {
    width: 100%;
  }

  .evidenziawrap {
    flex-direction: column;
  }

  .pageitem {
    flex-direction: column;
    align-items: flex-end;
  }
  .pageinnercontent {
    gap: 10px;
    width: 100%;
    align-items: flex-start;
  }

  .pagecontent {
    max-width: 100%;
  }

  .paginetitolo2 h2 {
    font-size: 36px !important;
  }

  .headerButton a {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: auto !important;
    height: auto;
    z-index: 9999999;
  }
  .text-container,
  .gradient-bg {
    width: 100%;
  }
  .big-title-icon svg,
  .big-title2-icon svg {
    width: 60px;
    height: auto;
  }
  .aboutuswrapper {
    flex-direction: column;
  }
  .animated-text-container {
    font-size: 30px;
  }
  .headerlogo {
    z-index: 9999999999;
  }
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #000 !important;
  }
  .mission,
  .vision {
    flex-direction: column;
  }
  .vision {
    flex-direction: column-reverse;
  }
  .mission > *,
  .vision > * {
    width: 100%;
  }
  .missionvision {
    width: 100%;
  }
  .wp-block-group:has(> .about2-title1) {
    padding-bottom: 40px !important;
    margin-top: -6em !important;
  }
  .attivitatop > div {
    flex-direction: column;
  }
  .attivitatop > div > * {
    width: 100%;
  }

  .attivitarow {
    flex-direction: column;
  }
  .attivitacontentwrap {
    align-items: flex-start;
  }
  .attivitatitle {
    font-size: 20px;
  }
  .attivitacontentwrap {
    width: 100%;
    gap: 10px;
  }
  .serviziwrap > h3 {
    margin-top: 25px;
    line-height: inherit;
    text-align: left;
  }
  .servizirow1 > div {
    width: 100%;
  }
  .servizicontent {
    padding: 10px;
  }
  .servizispace1 {
    display: none;
  }
  .servizirow2 {
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }
  .servizirow2 > *,
  .servizirow1 > figure {
    width: 100%;
  }
  .calltoactionwrap {
    flex-direction: column;
  }
  .calltoactionwrap h4 {
    width: 100%;
    text-align: center;
    line-height: inherit;
  }
  .contattiWrapper {
    flex-direction: column;
  }
  .contattiWrapper > div {
    width: 100%;
  }
  .contattiWrapper h4 {
    max-width: 100%;
    font-size: 36px !important;
  }
  footer button[aria-label="Apri menu"] {
    display: none;
  }
  .backtotop img {
    width: 50px;
    height: 50px;
  }
  .copywriteFooter .wp-block-group {
    flex-direction: column;
  }
  .copywriteFooter {
    align-items: flex-start;
  }
  .progettititle {
    font-size: 12cqw !important;
    max-width: 100%;
  }
}

/* Mobile Landscape (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
  .servizirow1,
  .servizirow2 {
    flex-direction: column;
  }
  .servizicontent {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .little-text-container {
    max-width: 100%;
  }

  .backtotop {
    bottom: 0px;
    right: 10px;
  }

  .headerButton a {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto !important;
    height: auto;
    z-index: 9999999;
  }
  .text-container,
  .gradient-bg {
    width: 100%;
  }
  .big-title-icon svg,
  .big-title2-icon svg {
    width: 80px;
    height: auto;
  }
  .aboutuswrapper {
    flex-direction: row;
    gap: 3cqw;
  }
  .animated-text-container {
    font-size: 40px;
  }
  .headerlogo {
    z-index: 9999999999;
  }
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #000 !important;
  }
  .mission,
  .vision {
    flex-direction: row;
    gap: 3em;
  }
  .vision {
    flex-direction: row-reverse;
  }
  .mission > *,
  .vision > * {
    width: 50%;
  }
  .missionvision {
    width: 40%;
  }
  .wp-block-group:has(> .about2-title1) {
    padding-bottom: 60px !important;
    margin-top: -4em !important;
  }
  .attivitatop > div {
    flex-direction: row;
  }
  .attivitatop > div > * {
    width: 50%;
  }

  .attivitarow {
    flex-direction: row;
  }
  .attivitacontentwrap {
    align-items: center;
  }
  .attivitatitle {
    font-size: 24px;
  }
  .attivitacontentwrap {
    width: 50%;
    gap: 20px;
  }
  .serviziwrap > h3 {
    margin-top: 0;
    line-height: inherit;
    text-align: left;
  }
  .servizirow1 > div {
    width: 66.667%;
  }
  .servizicontent {
    padding: 40px;
  }
  .servizispace1 {
    display: block;
  }
  .servizirow2 {
    flex-direction: row;
    gap: 0;
    margin-top: 0;
  }
  .servizirow2 > *,
  .servizirow1 > figure {
    width: 33.333%;
  }
  .calltoactionwrap {
    flex-direction: row;
  }
  .calltoactionwrap h4 {
    width: 70%;
    text-align: left;
    line-height: inherit;
  }
  .contattiWrapper {
    flex-direction: row;
  }
  .contattiWrapper > div {
    width: 50%;
  }
  .contattiWrapper h4 {
    max-width: 90%;
    font-size: 24px !important;
  }
  footer button[aria-label="Apri menu"] {
    display: block;
  }
  .backtotop img {
    width: 60px;
    height: 60px;
  }
  .copywriteFooter .wp-block-group {
    flex-direction: row;
  }
  .copywriteFooter {
    align-items: center;
  }
  .progettititle {
    font-size: 6cqw !important;
    max-width: 60%;
  }
}

/* ===========================================
   TABLET DEVICES (Portrait & Landscape)
   =========================================== */

/* Tablet Portrait (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .backtotop {
    bottom: 0px;
    right: 10px;
  }

  .headerButton a {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: auto !important;
    height: auto;
    z-index: 9999999;
  }
  .text-container,
  .gradient-bg {
    width: 100%;
  }
  .big-title-icon svg,
  .big-title2-icon svg {
    width: 60px;
    height: auto;
  }
  .aboutuswrapper {
    flex-direction: column;
  }
  .animated-text-container {
    font-size: 30px;
  }
  .headerlogo {
    z-index: 9999999999;
  }
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #000 !important;
  }

  .wp-block-group:has(> .about2-title1) {
    padding-bottom: 40px !important;
    margin-top: -6em !important;
  }
  .attivitatop > div {
    flex-direction: column;
  }
  .attivitatop > div > * {
    width: 100%;
  }

  .attivitatitle {
    font-size: 20px;
  }
  .attivitacontentwrap {
    width: 100%;
    gap: 10px;
  }

  .calltoactionwrap {
    flex-direction: column;
  }
  .calltoactionwrap h4 {
    width: 100%;
    text-align: center;
    line-height: inherit;
  }
  .contattiWrapper {
    flex-direction: column;
  }
  .contattiWrapper > div {
    width: 100%;
  }
  .contattiWrapper h4 {
    max-width: 100%;
    font-size: 36px !important;
  }
  footer button[aria-label="Apri menu"] {
    display: none;
  }
  .backtotop img {
    width: 60px;
    height: 60px;
  }
  .copywriteFooter .wp-block-group {
    flex-direction: column;
  }
  .copywriteFooter {
    align-items: flex-start;
  }
  .progettititle {
    font-size: 12cqw !important;
    max-width: 100%;
  }
}

/* Tablet Landscape (1025px - 1366px) */
@media screen and (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
  .backtotop {
    bottom: 0px;
    right: 10px;
  }

  .headerButton a {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto !important;
    height: auto;
    z-index: 9999999;
  }
  .text-container,
  .gradient-bg {
    width: 100%;
  }
  .big-title-icon svg,
  .big-title2-icon svg {
    width: 100px;
    height: auto;
  }
  .aboutuswrapper {
    flex-direction: row;
    gap: 4cqw;
  }
  .animated-text-container {
    font-size: 50px;
  }
  .headerlogo {
    z-index: 9999999999;
  }
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #000 !important;
  }
  .mission,
  .vision {
    flex-direction: row;
    gap: 4em;
  }
  .vision {
    flex-direction: row-reverse;
  }
  .mission > *,
  .vision > * {
    width: 50%;
  }
  .missionvision {
    width: 40%;
  }
  .wp-block-group:has(> .about2-title1) {
    padding-bottom: 80px !important;
    margin-top: -3em !important;
  }
  .attivitatop > div {
    flex-direction: row;
  }
  .attivitatop > div > * {
    width: 50%;
  }

  .attivitarow {
    flex-direction: row;
  }
  .attivitacontentwrap {
    align-items: center;
  }
  .attivitatitle {
    font-size: 32px;
  }
  .attivitacontentwrap {
    width: 50%;
    gap: 25px;
  }
  .serviziwrap > h3 {
    margin-top: 0;
    line-height: inherit;
    text-align: left;
  }
  .servizirow1 > div {
    width: 66.667%;
  }
  .servizicontent {
    padding: 2rem;
  }
  .servizispace1 {
    display: block;
  }
  .servizirow2 {
    flex-direction: row;
    gap: 0;
    margin-top: 0;
  }
  .servizirow2 > *,
  .servizirow1 > figure {
    width: 33.333%;
  }
  .calltoactionwrap {
    flex-direction: row;
  }
  .calltoactionwrap h4 {
    width: 70%;
    text-align: left;
    line-height: inherit;
  }
  .contattiWrapper {
    flex-direction: row;
  }
  .contattiWrapper > div {
    width: 50%;
  }
  .contattiWrapper h4 {
    max-width: 90%;
    font-size: 24px !important;
  }
  footer button[aria-label="Apri menu"] {
    display: block;
  }
  .backtotop img {
    width: 60px;
    height: 60px;
  }
  .copywriteFooter .wp-block-group {
    flex-direction: row;
  }
  .copywriteFooter {
    align-items: center;
  }
  .progettititle {
    font-size: 6cqw !important;
    max-width: 60%;
  }
}

/* ===========================================
   SMALL LAPTOPS (Portrait & Landscape)
   =========================================== */

/* Small Laptop Portrait (1367px - 1440px) */
@media screen and (min-width: 1367px) and (max-width: 1440px) and (orientation: portrait) {
}

/* Small Laptop Landscape (1441px - 1600px) */
@media screen and (min-width: 1441px) and (max-width: 1600px) and (orientation: landscape) {
}

/* ===========================================
   GENERAL RESPONSIVE ADJUSTMENTS
   =========================================== */

/* Hide elements on very small screens */
@media screen and (max-width: 320px) {
}

/* Print styles */
@media print {
  .backtotop,
  .mainNavigation,
  .headerButton {
    display: none !important;
  }

  .mainMenu,
  .contattiWrapper,
  .copywriteFooter {
    width: 100% !important;
  }

  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* High DPI displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
  screen and (min-resolution: 192dpi) {
  .backtotop img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape Orientation Blocker */
@media screen and (orientation: landscape) and (max-height: 600px) {
  body {
    overflow: hidden;
  }

  body::before {
    content: "Ruota il tuo dispositivo in modalità verticale per la migliore esperienza di visualizzazione";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    z-index: 99999999;
    padding: 20px;
    box-sizing: border-box;
  }

  /* Hide all content when in landscape */
  body > *:not(body::before) {
    display: none !important;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .backtotop {
    transition: none;
  }

  .backtotop img {
    transition: none;
  }
}