/*
Theme Name: twentytwentyfive-child
Theme URI: https://wp.ditsolution.net/techno/
Description: Tema figlio di twentytwentyfive
Author:       Salvatore Martinico
Author URI:   http://example.com
Template:     twentytwentyfive
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:  twentytwentyfive-child
*/

/* Riduci spazio tra header e contenuto principale */
header,
.wp-site-header {
  margin-bottom: 0 !important; /* elimina eventuale margine sotto l’header */
  padding-bottom: 0 !important;
}

main,
.wp-block-group.is-layout-constrained {
  margin-top: 0 !important; /* elimina margine sopra il main */
  padding-top: 0; /* se vuoi un minimo respiro */
}


/* FEATURES SECTION */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.icon {
    border: 2px solid #e30000; /* rosso */
    color: #e30000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
}

.feature-box h3 {
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
}

.feature-box p {
    color: #444;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 10px;
        gap: 20px;
    }
}

/* --- SITE TITLE 3D --- */

  .wp-block-site-title a {
	  font-family: "Poppins", sans-serif;
	  font-weight: 600;
	  color: #111;
	  text-decoration: none;
	  font-size: 1.8rem;
	  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .wp-block-site-title a {
    font-size: 2rem;
    letter-spacing: 2px;
  }
}


/* stats */
.stats-section {
 width: 100vw !important; /* prende tutta la viewport */
  margin-left: calc(50% - 50vw); /* forza l'allineamento ai bordi */
  margin-right: calc(50% - 50vw);
  background-color: #e6f3ff;
  padding: 80px 5%;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  color: #333;
  box-sizing: border-box;
}



.stats-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.stats-section h2 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #222;
}

.stats-section p.subtitle {
  font-size: 17px;
  color: #555;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.stat-box {
  background: #fff;
  border-radius: 18px;
  padding: 40px 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 360px;
}

.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.stat-icon {
  font-size: 44px;
  color: #ff3b3b; /* rosso per icone */
  margin-bottom: 15px;
}

.stat-number {
  font-size: 30px;
  color: #ff3b3b;
  font-weight: bold;
}

.stat-text {
  font-size: 15px;
  color: #555;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}



/* --- FOOTER LAYOUT --- */
.site-footer .footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .footer-column {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.site-footer .footer-left img {
  max-height: 100px;
  width: auto;
}

.site-footer h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.site-footer p {
  margin: 5px 0;
  line-height: 1.6;
  color: #e5e5e5;
}

.site-footer a {
  color: #e5e5e5;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .site-footer .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer .footer-column {
    text-align: center;
  }
}

/* fine footer */

body.page-id-18387 h1.wp-block-post-title{display:none}
body h1.wp-block-post-title{
font-size:2.2em; margin-bottom:10px; color:#0a4d8c;text-align:center;
}

.align-center{text-align:center}
.align-right{text-align:right}

.knx-logo{ display:inline-block;  }


