/* =========================================================================
   Redesign 2026 — pagine terapia (e base comune per blog, articolo, home)
   Usa le variabili del tema (marco-salerno.webflow.css).
   ========================================================================= */

.ms-page {
	--ms-navy: var(--blue--blue-1, #112749);
	--ms-blue: var(--blue--blue-2, #1b3a66);
	--ms-tint: var(--blue--blue-4, #e9edf3);
	--ms-title: var(--text--titles, #1f2933);
	--ms-text: var(--text--paragraphs, #404a5d);
	--ms-line: #e1e6ee;
	--ms-line-strong: #c9d2de;
	--ms-accent: #ee7c1b;
	--ms-serif: Optiamway, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
	--ms-nav-h: 7.5rem; /* top bar + navbar fissa */
	--ms-pad: clamp(64px, 8vw, 112px);
	color: var(--ms-text);
}

.ms-page .ms-main { padding-top: 0; }

.ms-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 40px);
	box-sizing: border-box;
}

.ms-main :where(p) { margin: 0; }
.ms-main :where(strong) { color: var(--ms-title); font-weight: 600; }
.ms-main :where(a:not(.ms-btn, .blog_item-link, .ms-paths__card, .button, .w-button)) { color: var(--ms-navy); font-weight: 600; }


/* ---------- tipografia */
.ms-h2 {
	margin: 0 0 16px;
	font-family: var(--ms-serif);
	font-weight: 400;
	font-size: clamp(30px, calc(1.2rem + 2.2vw), 48px);
	line-height: 1.15;
	color: var(--ms-title);
}
.ms-h2--sm { font-size: clamp(26px, calc(1rem + 1.2vw), 34px); line-height: 1.2; margin: 0; }
.ms-h3 { margin: 0; font-family: Inter, sans-serif; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ms-title); }
.ms-h3--lg { font-size: 20px; line-height: 28px; }
.ms-h3--xl { font-size: 22px; line-height: 30px; }
.ms-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ms-blue); margin-bottom: 10px !important; }

.ms-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.ms-head .ms-h2:last-child { margin-bottom: 0; }

/* ---------- bottoni e link */
.ms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 28px;
	border-radius: 8px;
	background: var(--ms-navy);
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	transition: background-color .35s, transform .35s, box-shadow .35s;
}
.ms-btn:hover { background: var(--ms-blue); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0,0,0,.2); }
.ms-btn--light { background: #fff; color: var(--ms-navy); font-weight: 600; }
.ms-btn--light:hover { background: #fff; color: var(--ms-navy); }

.ms-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.ms-link .ms-icon { transition: transform .3s; }
.ms-link:hover .ms-icon { transform: translateX(3px); }

.ms-main a:focus-visible, .ms-main button:focus-visible { outline: 2px solid var(--ms-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- elementi ricorrenti */
.ms-badge {
	flex: 0 0 auto;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--ms-tint);
	color: var(--ms-blue);
	display: inline-flex; align-items: center; justify-content: center;
}
.ms-badge--lg { width: 48px; height: 48px; }
.ms-badge--white { background: #fff; border: 1px solid var(--ms-line); }

.ms-card { border: 1px solid var(--ms-line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.ms-card--lg { padding: clamp(28px, 3vw, 40px); gap: 16px; border-radius: 12px; }
.ms-card__end { margin-top: auto; }

.ms-panel { background: #fff; border-radius: 8px; padding: 28px; }
.ms-panel--lg { padding: clamp(28px, 3vw, 40px); }
.ms-panel--accent { border-top: 3px solid var(--ms-navy); }
.ms-panel--warn { border-top: 3px solid var(--ms-accent); }
.ms-panel .ms-h3 { margin-bottom: 16px; }
.ms-panel--lg .ms-h3 { margin-bottom: 20px; }

.ms-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }

.ms-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.ms-split--center { align-items: center; }

.ms-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ms-checks--tight { gap: 10px; }
.ms-checks li { display: flex; gap: 12px; }
.ms-checks .ms-icon { flex: 0 0 20px; margin-top: 2px; color: var(--ms-blue); }
.ms-checks--warn .ms-icon { color: #b35400; }

.ms-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ms-dots li { display: flex; gap: 12px; }
.ms-dots li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--ms-accent); margin-top: 9px; }

.ms-note { font-size: 14px; line-height: 22px; padding: 14px 16px; background: var(--ms-tint); border-radius: 8px; color: var(--ms-title); margin-top: 24px !important; }

/* ---------- sezioni */
.ms-section { padding: var(--ms-pad) 0; }
.ms-section--tint { background: var(--ms-tint); }
.ms-section--flush { padding-top: 0; }
.ms-section--top { padding-bottom: 0; }

/* testata sticky + sovrapposizione */
.ms-hero {
	position: sticky;
	top: 0;
	z-index: 0;
	background: var(--ms-tint);
	padding: calc(var(--ms-nav-h) + clamp(32px, 5vw, 64px)) 0 clamp(80px, 9vw, 128px);
}
.ms-overlap {
	position: relative;
	z-index: 1;
	margin-top: -24px;
	background: #fff;
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -12px 32px rgba(17, 39, 73, .08);
	overflow: hidden;
	overflow: clip; /* non blocca gli elementi sticky */
}
@media (max-width: 767px) {
	.ms-hero { position: relative; }
}

.ms-breadcrumb { margin-bottom: clamp(28px, 4vw, 48px); }
.ms-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 20px; }
.ms-breadcrumb a { color: var(--ms-blue) !important; font-weight: 400 !important; }
.ms-breadcrumb li[aria-hidden] { color: #6b7486; }

.ms-hero__body { max-width: 780px; }
.ms-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px !important; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ms-blue); }
.ms-eyebrow span { display: inline-block; width: 28px; height: 2px; background: var(--ms-accent); }
.ms-hero__title { margin: 0 0 24px; font-family: var(--ms-serif); font-weight: 700; font-size: clamp(36px, calc(1.5rem + 2.6vw), 56px); line-height: 1.1; color: var(--ms-title); }
.ms-hero__lead { max-width: 600px; margin-bottom: 32px !important; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; }
.ms-hero__actions { margin-bottom: 32px !important; }
.ms-hero__credentials { padding-top: 20px; border-top: 1px solid var(--ms-line-strong); font-size: 14px; line-height: 22px; }

/* ti riconosci */
.ms-rec__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }

/* nota di sicurezza in colori caldi (pagine narcisismo) */
.ms-note--warm { display: flex; gap: 14px; align-items: flex-start; background: #fff8f1; border: 1px solid #f0c9a6; border-radius: 12px; padding: 18px 20px; }
.ms-note__icon { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #f0c9a6; color: #8a3f00; display: flex; align-items: center; justify-content: center; }
.ms-note--warm > div { min-width: 0; }
.ms-main .ms-note__title { margin: 0 0 4px; font-size: 15px; line-height: 22px; font-weight: 600; color: #8a3f00; }

/* spiegazione */
.ms-exp__main { flex: 1 1 560px; min-width: 0; max-width: 680px; }
.ms-exp__main .ms-h2 { margin-bottom: 24px; }
.ms-exp__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ms-exp__summary { color: var(--ms-title); }
.ms-prose > * + * { margin-top: 20px !important; }

/* come posso aiutarti */
.ms-help__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 40px); margin-bottom: clamp(40px, 5vw, 64px); }
.ms-help__item { border-top: 1px solid var(--ms-line-strong); padding-top: 24px; }
.ms-help__item .ms-h3 { margin-bottom: 10px; }
.ms-help__num { margin-bottom: 12px !important; font-family: var(--ms-serif); font-size: 28px; color: var(--ms-blue); }
.ms-quote { margin: 0; background: var(--ms-tint); border-radius: 8px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; color: var(--ms-blue); }
.ms-quote > div { flex: 1 1 480px; min-width: 0; }
.ms-quote blockquote { margin: 0 0 16px; padding: 0; border: 0; font-family: var(--ms-serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--ms-title); }
.ms-quote figcaption { font-size: 14px; color: var(--ms-text); }

/* chi sono */
.ms-about__photo { flex: 1 1 340px; min-width: 0; max-width: 440px; }
.ms-about__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 45% 30%; border-radius: 8px; background: #d5dde8; }
.ms-about__text { flex: 1 1 520px; min-width: 0; }
.ms-about__text .ms-h2 { margin-bottom: 20px; }
.ms-about__intro { margin-bottom: 28px !important; }
.ms-facts { margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 32px; }
.ms-facts > div { padding: 14px 0; border-top: 1px solid var(--ms-line-strong); }
.ms-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ms-blue); margin-bottom: 4px; }
.ms-facts dd { margin: 0; color: var(--ms-title); }

/* percorso */
.ms-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 28px; }
.ms-steps__item { display: flex; flex-direction: column; gap: 14px; }
.ms-steps__marker { display: flex; align-items: center; gap: 12px; }
.ms-steps__marker span { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--ms-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.ms-steps__marker i { flex: 1 1 auto; height: 2px; background: var(--ms-line-strong); }
.ms-steps__time { font-size: 14px; line-height: 22px; padding: 12px 14px; background: var(--ms-tint); border-radius: 8px; }

/* primo colloquio in pratica */
.ms-practice__box { background: #f7f8fa; border: 1px solid var(--ms-line); border-radius: 16px; padding: clamp(28px, 4vw, 56px); }
.ms-practice__box > .ms-h2 { margin-bottom: clamp(28px, 3vw, 40px); }
.ms-practice__grid { margin: 0 0 clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px 32px; }
.ms-practice__grid > div { display: flex; flex-direction: column; gap: 10px; }
.ms-practice__grid dt { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ms-title); }
.ms-practice__grid dd { margin: 0; }

/* fascia cta */
.ms-band { background: var(--ms-navy); padding: clamp(56px, 7vw, 88px) 0; }
.ms-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.ms-band__inner > div { flex: 1 1 520px; min-width: 0; }
.ms-band__title { margin-bottom: 8px !important; font-family: var(--ms-serif); font-size: clamp(26px, calc(1rem + 1.6vw), 38px); line-height: 1.2; color: #fff; }
.ms-band__text { color: #d3dce8; }

/* faq */
.ms-faq__intro { flex: 1 1 300px; min-width: 0; }
.ms-faq__list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--ms-line-strong); }
.ms-faq__item { border-bottom: 1px solid var(--ms-line-strong); }
.ms-faq__item h3 { margin: 0; font-family: Inter, sans-serif; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ms-title); }
.ms-faq__item button { width: 100%; background: none; border: 0; padding: 22px 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ms-faq__chev { flex: 0 0 20px; color: var(--ms-navy); transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.ms-faq__item button[aria-expanded="true"] .ms-faq__chev { transform: rotate(180deg); }
.ms-faq__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1), opacity .35s ease; }
.is-ready .ms-faq__panel { grid-template-rows: 0fr; opacity: 0; }
.ms-faq__panel > div { overflow: hidden; min-height: 0; }
.ms-faq__panel p { margin: 0 0 22px; max-width: 640px; }
.is-ready .ms-faq__item.is-open .ms-faq__panel { grid-template-rows: 1fr; opacity: 1; }

/* percorsi collegati */
.ms-paths__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.ms-paths__grid li { display: flex; }
.ms-paths__card { flex: 1 1 auto; display: flex; align-items: center; gap: 20px; border: 1px solid var(--ms-line); border-radius: 12px; padding: 24px 28px; text-decoration: none; color: var(--ms-text); background: #fff; transition: border-color .3s, box-shadow .3s; }
.ms-paths__card:hover { border-color: var(--ms-line-strong); box-shadow: 0 6px 20px rgba(17, 39, 73, .08); }
.ms-paths__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ms-paths__name { font-family: var(--ms-serif); font-size: 24px; line-height: 1.25; color: var(--ms-title); }
.ms-paths__go { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--ms-navy); color: #fff; display: flex; align-items: center; justify-content: center; }

/* blog */
.ms-blog__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.ms-blog__head .ms-h2 { margin: 0; }
@media (max-width: 991px) { .ms-page .blog_list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ms-page .blog_list { grid-template-columns: 1fr; } }

/* contatto */
.ms-contact__intro { flex: 1 1 400px; min-width: 0; }
.ms-contact__intro .ms-h2 { margin-bottom: 20px; }
.ms-contact__intro > p { margin-bottom: 32px !important; }
.ms-contact__ways { display: flex; flex-direction: column; gap: 16px; }
.ms-contact__ways a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ms-title) !important; font-weight: 400 !important; }
.ms-contact__ways a > span:last-child { display: flex; flex-direction: column; }
.ms-contact__ways small { font-size: 13px; color: var(--ms-text); }
.ms-contact__ways strong { font-size: 18px; }
.ms-contact__form { flex: 1 1 460px; min-width: 0; }

/* autore */
.ms-author { padding: 0 0 clamp(56px, 7vw, 88px); }
.ms-author__box { border: 1px solid var(--ms-line); border-radius: 8px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ms-author__box img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.ms-author__text { flex: 1 1 300px; min-width: 0; }
.ms-author__by { margin-bottom: 2px !important; font-size: 13px; }
.ms-author__name { margin-bottom: 4px !important; font-family: var(--ms-serif); font-size: 20px; font-weight: 700; color: var(--ms-title); }
.ms-author__meta { font-size: 14px; line-height: 22px; }

/* ---------- comparsa allo scroll (come sul sito attuale) */
.ms-js [data-ms-reveal] {
	opacity: 0;
	filter: blur(8px);
	transform: translateY(24px);
	transition: opacity .7s ease, filter .7s ease, transform .7s ease;
	transition-delay: var(--ms-delay, 0ms);
}
.ms-js [data-ms-reveal].is-visible { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ms-js [data-ms-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
	.ms-faq__panel, .ms-faq__chev { transition: none; }
}

/* ---------- modulo di contatto: stesso form del sito, aspetto del design concordato */
.ms-form { background: var(--blue--blue-4, #e9edf3); border-radius: 8px; padding: clamp(24px, 3vw, 40px); box-sizing: border-box; color: #1f2933; }
.ms-form .contact_form-block { margin: 0; }
.ms-form .contact6_form { gap: 18px; }
.ms-form .form_field-2col { grid-column-gap: 18px; grid-row-gap: 18px; }
.ms-form .form_field-label { margin-bottom: 6px; font-size: 14px; font-weight: 500; line-height: 20px; color: #1f2933; }
.ms-form .field.w-input,
.ms-form .field.w-select {
	height: 48px;
	margin: 0;
	border: 1px solid #8a94a6;
	border-radius: 8px;
	padding: 0 14px;
	background-color: #fff;
	color: #1f2933;
	font: inherit;
	font-size: 16px;
	box-shadow: none;
	box-sizing: border-box;
	width: 100%;
}
.ms-form .field.w-select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 48px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23112749' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 20px 20px;
}
.ms-form .field.is-text-area { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }
.ms-form .field::placeholder { color: #6b7486; }
.ms-form .field:focus { border-color: #112749; outline: 2px solid rgba(17, 39, 73, .25); outline-offset: 1px; }
.ms-form .w-checkbox.form_checkbox { display: flex; align-items: flex-start; gap: 10px; min-height: 24px; margin-bottom: 0; padding-left: 0; }
.ms-form .form_checkbox-icon {
	flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0 !important;
	border: 1px solid #8a94a6; border-radius: 4px; background-color: #fff;
}
.ms-form .form_checkbox-icon.w--redirected-checked {
	border-color: #112749; background-color: #112749;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
	background-size: 14px 14px; background-position: center; background-repeat: no-repeat;
}
.ms-form .form_checkbox-label { margin: 0; font-size: 14px; line-height: 20px; color: #1f2933; }
.ms-form .w-button[type="submit"] {
	width: 100%; height: 52px; padding: 0 24px; border: 0; border-radius: 8px;
	background: #112749; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.ms-form .w-button[type="submit"]:hover { background: #1b3a66; }
.ms-form .button-group { flex-direction: column; align-items: stretch; gap: 12px; }
.ms-form .text-small { font-size: 13px; line-height: 20px; color: #404a5d; text-align: center; }
.ms-form .form_message-success, .ms-form .form_message-error { border-radius: 8px; padding: 20px; }

/* =========================================================================
   Elementi comuni aggiunti per blog, articolo, homepage e contatti
   ========================================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ms-hero__lead--wide { max-width: 640px; }
.ms-hero__lead--last { margin-bottom: 0 !important; }
.ms-hero__credentials--author { display: flex; align-items: center; gap: 12px; }
.ms-hero__credentials--author img { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ms-eyebrow--light { color: #d3dce8; }
.ms-eyebrow--center { justify-content: center; }
.ms-h2--light { color: #fff; }
.ms-head--center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.ms-link--plain { text-decoration: none; }
.ms-btn--ghost { background: transparent; border: 1px solid #fff; color: #fff; gap: 8px; font-weight: 600; }
.ms-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ms-tag { display: inline-block; font-size: 14px; line-height: 20px; color: var(--ms-title) !important; font-weight: 400 !important; background: #fff; border: 1px solid #e6e1e3; border-radius: 6px; padding: 3px 8px; text-decoration: none; }
.ms-main .ms-tag:hover { border-color: var(--ms-line-strong); }

/* ---------- blog: in evidenza */
.ms-featured { padding-bottom: clamp(48px, 6vw, 80px); }
.ms-featured__row { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.ms-post--featured { flex: 2 1 560px; min-width: 0; height: auto; display: flex; padding: clamp(40px, 6vw, 120px) clamp(20px, 3vw, 40px) clamp(32px, 4vw, 48px); }
.ms-post--featured .blog_item-link { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; }
.ms-featured__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.ms-post--side { flex: 1 1 auto; height: auto; padding: 32px 18px 28px; }
.ms-post--side .heading-style-h5 { margin: 18px 0 14px; }
.ms-tag--dark { background: var(--ms-navy) !important; border-color: var(--ms-navy) !important; color: #fff; }
.ms-post__title-lg { margin: 24px 0 18px; font-family: var(--ms-serif); font-size: clamp(28px, calc(1rem + 1.8vw), 40px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; color: var(--ms-title); max-width: 720px; }
.ms-post__excerpt { max-width: 640px; margin-bottom: 24px; }

/* ---------- blog: dalla lettura al percorso */
.ms-blogpaths__box { background: var(--ms-navy); color: #fff; border-radius: 16px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); }
.ms-blogpaths__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ms-blogpaths__top > div { flex: 1 1 520px; min-width: 0; max-width: 680px; }
.ms-blogpaths__top p:not(.ms-eyebrow) { color: #d3dce8; }
.ms-blogpaths__box .ms-h2 { font-size: clamp(28px, calc(1rem + 2vw), 42px); margin-bottom: 14px; }
.ms-blogpaths__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.ms-main .ms-blogpaths__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 100%; box-sizing: border-box; padding: 18px 20px; border: 1px solid #3a5078; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 400; transition: background-color .3s; }
.ms-main .ms-blogpaths__list a:hover { background: rgba(255, 255, 255, .06); }
.ms-blogpaths__list span { display: flex; flex-direction: column; gap: 2px; }
.ms-blogpaths__list strong { color: #fff; font-size: 16px; }
.ms-blogpaths__list small { font-size: 14px; line-height: 20px; color: #d3dce8; }

/* ---------- blog: elenco, filtro, paginazione */
.ms-bloglist { padding-top: clamp(48px, 6vw, 88px); }
.ms-bloglist__head { margin-bottom: clamp(28px, 4vw, 40px); }
.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-main .ms-chips a { flex: 0 0 auto; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 6px; border: 1px solid #e3e3e3; background: #fff; color: var(--ms-title); font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; box-sizing: border-box; }
.ms-main .ms-chips a:hover { border-color: var(--ms-line-strong); }
.ms-main .ms-chips a[aria-current="page"] { background: var(--ms-navy); border-color: var(--ms-navy); color: #fff; font-weight: 500; }
@media (max-width: 767px) {
	.ms-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: thin; }
}
.ms-pager { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 15px; }
.ms-pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--ms-line); color: var(--ms-title) !important; font-weight: 400 !important; text-decoration: none; box-sizing: border-box; }
.ms-pager .page-numbers.current { background: var(--ms-navy); border-color: var(--ms-navy); color: #fff !important; font-weight: 600 !important; }
.ms-pager .page-numbers.dots { border: 0; min-width: auto; }
.ms-pager .prev, .ms-pager .next { border: 0; padding: 0 14px; color: var(--ms-navy) !important; font-weight: 600 !important; }

/* ---------- articolo */
.ms-wrap--text { max-width: 800px; }
.ms-article__hero { background: linear-gradient(180deg, var(--red--red-4, #f2e7e6) 0%, #fff 100%); padding: calc(var(--ms-nav-h) + clamp(32px, 5vw, 64px)) 0 clamp(40px, 5vw, 64px); }
.ms-article__hero .ms-tag { margin-bottom: 20px; }
.ms-article__title { margin: 0 0 24px; font-family: var(--ms-serif); font-weight: 700; font-size: clamp(32px, calc(1.2rem + 2.4vw), 52px); line-height: 1.12; letter-spacing: -.01em; color: var(--ms-title); }
.ms-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; line-height: 22px; }
.ms-article__by { display: inline-flex; align-items: center; gap: 10px; }
.ms-article__by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ms-main .ms-article__by a { color: var(--ms-title); }
.ms-article__body { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 72px); }
.ms-article__lead { margin-bottom: 32px !important; font-size: 20px; line-height: 32px; color: var(--ms-title); }
.ms-toc { background: var(--ms-tint); border-radius: 12px; padding: 24px 28px; margin-bottom: 40px; }
.ms-toc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--ms-navy); }
.ms-article__content { font-size: 18px; line-height: 30px; color: var(--ms-title); }
.ms-article__content > * { margin-top: 0; margin-bottom: 20px; }
.ms-article__content h2 { margin: 48px 0 16px; font-family: var(--ms-serif); font-weight: 400; font-size: clamp(26px, calc(1rem + 1.4vw), 34px); line-height: 1.2; color: var(--ms-title); scroll-margin-top: calc(var(--ms-nav-h) + 16px); }
.ms-article__content h3 { margin: 32px 0 12px; font-family: Inter, sans-serif; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ms-title); }
.ms-article__content p { margin: 0 0 20px; }
.ms-article__content ul, .ms-article__content ol { margin: 0 0 20px; padding-left: 24px; }
.ms-article__content li { margin-bottom: 10px; }
.ms-article__content ul li::marker { color: var(--ms-accent); }
.ms-article__content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--ms-accent); font-family: var(--ms-serif); font-size: 24px; line-height: 34px; color: var(--ms-title); }
.ms-article__content img { max-width: 100%; height: auto; border-radius: 12px; }
.ms-article__content a { text-decoration: underline; text-underline-offset: 3px; }
.ms-biblio { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ms-line); }
.ms-biblio h2 { margin: 0 0 14px; }
.ms-biblio ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 24px; }
.ms-authorcard__box { border: 1px solid var(--ms-line); border-radius: 16px; padding: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ms-authorcard__box > img { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 12px; object-fit: cover; object-position: 45% 30%; }
.ms-authorcard__box > div { flex: 1 1 320px; min-width: 0; }
.ms-authorcard__name { margin-bottom: 6px !important; font-family: var(--ms-serif); font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--ms-title); }
.ms-authorcard__meta { margin-bottom: 14px !important; font-size: 14px; line-height: 22px; }
.ms-authorcard__bio { margin-bottom: 18px !important; color: var(--ms-title); }
.ms-authorcard__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; }
.ms-article__cta { margin-top: clamp(32px, 4vw, 48px); }
.ms-ctabox { background: var(--ms-navy); color: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 48px); }
.ms-ctabox .ms-h2 { margin-bottom: 14px; }
.ms-ctabox > p:not(.ms-eyebrow) { color: #d3dce8; margin-bottom: 24px !important; }
.ms-ctabox__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.ms-related { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- homepage */
.ms-hero--home { background: var(--white--bianco-bg, #f7f7f7); padding: calc(var(--ms-nav-h) + clamp(40px, 5vw, 72px)) 0 clamp(88px, 9vw, 128px); }
.ms-homehero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.ms-homehero__text { flex: 1 1 520px; min-width: 0; }
.ms-homehero__text .ms-eyebrow { margin-bottom: 18px !important; }
.ms-hero__title--home { margin-bottom: 20px; font-size: clamp(36px, calc(1.4rem + 2.6vw), 58px); line-height: 1.08; letter-spacing: -.01em; }
.ms-homehero__sub { margin-bottom: 28px !important; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; font-weight: 500; color: var(--ms-title); }
.ms-homehero__sub span { font-weight: 400; color: var(--ms-text); }
.ms-homehero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ms-homehero__note { margin-top: 10px !important; font-size: 13px; }
.ms-homehero__media { flex: 1 1 400px; min-width: 0; }
.ms-homehero__media > img { display: block; width: 100%; height: auto; aspect-ratio: 580 / 420; object-fit: cover; object-position: 45% 30%; border-radius: 20px; }
.ms-homehero__card { margin-top: 16px; background: #fff; border: 1px solid var(--ms-line); border-radius: 12px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.ms-homehero__name { font-family: var(--ms-serif); font-size: 20px; font-weight: 700; color: var(--ms-title); }
.ms-homehero__role { font-size: 13px; }
.ms-homehero__card ul { flex: 1 1 260px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ms-title); }
.ms-homehero__card li { display: flex; gap: 10px; }
.ms-homehero__card .ms-icon, .ms-inline-checks .ms-icon { flex: 0 0 18px; color: var(--ms-blue); }
@media (max-width: 767px) { .ms-hero--home { position: relative; } }

.ms-situ { border: 1px solid var(--ms-line); border-radius: 12px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.ms-situ:hover { border-color: var(--ms-line-strong); box-shadow: 0 6px 20px rgba(17, 39, 73, .08); }
.ms-main .ms-situ a { display: flex; flex-direction: column; gap: 12px; height: 100%; box-sizing: border-box; padding: 28px; color: var(--ms-text); font-weight: 400; text-decoration: none; }
.ms-situ__title { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ms-title); }
.ms-situ__text { flex: 1 1 auto; }
.ms-situ__go { padding-top: 14px; border-top: 1px solid #eef1f5; font-size: 14px; line-height: 20px; color: var(--ms-navy); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.ms-homeabout__text { flex: 1 1 520px; min-width: 0; }
.ms-homeabout__text .ms-h2 { margin-bottom: 24px; }
.ms-homeabout__text > p:not(.ms-eyebrow) { margin-bottom: 16px !important; }
.ms-homeabout__text .ms-homehero__actions { margin-top: 28px; }
.ms-homeabout__facts { flex: 1 1 380px; min-width: 0; margin: 0; background: #fff; border-radius: 16px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.ms-homeabout__facts > div { padding-bottom: 18px; border-bottom: 1px solid #eef1f5; }
.ms-homeabout__facts dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ms-blue); margin-bottom: 4px; }
.ms-homeabout__facts dd { margin: 0; color: var(--ms-title); }

/* timeline con i punti del sito attuale */
.ms-timeline { list-style: none; margin: -16px 0 0; padding: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; overflow: hidden; }
.ms-timeline li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ms-timeline__dot { position: relative; align-self: stretch; height: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ms-timeline__dot i { z-index: 0; position: absolute; left: -14px; right: -14px; top: 50%; height: 2px; margin-top: -1px; background: #e3e8ef; }
.ms-timeline__dot span { z-index: 1; position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--ms-blue); box-shadow: 0 0 0 5px rgba(27, 58, 102, .16), 0 0 18px 7px rgba(27, 58, 102, .45); }
.ms-timeline h3 { margin: 0; font-family: var(--ms-serif); font-size: 24px; line-height: 1.25; font-weight: 400; letter-spacing: -.01em; color: var(--ms-title); }
.ms-timeline p { max-width: 460px; }

/* recensioni */
.ms-reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); }
.ms-reviews__head > div { max-width: 680px; }
.ms-reviews__score { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 12px 16px; }
.ms-reviews__score small { font-size: 14px; }
.ms-stars { display: inline-flex; color: var(--ms-accent); }
.ms-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ms-review { margin: 0; background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ms-review blockquote { margin: 0; padding: 0; border: 0; flex: 1 1 auto; font-family: var(--ms-serif); font-size: 19px; line-height: 1.5; color: var(--ms-title); }
.ms-review figcaption { font-size: 14px; }

.ms-card--round { border-radius: 16px; gap: 14px; }
.ms-inline-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ms-inline-checks li { display: flex; gap: 8px; align-items: center; }
.ms-contact--line { border-top: 1px solid var(--ms-line); }

/* ---------- contatti */
.ms-contact__intro--narrow { flex-basis: 360px; }
.ms-contact__ways { padding-top: 0; }
.ms-contact__foot { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--ms-line); font-size: 14px; line-height: 22px; }

/* newsletter dentro le pagine nuove: stesso blocco del sito */
.ms-main .section_newsletter { background: transparent; }
.ms-review figcaption, .ms-quote figcaption { text-align: left; }
.ms-article { background: #fff; }

/* recapiti fermi accanto al modulo, solo da desktop */
@media (min-width: 992px) {
	.ms-contact .ms-split { align-items: flex-start; }
	.ms-contact__intro { position: sticky; top: calc(var(--ms-nav-h) + 24px); }
}
/* punteggio Top Doctors cliccabile */
.ms-main a.ms-reviews__score { text-decoration: none; color: var(--ms-text); font-weight: 400; transition: box-shadow .3s; }
.ms-main a.ms-reviews__score:hover { box-shadow: 0 6px 20px rgba(17, 39, 73, .1); }
.ms-reviews__more { margin-top: clamp(28px, 3vw, 40px) !important; text-align: center; }


/* =========================================================================
   Landing "Percorsi" (percorsi-landing.php)
   ========================================================================= */
.ms-lp-rt h2 { margin: 0 0 16px; font-family: var(--ms-serif); font-weight: 400; font-size: clamp(30px, calc(1.2rem + 2.2vw), 48px); line-height: 1.15; color: var(--ms-title); }
.ms-lp-rt h3 { margin: 0 0 6px; font-family: inherit; font-size: 19px; line-height: 27px; font-weight: 600; color: var(--ms-title); }
.ms-lp-rt p + p { margin-top: 16px; }
.ms-lp__bullets { margin: 0 0 32px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--ms-title); }
.ms-lp__bullets .ms-icon { flex: 0 0 20px; margin-top: 3px; color: var(--ms-blue); }
.ms-lp__stars { display: inline-flex; flex: 0 0 auto; }
.ms-lp__stars svg { width: 14px; height: 14px; }
.ms-lp__cta { margin-top: 28px !important; }
.ms-lp__cta--center { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px) !important; }

.ms-lp-emp { background: linear-gradient(180deg, #f2e9e9 0%, #fff 100%); }
.ms-lp-emp .ms-head { margin-left: auto; margin-right: auto; text-align: center; }
.ms-lp-emp .ms-card { border-color: #e6e1e3; border-radius: 16px; }
.ms-lp-emp__badge { background: #f2e9e9; color: #8a3b3b; }

.ms-lp-sol__intro { flex: 1 1 380px; min-width: 0; }
.ms-lp-sol__list { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ms-line); }
.ms-lp-sol__list li { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--ms-line); }
.ms-lp-sol__num { flex: 0 0 36px; font-family: var(--ms-serif); font-size: 28px; line-height: 1; color: var(--ms-accent); }
@media (min-width: 992px) { .ms-lp-sol__intro { position: sticky; top: calc(var(--ms-nav-h) + 24px); } }

.ms-lp-serv { background: var(--ms-navy); color: #dce3ee; border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); }
.ms-lp-serv__main { flex: 1 1 460px; min-width: 0; }
.ms-lp-serv .ms-eyebrow { color: #fff; }
.ms-lp-serv h2, .ms-lp-serv h3, .ms-lp-serv strong { color: #fff; }
.ms-lp-serv .ms-checks { margin-top: 24px; color: #fff; }
.ms-lp-serv .ms-checks .ms-icon { color: var(--ms-accent); }
.ms-lp-serv__info { flex: 1 1 340px; min-width: 0; align-self: center; margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.ms-lp-serv__info div + div { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ms-lp-serv__info dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.ms-lp-serv__info dd { margin: 0; }

.ms-lp .ms-timeline h3 { margin-bottom: 8px; font-family: var(--ms-serif); font-size: 24px; line-height: 1.25; font-weight: 400; }
.ms-lp .ms-head--center .ms-lp-rt, .ms-lp .ms-head--center h2 { text-align: center; }

.ms-lp-bar { display: none; }
@media (max-width: 767px) {
	.ms-lp-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--ms-line); box-shadow: 0 -8px 24px rgba(17, 39, 73, .08); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
	.ms-lp-bar .ms-btn { flex: 1 1 auto; min-height: 48px; }
	.ms-lp-bar__call { flex: 0 0 48px; height: 48px; border: 1px solid var(--ms-navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ms-navy); }
	.ms-lp { padding-bottom: 80px; }
}

.ms-lp-trust__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.ms-lp-trust__grid li { border-top: 2px solid var(--ms-line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ms-lp-video { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.ms-lp-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.ms-thanks__wrap { max-width: 760px; }
.ms-thanks__icon { margin-bottom: 20px; }
.ms-thanks .ms-hero__title { margin-bottom: 16px; }
.ms-thanks__steps { margin: 32px 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 16px; }
.ms-thanks__steps strong { display: block; }
.ms-thanks__links { margin-top: 32px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ms-thanks .ms-main > .ms-section { padding-top: calc(var(--ms-nav-h) + clamp(40px, 5vw, 72px)); }

/* ---------- chi sono */
.ms-cs__name { margin-bottom: 8px; }
.ms-cs__role { margin-bottom: 24px !important; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.4; font-weight: 500; color: var(--ms-blue); }
.ms-cs__intro { max-width: 620px; margin-bottom: 28px; }
.ms-cs__intro p { font-size: 17px; line-height: 27px; }
.ms-cs__intro p + p { margin-top: 16px !important; }
.ms-cs__media > img { aspect-ratio: 9 / 10; object-position: 50% 25%; }
.ms-cs__creds { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 18px 0 0; border-top: 1px solid #dde2ea; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; line-height: 22px; }
.ms-cs__creds li { display: flex; align-items: center; gap: 8px; }
.ms-cs__creds .ms-icon { flex: 0 0 18px; color: var(--ms-blue); }
@media (max-width: 767px) { .ms-cs__media > img { aspect-ratio: 4 / 3; } }

/* indice della pagina, fisso sotto la barra di navigazione */
.ms-cs-index { position: sticky; top: var(--ms-cs-top, var(--ms-nav-h)); z-index: 5; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ms-line); box-shadow: 0 8px 24px rgba(17, 39, 73, .05); }
.ms-cs-index ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px 32px; font-size: 15px; line-height: 22px; }
.ms-cs-index li { flex: 0 0 auto; }
.ms-main .ms-cs-index a { display: flex; align-items: center; min-height: 56px; box-sizing: border-box; padding: 0 2px; border-bottom: 2px solid transparent; color: var(--ms-text); font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.ms-main .ms-cs-index a:hover { color: var(--ms-title); }
.ms-main .ms-cs-index a[aria-current] { color: var(--ms-title); font-weight: 600; border-bottom-color: var(--ms-accent); }
@media (max-width: 991px) {
	.ms-cs-index ul { justify-content: flex-start; gap: 4px 24px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(20px, 5vw, 40px)); padding: 0 clamp(20px, 5vw, 40px); }
	.ms-cs-index ul::-webkit-scrollbar { display: none; }
}
.ms-cs-sec { scroll-margin-top: calc(var(--ms-cs-top, var(--ms-nav-h)) + 56px); }
.ms-cs-flush { padding-top: 0; }
.ms-cs-pub { padding-bottom: 0; }
.ms-cs-sec--grey { background: var(--white--bianco-bg, #f7f7f7); }

.ms-cs-help { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.ms-cs-help li { background: var(--white--bianco-bg, #f7f7f7); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ms-cs-help li > span { font-family: var(--ms-serif); font-size: 28px; line-height: 1; color: var(--ms-accent); }
.ms-cs-help p { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--ms-title); }

.ms-cs-approach__head { flex: 1 1 340px; min-width: 0; }
.ms-cs-approach__text { flex: 1 1 560px; min-width: 0; }
.ms-cs-approach__text p { font-size: 17px; line-height: 28px; }
.ms-cs-approach__text p + p { margin-top: 16px !important; }
.ms-cs-areas { margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid #d3dae5; }
.ms-cs-areas .ms-h3 { margin-bottom: 20px; font-size: 19px; line-height: 27px; }
.ms-cs-areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ms-cs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; box-sizing: border-box; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid #d3dae5; color: var(--ms-title); }
.ms-main a.ms-cs-chip--link { border-color: var(--ms-navy); color: var(--ms-navy); font-weight: 500; text-decoration: none; transition: background-color .2s; }
.ms-main a.ms-cs-chip--link:hover { background: #f3f5f9; }

.ms-cs-edu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.ms-cs-edu li { border-top: 2px solid var(--ms-line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.ms-cs-edu .ms-h3 { font-size: 19px; line-height: 27px; }
.ms-cs-edu p { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ms-blue); }
.ms-cs-albo { margin-top: clamp(28px, 3vw, 40px) !important; display: flex; align-items: center; gap: 16px; background: var(--white--bianco-bg, #f7f7f7); border-radius: 12px; padding: 18px 22px; color: var(--ms-title); font-weight: 500; }

.ms-cs-exp__text p { font-size: 17px; line-height: 28px; }
.ms-cs-exp__text p + p { margin-top: 16px !important; }
.ms-cs-exp__facts > div { display: flex; gap: 16px; align-items: flex-start; }
.ms-cs-exp__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; }

.ms-cs-focus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.ms-cs-focus li { background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ms-cs-focus li > .ms-icon { color: var(--ms-blue); }
.ms-cs-focus .ms-h3 { flex: 1 1 auto; font-size: 19px; line-height: 27px; }
.ms-cs-focus .ms-link { align-self: flex-start; font-size: 15px; }

.ms-cs-books { display: flex; flex-wrap: wrap; gap: 20px; }
.ms-cs-book { flex: 1 1 420px; min-width: 0; border: 1px solid var(--ms-line); border-radius: 16px; padding: clamp(24px, 3vw, 32px); display: flex; gap: 20px; align-items: flex-start; }
.ms-cs-book__cover { flex: 0 0 64px; height: 88px; box-sizing: border-box; border-radius: 4px 8px 8px 4px; background: linear-gradient(90deg, #0c1d38 0 8px, var(--ms-blue) 8px); color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; font-family: var(--ms-serif); font-size: 15px; }
.ms-cs-book > div { min-width: 0; }
.ms-cs-book__kicker, .ms-cs-pod__kicker { margin-bottom: 6px !important; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ms-blue); }
.ms-cs-book__title { margin: 0 0 8px; font-family: var(--ms-serif); font-size: 24px; line-height: 1.25; font-weight: 400; color: var(--ms-title); }
.ms-cs-book__meta { margin-bottom: 12px !important; font-size: 15px; line-height: 22px; }
.ms-cs-book__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ms-cs-book__links .ms-link { font-size: 15px; }

.ms-cs-pod { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.ms-cs-pod__card { flex: 1 1 340px; min-width: 0; box-sizing: border-box; background: linear-gradient(160deg, var(--ms-blue) 0%, var(--ms-navy) 100%); color: #dce3ee; border-radius: 20px; padding: clamp(28px, 4vw, 40px); }
@media (min-width: 992px) { .ms-cs-pod__card { position: sticky; top: calc(var(--ms-nav-h) + 80px); } }
.ms-cs-pod__icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.ms-cs-pod__card .ms-cs-pod__kicker { color: #fff; }
.ms-cs-pod__title { margin: 0 0 6px; font-family: var(--ms-serif); font-size: 32px; line-height: 1.15; font-weight: 400; color: #fff; }
.ms-cs-pod__rating { margin: 18px 0 24px !important; display: flex; align-items: center; gap: 10px; }
.ms-cs-pod__rating strong { color: #fff; }
.ms-cs-pod__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ms-cs-pod__actions .ms-btn { min-height: 48px; padding: 12px 20px; }
.ms-cs-pod__list { flex: 1 1 520px; min-width: 0; }
.ms-cs-pod__list ol { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--ms-line); }
.ms-cs-pod__list li { border-bottom: 1px solid var(--ms-line); }
.ms-main .ms-cs-pod__list a { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; color: inherit; font-weight: 400; text-decoration: none; }
.ms-cs-pod__play { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--ms-navy); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.ms-main .ms-cs-pod__list a:hover .ms-cs-pod__play { transform: scale(1.06); }
.ms-main .ms-cs-pod__list a:hover .ms-cs-pod__ep { text-decoration: underline; text-underline-offset: 3px; }
.ms-cs-pod__list a > span:last-child { min-width: 0; }
.ms-cs-pod__ep, .ms-cs-pod__desc, .ms-cs-pod__when { display: block; }
.ms-cs-pod__ep { margin-bottom: 4px; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ms-title); }
.ms-cs-pod__desc { margin-bottom: 6px; font-size: 15px; line-height: 22px; }
.ms-cs-pod__when { font-size: 13px; font-weight: 600; color: var(--ms-blue); }

.ms-cs-cta__box { background: linear-gradient(180deg, var(--red--red-4, #f2e9e9) 0%, #fbf6f5 100%); border-radius: 24px; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 64px); text-align: center; }
.ms-cs-cta__box .ms-h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.ms-cs-cta__box p { max-width: 640px; margin: 0 auto 32px !important; font-size: 18px; line-height: 28px; }
