/*
 Theme Name:   Parabola Child
 Theme URI: https://www.ilpoliedrico.com/
 Author: Umberto Genovese
 Author URI: https://www.ilpoliedrico.com/
 Description: Tema child per Parabola con personalizzazioni avanzate per font, citazioni e performance.
 Template: parabola
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Tags: blog, custom-fonts, responsive, citation, tinyMCE
 Text Domain: parabola
*/
.wrapper {
  overflow: visible;
  position: relative;
  width: 100%;
  height: auto;
}
#branding #bg_image + #header-container {
   position: relative !important;
}
#header-widget-area ul.yoyo > li {
    margin-top: 80px;
    border: none;
    background: none;
}


#bg_image {
  display: block !important;
  transition: transform 0.6s ease !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  will-change: transform;
}

#bg_image:hover {
  transform: scale(1.04) !important;
  
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}
.wp-caption{
	border: 5px solid #f2f2f2;
    box-shadow: 0 0 1px #CCC;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
}

.wp-caption:hover {
  opacity: 1;
  transform: scale(1.02) translateZ(0);
  backface-visibility: hidden;
   cursor: pointer;
}

.wp-caption .wp-caption-text {
  font-size: 0.85em; /* oppure 12px, 0.9rem, ecc. */
  color: #666; /* opzionale: colore più tenue */
  font-style: italic; /* opzionale: stile didascalia */
  background-color: rgba(255, 255, 255, 0.7);
  padding: 4px 8px;
  border-radius: 4px;
}

.parabola-image-four .entry-content img[class*='align'], 
.parabola-image-four .entry-content [class*='wp-block'][class*='align'] img{
    border: 5px solid #f2f2f2;
    box-shadow: 0 0 1px #CCC;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
}
 

.parabola-image-four .entry-content img[class*='align']:hover, 
.parabola-image-four .entry-content [class*='wp-block'][class*='align'] img:hover{
  opacity: 1;
  transform: scale(1.02) translateZ(0);
  backface-visibility: hidden;
   cursor: pointer;
  }

a img {
	border-radius: 8px;
	}

.carousel-wrapper.loaded::before { display: none; }

.carousel-wrapper {
  min-height: 420px; /* usa il valore vero */
  background: #f2f2f2; /* colore placeholder neutro */
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-wrapper::before {
  content: "Caricamento…";
  color: #666;
  font-size: 0.9rem;
}


/* 1. Importa il font Michroma */
@font-face {
  font-family: 'Michroma';
  src: url('/wp-content/themes/parabola-child/assets/fonts/Michroma-Regular.woff2') format('woff2'),
       url('/wp-content/themes/parabola-child/assets/fonts/Michroma-Regular.woff') format('woff'),	
       url('/wp-content/themes/parabola-child/assets/fonts/Michroma-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 2. Applica Michroma globalmente 
body, h1, h2, h3, h4, h5, h6, p, a, li, blockquote, input, textarea, button, label, nav, span, div {
  font-family: 'Michroma', sans-serif;
} */
.post-grid-preview {
  min-height: 250px; /* altezza media card */
  background: #eee;
  position: relative;
}

.acs-footer {
font-size:14px;
opacity: 0.6;
 transition: transform 0.4s ease
}
opacity: 1;
.acs-footer:hover { box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);



}
add_action('admin_head', function() {
    echo '<style>
    #gpg-validate-btn {
        background: #4CAF50 !important;
        border-color: #3d8b40 !important;
    }
    #gpg-validate-btn:hover {
        background: #3d8b40 !important;
    }
    </style>';
});