/* Directions 36a, 37a, 33a, 34 and 10a.
 * Load after directions-2026.css. Keep these overrides scoped to detail pages
 * and the WooCommerce catalogue; the shared sheet owns all 19 block defaults.
 */

/* 36a — existing editable, reversed hero and its compact closing signature. */
.ay-become-author {
	background: #fff;
}

.ay-become-author article > .page-hero {
	margin: 0;
}

.ay-become-author .ay-home-hero {
	padding-block: 64px 24px;
	border: 0;
	background: #fff;
}

.ay-become-author .ay-home-hero__grid.is-reversed {
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
	gap: 48px;
}

.ay-become-author .ay-home-hero__grid.is-reversed .ay-home-hero__copy {
	order: 2;
}

.ay-become-author .ay-home-hero__media {
	width: 100%;
	max-width: 280px;
	border: 0;
	box-shadow: none;
}

.ay-become-author .ay-home-hero__media img,
.ay-become-author .ay-home-hero__placeholder {
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.ay-become-author .ay-home-hero__title {
	font-size: 44px;
	line-height: 1.1;
	margin-bottom: 24px;
}

.ay-become-author .ay-home-hero__text {
	max-width: none;
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
	white-space: pre-line;
}

.ay-become-author .ay-home-hero__actions {
	margin-top: 24px;
}

.ay-become-author .ay-cta-author {
	padding-block: 0 56px;
	border: 0;
	background: #fff;
}

.ay-become-author .ay-cta-author__card {
	display: block;
	max-width: none;
	margin: 0 0 0 328px;
	padding: 32px 0 0;
	border: 0;
	border-top: 1px solid var(--border-hairline);
	border-radius: 0;
	background: transparent;
	text-align: left;
}

.ay-become-author .ay-cta-author__name {
	font-size: 17px;
	line-height: 1.5;
}

.ay-become-author .ay-cta-author__role {
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	margin-bottom: 8px;
}

.ay-become-author .ay-cta-author__cta {
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

.ay-become-author .wpcf7,
.ay-become-author .wpcf7 form,
.ay-become-author .wpcf7 label,
.ay-become-author .wpcf7 :is(input, textarea, select, button) {
	font-family: var(--font-body);
	text-align: left;
}

.ay-become-author .ay-contact-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	text-align: left;
}

.ay-become-author .wpcf7 label {
	display: grid;
	gap: 6px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.site-footer.site-footer--author-compact {
	padding-block: 24px;
}

.site-footer--author-compact .site-footer__compact-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-footer--author-compact .site-logo--footer img {
	width: 120px;
	height: auto;
	margin-bottom: 0;
}

.site-footer--author-compact .site-footer__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin: 0;
}

.site-footer--author-compact .site-footer__bottom {
	margin-top: 16px;
	padding-block: 12px 0;
}

/* 37a — reading column, beige FAQ and dark related articles. */
.ay-single-post .ay-article-hero h1 {
	font-size: 64px;
	line-height: 1.02;
}

.ay-single-post .ay-article-layout {
	max-width: calc(760px + 2 * var(--ay-gutter, 48px));
}

.ay-single-post .ay-article-content,
.ay-single-post .ay-article-content > :where(p, ul, ol) {
	font-size: 17px;
	line-height: 28px;
}

.ay-single-post .ay-article-content .ay-faq {
	width: 100%;
	max-width: none;
	margin: 32px 0;
	padding: 28px;
	background: var(--bg-band, #f7f1ea);
}

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

.ay-single-post .ay-faq__item {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--border-hairline);
	border-radius: 0;
	box-shadow: none;
}

.ay-single-post .ay-faq__item summary {
	padding: 18px 0;
}

.ay-single-post .ay-faq__item p {
	padding: 0 0 20px;
}

.ay-single-post .ay-related-posts {
	padding-block: 48px;
	background: var(--color-brand-dark, #191512);
	color: #fff;
}

.ay-single-post .ay-related-posts .ay-blog-section__title {
	font-size: 26px;
	line-height: 1.25;
	color: #fff;
}

.ay-single-post .ay-related-posts .ay-learning-card {
	background: transparent;
	border-color: #ffffff26;
}

.ay-single-post .ay-related-posts :is(.ay-learning-card__title, .ay-learning-card__title a, .ay-learning-card__category, .ay-blog-card__meta, .ay-blog-section__link) {
	color: #fff;
}

.ay-single-post .ay-related-posts a:hover {
	color: var(--color-brand);
}

.ay-single-post__newsletter .ay-newsletter {
	padding-block: 32px;
}

.ay-single-post__newsletter .ay-newsletter__head {
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	align-items: center;
	gap: 32px;
	margin-bottom: 16px;
}

.ay-single-post__newsletter .ay-newsletter__title {
	max-width: none;
	font-size: 26px;
	line-height: 1.25;
	margin-bottom: 0;
}

.ay-single-post__newsletter .ay-newsletter__footnote {
	margin-bottom: 0;
}

/* 33a — retain the configured CF7 form and its resizable message field. */
.ay-contact-page .ay-contact-hero {
	padding-block: 64px 40px;
}

.ay-contact-page .ay-contact-hero h1 {
	font-size: 56px;
	line-height: 1.08;
}

.ay-contact-page .ay-contact-hero p:not(.eyebrow) {
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

.ay-contact-page .ay-contact-layout__grid {
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
}

.ay-contact-page .ay-contact-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.ay-contact-page .ay-contact-form-card :is(input[type="text"], input[type="email"], textarea) {
	min-width: 0;
	font-size: 16px;
	font-weight: 400;
	border-radius: 10px;
	padding: 12px 16px;
}

.ay-contact-page .ay-contact-form-card :is(input[type="text"], input[type="email"]) {
	min-height: 48px;
	height: 48px;
}

.ay-contact-page .ay-contact-form-card textarea {
	min-height: 275px;
	height: 275px;
	resize: vertical;
}

.ay-contact-page .ay-contact-form-card .wpcf7-submit {
	min-width: 0;
	min-height: 48px;
	padding: 12px 24px;
	font-size: 16px;
}

.ay-contact-page .ay-contact-side-card {
	padding: 24px;
}

.ay-contact-page .ay-contact-side-card__main {
	font-size: 20px;
	overflow-wrap: anywhere;
}

/* 34 — core Gutenberg legal pages, including the direct core-group hero. */
.site-main .entry-content > .page-hero.ay-legal-hero {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 56px var(--ay-gutter, 48px) 36px;
	background: #fff;
	border: 0;
}

.ay-legal-hero > .wp-block-group__inner-container {
	max-width: var(--container-max, 1120px);
	margin-inline: auto;
}

.site-main .ay-legal-hero h1 {
	font-size: 48px;
	line-height: 1.08;
}

.site-main .ay-legal-hero .page-hero__intro {
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
}

.site-main .entry-content > .ay-legal-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 48px;
	max-width: var(--container-wide, 1216px);
	margin: 0 auto;
	padding: 0 var(--ay-gutter, 48px) 64px;
}

.site-main .ay-legal-layout > .wp-block-column {
	min-width: 0;
}

.site-main .ay-legal-index {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.site-main .ay-legal-index ul {
	list-style: none;
	padding: 0;
	gap: 12px;
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
}

.site-main .ay-legal-index a {
	color: var(--text-secondary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-main .ay-legal-index a:hover {
	color: var(--color-brand);
}

.site-main .ay-legal-layout > .wp-block-column:last-child {
	font-size: 15px;
	line-height: 24px;
}

.site-main .ay-legal-layout > .wp-block-column:last-child h2 {
	font-size: 22px;
	line-height: 1.3;
	scroll-margin-top: 140px;
}

/* 10a — WooCommerce /shop only. */
.ay-shop .ay-shop__catalogue {
	padding-block: 24px 64px;
}

.ay-shop .ay-shop__filters .ay-shop-search--sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	max-width: none;
	gap: 8px;
	margin: 0 0 20px;
}

.ay-shop .ay-shop-search--sidebar input[type="search"] {
	min-height: 40px;
	padding: 9px 12px;
	font-size: 13px;
}

.ay-shop .ay-shop-search--sidebar .btn {
	min-height: 40px;
	padding: 9px 12px;
	font-size: 13px;
	white-space: nowrap;
}

.ay-shop .ay-shop__layout {
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
}

.ay-shop .ay-shop__filters form {
	display: block;
}

.ay-shop .ay-shop-filter {
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.ay-shop .ay-shop-filter label,
.ay-shop .ay-shop__results-head > p,
.ay-shop .ay-shop__results-head form {
	font-size: 13px;
	line-height: 1.5;
}

.ay-shop .ay-shop__results-head {
	flex-wrap: wrap;
}

/* Course player: curriculum (elenco lezioni) a sinistra, video a destra */
.ay-course-player__grid { grid-template-columns: 350px minmax(0, 1fr); }
.ay-course-player__content { order: 2; }
.ay-course-player__curriculum { order: 1; }

.ay-shop .ay-shop__results,
.ay-shop .ay-course-card {
	min-width: 0;
}

.ay-shop .ay-shop__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ay-shop .ay-course-card__media {
	aspect-ratio: 16 / 9;
}

.ay-shop .ay-course-card__media :is(img, .ay-learning-card__placeholder) {
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ay-shop .ay-course-card__body {
	min-height: 0;
	padding: 20px;
}

.ay-shop .ay-course-card__title {
	font-size: 17px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.ay-shop :is(.ay-course-card__category, .ay-course-card__meta, .ay-course-card__teachers, .ay-course-card__lessons, .ay-course-card__excerpt) {
	font-size: 13px;
	line-height: 1.5;
}

.ay-shop .ay-course-card__teachers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.ay-shop .ay-course-card__teachers a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text-secondary);
}

.ay-shop .ay-course-card__teachers img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.ay-course-card__excerpt {
	border-bottom: 1px solid #f2f2f2;
	padding-bottom: 20px;
}

/* Checkout — quiet editorial layout: typography carries the hierarchy instead
 * of the legacy hairline rules and boxed panels. */
.woocommerce-checkout .woocommerce,
.woocommerce-checkout form.checkout {
	font-family: var(--font-body);
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	gap: clamp(40px, 6vw, 88px);
	margin-block: 48px 80px;
}

.woocommerce-checkout form.checkout.woocommerce-checkout > #customer_details,
.woocommerce-checkout #order_review.woocommerce-checkout-review-order {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.woocommerce-checkout form.checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout form.checkout.woocommerce-checkout > #order_review_heading {
	margin: 0 0 28px;
	padding: 0;
	border: 0;
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.woocommerce-checkout form.checkout.woocommerce-checkout > #order_review {
	margin-top: 48px;
}

.woocommerce-checkout form.checkout label {
	margin-bottom: 7px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.woocommerce-checkout form.checkout .optional,
.woocommerce-checkout form.checkout .required {
	font-weight: 400;
}

.woocommerce-checkout form.checkout .input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea,
.woocommerce-checkout .ay-checkout-coupon__form input {
	border: 0;
	border-radius: 0;
	background: var(--bg-band);
	font-family: var(--font-body);
	font-weight: 400;
}

.woocommerce-checkout form.checkout .input-text:focus,
.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout form.checkout textarea:focus {
	background: #fff;
	box-shadow: inset 0 -2px 0 var(--color-brand);
}

.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review .woocommerce-checkout-payment,
.woocommerce-checkout #order_review .form-row.place-order {
	padding-top: 0;
	border: 0;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table {
	border: 0;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table thead th {
	padding-bottom: 16px;
	font-family: var(--font-body);
	font-weight: 600;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th {
	padding-block: 12px;
	border: 0;
	font-family: var(--font-body);
	font-weight: 400;
}

.woocommerce-checkout .ay-checkout-product__content strong,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total .amount {
	font-family: var(--font-heading);
	font-weight: 700;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-quantity,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot td {
	font-weight: 400;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total td {
	padding-top: 24px;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total .amount {
	font-size: 26px;
}

.woocommerce-checkout .ay-checkout-coupon,
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout .animalyes-checkout-checkbox label.checkbox,
.woocommerce-checkout #order_review .payment_box {
	border: 0;
	border-radius: 0;
	background: var(--bg-band);
	box-shadow: none;
}

.woocommerce-checkout .ay-checkout-coupon {
	margin-top: 20px;
	padding: 20px;
}

.woocommerce-checkout .ay-checkout-coupon p,
.woocommerce-checkout .woocommerce-account-fields p.create-account,
.woocommerce-checkout .animalyes-checkout-checkbox label.checkbox,
.woocommerce-checkout #order_review .payment_box {
	font-family: var(--font-body);
	font-weight: 400;
}

.woocommerce-checkout #order_review .wc_payment_methods li {
	border: 0;
}

.woocommerce-checkout #order_review .wc_payment_methods label,
.woocommerce-checkout .ay-checkout-coupon__button,
.woocommerce-checkout #order_review .form-row.place-order .button {
	font-family: var(--font-body);
	font-weight: 600;
}

/* Keep the label text inline so links and the optional marker wrap naturally. */
.woocommerce-checkout form.checkout :is(label.checkbox, label.woocommerce-form__label-for-checkbox) {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 14px 16px 14px 46px;
	border: 1px solid var(--border-hairline);
	border-radius: 8px;
	background: var(--bg-band);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
	cursor: pointer;
}

.woocommerce-checkout form.checkout :is(label.checkbox, label.woocommerce-form__label-for-checkbox) input[type='checkbox'] {
	position: absolute;
	top: 16px;
	left: 16px;
	float: none;
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	appearance: auto;
	accent-color: var(--color-brand);
}

.woocommerce-checkout form.checkout :is(label.checkbox, label.woocommerce-form__label-for-checkbox):has(input:checked) {
	border-color: var(--color-brand);
	background: #fff7f0;
}

.woocommerce-checkout form.checkout :is(label.checkbox, label.woocommerce-form__label-for-checkbox) input:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 3px;
}

.woocommerce-checkout form.checkout label.checkbox .optional {
	display: inline;
	color: var(--text-meta);
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
}

.woocommerce-checkout form.checkout .animalyes-checkout-checkbox,
.woocommerce-checkout form.checkout .woocommerce-terms-and-conditions-wrapper > .form-row,
.woocommerce-checkout form.checkout p.create-account {
	float: none;
	width: 100%;
	margin: 0 0 12px;
	padding: 0;
}

.woocommerce-checkout form.checkout .animalyes-checkout-checkbox .woocommerce-input-wrapper { display: block; }
.woocommerce-checkout #order_review .form-row.place-order { gap: 12px; }
.woocommerce-checkout .animalyes-checkout-footer-consents { display: grid; gap: 12px; margin: 0; }
.woocommerce-checkout form.checkout .animalyes-checkout-footer-consents .form-row,
.woocommerce-checkout form.checkout .woocommerce-terms-and-conditions-wrapper > .form-row { margin-bottom: 0; }

/* Checkout payment reassurance, placed immediately below the order button. */
.woocommerce-checkout .animalyes-checkout-secure-payment {
	width: 100%;
	margin: 2px 0 0;
	padding: 12px 14px;
	background: #f6f7f9;
	text-align: center;
}

.woocommerce-checkout .animalyes-checkout-secure-payment img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

/* Side cart — lighter shell, white header and consistently aligned content. */
body .xoo-wsc-container {
	background: #fff;
	box-shadow: -12px 0 36px rgba(25, 21, 18, .11);
}

body .xoo-wsc-opac {
	background: rgba(25, 21, 18, .28);
	backdrop-filter: blur(2px);
}

body .xoo-wsc-header {
	background: #fff;
	border-bottom: 1px solid var(--border-hairline);
	color: var(--text-primary);
}

body .xoo-wsch-top {
	min-height: 64px;
	padding: 12px 20px;
}

body .xoo-wsch-new.xoo-wsch-top {
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	column-gap: 10px;
}

body .xoo-wsch-new .xoo-wsch-section {
	min-width: 0;
}

body .xoo-wsch-new .xoo-wsch-sec-center {
	width: 100%;
	justify-content: center;
	text-align: center;
}

body .xoo-wsch-text {
	margin: 0;
	color: var(--text-primary);
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
}

body .xoo-wsch-basket {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0 !important;
	border: 1px solid rgba(255, 98, 16, .22);
	border-radius: 50%;
	background: #fff7f0 !important;
	color: var(--color-brand-text) !important;
	box-shadow: none;
}

body .xoo-wsch-items-count {
	top: -4px;
	right: -4px;
	background: var(--color-brand) !important;
	color: #fff !important;
}

body .xoo-wsch-close {
	position: static;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	color: var(--text-primary) !important;
	opacity: .72;
}

body .xoo-wsch-close:hover {
	color: var(--color-brand-text) !important;
	opacity: 1;
}

body .xoo-wsc-body {
	background: #fff;
}

body .xoo-wsc-product {
	align-items: center;
	gap: 14px;
	margin: 0 20px;
	padding: 20px 0;
	border: 0;
	border-bottom: 1px solid var(--border-hairline);
	border-radius: 0;
	background: #fff !important;
	overflow: visible;
}

body .xoo-wsc-img-col {
	flex: 0 0 78px;
	width: 78px !important;
	align-self: center;
}

body .xoo-wsc-img-col img {
	display: block;
	width: 78px;
	height: 78px;
	border-radius: 8px;
	background: var(--bg-placeholder);
	object-fit: cover;
}

body .xoo-wsc-sum-col {
	min-width: 0;
	padding-left: 0;
}

body .xoo-wsc-sm-info {
	align-items: flex-start;
	gap: 12px;
}

body .xoo-wsc-sm-left {
	gap: 7px;
}

body .xoo-wsc-sm-right {
	flex: 0 0 auto;
	min-width: 58px;
	align-items: flex-end;
	justify-content: space-between;
	text-align: right;
}

body .xoo-wsc-pname,
body .xoo-wsc-pname a {
	font-family: var(--font-heading);
	font-size: .95rem;
	font-weight: 650;
	line-height: 1.25;
}

body .xoo-wsc-pprice,
body .xoo-wsc-smr-ptotal,
body .xoo-wsc-product dl.variation {
	font-size: .82rem;
	line-height: 1.35;
}

body .xoo-wsc-qty-box {
	width: fit-content;
	border-color: var(--border-hairline) !important;
	background: #fff;
}

body .xoo-wsc-footer {
	padding: 18px 20px 20px !important;
	border-top: 1px solid var(--border-hairline);
	background: #fff;
	box-shadow: 0 -8px 24px rgba(25, 21, 18, .045);
}

body .xoo-wsc-ft-totals {
	padding-bottom: 14px;
}

body .xoo-wsc-ft-amt {
	align-items: baseline;
	padding: 4px 0;
}

body .xoo-wsc-ft-buttons-cont {
	grid-template-columns: 1fr;
	gap: 10px;
	padding: 0;
}

body a.xoo-wsc-ft-btn,
body .xoo-wsc-empty-cart a.xoo-wsc-btn {
	min-height: 48px !important;
	box-shadow: none;
}

body a.xoo-wsc-ft-btn-cart {
	border: 1px solid var(--border-hairline-2) !important;
	background: #fff !important;
}

body .xoo-wsc-info-cont {
	margin: 12px 0 0;
	border: 0;
	border-radius: 0;
	background: var(--bg-band);
}

@media (max-width: 860px) {
	.ay-become-author .ay-home-hero { padding-block: 48px 24px; }
	.ay-become-author .ay-home-hero__grid.is-reversed { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ay-become-author .ay-home-hero__grid.is-reversed .ay-home-hero__copy { order: 0; }
	.ay-become-author .ay-cta-author__card { margin-left: 0; }
	.ay-single-post .ay-article-hero h1 { font-size: 50px; }
	.ay-single-post__newsletter .ay-newsletter__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ay-contact-page .ay-contact-hero { padding-block: 48px 32px; }
	.ay-contact-page .ay-contact-layout__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ay-contact-page .ay-contact-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-main .entry-content > .ay-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.site-main .ay-legal-index { position: static; }
	.ay-shop .ay-shop__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ay-shop .ay-shop__filters { position: static; }
	.ay-shop .ay-shop__filters form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.ay-shop .ay-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ay-course-player__grid { grid-template-columns: 1fr; }
	.ay-course-player__curriculum { position: static; order: -1; }
}

@media (max-width: 540px) {
	.ay-become-author .ay-home-hero { padding-top: 40px; }
	.ay-become-author .ay-home-hero__title,
	.ay-contact-page .ay-contact-hero h1,
	.site-main .ay-legal-hero h1 { font-size: 36px; line-height: 1.1; }
	.ay-become-author .ay-cta-author { padding-bottom: 40px; }
	.site-footer--author-compact .site-footer__compact-row { align-items: flex-start; flex-direction: column; gap: 20px; }
	.site-footer--author-compact .site-footer__list { gap: 8px 16px; }
	.ay-single-post .ay-article-hero h1 { font-size: 38px; line-height: 1.08; }
	.ay-single-post .ay-article-content .ay-faq { padding: 24px 20px; }
	.ay-single-post .ay-related-posts { padding-block: 40px; }
	.ay-contact-page .ay-contact-sidebar { grid-template-columns: minmax(0, 1fr); }
	.ay-contact-page .ay-contact-form__row { grid-template-columns: minmax(0, 1fr); }
	.site-main .entry-content > .page-hero.ay-legal-hero { padding-block: 40px 28px; }
	.ay-shop .ay-shop__filters form,
	.ay-shop .ay-shop__grid { grid-template-columns: minmax(0, 1fr); }
	.ay-shop .ay-shop__results-head form { flex-wrap: wrap; white-space: normal; }
	.ay-shop .ay-shop__results-head select { max-width: 100%; }
}

/* October 2026 interface refinements. */
.ay-article-hero__meta,
.ay-article-footer__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ay-article-meta-info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--text-meta);
	font-size: 13px;
	font-weight: 700;
}

.ay-article-meta-info span::before { content: "·"; margin-right: 10px; }
.ay-article-hero__meta .ay-share,
.ay-article-footer__meta .ay-share { margin-left: auto; }
.ay-article-footer__meta { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-hairline); }
.ay-article-footer__meta .ay-share--bottom { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 640px) {
	.ay-article-hero__meta,
	.ay-article-footer__meta { align-items: flex-start; flex-direction: column; }
	.ay-article-hero__meta .ay-share,
	.ay-article-footer__meta .ay-share { margin-left: 0; }
}

.ay-single-post .ay-faq,
.ay-single-post .ay-article-content .ay-faq {
	width: 100%;
	max-width: none;
	margin: 48px 0;
	padding: clamp(32px, 5vw, 64px) 0;
	border: 0;
	background: #fff5ee;
}

.ay-single-post .ay-faq--orange { background: var(--color-brand); }

.ay-single-post .ay-faq__inner,
.ay-single-post .ay-article-content .ay-faq__inner {
	display: block;
	max-width: var(--container-max, 1120px);
	padding: 0 var(--ay-gutter, 48px);
}

.ay-single-post .ay-faq__eyebrow {
	margin: 0 0 28px;
	color: var(--color-brand);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
}

.ay-single-post .ay-faq__title {
	margin: 0 0 42px;
	font-size: clamp(34px, 4vw, 56px);
	line-height: 1.08;
}

.ay-single-post .ay-faq__list { border-top: 2px solid #ead2c0; }

.ay-single-post .ay-faq__item {
	margin: 0;
	border: 0;
	border-bottom: 2px solid #ead2c0;
	border-radius: 0;
	box-shadow: none;
}

.ay-single-post .ay-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 10px;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.ay-single-post .ay-faq__item summary::-webkit-details-marker { display: none; }
.ay-single-post .ay-faq__item summary::after { content: "+"; flex: 0 0 auto; color: var(--color-brand); font-size: 38px; font-weight: 400; line-height: .6; }
.ay-single-post .ay-faq__item[open] summary::after { content: "−"; }
.ay-single-post .ay-faq__item p { max-width: 70ch; margin: 0; padding: 0 10px 30px; color: var(--text-secondary); font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; line-height: 1.55; }
.ay-single-post .ay-faq--orange :is(.ay-faq__eyebrow, .ay-faq__item summary::after) { color: var(--text-primary); }
.ay-single-post .ay-faq--orange .ay-faq__list,
.ay-single-post .ay-faq--orange .ay-faq__item { border-color: rgba(25, 21, 18, .28); }

/* Compact FAQ scale for article pages. */
.ay-single-post .ay-faq,
.ay-single-post .ay-article-content .ay-faq { margin-block: 36px; padding-block: 40px; }
.ay-single-post .ay-faq__eyebrow { margin-bottom: 18px; font-size: 11px; }
.ay-single-post .ay-article-content .ay-faq {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-inline: var(--ay-gutter, 48px);
}
.ay-single-post .ay-article-content .ay-faq__inner { max-width: var(--container-max, 1120px); margin-inline: auto; padding-inline: 0; }
.ay-single-post .ay-faq__title { margin-bottom: 28px; font-size: 26px; line-height: 1.3; }
.ay-single-post .ay-faq__item summary { padding-block: 20px; font-size: 22px; line-height: 1.3; }
.ay-single-post .ay-faq__item summary::after { font-size: 30px; }
.ay-single-post .ay-faq__item p { padding-bottom: 22px; font-size: 17px; line-height: 28px; }

@media (max-width: 640px) {
	.ay-single-post .ay-faq__inner { padding-inline: 24px; }
	.ay-single-post .ay-faq__title { margin-bottom: 28px; }
	.ay-single-post .ay-faq__item summary { padding-block: 22px; }
	.ay-single-post .ay-faq__item p { padding-bottom: 24px; }
}

.site-nav__list .menu-item--academy {
	margin-left: 5px;
	border-radius: 8px;
}

.site-nav__list .menu-item-type-woocommerce-cart {
	margin-left: 8px;
}

.site-nav__list .menu-item--academy > a {
	padding: 9px 16px;
	border-radius: 8px;
	background: var(--color-brand);
	color: #fff;
	font-weight: 700;
}

.site-nav__list .menu-item--academy > a:hover,
.site-nav__list .menu-item--academy.current-menu-item > a {
	background: var(--color-brand-dark);
	color: #fff;
}

.ay-card-section--numbered .ay-learning-card { background: #f7f7f5; }
.ay-card-section--numbered .ay-learning-card__title { font-size: calc(1.55rem + 2px); }
.ay-card-section--numbered .ay-learning-card__text,
.ay-small-hero__text { font-size: calc(1rem + 2px); }
.ay-card-section--orange .ay-learning-card {
	background: var(--bg-band);
}
.site-footer__bottom { margin-top: 2rem; padding-top: 1.25rem; border-top-width: 2px; }
.ay-shop .ay-shop-search--sidebar { grid-template-columns: minmax(0, 1fr); }
.ay-shop .ay-shop-search--sidebar .ay-shop-search__field { position: relative; }
.ay-shop .ay-shop-search--sidebar .ay-shop-search__field input { width: 100%; padding-right: 40px; }
.ay-shop .ay-shop-search--sidebar .ay-shop-search__field span { position: absolute; top: 50%; right: 13px; transform: translateY(-54%); font-size: 22px; pointer-events: none; }
.ay-shop .ay-shop-filter h2 { font-size: 12px; }
.ay-shop .ay-shop-filter__options { display: grid; gap: 10px; }
.ay-shop .ay-shop-filter label { font-size: 15px; }
.ay-shop .ay-course-card__facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-top: auto;
}
.ay-shop .ay-course-card__facts :is(.ay-course-card__lessons, .ay-course-card__meta) { margin: 0; }
.ay-shop .ay-course-card__facts .ay-course-card__lessons {
	color: var(--text-secondary);
	font-size: 12px !important;
	line-height: 1.2 !important;
	opacity: .7;
}
.ay-shop .ay-course-card__facts .ay-course-card__meta {
	grid-column: 2;
	color: var(--color-brand-text);
	font-size: 17px !important;
	font-weight: 800;
	text-align: center;
}
.ay-shop .ay-course-card__facts .ay-learning-card__link {
	grid-column: 3;
	justify-self: end;
	margin-top: 0;
}
.ay-workshops .ay-workshops__filters { border-radius: 24px; }
.ay-workshops .ay-workshop-card:not(.ay-workshop-card--featured) { border-top: 0; }
.ay-workshops .ay-workshop-card:not(.ay-workshop-card--featured) .ay-workshop-card__date { border-top: 0; }
.ay-workshops .ay-workshop-card:not(.ay-workshop-card--featured) h2 { font-size: 24px; }
.ay-insight-talks .ay-insight-card__category { margin: 0 0 8px; color: var(--color-brand); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ay-insight-talks .ay-insight-videos__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.ay-insight-talks .ay-insight-videos__list > .ay-insight-card--compact { min-width: 0; }
.ay-insight-talks .ay-insight-card--social,
.ay-insight-talks .ay-insight-card--social .ay-insight-card__media { min-height: 340px; }
.site-main--blog .ay-blog-card .ay-learning-card__title { font-size: 22px; }
.site-main--blog .ay-blog-card .ay-learning-card__category { font-size: 12px; font-weight: 700; }
.site-main--blog .ay-pill { font-size: 14px; padding: 8px 17px; }
.ay-share { justify-content: flex-end; }
.ay-share a, .ay-share__copy { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0; }
.ay-faq--white { background: #fff; }
.ay-faq--orange { background: var(--color-brand); }
.ay-contact-page .ay-contact-side-card p,
.ay-contact-page .ay-contact-side-card--dark p { font-weight: 400; }
.ay-author-hero__grid { grid-template-columns: 220px minmax(0, 1.2fr); }
.ay-author-hero__media {
	order: -1;
	justify-self: start;
	width: 220px;
	aspect-ratio: 1;
	border-radius: 50%;
}
.ay-author-hero__media img {
	aspect-ratio: 1;
	min-height: 0;
	border-radius: 50%;
}
@media (max-width: 700px) {
	.site-footer__bottom { flex-direction: column; }
	.ay-author-hero__grid { grid-template-columns: 1fr; }
	.ay-author-hero__media { justify-self: start; }
	.ay-become-author .ay-contact-form__row { grid-template-columns: 1fr; }
}

.ay-learning-card__number { font-weight: 700; }

.ay-card-section { border-bottom: 0; }

.ay-blog-card .ay-learning-card__category {
	color: var(--color-brand);
	font-family: var(--font-heading);
	font-size: 0.82rem;
	line-height: 1.1;
	/* letter-spacing: 0.12em; */
	margin-block: 1.35rem 0.65rem;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 12px !important;
}

.site-footer__socials a {
	color: var(--color-brand) !important;
	font-weight: bold !important;
}

.ay-shop-filter h2 {
	font-size: 12px;
	letter-spacing: normal;
}

.ay-shop__apply-filters {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-brand);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ay-shop__results-head > p { font-weight: normal; }

.ay-home-hero__text {
	max-width: 46ch;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: var(--text-meta);
}

.ay-workshops .ay-workshop-card--featured .ay-workshop-card__link {
	align-self: center;
	margin-top: 0;
}

/* Keep the archive articles visually consistent with blog cards everywhere else. */
.site-main--blog .ay-blog-card {
	border: 1px solid var(--border-hairline);
	border-radius: var(--radius-card);
}

.site-main--blog .ay-blog-card:hover {
	border-color: rgba(255, 98, 16, .34);
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

/* The Blog archive uses the same article-card proportions as the home "Dal blog" block. */
.site-main--blog .ay-blog-card .ay-learning-card__media {
	aspect-ratio: 1.5 / 1;
	border-radius: 0;
}

.site-main--blog .ay-blog-card :is(.ay-learning-card__category, .ay-learning-card__title, .ay-blog-card__meta) {
	margin-inline: 24px;
}

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

/* Single shared meta style for every article card, including Blog and Insight Talk. */
.ay-blog-card__meta {
	color: var(--text-meta);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	margin-block: auto 1.5rem;
}

.site-main--blog .ay-blog-card__meta {
	color: var(--text-meta);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	margin-block: auto 1.5rem;
}

.ay-single-post .ay-faq__inner,
.ay-single-post .ay-article-content .ay-faq__inner {
	width: 100%;
	max-width: calc(760px + 2 * var(--ay-gutter, 48px));
	margin-inline: auto;
}

.ay-single-post .ay-faq__item summary { font-size: 16px; }

.ay-author-card__role,
.ay-author-card p { font-weight: normal; }

.site-main--persone .ay-directory-card,
.site-main--persone .ay-directory-card:hover { border: 0 !important; }

/* My Account: the public page presents one focused login panel below its editor hero. */
.woocommerce-account .woocommerce .u-column1 {
	float: none;
	width: 100%;
	max-width: 520px;
	margin: 48px auto 80px;
}

.woocommerce-account .woocommerce-form-login {
	margin: 0;
	padding: 32px;
	border: 1px solid var(--border-hairline);
	border-radius: var(--radius-card);
	background: #fff;
}

/* Two equal (50% / 50%) contact fields in the same row, including CF7 list output. */
.ay-contact-form__row,
.ay-contact-form__row :is(ul, ol) {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

.ay-contact-form__row > :is(label, p, li),
.ay-contact-form__row :is(ul, ol) > li {
	width: 100%;
	min-width: 0;
	list-style: none;
}

/* CF7 wraps both labels in a paragraph: make that paragraph the two-column grid. */
.ay-contact-form__row > p {
	display: grid !important;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1.25rem;
	margin: 0;
}

.ay-contact-form__row > p > br { display: none; }

@media (max-width: 700px) {
	.ay-contact-form__row,
	.ay-contact-form__row :is(ul, ol),
	.ay-contact-form__row > p { grid-template-columns: minmax(0, 1fr) !important; }
}

.TitoloCard {
	color: var(--color-brand) !important;
	font-size: 12px !important;
	font-weight: bold;
	letter-spacing: 0 !important;
}

/* FAQ: resa uniforme come sull'articolo, anche fuori dal contesto post. */
.ay-faq {
	width: 100%;
	margin-block: 36px;
	padding-block: 40px;
	border: 0;
	background: #fff5ee;
}

.ay-faq__inner {
	display: block;
	grid-template-columns: none;
	gap: 0;
	max-width: var(--container-max, 1120px);
	padding: 0 var(--ay-gutter, 48px);
}

.ay-faq__eyebrow {
	margin-bottom: 18px;
	color: var(--color-brand);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
}

.ay-faq__title {
	margin-bottom: 28px;
	font-size: 26px;
	line-height: 1.3;
}

.ay-faq__list {
	border-top: 2px solid #ead2c0;
}

.ay-faq__item {
	margin: 0;
	border: 0;
	border-bottom: 2px solid #ead2c0;
	border-radius: 0;
	box-shadow: none;
}

.ay-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
	padding-inline: 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	list-style: none;
}

.ay-faq__item summary::-webkit-details-marker { display: none; }
.ay-faq__item summary::after { content: "+"; flex: 0 0 auto; color: var(--color-brand); font-size: 30px; font-weight: 400; line-height: .6; }
.ay-faq__item[open] summary::after { content: "−"; }

.ay-faq__item p {
	max-width: 70ch;
	margin: 0;
	padding: 0 10px 22px;
	color: var(--text-secondary);
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

/* Trick per chi inizia: sidebar lezioni al bordo sinistro per tutta la pagina, tutto il resto nella colonna destra. */
@media (min-width: 1025px) {
	body.postid-549 .ay-course-player {
		display: grid;
		grid-template-columns: minmax(304px, 364px) minmax(0, 1fr);
		align-items: start;
	}
	body.postid-549 .ay-course-player > * { grid-column: 2; min-width: 0; }
	body.postid-549 .container.ay-course-player__grid { display: contents; }
	body.postid-549 .ay-course-player__curriculum {
		grid-column: 1;
		grid-row: 1 / span 12;
		order: 0;
		position: sticky;
		align-self: start;
		margin: 24px 0 24px 24px;
	}
	body.postid-549 .ay-course-player__content {
		margin-top: 40px;
		grid-column: 2;
		order: 0;
		width: min(88%, 1100px);
		justify-self: center;
	}
	body.postid-549 .ay-course-player > .container:not(.ay-course-player__grid),
	body.postid-549 .ay-course-player > * > .container {
		width: min(88%, 1100px);
		max-width: none;
		padding-inline: 0;
	}
}
