:root {
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--iwa-ink);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.7;
}

.iwa-page {
	width: min(1160px, 100% - 40px);
	margin: 0 auto 48px;
}

.iwa-subtitle {
	margin: 30px 0 16px;
	color: var(--iwa-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .18em;
	text-align: center;
}

.iwa-page > img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--iwa-radius);
	box-shadow: var(--iwa-shadow);
}

.iwa-hero {
	padding: 62px 24px 58px;
	text-align: center;
}

.iwa-hero-copy {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.iwa-hero h2 {
	max-width: 850px;
	width: 100%;
	margin: 0;
	color: var(--iwa-ink);
	font-size: clamp(30px, 4.2vw, 48px);
	line-height: 1.15;
	letter-spacing: -.035em;
	text-align: center;
}

.iwa-hero p {
	max-width: 760px;
	margin: 20px auto 26px;
	color: var(--iwa-muted);
	font-size: 18px;
	text-align: center;
}

.iwa-contact-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.iwa-contact-links a,
.iwa-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	border: 1px solid var(--iwa-red);
	border-radius: 4px;
	background: var(--iwa-red);
	color: #fff !important;
	text-decoration: none;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	transition: background .2s ease, transform .2s ease;
}

.iwa-contact-links a:hover,
.iwa-button:hover {
	background: var(--iwa-red-dark);
	border-color: var(--iwa-red-dark);
	transform: translateY(-2px);
}

.iwa-section {
	padding: 58px 46px;
	margin: 0 0 22px;
	border-radius: var(--iwa-radius);
	background: #fff;
}

.iwa-section.soft {
	background: var(--iwa-soft);
}

.iwa-section-heading {
	margin: 0 0 28px;
	color: var(--iwa-ink);
	font-size: clamp(23px, 3vw, 30px);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: .025em;
}

.iwa-section-heading .star {
	margin-right: 9px;
	color: var(--iwa-red);
}

.iwa-section-intro {
	max-width: 820px;
	margin: 0 0 28px;
	color: var(--iwa-muted);
	font-size: 16px;
}

.iwa-copy {
	max-width: 760px;
}

.iwa-copy p,
.iwa-section p {
	color: var(--iwa-muted);
}

.iwa-about-grid,
.iwa-team-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(240px, .8fr);
	align-items: center;
	gap: 48px;
}

.iwa-about-image {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 22px;
	background: #fff;
	border-radius: var(--iwa-radius);
}

.iwa-about-image img {
	max-width: 340px;
	max-height: 300px;
	object-fit: contain;
}

.iwa-team-image img {
	display: block;
	width: 100%;
	max-height: 390px;
	object-fit: contain;
	object-position: center bottom;
}

.iwa-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 24px;
}

.iwa-fact {
	padding: 12px 15px;
	border-left: 3px solid var(--iwa-gold);
	border-radius: 4px;
	background: var(--iwa-soft);
	font-size: 14px;
	font-weight: 700;
}

.iwa-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.iwa-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(30,20,15,.045);
}

.iwa-card-body {
	padding: 22px;
}

.iwa-card h3 {
	margin: 0 0 9px;
	color: var(--iwa-red);
	font-size: 19px;
	line-height: 1.3;
}

.iwa-card p {
	margin: 0;
	color: var(--iwa-muted);
	font-size: 15px;
}

.iwa-section > .iwa-button,
.iwa-section .iwa-copy > .iwa-button {
	margin-top: 14px;
}

.iwa-section > a {
	text-decoration: none;
}

.iwa-section > a .iwa-section-heading {
	transition: color .2s ease;
}

.iwa-section > a:hover .iwa-section-heading {
	color: var(--iwa-red);
}

.iwa-card blockquote.instagram-media {
	max-width: 100% !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 auto !important;
}

.iwa-contact {
	margin-top: 22px;
	padding: 54px 34px;
	border-radius: var(--iwa-radius);
	background: linear-gradient(135deg, #252323, #3b2929);
	color: #fff;
	text-align: center;
}

.iwa-overline {
	margin-bottom: 8px;
	color: #e3c98f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.iwa-contact h2 {
	margin: 0 0 14px;
	font-size: 32px;
	letter-spacing: .04em;
}

.iwa-contact > p {
	max-width: 680px;
	margin: 0 auto 26px;
	color: rgba(255,255,255,.82);
}

.iwa-contact .iwa-contact-links a {
	border-color: rgba(255,255,255,.55);
	background: transparent;
	color: #fff !important;
}

.iwa-contact .iwa-contact-links a:hover {
	border-color: var(--iwa-gold);
	background: var(--iwa-red);
}

/* RESPONSIVE */
@media (max-width: 760px) {
	.iwa-page {
		width: min(100% - 24px, 1160px);
	}
	
	.iwa-subtitle {
		margin-top: 20px;
		font-size: 11px;
	}
	
	.iwa-page > img {
		border-radius: 10px;
	}
	
	.iwa-hero {
		padding: 42px 12px;
	}
	
	.iwa-hero p {
		font-size: 16px;
	}
	
	.iwa-section {
		padding: 38px 22px;
		margin-bottom: 14px;
	}
	
	.iwa-about-grid,
	  .iwa-team-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	
	.iwa-about-image {
		order: 2;
	}
	
	.iwa-about-image img {
		max-width: 260px;
	}
	
	.iwa-team-image {
		max-width: 440px;
		margin: 0 auto;
	}
	
	.iwa-cards {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	
	.iwa-card-body {
		padding: 19px;
	}
	
	.iwa-contact {
		padding: 42px 20px;
	}
	
	.iwa-facts {
		gap: 8px;
	}
	
	.iwa-fact {
		font-size: 13px;
		padding: 10px;
	}
}

@media (min-width: 761px) and (max-width: 980px) {
	.iwa-section {
		padding: 46px 32px;
	}
	
	.iwa-cards {
		gap: 14px;
	}
	
	.iwa-about-grid,
	  .iwa-team-grid {
		gap: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	
	*,
	  ::before,
	  ::after {
		transition: none !important;
	}
}

/* =========================================
   LONG HUI - CORREZIONI GRAFICHE
========================================= */
/* CONTATTI: titolo bianco e leggibile */
.iwa-page .iwa-contact h2,
.iwa-page .iwa-contact h2 * {
	color: #ffffff !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Sottotitolo CONTATTI */
.iwa-page .iwa-contact .iwa-overline {
	color: #e3c98f !important;
}

/* Testo descrittivo */
.iwa-page .iwa-contact p {
	color: #ffffff !important;
}

/* Pulsanti */
.iwa-page .iwa-contact .iwa-button {
	color: #ffffff !important;
	background: transparent !important;
	border: 1px solid #ffffff !important;
}

.iwa-page .iwa-contact .iwa-button:hover {
	color: #ffffff !important;
	background: #a51f2b !important;
	border-color: #a51f2b !important;
}

/* Migliora il titolo principale */
.iwa-page .iwa-hero h1 {
	color: #242424 !important;
	font-weight: 800;
}

/* Migliora i titoli delle sezioni */
.iwa-page .iwa-section-heading {
	color: #242424 !important;
}

/* Elimina sottolineature indesiderate */
.iwa-page a {
	text-decoration: none !important;
}

/* Immagine iniziale */
.iwa-page .iwa-hero-image {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 16px;
}

/* Spaziatura generale */
.iwa-page .iwa-section {
	margin-bottom: 24px;
}

/* Mobile */
@media (max-width: 760px) {
	.iwa-page .iwa-contact h2 {
		font-size: 28px !important;
	}
	
	.iwa-page .iwa-hero-image {
		max-height: 300px;
	}
}

/* ==========================================
   LONG HUI BERGAMO - UNIFORMITA' GRAFICA
   CORREZIONE PULSANTI E COLORI
========================================== */
/* COLORI PRINCIPALI */
.iwa-page {
}

/* SEZIONI: ALTERNANZA COLORI */
.iwa-page .iwa-section {
	background-color: #ffffff !important;
	color: #242424 !important;
}

.iwa-page .iwa-section.soft {
	background-color: #f6f3ef !important;
}

/* TITOLI DELLE SEZIONI */
.iwa-page .iwa-section-heading {
	color: #242424 !important;
	font-weight: 800 !important;
}

.iwa-page .iwa-section-heading .star {
	color: #a51f2b !important;
}

/* SOTTOTITOLI */
.iwa-page .iwa-section h3 {
	color: #a51f2b !important;
}

/* PULSANTI: STILE UNIFORME */
.iwa-page .iwa-button,
.iwa-page .iwa-buttons a,
.iwa-page .iwa-copy > a,
.iwa-page .iwa-hero a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 46px !important;
	padding: 12px 24px !important;
	margin-top: 12px !important;
	border: 1px solid #a51f2b !important;
	border-radius: 5px !important;
	background: #a51f2b !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .08em !important;
	line-height: 1.4 !important;
	text-align: center !important;
	transition: all .2s ease !important;
}

/* HOVER PULSANTI */
.iwa-page .iwa-button:hover,
.iwa-page .iwa-buttons a:hover,
.iwa-page .iwa-copy > a:hover,
.iwa-page .iwa-hero a:hover {
	background: #781722 !important;
	border-color: #781722 !important;
	color: #ffffff !important;
}

/* CONTATTI */
.iwa-page .iwa-contact {
	background: linear-gradient(135deg, #252323, #3b2929) !important;
}

.iwa-page .iwa-contact h2,
.iwa-page .iwa-contact p {
	color: #ffffff !important;
}

.iwa-page .iwa-contact .iwa-overline {
	color: #e3c98f !important;
}

/* TESTI */
.iwa-page .iwa-section p {
	color: #626262 !important;
}

/* CARDS */
.iwa-page .iwa-card {
	background: #ffffff !important;
	border: 1px solid rgba(0,0,0,.07) !important;
	border-radius: 12px !important;
}

/* LINK DEI TITOLI: NON DEVONO DIVENTARE PULSANTI */
.iwa-page .iwa-section > a {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
}

/* MOBILE */
@media (max-width: 760px) {
	.iwa-page .iwa-buttons {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
	}
	
	.iwa-page .iwa-buttons a {
		width: 100% !important;
	}
	
	.iwa-page .iwa-section {
		padding: 32px 20px !important;
	}
}

/* ==========================================
   LONG HUI WUSHU BERGAMO
   CORREZIONE FINALE COLORI E SPAZIATURE
========================================== */
/* 1. SOTTOTITOLO AZZURRO */
.iwa-page .iwa-subtitle {
	color: #1687B8 !important;
	font-weight: 900 !important;
	font-size: 15px !important;
	letter-spacing: .16em !important;
	text-align: center !important;
	margin: 30px auto 18px !important;
	display: block !important;
	width: 100% !important;
}

/* 2. COLORI DELLE SEZIONI */
/* CHI SIAMO - AVORIO */
.iwa-page .iwa-section.soft {
	background-color: #F6F3EF !important;
}

/* CORSI, WUSHU, CULTURA - BIANCO */
.iwa-page .iwa-section:not(.soft) {
	background-color: #FFFFFF !important;
}

/* MAESTRI, QIGONG - AVORIO */
.iwa-page .iwa-section.soft,
.iwa-page .iwa-section.soft > * {
	background-color: #F6F3EF;
}

/* 3. SPAZIATURA INTERNA DELLE SEZIONI */
.iwa-page .iwa-section {
	padding: 55px 46px !important;
	margin: 0 0 24px !important;
	border-radius: 14px !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

/* 4. CARDS WUSHU - TAIJI - QIGONG */
.iwa-page .iwa-cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	margin: 28px 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* SPAZIO INTERNO DELLE CARD */
.iwa-page .iwa-card {
	display: block !important;
	min-width: 0 !important;
	width: 100% !important;
	padding: 26px !important;
	margin: 0 !important;
	border-radius: 14px !important;
	background: #FFFFFF !important;
	border: 1px solid #EAE6E2 !important;
	box-sizing: border-box !important;
	overflow-wrap: break-word !important;
	word-break: normal !important;
}

/* TITOLI DELLE CARD */
.iwa-page .iwa-card h3 {
	color: #A51F2B !important;
	font-size: 21px !important;
	line-height: 1.35 !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	overflow-wrap: normal !important;
}

/* TESTI DELLE CARD */
.iwa-page .iwa-card p {
	color: #626262 !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* 5. TITOLI DELLE SEZIONI */
.iwa-page .iwa-section-heading {
	color: #242424 !important;
	margin-bottom: 26px !important;
	line-height: 1.3 !important;
}

.iwa-page .iwa-section-heading .star {
	color: #A51F2B !important;
}

/* 6. TESTI GENERALI */
.iwa-page .iwa-section p {
	color: #626262 !important;
}

/* 7. PULSANTI CENTRATI */
.iwa-page .iwa-buttons {
	justify-content: center !important;
	gap: 12px !important;
	margin-top: 28px !important;
}

/* 8. RESPONSIVE TABLET */
@media (max-width: 900px) {
	.iwa-page .iwa-section {
		padding: 42px 28px !important;
	}
	
	.iwa-page .iwa-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 18px !important;
	}
}

/* 9. RESPONSIVE SMARTPHONE */
@media (max-width: 600px) {
	.iwa-page .iwa-section {
		padding: 32px 20px !important;
	}
	
	.iwa-page .iwa-cards {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
	
	.iwa-page .iwa-card {
		padding: 24px !important;
	}
	
	.iwa-page .iwa-card h3 {
		font-size: 20px !important;
	}
	
	.iwa-page .iwa-subtitle {
		font-size: 12px !important;
		letter-spacing: .1em !important;
	}
}

/* =========================================
   LONG HUI - RIFINITURA LAYOUT
========================================= */
/* CARD CORSI: SPAZIATURA CORRETTA */
.iwa-page .iwa-cards > .iwa-card {
	padding: 28px 26px !important;
	margin: 0 !important;
	min-width: 0 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	overflow: visible !important;
	text-align: left !important;
}

/* TITOLI CARD */
.iwa-page .iwa-cards > .iwa-card h3 {
	display: block !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	line-height: 1.4 !important;
	overflow-wrap: break-word !important;
}

/* TESTI CARD */
.iwa-page .iwa-cards > .iwa-card p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.75 !important;
	overflow-wrap: break-word !important;
}

/* GRIGLIA CORSI */
.iwa-page .iwa-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	align-items: stretch !important;
}

/* CHI SIAMO: COLONNE PIU' EQUILIBRATE */
.iwa-page .iwa-about-grid {
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr) !important;
	align-items: center !important;
	gap: 42px !important;
}

/* TESTO CHI SIAMO */
.iwa-page .iwa-about-grid .iwa-copy {
	width: 100% !important;
	max-width: none !important;
}

/* PUNTI INFORMATIVI */
.iwa-page .iwa-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

.iwa-page .iwa-fact {
	min-width: 0 !important;
	padding: 16px !important;
	background: #ffffff !important;
	border-left: 3px solid #c7a45b !important;
	border-radius: 5px !important;
	line-height: 1.5 !important;
}

/* LOGO */
.iwa-page .iwa-about-image {
	width: 100% !important;
	background: transparent !important;
	padding: 10px !important;
}

.iwa-page .iwa-about-image img {
	display: block !important;
	width: 100% !important;
	max-width: 340px !important;
	height: auto !important;
	object-fit: contain !important;
	margin: auto !important;
}

/* CARATTERI E LEGGIBILITA' */
.iwa-page .iwa-card,
.iwa-page .iwa-copy,
.iwa-page .iwa-section-intro {
	line-height: 1.75;
}

/* TABLET */
@media (max-width: 900px) {
	.iwa-page .iwa-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	
	.iwa-page .iwa-about-grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 24px !important;
	}
}

/* SMARTPHONE */
@media (max-width: 600px) {
	.iwa-page .iwa-cards {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
	
	.iwa-page .iwa-about-grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
	
	.iwa-page .iwa-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	
	.iwa-page .iwa-card {
		padding: 24px !important;
	}
}