/*
 * Animal Yes — Direzioni 2026, shared frontend/editor overrides.
 * Load after style.css and before directions-pages.css; fonts are enqueued by PHP.
 * PDF scale: .74935 pt / CSS px. Mockup: 1080px, 48px gutters, 984px content.
 * Outer maximum 1216px = 1120px content + 96px gutters (border-box).
 * All 19 registered blocks use these rules; editor-directions-2026.css only
 * adapts Gutenberg wrappers and the width of the editing canvas.
 */

:root,
.editor-styles-wrapper {
	--color-brand: #ff6210;
	--color-brand-text: var(--color-brand);
	--color-brand-dark: #191512;
	--bg-band: #f7f1ea;
	--font-heading: var(--font-title);
	--container-max: 1120px;
	--container-wide: 1216px;
	--radius-card: 16px;
	--ay-gutter: 48px;
	--ay-section-space: 64px;
	--ay-card-padding: 28px;
	--ay-grid-gap: 20px;
}

body,
.editor-styles-wrapper {
	font-size: 17px;
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: var(--container-wide);
	padding-inline: var(--ay-gutter);
}

.entry-content > *,
.wp-block-post-content > *,
.ay-ds-page > * {
	padding-inline: var(--ay-gutter);
}

/* Custom full-width sections own their gutters through their inner container.
 * Keep ordinary core blocks' spacing and user-selected core group padding. */
.entry-content > .alignfull:where([class*="ay-"]),
.wp-block-post-content > .alignfull:where([class*="ay-"]),
.ay-ds-page > .alignfull:where([class*="ay-"]) {
	width: 100%;
	max-width: none;
	margin-block: 0;
	margin-inline: 0;
	padding-inline: 0;
}

.eyebrow,
.ay-small-hero__eyebrow,
.ay-newsletter__eyebrow {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .12em;
}

.btn,
.wp-block-button__link,
.wp-element-button {
	min-height: 48px;
	padding: 12px 24px;
	font-size: 16px;
	line-height: 1.4;
}

/* Keep the secondary menu and cart. Only tune the main navigation's scale. */
.site-header__inner {
	min-height: 72px;
	gap: 20px;
}

.site-nav__list a {
	font-size: 14px;
	padding: 10px 12px;
}

.site-logo img,
img.site-logo--header {
	width: 144px;
	height: 34px;
	object-fit: contain;
}

.site-footer__grid {
	gap: 32px;
	padding-block: 48px;
}

.site-footer__tag,
.site-footer__list a,
.site-footer__socials a {
	font-size: 13px;
	line-height: 1.65;
}

.site-footer h4 {
	font-size: 13px;
	margin-bottom: 12px;
}

.site-footer__bottom {
	font-size: 12px;
}

/* Keep every footer variant on the exact background used by the Blog block. */
.site-footer,
.site-footer__bottom {
	background-color: var(--bg-band);
}

/* 01 home-hero. 490 + 70 + 424 = 984px at the PDF viewport. */
.ay-home-hero {
	border-bottom: 0;
	padding-block: 80px;
}

.ay-home-hero__grid {
	grid-template-columns: minmax(0, 490fr) minmax(0, 424fr);
	gap: 70px;
}

.ay-home-hero__grid.is-reversed {
	grid-template-columns: minmax(0, 424fr) minmax(0, 490fr);
}

.ay-home-hero__grid.is-text-only {
	grid-template-columns: minmax(0, 1fr);
}

:where(.ay-home-hero__grid, .ay-bullet-hero__grid, .ay-hero-contact__grid,
	.ay-feature__grid, .ay-newsletter__head) > * {
	min-width: 0;
}

.ay-home-hero__title {
	max-width: 100%;
	margin-bottom: 24px;
	font-size: 54px;
	line-height: 56px;
	letter-spacing: -.02em;
	white-space: normal;
	text-wrap: initial;
	overflow-wrap: break-word;
}

.ay-home-hero__text {
	max-width: 46ch;
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

.ay-home-hero__actions {
	gap: 12px;
	margin-top: 28px;
}

.ay-home-hero__media img,
.ay-home-hero__placeholder {
	min-height: 0;
	aspect-ratio: 424 / 400;
	object-fit: cover;
}

.ay-home-hero__stats {
	gap: 20px;
	margin-top: 32px;
}

.ay-home-hero__stat strong {
	font-size: 32px;
}

.ay-home-hero__stat span {
	font-size: 13px;
	font-weight: 600;
}

/* Measured page-heading variants. Page-specific layouts can refine these. */
.ay-home-hero--academy .ay-home-hero__title {
	max-width: 730px;
	font-size: 44px;
	line-height: 1.1;
}

.ay-home-hero--workshops .ay-home-hero__title {
	max-width: 780px;
	font-size: 50px;
	line-height: 1.06;
}

.ay-home-hero--insight-talks .ay-home-hero__title,
.ay-insight-hero h1,
.ay-insight-single__copy h1 {
	max-width: 780px;
	font-size: 46px;
	line-height: 1.08;
}

.ay-blog-portal-hero__title,
.page-hero h1 {
	font-size: 48px;
	line-height: 1.08;
	letter-spacing: -.02em;
}

.ay-author-hero__name,
.page-template-page-diventa-autore .ay-home-hero__title {
	font-size: 44px;
	line-height: 1.1;
}

.site-main--valori .page-hero h1,
.site-main--valori .ay-home-hero__title,
.site-main--valori .ay-bullet-hero__title,
.ay-contact-hero h1 {
	font-size: 56px;
	line-height: 1.08;
	letter-spacing: -.02em;
}

/* 02 card-section, 03 small-hero, 04 blog. */
.ay-card-section,
.ay-blog-section,
.ay-featured-courses,
.ay-teachers,
.ay-bullet-hero,
.ay-values,
.ay-feature,
.ay-faq,
.ay-hero-contact {
	padding-block: var(--ay-section-space);
}

.ay-card-section__head,
.ay-blog-section__head,
.ay-values__head,
.ay-workshop-section-head {
	gap: 24px;
	margin-bottom: 28px;
}

.ay-card-section__title,
.ay-blog-section__title,
.ay-values__title,
.ay-feature__title,
.ay-workshop-section-head h2,
.ay-workshop-download h2 {
	max-width: none;
	font-size: 32px;
	line-height: 1.18;
	letter-spacing: -.02em;
	white-space: normal;
	overflow-wrap: break-word;
}

.ay-card-section__kicker {
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
}

.ay-card-section__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: var(--ay-grid-gap);
}

.ay-learning-card {
	min-height: 232px;
	padding: var(--ay-card-padding);
	border-radius: var(--radius-card);
}

.ay-learning-card__number {
	font-size: 13px;
	margin-bottom: 24px;
}

/* Tipo 1 / Numerata semplice: il numero sopra il titolo è un'etichetta forte. */
.ay-card-section--numbered .ay-learning-card__number {
	font-weight: 700;
}

.ay-card-section--numbered,
.ay-card-section--numbered .ay-learning-card {
	border: 0;
}

.ay-learning-card__title,
.ay-course-card__title,
.ay-teacher-card__name,
.ay-values__item-title {
	font-size: 22px;
	line-height: 1.25;
	margin-bottom: 12px;
}

.ay-learning-card__text,
.ay-course-card__excerpt,
.ay-teacher-card__excerpt,
.ay-values__item-text {
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
}

.ay-learning-card__text {
	margin-bottom: 20px;
}

.ay-learning-card__link,
.ay-small-hero__link,
.ay-blog-section__link,
.ay-feature__link {
	font-size: 15px;
	line-height: 1.5;
}

.ay-small-hero {
	padding-block: 28px;
}

.ay-small-hero__inner {
	gap: 24px;
}

.ay-small-hero__text {
	font-size: 15px;
	line-height: 24px;
}

.ay-small-hero__eyebrow,
.ay-small-hero__link,
.ay-blog-section__link {
	white-space: normal;
}

/* Home / “Le persone” — reference: two full-bleed rules, 84px total height
 * and a single horizontal reading line between the rules. */
.home .ay-small-hero,
.home .entry-content > .ay-small-hero.alignfull {
	position: relative;
	padding-block: 30px;
	border: 0;
	background: var(--bg-page);
}

.home .ay-small-hero::before,
.home .ay-small-hero::after {
	position: absolute;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--border-hairline);
	content: '';
}

.home .ay-small-hero::before { top: 0; }
.home .ay-small-hero::after { bottom: 0; }

.home .ay-small-hero__inner {
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
}

.home .ay-small-hero__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: .12em;
	white-space: nowrap;
}

.home .ay-small-hero__text {
	margin: 0;
	font-size: 17px;
	font-weight: 400 !important;
	line-height: 24px;
	color: var(--text-secondary);
}

.home .ay-small-hero__link {
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	white-space: nowrap;
}

.ay-blog-section {
	background: var(--bg-band);
}

.ay-blog-section__grid,
.ay-featured-courses__grid,
.ay-teachers__grid,
.ay-values__list {
	gap: var(--ay-grid-gap);
}

/* Compound selector also beats the legacy mobile .ay-learning-card padding. */
.ay-learning-card.ay-blog-card {
	min-height: 0;
	padding: 0;
}

.ay-blog-card .ay-learning-card__category,
.ay-blog-card .ay-learning-card__title,
.ay-blog-card .ay-learning-card__text,
.ay-blog-card .ay-blog-card__meta {
	margin-inline: 24px;
}

.ay-blog-card .ay-learning-card__title {
	font-size: 17px;
	line-height: 1.3;
}

.ay-blog-card .ay-learning-card__text,
.ay-blog-card .ay-learning-card__category,
.ay-blog-card__meta {
	font-size: 13px;
	line-height: 1.5;
}

.ay-blog-card .ay-learning-card__category {
	font-family: var(--font-body);
	margin-top: 20px;
}

/* 05 newsletter: inline email/submit, consent below; retain all benefit cards. */
.ay-newsletter {
	padding-block: 64px 48px;
	background: var(--color-brand-dark);
}

.ay-newsletter__head {
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	gap: 40px;
	margin-bottom: 32px;
}

.ay-newsletter__title {
	max-width: 390px;
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.ay-newsletter__form {
	width: 100%;
	min-width: 0;
	max-width: none;
}

.ay-newsletter__form .ay-newsletter-inline-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
}

.ay-newsletter-inline-form > label:not(.ay-consent-label) {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}

.ay-newsletter__form .ay-newsletter-inline-form > .wpcf7-submit {
	grid-column: 2;
	grid-row: 1;
	width: auto;
	margin: 0;
}

.ay-newsletter-inline-form > .ay-consent-label,
.ay-newsletter-inline-form > .ay-newsletter-response {
	grid-column: 1 / -1;
}

.ay-newsletter-inline-form > .ay-consent-label {
	grid-row: 2;
}

.ay-newsletter__form input[type="email"] {
	min-width: 0;
	min-height: 48px;
	font-size: 16px;
}

.ay-newsletter__form label,
.ay-newsletter__form .ay-consent-text,
.ay-newsletter-card p {
	font-size: 14px;
	line-height: 1.6;
}

.ay-newsletter__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.ay-newsletter-card {
	min-height: 0;
	padding: 24px;
}

.ay-newsletter-card h3 {
	font-size: 17px;
	line-height: 1.3;
}

.ay-newsletter__footnote {
	font-size: 13px;
}

/* 06 featured-courses, 07 teachers: only catalogue cards reserve body height. */
.ay-course-card__body,
.ay-teacher-card__body {
	min-height: 0;
	padding: var(--ay-card-padding);
}

.ay-course-card > .ay-course-card__body:last-child {
	margin-bottom: 0;
}

.ay-shop__grid .ay-course-card__body {
	min-height: 220px;
}

.ay-course-card__category,
.ay-teacher-card__role,
.ay-course-card__meta,
.ay-teacher-card__meta {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.5;
}

/* 08 bullet-hero, 09 values, 10 feature (including logo and quote-dark). */
.ay-bullet-hero__grid,
.ay-hero-contact__grid,
.ay-feature__grid {
	gap: 56px;
}

.ay-bullet-hero__title,
.ay-hero-contact__title {
	max-width: 100%;
	font-size: 44px;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.ay-bullet-hero__text,
.ay-hero-contact__text,
.ay-feature__text {
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

.ay-bullet-hero__list {
	gap: 12px;
	margin-bottom: 28px;
}

.ay-bullet-hero__list li {
	font-size: 16px;
	line-height: 1.5;
}

.ay-bullet-hero__media img,
.ay-bullet-hero__media .ay-home-hero__placeholder,
.ay-hero-contact__media img,
.ay-hero-contact__media .ay-home-hero__placeholder {
	min-height: 0;
}

.ay-values__item {
	display: grid;
	grid-template-columns: 56px 230px minmax(0, 1fr);
	gap: 24px;
	padding: 30px 0;
	border: 0;
	border-top: 1px solid var(--border-hairline);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ay-values__list { display: block; }
.ay-values__content { display: contents; }
.ay-values__item-title { font-size: 26px; line-height: 1.25; margin: 0; }
.ay-values__item-text { font-size: 16px; line-height: 1.65; margin: 0; }

.ay-values__number {
	font-size: 32px;
	margin-bottom: 0;
}

.ay-feature__quote {
	padding: 24px;
}

.ay-feature__quote p {
	font-size: 23px;
	line-height: 1.4;
}

.ay-feature__stat-value {
	font-size: 36px;
}

.ay-feature__stat-label {
	font-size: 15px;
}

.ay-feature--statement .ay-feature__title {
	font-size: 38px;
	line-height: 1.15;
}

.ay-feature__media .ay-feature__logo {
	aspect-ratio: auto;
	object-fit: contain;
	padding: 28px;
}

.ay-feature--logo,
.ay-feature--quote-dark {
	padding-block: 0 40px;
	border: 0;
	background: var(--bg-page);
}

.ay-feature--logo > .container,
.ay-feature--quote-dark > .container {
	width: calc(100% - 2 * var(--ay-gutter));
	max-width: var(--container-max);
	padding: 48px 40px;
	border-radius: var(--radius-card);
}

.ay-feature--logo > .ay-feature__grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	background: var(--bg-band);
	text-align: center;
}

.ay-feature--logo .ay-feature__media {
	width: min(300px, 100%);
	background: transparent;
	border-radius: 0;
}

.ay-feature--logo .ay-feature__media img {
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	padding: 0;
}

.ay-feature--logo .ay-feature__copy {
	max-width: 650px;
}

.ay-feature--logo .ay-feature__title {
	max-width: none;
	font-size: 28px;
}

.ay-feature--logo .ay-feature__text {
	max-width: none;
	font-size: 16px;
	line-height: 1.65;
}

.ay-feature--logo .ay-feature__links {
	justify-content: center;
}

.ay-feature--quote-dark > .ay-feature__grid {
	display: block;
	background: var(--color-brand-dark);
	color: var(--text-on-dark);
}

.ay-feature--quote-dark .ay-feature__quote {
	max-width: 860px;
	margin: 0 0 28px;
	padding: 0;
	border: 0;
	background: transparent;
}

.ay-feature--quote-dark .ay-feature__quote p {
	color: var(--text-on-dark);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.35;
}

.ay-feature--quote-dark .ay-feature__quote cite {
	color: var(--text-on-dark-secondary);
	font-size: 14px;
}

.ay-feature--quote-dark .ay-feature__links {
	gap: 12px;
}

.ay-feature--quote-dark .ay-feature__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid #ffffff59;
	border-radius: var(--radius-pill);
	color: var(--text-on-dark);
	font-size: 16px;
}

.ay-feature--quote-dark .ay-feature__link:first-child {
	background: var(--color-brand);
	border-color: var(--color-brand);
	color: #fff;
}

.ay-feature--quote-dark .ay-feature__link:hover {
	background: var(--text-on-dark);
	border-color: var(--text-on-dark);
	color: var(--color-brand-dark);
}

/* 11 faq, 12 hero-contact. */
.ay-faq__title {
	font-size: 28px;
	line-height: 1.2;
}

.ay-faq__inner {
	gap: 40px;
}

.ay-faq__item summary {
	font-size: 16px;
	padding: 20px 24px;
}

.ay-faq__item p {
	font-size: 15px;
	line-height: 24px;
	padding: 0 24px 24px;
}

.ay-hero-contact__form .wpcf7 label {
	font-size: 14px;
}

.ay-hero-contact__form :where(input[type="text"], input[type="email"], textarea) {
	width: 100%;
	min-width: 0;
	font-size: 16px;
}

/* 13–16 workshop nav / levels / reference / download. */
.ay-workshop-landing > *:first-child {
	margin-top: 0;
}

.ay-workshop-hero__nav {
	margin-bottom: 48px;
}

.ay-workshop-section-head > p:not(.eyebrow),
.ay-workshop-reference__copy p {
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

.ay-workshop-levels,
.ay-workshop-reference,
.ay-workshop-download {
	padding-block: var(--ay-section-space);
}

.ay-workshop-level {
	gap: 24px;
	padding: 24px 28px;
}

.ay-workshop-level h3 {
	font-size: 22px;
	line-height: 1.25;
}

.ay-workshop-level__text {
	font-size: 15px;
	line-height: 24px;
}

.ay-workshop-level p,
.ay-workshop-level > strong {
	font-size: 13px;
}

.ay-workshop-reference blockquote {
	font-size: 30px;
	line-height: 1.35;
}

.ay-workshop-download {
	background: var(--color-brand-dark);
}

.ay-workshop-download p {
	font-size: 15px;
	line-height: 24px;
}

.ay-workshop-download__form .wpcf7-submit {
	font-size: 16px;
}

/* Article reading measure, plus 17 highlight / 18 course / 19 summary. */
.ay-article-hero h1 {
	max-width: 900px;
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -.02em;
}

.ay-article-hero__inner {
	max-width: 996px;
}

.ay-article-hero__intro {
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

.ay-article-layout {
	max-width: calc(760px + 2 * var(--ay-gutter));
	padding-block: 48px 64px;
}

.ay-article-content {
	font-size: 17px;
	line-height: 28px;
}

.ay-article-content h2,
.ay-article-content h3 {
	font-size: 26px;
	line-height: 1.3;
	margin-top: 36px;
}

.ay-article-content > * + * {
	margin-top: 24px;
}

.ay-article-highlight {
	margin-block: 32px;
	padding: 24px 0 24px 28px;
	border-left-width: 4px;
}

.ay-article-highlight p {
	max-width: none;
	font-size: 23px;
	line-height: 32px;
}

.ay-article-course {
	margin-block: 32px;
	gap: 20px;
}

.ay-article-course--media-left {
	grid-template-columns: 220px minmax(0, 1fr);
}

.ay-article-course__copy {
	padding: 28px;
}

.ay-article-course h3,
.ay-article-content .ay-article-course h3 {
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 12px;
}

.ay-article-course p {
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
}

.ay-article-course .ay-article-course__eyebrow {
	font-size: 13px;
	font-weight: 700;
}

.ay-article-summary {
	margin-block: 32px;
	padding: 28px;
	box-shadow: none;
}

.ay-article-summary h2,
.ay-article-content .ay-article-summary h2 {
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 16px;
}

.ay-article-summary li {
	font-size: 17px;
	line-height: 28px;
}

.ay-article-content .ay-faq {
	padding-block: 32px;
}

.ay-article-content > .alignfull {
	margin-block: 0;
}

.ay-article-content .ay-faq__inner {
	grid-template-columns: minmax(0, 1fr);
	padding-inline: 0;
	gap: 24px;
}

.ay-article-content .ay-faq__title {
	font-size: 28px;
	margin: 0;
}

/* Shared responsive rules deliberately follow all legacy media queries. */
@media (max-width: 860px) {
	:root,
	.editor-styles-wrapper {
		--ay-gutter: 32px;
		--ay-section-space: 48px;
	}

	.site-header__inner { min-height: 66px; }
	.site-nav__list a { font-size: 16px; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ay-home-hero { padding-block: 56px; }

	.ay-home-hero__grid,
	.ay-home-hero__grid.is-reversed,
	.ay-bullet-hero__grid,
	.ay-bullet-hero__grid.is-reversed,
	.ay-hero-contact__grid,
	.ay-workshop-waitlist .ay-hero-contact__grid,
	.ay-feature__grid,
	.ay-workshop-reference__grid,
	.ay-faq__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.ay-home-hero__grid.is-reversed .ay-home-hero__copy,
	.ay-bullet-hero__grid.is-reversed .ay-bullet-hero__copy {
		order: 0;
	}

	.ay-home-hero__title { font-size: 46px; line-height: 1.08; }
	.ay-home-hero__media { width: 100%; max-width: 520px; }
	.ay-home-hero__actions .btn { width: auto; }
	.home .ay-small-hero { padding-block: 24px; }
	.home .ay-small-hero__inner { gap: 14px; }
	.ay-card-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ay-small-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 12px; }

	.ay-blog-section__grid,
	.ay-featured-courses__grid,
	.ay-teachers__grid,
	.ay-teachers__grid--four,
	.ay-values__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ay-newsletter { padding-block: 48px; }
	.ay-newsletter__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ay-newsletter__form { max-width: 520px; }
	.ay-newsletter__grid { grid-template-columns: minmax(0, 1fr); }
	.ay-feature--statement .ay-feature__title { font-size: 34px; }
	.ay-feature--logo > .container,
	.ay-feature--quote-dark > .container { padding: 32px; }
	.ay-workshop-level { grid-template-columns: 70px minmax(0, 1fr); }
	.ay-workshop-level__text,
	.ay-workshop-level > strong { grid-column: 2; justify-self: start; }
	.ay-article-course--media-left { grid-template-columns: minmax(0, 1fr); }
	.ay-article-hero h1 { font-size: 50px; }
	.ay-values__item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 20px; }
	.ay-values__item-text { grid-column: 2; }
}

@media (max-width: 540px) {
	:root,
	.editor-styles-wrapper {
		--ay-gutter: 22px;
		--ay-section-space: 40px;
		--ay-card-padding: 24px;
	}

	.site-header__inner { gap: 12px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); padding-block: 36px; gap: 28px; }
	.ay-home-hero { padding-block: 40px; }
	.ay-home-hero__title,
	.ay-home-hero--academy .ay-home-hero__title,
	.ay-home-hero--workshops .ay-home-hero__title,
	.ay-home-hero--insight-talks .ay-home-hero__title,
	.page-template-page-diventa-autore .ay-home-hero__title,
	.site-main--valori .page-hero h1,
	.site-main--valori .ay-home-hero__title,
	.site-main--valori .ay-bullet-hero__title,
	.ay-insight-hero h1,
	.ay-insight-single__copy h1,
	.ay-blog-portal-hero__title,
	.ay-author-hero__name,
	.ay-contact-hero h1,
	.ay-bullet-hero__title,
	.ay-hero-contact__title,
	.page-hero h1 {
		font-size: 36px;
		line-height: 1.1;
	}

	.ay-home-hero__media img,
	.ay-home-hero__placeholder { min-height: 0; aspect-ratio: 4 / 3; }
	.ay-home-hero__actions .btn { width: 100%; }
	.ay-home-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ay-card-section__title,
	.ay-blog-section__title,
	.ay-values__title,
	.ay-feature__title,
	.ay-workshop-section-head h2,
	.ay-workshop-download h2 { font-size: 28px; }

	.ay-card-section__grid,
	.ay-blog-section__grid,
	.ay-featured-courses__grid,
	.ay-teachers__grid,
	.ay-teachers__grid--four,
	.ay-values__list { grid-template-columns: minmax(0, 1fr); }
	.ay-learning-card { min-height: 0; }
	.ay-learning-card.ay-blog-card { padding: 0; }
	.ay-shop__grid .ay-course-card__body { min-height: 0; }
	.ay-small-hero { padding-block: 24px; }
	.home .ay-small-hero { padding-block: 20px; }
	.home .ay-small-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.home .ay-small-hero__text { font-size: 15px; line-height: 22px; }
	.home .ay-small-hero__link { width: max-content; }
	.ay-newsletter { padding-block: 40px; }
	.ay-newsletter__title { font-size: 30px; }
	.ay-newsletter-card { padding: 24px; }
	.ay-newsletter__form .ay-newsletter-inline-form { grid-template-columns: minmax(0, 1fr); }
	.ay-newsletter__form .ay-newsletter-inline-form > .wpcf7-submit { grid-column: 1; grid-row: 3; width: 100%; padding-inline: 16px; }
	.ay-feature--logo > .container,
	.ay-feature--quote-dark > .container { padding: 28px 24px; }
	.ay-feature--quote-dark .ay-feature__quote p { font-size: 26px; }
	.ay-feature--statement .ay-feature__title { font-size: 30px; }
	.ay-workshop-level { grid-template-columns: minmax(0, 1fr); padding: 24px; }
	.ay-workshop-level__text,
	.ay-workshop-level > strong { grid-column: auto; }
	.ay-workshop-reference blockquote { font-size: 26px; }
	.ay-article-hero h1 { font-size: 38px; line-height: 1.08; }
	.ay-article-highlight { padding-left: 20px; }
	.ay-article-course__copy,
	.ay-article-summary { padding: 24px; }
}

/* Typography roles — declared last to neutralize the older blanket 700/800
 * selectors while retaining the measured hierarchy from the reference. */
.site-top-menu__list a,
.site-nav__list a,
.site-footer__tag,
.site-footer__socials a,
.site-footer__list a,
.site-footer__bottom,
.site-footer__bottom p,
.site-footer__bottom a {
	font-weight: 400;
}

.site-footer__socials a {
	color: var(--text-primary);
}

.site-footer h4 {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
}

.site-nav__list .menu-item--courses > a,
.site-nav__list .InEvidenza > a,
.site-top-menu__list .current-menu-item a,
.site-footer__list .current-menu-item > a {
	font-weight: 600;
}

.ay-home-hero__text,
.ay-card-section__kicker,
.ay-learning-card__text,
.ay-blog-card .ay-learning-card__text,
.ay-newsletter-card p,
.ay-course-card__excerpt,
.ay-teacher-card__excerpt,
.ay-bullet-hero__text,
.ay-feature__text,
.ay-workshop-level__text,
.ay-workshop-reference__copy p,
.ay-article-course p,
.ay-article-summary li,
.ay-faq__item p {
	font-weight: 400;
}

.ay-learning-card__link,
.ay-blog-card__meta,
.ay-course-card__meta,
.ay-teacher-card__meta,
.ay-workshop-level p,
.ay-workshop-level > strong {
	font-weight: 600;
}

/* Newsletter: the legacy sheet promoted labels, consent and footnote to
 * 500/600. In the reference only the heading, benefit titles and CTA carry
 * emphasis; the rest is regular Archivo. */
.ay-newsletter__form label,
.ay-newsletter__form .ay-consent-label,
.ay-newsletter__form .ay-consent-text,
.ay-newsletter__form input[type="email"],
.ay-newsletter-card p,
.ay-newsletter__footnote {
	font-weight: 400;
}

.ay-newsletter__title,
.ay-newsletter-card h3,
.ay-newsletter__eyebrow {
	font-weight: 700;
}

.ay-newsletter__form .wpcf7-submit {
	font-weight: 600;
}
