 .h1 {
     display: none;
 }

 @import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inconsolata:wght@200..900&family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

 h2 {
     justify-self: center;
     padding-top: 150px;
     padding-bottom: 50px;
     font-family: Verdana, Geneva, Tahoma, sans-serif;
     font-weight: 600;
     color: #e07a5f;
     font-size: 50px;
     letter-spacing: 1px;
 }

 .hamburger span {
     display: block;
     height: 3px;
     width: 100%;
     background: #333;
     border-radius: 2px;
     transition: 0.3s ease;
 }

 .header::before {
     background: transparent;
 }

 .gbox2 a {
     text-decoration: none;
     color: black;
 }

 .tag a:hover {
     color: white;
 }

 .grid-wrapper {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px;
     padding: 20px;
     align-items: stretch;
 }

 .grid-wrapper>div {
     padding: 30px;
     display: flex;
     align-items: flex-start;
     gap: 30px;
 }

 .gbox1 {
     position: relative;
     background-color: #fcf1c5;
     background-position: center center;
     background-size: cover;
     background-repeat: no-repeat;
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
     font-size: xx-large;
     font-weight: 600;
     color: white;
     transition: box-shadow 0.3s ease, transform 0.3s ease;
     overflow: hidden;
     border-radius: 30px;
     justify-self: center;
 }


 .gbox2 {
     background-color: #fff3c5;
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
     color: rgb(29, 16, 16);
     transition: box-shadow 0.3s ease, transform 0.3s ease;
     overflow: hidden;
     border-radius: 30px;
     min-height: 300px;
     display: flex;
     flex-direction: column;
     gap: 20px;
     padding: 30px;
     font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
     justify-self: center;
 }

 .gbox2 a {
     display: contents;
 }



 .gbox1,
 .gbox2 {
     max-width: 650px;
     /* rimuovi max-height */
     min-height: 300px;
     /* mantiene un'altezza minima se vuoi */
     width: 100%;
 }

 .gbox1::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 45%;
     background: linear-gradient(to bottom,
             rgba(0, 0, 0, 0.65),
             rgba(0, 0, 0, 0));
     z-index: 1;
     pointer-events: none;
 }

 .gbox1 {
     position: relative;
 }

 .gbox1 * {
     position: relative;
     z-index: 2;
     /* titolo sopra l’ombra */
 }

 hr.divisore {
     border: 0;
     height: 2px;
     background-color: #000000;
     /* colore della linea */
     margin: 40px 0;
     /* spazio sopra e sotto */
     border-radius: 2px;
 }

 .tag-contatti {
     border: solid rgb(235, 122, 88);
     border-radius: 20px;
     display: flex;
     flex-wrap: wrap;
     margin-top: 0;
     padding: 15px;
     height: auto;
     width: 100%;
     box-sizing: border-box;
     overflow: hidden;
 }

 .tag {
     color: black;
     padding: 8px 16px;
     border-radius: 20px;
     font-size: 0.9rem;
     cursor: pointer;
     background-color: #fff3c5;
     font-weight: 500;
     white-space: normal;
     white-space: normal;
     overflow-wrap: break-word;
     word-break: break-word;
 }

 .tag:hover {
     background-color: transparent;
 }

 .tag a:hover {
     color: rgb(29, 117, 41);
     transform: scale(2);
     font-weight: 500;
     text-decoration: underline;
 }



 @media (max-width: 650px) {

     .gbox1 {

         position: relative;
         background-color: #fcf1c5;
         background-position: center center;
         background-size: cover;
         background-repeat: no-repeat;
         box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
         font-size: xx-large;
         font-weight: 600;
         color: white;
         transition: box-shadow 0.3s;
         overflow: hidden;
         border-radius: 30px;
         min-height: 300px;
     }

     .gbox2 {
         background-color: #fff3c5;
         box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
         color: rgb(29, 16, 16);
         overflow: hidden;
         border-radius: 30px;
         display: flex;
         flex-direction: column;
         justify-content: space-between;
         padding: 30px;
         height: auto;
         width: auto;
         font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
         max-height: none;
         max-width: none;
     }

     .grid-wrapper {
         display: flex;
         flex-direction: column;
     }
 }