/* RiLibro — restyling del mockup. Caricato dopo gli stili del tema.
   Nessuna regola modifica visibilità dei risultati, stati o logica dei form. */
:root {
	--rl-paper: #f9f8f4;
	--rl-panel: #e8ebe7;
	--rl-ink: #222321;
	--rl-muted: #60615f;
	--rl-teal: #247f7e;
	--rl-teal-dark: #165f5e;
	--rl-orange: #ff9800;
	--rl-orange-dark: #8b4a00;
	--rl-line: #d8dcd8;
	--rl-radius: 20px;
	--rl-width: 1120px;
	--primary-color: var(--rl-teal);
	--secondary-color: var(--rl-teal);
	--tertiary-color: var(--rl-teal);
}
html {
	font-size: 18px;
	background: var(--rl-paper);
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}
body {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--rl-ink);
	background: var(--rl-paper);
}
.bk-fisso {
	display: none;
}
body input,
body select,
body textarea,
body button {
	font-family: "Plus Jakarta Sans", sans-serif;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body .title {
	font-family: "Quicksand", sans-serif;
	font-weight: 700;
	-webkit-text-stroke: 0.4px currentColor;
}
body .title,
body h1,
body h2 {
	color: var(--rl-ink);
	letter-spacing: -0.035em;
}
body .is-gradient {
	background: none;
	color: var(--rl-ink);
	-webkit-text-fill-color: currentColor;
}
body a {
	color: var(--rl-teal-dark);
}
body a:hover {
	color: var(--rl-teal);
}
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
	outline: 3px solid var(--rl-teal);
	outline-offset: 4px;
}
body .container,
.hero-container {
	width: min(var(--rl-width), 88%);
	max-width: var(--rl-width) !important;
	margin-inline: auto;
}
body .section {
	padding: 3rem 0;
}
body .box,
body .bk-box {
	background: var(--rl-panel);
	border-radius: var(--rl-radius);
	box-shadow: none;
}
body .input,
body .select select,
body textarea {
	background: #fff;
	border-color: var(--rl-line);
	border-radius: 10px;
	box-shadow: none;
	color: var(--rl-ink);
	min-height: 48px;
}
body .input:hover,
body .select select:hover,
body textarea:hover {
	border-color: var(--rl-teal);
}
body .label {
	color: var(--rl-ink);
	font-size: 1rem;
}
body .button,
body .btn,
body .btn-primary,
body .btn-secondary {
	border-radius: 12px;
	font-style: normal;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
	transition:
		background-color 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}
body .button.is-primary,
body .button.is-success {
	background: var(--rl-teal);
	border-color: var(--rl-teal);
	color: #fff;
}
body .button.is-primary:hover,
body .button.is-success:hover {
	background: var(--rl-teal-dark);
	border-color: var(--rl-teal-dark);
	color: #fff;
}
body .btn-primary,
body .btn-primary:visited {
	background: var(--rl-orange);
	border: 1px solid var(--rl-orange);
	color: var(--rl-ink);
	padding: 0.9rem 2rem;
}
body .btn-primary:hover {
	background: #ee8c00;
	color: var(--rl-ink);
	box-shadow: none;
	transform: translateY(-2px);
}
body .btn-secondary,
body .btn-secondary:visited {
	background: transparent;
	border: 1px solid var(--rl-teal);
	color: var(--rl-teal-dark);
	padding: 0.9rem 2rem;
}
body .btn-secondary:hover {
	background: #e4efeb;
	color: var(--rl-teal-dark);
	box-shadow: none;
	transform: translateY(-2px);
}
body .button:active,
body .btn:active,
body .btn-primary:active,
body .btn-secondary:active {
	transform: translateY(1px);
}
#cmplz-document {
	max-width: 100% !important;
}
.notification .delete {
	transform: scale(1.2);
}

/* Testata: logo e navigazione esistenti. */
body .wrap-nav.section {
	padding: 12px 0;
	border-bottom: 1px solid #e7e7e2;
	background: var(--rl-paper);
}
body .wrap-nav .columns {
	margin: 0;
}
body .wrap-nav .column {
	padding: 0;
}
body .site-branding {
	gap: 0.65rem;
}
body .site-branding img.logo {
	width: 75px;
	max-width: 75px;
	height: auto;
}
body .site-branding .site-title {
	font-family: "Quicksand", sans-serif;
	font-size: 2.65rem;
	letter-spacing: 0;
}
body .site-branding .site-title a,
.footer-brand span {
	background: linear-gradient(135deg, #0050ab 0%, #2af598 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}
body .main-navigation ul {
	gap: 2.5rem;
}
body .main-navigation li a {
	font-size: 1rem;
	font-weight: 400;
	color: #294244;
}
body .main-navigation li.current-menu-item > a {
	color: var(--rl-teal-dark);
}
body .main-navigation a[href*="/login"] {
	border: 1px solid var(--rl-teal-dark);
	border-radius: 10px;
	padding: 0.65rem 1.8rem;
}
body .main-navigation a[href*="/login"] .fas {
	display: none;
}
body .wrap-nav.sticky {
	background: var(--rl-paper);
	backdrop-filter: none;
	padding: 8px 0;
}
body .wrap-nav.sticky .site-branding {
	transform: none;
}
body .wrap-nav.sticky .logo {
	width: 60px;
	height: auto;
}
body .wrap-nav.sticky .site-title {
	font-size: 2.2rem;
}
body .offcanvas-menu {
	background: var(--rl-teal-dark);
	backdrop-filter: none;
}
body .offcanvas-menu li,
body .close-menu {
	backdrop-filter: none;
}
body .skip-link:focus {
	clip: auto !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0.8rem 1rem !important;
	background: #fff;
	z-index: 10000;
}

/* Testata della home: artwork locale WebP, senza JavaScript aggiuntivo. */
.hero-custom {
	background: linear-gradient(115deg, #f1e8d8 0%, #e6eee2 48%, #cce4df 100%);
	border-bottom: 1px solid #d0dfd7;
	margin-top: 0;
}
.hero-container {
	display: grid;
	grid-template-columns: 58% 42%;
	align-items: center;
	padding-top: 1.5rem;
}
.hero-content {
	width: auto;
	padding: 1.5rem 0 3rem;
}
.hero-text-column {
	height: auto;
	text-align: left;
}
.hero-text-column h1 {
	font-size: clamp(2.75rem, 5.3vw, 3.8rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
	font-weight: 700;
	color: var(--rl-ink);
	text-shadow: none;
	margin: 0 0 0.65rem;
}
.hero-text-column h2 {
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	line-height: 1.3;
	letter-spacing: -0.035em;
	color: var(--rl-ink);
	opacity: 1;
	margin: 0 0 1.6rem;
}
.hero-text-column p {
	max-width: 440px;
	font-size: 1rem;
	color: var(--rl-muted);
	line-height: 1.55;
	margin-bottom: 1.6rem;
}
.hero-text-column p strong {
	font-size: 1.1rem;
	color: var(--rl-ink);
}
.hero-buttons {
	gap: 1rem;
	justify-content: flex-start;
}
.hero-image-column {
	width: auto;
	display: block;
	align-self: end;
	margin-left: -12%;
	margin-top: 0;
}
.hero-image {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	filter: none;
}
.hero-image-column::before {
	content: "";
	position: absolute;
	top: 18%;
	left: 8%;
	width: 90px;
	height: 90px;
	background: url("../images/restyling-marks.svg") center / contain no-repeat;
	pointer-events: none;
}
/* Sottolineatura applicata solo al testo selezionato nel markup. */
.hand-underline {
	position: relative;
	display: inline-block;
	font: inherit;
}
.hand-underline::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.12em;
	height: 0.19em;
	background: url("../images/restyling-underline.svg") center / 100% 100%
		no-repeat;
	pointer-events: none;
}

/* Tre passaggi e banner FAQ. */
.page-template-page-libri-usati .steps3 {
	margin-top: 0 !important;
	padding-top: 2.75rem;
	padding-bottom: 1.25rem !important;
}
.page-template-page-libri-usati .steps3 .container,
.page-template-page-libri-usati .steps3 .column,
#cerca .has-text-centered,
.wrap-last-books .has-text-centered {
	text-align: left !important;
}
.page-template-page-libri-usati .steps3 h2,
#cerca h2,
.page-template-page-libri-usati .wrap-last-books h2 {
	font-size: clamp(2.4rem, 4.6vw, 3.5rem);
	line-height: 1.14;
}
.page-template-page-libri-usati .steps3 .container::after {
	content: "";
	position: absolute;
	top: 1rem;
	left: 52%;
	width: 130px;
	height: 100px;
	background: url("../images/restyling-loop-arrow.svg") center / contain
		no-repeat;
	pointer-events: none;
}
.page-template-page-libri-usati .steps3 .columns {
	display: flex;
	align-items: stretch;
	padding-top: 1.75rem;
}
.page-template-page-libri-usati .steps3 .column {
	display: flex;
}
.page-template-page-libri-usati .steps3 .steps3-content {
	--step-card-height: 330px;
	--step-inset: 1.75rem;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: var(--step-card-height);
	padding: 1.5rem var(--step-inset) 5.25rem;
	margin-bottom: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	isolation: isolate;
}
.page-template-page-libri-usati .steps3 .steps3-content::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--rl-panel);
	border-radius: 24px;

}
.page-template-page-libri-usati .steps3 .steps3-content::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 76px;
	height: 76px;
	z-index: -1;
	border-radius: 24px 0 0 0;
	background: var(--rl-paper);
}
.page-template-page-libri-usati .steps3 img {
	order: 3;
	width: 48px;
	height: 48px;
	max-width: 48px;
	margin: 0.6rem 0 0;
}
.page-template-page-libri-usati .steps3 h3 {
	order: 1;
	font-size: 2rem;
	line-height: 1.2;
	color: var(--rl-ink);
	letter-spacing: -0.02em;
}
.page-template-page-libri-usati .steps3 p {
	order: 2;
	font-size: 1rem;
	color: var(--rl-muted);
	line-height: 1.5;
	margin-bottom: 0;
}
.page-template-page-libri-usati .steps3 .step-accent {
	font: inherit;
	color: #b96500;
}
.page-template-page-libri-usati .steps3 .step-vendi img {
	order: 0;
	margin: 0 0 0.75rem;
}
.page-template-page-libri-usati .steps3 .btn {
	position: absolute;
	left: var(--step-inset);
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	min-height: 64px;
	margin: 0;
	padding: 0.5rem 5.5rem 0.5rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 1rem;
	font-weight: 700;
	color: var(--rl-orange-dark);
}
.page-template-page-libri-usati .steps3 .btn::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: 18px;
	background: var(--rl-panel) url("../images/restyling-diagonal-arrow.svg")
		center / 30px 30px no-repeat;
	transition: background-color 0.18s ease;
}
.page-template-page-libri-usati .steps3 .btn:hover::after,
.page-template-page-libri-usati .steps3 .btn:focus-visible::after {
	background-color: #f9dfb3;
}
.page-template-page-libri-usati .steps3 .btn:focus-visible {
	outline: 2px solid var(--rl-teal);
	outline-offset: 4px;
	border-radius: 8px;
}
.page-template-page-libri-usati .steps3 .btn:hover {
	color: var(--rl-ink);
	text-decoration: underline;
	text-underline-offset: 5px;
}
.page-template-page-libri-usati .faq {
	padding-top: 0.5rem !important;
	padding-bottom: 1rem;
	margin-bottom: 1.7rem !important;
}
.page-template-page-libri-usati .faq .columns {
	margin: 0;
}
.page-template-page-libri-usati .faq .column {
	width: 100%;
	padding: 0;
}
.page-template-page-libri-usati .faq .box {
	display: grid;
	grid-template-columns: 140px 1fr auto;
	column-gap: 2rem;
	align-items: center;
	padding: 1.5rem 2rem;
	background: var(--rl-teal);
	text-align: left;
	color: #fff;
}
.page-template-page-libri-usati .faq .box > p:first-child {
	grid-column: 1;
	grid-row: 1 / 3;
	margin: 0;
}
.page-template-page-libri-usati .faq img {
	width: 140px;
	max-width: 140px;
}
.page-template-page-libri-usati .faq .box h2 {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	font-size: 2rem;
	line-height: 1.3;
	color: #fff;
	letter-spacing: -0.03em;
}
.page-template-page-libri-usati .faq .box > p:nth-of-type(2) {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	margin: 0;
	max-width: 460px;
}
.page-template-page-libri-usati .faq .box .btn {
	grid-column: 3;
	grid-row: 1 / 3;
	margin-top: 0 !important;
	white-space: nowrap;
}

/* Ricerca: ID e classi utilizzati dal codice AJAX rimangono invariati. */
#cerca {
	scroll-margin-top: 100px;
}
#cerca > .container > .has-text-centered {
	position: relative;
}
#cerca > .container > .has-text-centered::after {
	content: "";
	position: absolute;
	right: 0;
	top: -12px;
	width: 100px;
	height: 80px;
	background: url("../images/restyling-book.svg") center / contain no-repeat;
	pointer-events: none;
}
#cerca h2 {
	padding-right: 110px;
}

#cerca p,
.wrap-last-books > .container > div > p {
	color: var(--rl-muted);
	font-size: 1rem;
	line-height: 1.45;
}
#cerca .box {
	background: var(--rl-panel);
	padding: 1.25rem 1.75rem 1.75rem;
	border-radius: var(--rl-radius);
}
#cerca .tabs {
	margin-bottom: 1.35rem;
	overflow: visible;
}
#cerca .tabs ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	width: 100%;
}
#cerca .tabs.is-boxed .search-tab a {
	justify-content: center;
	min-height: 52px;
	padding: 0.6rem;
	border-radius: 12px;
	background: #fff;
	color: var(--rl-muted) !important;
	font-weight: 400;
	box-shadow: none;
	margin-bottom: 0;
}
#cerca .tabs.is-boxed .search-tab a:hover {
	background: #e2e8e3;
	color: var(--rl-teal-dark) !important;
}
#cerca .tabs.is-boxed .search-tab.is-active a,
#cerca .tabs.is-boxed .search-tab.is-active a:hover {
	background: var(--rl-teal);
	color: #fff !important;
}
#cerca .tabs .icon {
	display: none;
}
#cerca .tabs .mb {
	font-size: 1rem;
}
#cerca .tab-content {
	background: none;
	padding: 0;
	border-radius: 0;
}
#cerca label.label {
	color: var(--rl-ink) !important;
	font-size: 1rem;
}
#cerca button {
	min-height: 48px;
	min-width: 150px;
	background: var(--rl-orange);
	border-color: var(--rl-orange);
	color: var(--rl-ink);
}
#cerca button:hover {
	background: #ee8c00;
	border-color: #ee8c00;
	color: var(--rl-ink);
}
#cerca .search-form .columns {
	margin-bottom: 0;
}
#cerca .search-form .column {
	padding-top: 0;
	padding-bottom: 0;
}
#cerca .search-form .field {
	margin-bottom: 0;
}

/* Catalogo: tre colonne, copertine integre e azioni allineate. */
.wrap-last-books {
	padding-top: 0.5rem !important;
}
.wrap-last-books > .container > .has-text-centered::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 90px;
	height: 90px;
	background: url("../images/restyling-marks.svg") center / contain no-repeat;
	pointer-events: none;
}
.wrap-last-books > .container > .columns {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
.wrap-last-books > .container > .columns > .column.is-half {
	width: 33.3333%;
	flex: none;
}
#school_search_content.columns > .column {
	width: 33.3333%;
	flex: none;
}
body .book-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	padding: 1.25rem;
	background: var(--rl-panel);
	border: 1px solid #dce1da;
	border-radius: 20px;
	box-shadow: 0 3px 12px rgb(34 59 48 / 4%);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
body .book-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgb(34 59 48 / 10%);
}
body .book-card .card-image {
	width: 100%;
	max-width: none;
}
body .book-card .card-image .image {
	height: 245px;
	min-height: 0;
	padding: 0.85rem;
	background: #f6f6f0;
	border: 1px solid #dde2d9;
	border-radius: 13px;
}
body .book-card .card-image img {
	position: static;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(3px 5px 4px rgb(37 48 37 / 16%));
}
body .book-card .card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	padding: 0;
}
body .book-card .card-content .content {
	margin-bottom: 0.35rem;
}
body .book-card .card-content h3 {
	display: block;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--rl-ink);
	margin-bottom: 0.55rem;
	overflow: visible;
	-webkit-line-clamp: unset;
	overflow-wrap: anywhere;
}
/* ISBN leggibile e distinto dai metadati, anche nei risultati AJAX. */
body .book-card .card-content .isbn_libro {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.75rem 0 0.5rem;
	padding: 0.5rem 0.6rem;
	background: #dce9e2;
	border: 1px solid #bed3c9;
	border-left: 3px solid var(--rl-teal);
	border-radius: 9px;
	font-family: "Roboto Mono", monospace !important;
	font-size: 0.777778rem !important;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--rl-teal-dark) !important;
}
body .book-card .card-content .isbn_libro::before {
	content: "ISBN";
	flex-shrink: 0;
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	mask-image: none;
	-webkit-mask-image: none;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: inherit;
	font-weight: 700;
	letter-spacing: 0.03em;
}
body .book-card .card-content .isbn_libro::after {
	content: "";
	order: -1;
	flex-shrink: 0;
	position: static;
	width: 22px;
	height: 14px;
	opacity: 0.65;
	background: repeating-linear-gradient(
		90deg,
		var(--rl-teal-dark) 0 1px,
		transparent 1px 3px,
		var(--rl-teal-dark) 3px 5px,
		transparent 5px 7px
	);
}
/* Le schede della ricerca per classe contengono già l'etichetta nel testo. */
#school_search_content > .column.is-half .isbn_libro::before {
	content: none;
}
/* Eccezione richiesta per le sole informazioni descrittive dei libri. */
body .book-card .content dl,
body .book-card .content p:not(.isbn_libro) {
	font-size: 0.888889rem;
	line-height: 1.5;
}
body .book-card .content dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.4rem 0.7rem;
	margin: 0.5rem 0 0;
	padding: 0;
	border: 0;
}
body .book-card .content dt,
body .book-card .content p:not(.isbn_libro) strong {
	text-align: left;
	font-weight: 500;
	color: var(--rl-muted);
}
body .book-card .content dd {
	margin: 0;
	color: #3e4842;
	overflow-wrap: anywhere;
}
body .book-card .content p:not(.isbn_libro) {
	margin-bottom: 0.4rem;
	color: #3e4842;
}
body .book-card .card-footer {
	display: flex;
	margin-top: auto;
	padding: 0.9rem 0 0;
	border: 0;
}
body .book-card .card-footer .button {
	width: 100%;
	min-height: 44px;
	height: auto;
	white-space: normal;
	line-height: 1.3;
	font-size: 1rem;
	border-radius: 10px;
}
body .book-card .card-footer form {
	display: block;
	width: 100%;
}
body .book-card .card-footer .icon {
	flex-shrink: 0;
}
body .book-card .card-footer .icon i {
	font-size: 1rem;
}
body .pagination {
	margin-inline: 0;
	padding: 0 6% 2rem;
}
body .pagination .page-numbers {
	border-radius: 8px;
	color: var(--rl-teal-dark);
}
body .pagination .page-numbers.current {
	background: var(--rl-teal);
	color: #fff;
}

/* Pagine interne: stessa palette, stessi form e controlli. */
body .login-registrazione {
	background: none;
	border-radius: 0;
	box-shadow: none;
}
body .login-registrazione .box {
	padding: 2rem;
}
body .login-registrazione input[type="submit"] {
	background: var(--rl-teal) !important;
}
body .login-registrazione input[type="submit"]:hover {
	background: var(--rl-teal-dark) !important;
}
body .login-registrazione a.link-registrati,
body .login-registrazione a.link-login,
body .login-registrazione .um-login a,
body .login-registrazione .um-register a {
	color: var(--rl-teal-dark);
}
body .faq-title {
	border-color: var(--rl-teal);
}
body .faq-item {
	background: var(--rl-panel);
	border: 0;
	box-shadow: none;
	border-radius: 12px;
	padding: 1.25rem;
}
/* Dimensione minima anche nei componenti e nei form delle pagine interne. */
body .faq-question,
body .faq-answer,
body .help,
body .book-details p,
body .book-thumbnail .no-thumbnail,
body .view-book-button,
body .step-list-vendi-acquista li {
	font-size: 1rem;
}
body .is-size-7,
body .button.is-small,
body .tag,
body .isbn-status,
body .um label,
body .um input,
body .um select,
body .um textarea,
body .um .um-field-label label,
body .um .um-req,
body .um .um-field-area input,
body .um .um-field-area select,
body .um .um-field-area textarea,
body .um .um-button,
body .acf-form .acf-label label,
body .acf-form .acf-input input,
body .acf-form .acf-input select,
body .acf-form .acf-input textarea,
body .acf-form .acf-field .description {
	font-size: 1rem !important;
}
body .accordion-item,
body .dashboard-form-section {
	box-shadow: none;
	border-color: var(--rl-line);
}
body .accordion-title,
body .accordion-title:hover {
	background: var(--rl-teal);
	letter-spacing: 0;
}
body .accordion-title::before {
	content: none;
}
body .accordion-content {
	background: var(--rl-paper);
}
body .step-list-vendi-acquista li strong {
	color: var(--rl-teal-dark);
}
body .step-list-vendi-acquista li::before {
	background: var(--rl-teal);
	box-shadow: none;
}
body .step-list-vendi-acquista li:hover {
	transform: none;
	box-shadow: none;
}
body.page-template-page-user-dashboard #ministero-book-finder {
	background: var(--rl-panel);
	border-radius: var(--rl-radius);
}
body.page-template-page-user-dashboard
	#ministero-book-finder
	:is(h3, p, label) {
	color: var(--rl-ink);
}

/* Footer: informazioni e destinazioni originali. */
body .site-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 1.25rem 6%;
	border-top: 1px solid var(--rl-teal);
	color: var(--rl-muted);
	font-size: 0.8em;
	text-align: left;
}
.footer-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.4rem;
}
.footer-brand img {
	display: block;
	width: 56px;
	height: auto;
}
.footer-brand span {
	font-family: "Quicksand", sans-serif;
	font-size: 1.65rem;
	letter-spacing: 0;
	font-weight: 700;
}
body .site-footer .site-info {
	margin: 0;
	font-style: normal;
}
body .site-footer a:not(.footer-brand) {
	color: var(--rl-muted);
	text-underline-offset: 3px;
}
body .site-footer a:not(.footer-brand):hover {
	color: var(--rl-teal-dark);
	text-decoration: underline;
}

@media (max-width: 1024px) {
	body .container,
	.hero-container {
		width: 90%;
	}
	body header .container {
		padding: 0;
	}
	.hero-text-column h1 {
		font-size: clamp(2.6rem, 5.3vw, 3.5rem);
	}
	.hero-text-column p {
		font-size: 1rem;
		max-width: 380px;
	}
	.hero-content {
		padding-bottom: 1.75rem;
	}
	.hero-buttons .btn-primary,
	.hero-buttons .btn-secondary {
		padding: 0.8rem 1.2rem;
	}
	.page-template-page-libri-usati .steps3 .steps3-content {
		--step-card-height: 330px;
		--step-inset: 1.25rem;
		padding: 1.25rem var(--step-inset) 5.25rem;
	}
	.page-template-page-libri-usati .steps3 h3 {
		font-size: 1.7rem;
	}
	.page-template-page-libri-usati .steps3 .btn {
		font-size: 1rem;
	}
	.page-template-page-libri-usati .faq .box {
		grid-template-columns: 100px 1fr auto;
		column-gap: 1.25rem;
		padding: 1.5rem;
	}
	.page-template-page-libri-usati .faq img {
		width: 100px;
	}
	.page-template-page-libri-usati .faq .box h2 {
		font-size: 1.5rem;
	}
	.page-template-page-libri-usati .faq .box .btn {
		padding: 0.85rem 1rem;
	}
	.wrap-last-books > .container > .columns > .column.is-half {
		width: 33.3333%;
	}
	body .book-card {
		padding: 1rem;
	}
	body .book-card .card-image .image {
		height: 210px;
	}
	body .book-card .content dl {
		grid-template-columns: 1fr;
		gap: 0.1rem;
	}
	body .book-card .content dd + dt {
		margin-top: 0.4rem;
	}
}
@media (max-width: 900px) {
	.wrap-last-books > .container > .columns > .column.is-half,
	#school_search_content.columns > .column {
		width: 50%;
	}
}
@media (min-width: 768px) and (max-width: 900px) {
	.page-template-page-libri-usati .steps3 .columns {
		flex-wrap: wrap;
	}
	.page-template-page-libri-usati .steps3 .column {
		width: 100%;
		flex: none;
	}
	.page-template-page-libri-usati .steps3 .steps3-content {
		--step-card-height: 280px;
	}
	.page-template-page-libri-usati .steps3 p {
		max-width: 80%;
	}
}
@media (max-width: 767px) {
	body .section {
		padding: 2rem 0;
	}
	body .site-branding img.logo {
		width: 58px;
		max-width: 58px;
		height: auto;
	}
	body .site-branding .site-title {
		font-size: 2rem;
	}
	.hero-container {
		grid-template-columns: 1fr;
		padding-top: 1.5rem;
	}
	.hero-content {
		padding: 0;
		width: auto;
	}
	.hero-text-column h1 {
		font-size: clamp(2.5rem, 8vw, 3.5rem);
	}
	.hero-text-column h1 br {
		display: none;
	}
	.hero-text-column h2 {
		font-size: 1.5rem;
		margin-top: 0.7rem;
		margin-bottom: 1.2rem;
	}
	.hero-text-column p {
		max-width: 500px;
		font-size: 1rem;
	}
	.hero-image-column {
		display: block;
		width: min(85%, 380px);
		margin: 1.5rem auto 0;
	}
	.hero-buttons {
		justify-content: flex-start;
		gap: 0.75rem;
	}
	.home .hero-buttons a {
		font-size: 1rem;
		padding: 0.8rem 1.2rem;
	}
	.page-template-page-libri-usati .steps3 {
		padding-top: 2rem;
	}
	.page-template-page-libri-usati .steps3 .columns {
		flex-wrap: wrap;
	}
	.page-template-page-libri-usati .steps3 .column {
		flex: none;
		width: 100%;
		padding-block: 0.5rem;
	}
	.page-template-page-libri-usati .steps3 .steps3-content {
		--step-card-height: 310px;
		--step-inset: 1.5rem;
		padding: 1.25rem var(--step-inset) 5.25rem;
	}
	.page-template-page-libri-usati .steps3 .container::after {
		left: auto;
		right: 0;
		top: -2.75rem;
		width: 56px;
		height: 42px;
	}
	.page-template-page-libri-usati .steps3 .columns {
		padding-top: 0.5rem;
	}
	.page-template-page-libri-usati .steps3 .btn {
		font-size: 1rem;
	}
	.page-template-page-libri-usati .steps3 img {
		width: 48px;
		height: 48px;
	}
	.page-template-page-libri-usati .steps3 h3 {
		font-size: 1.7rem;
	}
	.page-template-page-libri-usati .faq {
		margin-bottom: 1rem !important;
	}
	.page-template-page-libri-usati .faq .box {
		grid-template-columns: 64px 1fr;
		gap: 0.5rem 1rem;
		padding: 1.5rem;
	}
	.page-template-page-libri-usati .faq img {
		width: 64px;
	}
	.page-template-page-libri-usati .faq .box > p:first-child {
		grid-row: 1;
	}
	.page-template-page-libri-usati .faq .box h2 {
		grid-row: 1;
		align-self: center;
		margin-bottom: 0 !important;
	}
	.page-template-page-libri-usati .faq .box > p:nth-of-type(2) {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-top: 0.5rem;
	}
	.page-template-page-libri-usati .faq .box .btn {
		grid-column: 1 / -1;
		grid-row: 3;
		justify-self: start;
		margin-top: 0.75rem !important;
	}
	#cerca h2 {
		padding-right: 0;
	}
	#cerca > .container > .has-text-centered::after {
		content: none;
	}
	.wrap-last-books > .container > .has-text-centered::after {
		content: none;
	}
	#cerca .box {
		padding: 1rem;
	}
	#cerca .tabs ul {
		gap: 0.5rem;
	}
	#cerca .tabs .dk {
		display: none;
	}
	#cerca .tabs .mb {
		display: block;
	}
	#cerca .search-form .column {
		padding-bottom: 0.75rem;
	}
	#cerca .is-narrow label {
		display: none;
	}
	#cerca .is-narrow button {
		width: 100%;
	}
	.wrap-last-books > .container > .columns > .column.is-half {
		width: 50%;
	}
	#school_search_content.columns > .column {
		width: 50%;
	}
	.home #school_search_content.columns {
		flex-direction: row;
		align-items: stretch;
	}
	.home .wrap-last-books .columns {
		flex-direction: row;
		align-items: stretch;
	}
	body .book-card .card-image .image {
		height: 190px;
	}
	body .site-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
}
@media (max-width: 599px) {
	.wrap-last-books > .container > .columns > .column.is-half,
	#school_search_content.columns > .column {
		width: 100%;
	}
}
@media (max-width: 479px) {
	.home .wrap-last-books .columns {
		margin-inline: -0.75rem;
	}
	.hero-buttons > a {
		flex: 1;
		text-align: center;
	}
	.home .hero-buttons a {
		padding-inline: 0.7rem;
	}
	.wrap-last-books > .container > .columns > .column.is-half {
		width: 100%;
	}
	#school_search_content.columns > .column {
		width: 100%;
	}
	body .book-card {
		padding: 1.25rem;
	}
	body .book-card .card-image .image {
		height: 250px;
	}
	body .book-card .card-image img {
		object-position: center;
	}
	body .login-registrazione .box {
		padding: 1.25rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	body .book-card,
	body .button,
	body .btn,
	body .btn-primary,
	body .btn-secondary,
	body .wrap-nav,
	body .offcanvas-menu {
		transition: none;
	}
	body .book-card:hover,
	body .btn-primary:hover,
	body .btn-secondary:hover {
		transform: none;
	}
}
