/*
Theme Name: Extendable Child
Theme URI: https://idos.testitaly.it/
Description: Tema child personalizzato per il sito del Centro Studi e Ricerche IDOS, basato su Extendable.
Author: Centro Studi e Ricerche IDOS
Template: extendable
Version: 1.9.1
Text Domain: extendable-child
*/

/*
 * IDOS — visual system
 * The parent theme remains responsible for WordPress block rendering;
 * these styles define the prototype's visual language and components.
 */
:root {
	--idos-ink: #202020;
	--idos-muted: #5a595b;
	--idos-purple: #604080;
	--idos-blue: #4aa3c1;
	--idos-coral: #f08070;
	--idos-lilac: #e7e5f0;
	--idos-paper: #f6f6f4;
	--idos-line: #e1e1df;
	--idos-shell: 1080px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: #fff !important;
	color: var(--idos-ink) !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.idos-home,
.idos-page {
	--wp--style--block-gap: 0;
}

.idos-home > *,
.idos-page > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.wp-site-blocks,
.wp-block-template-part,
.entry-content {
	margin: 0 !important;
	padding: 0 !important;
}

.idos-shell {
	width: min(calc(100% - 48px), var(--idos-shell));
	margin-inline: auto;
}

.idos-header {
	position: relative;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--idos-line);
}

.idos-header-inner {
	display: flex;
	align-items: center;
	min-height: 98px;
	gap: 32px;
}

.idos-header .wp-block-site-logo img { display: block; width: 90px; height: auto; }
.idos-header .wp-block-navigation { margin-left: auto; }
.idos-header .wp-block-navigation__container { column-gap: 34px; row-gap: 8px; }
.idos-header .wp-block-navigation-item__content { color: var(--idos-ink); text-decoration: none; }
.idos-header .wp-block-social-links { flex-wrap: nowrap; gap: 12px; margin-left: 4px; }
.idos-header .wp-social-link { background: var(--idos-blue) !important; }

.idos-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 34px;
	margin-left: auto;
}

.idos-nav a,
.idos-social a {
	color: var(--idos-ink);
	font-size: 12px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}

.idos-nav a:hover,
.idos-nav a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.idos-social {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: 4px;
}

.idos-social a {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 5px;
	background: var(--idos-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.idos-hero {
	position: relative;
	overflow: hidden;
	min-height: 556px;
	background: radial-gradient(circle at 94% 5%, rgba(232, 245, 248, 0.95) 0 205px, transparent 207px), #fff;
}

.idos-hero::before,
.idos-hero::after {
	position: absolute;
	top: 50%;
	z-index: 2;
	color: var(--idos-ink);
	font-size: 48px;
	font-weight: 200;
	line-height: 1;
	transform: translateY(-50%);
}

.idos-hero::before { left: 34px; content: "‹"; }
.idos-hero::after { right: 34px; content: "›"; }

.idos-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 428px;
	align-items: center;
	gap: 72px;
	min-height: 556px;
	width: min(calc(100% - 48px), var(--idos-shell));
	margin-inline: auto;
}

.idos-hero-inner::after {
	position: absolute;
	bottom: 17px;
	left: 50%;
	width: 72px;
	height: 14px;
	background: radial-gradient(circle at 7px 7px, #d6edf3 0 6px, transparent 6.5px), radial-gradient(circle at 33px 7px, #a9d1dd 0 3px, transparent 3.5px), radial-gradient(circle at 52px 7px, #a9d1dd 0 3px, transparent 3.5px), radial-gradient(circle at 68px 7px, #a9d1dd 0 3px, transparent 3.5px);
	content: "";
	transform: translateX(-50%);
}

.idos-hero--about .idos-hero-inner,
.idos-hero--publications .idos-hero-inner {
	padding-block: 82px;
}

.idos-hero--about,
.idos-hero--publications {
	background: #fdfdfc;
}

.idos-hero--about .idos-hero-inner,
.idos-hero--publications .idos-hero-inner {
	min-height: 390px;
}

.idos-hero-content {
	position: relative;
	z-index: 1;
	max-width: 600px;
}

.idos-hero-kicker,
.idos-section-kicker {
	margin: 0 0 28px;
	color: var(--idos-purple);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.19em;
	line-height: 1.25;
	text-transform: uppercase;
}

.idos-hero-title {
	max-width: 610px;
	margin: 0;
	font-size: clamp(48px, 5.1vw, 63px);
	font-weight: 300;
	letter-spacing: -0.065em;
	line-height: 0.91;
}

.idos-hero-title .idos-accent {
	color: var(--idos-blue);
}

.idos-hero-copy {
	max-width: 600px;
	margin: 31px 0 0;
	color: #333;
	font-size: 19px;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.45;
}

.idos-hero-copy + .idos-hero-copy {
	margin-top: 25px;
}

.idos-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 29px;
}

.idos-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 24px;
	border: 1px solid var(--idos-purple);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 180ms ease, background 180ms ease;
}

.idos-button:hover {
	transform: translateY(-2px);
}

.wp-block-button.idos-button {
	padding: 0;
	border: 0;
	background: transparent;
}

.wp-block-button.idos-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 24px;
	border: 1px solid var(--idos-purple);
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.wp-block-button.idos-button-primary .wp-block-button__link {
	background: var(--idos-purple);
	color: #fff;
}

.wp-block-button.idos-button-outline-light .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}

.wp-block-button.idos-button-coral .wp-block-button__link {
	border-color: var(--idos-coral);
	background: var(--idos-coral);
	color: #fff;
}

.idos-button-primary {
	background: var(--idos-purple);
	color: #fff;
}

.idos-button-secondary {
	background: transparent;
	color: var(--idos-ink);
}

.idos-cards {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 9px;
}

.idos-card {
	display: flex;
	min-height: 145px;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
	border-radius: 4px;
	box-sizing: border-box;
}

.idos-card-blue { background: var(--idos-blue); color: #fff; }
.idos-card-coral { background: var(--idos-coral); color: #fff; }
.idos-card-paper { background: var(--idos-paper); color: var(--idos-ink); }
.idos-card-lilac { background: var(--idos-lilac); color: var(--idos-purple); }

.idos-card-label {
	font-size: 9px;
	font-weight: 400;
	text-transform: uppercase;
}

.idos-card-copy {
	margin: 13px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
}

.idos-card > * { margin-block: 0; }
.idos-card-glyph { width: 34px; height: 31px; margin-block: auto 0 !important; color: transparent; font-size: 0; line-height: 1; }
.idos-card:nth-child(1) .idos-card-glyph { background: linear-gradient(#fff,#fff) 1px 21px/5px 9px no-repeat, linear-gradient(#fff,#fff) 10px 15px/5px 15px no-repeat, linear-gradient(#fff,#fff) 19px 18px/5px 12px no-repeat, linear-gradient(#fff,#fff) 28px 7px/5px 23px no-repeat; }
.idos-card:nth-child(2) .idos-card-glyph { width: 32px; height: 32px; border-radius: 50%; background: var(--idos-purple); }
.idos-card:nth-child(3) .idos-card-glyph { width: 24px; height: 28px; border: 3px solid var(--idos-blue); border-radius: 10px 10px 13px 13px; }
.idos-card:nth-child(4) .idos-card-glyph { background: radial-gradient(circle, var(--idos-purple) 0 3px, transparent 3.5px) 0 0/12px 12px; }

.idos-card-icon {
	position: relative;
	display: block;
	height: 34px;
	margin-top: 6px;
}

.idos-icon-bars {
	display: flex;
	align-items: end;
	gap: 4px;
	height: 24px;
}

.idos-icon-bars i {
	display: block;
	width: 5px;
	background: currentColor;
}

.idos-icon-bars i:nth-child(1) { height: 8px; }
.idos-icon-bars i:nth-child(2) { height: 14px; }
.idos-icon-bars i:nth-child(3) { height: 11px; }
.idos-icon-bars i:nth-child(4) { height: 22px; }

.idos-icon-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--idos-purple);
}

.idos-icon-shield {
	width: 22px;
	height: 26px;
	border: 2px solid var(--idos-blue);
	border-radius: 12px 12px 14px 14px;
	transform: translate(0, 1px);
}

.idos-icon-dots {
	display: grid;
	grid-template-columns: repeat(3, 6px);
	gap: 6px;
	width: 30px;
}

.idos-icon-dots i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.idos-hero-decoration {
	position: absolute;
	top: -142px;
	right: -70px;
	width: 370px;
	height: 370px;
	border-radius: 50%;
	background: rgba(232, 245, 248, 0.95);
}

.idos-publications {
	padding: 36px 0 92px;
}

.idos-publications-inner {
	width: min(calc(100% - 48px), var(--idos-shell));
	margin-inline: auto;
}

.idos-tabs {
	display: flex;
	width: min(100%, 392px);
	margin-bottom: 9px;
	border: 1px solid var(--idos-line);
	border-radius: 4px;
	overflow: hidden;
}

.idos-tab {
	flex: 1;
	min-height: 50px;
	border: 0;
	background: #fff;
	color: var(--idos-ink);
	font-size: 12px;
	cursor: pointer;
}

.idos-tab.is-active {
	background: var(--idos-blue);
	color: #fff;
	font-weight: 700;
}

.idos-filters {
	display: grid;
	grid-template-columns: 1.1fr 1.1fr 1fr 142px;
	border: 1px solid var(--idos-line);
	border-radius: 4px;
	overflow: hidden;
}

.idos-filter-field {
	display: flex;
	min-height: 56px;
	flex-direction: column;
	justify-content: center;
	padding: 0 13px;
	border-right: 1px solid var(--idos-line);
}

.idos-filter-field label {
	color: #777;
	font-size: 8px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.idos-filter-field select,
.idos-filter-field input {
	width: 100%;
	margin-top: 5px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--idos-ink);
	font: inherit;
	font-size: 13px;
}

.idos-filter-submit {
	border: 0;
	background: var(--idos-purple);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.idos-advanced-search {
	display: inline-block;
	margin-top: 12px;
	color: var(--idos-purple);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.idos-library-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin: 80px 0 22px;
}

.idos-library-heading h2 {
	margin: 0;
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -0.04em;
}

.idos-results-count {
	margin: 0;
	color: #777;
	font-size: 12px;
}

.idos-book-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.idos-book-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 17px 18px 19px;
	border: 1px solid #d9d9d7;
	border-radius: 4px;
}

.idos-book-cover {
	width: 100%;
	height: 292px;
	object-fit: contain;
	object-position: center;
	background: #f4f4f2;
}

.idos-book-meta {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 15px;
	padding: 4px 9px;
	border: 1px solid currentColor;
	border-radius: 12px;
	color: var(--idos-blue);
	font-size: 8px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.idos-book-meta.purple { color: var(--idos-purple); }
.idos-book-meta.coral { color: var(--idos-coral); }

.idos-book-title {
	min-height: 38px;
	margin: 10px 0 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
}

.idos-book-price {
	margin: 8px 0 0;
	color: var(--idos-purple);
	font-size: 13px;
}

.idos-book-link {
	align-self: flex-end;
	margin-top: 15px;
	color: var(--idos-purple);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 1120px) {
	.idos-nav { gap: 21px; }
	.idos-header-inner { gap: 22px; }
	.idos-hero-inner { gap: 45px; }
}

@media (max-width: 900px) {
	.idos-header-inner { min-height: 78px; }
	.idos-header .idos-social {
		display: none;
	}
	.idos-header .idos-nav { display: flex; margin-left: auto; }
	.idos-hero-inner {
		grid-template-columns: 1fr;
		gap: 35px;
		padding-block: 65px;
	}
	.idos-hero-content { max-width: none; }
	.idos-hero-title { font-size: clamp(45px, 9vw, 66px); }
	.idos-cards { max-width: 480px; }
	.idos-hero--about .idos-hero-inner,
	.idos-hero--publications .idos-hero-inner { min-height: 0; }
	.idos-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.idos-shell,
	.idos-hero-inner,
	.idos-publications-inner { width: min(calc(100% - 32px), var(--idos-shell)); }
	.idos-hero { min-height: 700px; }
	.idos-hero::before, .idos-hero::after, .idos-hero-inner::after { display: none; }
	.idos-hero-copy { font-size: 17px; }
	.idos-hero-actions { flex-direction: column; align-items: flex-start; }
	.idos-button { width: auto; }
	.idos-cards { gap: 7px; }
	.idos-card { min-height: 124px; padding: 13px; }
	.idos-card-copy { font-size: 11px; }
	.idos-filters { grid-template-columns: 1fr 1fr; }
	.idos-filter-field:nth-child(2) { border-right: 0; }
	.idos-filter-field:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--idos-line); }
	.idos-filter-submit { min-height: 52px; grid-column: 1 / -1; }
	.idos-library-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 58px; }
	.idos-library-heading h2 { font-size: 30px; }
	.idos-book-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
	.idos-book-card { padding: 10px; }
	.idos-book-cover { height: 210px; }
	.idos-book-title { font-size: 13px; }
	.idos-footer-inner { align-items: flex-start; flex-direction: column; }
}

/* Centro Studi — full page sections */
.idos-about-activities { padding: 88px 0 92px; background: #fff; }
.idos-about-heading { display: grid; grid-template-columns: 1.2fr .9fr; gap: 80px; align-items: start; padding-bottom: 58px; }
.idos-about-heading h2 { margin: 0; font-size: 44px; font-weight: 300; letter-spacing: -.065em; line-height: .98; }.idos-about-heading > p { margin: 25px 0 0; color: #777; font-size: 17px; font-weight: 300; line-height: 1.25; }
.idos-accordion { border-top: 1px solid var(--idos-line); }.idos-accordion details { border-bottom: 1px solid var(--idos-line); }.idos-accordion summary { display: grid; grid-template-columns: 185px 1fr 25px; gap: 0; padding: 27px 0; list-style: none; cursor: pointer; }.idos-accordion summary::-webkit-details-marker { display: none; }.idos-accordion summary::after { content: "+"; font-size: 25px; font-weight: 300; text-align: right; }.idos-accordion details[open] summary::after { content: "−"; }.idos-accordion summary span { font-size: 23px; font-weight: 300; }.idos-accordion summary strong { color: #777; font-size: 25px; font-weight: 300; letter-spacing: -.035em; }.idos-accordion details[open] summary strong { color: var(--idos-purple); }.idos-accordion details > div { margin: -2px 40px 30px 185px; }.idos-accordion details > div p { max-width: 780px; margin: 0 0 18px; color: #777; font-size: 16px; line-height: 1.3; }
.idos-about-team { padding: 84px 0 90px; background: #f4f4f4; }.idos-about-team h2 { margin: 0; font-size: 45px; font-weight: 300; letter-spacing: -.06em; line-height: .96; }.idos-about-lead { margin: 20px 0 42px; color: #777; font-size: 17px; line-height: 1.28; }.idos-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }.idos-team-grid article { overflow: hidden; border-radius: 4px; background: #fff; }.idos-team-avatar { display: grid; height: 217px; place-items: center; background: linear-gradient(145deg,#e1e0df,#b6b5b4); color: rgba(255,255,255,.82); font-size: 48px; font-weight: 300; letter-spacing: .08em; }.avatar-laura { background: linear-gradient(145deg,#eadfdc,#b9adab); }.avatar-paolo { background: linear-gradient(145deg,#d5e4e8,#96abb2); }.avatar-teresa { background: linear-gradient(145deg,#e7e1d8,#b4a89b); }.idos-team-grid article > div:last-child { padding: 17px 17px 19px; }.idos-team-grid h3 { margin: 0; font-size: 17px; font-weight: 400; }.idos-team-grid p { min-height: 45px; margin: 13px 0 16px; color: #777; font-size: 12px; line-height: 1.25; }.idos-team-grid p em { color: #444; }.idos-team-grid a { color: var(--idos-purple); font-size: 12px; font-weight: 600; text-decoration: none; }
.idos-territory { padding: 85px 0; background: #fff; }.idos-territory-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 65px; align-items: center; }.idos-territory h2 { margin: 0; font-size: 47px; font-weight: 300; letter-spacing: -.065em; line-height: .98; }.idos-territory h3 { margin: 28px 0 0; font-size: 25px; font-weight: 300; letter-spacing: -.035em; }.idos-territory > .idos-shell > div:first-child > p:not(.idos-section-kicker) { max-width: 480px; margin: 24px 0 26px; color: #777; font-size: 16px; line-height: 1.32; }.idos-map-placeholder { position: relative; display: grid; min-height: 440px; place-items: center; overflow: hidden; border-radius: 4px; background: var(--idos-blue); color: rgba(255,255,255,.82); }.idos-map-placeholder::before { position: absolute; width: 330px; height: 540px; border: 2px solid rgba(255,255,255,.65); border-radius: 46% 54% 48% 52%; content: ""; transform: rotate(23deg); }.idos-map-placeholder::after { position: absolute; width: 200px; height: 390px; border: 2px solid rgba(255,255,255,.55); border-radius: 55% 45% 58% 42%; content: ""; transform: translate(80px,50px) rotate(-15deg); }.idos-map-placeholder span { position: relative; z-index: 1; font-size: 25px; letter-spacing: .2em; }.idos-map-placeholder i { position: absolute; z-index: 2; width: 8px; height: 8px; border: 1px solid #fff; border-radius: 50%; }.idos-map-placeholder i:nth-of-type(1) { top: 18%; left: 48%; }.idos-map-placeholder i:nth-of-type(2) { top: 34%; left: 35%; }.idos-map-placeholder i:nth-of-type(3) { top: 51%; left: 59%; }.idos-map-placeholder i:nth-of-type(4) { top: 68%; left: 44%; }.idos-map-placeholder i:nth-of-type(5) { top: 79%; left: 65%; }
.idos-scientific { padding: 83px 0 98px; background: var(--idos-lilac); }.idos-scientific .idos-about-heading { padding-bottom: 55px; }.idos-scientific-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }.idos-scientific-grid > div { display: flex; min-height: 108px; flex-direction: column; justify-content: center; border-top: 1px solid rgba(32,32,32,.15); }.idos-scientific-grid strong { font-size: 17px; font-weight: 600; }.idos-scientific-grid span { margin-top: 7px; color: #777; font-size: 12px; }
.idos-assoidoss { padding: 84px 0; background: #fff; }.idos-assoidoss > .idos-shell { display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; padding: 45px 48px; border-left: 7px solid var(--idos-blue); border-radius: 4px; background: #f3f3f3; }.idos-assoidoss .idos-section-kicker { margin: 0; align-self: start; }.idos-assoidoss h2 { margin: 0; font-size: 39px; font-weight: 300; letter-spacing: -.06em; line-height: .98; }.idos-assoidoss p:not(.idos-section-kicker) { max-width: 670px; margin: 17px 0 0; color: #777; font-size: 16px; line-height: 1.3; }
@media (max-width: 900px) { .idos-about-heading { grid-template-columns: 1fr; gap: 15px; }.idos-accordion summary { grid-template-columns: 140px 1fr 24px; }.idos-accordion details > div { margin-left: 140px; }.idos-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.idos-territory-inner { grid-template-columns: 1fr; gap: 42px; }.idos-map-placeholder { min-height: 350px; }.idos-assoidoss > .idos-shell { grid-template-columns: 130px 1fr; }.idos-assoidoss > .idos-shell .idos-button { grid-column: 2; width: max-content; } }
@media (max-width: 620px) { .idos-about-activities, .idos-about-team, .idos-territory, .idos-scientific, .idos-assoidoss { padding-block: 57px; }.idos-about-heading h2, .idos-territory h2 { font-size: 36px; }.idos-accordion summary { grid-template-columns: 1fr 24px; gap: 8px; }.idos-accordion summary span { grid-column: 1 / -1; font-size: 17px; }.idos-accordion summary strong { font-size: 20px; }.idos-accordion details > div { margin: -4px 0 24px; }.idos-team-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.idos-team-avatar { height: 140px; font-size: 31px; }.idos-team-grid article > div:last-child { padding: 12px; }.idos-team-grid h3 { font-size: 14px; }.idos-team-grid p { font-size: 10px; }.idos-scientific-grid { grid-template-columns: 1fr; }.idos-assoidoss > .idos-shell { grid-template-columns: 1fr; gap: 17px; padding: 28px 23px; }.idos-assoidoss > .idos-shell .idos-button { grid-column: auto; }.idos-assoidoss h2 { font-size: 30px; } }

/* Secondary pages */
.idos-directory-hero { padding: 104px 0 102px; background: #fdfdfc; }
.idos-directory-hero h1 { max-width: 720px; margin: 0; font-size: clamp(52px, 6vw, 78px); font-weight: 300; letter-spacing: -.07em; line-height: .94; }
.idos-directory-hero > .idos-shell > p:last-child { max-width: 590px; margin: 27px 0 0; color: #5d5c5d; font-size: 20px; font-weight: 300; line-height: 1.35; }
.idos-directory-content { padding: 76px 0 104px; }
.idos-content-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 52px; }
.idos-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }.idos-chip-row button { padding: 10px 19px; border: 1px solid #d7d7d5; border-radius: 20px; background: #fff; color: var(--idos-ink); font: inherit; font-size: 12px; cursor: pointer; }.idos-chip-row button.is-active { border-color: var(--idos-blue); background: var(--idos-blue); color: #fff; }
.idos-content-search { display: flex; align-items: center; gap: 12px; color: var(--idos-purple); font-size: 12px; font-weight: 600; }.idos-content-search input { width: 195px; padding: 9px 0; border: 0; border-bottom: 1px solid #b9b9b7; outline: 0; background: transparent; font: inherit; font-size: 13px; }
.idos-news-archive-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }.idos-archive-feature { overflow: hidden; border: 1px solid #e1e1df; border-radius: 4px; }.idos-archive-placeholder { min-height: 300px; background: linear-gradient(125deg, rgba(20,36,50,.15), rgba(20,36,50,.65)), url("assets/hero-migration.jpg") center/cover; }.idos-archive-copy { padding: 30px 28px 35px; }.idos-archive-copy h2 { max-width: 600px; margin: 0; font-size: 31px; font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }.idos-archive-copy > p:not(.idos-news-type) { max-width: 550px; margin: 19px 0 21px; color: #777; font-size: 17px; line-height: 1.3; }.idos-archive-list { display: grid; gap: 14px; }.idos-archive-list article { padding: 27px 25px; border-radius: 4px; background: var(--idos-paper); }.idos-archive-list h3 { margin: 13px 0 22px; font-size: 20px; font-weight: 400; line-height: 1.15; }.idos-archive-list a { color: var(--idos-purple); font-size: 12px; font-weight: 600; text-decoration: none; }
.idos-partner-directory { background: #f4f4f4; }.idos-partner-directory > .idos-shell > h2 { max-width: 650px; margin: 0 0 43px; font-size: 42px; font-weight: 300; letter-spacing: -.055em; line-height: 1; }.idos-partner-grid-large { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }.idos-partner-grid-large > div { min-height: 128px; }.idos-partner-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 83px; padding: 37px 42px; border-radius: 4px; background: var(--idos-blue); color: #fff; }.idos-partner-cta h2 { margin: 0; font-size: 31px; font-weight: 300; letter-spacing: -.04em; }.idos-partner-cta p { max-width: 330px; margin: 0 auto 0 0; font-size: 15px; line-height: 1.25; }
.idos-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.idos-project-card { position: relative; display: flex; min-height: 295px; flex-direction: column; justify-content: end; padding: 31px; border-radius: 4px; text-decoration: none; }.idos-project-card p { position: absolute; top: 28px; left: 31px; margin: 0; color: rgba(32,32,32,.75); font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }.idos-project-card h2 { max-width: 460px; margin: 0; font-size: 30px; font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }.idos-project-card span { max-width: 470px; margin-top: 14px; color: rgba(32,32,32,.72); font-size: 14px; line-height: 1.25; }.idos-project-card span b { float: right; font-size: 28px; font-weight: 300; }.project-purple { background: #7a6098; color: #fff; }.project-purple p, .project-purple span { color: rgba(255,255,255,.8); }.project-blue { background: #94cad9; }.project-coral { background: #df9b89; }.project-lilac { background: #e7e5f0; color: var(--idos-purple); }.idos-project-band { padding: 80px 0; background: var(--idos-purple); color: #fff; }.idos-project-band h2 { margin: 0; font-size: 50px; font-weight: 300; letter-spacing: -.06em; }.idos-project-band p:not(.idos-section-kicker) { max-width: 450px; margin: 18px 0 27px; color: #ded5e4; font-size: 18px; }
.idos-contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }.idos-contact-intro h2, .idos-contact-form h2 { margin: 0 0 26px; font-size: 36px; font-weight: 300; letter-spacing: -.05em; line-height: 1; }.idos-contact-intro > p:not(.idos-section-kicker) { color: #5e5d5e; font-size: 16px; line-height: 1.45; }.idos-contact-map { display: grid; min-height: 150px; margin-top: 32px; place-items: center; border-radius: 4px; background: linear-gradient(135deg,#e8eff0,#d0e6ea); color: var(--idos-purple); font-size: 18px; text-align: center; }.idos-contact-map span { color: var(--idos-coral); font-size: 36px; line-height: .6; }.idos-contact-form { padding: 33px 36px 38px; border-radius: 4px; background: var(--idos-paper); }.idos-contact-form label:not(.idos-check) { display: block; margin-top: 21px; color: #656466; font-size: 12px; }.idos-contact-form input[type="text"], .idos-contact-form input[type="email"], .idos-contact-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 11px 0; border: 0; border-bottom: 1px solid #c7c7c5; outline: 0; background: transparent; font: inherit; }.idos-contact-form textarea { resize: vertical; }.idos-check { display: flex; gap: 8px; align-items: center; margin: 24px 0; color: #777; font-size: 11px; }.idos-contact-form .idos-button { border: 0; cursor: pointer; }

@media (max-width: 900px) {
	.idos-news-archive-grid, .idos-contact-layout { grid-template-columns: 1fr; gap: 28px; }.idos-partner-grid-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }.idos-contact-layout { gap: 48px; }.idos-partner-cta { align-items: flex-start; flex-direction: column; }.idos-partner-cta p { margin: 0; }
}
@media (max-width: 620px) {
	.idos-directory-hero { padding: 70px 0 68px; }.idos-directory-hero h1 { font-size: 52px; }.idos-directory-hero > .idos-shell > p:last-child { font-size: 17px; }.idos-directory-content { padding: 52px 0 68px; }.idos-content-toolbar { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }.idos-content-search input { width: 160px; }.idos-archive-placeholder { min-height: 215px; }.idos-archive-copy h2 { font-size: 27px; }.idos-partner-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.idos-partner-grid-large > div { min-height: 100px; }.idos-partner-cta { margin-top: 48px; padding: 28px; }.idos-partner-cta h2 { font-size: 27px; }.idos-project-grid { grid-template-columns: 1fr; }.idos-project-card { min-height: 220px; padding: 24px; }.idos-project-card p { top: 23px; left: 24px; }.idos-project-card h2 { font-size: 26px; }.idos-project-band h2 { font-size: 40px; }.idos-contact-form { padding: 26px 22px 30px; }
}

/* Homepage sections below the hero */
.idos-home-section { padding: 80px 0 88px; }
.idos-featured-dossier { background: var(--idos-blue); color: #fff; }
.idos-dossier-inner { display: grid; grid-template-columns: 230px minmax(0, 1fr) auto; align-items: center; gap: 46px; min-height: 427px; }
.idos-dossier-cover { width: 230px; margin: 0; }
.idos-dossier-cover img { display: block; width: 230px; height: 303px; object-fit: contain; border-radius: 4px; background: #fff; }
.idos-dossier-copy { max-width: 480px; }
.idos-section-kicker-light { color: #d5edf3; }
.idos-dossier-copy h2 { margin: 0; font-size: 47px; font-weight: 300; letter-spacing: -.055em; line-height: 1.03; }
.idos-dossier-copy > p:not(.idos-section-kicker) { max-width: 410px; margin: 23px 0 18px; font-size: 17px; font-weight: 300; line-height: 1.35; }
.idos-featured-dossier .idos-dossier-copy > p,
.idos-featured-dossier .idos-dossier-copy a { color: #fff !important; }
.idos-inline-link { color: var(--idos-purple); font-size: 13px; font-weight: 600; text-decoration: none; }
.idos-inline-link a, .idos-section-link a { color: inherit; text-decoration: none; }
.idos-inline-link span, .idos-section-link span, .idos-featured-book a span { margin-left: 6px; font-size: 20px; font-weight: 300; vertical-align: -2px; }
.idos-inline-link-light { color: #fff; }
.idos-dossier-actions { display: flex; gap: 14px; align-items: center; }
.idos-button-outline-light { border-color: #fff; color: #fff; }
.idos-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 47px; }
.idos-section-heading .idos-section-kicker { margin-bottom: 20px; }
.idos-section-heading h2 { margin: 0; font-size: 46px; font-weight: 300; letter-spacing: -.065em; line-height: .95; }
.idos-section-heading > div > p:last-child { max-width: 430px; margin: 19px 0 0; color: #666; font-size: 17px; font-weight: 300; line-height: 1.22; }
.idos-section-link { color: var(--idos-purple); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.idos-featured-books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.idos-featured-book { display: flex; min-width: 0; flex-direction: column; padding: 17px 18px 19px; border: 1px solid #d9d9d7; border-radius: 4px; }
.idos-featured-book figure { width: 100%; margin: 0; }
.idos-featured-book img { width: 100%; height: 260px; object-fit: contain; background: #f4f4f2; }
.idos-featured-book .idos-book-meta { margin-top: 14px; }
.idos-featured-book h3 { min-height: 40px; margin: 10px 0 0; font-size: 16px; line-height: 1.13; }
.idos-featured-book p { margin: 8px 0 0; color: var(--idos-purple); font-size: 13px; }
.idos-featured-book a { align-self: flex-end; margin-top: 14px; color: var(--idos-purple); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.idos-carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 27px; }
.idos-carousel-dots i { width: 7px; height: 7px; border: 1px solid var(--idos-blue); border-radius: 50%; }
.idos-carousel-dots i.is-active { width: 13px; height: 13px; margin-top: -3px; background: #d5edf3; }
.idos-news-section { background: #f1f7f8; }
.idos-news-layout { display: grid; grid-template-columns: 1.25fr .95fr; gap: 9px; }
.idos-news-main, .idos-news-list > .wp-block-group { overflow: hidden; border-radius: 4px; background: #fff; }
.idos-news-main figure { margin: 0; }
.idos-news-main img { display: block; width: 100%; height: 300px; object-fit: cover; }
.idos-news-main-copy { padding: 31px 29px 35px; }
.idos-news-type { margin: 0 0 20px; color: var(--idos-coral); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.idos-news-main h3 { max-width: 570px; margin: 0; font-size: 29px; font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }
.idos-news-main-copy > p:not(.idos-news-type) { margin: 19px 0 20px; color: #777; font-size: 17px; font-weight: 300; line-height: 1.25; }
.idos-news-list { display: grid; gap: 9px; }
.idos-news-list > .wp-block-group { padding: 22px 21px; }
.idos-news-list h3 { margin: 12px 0 0; font-size: 17px; font-weight: 400; line-height: 1.18; }
.idos-news-date { margin: 0; color: var(--idos-blue); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.idos-news-date span { float: right; padding: 2px 7px; border: 1px solid #ddd; color: #777; font-size: 9px; letter-spacing: 0; text-transform: uppercase; }
.idos-news-agenda { background: var(--idos-lilac) !important; }
.idos-news-agenda p { margin: 0; color: var(--idos-purple); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.idos-news-agenda h3 { margin-top: 13px; font-size: 18px; }
.idos-focus-section { background: #fff; }
.idos-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.idos-focus-card { position: relative; display: flex; min-height: 208px; flex-direction: column; justify-content: end; padding: 22px; border-radius: 4px; color: var(--idos-ink); text-decoration: none; }
.idos-focus-card > span { position: absolute; top: 22px; left: 22px; right: 22px; color: rgba(32,32,32,.75); font-size: 10px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.idos-focus-card > span b { float: right; font-size: 20px; letter-spacing: 0; }
.idos-focus-card strong { font-size: 23px; font-weight: 400; }
.idos-focus-card small { margin-top: 3px; color: rgba(32,32,32,.65); font-size: 12px; }
.idos-focus-card em { position: absolute; right: 20px; bottom: 17px; font-size: 29px; font-style: normal; font-weight: 300; }
.idos-focus-card .idos-focus-meta { position: absolute; top: 22px; left: 22px; right: 22px; margin: 0; color: rgba(32,32,32,.75); font-size: 10px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.idos-focus-card h3 { margin: 0; font-size: 23px; font-weight: 400; }
.idos-focus-card > p:last-child { margin: 3px 0 0; color: rgba(32,32,32,.65); font-size: 12px; }
.focus-purple .idos-focus-meta, .focus-purple > p:last-child, .focus-lilac .idos-focus-meta, .focus-lilac > p:last-child { color: rgba(255,255,255,.78); }
.focus-purple { background: #7a6098; color: #fff; }.focus-purple > span, .focus-purple small { color: rgba(255,255,255,.78); }
.focus-blue { background: #94cad9; }.focus-coral { background: #df9b89; }.focus-lilac { background: #a184b7; color: #fff; }.focus-lilac > span, .focus-lilac small { color: rgba(255,255,255,.78); }
.focus-teal { background: #9bcdd0; }.focus-salmon { background: #dfad9f; }
.idos-partners-section { background: #f4f4f4; }
.idos-partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.idos-partner-grid > div { display: grid; min-height: 92px; place-content: center; padding: 12px; border-radius: 4px; background: #fff; color: #173452; font-size: 20px; font-weight: 700; text-align: center; }
.idos-partner-grid small { color: #dc3d34; font-size: 9px; letter-spacing: .05em; }
.idos-partner-grid > div:nth-child(3) { color: #c56b86; }.idos-partner-grid > div:nth-child(4) { color: #315a8d; font-size: 12px; }.idos-partner-grid > div:nth-child(5) { color: #307653; }.idos-partner-grid > div:nth-child(6) { color: #111; }
.idos-partner-button { display: flex; width: max-content; margin: 41px auto 0; }
.idos-newsletter { padding: 55px 0 63px; background: var(--idos-purple); color: #fff; }
.idos-newsletter-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.idos-newsletter h2 { margin: 0; font-size: 47px; font-weight: 300; letter-spacing: -.055em; line-height: .98; }.idos-newsletter h2 .idos-accent { color: var(--idos-blue); }
.idos-newsletter-inner > div > p:not(.idos-section-kicker) { max-width: 420px; margin: 18px 0 18px; color: #ddd4e2; font-size: 17px; font-weight: 300; line-height: 1.25; }
.idos-newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 52px; align-items: start; }
.idos-newsletter-form input { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.7); outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.idos-newsletter-form input::placeholder { color: #d6cddd; }.idos-newsletter-form p { margin: 23px 0 0; color: #d6cddd; font-size: 11px; line-height: 1.35; }.idos-button-coral { min-width: 102px; border-color: var(--idos-coral); background: var(--idos-coral); color: #fff; text-transform: uppercase; }
.idos-newsletter-cta { padding: 34px; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; }
.idos-newsletter-cta h3 { margin: 0; font-size: 26px; font-weight: 400; }
.idos-newsletter-cta > p { margin: 14px 0 23px; color: #ddd4e2; }
@media (max-width: 900px) {
	.idos-dossier-inner { grid-template-columns: 170px 1fr; gap: 28px; padding-block: 45px; }.idos-dossier-cover { width: 170px; height: 235px; }.idos-dossier-copy h2, .idos-newsletter h2 { font-size: 38px; }.idos-dossier-actions { grid-column: 2; }.idos-featured-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }.idos-news-layout { grid-template-columns: 1fr; }.idos-partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.idos-home-section { padding: 56px 0 62px; }.idos-dossier-inner { grid-template-columns: 1fr; gap: 22px; }.idos-dossier-cover { width: 145px; height: 190px; }.idos-dossier-copy h2 { font-size: 36px; }.idos-dossier-actions { grid-column: auto; flex-wrap: wrap; }.idos-section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 30px; }.idos-section-heading h2 { font-size: 39px; }.idos-featured-books { grid-template-columns: 1fr 1fr; gap: 9px; }.idos-featured-book { padding: 10px; }.idos-featured-book img { height: 190px; }.idos-featured-book h3 { font-size: 13px; }.idos-focus-grid { grid-template-columns: 1fr; }.idos-focus-card { min-height: 170px; }.idos-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.idos-newsletter-inner { grid-template-columns: 1fr; gap: 38px; }.idos-newsletter-form { grid-template-columns: 1fr; gap: 18px; }.idos-newsletter-form button { justify-self: start; }
}

/* Gutenberg equivalents used by the editable Centro Studi page. */
.idos-team-avatar .idos-team-initials {
	min-height: 0;
	margin: 0;
	color: rgba(255,255,255,.82);
	font-size: 48px;
	font-weight: 300;
	letter-spacing: .08em;
	line-height: 1;
}
.idos-map-placeholder > p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: rgba(255,255,255,.82);
	font-size: 25px;
	letter-spacing: .2em;
}
.idos-scientific-grid p {
	margin: 0;
	color: #777;
	font-size: 12px;
	line-height: 1.45;
}
.idos-scientific-grid p strong {
	display: inline-block;
	margin-bottom: 7px;
	color: var(--idos-ink);
	font-size: 17px;
	font-weight: 600;
}

/* Gutenberg equivalents used by the editable Publications page. */
.wp-block-buttons.idos-tabs { gap: 0; }
.wp-block-button.idos-tab { flex: 1; }
.wp-block-button.idos-tab .wp-block-button__link {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--idos-ink);
	font-size: 12px;
}
.wp-block-button.idos-tab.is-active .wp-block-button__link {
	background: var(--idos-blue);
	color: #fff;
	font-weight: 700;
}
.idos-filter-field > * { margin-block: 0; }
.idos-filter-label {
	color: #777;
	font-size: 8px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.idos-filter-value {
	margin-top: 5px !important;
	color: var(--idos-ink);
	font-size: 13px;
}
.idos-filter-placeholder { color: #888; }
.wp-block-button.idos-filter-submit { display: flex; }
.wp-block-button.idos-filter-submit .wp-block-button__link {
	display: flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: var(--idos-purple);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
.idos-advanced-search a,
.idos-book-link a { color: inherit; }
.idos-book-cover { margin: 0; overflow: hidden; }
.idos-book-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.idos-book-card > * { margin-block-end: 0; }

/* IDOS editorial pages: native Gutenberg content, isolated from approved pages. */
.idos-editorial { font-family: "Outfit", Arial, sans-serif; }
.idos-editorial :where(h1,h2,h3,h4,p,a,li,button,input,label) { font-family: inherit; }
.idos-editorial :where(h1,h2,h3,h4) { letter-spacing: normal; hyphens: none; overflow-wrap: normal; }
.idos-editorial .wp-block-column > *,
.idos-editorial .wp-block-group > .wp-block-spacer,
.idos-editorial .wp-block-spacer + * { margin-block-start: 0; margin-block-end: 0; }
.idos-editorial .wp-block-image { margin: 0; }
.idos-editorial .wp-block-image img { display:block; width:100%; }
.idos-editorial .wp-block-column { min-width:0; }
.idos-editorial .idos-editorial-card { height:100%; box-sizing:border-box; }
.idos-editorial .wp-block-search__button { border:0; padding:14px 32px; background:#593875; color:white; }
.idos-editorial .wp-block-search__input { min-width:0; border:1px solid #ddd; border-radius:4px; padding:14px; }
.idos-editorial a:focus-visible, .idos-editorial input:focus-visible, .idos-editorial button:focus-visible { outline:3px solid #009db6; outline-offset:4px; }
@media (max-width:781px) {
 .idos-editorial h1 { font-size:40px !important; }
 .idos-editorial h2 { font-size:32px !important; }
 .idos-editorial .wp-block-columns { gap:24px !important; }
 .idos-editorial .wp-block-button { max-width:100%; }
 .idos-editorial .wp-block-button__link { overflow-wrap:anywhere; }
}
