/* Just Academy · stili dei componenti (prefisso .ja, nessun effetto sul resto del sito) */

.ja, .ja-bar, .ja-mcta, .ja-sec {
	--ja-navy: #232e49; --ja-n2: #25335d; --ja-blue: #3d5d7e; --ja-b2: #26577b;
	--ja-sand: #e4e2da; --ja-s2: #f4f3ef; --ja-grey: #93a3ac; --ja-plum: #8a2052;
	--ja-orange: #ef9e3a; --ja-orange-d: #b5600c; --ja-green: #458772; --ja-muted: #5b6876; --ja-line: #dfe2e6;
	--ja-h: Komet_Heavy, Figtree, "Helvetica Neue", Arial, sans-serif;
	--ja-b: Komet_Regular, Figtree, "Helvetica Neue", Arial, sans-serif;
	--ja-wrap: 1300px;
	font-family: var(--ja-b);
	color: var(--ja-navy);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.ja *, .ja *::before, .ja *::after, .ja-bar * { box-sizing: border-box; }
.ja h1, .ja h2, .ja h3, .ja p, .ja dl, .ja dd, .ja ul { margin: 0; padding: 0; }
.ja ul { list-style: none; }
.ja h1, .ja h2, .ja h3 { font-family: var(--ja-h); font-weight: normal; text-transform: none; letter-spacing: -0.01em; color: inherit; }
.ja a { text-decoration: none; }
.ja img { max-width: 100%; display: block; }
.ja .ja-ico { width: 18px; height: 18px; flex: none; }

/* Etichette e pulsanti */
.ja .ja-kick { font-family: var(--ja-h); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: #c9d3df; margin-bottom: 12px; }
.ja .ja-kick--blue { color: var(--ja-blue); }
.ja .ja-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ja .ja-btn, .ja-bar .ja-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border-radius: 40px; padding: 15px 28px; font-family: var(--ja-h); font-size: 15px; line-height: 1.1;
	letter-spacing: .02em; text-transform: none; border: 1.5px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.ja .ja-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(35,46,73,.18); }
.ja .ja-btn--navy { background: var(--ja-navy); color: #fff; }
.ja .ja-btn--navy:hover { background: var(--ja-n2); color: #fff; }
.ja .ja-btn--plum { background: var(--ja-plum); color: #fff; }
.ja .ja-btn--white { background: #fff; color: var(--ja-navy); }
.ja .ja-btn--white:hover { color: var(--ja-navy); }
.ja .ja-btn--outline { background: transparent; color: var(--ja-navy); border-color: var(--ja-navy); }
.ja .ja-btn--outline:hover { background: var(--ja-navy); color: #fff; }
.ja .ja-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.ja .ja-btn--outline-light:hover { background: #fff; color: var(--ja-navy); }
.ja .ja-btn--ghost { background: #fff; color: var(--ja-navy); border-color: var(--ja-line); }
.ja .ja-btn--sm { padding: 10px 18px; font-size: 13.5px; }

.ja .ja-chip, .ja button.ja-chip {
	display: inline-block; border-radius: 30px; padding: 9px 18px; font-family: var(--ja-b); font-size: 14px; line-height: 1.2;
	background: #fff; color: var(--ja-navy); border: 1px solid var(--ja-line); cursor: pointer; text-transform: none; letter-spacing: 0;
	-webkit-appearance: none; appearance: none; margin: 0; box-shadow: none;
}
.ja button.ja-chip:hover { border-color: var(--ja-navy); }
.ja button.ja-chip.is-on { background: var(--ja-navy); border-color: var(--ja-navy); color: #fff; }
.ja .ja-chip--static { cursor: default; background: #fff; border: 0; font-size: 13px; }

/* Stato del corso */
.ja .ja-pill { display: inline-block; border-radius: 30px; padding: 6px 12px; font-family: var(--ja-h); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--ja-navy); color: #fff; line-height: 1.2; }
.ja .ja-pill--aperte { background: var(--ja-green); }
.ja .ja-pill--ultimi { background: var(--ja-orange); color: var(--ja-navy); }
.ja .ja-pill--chiuse, .ja .ja-pill--esaurito { background: var(--ja-plum); }
.ja .ja-pill--in_corso { background: var(--ja-blue); }
.ja .ja-pill--concluso, .ja .ja-pill--in_arrivo, .ja .ja-pill--rinviato { background: #6b7886; }
.ja .ja-pill--annullato { background: #a12626; }

/* Immagini e segnaposto di marca */
.ja .ja-photo { width: 100%; height: 100%; object-fit: cover; }
.ja .ja-photo--brand { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ja-n2), var(--ja-b2)); }
.ja .ja-photo--brand img { width: 72px; height: auto; opacity: .9; }
.ja .ja-photo--ghost { display: block; background: linear-gradient(135deg, #dfe3e8, #eef0f2); }

/* ------------------------------------------------------------------ Barra */
.ja-bar { position: relative; z-index: 100; background: linear-gradient(90deg, #25335d, #26577b); color: #fff; font-family: var(--ja-b); }
.ja-bar .ja-bar__link { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 8px 56px; color: #fff; font-size: 14px; line-height: 1.3; text-decoration: none; }
.ja-bar .ja-bar__link:hover { color: #fff; }
.ja-bar .ja-bar__k { font-family: var(--ja-h); letter-spacing: .16em; font-size: 12.5px; text-transform: uppercase; white-space: nowrap; }
.ja-bar .ja-bar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.35); }
.ja-bar .ja-bar__t b { font-family: var(--ja-h); font-weight: normal; }
.ja-bar .ja-bar__hl { color: var(--ja-orange); font-family: var(--ja-h); white-space: nowrap; }
.ja-bar .ja-bar__cta { background: #fff; color: var(--ja-navy); font-family: var(--ja-h); border-radius: 30px; padding: 7px 16px; font-size: 13px; white-space: nowrap; transition: transform .18s ease; }
.ja-bar .ja-bar__link:hover .ja-bar__cta { transform: translateX(3px); }
.ja-bar .ja-bar__x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.75); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.ja-bar .ja-bar__x:hover { background: rgba(255,255,255,.12); color: #fff; }
.ja-bar.is-closed { display: none; }

/* --------------------------------------------------------------- Calendario */
.ja-cal .ja-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.ja-cal .ja-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ja .ja-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(35,46,73,.08); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.ja .ja-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(35,46,73,.13); }
.ja .ja-card.is-hidden { display: none; }
.ja .ja-card__img { position: relative; display: block; height: 210px; overflow: hidden; background: var(--ja-s2); }
.ja .ja-card__img .ja-photo { transition: transform .5s ease; }
.ja .ja-card:hover .ja-card__img .ja-photo { transform: scale(1.04); }
.ja .ja-card__img .ja-pill { position: absolute; left: 16px; top: 16px; }
.ja .ja-card__b { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ja .ja-card__tg { font-family: var(--ja-h); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ja-blue); }
.ja .ja-card__t { font-size: 23px; line-height: 1.15; margin: 8px 0 10px; }
.ja .ja-card__t a { color: var(--ja-navy); }
.ja .ja-card__m { font-size: 14.5px; line-height: 1.6; color: var(--ja-muted); }
.ja .ja-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.ja .ja-card__price { font-family: var(--ja-h); font-size: 20px; }
.ja .ja-card__price--muted { font-family: var(--ja-b); font-size: 14px; color: var(--ja-muted); }
.ja .ja-card--ghost { box-shadow: none; border: 1.5px dashed #cfd5dc; background: transparent; }
.ja .ja-card--ghost:hover { transform: none; box-shadow: none; }
.ja .ja-card--ghost .ja-card__img { background: repeating-linear-gradient(135deg, #eceef1 0 12px, #f4f5f7 12px 24px); }
.ja .ja-card--ghost .ja-photo--ghost { display: none; }
.ja .ja-arch { margin-top: 56px; }
.ja .ja-arch__h { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; font-family: var(--ja-h); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ja-grey); }
.ja .ja-arch__h::after { content: ""; flex: 1; height: 1px; background: var(--ja-line); }
.ja .ja-card--arch { box-shadow: none; border: 1px solid var(--ja-line); }
.ja .ja-card--arch .ja-card__img { height: 150px; }
.ja .ja-card--arch .ja-photo { filter: grayscale(.6); opacity: .85; }
.ja .ja-card--arch .ja-card__tg { color: var(--ja-grey); }

/* ---------------------------------------------------------- Prossimo corso */
.ja.ja-next { width: 100%; max-width: 380px; margin-left: auto; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; padding: 26px; color: #fff; }
.ja.ja-next .ja-kick { color: var(--ja-orange); }
.ja .ja-next__t { font-size: 28px; line-height: 1.1; margin: 0 0 8px; color: #fff; }
.ja .ja-next__d { font-size: 15px; line-height: 1.6; color: #dbe3ee; margin-bottom: 18px; }
.ja .ja-next__d b { color: #fff; font-family: var(--ja-h); font-weight: normal; }

/* ------------------------------------------------------------- Blocco home */
.ja.ja-promo { display: grid; grid-template-columns: 1.2fr .8fr; max-width: var(--ja-wrap); margin: 0 auto; border-radius: 22px; overflow: hidden; background: var(--ja-s2); }
.ja .ja-promo__t { padding: 48px 52px; }
.ja .ja-promo__h { font-size: 42px; line-height: 1.05; margin: 16px 0 12px; color: var(--ja-navy); }
.ja .ja-promo__p { font-size: 18px; line-height: 1.5; color: #3c4858; max-width: 560px; }
.ja .ja-dates { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.ja .ja-dates span { background: #fff; border: 1px solid var(--ja-line); border-radius: 12px; padding: 10px 16px; font-family: var(--ja-h); font-size: 15px; }
.ja .ja-promo__v { position: relative; display: block; min-height: 340px; }
.ja .ja-promo__v .ja-photo { position: absolute; inset: 0; }
.ja .ja-promo__v::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(140deg, rgba(37,51,93,.85), rgba(38,87,123,.3)); }
.ja .ja-promo__brand { position: absolute; z-index: 2; left: 30px; bottom: 30px; color: #fff; }
.ja .ja-promo__brand img { width: 60px; margin-bottom: 12px; }
.ja .ja-promo__brand b { font-family: var(--ja-h); font-weight: normal; font-size: 20px; letter-spacing: .16em; text-transform: uppercase; }

/* ----------------------------------------------------------------- Modulo */
.ja.ja-form { background: #fff; border-radius: 20px; box-shadow: 0 14px 40px rgba(35,46,73,.12); padding: 30px; border-top: 6px solid var(--ja-plum); scroll-margin-top: 30px; }
.ja .ja-form__h { font-size: 25px; line-height: 1.15; color: var(--ja-navy); }
.ja .ja-form__s { font-size: 14.5px; line-height: 1.55; color: var(--ja-muted); margin: 6px 0 18px; }
.ja .ja-form__more { margin-top: 16px; font-size: 14px; }
.ja .ja-form__more a { color: var(--ja-blue); }
.ja .ja-form--closed { border-top-color: var(--ja-grey); }
.ja .ja-form .ja-btns .ja-btn { flex: 1 1 100%; }
.ja .ja-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ja .ja-f { display: flex; flex-direction: column; gap: 6px; }
.ja .ja-f p { margin: 0; }
.ja .ja-f br { display: none; }
.ja .ja-f--full { grid-column: 1 / -1; }
.ja .ja-f label { display: flex; flex-direction: column; gap: 7px; margin: 0; font-weight: normal; }
.ja .ja-l { font-family: var(--ja-h); font-size: 11.5px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--ja-blue); }
.ja .ja-l small { font-family: var(--ja-b); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ja-muted); }
.ja .ja-f .wpcf7-form-control-wrap { display: block; }
.ja .ja-f input[type=text], .ja .ja-f input[type=email], .ja .ja-f input[type=tel], .ja .ja-f select, .ja .ja-f textarea {
	width: 100%; margin: 0; border: 1px solid #d9dce0; border-radius: 10px; padding: 13px 14px; background: #fff;
	font-family: var(--ja-b); font-size: 15px; line-height: 1.3; color: var(--ja-navy); box-shadow: none; height: auto;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ja .ja-f select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23232e49' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center; }
.ja .ja-f textarea { min-height: 92px; resize: vertical; }
.ja .ja-f input:focus, .ja .ja-f select:focus, .ja .ja-f textarea:focus { outline: none; border-color: var(--ja-blue); box-shadow: 0 0 0 3px rgba(61,93,126,.15); }
.ja .ja-privacy { font-size: 13px; line-height: 1.5; color: var(--ja-muted); }
.ja .ja-privacy .wpcf7-list-item { margin: 0; }
.ja .ja-privacy label { flex-direction: row; gap: 10px; align-items: flex-start; }
.ja .ja-privacy .ja-privacy__link { display: inline-block; margin: 6px 0 0 28px; }
.ja .ja-privacy input[type=checkbox] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ja-blue); flex: none; }
.ja .ja-privacy a { color: var(--ja-blue); text-decoration: underline; }
.ja .ja-f .ja-submit, .ja .ja-f input[type=submit] {
	width: 100%; border: 0; border-radius: 40px; padding: 16px 24px; background: var(--ja-plum); color: #fff;
	font-family: var(--ja-h); font-size: 16px; letter-spacing: .02em; text-transform: none; cursor: pointer; height: auto; line-height: 1.2;
	transition: background-color .15s ease, transform .15s ease;
}
.ja .ja-f .ja-submit:hover { background: #741a45; transform: translateY(-1px); }
.ja .ja-f .ja-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.ja .wpcf7-spinner { margin: 10px auto 0; display: block; }
.ja .wpcf7-not-valid-tip { font-size: 12.5px; color: #a12626; margin-top: 4px; }
.ja .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.ja .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ja-green); background: #eaf4f0; color: #2f6b57; }

/* ------------------------------------------------------------ Pagina corso */
.ja.ja-single { width: 100%; }
.ja-single .ja-hero { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 560px; }
.ja-single .ja-hero__l { padding: 64px max(48px, calc((100vw - var(--ja-wrap)) / 2 + 30px)); padding-right: 64px; background: linear-gradient(110deg, var(--ja-n2), var(--ja-b2)); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.ja-single .ja-crumb { font-size: 13.5px; color: #c9d3df; margin-bottom: 22px; display: flex; gap: 10px; }
.ja-single .ja-crumb a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.ja-single .ja-hero__h { font-size: 64px; line-height: 1.02; margin: 16px 0 18px; color: #fff; }
.ja-single .ja-hero__lead { font-size: 19px; line-height: 1.5; color: #dbe3ee; max-width: 560px; }
.ja-single .ja-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; max-width: 580px; }
.ja-single .ja-facts > div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 14px 18px; }
.ja-single .ja-facts dt { font-family: var(--ja-h); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #c9d3df; margin-bottom: 4px; }
.ja-single .ja-facts dd { font-family: var(--ja-h); font-size: 17px; line-height: 1.3; color: #fff; }
.ja-single .ja-hero__r { position: relative; min-height: 360px; background: var(--ja-s2); }
.ja-single .ja-hero__r .ja-photo { position: absolute; inset: 0; }
.ja-single .ja-badge { position: absolute; left: 28px; bottom: 28px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 14px; color: var(--ja-navy); }
.ja-single .ja-badge b { display: block; font-family: var(--ja-h); font-weight: normal; font-size: 22px; color: var(--ja-plum); line-height: 1.2; }

.ja-single .ja-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; max-width: var(--ja-wrap); margin: 0 auto; padding: 72px 30px 80px; align-items: start; }
.ja-single .ja-body__main > .ja-kick { margin-top: 44px; }
.ja-single .ja-body__main > .ja-kick:first-child { margin-top: 0; }
.ja-single .ja-content { font-size: 17px; line-height: 1.7; color: #2c3a50; }
.ja-single .ja-content p { margin: 0 0 16px; }
.ja-single .ja-content h2, .ja-single .ja-content h3 { font-family: var(--ja-h); font-weight: normal; text-transform: none; color: var(--ja-navy); margin: 28px 0 12px; }
.ja-single .ja-content ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.ja-single .ja-inc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ja-single .ja-inc li { background: var(--ja-s2); border-radius: 14px; padding: 16px 18px; font-size: 15.5px; line-height: 1.4; display: flex; gap: 14px; align-items: center; }
.ja-single .ja-inc i { width: 34px; height: 34px; border-radius: 50%; background: var(--ja-blue); color: #fff; font-style: normal; font-family: var(--ja-h); font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.ja-single .ja-info { border-top: 1px solid var(--ja-line); }
.ja-single .ja-info > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--ja-line); }
.ja-single .ja-info dt { font-family: var(--ja-h); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ja-blue); padding-top: 3px; }
.ja-single .ja-info dd { font-size: 16px; line-height: 1.55; }
.ja-single .ja-info small { font-size: 14px; color: var(--ja-muted); }
.ja-single .ja-info small a { color: var(--ja-blue); }
.ja-single .ja-body__main > p { margin-top: 22px; }
.ja-single .ja-related { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; margin-top: 40px; padding: 16px; border-radius: 18px; background: var(--ja-s2); color: var(--ja-navy); }
.ja-single .ja-related__img { display: block; height: 110px; border-radius: 12px; overflow: hidden; background: var(--ja-sand); }
.ja-single .ja-related__img img { width: 100%; height: 100%; object-fit: cover; }
.ja-single .ja-related__b { display: flex; flex-direction: column; gap: 6px; }
.ja-single .ja-related__b .ja-kick { margin: 0; }
.ja-single .ja-related__b b { font-family: var(--ja-h); font-weight: normal; font-size: 19px; line-height: 1.25; }
.ja-single .ja-related__b span:last-child { font-size: 14px; color: var(--ja-blue); }
.ja-single .ja-body__side { position: sticky; top: 24px; }

.ja-single .ja-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--ja-navy); color: #fff; padding: 56px max(30px, calc((100vw - var(--ja-wrap)) / 2 + 30px)); }
.ja-single .ja-strip__h { font-size: 34px; line-height: 1.1; color: #fff; margin-bottom: 8px; }
.ja-single .ja-strip p { color: #c9d3df; font-size: 16px; }
.ja-single .ja-strip .ja-kick { color: var(--ja-orange); }

.ja-mcta { display: none; }

/* --------------------------------------------------------------- Tablet */
@media (max-width: 1024px) {
	.ja-cal .ja-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ja-single .ja-hero { grid-template-columns: 1fr; }
	.ja-single .ja-hero__l { padding: 56px 40px; }
	.ja-single .ja-hero__r { min-height: 320px; }
	.ja-single .ja-body { grid-template-columns: 1fr; gap: 48px; padding: 56px 40px; }
	.ja-single .ja-body__side { position: static; }
	.ja.ja-promo { grid-template-columns: 1fr; }
	.ja .ja-promo__v { min-height: 240px; order: -1; }
}

/* --------------------------------------------------------------- Telefono */
@media (max-width: 767px) {
	.ja-bar .ja-bar__link { flex-wrap: wrap; gap: 4px 10px; justify-content: flex-start; padding: 10px 48px 10px 16px; font-size: 13px; }
	.ja-bar .ja-bar__sep, .ja-bar .ja-bar__where { display: none; }
	.ja-bar .ja-bar__k { font-size: 11px; width: 100%; color: #c9d3df; }
	.ja-bar .ja-bar__hl { font-size: 13px; }
	.ja-bar .ja-bar__cta { display: none; }
	.ja-bar .ja-bar__x { right: 6px; }

	.ja-cal .ja-grid { grid-template-columns: 1fr; gap: 18px; }
	.ja .ja-card__img { height: 190px; }
	.ja .ja-card--ghost .ja-card__img { height: 64px; }
	.ja-cal .ja-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px; scrollbar-width: none; }
	.ja-cal .ja-filters .ja-chip { flex: none; }

	.ja .ja-promo__t { padding: 30px 22px; }
	.ja .ja-promo__h { font-size: 32px; }
	.ja .ja-promo__p { font-size: 16px; }
	.ja .ja-btns .ja-btn { flex: 1 1 100%; }

	.ja-single .ja-hero__l { padding: 40px 22px; }
	.ja-single .ja-hero__h { font-size: 42px; }
	.ja-single .ja-hero__lead { font-size: 17px; }
	.ja-single .ja-facts { gap: 10px; }
	.ja-single .ja-facts > div { padding: 12px 14px; }
	.ja-single .ja-facts dd { font-size: 15px; }
	.ja-single .ja-hero__r { min-height: 240px; order: -1; }
	.ja-single .ja-badge { left: 16px; bottom: 16px; padding: 12px 16px; }
	.ja-single .ja-badge b { font-size: 18px; }
	.ja-single .ja-body { padding: 44px 22px 56px; }
	.ja-single .ja-inc { grid-template-columns: 1fr; }
	.ja-single .ja-info > div { grid-template-columns: 1fr; gap: 4px; }
	.ja-single .ja-related { grid-template-columns: 1fr; }
	.ja-single .ja-strip { padding: 44px 22px 110px; }
	.ja-single .ja-strip__h { font-size: 28px; }
	.ja.ja-form { padding: 24px 20px; border-radius: 16px; }
	.ja .ja-fields { grid-template-columns: 1fr; }

	.ja-mcta {
		display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; z-index: 9990;
		left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); border-radius: 40px; padding: 13px 20px;
		background: var(--ja-plum); color: #fff; font-family: var(--ja-h); font-size: 16px; line-height: 1.2; text-decoration: none;
		box-shadow: 0 12px 30px rgba(138,32,82,.35); transition: transform .25s ease, opacity .25s ease;
	}
	.ja-mcta:hover, .ja-mcta:focus { color: #fff; }
	.ja-mcta small { font-family: var(--ja-b); font-size: 12px; opacity: .85; }
	.ja-mcta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* ======================================================================
 * Pagina Academy costruita con Elementor (gratuito)
 * I widget hanno solo una classe CSS (Avanzate › Classi CSS): testi e
 * immagini restano modificabili in Elementor, lo stile arriva da qui.
 * ==================================================================== */
.elementor .ja-sec { font-family: var(--ja-b); color: var(--ja-navy); }
.elementor .ja-sec p { margin: 0 0 14px; }
.elementor .ja-sec p:last-child { margin-bottom: 0; }

/* Testata con foto: velo blu per la leggibilità */
.elementor .ja-sec--hero { position: relative; }
.elementor .ja-sec--hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(35,46,73,.96) 0%, rgba(37,51,93,.86) 45%, rgba(38,87,123,.35) 100%); }
.elementor .ja-sec--hero > .e-con-inner, .elementor .ja-sec--hero > .e-con { position: relative; z-index: 1; }

/* Etichette, titoli e testi */
.elementor .ja-k, .elementor .ja-k p { font-family: var(--ja-h); font-size: 12.5px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: #c9d3df; margin: 0 0 4px; }
.elementor .ja-k--blue, .elementor .ja-k--blue p { color: var(--ja-blue); }
.elementor .ja-h1 .elementor-heading-title { font-family: var(--ja-h); font-weight: normal; font-size: 76px; line-height: 1; letter-spacing: -.02em; text-transform: none; color: #fff; margin: 14px 0 20px; }
.elementor .ja-h2 .elementor-heading-title { font-family: var(--ja-h); font-weight: normal; font-size: 46px; line-height: 1.06; letter-spacing: -.01em; text-transform: none; color: var(--ja-navy); margin: 10px 0 18px; }
.elementor .ja-h3 .elementor-heading-title { font-family: var(--ja-h); font-weight: normal; font-size: 21px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--ja-navy); margin: 0 0 8px; }
.elementor .ja-dark .ja-h2 .elementor-heading-title, .elementor .ja-dark .ja-h3 .elementor-heading-title { color: #fff; }
.elementor .ja-lead, .elementor .ja-lead p { font-family: var(--ja-b); font-size: 19px; line-height: 1.55; color: #dbe3ee; max-width: 600px; }
.elementor .ja-txt, .elementor .ja-txt p { font-family: var(--ja-b); font-size: 17px; line-height: 1.7; color: #2c3a50; }
.elementor .ja-small, .elementor .ja-small p { font-family: var(--ja-b); font-size: 15px; line-height: 1.6; color: var(--ja-muted); }
.elementor .ja-role, .elementor .ja-role p { font-family: var(--ja-b); font-size: 16px; color: var(--ja-plum); margin: 6px 0 18px; }
.elementor .ja-num, .elementor .ja-num p { font-family: var(--ja-h); font-size: 34px; line-height: 1; color: var(--ja-blue); margin-bottom: 8px; }
.elementor .ja-mt { margin-top: 44px; }
.elementor .ja-mt-s { margin-top: 26px; }
.elementor .ja-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 50px rgba(35,46,73,.16); }

/* Pulsanti Elementor */
.elementor .ja-b .elementor-button { box-sizing: border-box; display: inline-flex; justify-content: center; border-radius: 40px; padding: 16px 30px; font-family: var(--ja-h); font-size: 15px; line-height: 1.1; letter-spacing: .02em; text-transform: none; border: 1.5px solid transparent; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.elementor .ja-b .elementor-button:hover { transform: translateY(-1px); }
.elementor .ja-b--white .elementor-button { background: #fff; color: var(--ja-navy); }
.elementor .ja-b--navy .elementor-button { background: var(--ja-navy); color: #fff; }
.elementor .ja-b--outline-light .elementor-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.elementor .ja-b--outline-light .elementor-button:hover { background: #fff; color: var(--ja-navy); }

/* Menu interno */
.elementor .ja-sec--subnav { border-bottom: 1px solid #eceef1; background: #fff; }
.elementor .ja-subnav p { display: flex; align-items: center; gap: 36px; min-height: 64px; margin: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.elementor .ja-subnav a { font-family: var(--ja-h); font-size: 14px; letter-spacing: .04em; color: var(--ja-navy); text-decoration: none; }
.elementor .ja-subnav a:hover { color: var(--ja-plum); }
.elementor .ja-subnav a.ja-subnav__cta { margin-left: auto; background: var(--ja-plum); color: #fff; border-radius: 30px; padding: 10px 22px; }
.elementor .ja-sec--promo .ja.ja-promo { box-shadow: 0 1px 0 rgba(0,0,0,0); }
html { scroll-behavior: smooth; }
.elementor .ja-sec[id] { scroll-margin-top: 10px; }

@media (max-width: 1024px) {
	.elementor .ja-h1 .elementor-heading-title { font-size: 58px; }
	.elementor .ja-h2 .elementor-heading-title { font-size: 38px; }
}
@media (max-width: 767px) {
	.elementor .ja-h1 .elementor-heading-title { font-size: 44px; }
	.elementor .ja-h2 .elementor-heading-title { font-size: 32px; }
	.elementor .ja-lead, .elementor .ja-lead p { font-size: 17px; }
	.elementor .ja-txt, .elementor .ja-txt p { font-size: 16px; }
	.elementor .ja-subnav p { gap: 24px; min-height: 56px; }
	.elementor .ja-subnav a.ja-subnav__cta { margin-left: 0; }
	.elementor .ja-sec--hero .ja.ja-next { max-width: none; }
	.elementor .ja-b, .elementor .ja-b .elementor-button { width: 100%; }
	.elementor .ja-img img { aspect-ratio: 4 / 3; }
}

/* ======================================================================
 * Compatibilità con il tema Bridge (regole del tema più forti delle nostre)
 * ==================================================================== */
/* Bridge sposta il contenuto sotto l'header (margine negativo): qui l'header non è trasparente */
body.ja-page .content, .content:has(.ja-sec--hero) { margin-top: 0 !important; }

/* Testo del corso */
.ja-single .ja-content p, .ja-single .ja-content li { font-family: var(--ja-b); font-size: 17px; line-height: 1.7; color: #2c3a50; }
.ja-single .ja-content li { margin-bottom: 6px; }
.ja-single .ja-content h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
.ja-single .ja-content h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.ja-single .ja-content h4 { font-family: var(--ja-h); font-weight: normal; font-size: 19px; line-height: 1.3; text-transform: none; color: var(--ja-navy); margin: 22px 0 8px; }

/* Campi del modulo dentro Contact Form 7 */
.ja .wpcf7-form .ja-f input[type=text], .ja .wpcf7-form .ja-f input[type=email], .ja .wpcf7-form .ja-f input[type=tel],
.ja .wpcf7-form .ja-f select, .ja .wpcf7-form .ja-f textarea {
	box-sizing: border-box !important; width: 100% !important; margin: 0 !important;
	border: 1px solid #d9dce0 !important; border-radius: 10px !important; padding: 13px 14px !important;
	background-color: #fff !important; font-family: var(--ja-b) !important; font-size: 15px !important;
	line-height: 1.3 !important; color: var(--ja-navy) !important; letter-spacing: 0 !important; text-transform: none !important;
}
.ja .wpcf7-form .ja-f select { padding-right: 40px !important; -webkit-appearance: none !important; appearance: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23232e49' stroke-width='1.8'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; }
.ja .wpcf7-form .ja-f textarea { min-height: 92px !important; height: auto !important; }
.ja .wpcf7-form .ja-f input:focus, .ja .wpcf7-form .ja-f select:focus, .ja .wpcf7-form .ja-f textarea:focus { border-color: var(--ja-blue) !important; box-shadow: 0 0 0 3px rgba(61,93,126,.15) !important; }
.ja .wpcf7-form .ja-f input[type=submit], .ja .wpcf7-form .ja-f .ja-submit {
	box-sizing: border-box !important; width: 100% !important; height: auto !important; margin: 0 !important;
	border: 0 !important; border-radius: 40px !important; padding: 16px 24px !important;
	background-color: var(--ja-plum) !important; color: #fff !important; font-family: var(--ja-h) !important;
	font-size: 16px !important; line-height: 1.2 !important; letter-spacing: .02em !important; text-transform: none !important;
}
.ja .wpcf7-form .ja-f .ja-submit:hover { background-color: #741a45 !important; }
.ja .wpcf7-form .ja-privacy input[type=checkbox] { width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; padding: 0 !important; }

@media (prefers-reduced-motion: reduce) {
	.ja *, .ja-bar *, .ja-mcta { transition: none !important; }
}
