/* w3makeit: only what theme.json cannot express. Colours: var(--wp--preset--color--<slug>), never hex. */

/* TT5 adds page padding and gaps between top-level blocks: full-width bands need them gone. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }

/* Header: logo left, menu right. */
.tw-header { padding: 1rem clamp(1rem, 4vw, 2.5rem); border-bottom: 1px solid var(--wp--preset--color--line); }

/* Hamburger earlier than core's 600px when the menu has many items. */
@media (max-width: 1000px) {
	.tw-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.tw-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
}

/* Cards: equal height, image on top. */
.tw-card { background: var(--wp--preset--color--base); border-radius: 12px; overflow: hidden; height: 100%; }
.tw-card .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.tw-card > :not(.wp-block-image):not(.wp-block-post-featured-image) { padding-inline: 1.25rem; }

/* Images never wider than their column. */
img { max-width: 100%; height: auto; }

/* Long URLs and imported words must wrap inside narrow content columns. */
main { overflow-wrap: anywhere; }

/* Keep a visible keyboard focus indicator, including mobile menu controls. */
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* W3Make.it: brand cyan as a decorative line only (2.3:1 on white, never text). */
.tw-header { border-bottom: 3px solid var(--wp--preset--color--brand); }
.tw-logo { margin: 0; }
.tw-card--text { padding-block: 1.5rem; border-top: 4px solid var(--wp--preset--color--brand); }
.tw-card--text > * { padding-inline: 1.5rem; }
/* Outline buttons: dark text and border, yellow fill on hover. */
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); background: transparent; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--base); }
.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link:hover { color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--accent); }

/* Front page bands touch each other: no blockGap between the children of main. */
main.wp-block-group > * { margin-block-start: 0; }

/* Use the theme.json wide size for all page gutters. */
body { --w3-page-gutter: max(20px, calc((100% - var(--wp--style--global--wide-size)) / 2)); }

/* Inner pages: a wide working surface with shorter lines for continuous prose. */
.w3-page {
	--wp--style--global--content-size: var(--wp--style--global--wide-size);
	background: var(--wp--preset--color--paper);
}
.w3-page > .wp-block-post-title {
	max-width: none;
	margin: 0;
	padding-block: clamp(2.5rem, 6vw, 5rem);
	letter-spacing: -.035em;
	border-bottom: 4px solid var(--wp--preset--color--accent);
}
.w3-content { max-width: none; margin-top: 0; }
.w3-content > .w3-section {
	max-width: none;
	margin-block: 2rem 0;
	padding: clamp(1.5rem, 3vw, 3rem);
	background: var(--wp--preset--color--base);
}
.w3-content .w3-section > .wp-block-columns { max-width: none; gap: 2rem; }
.w3-content .w3-section > :first-child { margin-top: 0; }
.w3-content .w3-section > :last-child { margin-bottom: 0; }
.w3-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); letter-spacing: -.025em; }
.w3-content h3 { font-size: 1.35rem; line-height: 1.3; }
.w3-content p { line-height: 1.75; }
.w3-content .wp-block-buttons { gap: .75rem; margin-top: 1.5rem; }
.w3-content .wp-block-button__link { padding: .7rem 1.4rem; border-radius: 4px; }
.w3-content a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.w3-content .wp-block-columns { margin-block: 1.75rem 0; }
.w3-content .wp-block-column { min-width: 0; }
.w3-content .wp-block-column > :first-child { margin-top: 0; }
.w3-content .wp-block-column > :last-child { margin-bottom: 0; }

/* Original artwork and portraits keep their proportions. */
.w3-page-making .w3-about-intro .wp-block-image { max-width: 140px; margin: 0 auto 1.5rem; }
.w3-page-making .w3-about-intro .wp-block-column { padding-top: .75rem; }
.w3-team { height: 100%; background: var(--wp--preset--color--paper); padding-bottom: 1.5rem; }
.w3-team-photo { margin: 0 0 1.5rem; }
.w3-team-photo img { display: block; width: 100%; height: auto; }
.w3-team > :not(.w3-team-photo) { margin-inline: 1.5rem; }
.w3-team h3 { margin-block: 0 .6rem; }
.w3-team p { margin-block: 0; font-size: 1rem; }
.w3-team strong { color: var(--wp--preset--color--primary); }

/* Vision, values and the existing manifesto each have a different rhythm. */
.w3-page-making .w3-vision { border-left: 5px solid var(--wp--preset--color--brand); }
.w3-page-making .w3-vision > p { font-size: 1.35rem; max-width: 950px; }
.w3-page-making .w3-mission .wp-block-column { border-top: 3px solid var(--wp--preset--color--accent); padding-top: 1.25rem; }
.w3-page-making .w3-values .wp-block-column {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	grid-template-rows: auto 1fr;
	column-gap: 1.4rem;
	align-content: start;
}
.w3-page-making .w3-values .wp-block-image { grid-row: 1 / 3; margin: 0; }
.w3-page-making .w3-values .wp-block-image img { display: block; width: 100%; }
.w3-page-making .w3-values h3 { margin: 0 0 .75rem; }
.w3-page-making .w3-values p { margin: 0; font-size: 1rem; }
.w3-page-making .w3-manifesto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-rows: 1fr; gap: 1.5rem; }
.w3-page-making .w3-manifesto > * { box-sizing: border-box; width: 100%; max-width: none;  }
.w3-page-making .w3-manifesto > h2 { grid-column: 1 / -1; margin: 0 0 .25rem; }
.w3-page-making .wp-block-quote { margin: 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--paper); font-size: 1.05rem; }
.w3-page-making .wp-block-quote p { margin: 0; }

/* Two editable resource cards; section order does not determine their styling. */
.w3-resource-grid { gap: 3rem; }
.w3-resource-card { display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid var(--wp--preset--color--brand); padding-top: 1.25rem; }
.w3-resource-card > h2 { margin: 0; }
.w3-resource-card .wp-block-buttons { margin-top: auto; padding-top: 1.5rem; }

/* Partner marks are original artwork, never cropped into photo cards. */
.w3-page-i-nostri-amici .wp-block-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }

.w3-page-i-nostri-amici .wp-block-image { margin: 0; border: 1px solid var(--wp--preset--color--line); }
.w3-page-i-nostri-amici .wp-block-image img { display: block; width: 100%; height: auto; }

/* Museum outcomes, maker qualities and download lists use their existing blocks. */
.w3-page-museo-dimpresa .w3-section:has(h3) .wp-block-column,
.w3-page-chi-cerchiamo .w3-section:has(h3) .wp-block-column { background: var(--wp--preset--color--paper); padding: 1.5rem; }
.w3-page-museo-dimpresa .w3-section:has(h3) .wp-block-image,
.w3-page-chi-cerchiamo .w3-section:has(h3) .wp-block-image { margin: -1.5rem -1.5rem 1.5rem; }
.w3-page-museo-dimpresa .w3-section:has(h3) img,
.w3-page-chi-cerchiamo .w3-section:has(h3) img { width: 100%; display: block; }

/* Contact details are editable semantic groups, independent of their order. */
.w3-contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.w3-contact-detail { border-top: 2px solid var(--wp--preset--color--brand); padding-top: 1.25rem; }
.w3-contact-detail h3 { margin: 0; }
.w3-contact-detail p { margin: .6rem 0 0; }
.w3-contact-form > h2 { margin-top: 0; }

/* Long project reports retain a reading measure inside the wide page. */
.w3-page-voci-nel-vento .w3-content,
.w3-page-piattaforma-di-comunicazione-turistica .w3-content,
.w3-page-pubblicazione-aiuti-di-stato .w3-content { background: var(--wp--preset--color--base); margin-top: 2rem; padding: clamp(1.5rem, 4vw, 3rem); }
.w3-page-voci-nel-vento .w3-content > p,
.w3-page-piattaforma-di-comunicazione-turistica .w3-content > p { max-width: 850px; margin-inline: auto; }
.w3-page-voci-nel-vento .w3-content > h2,
.w3-page-piattaforma-di-comunicazione-turistica .w3-content > h2 { max-width: 850px; margin-inline: auto; }
.w3-content .wp-block-table { overflow-x: auto; }
.w3-content .wp-block-table table { border-collapse: collapse; font-size: .95rem; }
.w3-content .wp-block-table td, .w3-content .wp-block-table th { padding: 1rem; border-color: var(--wp--preset--color--line); }
.w3-content .wp-block-table tr:first-child { color: var(--wp--preset--color--base); background: var(--wp--preset--color--primary); }
.w3-content .wpcf7 input:not([type=checkbox]):not([type=submit]), .w3-content .wpcf7 textarea { box-sizing: border-box; width: 100%; max-width: 100%; padding: .85rem; font: inherit; border: 1px solid var(--wp--preset--color--primary); border-radius: 0; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.w3-content .wpcf7 input[type=submit] { font: inherit; font-weight: 600; padding: .8rem 1.4rem; border: 0; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); cursor: pointer; }

@media (max-width: 1000px) {
	.w3-page-making .w3-values .wp-block-column { display: block; }
	.w3-page-making .w3-values .wp-block-image { margin-bottom: 1.25rem; }
	.w3-page-making .w3-manifesto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {

	.w3-content .w3-section { margin-top: 1.25rem; }
	.w3-content .w3-section > .wp-block-columns { gap: 2rem; }
	.w3-content .wp-block-column + .wp-block-column { margin-top: .5rem; }
	.w3-page-making .w3-about-intro .wp-block-image { margin-inline: 0; max-width: 110px; }
	.w3-page-making .w3-values .wp-block-column { display: grid; grid-template-columns: 1fr 2fr; }
	.w3-page-making .w3-manifesto { grid-template-columns: 1fr; gap: 1rem; }
	.w3-contact-details { grid-template-columns: 1fr; }

	.w3-page-i-nostri-amici .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.w3-page-i-nostri-amici .wp-block-column { margin-top: 0; }
}
@media (max-width: 480px) {
	.w3-page-making .w3-values .wp-block-column { display: block; }
	.w3-page-making .w3-values .wp-block-image { max-width: 180px; }
	.w3-page-chi-cerchiamo .w3-section:has(h3) .wp-block-image { max-width: 220px; margin: 0 0 1.5rem; }
}

/* Voci nel Vento: editable image/text sections in the page's own blocks. */
.w3-page-voci-nel-vento .w3-content:has(> .w3-story),
.w3-page-piattaforma-di-comunicazione-turistica .w3-content:has(> .w3-story) { padding: 0; background: transparent; }
.w3-story > * { margin-block: 2rem 0; }
.w3-story > :first-child { margin-top: 0; }
.w3-story .w3-story-row { max-width: none; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--base); }
.w3-content .w3-story-row > .wp-block-column { margin-top: 0; }
.w3-story-row .w3-story-image { margin: 0; }
.w3-story-image img { display: block; width: 100%; height: auto; }
.w3-story-image figcaption { margin: .7rem 0 0; color: var(--wp--preset--color--primary); font-size: .85rem; line-height: 1.5; }
.w3-story .w3-story-eyebrow { margin: 0 0 1.5rem; font-size: .85rem; letter-spacing: .15em; line-height: 1.5; }
.w3-story-lead { margin: 0; font-size: 1.2rem; }
.w3-story-technology { padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--base); }
.w3-story-technology > p { max-width: 850px; margin: 0 auto; }
.w3-story .w3-story-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 0; padding: 0; list-style-position: inside; }
.w3-story-tools > li { box-sizing: border-box; margin: 0; padding: 1.5rem; border-top: 3px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--paper); font-size: 1rem; line-height: 1.75; }
.w3-story-tools > li::marker { color: var(--wp--preset--color--primary); }
.w3-story .w3-story-bridge { padding: clamp(1.5rem, 4vw, 3rem); border-left: 5px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base); }
.w3-story-bridge p { max-width: 950px; margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.w3-story-funding { padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--base); }
.w3-story-funders { max-width: 704px; margin: 2rem 0; }
.w3-story-project-link { padding-bottom: 1.5rem; border-bottom: 1px solid var(--wp--preset--color--line); font-size: 1.2rem; }
.w3-story-project-link a { display: inline-block; margin-left: .5rem; padding: .6rem 1rem; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-weight: 650; }
.w3-story-funding .wp-block-file { margin-bottom: 0; }
@media (max-width: 1000px) {
	.w3-story .w3-story-tools { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
	.w3-story > * { margin-top: 1.25rem; }
	.w3-story .w3-story-row { gap: 1.5rem; }
	.w3-story-lead { font-size: 1.125rem; }
	.w3-story-project-link a { display: table; margin: .75rem 0 0; }
}

/* Tourism project: original programme details precede three clearly labelled sections. */
.w3-tourism-intro { padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--base); }
.w3-tourism-intro .w3-story-lead { max-width: 900px; margin: 0; color: var(--wp--preset--color--primary); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.w3-tourism-programme { max-width: 950px; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 3px solid var(--wp--preset--color--accent); font-size: .9rem; }
.w3-tourism .w3-story-row h2 { margin-top: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.w3-tourism .w3-story-funding .wp-block-image { max-width: 950px; margin: 2rem 0 0; }

/* News and articles share the same wide surface as the other subpages. */
.w3-news, .w3-article { --wp--style--global--content-size: var(--wp--style--global--wide-size); }
.w3-article > .wp-block-post-title { margin-block: 1rem 2rem; line-height: 1.2; letter-spacing: -.025em; }
.w3-article > .wp-block-post-featured-image { margin-block: 0 2.5rem; }
.w3-article-content { margin-top: 2rem; }
.w3-article-content > .w3-section { max-width: none; margin-top: 2rem; }
.w3-article-content .wp-block-columns { gap: 2rem; }
.w3-article-content img { height: auto; }

/* Visible labels, comfortable fields, and a clear CV upload. */
.w3-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.w3-form-grid > p { min-width: 0; margin: 0; }
.w3-field--email, .w3-field--full { grid-column: 1 / -1; }
.w3-field > label { display: block; margin-bottom: .4rem; color: var(--wp--preset--color--primary); font-weight: 600; }
.w3-field-hint { display: block; margin-top: .5rem; font-size: .85rem; line-height: 1.5; }
.w3-content .wpcf7 .wpcf7-list-item { margin: 0; }
.w3-content .wpcf7 input[type=checkbox] { width: 1.1rem; height: 1.1rem; margin-right: .45rem; vertical-align: middle; accent-color: var(--wp--preset--color--primary); }
.w3-content .wpcf7 textarea { min-height: 180px; resize: vertical; }
.w3-content .wpcf7 input[type=file]::file-selector-button { margin-right: .75rem; padding: .5rem .7rem; border: 0; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--primary); font: inherit; }
.w3-content .wpcf7 input:focus-visible, .w3-content .wpcf7 textarea:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }
@media (max-width: 600px) { .w3-form-grid { grid-template-columns: 1fr; } }

/* Curated maker resources use real destinations and editable category cards. */
.w3-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.w3-link-card { display: flex; flex-direction: column; padding: 1.5rem; border-top: 3px solid var(--wp--preset--color--brand); background: var(--wp--preset--color--paper); }
.w3-link-card h3 { margin: 0; }
.w3-link-card p { margin-block: 1rem 0; }
.w3-link-card .w3-link-meta { margin-top: auto; padding-top: 1.25rem; color: var(--wp--preset--color--primary); }

.w3-contact-details > .w3-contact-detail { margin-block: 0; }

@media (max-width: 781px) { .w3-link-grid { grid-template-columns: 1fr; } }

/* Download categories share the resource cards and show availability explicitly. */
.w3-content .w3-download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.w3-download-card { border-top-color: var(--wp--preset--color--accent); }
.w3-download-card .w3-download-status { margin: 0 0 1.25rem; color: var(--wp--preset--color--primary); }
.w3-download-card h2 { margin: 0; font-size: 1.5rem; }
.w3-download-card .w3-download-empty { margin: 1rem 0 0; font-size: 1rem; }
.w3-download-more { border-left: 4px solid var(--wp--preset--color--brand); }
@media (max-width: 781px) { .w3-content .w3-download-grid { grid-template-columns: 1fr; } }

/* Voci footer: funding marks and project actions have separate, balanced columns. */
.w3-story .w3-voci-footer-grid { gap: clamp(1.5rem, 3vw, 3rem); margin: 0; align-items: center; }
.w3-voci-footer-grid > .wp-block-column { margin-top: 0; }
.w3-voci-funding-details > p { margin: 0; font-size: 1rem; }
.w3-voci-funding-details .w3-story-funders { max-width: none; margin: 1.5rem 0 0; }
.w3-story-funders img { display: block; width: 100%; height: auto; }
.w3-voci-actions { padding: 1.5rem; background: var(--wp--preset--color--paper); }
.w3-voci-actions .w3-story-project-link { margin: 0; padding: 0 0 1.5rem; font-size: 1rem; }
.w3-voci-actions .w3-story-project-link a { display: table; margin: .5rem 0 0; padding: 0; background: transparent; color: var(--wp--preset--color--primary); font-weight: 600; }
.w3-voci-actions .w3-voci-download { margin: 1.5rem 0 0; font-size: 1rem; }
.w3-voci-download > a:first-child { display: block; margin-bottom: 1rem; }
.w3-voci-download .wp-block-file__button { display: block; box-sizing: border-box; margin: 0; padding: .85rem 1.25rem; text-align: center; border-radius: 4px; }
@media (max-width: 781px) {
 .w3-story .w3-voci-footer-grid { gap: 1.5rem; }
 .w3-voci-footer-grid > .wp-block-column { margin-top: 0; }
 .w3-voci-actions { padding: 1.25rem; }
}

/* Tool directory: full images, even cards, and a compact wide grid. */
.w3-page-strumenti .w3-content { padding-top: 2rem; }
.w3-tools-grid .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.w3-tools-grid .w3-tool-card { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; padding: 1.25rem; border: 1px solid var(--wp--preset--color--line); border-top: 3px solid var(--wp--preset--color--brand); border-radius: 4px; background: var(--wp--preset--color--base); }
.w3-tools-grid .w3-tool-card > .wp-block-post-featured-image { padding: 0; margin: 0; }
.w3-tool-card .wp-block-post-featured-image a { display: flex; align-items: center; justify-content: center; min-height: 200px; }
.w3-tool-card .wp-block-post-featured-image img { display: block; max-height: 200px; }
.w3-tools-grid .w3-tool-card > .wp-block-post-title { margin: auto 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--wp--preset--color--line); font-size: 1.2rem; }
.w3-tool-card .wp-block-post-title a { display: block; padding-block: .25rem; }
.w3-tool-card:focus-within { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.w3-tool-card:hover { border-top-color: var(--wp--preset--color--accent); }

/* Tool singles keep the title alongside the image, then give the text a reading measure. */
.w3-tool { --wp--style--global--content-size: var(--wp--style--global--wide-size); background: var(--wp--preset--color--paper); }
.w3-tool .w3-tool-hero { gap: clamp(1.5rem, 4vw, 3rem); margin: 0; padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--base); border-bottom: 4px solid var(--wp--preset--color--accent); }
.w3-tool-hero > .wp-block-column { min-width: 0; }
.w3-tool-intro .wp-block-post-title { margin: 1.25rem 0; letter-spacing: -.035em; line-height: 1.1; }
.w3-tool-intro > p { margin-block: 1rem 0; }
.w3-tool-intro .w3-tool-back { margin: 0; }
.w3-tool-back a { display: inline-block; padding-block: .4rem; text-underline-offset: .2em; }
.w3-tool-image { margin: 0; }
.w3-tool-image img { max-height: 360px; }
.w3-tool .w3-tool-content { box-sizing: border-box; max-width: none; margin-top: 2rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--wp--preset--color--base); }
.w3-tool-content .w3-section { max-width: 900px; margin: 0 auto; }
.w3-tool-content p, .w3-tool-content li { line-height: 1.8; }
.w3-tool-content h2, .w3-tool-content h3 { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--wp--preset--color--brand); }
.w3-tool-content .w3-section > :first-child { margin-top: 0; }
.w3-tool-content .w3-section > :last-child { margin-bottom: 0; }
@media (max-width: 1000px) { .w3-tools-grid .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) {
 .w3-tool-hero > .wp-block-column { margin-top: 0; }
 .w3-tool-image img { max-height: 260px; }
}
@media (max-width: 600px) {
 .w3-tools-grid .wp-block-post-template { grid-template-columns: 1fr; }
 .w3-page-strumenti .w3-content { padding-top: 1.25rem; }
 .w3-tool .w3-tool-content { margin-top: 1.25rem; }
}

/* Aree Laboratorio: area cards like the Link Utili cards; tool names as a short inline list. */
.w3-area-card { display: flex; flex-direction: column; padding: 0 0 1.5rem; border-top: 3px solid var(--wp--preset--color--brand); background: var(--wp--preset--color--paper); }
.w3-area-card > * { margin-inline: 1.5rem; }
.w3-area-card > .wp-block-image { margin: 0 0 1.25rem; }
.w3-area-card > .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.w3-area-card h3 { margin-block: 0 .5rem; }
.w3-area-card p { margin-block: 0 1rem; }
.w3-area-tools { margin-top: auto; }
.w3-area-tools .wp-block-post-template { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; padding: 0; }
.w3-area-tools .wp-block-post-title { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 400; }
.w3-area-tools .wp-block-post-template > li { margin: 0; }
.w3-hub-card .wp-block-buttons { margin-top: auto; }

/* GTranslate IT/EN links (lang_codes look): right after the menu; on the burger layout before the burger. */
.tw-header .tw-nav { margin-left: auto; }
.w3-language { margin-left: 1.5rem; font-size: var(--wp--preset--font-size--small); white-space: nowrap; }
.w3-language a { margin-left: .5rem; text-decoration: none; }
@media (max-width: 1000px) {
	.w3-language { order: 1; margin-left: auto; }
	.tw-header .tw-nav { order: 2; margin-left: 1rem; }
}
