/*
Theme Name: APL Team Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme di Hello Elementor per il sito APL Team (Agenzia per il Lavoro).
Author: APL Team
Template: hello-elementor
Version: 1.0.0
Text Domain: aplteam-child
*/

/* ------------------------------------------------------------------
   Blog — card articolo, pill categorie, paginazione.
   Card: overflow visible (strada B) — il radius dell'immagine sta sul
   wrapper interno .apl-imgclip creato da apl-motion.js, così i
   quadretti-buco non vengono tagliati.
   ------------------------------------------------------------------ */
.apl-news-grid .elementor-post .elementor-post__card,
.apl-news-featured .elementor-post .elementor-post__card {
	background: #FFFFFF;
	box-shadow: none;
	border: 1px solid #DCE1EA;
	border-radius: 8px;
	overflow: visible;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.apl-news-grid .elementor-post:hover .elementor-post__card,
.apl-news-featured .elementor-post:hover .elementor-post__card {
	border-color: #1ABCE6;
	transform: translateY(-4px);
	box-shadow: 0 2px 6px rgba(17,33,77,.10), 0 18px 36px rgba(17,33,77,.13);
}
/* thumbnail: aspect-ratio fissa + catena assoluta.
   NB: height:100% NON si risolve dentro un parent la cui altezza deriva
   da aspect-ratio (il browser la tratta come auto e l'immagine collassa
   a 0): il wrapper dei quadretti va in absolute inset:0. */
.elementor-posts .elementor-post__thumbnail,
.apl-related-grid .elementor-post__thumbnail {
	aspect-ratio: 16 / 9;
	position: relative;
	width: 100% !important;
	padding-bottom: 0 !important; /* lo skin usa il trucco padding-% per il ratio: in conflitto con aspect-ratio gonfia la larghezza */
}
.elementor-posts .elementor-post__thumbnail__link {
	display: block;
	width: 100%;
	max-width: 100%;
}
.elementor-posts .elementor-post__thumbnail .apl-imgwrap,
.apl-related-grid .elementor-post__thumbnail .apl-imgwrap {
	position: absolute; inset: 0; height: auto;
}
.elementor-posts .elementor-post__thumbnail img,
.apl-related-grid .elementor-post__thumbnail img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
/* anche senza wrapper (immagini non decorate) l'altezza va ancorata */
.elementor-posts .elementor-post__thumbnail > img,
.apl-related-grid .elementor-post__thumbnail > img {
	position: absolute; inset: 0;
}
/* hover zoom card: lo skin centra l'img con left/top 50% + translate(-50%,-50%);
   un hover con solo scale() sovrascriveva il translate e l'immagine saltava di
   mezza misura. Qui si azzerano offset E transform insieme, così lo zoom parte
   da un'immagine già ancorata a 0,0 dentro il clip. */
.elementor-posts .elementor-post__thumbnail img,
.apl-related-grid .elementor-post__thumbnail img {
	left: 0 !important;
	top: 0 !important;
	transform: none !important;
	transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.elementor-posts .elementor-post:hover .elementor-post__thumbnail img,
.apl-related-grid .elementor-post:hover .elementor-post__thumbnail img {
	transform: scale(1.04) !important;
}
.apl-news-grid .apl-imgclip { border-radius: 8px 8px 0 0; }
/* quadretti-buco in scala card: celle piccole, leggibili, dentro l'immagine */
.elementor-widget-posts .apl-corner,
.apl-related-grid .apl-corner { --cell: 12px; --gap: 3px; }
/* il post in evidenza (immagine grande) tiene la scala piena */
.apl-news-featured .apl-corner { --cell: 22px; --gap: 4px; }
.apl-news-grid .elementor-post__text { padding: 24px; }
.apl-news-grid .elementor-post__title,
.apl-news-grid .elementor-post__title a {
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 19px;
	color: #11214D; letter-spacing: 0; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.apl-news-grid .elementor-post__title a:hover { color: #1ABCE6; }
.apl-news-grid .elementor-post__excerpt p {
	font-family: 'Inter', sans-serif; font-size: 15px; color: #3D4759; line-height: 1.6;
}
.apl-news-grid .elementor-post__meta-data,
.apl-news-featured .elementor-post__meta-data {
	font-family: 'Inter', sans-serif; font-size: 14px; color: #7A8494;
}
.apl-news-grid .elementor-post__read-more,
.apl-news-featured .elementor-post__read-more {
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; color: #1ABCE6;
}
.elementor-post__badge {
	background: #E8F6FA; color: #0D5A88;
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
	padding: 5px 12px; border-radius: 4px; letter-spacing: 0; text-transform: none;
}

/* in evidenza: layout orizzontale 55/45 */
.apl-news-featured .elementor-post .elementor-post__card {
	display: flex; align-items: center; gap: 40px;
}
.apl-news-featured .elementor-post__thumbnail__link { flex: 0 0 55%; }
.apl-news-featured .apl-imgclip,
.apl-news-featured .elementor-post__thumbnail img { border-radius: 8px 0 0 8px; }
.apl-news-featured .elementor-post__text { flex: 1 1 45%; padding: 32px 32px 32px 0; }
.apl-news-featured .elementor-post__title,
.apl-news-featured .elementor-post__title a {
	font-family: 'Source Serif 4', Georgia, serif; font-weight: 600;
	font-size: clamp(1.5rem, 2.5vw, 2rem); color: #11214D; line-height: 1.2; letter-spacing: 0;
}
.apl-news-featured .elementor-post__title a:hover { color: #1ABCE6; }
@media (max-width: 767px) {
	.apl-news-featured .elementor-post .elementor-post__card { flex-direction: column; gap: 0; align-items: stretch; }
	.apl-news-featured .elementor-post__thumbnail__link { flex-basis: auto; }
	.apl-news-featured .apl-imgclip,
	.apl-news-featured .elementor-post__thumbnail img { border-radius: 8px 8px 0 0; }
	.apl-news-featured .elementor-post__text { padding: 24px; }
}
/* l'in evidenza compare solo in prima pagina */
body.paged .apl-news-featured-sec { display: none; }

/* pill categorie */
.apl-pills { display: flex; gap: 12px; flex-wrap: wrap; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 767px) { .apl-pills { flex-wrap: nowrap; } }
.apl-pills::-webkit-scrollbar { display: none; }
.apl-pills a, .apl-pills button {
	white-space: nowrap; border: 1px solid #DCE1EA; border-radius: 999px;
	padding: 10px 20px; font-family: 'Inter', sans-serif; font-weight: 600;
	font-size: 14px; color: #11214D; background: #FFFFFF; text-decoration: none;
	cursor: pointer; transition: all .18s ease;
}
.apl-pills a:hover, .apl-pills button:hover { border-color: #1ABCE6; }
.apl-pills a.apl-pill-active, .apl-pills button.apl-pill-active { background: #11214D; color: #FFFFFF; border-color: #11214D; }

/* paginazione */
.elementor-pagination { margin-top: 56px; text-align: center; }
.elementor-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 4px; margin: 0 3px;
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
	color: #11214D; border: 1px solid transparent; text-decoration: none;
}
.elementor-pagination .page-numbers.current { background: #11214D; color: #FFFFFF; }
.elementor-pagination a.page-numbers:hover { border-color: #1ABCE6; }

/* ------------------------------------------------------------------
   Blog — singolo articolo (testata, corpo, condivisione, correlati).
   ------------------------------------------------------------------ */
.apl-breadcrumb { font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,.6); }
.apl-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.apl-breadcrumb a:hover { color: #1ABCE6; }
.apl-post-badge {
	display: inline-block; background: #1ABCE6; color: #11214D;
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
	padding: 5px 12px; border-radius: 4px; text-decoration: none;
}
.apl-post-meta { font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,.6); margin: 0; }
.apl-cat-desc, .apl-cat-desc p {
	font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.65;
	color: rgba(255,255,255,.78); margin: 0;
}

/* corpo articolo */
.apl-post-content { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.75; color: #3D4759; }
.apl-post-content p { margin: 0 0 1.2em; }
.apl-post-content h2 {
	font-family: 'Source Serif 4', Georgia, serif; font-weight: 600;
	font-size: clamp(1.75rem, 3vw, 2.25rem); color: #11214D;
	margin: 48px 0 16px; line-height: 1.2;
}
.apl-post-content h3 {
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 20px;
	color: #11214D; margin: 32px 0 12px;
}
.apl-post-content a { color: #0D5A88; text-decoration: underline; }
.apl-post-content a:hover { color: #1ABCE6; }
.apl-post-content ul { list-style: none; padding-left: 0; }
.apl-post-content ul li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.apl-post-content ul li::before {
	content: ''; position: absolute; left: 0; top: 11px;
	width: 6px; height: 6px; background: #1ABCE6;
}
.apl-post-content blockquote {
	border-left: 3px solid #1ABCE6; padding-left: 24px; margin: 24px 0;
	font-style: italic; color: #11214D;
}
.apl-post-content img { border-radius: 8px; max-width: 100%; height: auto; }
.apl-post-content code {
	background: #F5F7FA; padding: 2px 6px; border-radius: 4px; font-size: .9em;
}

/* condivisione */
.apl-share {
	display: flex; align-items: center; gap: 14px;
	border-top: 1px solid #DCE1EA; padding-top: 24px;
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: #11214D;
}
.apl-share a, .apl-share button {
	color: #11214D; background: none; border: none; padding: 4px; cursor: pointer;
	display: inline-flex; transition: color .15s ease;
}
.apl-share a:hover, .apl-share button:hover { color: #1ABCE6; }
.apl-share .apl-copied { color: #1ABCE6; }

/* correlati: griglia manuale con le stesse card dell archivio */
.apl-related-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 1024px) { .apl-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .apl-related-grid { grid-template-columns: 1fr; } }
.apl-related-grid .elementor-post__title { margin: 12px 0 8px; }
.apl-related-grid .elementor-post__title a { text-decoration: none; }
.apl-related-grid .elementor-post__text { padding: 24px; }
.apl-related-grid .elementor-post__thumbnail img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
}

/* ------------------------------------------------------------------
   Form contatto (Gravity Forms) — stile di brand.
   ------------------------------------------------------------------ */
#form-contatto .gform_wrapper label.gfield_label {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #11214D;
	letter-spacing: 0;
}
#form-contatto .gform_wrapper input[type="text"],
#form-contatto .gform_wrapper input[type="email"],
#form-contatto .gform_wrapper input[type="tel"],
#form-contatto .gform_wrapper input[type="file"],
#form-contatto .gform_wrapper select,
#form-contatto .gform_wrapper textarea {
	border: 1px solid #DCE1EA;
	border-radius: 8px;
	padding: 14px 16px;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #3D4759;
	letter-spacing: 0;
	width: 100%;
	background: #FFFFFF;
	/* Orbital impone block-size/line-height 38px: col padding sopra il testo
	   finirebbe tagliato fuori dal box (campi che sembrano vuoti) */
	height: auto;
	block-size: auto;
	min-block-size: 0;
	line-height: 1.4;
}
#form-contatto .gform_wrapper input:focus,
#form-contatto .gform_wrapper select:focus,
#form-contatto .gform_wrapper textarea:focus {
	border-color: #1ABCE6;
	outline: 2px solid #1ABCE6;
	outline-offset: 1px;
}

/* smistamento: i due radio come card cliccabili */
.apl-tipo-cards .gfield_radio {
	display: flex !important;
	flex-direction: row !important; /* Orbital impone column via gfield--choice-align-vertical */
	gap: 16px;
	flex-wrap: wrap;
}
.apl-tipo-cards .gchoice {
	flex: 1 1 260px;
	position: relative;
}
.apl-tipo-cards .gchoice label {
	display: block;
	padding: 24px;
	border-radius: 8px;
	border: 1.5px solid #DCE1EA;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #11214D;
	transition: border-color .15s ease, background-color .15s ease;
	margin: 0;
}
.apl-tipo-cards .gchoice input[type="radio"] {
	position: absolute;
	opacity: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	margin: 0;
}
/* codifica cromatica: prima card azienda navy, seconda candidato ciano */
.apl-tipo-cards .gchoice:nth-child(1) label { border-color: #11214D; }
.apl-tipo-cards .gchoice:nth-child(2) label { border-color: #1ABCE6; }
.apl-tipo-cards .gchoice input[type="radio"]:checked + label,
.apl-tipo-cards .gchoice:nth-child(1):has(input:checked) label {
	background: rgba(17,33,77,.06);
	border-width: 2px;
}
.apl-tipo-cards .gchoice:nth-child(2):has(input:checked) label {
	background: rgba(26,188,230,.08);
	border-width: 2px;
}
.apl-tipo-cards .gchoice:has(input:focus-visible) label {
	outline: 2px solid #1ABCE6;
	outline-offset: 2px;
}

/* bottone di invio */
#form-contatto .gform_wrapper .gform_button {
	background: #11214D;
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0;
	padding: 16px 32px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: background-color .18s ease;
}
#form-contatto .gform_wrapper .gform_button:hover { background: #0C1E48; }

/* errori */
#form-contatto .gform_wrapper .gfield_validation_message,
#form-contatto .gform_wrapper .validation_message,
#form-contatto .gform_wrapper .gform_validation_errors {
	color: #C0392B;
}

/* checkbox consensi: testo leggibile */
#form-contatto .gform_wrapper .gfield_checkbox label {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #3D4759;
}
#form-contatto .gform_wrapper .gfield_checkbox a { color: #1ABCE6; }

@media (max-width: 767px) {
	.apl-tipo-cards .gfield_radio { flex-direction: column; }
}

/* ------------------------------------------------------------------
   Fallback metric-compatible per Inter (anti layout-shift).
   Mentre Inter carica, il menu veniva dipinto col fallback di sistema
   (metriche diverse) e scendeva di 12px allo swap. Questo font-face
   usa Arial locale con le metriche pareggiate a Inter: lo swap non
   sposta più nulla. Applicato solo all'header, dove lo shift si vede.
   ------------------------------------------------------------------ */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}
.elementor-location-header .elementor-item,
.elementor-location-header .elementor-nav-menu a,
.elementor-location-header .elementor-button {
  font-family: 'Inter', 'Inter Fallback', sans-serif !important;
}

/* ------------------------------------------------------------------
   Voci di menu placeholder (primo livello, aprono solo il sottomenu)
   Il click viene bloccato via JS (preventDefault sopra i 767px), non
   con pointer-events: l'anchor deve restare raggiungibile da hover e
   focus perché il sottomenu si apra.
   ------------------------------------------------------------------ */
.menu-placeholder > a {
	cursor: default;
}

/* ------------------------------------------------------------------
   Archivio offerte di lavoro — card solo testo, nessun decoro.
   ------------------------------------------------------------------ */
.apl-offerte-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 767px) { .apl-offerte-grid { grid-template-columns: 1fr; } }
.apl-offerta-card {
	background: #FFFFFF; border: 1px solid #DCE1EA; border-radius: 8px;
	padding: 28px; display: flex; flex-direction: column; gap: 12px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.apl-offerta-card:hover {
	border-color: #1ABCE6; transform: translateY(-4px);
	box-shadow: 0 2px 6px rgba(17,33,77,.10), 0 18px 36px rgba(17,33,77,.13);
}
.apl-offerta-card h3 {
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 20px;
	color: #11214D; margin: 0; letter-spacing: 0;
}
.apl-offerta-badges {
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px;
	color: #0D5A88; margin: 0;
}
.apl-offerta-abstract {
	font-family: 'Inter', sans-serif; font-size: 16px; color: #3D4759;
	line-height: 1.6; margin: 0; flex-grow: 1;
}
.apl-offerte-cta {
	display: inline-block; align-self: flex-start;
	background: #1ABCE6; color: #11214D; text-decoration: none;
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
	padding: 12px 24px; border-radius: 8px; transition: background-color .18s ease;
}
.apl-offerte-cta:hover { background: #15A3C9; color: #11214D; }
.apl-offerte-vuoto {
	background: #11214D; border-radius: 8px; padding: 48px;
	display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.apl-offerte-vuoto p {
	color: #E1FF00; font-family: 'Inter', sans-serif; font-size: 18px;
	line-height: 1.6; margin: 0; max-width: 640px;
}

/* ------------------------------------------------------------------
   Language switcher.
   ------------------------------------------------------------------ */
.apl-langs { display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; }
.apl-langs--sigle { font-weight: 600; font-size: 14px; }
.apl-langs .apl-lang { color: #7A8494; text-decoration: none; transition: color .15s ease; }
.apl-langs .apl-lang:hover { color: #1ABCE6; }
.apl-langs .apl-lang-current { color: #11214D; }
.apl-lang-sep { color: #DCE1EA; }
/* nel footer (fondo navy, nomi estesi) */
.elementor-location-footer .apl-langs { flex-wrap: wrap; font-size: 14px; }
.elementor-location-footer .apl-langs .apl-lang { color: rgba(255,255,255,.78); }
.elementor-location-footer .apl-langs .apl-lang:hover { color: #1ABCE6; }
.elementor-location-footer .apl-langs .apl-lang-current { color: #FFFFFF; }
/* switcher visibile su desktop e mobile; nascosto solo su tablet
   (768–1024), dove il menu esteso occupa già tutta la riga */
@media (min-width: 768px) and (max-width: 1024px) { .apl-langs-header { display: none; } }
/* dropdown lingua nell'header: solo bandiera + chevron, il più discreto
   possibile. Il background va azzerato con specificità (il kit stila i
   <button> globalmente in navy). */
.apl-dd { position: relative; }
button.apl-dd-trigger {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 6px; margin: 0;
	background: transparent; border: none; border-radius: 4px; cursor: pointer;
	color: #7A8494; line-height: 0;
}
button.apl-dd-trigger:hover { background: #F5F7FA; color: #11214D; }
.apl-dd-flag {
	display: block; width: 20px; height: 14px; object-fit: cover;
	border-radius: 2px; box-shadow: 0 0 0 1px rgba(17,33,77,.12);
}
.apl-dd-panel {
	position: absolute; top: calc(100% + 6px); right: 0;
	margin: 0; padding: 6px; list-style: none;
	background: #FFFFFF; border: 1px solid #DCE1EA; border-radius: 8px;
	box-shadow: 0 10px 28px rgba(17,33,77,.10); z-index: 600;
}
.apl-dd-panel a {
	display: block; padding: 8px 10px; border-radius: 6px; line-height: 0;
	text-decoration: none;
}
.apl-dd-panel a:hover { background: #F5F7FA; }
/* testo solo per screen reader */
.apl-sr {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------------
   Header mobile (≤767): logo a sinistra; a destra bandiera, icona
   contatto (sostituisce il bottone "Parliamone") e burger. Il burger
   apre il menu in una modale fullscreen navy con i sottomenu già
   espansi (niente dropdown che allunga la testata).
   ------------------------------------------------------------------ */
.apl-cta-ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 8px;
	background: #11214D;
	/* lime su navy (come il bottone che sostituisce); !important perché
	   il colore link del kit ha la precedenza sugli <a> */
	color: #E1FF00 !important;
}
.apl-cta-ico svg { display: block; }

@media (max-width: 767px) {
	/* ordine: logo … bandiera, icona, burger */
	.elementor-location-header .elementor-widget-theme-site-logo { order: 0; margin-right: auto; }
	.elementor-location-header .apl-langs-header { order: 1; }
	.elementor-location-header .e-con-inner > .e-con,
	.elementor-location-header .elementor-widget-html { order: 2; }
	.elementor-location-header .elementor-widget-nav-menu { order: 3; width: auto; }

	/* modale fullscreen: parte dal bordo inferiore dell'header (misurato
	   dal JS in --apl-header-h), così la barra con logo, bandiera e X
	   resta visibile e cliccabile */
	.elementor-location-header .elementor-nav-menu__container.elementor-nav-menu--dropdown {
		position: fixed !important;
		top: var(--apl-header-h, 76px) !important;
		left: 0 !important; right: 0 !important; bottom: 0 !important;
		width: 100% !important; max-width: none !important; height: auto !important;
		margin: 0 !important; padding: 20px 24px 32px !important;
		overflow-y: auto !important; -webkit-overflow-scrolling: touch;
		background: #11214D !important; border-radius: 0 !important; box-shadow: none !important;
		z-index: 490;
	}
	/* sottomenu sempre espansi, in colonna, senza indicatori */
	.elementor-nav-menu--dropdown .elementor-nav-menu ul,
	.elementor-nav-menu--dropdown .elementor-nav-menu .sub-menu {
		display: block !important; position: static !important;
		width: auto !important; margin: 0 !important; padding: 0 !important;
		background: transparent !important; border: none !important; box-shadow: none !important;
	}
	.elementor-nav-menu--dropdown .sub-arrow { display: none !important; }
	/* voci di primo livello: etichette, non link (i placeholder # non
	   devono fare da toggle: è tutto già aperto) */
	.elementor-nav-menu--dropdown .elementor-nav-menu > li { margin-bottom: 12px; }
	.elementor-nav-menu--dropdown .elementor-nav-menu > li > a.elementor-item {
		font-family: 'Source Serif 4', Georgia, serif !important;
		font-size: 19px !important; font-weight: 600 !important;
		color: #FFFFFF !important; background: transparent !important;
		padding: 6px 0 !important;
	}
	.elementor-nav-menu--dropdown .menu-placeholder > a { pointer-events: none; }
	/* sottovoci */
	.elementor-nav-menu--dropdown .elementor-nav-menu a.elementor-sub-item {
		font-family: 'Inter', sans-serif !important;
		font-size: 14px !important; font-weight: 500 !important;
		color: rgba(255,255,255,.78) !important; background: transparent !important;
		padding: 6px 0 6px 14px !important;
		border-left: 1px solid rgba(255,255,255,.18);
	}
	.elementor-nav-menu--dropdown .elementor-nav-menu a.elementor-sub-item:hover,
	.elementor-nav-menu--dropdown .elementor-nav-menu a.elementor-item:hover {
		color: #1ABCE6 !important;
	}
	.elementor-nav-menu--dropdown .elementor-nav-menu li { border: none !important; }
}
/* blocco dello scroll della pagina quando la modale è aperta */
html.apl-menu-open, html.apl-menu-open body { overflow: hidden !important; }

/* voci di menu principale: -1px rispetto al default del kit e spaziatura
   ridotta (28→16px), per tenere il menu su una riga anche con le label
   più lunghe di EN/FR/ES. I bordi esterni (prima/ultima voce) non hanno
   bisogno di respiro: il flex-gap del template fa già da margine. */
.elementor-location-header .elementor-nav-menu--main .elementor-item {
	font-size: 15px !important;
	padding-left: 6px !important;
	padding-right: 6px !important;
}
.elementor-location-header .elementor-nav-menu--main > ul > li:first-child > .elementor-item { padding-left: 0 !important; }
.elementor-location-header .elementor-nav-menu--main > ul > li:last-child > .elementor-item { padding-right: 0 !important; }
/* chevron dei sottomenu: meno aria attorno all'icona */
.elementor-location-header .elementor-nav-menu--main .sub-arrow {
	margin-left: -6px;
	transform: scale(.85);
}

/* ------------------------------------------------------------------
   Form: label bilingui — parte inglese sotto, discreta.
   ------------------------------------------------------------------ */
.gform_wrapper .gfield_label { display: block; }
.gform_wrapper .gfield_label .en,
.gform_wrapper .gfield_checkbox .en {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #7A8494;
	margin-top: 2px;
	letter-spacing: 0;
}
.apl-tipo-cards .gchoice label .en { display: block; font-size: 13px; font-weight: 400; color: #7A8494; }

/* Single articolo: l'immagine in evidenza sormonta la testata navy (-48px),
   quindi i quadretti-buco in alto a destra cadono sul navy, non sul bianco:
   il colore campionato dal JS (sfondo sezione = bianco) va forzato al navy.
   !important necessario: il JS scrive --apl-hole come stile inline. */
.elementor-widget-theme-post-featured-image .apl-imgwrap {
	--apl-hole: #11214D !important;
}
