/* =========================================================
   Rotary eClub 2050 — tema editoriale istituzionale
   ========================================================= */

:root {
	--rotary-blue: #17458F;
	--rotary-blue-deep: #0E2E63;
	--rotary-blue-ink: #07173A;
	--rotary-azure: #0099CC;
	--rotary-gold: #F7A81B;
	--rotary-gold-soft: #FCD37A;

	--ink: #1B2334;
	--ink-soft: #44506A;
	--muted: #6F7B92;
	--line: #E3E8F1;
	--line-strong: #C9D2E2;
	--paper: #F5F7FB;
	--paper-warm: #FAFAF6;
	--white: #FFFFFF;

	--access-public: #2F6F3E;
	--access-guest:  #B98700;
	--access-member: #B43A2A;

	--shadow-card: 0 1px 0 rgba(15,29,76,.04), 0 8px 24px -16px rgba(15,29,76,.18);

	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Source Serif 4", ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;

	--radius: 4px;
	--radius-lg: 10px;

	--gutter: clamp(16px, 3vw, 32px);
	--max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--rotary-blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
	outline: 2px solid var(--rotary-gold);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--rotary-gold); color: var(--ink);
	padding: 10px 14px; font-weight: 600; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout shell ---------- */
.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ---------- Utility bar ---------- */
.utility-bar {
	background: var(--rotary-blue-ink);
	color: rgba(255,255,255,.78);
	font-size: 13px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 30px;
	padding-top: 4px;
	padding-bottom: 4px;
	flex-wrap: wrap;
}
.utility-bar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utility-bar__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.utility-social { display: flex; align-items: center; gap: 8px; }
.utility-social a {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.utility-social a:hover {
	border-color: var(--rotary-gold);
	background: var(--rotary-gold);
	text-decoration: none;
	transform: translateY(-1px);
}
.utility-social img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}
.utility-social .social-icon {
	width: 15px;
	height: 15px;
	display: block;
}
.utility-bar__brand {
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--rotary-gold);
	font-size: 11px;
}
.utility-bar a { color: rgba(255,255,255,.85); font-weight: 500; }
.utility-bar a:hover { color: var(--rotary-gold-soft); text-decoration: none; }
.utility-bar .utility-social a { color: #fff; }
.utility-bar .utility-social a:hover { color: var(--rotary-blue-ink); }

.access-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.18);
	font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255,255,255,.85);
}
.access-pill::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: var(--access-public);
}
.access-pill.is-guest::before { background: var(--access-guest); }
.access-pill.is-member::before { background: var(--access-member); }

/* ---------- Site header / masthead ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }

.masthead {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
	align-items: center;
	padding-top: 14px;
	padding-bottom: 14px;
}
.masthead__brand {
	display: flex; align-items: center; gap: 14px;
	color: inherit;
}
.masthead__brand:hover { text-decoration: none; }
.masthead__mark {
	width: 48px; height: 48px;
	display: grid; place-items: center;
	flex: 0 0 auto;
}
.masthead__mark img { width: 100%; height: 100%; object-fit: contain; }
.masthead__text { display: flex; flex-direction: column; line-height: 1; }
.masthead__title {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.05;
	color: var(--rotary-blue-ink);
	letter-spacing: -0.01em;
}
.masthead__title em { font-style: italic; color: var(--rotary-blue); }
.masthead__sub {
	display: block;
	font-family: var(--font-sans);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 4px;
}

.masthead__center {
	display: flex; align-items: center; justify-content: center;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .04em;
}
.masthead__center strong { color: var(--ink); font-weight: 600; }

.masthead__tools {
	display: flex; align-items: center; gap: 12px; justify-content: flex-end;
}

.search-form {
	display: flex; align-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 12px;
	min-width: 200px;
}
.search-form .search-field {
	border: 0; background: transparent; outline: none;
	font: inherit; color: var(--ink);
	width: 100%;
}
.search-form::before {
	content: "";
	width: 14px; height: 14px;
	margin-right: 8px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F7B92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m21 21-4.3-4.3'/></svg>");
	background-size: contain; background-repeat: no-repeat;
	flex: 0 0 auto;
}

.button {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	font-weight: 600; font-size: 14px; line-height: 1;
	border: 1px solid transparent;
	cursor: pointer; text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.button--primary { background: var(--rotary-blue); color: var(--white); }
.button--primary:hover { background: var(--rotary-blue-deep); color: var(--white); text-decoration: none; }
.button--ghost { background: transparent; color: var(--rotary-blue); border-color: var(--line-strong); }
.button--ghost:hover { border-color: var(--rotary-blue); color: var(--rotary-blue-deep); text-decoration: none; }
.button--gold { background: var(--rotary-gold); color: var(--rotary-blue-ink); }
.button--gold:hover { background: #f0a012; color: var(--rotary-blue-ink); text-decoration: none; }

/* ---------- Primary nav ---------- */
.site-nav-wrap {
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 2px solid var(--rotary-blue);
	position: relative;
}
.site-nav { position: relative; }
.site-nav > ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: stretch;
}
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
	display: inline-flex; align-items: center;
	padding: 14px 18px;
	color: var(--ink);
	font-weight: 600; font-size: 14.5px;
	letter-spacing: .01em;
	border-bottom: 3px solid transparent;
	margin-bottom: -3px;
	transition: color .15s, border-color .15s, background .15s;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li.is-current > a {
	color: var(--rotary-blue-deep);
	border-bottom-color: var(--rotary-gold);
	text-decoration: none;
}
.site-nav .has-submenu > a::after {
	content: ""; width: 7px; height: 7px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	margin-left: 8px;
	opacity: .6;
}
.site-nav .submenu {
	position: absolute; top: 100%; left: 0;
	min-width: 220px;
	list-style: none; margin: 0; padding: 8px 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--rotary-gold);
	box-shadow: var(--shadow-card);
	opacity: 0; visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 50;
}
.site-nav .has-submenu:hover .submenu,
.site-nav .has-submenu:focus-within .submenu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav .submenu a {
	display: block;
	padding: 9px 16px;
	color: var(--ink);
	font-size: 14px; font-weight: 500;
}
.site-nav .submenu a:hover {
	background: var(--paper);
	color: var(--rotary-blue-deep);
	text-decoration: none;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent; border: 1px solid var(--line-strong);
	border-radius: 6px;
	padding: 9px 12px;
	font: inherit; color: var(--ink); font-weight: 600;
	cursor: pointer;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}
.breadcrumbs ol {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0;
	padding-top: 10px; padding-bottom: 10px;
	color: var(--muted);
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
	content: "›"; color: var(--line-strong);
	margin-right: 8px; font-weight: 600;
}
.breadcrumbs a { color: var(--rotary-blue); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Main ---------- */
.site-main {
	flex: 1;
	padding: clamp(28px, 4vw, 56px) 0 64px;
}

/* ---------- Page header / eyebrow ---------- */
.page-header {
	max-width: 820px;
	margin: 0 auto 32px;
	padding: 0 var(--gutter);
}
.eyebrow {
	display: inline-block;
	font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--rotary-blue);
	font-weight: 700;
	margin: 0 0 8px;
}
.page-header h1 {
	font-family: var(--font-serif);
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	margin: 0 0 8px;
	color: var(--rotary-blue-ink);
	font-weight: 700;
	letter-spacing: -0.01em;
}
.page-header p { color: var(--ink-soft); margin: 0; max-width: 64ch; }

/* ---------- Front page ---------- */
.home {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	padding: 0 var(--gutter);
	max-width: var(--max);
	margin: 0 auto;
}

.home-hero {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	align-items: stretch;
}
.home-hero__lede {
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 4px solid var(--rotary-gold);
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: var(--radius);
	display: flex; flex-direction: column; justify-content: center;
}
.home-hero__eyebrow {
	font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--rotary-blue); font-weight: 700;
	margin-bottom: 12px;
}
.home-hero__title {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: clamp(28px, 3.6vw, 42px);
	line-height: 1.12;
	color: var(--rotary-blue-ink);
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}
.home-hero__title em { font-style: italic; color: var(--rotary-blue); }
.home-hero__intro {
	color: var(--ink-soft);
	font-size: 17px;
	line-height: 1.6;
	margin: 0 0 22px;
}
.home-hero__intro p { margin: 0 0 .8em; }
.home-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.home-hero__panel {
	background: linear-gradient(160deg, var(--rotary-blue) 0%, var(--rotary-blue-deep) 100%);
	color: #E8EEFB;
	border-radius: var(--radius);
	padding: clamp(22px, 3vw, 32px);
	display: flex; flex-direction: column; justify-content: space-between;
	gap: 20px;
	min-height: 280px;
	position: relative;
	overflow: hidden;
}
.home-hero__panel::before {
	content: "";
	position: absolute; right: -60px; top: -60px;
	width: 220px; height: 220px;
	background: radial-gradient(circle, rgba(247,168,27,.22) 0%, rgba(247,168,27,0) 70%);
	pointer-events: none;
}
.home-hero__panel-title {
	font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
	color: var(--rotary-gold-soft);
	font-weight: 600;
}
.home-hero__motto {
	font-family: var(--font-serif); font-style: italic;
	font-size: clamp(22px, 2.8vw, 30px);
	line-height: 1.2;
	color: #fff;
	margin: 0;
}
.home-hero__quick { display: grid; gap: 10px; }
.home-hero__quick a {
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 6px;
	color: #fff; font-weight: 600; font-size: 14.5px;
}
.home-hero__quick a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.home-hero__quick small {
	display: block; font-weight: 400; font-size: 12px;
	color: rgba(255,255,255,.7); margin-top: 2px;
}
.home-hero__quick span.arr { color: var(--rotary-gold); font-weight: 700; }

/* Section heading */
.section-head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 10px;
}
.section-head h2 {
	font-family: var(--font-serif);
	font-size: clamp(22px, 2.4vw, 28px);
	color: var(--rotary-blue-ink);
	margin: 0;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.section-head .more { font-size: 13px; font-weight: 600; color: var(--rotary-blue); }

.home-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: clamp(28px, 4vw, 44px);
	align-items: start;
}

/* News list */
.news-list { display: grid; gap: 24px; }
.news-card {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 20px;
	background: var(--white);
	border: 1px solid var(--line);
	padding: 20px;
	border-radius: var(--radius);
	transition: border-color .15s, box-shadow .15s;
}
.news-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.news-card__date {
	font-family: var(--font-serif);
	color: var(--rotary-blue);
	border-right: 1px solid var(--line);
	padding-right: 20px;
	display: flex; flex-direction: column; align-items: flex-start;
}
.news-card__date .day { font-size: 34px; line-height: 1; font-weight: 700; }
.news-card__date .month {
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--muted); font-family: var(--font-sans); font-weight: 600;
	margin-top: 4px;
}
.news-card__date .year { font-size: 12px; color: var(--muted); font-family: var(--font-sans); }
.news-card h3 {
	font-family: var(--font-serif);
	font-size: 22px; line-height: 1.25;
	margin: 0 0 8px; color: var(--rotary-blue-ink);
	font-weight: 700; letter-spacing: -0.005em;
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--rotary-blue); text-decoration: none; }
.news-card__excerpt { color: var(--ink-soft); margin: 0 0 10px; }
.news-card__meta {
	font-size: 12px; color: var(--muted);
	display: flex; gap: 12px; flex-wrap: wrap;
	letter-spacing: .04em;
}
.news-card__meta .cat {
	color: var(--rotary-blue);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .14em;
}

/* Sidebar */
.home-side { display: grid; gap: 24px; }
.side-block {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.side-block__head {
	padding: 14px 18px;
	background: var(--paper-warm);
	border-bottom: 1px solid var(--line);
	font-family: var(--font-serif);
	font-weight: 700;
	color: var(--rotary-blue-ink);
}
.side-block__body { padding: 16px 18px; }
.side-block__body p { margin: 0 0 12px; color: var(--ink-soft); }
.side-block__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-top: 1px solid var(--line);
	color: var(--rotary-blue-ink);
	font-weight: 700;
}
.side-block__more::after {
	content: "→";
	color: var(--rotary-gold);
	font-weight: 800;
}
.side-block__more:hover {
	background: var(--paper);
	text-decoration: none;
}

.projects { display: grid; }
.project-card {
	display: grid; grid-template-columns: 56px 1fr; gap: 14px;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	color: inherit;
}
.project-card:last-child { border-bottom: 0; }
.project-card:hover { background: var(--paper); text-decoration: none; }
.project-card__thumb {
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--paper); border: 1px solid var(--line);
	overflow: hidden; display: grid; place-items: center;
}
.project-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card strong {
	display: block; color: var(--rotary-blue-ink);
	font-family: var(--font-serif);
	font-size: 16px; line-height: 1.25;
}
.project-card span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.action-list { display: grid; }
.action-list a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	color: var(--rotary-blue-ink);
	font-weight: 600;
}
.action-list a:last-child { border-bottom: 0; }
.action-list a:hover { background: var(--paper); text-decoration: none; }
.action-list a small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.action-list a::after {
	content: "→"; color: var(--rotary-gold); font-weight: 700;
	margin-left: 12px; flex: 0 0 auto;
}

.partners {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px;
}
.partners a {
	display: grid;
	grid-template-rows: 94px auto;
	align-items: start;
	justify-items: center;
	gap: 14px;
	background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	min-height: 210px;
	text-align: center;
	transition: border-color .15s;
}
.partners a:hover { border-color: var(--rotary-gold); text-decoration: none; }
.partner-card__logo {
	width: 100%;
	height: 94px;
	display: grid;
	place-items: center;
}
.partners img {
	max-height: 76px;
	max-width: 190px;
	width: auto;
}
.partner-card__logo--logo-rotary-wheel img {
	width: 86px;
	height: 86px;
	max-width: none;
	max-height: none;
	object-fit: contain;
}
.partner-card__text {
	display: grid;
	gap: 7px;
}
.partner-card__text strong {
	color: var(--rotary-blue-ink);
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.22;
}
.partner-card__text span {
	color: var(--ink-soft);
	font-size: 13.5px;
	line-height: 1.45;
}

/* ---------- Single article / page ---------- */
.entry-layout {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.entry-header { margin-bottom: 28px; }
.entry-header h1 {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.15;
	color: var(--rotary-blue-ink);
	margin: 6px 0 12px;
	letter-spacing: -0.01em;
}
.entry-meta {
	display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
	font-size: 13px; color: var(--muted);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 10px 0;
	margin-top: 14px;
}
.entry-meta .badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 10px; border-radius: 999px;
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	font-weight: 700;
}
.entry-meta .badge.public { background: #E5F1E8; color: var(--access-public); }
.entry-meta .badge.guest  { background: #FBF1D9; color: var(--access-guest); }
.entry-meta .badge.member { background: #F8E2DD; color: var(--access-member); }
.entry-meta .badge.review { background: #E5ECF8; color: var(--rotary-blue); }

.entry-body { font-size: 17px; color: var(--ink); }
.entry-body p { margin: 0 0 1.1em; }
.entry-body h2 {
	font-family: var(--font-serif);
	font-size: 26px; color: var(--rotary-blue-ink);
	margin: 1.4em 0 .5em; line-height: 1.2;
}
.entry-body h3 {
	font-family: var(--font-serif);
	font-size: 21px; color: var(--rotary-blue-ink);
	margin: 1.4em 0 .4em;
}
.entry-body a { color: var(--rotary-blue); border-bottom: 1px solid var(--rotary-gold-soft); }
.entry-body a:hover { color: var(--rotary-blue-deep); border-bottom-color: var(--rotary-gold); text-decoration: none; }
.entry-body img { border-radius: var(--radius); margin: 1em 0; }
.entry-body blockquote {
	margin: 1.4em 0;
	padding: 12px 22px;
	border-left: 4px solid var(--rotary-gold);
	background: var(--paper-warm);
	font-family: var(--font-serif); font-style: italic;
	color: var(--rotary-blue-ink);
	font-size: 18px;
}
.entry-body ul, .entry-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.entry-body li { margin-bottom: .35em; }
.entry-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.entry-body th, .entry-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-body th { background: var(--paper-warm); }
.entry-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- FAQ content blocks ---------- */
.rotary-faq {
	display: grid;
	gap: 22px;
}
.rotary-faq__lead {
	margin: 0;
	padding: 18px 20px;
	background: var(--paper-warm);
	border: 1px solid var(--line);
	border-left: 4px solid var(--rotary-gold);
	border-radius: 8px;
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.55;
	box-shadow: var(--shadow-card);
}
.rotary-faq__list {
	display: grid;
	gap: 12px;
}
.rotary-faq__item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.rotary-faq__item[open] {
	border-color: var(--line-strong);
}
.rotary-faq__item summary {
	position: relative;
	display: grid;
	grid-template-columns: 30px 1fr 18px;
	align-items: center;
	gap: 12px;
	padding: 17px 18px;
	color: var(--rotary-blue-ink);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	list-style: none;
}
.rotary-faq__item summary::-webkit-details-marker {
	display: none;
}
.rotary-faq__item summary::before {
	content: "Q";
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--rotary-gold);
	color: var(--rotary-blue-ink);
	font: 800 13px/1 var(--font-sans);
}
.rotary-faq__item summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--rotary-blue);
	border-bottom: 2px solid var(--rotary-blue);
	transform: rotate(45deg) translateY(-2px);
	transition: transform .16s ease;
	justify-self: end;
}
.rotary-faq__item[open] summary {
	border-bottom: 1px solid var(--line);
}
.rotary-faq__item[open] summary::after {
	transform: rotate(225deg) translate(-1px, -1px);
}
.rotary-faq__answer {
	padding: 17px 20px 20px 60px;
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.62;
}
.rotary-faq__answer p {
	margin: 0 0 12px;
}
.rotary-faq__answer p:last-child {
	margin-bottom: 0;
}
.rotary-faq__answer ol {
	margin: 10px 0 0;
	padding-left: 1.25em;
}
.rotary-faq__answer li {
	margin-bottom: 6px;
}

/* ---------- Contact Form 7 ---------- */
.entry-body .wpcf7 {
	margin: 24px 0 0;
	max-width: 100%;
	overflow-x: hidden;
}
.entry-body .wpcf7-form,
.entry-body .wpcf7-form *,
.entry-body .wpcf7-form *::before,
.entry-body .wpcf7-form *::after {
	box-sizing: border-box;
}
.entry-body .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
	padding: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 4px solid var(--rotary-gold);
	border-radius: 8px;
	box-shadow: var(--shadow-card);
}
.entry-body .wpcf7-form > p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--rotary-blue-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}
.entry-body .wpcf7-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}
.entry-body .wpcf7-form > p:has(textarea),
.entry-body .wpcf7-form > p:has(.wpcf7-submit),
.entry-body .wpcf7-form > p:not(:has(.wpcf7-form-control-wrap)) {
	grid-column: 1 / -1;
}
.entry-body .wpcf7-form > p:not(:has(.wpcf7-form-control-wrap)):not(:has(.wpcf7-submit)) {
	color: var(--ink-soft);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.5;
}
.entry-body .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}
.entry-body .wpcf7 input[type="text"],
.entry-body .wpcf7 input[type="email"],
.entry-body .wpcf7 input[type="tel"],
.entry-body .wpcf7 input[type="url"],
.entry-body .wpcf7 input[type="number"],
.entry-body .wpcf7 textarea,
.entry-body .wpcf7 select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font: 500 15px/1.35 var(--font-sans);
	box-shadow: 0 1px 0 rgba(7,23,58,.03);
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.entry-body .wpcf7 textarea {
	min-height: 142px;
	resize: vertical;
}
.entry-body .wpcf7 input:focus,
.entry-body .wpcf7 textarea:focus,
.entry-body .wpcf7 select:focus {
	outline: 0;
	border-color: var(--rotary-blue);
	box-shadow: 0 0 0 3px rgba(23,69,143,.14);
	background: #fff;
}
.entry-body .wpcf7 input.wpcf7-not-valid,
.entry-body .wpcf7 textarea.wpcf7-not-valid,
.entry-body .wpcf7 select.wpcf7-not-valid {
	border-color: var(--access-member);
	box-shadow: 0 0 0 3px rgba(180,58,42,.10);
}
.entry-body .wpcf7-not-valid-tip {
	margin-top: 5px;
	color: var(--access-member);
	font-size: 12.5px;
	font-weight: 600;
}
.entry-body .wpcf7 .wpcf7-submit {
	align-self: flex-start;
	min-height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--rotary-blue);
	color: var(--white);
	font: 700 14px/1 var(--font-sans);
	cursor: pointer;
	box-shadow: 0 8px 18px -14px rgba(7,23,58,.55);
	transition: background .15s, transform .12s, box-shadow .15s;
}
.entry-body .wpcf7 .wpcf7-submit:hover {
	background: var(--rotary-blue-deep);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -16px rgba(7,23,58,.65);
}
.entry-body .wpcf7 .wpcf7-submit:disabled {
	opacity: .6;
	cursor: wait;
	transform: none;
}
.entry-body .wpcf7-spinner {
	margin: 0 0 0 10px;
	vertical-align: middle;
}
.entry-body .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 2px 0 0;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--paper-warm);
	color: var(--ink-soft);
	font-size: 13.5px;
	line-height: 1.45;
}
.entry-body .wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(47,111,62,.25);
	background: #ecf7ee;
	color: var(--access-public);
}
.entry-body .wpcf7 form.invalid .wpcf7-response-output,
.entry-body .wpcf7 form.failed .wpcf7-response-output,
.entry-body .wpcf7 form.spam .wpcf7-response-output {
	border-color: rgba(180,58,42,.25);
	background: #fbe9e6;
	color: var(--access-member);
}
.entry-body .rotary-form-trap,
.entry-body .wpcf7 .hidden-fields-container {
	display: none;
}
.entry-body .rotary-turnstile-wrap {
	grid-column: 1 / -1;
	margin: 0;
	padding: 10px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
}

.access-gate {
	max-width: 720px;
	margin: 30px auto;
	padding: 28px;
	background: var(--paper-warm);
	border: 1px solid var(--line);
	border-left: 4px solid var(--rotary-gold);
	border-radius: var(--radius);
}
.access-gate h2 {
	font-family: var(--font-serif);
	margin: 0 0 8px;
	color: var(--rotary-blue-ink);
}
.access-gate p { margin: 0 0 14px; color: var(--ink-soft); }

/* ---------- Comments ---------- */
.comments-area {
	max-width: 760px;
	margin: 48px auto 0;
	padding: 0 var(--gutter);
}
.comments-area > h2 {
	font-family: var(--font-serif);
	font-size: 22px;
	color: var(--rotary-blue-ink);
	border-bottom: 1px solid var(--line);
	padding-bottom: 10px;
	margin: 0 0 20px;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list li.comment, .comment-list li.pingback {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin-bottom: 14px;
}
.comment-list .children {
	list-style: none; padding-left: 22px; margin-top: 14px;
	border-left: 2px solid var(--line);
}
.comment-author { font-weight: 700; color: var(--rotary-blue-ink); }
.comment-author .says { color: var(--muted); font-weight: 400; }
.comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.comment-meta a { color: var(--muted); }
.comment-body { font-size: 15px; }
.comment-body p { margin: 0 0 .7em; }
.comment-respond {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}
.comment-respond h3 { margin-top: 0; font-family: var(--font-serif); color: var(--rotary-blue-ink); }
.comment-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px;
	border: 1px solid var(--line-strong); border-radius: 6px;
	font: inherit; background: var(--white);
}
.comment-form .comment-form-comment { margin-bottom: 14px; }
.comment-form-cookies-consent { font-size: 12.5px; color: var(--muted); }
.comment-form .submit { background: var(--rotary-blue); color: #fff; border: 0; padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.comment-form .submit:hover { background: var(--rotary-blue-deep); }

/* ---------- eClub House dashboard ---------- */
.eclub-house__header {
	max-width: var(--max);
	margin: 0 auto 32px;
}
.eclub-house__header h1 {
	font-family: var(--font-serif);
	font-size: clamp(32px, 4vw, 44px);
	color: var(--rotary-blue-ink);
	margin: 6px 0 10px;
	letter-spacing: -0.01em;
	line-height: 1.1;
}
.eclub-house__lead { color: var(--ink-soft); font-size: 17px; max-width: 64ch; margin: 0; }
.eclub-house__board { display: grid; gap: 32px; max-width: var(--max); margin: 0 auto; }
.dash-section {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.dash-section__head {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 22px 24px 18px;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, var(--paper-warm) 0%, var(--white) 100%);
}
.dash-section__num {
	display: grid; place-items: center;
	width: 36px; height: 36px;
	background: var(--rotary-blue);
	color: var(--rotary-gold);
	border-radius: 50%;
	font-family: var(--font-serif); font-weight: 700;
	font-size: 14px;
	flex: 0 0 auto;
}
.dash-section__head h2 {
	font-family: var(--font-serif);
	font-size: 22px; line-height: 1.15;
	color: var(--rotary-blue-ink);
	margin: 0 0 4px;
	letter-spacing: -0.005em;
}
.dash-section__head p { margin: 0; color: var(--muted); font-size: 14px; }
.dash-grid {
	list-style: none; padding: 16px; margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}
.dash-tile {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px;
	min-height: 50px;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 3px solid var(--rotary-blue);
	border-radius: var(--radius);
	color: var(--rotary-blue-ink);
	font-size: 14px; font-weight: 600;
	line-height: 1.25;
	transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.dash-tile:hover {
	border-color: var(--rotary-blue);
	border-left-color: var(--rotary-gold);
	background: var(--paper);
	text-decoration: none;
	box-shadow: var(--shadow-card);
	transform: translateY(-1px);
}
.dash-tile__icon {
	display: grid; place-items: center;
	width: 28px; height: 28px;
	border-radius: 6px;
	background: rgba(23, 69, 143, 0.08);
	color: var(--rotary-blue);
	flex: 0 0 auto;
}
.dash-tile.is-pdf .dash-tile__icon { background: rgba(180, 58, 42, 0.10); color: var(--access-member); }
.dash-tile.is-external .dash-tile__icon { background: rgba(247, 168, 27, 0.14); color: #b07a08; }
.dash-tile__label { flex: 1; }

.eclub-house__notes {
	max-width: var(--max);
	margin: 40px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.note-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	display: flex; flex-direction: column; gap: 10px;
}
.note-card h3 { font-family: var(--font-serif); color: var(--rotary-blue-ink); margin: 0; font-size: 18px; }
.note-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.note-card .button { align-self: flex-start; margin-top: 4px; }
.note-card--iban {
	background: linear-gradient(160deg, var(--rotary-blue) 0%, var(--rotary-blue-deep) 100%);
	border-color: transparent;
	color: #E8EEFB;
}
.note-card--iban h3 { color: #fff; }
.note-card--iban p { color: rgba(255,255,255,.78); }
.iban {
	margin: 6px 0 0;
	display: grid; grid-template-columns: max-content 1fr;
	gap: 4px 14px;
	font-size: 14px;
}
.iban dt {
	color: var(--rotary-gold);
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	font-weight: 700;
	align-self: center;
}
.iban dd {
	margin: 0;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	color: #fff;
	letter-spacing: .04em;
}

/* ---------- Filtri archivio ---------- */
.filters {
	max-width: 920px;
	margin: 0 auto 18px;
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.filters__label {
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--muted); font-weight: 700;
}
.filters__list { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 6px 12px; border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink-soft);
	font-size: 13px; font-weight: 600;
	transition: border-color .15s, color .15s, background .15s;
}
.filter-chip:hover { border-color: var(--rotary-blue); color: var(--rotary-blue); text-decoration: none; }
.filter-chip.is-active { background: var(--rotary-blue); color: #fff; border-color: var(--rotary-blue); }

/* ---------- Archive listing ---------- */
.content-list {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid; gap: 16px;
}
.content-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 24px;
	display: grid;
	grid-template-columns: 90px 1fr auto;
	gap: 18px;
	align-items: start;
}
.content-card .card-date { font-family: var(--font-serif); color: var(--rotary-blue); margin: 0; }
.content-card .card-date .d { display: block; font-size: 28px; font-weight: 700; line-height: 1; }
.content-card .card-date .m { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.content-card .card-date .y { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--muted); }
.content-card h2 {
	font-family: var(--font-serif);
	font-size: 19px; line-height: 1.3;
	margin: 0 0 6px;
	color: var(--rotary-blue-ink);
	font-weight: 700;
}
.content-card h2 a { color: inherit; }
.content-card h2 a:hover { color: var(--rotary-blue); text-decoration: none; }
.content-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.content-card .badge {
	font-size: 11px; padding: 3px 10px; border-radius: 999px;
	background: var(--paper); color: var(--muted);
	letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
	white-space: nowrap;
}
.content-card .badge.guest { background: #FBF1D9; color: var(--access-guest); }
.content-card .badge.member { background: #F8E2DD; color: var(--access-member); }
.content-card .badge.review { background: #E5ECF8; color: var(--rotary-blue); }

.pagination, .nav-links {
	display: flex; gap: 6px; justify-content: center;
	margin-top: 26px; flex-wrap: wrap;
}
.pagination .page-numbers, .nav-links .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 36px; height: 36px;
	padding: 0 10px;
	border-radius: 6px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--rotary-blue);
	font-weight: 600; font-size: 14px;
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
	background: var(--rotary-blue); color: #fff; border-color: var(--rotary-blue);
}
.pagination a:hover, .nav-links a:hover { border-color: var(--rotary-blue); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--rotary-blue-ink);
	color: rgba(255,255,255,.78);
	padding: 56px 0 0;
	margin-top: 64px;
}
.site-footer a { color: #fff; }
.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding: 0 var(--gutter);
	max-width: var(--max);
	margin: 0 auto;
}
.site-footer__brand-title {
	font-family: var(--font-serif);
	color: #fff;
	font-size: 24px;
	margin: 0;
	letter-spacing: -0.01em;
}
.site-footer__brand-title em { font-style: italic; color: var(--rotary-gold-soft); }
.site-footer__brand-sub {
	display: block; color: var(--rotary-gold-soft);
	font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
	margin-top: 4px;
}
.site-footer__brand p {
	color: rgba(255,255,255,.7);
	margin: 14px 0 18px; max-width: 40ch;
	font-size: 14.5px;
}
.site-footer h3 {
	font-family: var(--font-serif); font-size: 16px;
	margin: 0 0 14px; color: var(--rotary-gold);
	letter-spacing: .04em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.site-footer ul a { color: rgba(255,255,255,.85); }
.site-footer ul a:hover { color: var(--rotary-gold-soft); text-decoration: none; }

.site-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.site-footer__social a {
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #fff; font-weight: 700; font-size: 13px;
	transition: background .15s, color .15s;
}
.site-footer__social img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}
.site-footer__social .social-icon {
	width: 18px;
	height: 18px;
	display: block;
}
.site-footer__social a:hover { background: var(--rotary-gold); color: var(--rotary-blue-ink); text-decoration: none; }

.site-footer__bar {
	margin-top: 48px;
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 18px var(--gutter);
}
.site-footer__bar-inner {
	max-width: var(--max);
	margin: 0 auto;
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	font-size: 12.5px; color: rgba(255,255,255,.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.masthead { grid-template-columns: 1fr auto; }
	.masthead__center { display: none; }

	.home-hero { grid-template-columns: 1fr; }
	.home-grid { grid-template-columns: 1fr; }

	.partners { grid-template-columns: repeat(2, 1fr); }

	.site-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.eclub-house__notes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.utility-bar__inner { font-size: 12px; }
	.search-form { min-width: 0; flex: 1; }

	.masthead { padding-top: 10px; padding-bottom: 10px; }
	.masthead__mark { width: 40px; height: 40px; }
	.masthead__title { font-size: 19px; }
	.masthead__sub { display: none; }

	.nav-toggle { display: inline-flex; }
	.site-nav-wrap__inner { display: flex; align-items: center; padding: 6px var(--gutter); }
	.site-nav { display: none; width: 100%; }
	.site-nav.is-open { display: block; }
	.site-nav > ul { flex-direction: column; align-items: stretch; }
		.site-nav > ul > li > a { padding: 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
		.site-nav .submenu {
			display: none;
			position: static; opacity: 1; visibility: visible; transform: none;
			box-shadow: none; border: 0; border-top: 1px dashed var(--line);
			padding-left: 18px;
		}
		.site-nav .has-submenu.is-open > .submenu { display: block; }

		.content-card { grid-template-columns: 1fr; }
	.content-card .badge { justify-self: start; }
	.news-card { grid-template-columns: 1fr; }
	.news-card__date { border-right: 0; padding-right: 0; flex-direction: row; gap: 8px; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
	.news-card__date .day { font-size: 22px; }

	.dash-grid { grid-template-columns: 1fr; }

	.rotary-faq__lead {
		padding: 15px 16px;
		font-size: 15px;
	}
	.rotary-faq__item summary {
		grid-template-columns: 28px 1fr 16px;
		gap: 10px;
		padding: 15px 14px;
		font-size: 18px;
	}
	.rotary-faq__item summary::before {
		width: 28px;
		height: 28px;
	}
	.rotary-faq__answer {
		padding: 15px 16px 18px;
		font-size: 15.5px;
	}

	.entry-body .wpcf7-form {
		grid-template-columns: 1fr;
		gap: 13px;
		padding: 16px;
	}
	.entry-body .wpcf7-form > p {
		font-size: 13.5px;
	}
	.entry-body .wpcf7 input[type="text"],
	.entry-body .wpcf7 input[type="email"],
	.entry-body .wpcf7 input[type="tel"],
	.entry-body .wpcf7 input[type="url"],
	.entry-body .wpcf7 input[type="number"],
	.entry-body .wpcf7 textarea,
	.entry-body .wpcf7 select {
		min-height: 42px;
		font-size: 16px;
	}
	.entry-body .wpcf7 textarea {
		min-height: 124px;
	}
	.entry-body .wpcf7 .wpcf7-submit {
		width: 100%;
	}
}

/* ---------- Small utilities ---------- */
.muted { color: var(--muted); }
.center { text-align: center; }

/* ===== Shortcode legacy: Perfect Pullquote ===== */
.rotary-pullquote {
	--pq-accent: var(--rotary-blue, #17458F);
	position: relative;
	margin: 1.6em 0;
	padding: 18px 22px 18px 24px;
	background: #fafafa;
	border-radius: 6px;
	overflow: hidden;
}
.rotary-pullquote__bar {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 6px;
	background: var(--pq-accent);
}
.rotary-pullquote__text {
	margin: 0;
	font-size: 1.25em;
	line-height: 1.35;
	font-weight: 700;
	color: var(--rotary-blue-ink);
	font-style: italic;
	font-family: var(--font-serif);
}
.rotary-pullquote__cite {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-style: normal;
	color: var(--muted);
}
.rotary-pullquote__cite::before { content: "— "; opacity: .6; }
.rotary-pullquote.pq-align-left  { float: left;  max-width: 45%; margin: .4em 1.4em .8em 0; }
.rotary-pullquote.pq-align-right { float: right; max-width: 45%; margin: .4em 0 .8em 1.4em; }
.rotary-pullquote.pq-align-full  { width: 100%; }

@media (max-width: 600px) {
	.rotary-pullquote.pq-align-left,
	.rotary-pullquote.pq-align-right { float: none; max-width: none; margin: 1.2em 0; }
}

/* ===== Shortcode legacy: WC Shortcodes neutri ===== */
.rotary-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 1em 0; }
.rotary-col { flex: 1 1 0; min-width: 0; }
.rotary-col-one-half     { flex: 1 1 calc(50% - 8px); }
.rotary-col-one-third    { flex: 1 1 calc(33.333% - 11px); }
.rotary-col-two-third    { flex: 1 1 calc(66.666% - 6px); }
.rotary-col-one-fourth   { flex: 1 1 calc(25% - 12px); }
.rotary-col-three-fourth { flex: 1 1 calc(75% - 4px); }
.rotary-col-full         { flex: 1 1 100%; }

.rotary-box {
	margin: 1em 0;
	padding: 14px 18px;
	border-radius: 6px;
	background: #f4f7fb;
	border-left: 4px solid var(--rotary-blue);
}
.rotary-box--success { background: #ecf7ee; border-left-color: var(--access-public); }
.rotary-box--warning { background: #fdf3df; border-left-color: var(--access-guest); }
.rotary-box--danger  { background: #fbe9e6; border-left-color: var(--access-member); }
.rotary-box--inverse { background: var(--rotary-blue-ink); border-left-color: var(--rotary-gold); color: #fff; }
.rotary-box--inverse a { color: var(--rotary-gold-soft); }

.rotary-divider { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 1.4em 0; }

.rotary-skillbar { margin: 1em 0; }
.rotary-skillbar__label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.rotary-skillbar__track { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.rotary-skillbar__fill  { display: block; height: 100%; }

.rotary-fa { display: inline-block; width: 1em; height: 1em; vertical-align: -2px; }

/* ===== Shortcode legacy: slider e gallerie ===== */
.rotary-legacy-slider {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin: 24px 0;
}
.rotary-legacy-slider figure,
.rotary-wppa-gallery__item {
	margin: 0;
}
.rotary-legacy-slider img,
.rotary-wppa-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
	background: #f4f7fb;
}
.rotary-legacy-slider figcaption,
.rotary-wppa-gallery__item figcaption {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.35;
	color: var(--muted);
}
.rotary-wppa-gallery {
	margin: 24px 0;
}
.rotary-wppa-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.rotary-wppa-gallery__item a {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: #f4f7fb;
}
.rotary-wppa-gallery__item img {
	height: 100%;
	object-fit: cover;
}
.rotary-legacy-notice {
	padding: 12px 14px;
	border-left: 4px solid var(--rotary-gold);
	background: #fff8e6;
	border-radius: 4px;
	color: var(--ink-soft);
}
