/* ==========================================================================
   Premio Mercurio – landing page
   Tutto è racchiuso in .pm-landing: nessun impatto sul resto del sito.
   Nota: il tema imposta html{font-size:10px}, quindi qui si usano px/em, non rem.
   ========================================================================== */

.pm-landing {
	--pm-navy: #18396c;
	--pm-navy-dark: #122c55;
	--pm-red: #c62d2f;
	--pm-gold: #846a37;
	--pm-beige: #f3f2ed;
	--pm-line: #dedcd5;
	--pm-text: #1f2328;
	--pm-muted: #4a4f57;
	--pm-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--pm-sans: "Source Sans 3", "Source Sans Pro", Roboto, Arial, sans-serif;
	/* altezza dell'header ITKAM fisso (uguale al padding-top del body nel tema) */
	--pm-header: 107px;
	--pm-subnav: 0px;

	/* full-bleed dentro .wrap/.main del tema (padding 15px) */
	margin-left: -15px;
	margin-right: -15px;
	font-family: var(--pm-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--pm-text);
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 480px) { .pm-landing { --pm-header: 111px; } }
@media (min-width: 768px) { .pm-landing { --pm-header: 118px; } }
@media (min-width: 992px) { .pm-landing { --pm-header: 132px; } }

body.admin-bar .pm-landing { --pm-header: 107px; }
@media (min-width: 480px) { body.admin-bar .pm-landing { --pm-header: 65px; } }
@media (min-width: 768px) { body.admin-bar .pm-landing { --pm-header: 72px; } }
@media (min-width: 783px) { body.admin-bar .pm-landing { --pm-header: 86px; } }
@media (min-width: 992px) { body.admin-bar .pm-landing { --pm-header: 100px; } }
@media (min-width: 1200px) { body.admin-bar .pm-landing { --pm-header: 106px; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.pm-landing *,
.pm-landing *::before,
.pm-landing *::after { box-sizing: border-box; }

.pm-landing [id] { scroll-margin-top: calc(var(--pm-header) + var(--pm-subnav) + 16px); }

.pm-landing p { margin: 0 0 14px; }
.pm-landing p:last-child { margin-bottom: 0; }
.pm-landing a { color: var(--pm-navy); }
.pm-landing img { height: auto; }
.pm-landing h1, .pm-landing h2, .pm-landing h3 { margin: 0; color: var(--pm-navy); overflow-wrap: break-word; }
.pm-landing h3 { -webkit-hyphens: auto; hyphens: auto; }

.pm-container {
	width: 100%;
	max-width: 930px;
	margin: 0 auto;
	padding: 0 20px;
}
@media (min-width: 1200px) { .pm-container { max-width: 940px; padding: 0; } }

/* ---------- Tipografia ---------- */
.pm-title {
	position: relative;
	font-family: var(--pm-serif);
	font-weight: 500;
	font-size: 34px;
	line-height: 1.12;
	letter-spacing: -.005em;
	padding-top: 22px;
	margin-bottom: 22px !important;
}
.pm-title::before,
.pm-rule {
	content: "";
	display: block;
	width: 24px;
	height: 2px;
	background: var(--pm-red);
}
.pm-title::before { position: absolute; top: 0; left: 0; }
@media (min-width: 768px) { .pm-title { font-size: 40px; } }
.pm-title--xl { font-size: 38px; }
@media (min-width: 768px) { .pm-title--xl { font-size: 46px; } }

.pm-lead { font-size: 16px; line-height: 1.6; color: var(--pm-muted); }
.pm-lead--narrow { max-width: 560px; margin-bottom: 44px !important; }
.pm-subtitle { font-family: var(--pm-sans); font-size: 17px; font-weight: 700; margin: 0 0 8px !important; }
.pm-subtitle:not(:first-child) { margin-top: 26px !important; }
.pm-eyebrow { font-size: 13px; font-weight: 600; color: var(--pm-muted); margin-bottom: 18px !important; }
.pm-gold-label { font-size: 12px; font-weight: 700; color: var(--pm-gold); margin-top: 6px; }
.pm-gold-label--regular { font-weight: 400; font-size: 13px; }
.pm-prose { font-size: 15px; line-height: 1.75; }
.pm-prose ul { padding-left: 20px; margin: 0 0 14px; }

/* ---------- Bottoni ---------- */
.pm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 24px;
	font-family: var(--pm-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	border: 1px solid var(--pm-navy);
	border-radius: 1px;
	transition: background-color .2s, color .2s, border-color .2s;
	cursor: pointer;
}
.pm-btn--sm { min-height: 38px; padding: 8px 20px; font-size: 13px; }
.pm-btn--primary { background: var(--pm-navy); color: #fff !important; }
.pm-btn--primary:hover, .pm-btn--primary:focus { background: var(--pm-navy-dark); border-color: var(--pm-navy-dark); }
.pm-btn--outline { background: #fff; color: var(--pm-navy) !important; }
.pm-btn--outline:hover, .pm-btn--outline:focus { background: var(--pm-navy); color: #fff !important; }
.pm-btn--light { background: #fff; border-color: #fff; color: var(--pm-navy) !important; }
.pm-btn--light:hover, .pm-btn--light:focus { background: transparent; color: #fff !important; }
.pm-btn:focus-visible, .pm-landing a:focus-visible, .pm-landing summary:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 2px; }

/* ---------- Menu di pagina: riga di sezioni dentro la pagina, staccata dall'header ---------- */
.pm-subnav { padding-top: 28px; background: #fff; }
.pm-subnav__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	border-bottom: 1px solid var(--pm-line);
}
.pm-subnav__menu {
	display: flex;
	gap: 28px;
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.pm-subnav__menu::-webkit-scrollbar { display: none; }
.pm-subnav__menu a {
	display: block;
	padding: 10px 0 12px;
	margin-bottom: -1px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--pm-muted) !important;
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
}
.pm-subnav__menu a:hover, .pm-subnav__menu a:focus { color: var(--pm-navy) !important; border-bottom-color: var(--pm-red); }
.pm-subnav__cta { display: none; flex: 0 0 auto; margin-bottom: 8px; }
@media (min-width: 992px) {
	.pm-subnav { padding-top: 36px; }
	.pm-subnav__cta { display: inline-flex; }
}

/* ---------- Sezioni ---------- */
.pm-section { padding: 64px 0; }
@media (min-width: 768px) { .pm-section { padding: 88px 0; } }
.pm-section--beige { background: var(--pm-beige); }
.pm-section--navy { background: var(--pm-navy); color: rgba(255,255,255,.88); }
.pm-section--navy .pm-title,
.pm-section--navy h3 { color: #fff; }
.pm-section--navy .pm-lead { color: rgba(255,255,255,.85); }
.pm-section--navy a { color: #fff; }

.pm-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 768px) {
	.pm-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
}

/* ---------- Hero ---------- */
.pm-hero { padding: 40px 0 64px; border-bottom: 1px solid var(--pm-line); }
.pm-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.pm-hero__logo { display: block; width: 100%; max-width: 330px; margin-bottom: 22px; }
.pm-rule { margin-bottom: 26px; width: 36px; }
.pm-hero__title {
	font-family: var(--pm-serif);
	font-weight: 500;
	font-size: 40px;
	line-height: 1.08;
	margin-bottom: 26px !important;
}
.pm-hero__text { font-size: 16px; line-height: 1.6; max-width: 470px; margin-bottom: 30px !important; }
.pm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.pm-hero__deadline { font-size: 12px; color: var(--pm-muted); }
.pm-hero__media { text-align: center; }
.pm-hero__image { width: 48%; max-width: 250px; }
@media (min-width: 768px) {
	.pm-hero { padding: 48px 0 72px; }
	.pm-hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; }
	.pm-hero__title { font-size: 50px; }
	.pm-hero__image { width: 100%; max-width: 250px; }
}

/* ---------- Il premio ---------- */
.pm-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 30px 0 0; }
@media (min-width: 600px) { .pm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pm-fact { border-top: 1px solid var(--pm-gold); padding-top: 16px; }
.pm-fact__value { font-family: var(--pm-serif); font-size: 27px; font-weight: 600; line-height: 1.1; color: var(--pm-navy); margin-bottom: 8px; }
.pm-fact__label { margin: 0; font-size: 12px; line-height: 1.45; color: var(--pm-muted); }

/* ---------- Simboli ---------- */
.pm-symbols { list-style: none; margin: 0; padding: 0; }
.pm-symbol {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--pm-line);
	font-size: 13px;
	line-height: 1.6;
}
.pm-symbol:first-child { padding-top: 0; }
.pm-symbol:last-child { border-bottom: 0; }
.pm-symbol__icon { text-align: center; }
.pm-symbol__icon img { max-width: 72px; max-height: 76px; width: auto; }
.pm-symbol__name { font-family: var(--pm-serif); font-size: 21px; font-weight: 600; margin-bottom: 6px !important; }
.pm-symbol__name small { font-family: var(--pm-sans); font-size: 11px; font-weight: 400; color: var(--pm-muted); margin-left: 6px; }
.pm-symbol p { margin-bottom: 0; }

/* ---------- Categorie ---------- */
.pm-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 768px) { .pm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }
.pm-card { border-top: 1px solid var(--pm-navy); padding-top: 30px; text-align: center; font-size: 13px; line-height: 1.65; }
.pm-card__icon { height: 76px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pm-card__icon img { max-height: 76px; max-width: 120px; width: auto; }
.pm-card__title { font-family: var(--pm-serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.pm-card .pm-gold-label { margin: 8px 0 14px; }

.pm-claim {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--pm-line);
}
.pm-claim__main { font-family: var(--pm-serif); font-size: 22px; line-height: 1.3; color: var(--pm-text); margin: 0 !important; }
.pm-claim__secondary { font-family: var(--pm-serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--pm-muted); margin: 0 !important; }
@media (min-width: 768px) {
	.pm-claim { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; gap: 40px; }
	.pm-claim__cta .pm-btn { min-width: 138px; }
}

/* ---------- Imprenditorialità di domani ---------- */
.pm-future__items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 600px) { .pm-future__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
.pm-future__item { border-top: 1px solid rgba(255,255,255,.3); padding-top: 18px; font-size: 13px; line-height: 1.65; }
.pm-future__item h3 { font-family: var(--pm-serif); font-size: 23px; font-weight: 600; margin-bottom: 10px !important; }
.pm-future__note { margin-top: 32px !important; font-size: 15px; font-weight: 600; color: #fff; }

/* ---------- Criteri ---------- */
.pm-criteria__grid { margin-top: 8px; }
.pm-criteria__grid > div:first-child { font-size: 14px; }
.pm-accordion { background: #fff; border: 1px solid var(--pm-line); margin-bottom: 10px; }
.pm-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
}
.pm-accordion summary::-webkit-details-marker { display: none; }
.pm-accordion__title { display: block; font-family: var(--pm-serif); font-size: 22px; font-weight: 600; color: var(--pm-navy); line-height: 1.15; }
.pm-accordion__subtitle { display: block; font-size: 12px; color: var(--pm-muted); margin-top: 3px; }
.pm-accordion__icon {
	position: relative;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border: 1px solid var(--pm-navy);
	border-radius: 50%;
}
.pm-accordion__icon::after {
	content: "";
	position: absolute;
	top: 13px;
	left: 11px;
	width: 8px;
	height: 8px;
	border-left: 1.5px solid var(--pm-navy);
	border-top: 1.5px solid var(--pm-navy);
	transform: rotate(45deg);
	transition: transform .2s, top .2s;
}
.pm-accordion:not([open]) .pm-accordion__icon::after { transform: rotate(225deg); top: 9px; }
.pm-accordion ul { margin: 0; padding: 0 22px 20px 38px; font-size: 13px; line-height: 1.55; }
.pm-accordion li { margin-bottom: 8px; }
.pm-accordion li:last-child { margin-bottom: 0; }

.pm-steps {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 40px;
	padding: 28px;
	background: #fff;
}
.pm-steps__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; }
.pm-step { display: flex; gap: 12px; align-items: flex-start; }
.pm-step__num { font-family: var(--pm-serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--pm-red); }
.pm-step__label { display: block; font-size: 12px; color: var(--pm-muted); }
.pm-step__value { display: block; font-size: 15px; font-weight: 600; color: var(--pm-text); }
.pm-steps__cta { align-self: flex-start; }
@media (min-width: 768px) {
	.pm-steps { flex-direction: row; align-items: center; padding: 32px 36px; }
	.pm-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pm-steps__cta { align-self: center; min-width: 196px; }
}

/* ---------- Giuria & Alumni ---------- */
.pm-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; font-size: 15px; }
.pm-duo__col p { max-width: 400px; margin-bottom: 22px !important; }
@media (min-width: 768px) {
	.pm-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.pm-duo__col:first-child { padding-right: 48px; border-right: 1px solid var(--pm-line); }
	.pm-duo__col:last-child { padding-left: 48px; }
}

/* ---------- FAQ ---------- */
.pm-faq__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; margin: 12px 0 0; }
@media (min-width: 768px) { .pm-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pm-faq__item { border-top: 1px solid var(--pm-line); padding: 24px 0 26px; }
.pm-faq__item:last-child { border-bottom: 1px solid var(--pm-line); }
@media (min-width: 768px) { .pm-faq__item:nth-last-child(2) { border-bottom: 1px solid var(--pm-line); } }
.pm-faq__item dt { font-size: 15px; font-weight: 700; color: var(--pm-navy); margin-bottom: 6px; }
.pm-faq__item dd { margin: 0; font-size: 13px; line-height: 1.6; }

/* ---------- Candidatura finale / contatti / partner ---------- */
.pm-final__grid { align-items: start; }
@media (min-width: 768px) { .pm-final__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; } }
.pm-final .pm-lead { margin-bottom: 30px !important; }
.pm-contact { font-size: 13px; line-height: 1.65; padding-top: 4px; }
.pm-contact__title { font-family: var(--pm-sans); font-size: 16px; font-weight: 700; margin-bottom: 16px !important; }
.pm-contact__details { margin-top: 18px !important; font-size: 14px; }
.pm-contact__details strong { color: #fff; }

.pm-partners { margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.25); }
.pm-partners__title { font-size: 12px; margin-bottom: 16px !important; }
.pm-partners__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .pm-partners__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pm-partner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 12px;
	border: 1px solid rgba(255,255,255,.35);
	font-size: 11px;
	text-align: center;
}
.pm-partner a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pm-partner img { max-height: 48px; width: auto; }
.pm-partner--placeholder { color: rgba(255,255,255,.75); border-style: dashed; }

/* Stampa */
@media print {
	.pm-subnav { display: none; }
	.pm-section--navy { background: #fff; color: #000; }
	.pm-section--navy .pm-title, .pm-section--navy h3 { color: var(--pm-navy); }
}
