.iub__us-widget { display: none !important; }
.fake_link { cursor: default; }
.check-ico { display: inline-block; width: 1.1em; height: 1.1em; margin-right: 0.6em; vertical-align: -0.2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5c24a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") no-repeat center / contain; }

section#contact-cta {padding: 7.5rem 0 8.75rem; background-attachment: fixed; color: var(--white); position:relative;overflow:hidden;background-image:url('../images/bg-contact.webp');background-size:cover;background-position:center;background-repeat:no-repeat;}
section#contact-cta a { text-decoration: underline;}
section#contact-cta::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.75);z-index:1;}
.no-webp section#contact-cta{background-image:url('../images/bg-contact.jpg');}
section#contact-cta .container .caption {position: relative; z-index: 2; text-align: center; }
section#contact-cta .pre-title { margin-bottom: 1.25rem; font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: var(--weight-mid-thin); }
section#contact-cta h2 { margin: 0; font-size: 3rem; letter-spacing: -0.02em; font-weight: var(--weight-semi-bold); }
section#contact-cta p { margin: 1rem 0 0; font-size: 1.25rem; font-weight: var(--weight-semi-bold); font-weight: var(--weight-mid-thin); line-height: 1.7; }

footer {background-color: var(--bg-dark-1);color: rgb(197, 197, 197);}
footer .menu ul { margin-left: 0; padding-left: 0;}
footer h5 {margin: 0 0 1rem 0;font-size: 1.25rem;font-weight: var(--weight-medium);color: var(--white);}
footer a {position: relative;display: inline-block;transition: .3s;}
footer a:not(.fake_link):hover {  background: linear-gradient(to bottom, #f0d08a 0%, #c4944b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;}
footer a:not(.col-social-content a):not(.logo a):not(.fake_link):after {content: "";position: absolute;width: 0;height: 0.125rem;bottom: 0;left: 0;background-color: #c4ac4b;visibility: visible;transition: all 0.3s;}
footer a:not(.col-social-content a):not(.logo a):hover:after {width: 100%;}
footer a svg {width: 16px;height: 16px;transition: .2s;}
footer a svg path {fill: var(--white);}
footer a:hover svg path {fill: #c4944b;}
footer li, footer p {margin: 0.5rem 0 0;padding: 0 0 0.125rem;}
footer .row {display: flex;flex-wrap: wrap;margin: 0 -16px;justify-content: space-between;}
footer .web-design a {display: table;}
footer .footer__top .row .col, footer .footer__bottom .row .col:not(.copy) {padding: 16px;}
footer .footer__top .row .col {max-width: 20%;padding-top: 1.5rem;}
footer .col-social-content {display: flex;}
footer .col-social-content a {margin-right: 1rem;border-radius: 100%;width: 2.75rem;height: 2.75rem;display: flex;justify-content: center;align-items: center;border: 1px solid rgba(255, 255, 255, 0.1);}
footer .col-social-content a:last-of-type {margin: 0;}
footer .logo img {max-width: 150px;}
.footer__bottom {padding: 2.5rem 0;font-size: 0.875rem;border-top: 1px solid rgba(255, 255, 255, 0.1);}
#menu-policy, #menu-menu-footer {margin: 0;padding: 0;display: flex;flex-wrap: wrap;}
#menu-menu-footer {flex-direction: column;}
#menu-menu-footer .sub-menu { padding: 0; }
#menu-policy li {padding: 0 0.8rem; margin: 0; }

.parallax-img { overflow: hidden; position: relative; min-height: 60vh; }
.parallax-img img { width: 110%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);  }

form { margin: 0 -1rem 3rem; text-align: left;}
form .name { display: flex; }
form p { padding: 0 1rem; }
form .name p { width: 50%; }
form .name p input { width: 100%; }
form input,
form textarea { border-top: 0; border-left: 0; border-right: 0; border-radius: 0; background-color: transparent; color:var(--white); }
form input:focus-visible,
form input:focus,
form textarea:focus { outline: none; color:var(--white);}
form textarea:focus-visible { outline: none; }
form textarea { height: 80px; }
form .mail input { width: 100%; }
form input[type=submit] { background: linear-gradient(135deg, #e5d16f 0%, #a46d2a 100%); color: #1a1a1a; border: 0; font-weight: 700; font-size: 1.0625rem; text-transform: lowercase; border-radius: 10rem; padding: 1rem 2.5rem; box-shadow: 0 4px 15px rgba(196, 148, 75, 0.3); transition: .3s; cursor: pointer; }
form input[type=submit]:not(input[type=submit][disabled=disabled]):hover { background: #121212; color: var(--primary-color); transition: .3s; }
.hidden-fields-container {opacity: 0 !important;}
.screen-reader-response { display: none;}
.wpcf7-response-output { margin-top: 15px; color: #d84747;}
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: var(--white) !important;
  caret-color: var(--white);
  transition: background-color 5000s ease-in-out 0s;
}

/* nel blog */
.recent-posts-section{margin:3rem 0;padding:2.5rem;background:#131419;border-radius:20px;position:relative;overflow:hidden;max-width:100%;}
.recent-posts-section::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');opacity:0.5;}
.recent-posts-section h4{position:relative;z-index:2;margin-bottom:2rem;font-size:2rem;font-weight:700;color:var(--primary-color);text-align:center;text-shadow:0 2px 4px rgba(0,0,0,0.5);}
.recent-posts-grid{position:relative;z-index:2;display:flex;gap:2rem;width:100%;}
.recent-post-item{background:rgba(255,255,255,0.98);backdrop-filter:blur(10px);border-radius:16px;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,0.3),0 2px 8px rgba(0,0,0,0.2);transition:all 0.4s cubic-bezier(0.25,0.8,0.25,1);border:1px solid rgba(111,177,71,0.2);flex:1;min-width:0;}
.recent-post-item:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 20px 40px rgba(0,0,0,0.4),0 8px 16px rgba(111,177,71,0.3);}
.recent-post-thumbnail{position:relative;overflow:hidden;height:220px;}
.recent-post-thumbnail::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background: linear-gradient(45deg, rgb(231 214 25 / 80%), rgb(145 143 55 / 80%));opacity:0;transition:opacity 0.3s ease;z-index:1;}
.recent-post-item:hover .recent-post-thumbnail::before{opacity:1;}
.recent-post-thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s ease;filter:brightness(1.1) contrast(1.1);will-change:transform;}
.recent-post-item:hover .recent-post-thumbnail img{transform:scale(1.1);}
.recent-post-content{padding:1.8rem;position:relative;}
.recent-post-title{margin:0 0 1rem 0;font-size:1.3rem;font-weight:600;line-height:1.4;}
.recent-post-title a{text-decoration:none;color:#2d3748;transition:all 0.3s ease;position:relative;}
.recent-post-title a::after{content:'';position:absolute;width:0;height:2px;bottom:-2px;left:0;background:linear-gradient(45deg,#6FB147,#5a9137);transition:width 0.3s ease;}
.recent-post-title a:hover{color:#6FB147;}
.recent-post-title a:hover::after{width:100%;}
.recent-post-meta{display:flex;align-items:center;gap:0.5rem;font-size:0.9rem;color:#718096;font-weight:500;}
.recent-post-meta time{font-style:normal;padding:0.25rem 0.75rem;background: linear-gradient(45deg, #FFEB3B, #FFC107);
    color: #000;border-radius:12px;font-size:0.8rem;font-weight:600;letter-spacing:0.5px;}
.recent-post-item{animation:slideInUp 0.6s ease forwards;opacity:0;transform:translateY(30px);will-change:opacity,transform;}
.recent-post-item:nth-child(1){animation-delay:0.1s;}
.recent-post-item:nth-child(2){animation-delay:0.2s;}
.recent-post-item:nth-child(3){animation-delay:0.3s;}
@keyframes slideInUp{to{opacity:1;transform:translateY(0);}}
@keyframes pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.05);}}
.recent-posts-section h4:hover{animation:pulse 0.6s ease-in-out;}
@media (max-width:768px){.recent-posts-section{margin:2rem 0;padding:1.5rem;border-radius:16px;}.recent-posts-section h4{font-size:1.6rem;margin-bottom:1.5rem;}.recent-posts-grid{flex-direction:column;gap:1.5rem;}.recent-post-thumbnail{height:180px;}.recent-post-content{padding:1.4rem;}.recent-post-title{font-size:1.2rem;}}
@media (max-width:1024px) and (min-width:769px){.recent-posts-grid{flex-wrap:wrap;}.recent-post-item{flex-basis:calc(50% - 1rem);}}
@media (max-width:480px){.recent-posts-section{padding:1rem;margin:1.5rem 0;}.recent-post-content{padding:1rem;}}

/* MEDIA QUERY */

@media screen and (max-width: 1166px) {
  body.blog main#primary {justify-content: space-around;}
  body:not(.page-id-597) article { width: 45%; }
  article .post-thumbnail .post-container { flex-direction: column;}
  article .post-thumbnail h2 { max-width: 95%;}
}

@media screen and (max-width: 992px) {
  #inter-menu .nav__content { padding-right: 0;}

  footer .footer__top .row { align-items: center; }
  footer .footer__top .row .col { padding-left: 6rem; max-width: 50%; width: 50%; }
  .footer__bottom { padding: 2.5rem 2rem; }
}

@media screen and (max-width: 821px) {
  section#contact-cta { background-position: center 0 !important;}

  body.blog main#primary { flex-direction: column; align-items: center;}
  body:not(.page-id-597) article { width: 90%; }
  body.blog main header h1 { margin: 5rem 20px 0; font-size: 3.8rem; }
}

@media screen and (max-width: 768px) {

  /* Disable parallax background on mobile for performance */
  section#contact-cta { background-attachment: scroll !important; }

  .upButton {bottom: 7rem;}

  .footer__bottom .row { align-items: center; padding: 0 2rem;}

  footer .footer__top .row .col { padding: 16px; max-width: 100%; width: 100%; text-align: center; }
  footer .web-design a { display: inline-block;}
  footer .col-social-content { justify-content: center;}
}

@media screen and (max-width: 576px) {
	
  footer .footer__top .row { padding-top: 2.5rem; }
  footer .footer__top .row .col { padding-left: 5rem; }

}

@media screen and (max-width: 415px) {

    footer .footer__top .row .col { padding-left: 2rem; }
    .footer__bottom { padding: 2.5rem 0; font-size: 1rem; }
    .footer__bottom .row { justify-content: center; }

    main#primary .not-found .page-content { max-width: 100%;}

    body.blog main header h1 { font-size: 2.5rem; }
    body:not(.page-id-597) article { width: 90%; margin-bottom: 30px; }

    form .name { flex-direction: column; }
    form .name p { width: 100%; }

    .single-post .entry-content {background-color: #fff; color: #000;}
	.entry-content .share-buttons svg path { fill: #000; }
    .single-post .entry-content a {color: var(--primary-link);}

  }