/*
Theme Name: ThemeTEX
Theme URI: https://europe-digital.com/themetex
Author: Europe Digital LTD
Author URI: https://europe-digital.com
Description: Un tema WordPress leggero con CSS moderno
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tema-leggero-moderno
*/


/*
Theme Name: Purina Responsive Theme
Theme URI: https://example.com/purina-responsive-theme
Author: Il tuo nome
Description: Un tema WordPress leggero e responsive ottimizzato per Purina
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purina-responsive-theme
*/

/* Reset e stile di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    color: #92278F;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: 990px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    background-color: transparent;
    padding: 20px 0;
}

.site-header img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.site-title {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
}
header#masthead img {
    max-width: 100%;
}

/* Navigation */
.main-navigation ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    background-color: #000000;
    padding: 10px 0;
}

.main-navigation li {
    margin: 0 15px;
}

.main-navigation a {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

/* Content */
.site-content {
    background: transparent;
}

.entry-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ed2232;
}

.entry-content {
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}
.site-info img {
    max-width: 200px;
    margin: 0px auto;
}
/* Responsive design */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation li {
        margin: 10px 0;
    }
}



/* CUSTOM */
div#sidebar {
    display: none;
}
nav#site-navigation {
    display: none;
}
/* header#masthead {
    display: none;
}*/
header.entry-header {
    display: none;
} 
.site-footer {
    background-color: #f51d03;
    color: #000000;
    padding: 0px 0;
    text-align: center;
	z-index: 1;

}


.purina-content {
    text-align: center;
}

.purina-dates {
    text-align: center;
    background: #E40A18;
    width: fit-content;
    margin: 0px auto;
    padding: 10px 20px;
	margin-top: 20px;
    font-size: 24px;
    color: white;
}

.purina-dates.spec {
    text-align: center;
    background: linear-gradient(0.25turn, #d28415, #fae6a9, #d28415);
    width: fit-content;
    margin: 0px auto;
    padding: 10px 20px;
	margin-top: 20px;
    font-size: 24px;
    color: #000000;
}

.purina-heading {
    margin-top: 30px;
    margin-bottom: 30px;
}
.purina-heading h2 {
    font-size: 40px;
	color: #E40A18;
}
.purina-heading.spec h2 {
    font-size: 44px;
    color: #000000;
    font-family: 'antenna-purina' !important;
}

.purina-heading p {
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
}


.purina-arrow1 img {
    position: absolute;
    max-width: 440px;
    left: 0px;
    top: 20%;
}
.purina-arrow2 img {
    position: absolute;
    max-width: 440px;
    right: 0px;
    top: 60%;
}

.purina-space-40px {
	height: 540px;
}

/* Responsive design */
@media (max-width: 768px) {
.purina-arrow1 img {
	display: none;
}
.purina-arrow2 img {
	display: none;
}
}


/* popup agenda */

.agenda-button {
  display: block;
  width: 200px;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 18px;
  background-color: #ed2232;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.agenda-button:hover {
  background-color: #c51a29;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.popup-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 5px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.agenda-items {
  margin-top: 20px;
}

.agenda-item {
  display: flex;
  margin-bottom: 10px;
}

.time {
  width: 80px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .popup-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .agenda-item {
    flex-direction: column;
  }
  
  .time {
    width: 100%;
    margin-bottom: 5px;
  }
}




/* --------------------------- BACKGROUND 1 ------------------------------_-------- */

/* 
@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #ffffff;
    overflow: hidden;
	z-index: -1;
}

.background span {
    width: 1vmin;
    height: 1vmin;
    border-radius: 1vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 45;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.background span:nth-child(0) {
    color: #92278F;
    top: 49%;
    left: 23%;
    animation-duration: 54s;
    animation-delay: -10s;
    transform-origin: 5vw -8vh;
    box-shadow: -2vmin 0 0.9606816128296771vmin currentColor;
}
.background span:nth-child(1) {
    color: #92278F;
    top: 79%;
    left: 24%;
    animation-duration: 13s;
    animation-delay: -25s;
    transform-origin: 4vw -4vh;
    box-shadow: -2vmin 0 0.6567179698791354vmin currentColor;
}
.background span:nth-child(2) {
    color: #92278F;
    top: 4%;
    left: 3%;
    animation-duration: 39s;
    animation-delay: -18s;
    transform-origin: -2vw 24vh;
    box-shadow: -2vmin 0 1.0268347561782418vmin currentColor;
}
.background span:nth-child(3) {
    color: #92278F;
    top: 30%;
    left: 91%;
    animation-duration: 49s;
    animation-delay: -42s;
    transform-origin: -22vw 1vh;
    box-shadow: -2vmin 0 0.3873167856600175vmin currentColor;
}
.background span:nth-child(4) {
    color: #92278F;
    top: 24%;
    left: 21%;
    animation-duration: 12s;
    animation-delay: -7s;
    transform-origin: 22vw 15vh;
    box-shadow: 2vmin 0 1.1663150548604004vmin currentColor;
}
.background span:nth-child(5) {
    color: #92278F;
    top: 96%;
    left: 29%;
    animation-duration: 20s;
    animation-delay: -19s;
    transform-origin: 15vw 17vh;
    box-shadow: 2vmin 0 1.1036784384251088vmin currentColor;
}
.background span:nth-child(6) {
    color: #92278F;
    top: 25%;
    left: 80%;
    animation-duration: 13s;
    animation-delay: -36s;
    transform-origin: -6vw 17vh;
    box-shadow: 2vmin 0 0.48938902760976943vmin currentColor;
}
.background span:nth-child(7) {
    color: #92278F;
    top: 30%;
    left: 5%;
    animation-duration: 22s;
    animation-delay: -40s;
    transform-origin: 25vw 15vh;
    box-shadow: 2vmin 0 0.8963337627012453vmin currentColor;
}
.background span:nth-child(8) {
    color: #92278F;
    top: 31%;
    left: 14%;
    animation-duration: 47s;
    animation-delay: -14s;
    transform-origin: 7vw -19vh;
    box-shadow: 2vmin 0 0.5819963112792614vmin currentColor;
}
.background span:nth-child(9) {
    color: #92278F;
    top: 33%;
    left: 81%;
    animation-duration: 39s;
    animation-delay: -36s;
    transform-origin: 13vw 21vh;
    box-shadow: -2vmin 0 0.8848434636261582vmin currentColor;
}
.background span:nth-child(10) {
    color: #92278F;
    top: 43%;
    left: 85%;
    animation-duration: 37s;
    animation-delay: -16s;
    transform-origin: 20vw -11vh;
    box-shadow: 2vmin 0 1.1567844487977605vmin currentColor;
}
.background span:nth-child(11) {
    color: #92278F;
    top: 99%;
    left: 68%;
    animation-duration: 15s;
    animation-delay: -36s;
    transform-origin: 13vw 11vh;
    box-shadow: 2vmin 0 0.8596278707962581vmin currentColor;
}
.background span:nth-child(12) {
    color: #92278F;
    top: 13%;
    left: 88%;
    animation-duration: 30s;
    animation-delay: -13s;
    transform-origin: -16vw 15vh;
    box-shadow: 2vmin 0 0.5291640346278121vmin currentColor;
}
.background span:nth-child(13) {
    color: #92278f8a;
    top: 88%;
    left: 54%;
    animation-duration: 15s;
    animation-delay: -35s;
    transform-origin: 17vw 24vh;
    box-shadow: -2vmin 0 0.626874840407293vmin currentColor;
}
.background span:nth-child(14) {
    color: #92278f8a;
    top: 22%;
    left: 25%;
    animation-duration: 39s;
    animation-delay: -37s;
    transform-origin: 0vw -22vh;
    box-shadow: 2vmin 0 0.30900090748763076vmin currentColor;
}
.background span:nth-child(15) {
    color: #92278f8a;
    top: 33%;
    left: 80%;
    animation-duration: 55s;
    animation-delay: -45s;
    transform-origin: 4vw -5vh;
    box-shadow: 2vmin 0 0.5483948853039351vmin currentColor;
}
.background span:nth-child(16) {
    color: #92278f8a;
    top: 12%;
    left: 8%;
    animation-duration: 19s;
    animation-delay: -15s;
    transform-origin: -17vw -7vh;
    box-shadow: 2vmin 0 0.8918802568567399vmin currentColor;
}
.background span:nth-child(17) {
    color: #92278f8a;
    top: 36%;
    left: 79%;
    animation-duration: 47s;
    animation-delay: -18s;
    transform-origin: 2vw 20vh;
    box-shadow: -2vmin 0 0.4341676569402084vmin currentColor;
}
.background span:nth-child(18) {
    color: #92278f3d;
    top: 26%;
    left: 4%;
    animation-duration: 36s;
    animation-delay: -28s;
    transform-origin: -13vw -2vh;
    box-shadow: 2vmin 0 0.5841498637691982vmin currentColor;
}
.background span:nth-child(19) {
    color: #92278f3d;
    top: 23%;
    left: 76%;
    animation-duration: 36s;
    animation-delay: -30s;
    transform-origin: -6vw -24vh;
    box-shadow: -2vmin 0 0.460686723973482vmin currentColor;
}
.background span:nth-child(20) {
    color: #92278f3d;
    top: 82%;
    left: 81%;
    animation-duration: 18s;
    animation-delay: -22s;
    transform-origin: 0vw -1vh;
    box-shadow: 2vmin 0 0.286915427282864vmin currentColor;
}
.background span:nth-child(21) {
    color: #92278f3d;
    top: 99%;
    left: 10%;
    animation-duration: 49s;
    animation-delay: -31s;
    transform-origin: 7vw 24vh;
    box-shadow: 2vmin 0 1.0145242919535444vmin currentColor;
}
.background span:nth-child(22) {
    color: #92278f3d;
    top: 96%;
    left: 62%;
    animation-duration: 34s;
    animation-delay: -29s;
    transform-origin: -7vw 21vh;
    box-shadow: 2vmin 0 0.5626710504912829vmin currentColor;
}
.background span:nth-child(23) {
    color: #92278f3d;
    top: 5%;
    left: 32%;
    animation-duration: 13s;
    animation-delay: -49s;
    transform-origin: 20vw -14vh;
    box-shadow: 2vmin 0 1.180248407660125vmin currentColor;
}
.background span:nth-child(24) {
    color: #92278F;
    top: 85%;
    left: 100%;
    animation-duration: 19s;
    animation-delay: -28s;
    transform-origin: 8vw 24vh;
    box-shadow: -2vmin 0 0.4742352270091068vmin currentColor;
}
.background span:nth-child(25) {
    color: #92278F;
    top: 57%;
    left: 50%;
    animation-duration: 54s;
    animation-delay: -29s;
    transform-origin: 1vw 18vh;
    box-shadow: 2vmin 0 0.31708446619374353vmin currentColor;
}
.background span:nth-child(26) {
    color: #92278F;
    top: 45%;
    left: 7%;
    animation-duration: 7s;
    animation-delay: -7s;
    transform-origin: -15vw -2vh;
    box-shadow: -2vmin 0 0.605847481381508vmin currentColor;
}
.background span:nth-child(27) {
    color: #92278F;
    top: 100%;
    left: 74%;
    animation-duration: 18s;
    animation-delay: -33s;
    transform-origin: -21vw 14vh;
    box-shadow: -2vmin 0 0.6881528677811208vmin currentColor;
}
.background span:nth-child(28) {
    color: #92278F;
    top: 58%;
    left: 50%;
    animation-duration: 20s;
    animation-delay: -46s;
    transform-origin: -14vw -10vh;
    box-shadow: -2vmin 0 0.8849493106270223vmin currentColor;
}
.background span:nth-child(29) {
    color: #92278F;
    top: 79%;
    left: 75%;
    animation-duration: 22s;
    animation-delay: -20s;
    transform-origin: 25vw 8vh;
    box-shadow: -2vmin 0 0.895458338891421vmin currentColor;
}
.background span:nth-child(30) {
    color: #92278f3d;
    top: 60%;
    left: 50%;
    animation-duration: 27s;
    animation-delay: -41s;
    transform-origin: -24vw 14vh;
    box-shadow: 2vmin 0 0.32562933158627816vmin currentColor;
}
.background span:nth-child(31) {
    color: #92278f3d;
    top: 5%;
    left: 81%;
    animation-duration: 51s;
    animation-delay: -21s;
    transform-origin: -6vw -23vh;
    box-shadow: 2vmin 0 0.39111929481158936vmin currentColor;
} 
*/

/* ------------------------------------- BACKGROUND 2 ---------------------------------------- */


/* ------------------------------------- STAFF MEETING HEADER ---------------------------------------- */

:root {
  --primary-color: #92278F;
  --primary-light: #a84ca5;
  --primary-dark: #7a1f77;
}

.event-header {
  padding: 2rem 1rem;
}

.container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-container {
  width: 100%;
}

.logo {
  width: 100%;
  height: auto;
  object-fit: scale-down;
	border-radius: 24px;
    box-shadow: 0px 0px 30px #bebebe;
}

.event-info {
  text-align: center;
}

.event-info-h2 {
	background: #f9f9f9;
    padding-top: 20px;
    border-radius: 20px 20px 0px 0px;
    margin-bottom: -10px;
    color: #92278f;
}

h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.event-meta span:hover {
  color: var(--primary-color);
}

.event-meta i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.address {
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .container {
    gap: 1.5rem;
  }
  
  .logo-container {
    width: 100%;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .event-meta {
    font-size: 0.9rem;
  }
}


/* ------------------------------------- STAFF MEETING FOOTER ---------------------------------------- */


.event-footer {
    padding: 2rem 0;
    background-color: #f0fff3;
    border-top: 2px solid #319848;
}

.footer-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.logo-section {
    flex: 0 0 200px;
}

.footer-logo {
    width: 100%;
    height: auto;
    max-width: 150px;
}

.contact-section {
    flex: 1;
}

.contact-section h3 {
    color: #319848;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.company-info {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.company-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-person {
    margin-top: 1rem;
}

.contact-person a {
    color: #319848;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-person a:hover {
    color: #319848;
	text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .logo-section {
        margin-bottom: 1.5rem;
    flex: 0 0 30px;
    }
    
    .contact-section {
        width: 100%;
    }
}


/* --------- GANGE -------- */

input {
    padding-left: 20px;
    padding-right: 20px;
}
h2.grazie-h2 {
    color: green;
}
h2.tickets-h2 {
	color: #92278f;
}
a.a.tickets-h2 {
    background: #92278F;
    color: white;
    padding: 10px 40px;
    border-radius: 4px;
}




/* ---------- home test ---------- */
   /* ====== AIA WP — scoped styles ====== */
  #aiawp { --ink:#333; --muted:#666; --bg:#ffffff; --brand1:#319848; --brand2:#1d6fb8; --radius:20px; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; color:var(--ink); background:var(--bg) }
  #aiawp * { box-sizing:border-box }
  #aiawp .aiawp-container{max-width:800px; margin:0 auto; padding:20px}
  /* Hero */
  #aiawp .aiawp-hero{background:linear-gradient(135deg, var(--brand1) 0%, var(--brand2) 100%); border-radius:var(--radius); padding:40px 30px; text-align:center; color:#fff; margin-bottom:30px; box-shadow:0 10px 40px rgba(102,126,234,.3); animation:aiawp-fadeIn .8s ease-out}
  #aiawp .aiawp-hero h1{font-size:3rem; font-weight:900; letter-spacing:.05em; margin:0 0 10px}
  #aiawp .aiawp-tag{font-size:1.2rem; opacity:.95; margin-bottom:8px}
  #aiawp .aiawp-sub{font-size:.95rem; opacity:.9}
  @keyframes aiawp-fadeIn{from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:none}}
  /* Cards */
  #aiawp .aiawp-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-bottom:30px}
  #aiawp .aiawp-card{background:#fff; border-radius:15px; padding:25px; cursor:pointer; transition:.3s ease; box-shadow:0 4px 15px rgba(0,0,0,.08); position:relative; overflow:hidden; opacity:0; transform:translateY(20px)}
  #aiawp .aiawp-card::before{content:""; position:absolute; inset:0 0 auto 0; height:4px; background:linear-gradient(90deg,var(--brand1),var(--brand2)); transform:scaleX(0); transform-origin:left; transition:transform .3s ease}
  #aiawp .aiawp-card:hover{transform:translateY(-5px); box-shadow:0 8px 25px rgba(0,0,0,.15)}
  #aiawp .aiawp-card:hover::before{transform:scaleX(1)}
  #aiawp .aiawp-card h3{color:var(--brand1); font-size:1.3rem; margin:0 0 12px; display:flex; align-items:center; gap:10px}
  #aiawp .aiawp-ico{font-size:1.5rem}
  #aiawp .aiawp-card p{color:var(--muted); font-size:.95rem; line-height:1.5; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden}
  #aiawp .aiawp-more{color:var(--brand1); font-size:.85rem; font-weight:600; margin-top:10px; display:inline-flex; gap:6px; align-items:center}
  /* Newsletter */
#aiawp .aiawp-news {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
  #aiawp .aiawp-news h4{margin:0 0 15px; font-size:1.1rem}
  #aiawp .aiawp-form{display:flex; gap:10px}
  #aiawp .aiawp-form input[type="email"]{flex:1; padding:12px 20px; border:2px solid #e0e0e0; border-radius:50px; font-size:.95rem; transition:border-color .3s}
  #aiawp .aiawp-form input[type="email"]:focus{outline:none; border-color:var(--brand1)}
  #aiawp .aiawp-form button{padding:12px 20px; border:0; border-radius:50px; font-weight:700; cursor:pointer; background:linear-gradient(135deg,var(--brand1),var(--brand2)); color:#fff; transition:transform .2s}
  #aiawp .aiawp-form button:hover{transform:scale(1.03)}
  #aiawp .aiawp-msg{font-size:.9rem; margin-top:10px}
  /* Footer */
  #aiawp .aiawp-foot{background:#fff; border-radius:15px; padding:25px; text-align:center; box-shadow:0 4px 15px rgba(0,0,0,.08)}
  #aiawp .aiawp-foot h3{color:var(--brand1); margin:0 0 8px}
  #aiawp .aiawp-foot p{color:var(--muted); font-size:.9rem; margin:0}
  /* Modal */
  #aiawp .aiawp-modal{display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.6); backdrop-filter:blur(5px)}
  #aiawp .aiawp-modal.is-open{display:flex; align-items:center; justify-content:center}
  #aiawp .aiawp-dialog{background:#fff; border-radius:20px; width:min(700px,90vw); max-height:85vh; overflow:auto; position:relative; animation:aiawp-pop .25s ease}
  @keyframes aiawp-pop{from{opacity:0; transform:translateY(24px)} to{opacity:1; transform:none}}
  #aiawp .aiawp-head{background:linear-gradient(135deg,var(--brand1),var(--brand2)); color:#fff; padding:28px; position:sticky; top:0; border-radius:20px 20px 0 0; z-index:1}
  #aiawp .aiawp-head h2{margin:0 0 6px; font-size:1.6rem}
  #aiawp .aiawp-body{padding:28px}
  #aiawp .aiawp-body p{line-height:1.8; color:#555; margin:0 0 14px}
  #aiawp .aiawp-sign{font-weight:600; color:var(--brand1); text-align:left; font-style:italic; margin-top:18px}
  #aiawp .aiawp-close{position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%; border:0; background:rgba(255,255,255,.22); color:#fff; font-size:18px; cursor:pointer; transition:.2s}
  #aiawp .aiawp-close:hover{transform:rotate(90deg); background:rgba(255,255,255,.3)}
  /* Mission blocks */
  #aiawp .aiawp-mgrid{display:grid; gap:20px; margin-top:10px}
  #aiawp .aiawp-mitem{background:linear-gradient(135deg,#667eea10,#764ba210); padding:20px; border-radius:12px; border-left:4px solid var(--brand1)}
  #aiawp .aiawp-mitem h4{margin:0 0 8px; color:var(--brand1); font-size:1.05rem}
  /* Founder list */
  #aiawp .aiawp-fbox{background:#f8f9fa; padding:20px; border-radius:12px; margin-top:12px}
  #aiawp .aiawp-fbox ul{list-style:none; margin:0; padding:0}
  #aiawp .aiawp-fbox li{padding:8px 0; border-bottom:1px solid #eaeaea; color:#666}
  #aiawp .aiawp-fbox li:last-child{border-bottom:0}
  /* Responsive */
  @media (max-width:600px){
    #aiawp .aiawp-hero h1{font-size:2.5rem}
    #aiawp .aiawp-form{flex-direction:column}
  }
  /* Scrollbar for dialog (webkit) */
  #aiawp .aiawp-dialog::-webkit-scrollbar{width:8px}
  #aiawp .aiawp-dialog::-webkit-scrollbar-thumb{background:var(--brand1); border-radius:10px}
  #aiawp .aiawp-dialog::-webkit-scrollbar-track{background:#f1f1f1; border-radius:10px}


.aiawp-container {
    background: white;
}


/* === AIAWP fixes: grid + buttons + equal height === */

/* Griglia sempre 2 colonne su desktop (1 su mobile) */
#aiawp .aiawp-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
@media (max-width: 820px){
  #aiawp .aiawp-grid{ grid-template-columns:1fr; }
}

/* Card robuste + pari altezza */
#aiawp .aiawp-card{
  background:#fff; border-radius:15px; padding:22px;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; height:100%;
}
#aiawp .aiawp-card h3{ margin:0 0 10px; display:flex; align-items:center; gap:10px; color:var(--ink); }
#aiawp .aiawp-card p{ color:var(--muted); margin:0; }
#aiawp .aiawp-more{ margin-top:auto; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

/* Bottoni nuovi (download/ghost) */
#aiawp .aiawp-btn-download,
#aiawp .aiawp-btn-ghost{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px; font-weight:700;
  text-decoration:none; cursor:pointer; white-space:nowrap;
}
#aiawp .aiawp-btn-download{
  background:linear-gradient(135deg, var(--brand2), var(--brand1));
  color:#fff; border:1px solid transparent;
}
#aiawp .aiawp-btn-ghost{
  background:#fff; color:var(--brand1); border:1px solid #E2E6EF;
}
#aiawp .aiawp-btn-ghost:hover{ background:#F8FAFF; }

/* Icone Font Awesome dentro ai bottoni */
#aiawp .aiawp-btn-download i,
#aiawp .aiawp-btn-ghost i{ color:currentColor; }

/* Modali: assicurati che siano in cima e invisibili di base */
#aiawp .aiawp-modal{ display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.6); }
#aiawp .aiawp-modal.is-open{ display:flex; align-items:center; justify-content:center; padding:16px; }



/* === Read-more link button (clean) === */
#aiawp .aiawp-linkbtn{
  appearance:none; border:0; background:transparent; cursor:pointer;
  padding:0; font-weight:800; color:var(--brand1);
  display:inline-flex; align-items:center; gap:8px;
  border-radius:6px;
}
#aiawp .aiawp-linkbtn .arrow{transition:transform .2s ease}
#aiawp .aiawp-linkbtn:hover .arrow{transform:translateX(2px)}
#aiawp .aiawp-linkbtn:focus-visible{outline:2px solid var(--brand1); outline-offset:2px}

/* Cards: same height + content aligned top */
#aiawp .aiawp-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px}
@media (max-width:820px){#aiawp .aiawp-grid{grid-template-columns:1fr}}
#aiawp .aiawp-card{
  display:flex; flex-direction:column; justify-content:space-between; /* TOP alignment */
  background:#fff; border-radius:15px; padding:22px; box-shadow:0 4px 15px rgba(0,0,0,.08)
}
#aiawp .aiawp-card h3{display:flex; align-items:center; gap:10px; margin:0 0 10px}
#aiawp .aiawp-card p{margin:0; color:var(--muted)}
#aiawp .aiawp-more{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}

/* Buttons inside cards */
#aiawp .aiawp-btn-download{
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:999px;
  background:linear-gradient(135deg, var(--brand2), var(--brand1)); color:#fff; font-weight:700; text-decoration:none
}
#aiawp .aiawp-btn-download i{color:currentColor}

#aiawp .aiawp-btn-ghost{
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:999px;
  background:#fff; border:1px solid #E2E6EF; color:var(--brand1); font-weight:700; text-decoration:none
}
#aiawp .aiawp-btn-ghost:hover{background:#F8FAFF}

/* Modal base (safety, se il tema interferisce) */
#aiawp .aiawp-modal{display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.6)}
#aiawp .aiawp-modal.is-open{display:flex; align-items:center; justify-content:center; padding:16px}
#aiawp .aiawp-dialog{width:min(760px,96vw); background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 8px 28px rgba(0,0,0,.08)}
#aiawp .aiawp-head{background:linear-gradient(135deg, var(--brand1), var(--brand2)); color:#fff; padding:20px; position:sticky; top:0}
#aiawp .aiawp-head h2{margin:0 0 6px}
#aiawp .aiawp-body{padding:20px}
#aiawp .aiawp-close{position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%; border:0; background:rgba(255,255,255,.22); color:#fff; font-size:18px; cursor:pointer}
#aiawp iframe.aiawp-map{width:100%; height:300px; border:0; border-radius:12px}


.aiawp-dialog ul {
    margin: 20px;
}
.aiawp-more a {
    padding: 6px 20px !important;
    margin-top: -12px !important;
}
article.aiawp-card p {
    margin-bottom: 20px !important;
}
article.aiawp-card:hover {
    cursor: unset !important;
}
section.aiawp-welcome p {
    margin-bottom: 24px;
}

#aiawp * {
    box-sizing: border-box;
}
section.aiawp-sponsor {
    margin-top: 70px;
}

section.aiawp-sponsor img {
    width: 200px;
}