/*
Theme Name: Imperial Mag
Theme URI: https://hoteltermeimperial.it
Description: Tema figlio Astra per una rivista di terme, cure e soggiorni d'eccellenza tra Abano e Montegrotto.
Author: Lorenzo Moretti
Template: astra
Version: 0.1.0
Text Domain: fontecalda
Tags: custom-logo, threaded-comments, custom-menu, translation-ready
*/

@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/marcellus-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/marcellus-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/outfit-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/outfit-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --outer: #f4f6f5;
  --surface: #f4f6f5;
  --bianco: #ffffff;
  --text: #1c2321;
  --text-70: rgba(28, 35, 33, 0.74);
  --text-40: rgba(28, 35, 33, 0.42);
  --signal: #2b6964;
  --giada-pale: #dde8e4;
  --fango: #5a4e46;
  --fango-notte: #2e2824;
  --ottone: #a88449;
  --ottone-chiaro: #d2b27a;
  --latte: #ece6df;
  --rule: rgba(28, 35, 33, 0.12);
  --rule-strong: rgba(28, 35, 33, 0.26);
  --headline: 'Marcellus', Georgia, serif;
  --font-text: 'Outfit', system-ui, -apple-system, "Segoe UI", sans-serif;
  --tap: 44px;
  --gouttiere: clamp(16px, 4.5vw, 56px);
  --shell: 1240px;
  --galet: 22px;
  --onda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 4c3.5 0 3.5-3 7-3s3.5 3 7 3 3.5 3 7 3 3.5-3 7-3' fill='none' stroke='%232b6964' stroke-width='1.4'/%3E%3C/svg%3E");
  --onda-ottone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 4c3.5 0 3.5-3 7-3s3.5 3 7 3 3.5 3 7 3 3.5-3 7-3' fill='none' stroke='%23d2b27a' stroke-width='1.4'/%3E%3C/svg%3E");
}

:where(html) { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; box-sizing: border-box; }

:where(html) *::before, :where(html) *::after, :where(html) * { box-sizing: inherit; }
body.fc {
  margin: 0;
  font-family: var(--font-text);
}
:where(body.fc) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.fc) :where(img, video) { height: auto; }
:where(body.fc) :where(figure) { margin: 0; }
:where(body.fc) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.fc) :where(textarea) { width: 100%; }
:where(body.fc) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.fc) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.fc) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.fc) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.fc) .aligncenter { display: block; margin-inline: auto; }
.fc-container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}
.fc-main { min-height: 60vh; }

:where(input[type="submit"], button, .button, input[type="reset"], input[type="button"]) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.fc-searchform {
  display: flex;
  align-items: stretch;
}
.fc-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.fc-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.fc-drawer__close,
.fc-search-overlay__close,
.fc-header__hamburger {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fc-header__search {
  min-height: var(--tap);
  padding: 0 1rem;
}
:where(body.fc) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.fc-header__nav > li {
  position: relative;
}
.fc-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
}
.fc-header__nav > li:hover > .sub-menu,
.fc-header__nav > li.is-open > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.fc-submenu-toggle {
  min-height: var(--tap);
}
.fc-drawer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(body.fc) .fc-menu-label {
  cursor: default;
}

.fc-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.fc-crumbs > * {
  flex: none;
}
.fc-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.fc) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.fc) :where(a) { text-decoration-color: currentColor; }

body.fc {
  background: var(--surface) none;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.fc-corona { width: 28px; height: 18px; }

.fc-header {
  position: relative;
  z-index: 50;
  background: var(--surface) none;
  border-bottom: 1px solid var(--rule);
}
.fc-header__bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: .85rem var(--gouttiere);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.fc-sigillo {
  display: inline-grid;
  justify-items: center;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
}
.fc-sigillo__corona {
  width: 26px;
  height: 16px;
  color: var(--ottone);
  margin-bottom: .3rem;
}
.fc-sigillo__nome {
  font-family: var(--headline);
  font-size: 1.55rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.fc-sigillo__mag {
  font-family: var(--headline);
  font-size: .82rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin-top: .3rem;
  padding-left: .42em;
}
.fc-header__nav-wrap { margin-left: auto; }
.fc-header__nav {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-header__nav a {
  display: inline-block;
  padding: .55rem 0;
  font-weight: 500;
  text-decoration: none;
  background: var(--onda) left bottom / 28px 8px repeat-x;
  background-size: 0 8px;
  transition: background-size .35s ease;
}
.fc-header__nav a:hover,
.fc-header__nav .current-menu-item > a,
.fc-header__nav .current-category-ancestor > a,
.fc-header__nav .current-post-ancestor > a {
  background-size: 28px 8px;
  color: var(--signal);
}
.fc-header__nav .sub-menu {
  min-width: 15rem;
  padding: .6rem 1rem;
  background: var(--bianco);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(28, 35, 33, .12);
}
.fc-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fc-header__search {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  font-weight: 500;
}
.fc-header__search:hover { border-color: var(--signal); color: var(--signal); }
.fc-header__hamburger { display: none; flex-direction: column; gap: 5px; }
.fc-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.fc-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 200;
  width: min(340px, 88vw);
  padding: 1rem 1.5rem 2rem;
  background: var(--surface) none;
  box-shadow: -20px 0 40px rgba(28, 35, 33, .16);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
  overflow-y: auto;
}
body.nav-open .fc-drawer { transform: none; visibility: visible; }
.fc-drawer__close { margin-left: auto; display: flex; font-size: 1.8rem; }
.fc-drawer__nav {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.fc-drawer__nav a {
  display: block;
  padding: .9rem 0;
  font-family: var(--headline);
  font-size: 1.35rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.fc-drawer .sub-menu a { font-family: var(--font-text); font-size: 1rem; padding-left: 1rem; }
.fc-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: var(--gouttiere);
  background: rgba(244, 246, 245, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
body.search-open .fc-search-overlay { opacity: 1; visibility: visible; }
.fc-search-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
}
.fc-search-overlay__inner { width: min(640px, 100%); }
.fc-searchform {
  gap: .5rem;
  padding: .4rem;
  background: var(--bianco);
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
}
.fc-searchform__input {
  padding: 0 .9rem;
  border: 0;
  background: none;
  font-size: 1.15rem;
}
.fc-searchform__input:focus { outline: none; }
.fc-searchform:focus-within { border-color: var(--signal); box-shadow: 0 0 0 3px var(--giada-pale); }
.fc-searchform__submit {
  border-radius: 12px;
  background: var(--signal);
  color: var(--bianco);
  font-weight: 600;
}

.fc-vapore {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--galet);
  background: var(--giada-pale);
}
.fc-vapore img,
.fc-vapore .fc-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fc-vapore::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 38% at 22% 100%, rgba(244, 246, 245, .9), rgba(244, 246, 245, 0) 70%),
    radial-gradient(50% 30% at 78% 100%, rgba(244, 246, 245, .75), rgba(244, 246, 245, 0) 70%),
    linear-gradient(180deg, rgba(244, 246, 245, 0) 34%, rgba(244, 246, 245, .86) 64%, var(--surface) 86%);
}

.fc-photo { display: block; position: relative; overflow: hidden; background: var(--giada-pale); }
.fc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fc-photo:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M3 15.5 1.5 4.5l7.2 5.2L16 1.5l7.3 8.2 7.2-5.2L29 15.5z' fill='%23ffffff'/%3E%3Crect x='3' y='17' width='26' height='2.2' rx='1' fill='%23ffffff'/%3E%3C/svg%3E") center / 22% auto no-repeat;
  opacity: .55;
}
.fc-photo--seed-1 { background: linear-gradient(160deg, #cfe0da, #9fbfb6); }
.fc-photo--seed-2 { background: linear-gradient(160deg, #e7ded5, #b9a797); }
.fc-photo--seed-3 { background: linear-gradient(160deg, #dbe6e3, #7fa59c); }
.fc-photo--seed-4 { background: linear-gradient(160deg, #ece5dc, #a8957f); }
.fc-photo--seed-5 { background: linear-gradient(160deg, #d6e3df, #8db0a7); }
.fc-photo--seed-6 { background: linear-gradient(160deg, #e3dcd3, #9c8b7c); }

.fc-sorgente { padding-top: clamp(1rem, 3vw, 2rem); }
.fc-sorgente__link {
  display: block;
  text-decoration: none;
  color: var(--text);
}
.fc-sorgente .fc-vapore { aspect-ratio: 21 / 9; }
.fc-sorgente__testo {
  position: relative;
  display: grid;
  gap: .9rem;
  max-width: 56rem;
  margin-top: clamp(-8.5rem, -10vw, -4rem);
  padding-inline: clamp(.25rem, 4vw, 3.5rem);
}
.fc-sorgente__rubrica {
  font-weight: 600;
  font-size: .92rem;
  color: var(--signal);
}
.fc-sorgente__titolo {
  font-family: var(--headline);
  font-size: clamp(2rem, 1.1rem + 3.2vw, 3.6rem);
  line-height: 1.08;
  text-wrap: balance;
  transition: color .2s ease;
}
.fc-sorgente__link:hover .fc-sorgente__titolo { color: var(--signal); }
.fc-sorgente__deck {
  max-width: 44rem;
  font-size: 1.15rem;
  color: var(--text-70);
}
.fc-sorgente__meta { font-size: .92rem; color: var(--text-70); }

.fc-testa {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  background: var(--onda) left bottom / 28px 8px repeat-x;
}
.fc-testa__corona { width: 26px; height: 16px; color: var(--ottone); flex: none; }
.fc-testa__titolo {
  margin: 0;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  line-height: 1.15;
}

.fc-vasca { padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.fc-griglia {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem 2rem;
}
.fc-ciottolo__link {
  display: grid;
  gap: .55rem;
  text-decoration: none;
  color: var(--text);
}
.fc-ciottolo__foto {
  aspect-ratio: 4 / 3;
  margin-bottom: .45rem;
  border-radius: var(--galet);
}
.fc-ciottolo__foto img { transition: transform .5s ease; }
.fc-ciottolo__link:hover .fc-ciottolo__foto img { transform: scale(1.035); }
.fc-ciottolo__rubrica { font-size: .86rem; font-weight: 600; color: var(--signal); }
.fc-ciottolo__titolo {
  margin: 0;
  font-family: var(--headline);
  font-weight: 400;
  font-size: 1.32rem;
  line-height: 1.24;
  transition: color .2s ease;
}
.fc-ciottolo__link:hover .fc-ciottolo__titolo { color: var(--signal); }
.fc-ciottolo__meta { font-size: .88rem; color: var(--text-70); }

.fc-ali {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--giada-pale);
  position: relative;
}
.fc-ali::before {
  content: "";
  position: absolute;
  inset: -4px 0 auto;
  height: 8px;
  background: var(--onda) left center / 28px 8px repeat-x;
}
.fc-ali__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.fc-ala {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bianco);
  border-radius: var(--galet);
}
.fc-ala__nome {
  margin: 0 0 .6rem;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem);
  line-height: 1.15;
}
.fc-ala__nome a { text-decoration: none; }
.fc-ala__nome a:hover { color: var(--signal); }
.fc-ala__desc { margin: 0 0 1.25rem; color: var(--text-70); font-size: .98rem; }
.fc-ala__lista { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.fc-ala__lista li + li { border-top: 1px solid var(--rule); }
.fc-riga {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-block: .9rem;
  text-decoration: none;
  color: var(--text);
}
.fc-riga__foto { aspect-ratio: 4 / 3; border-radius: 12px; }
.fc-riga__testo { display: grid; gap: .25rem; }
.fc-riga__titolo { font-weight: 600; line-height: 1.32; }
.fc-riga:hover .fc-riga__titolo { color: var(--signal); }
.fc-riga__meta { font-size: .85rem; color: var(--text-70); }
.fc-ala__tutti {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--signal);
  text-decoration: none;
}
.fc-ala__tutti:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  [data-affiora] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
  }
  [data-affiora].is-emersa { opacity: 1; transform: none; }
}

.fc-single__header { padding-top: clamp(1rem, 3vw, 2rem); }
.fc-single__cover { aspect-ratio: 21 / 9; }
.fc-single__intesta {
  position: relative;
  max-width: 54rem;
  padding-inline: clamp(.25rem, 4vw, 3.5rem);
}
.fc-single__header--foto .fc-single__intesta { margin-top: clamp(-8.5rem, -10vw, -3.5rem); }
.fc-crumbs { font-size: .88rem; color: var(--text-70); margin-bottom: 1rem; }
.fc-crumbs a { text-decoration: none; }
.fc-crumbs a:hover { color: var(--signal); text-decoration: underline; }
.fc-single__title {
  margin: 0;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.3rem);
  line-height: 1.1;
  text-wrap: balance;
}
.fc-single__deck {
  margin: 1.1rem 0 0;
  max-width: 46rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-70);
}
.fc-single__meta {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  font-size: .92rem;
  color: var(--text-70);
  background: var(--onda) left top / 28px 8px repeat-x;
  max-width: 46rem;
}
.fc-single__meta a { color: var(--text); font-weight: 600; text-decoration: none; }
.fc-single__meta a:hover { color: var(--signal); }
.fc-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 45rem) 15.5rem;
  justify-content: space-between;
  column-gap: 4rem;
  padding-top: clamp(2rem, 4vw, 3rem);
}
.fc-single__layout > .fc-prosa { padding-left: clamp(.25rem, 4vw, 3.5rem); box-sizing: content-box; max-width: 45rem; }
.fc-percorso {
  position: sticky;
  top: 2rem;
  align-self: start;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--bianco);
  border-radius: var(--galet);
}
.fc-percorso__titolo {
  margin: 0 0 .75rem;
  font-family: var(--headline);
  font-size: 1.2rem;
}
.fc-percorso__tappe { margin: 0; padding: 0; list-style: none; }
.fc-percorso__tappe li { border-left: 2px solid var(--giada-pale); }
.fc-percorso__tappe a {
  display: block;
  padding: .45rem 0 .45rem .9rem;
  font-size: .9rem;
  line-height: 1.35;
  color: var(--text-70);
  text-decoration: none;
}
.fc-percorso__tappe li:hover { border-left-color: var(--signal); }
.fc-percorso__tappe a:hover { color: var(--signal); }

.fc-prosa { font-size: 1.125rem; line-height: 1.75; }
.fc-prosa > * { margin-block: 0 1.3em; }
.fc-prosa h2 {
  margin: 2.3em 0 .65em;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  line-height: 1.2;
  scroll-margin-top: 1.5rem;
}
.fc-prosa h3 { margin: 1.9em 0 .5em; font-size: 1.28rem; font-weight: 600; line-height: 1.3; }
.fc-prosa h4 { margin: 1.6em 0 .4em; font-size: 1.1rem; font-weight: 600; }
.fc-prosa a { color: var(--signal); text-underline-offset: 3px; }
.fc-prosa a:hover { text-decoration-thickness: 2px; }
.fc-prosa :where(ul, ol) { padding-left: 1.3em; }
.fc-prosa li { margin-bottom: .45em; }
.fc-prosa li::marker { color: var(--signal); }
.fc-prosa strong { font-weight: 600; }
.fc-prosa blockquote {
  margin-inline: 0;
  padding: .25rem 0 .25rem 1.4rem;
  border-left: 3px solid var(--ottone);
  font-family: var(--headline);
  font-size: 1.3rem;
  line-height: 1.45;
}
.fc-prosa figure.wp-block-table { overflow-x: auto; }
.fc-prosa table { font-size: .95rem; line-height: 1.5; background: var(--bianco); }
.fc-prosa th {
  text-align: left;
  font-weight: 600;
  background: var(--giada-pale);
}
.fc-prosa :where(th, td) {
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.fc-prosa img { border-radius: 14px; }

.fc-firma {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 45rem;
  margin: 3rem 0 0 clamp(.25rem, 4vw, 3.5rem);
  padding: 1.5rem;
  background: var(--bianco);
  border-radius: var(--galet);
}
.fc-firma__iniziali {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fango);
  color: var(--latte);
  font-family: var(--headline);
  font-size: 1.4rem;
  letter-spacing: .05em;
}
.fc-firma__testo > p { margin: 0; }
.fc-firma__ruolo { font-size: .85rem; color: var(--text-70); }
.fc-firma__nome { font-family: var(--headline); font-size: 1.35rem; margin-top: .1rem !important; }
.fc-firma__nome a { text-decoration: none; }
.fc-firma__nome a:hover { color: var(--signal); }
.fc-firma__bio { margin-top: .4rem !important; color: var(--text-70); }

.fc-passi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  background: var(--onda) left top / 28px 8px repeat-x;
}
.fc-passo {
  display: grid;
  gap: .35rem;
  align-content: start;
  padding: .5rem 0;
  text-decoration: none;
}
.fc-passo--dopo { grid-column: 2; text-align: right; }
.fc-passo__dir { font-size: .86rem; font-weight: 600; color: var(--signal); }
.fc-passo__titolo { font-family: var(--headline); font-size: 1.2rem; line-height: 1.28; }
.fc-passo:hover .fc-passo__titolo { color: var(--signal); }
.fc-ali--fine .fc-testa { background-image: var(--onda); }

.fc-footer {
  position: relative;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding: 3.25rem 0 1.5rem;
  background: var(--fango-notte);
  color: var(--latte);
}
.fc-ali + .fc-footer,
.fc-main:has(> .fc-ali:last-child) + .fc-footer { margin-top: 0; }
.fc-footer::before {
  content: "";
  position: absolute;
  inset: 14px 0 auto;
  height: 8px;
  background: var(--onda-ottone) left center / 28px 8px repeat-x;
  opacity: .7;
}
.fc-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.fc-sigillo--chiaro {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--latte);
}
.fc-sigillo--chiaro .fc-sigillo__corona { color: var(--ottone-chiaro); margin: 0; }
.fc-sigillo--chiaro .fc-sigillo__nome { font-size: 1.4rem; }
.fc-footer__motto { margin: .75rem 0 0; color: rgba(236, 230, 223, .78); }
.fc-footer__rubriche { display: grid; gap: .35rem; align-content: start; }
.fc-footer__rubriche a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  color: var(--ottone-chiaro);
  font-weight: 500;
}
.fc-footer__rubriche a:hover { color: var(--latte); text-decoration: underline; text-underline-offset: 4px; }
.fc-footer__piano {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(236, 230, 223, .16);
  font-size: .9rem;
}
.fc-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(236, 230, 223, .85);
  text-decoration: none;
}
.fc-footer__nav a:hover { color: var(--latte); text-decoration: underline; }
.fc-footer__copyright { margin: 0; color: rgba(236, 230, 223, .7); }

.fc-fonte {
  padding-block: clamp(1.75rem, 4.5vw, 3.25rem) 0;
  background:
    radial-gradient(42% 90% at 88% 0%, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 70%),
    radial-gradient(38% 70% at 6% 8%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--giada-pale) 0%, var(--surface) 100%);
}
.fc-fonte__inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: .85rem; }
.fc-fonte__inner::after {
  content: "";
  justify-self: stretch;
  height: 8px;
  margin-top: .8rem;
  background: var(--onda) left center / 28px 8px repeat-x;
}
.fc-fonte .fc-crumbs { margin-bottom: .2rem; max-width: 100%; }
.fc-fonte__titolo {
  margin: 0;
  max-width: 50rem;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(2.05rem, 1.3rem + 2.6vw, 3.35rem);
  line-height: 1.1;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.fc-fonte__sopra { margin: 0; font-size: .9rem; font-weight: 600; color: var(--fango); }
.fc-fonte__desc { max-width: 46rem; font-size: 1.08rem; line-height: 1.65; color: var(--text-70); }
.fc-fonte__desc > * { margin: 0; }
.fc-fonte__desc > * + * { margin-top: .7em; }
.fc-fonte__conta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .1rem 0 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--signal);
}
.fc-fonte__corona { width: 22px; height: 14px; color: var(--ottone); flex: none; }
.fc-fonte__autore { display: flex; align-items: center; gap: 1.1rem; }
.fc-fonte__autore .fc-fonte__sopra { margin-bottom: .2rem; }
.fc-fonte__cerca { width: min(36rem, 100%); margin-top: .4rem; }
.fc-fonte--404 .fc-ala__tutti { margin-top: 0; }
.fc-fonte--404 { padding-bottom: clamp(1rem, 3vw, 2rem); }
.fc-fonte--404 .fc-fonte__inner::after { display: none; }
.fc-fonte--404 + .fc-ali--rubriche { margin-top: clamp(1.5rem, 4vw, 3rem); }
.fc-archive--rubrica .fc-ciottolo__rubrica { display: none; }

.fc-vasca--archivio { padding-block: clamp(2.25rem, 4.5vw, 3.25rem) 0; }
.fc-vuoto { max-width: 40rem; margin: 0; font-size: 1.1rem; color: var(--text-70); }

.fc-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
}
.fc-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 .6rem;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--bianco);
  font-weight: 600;
  text-decoration: none;
}
.fc-pager a.page-numbers:hover { border-color: var(--signal); color: var(--signal); }
.fc-pager .page-numbers.current { background: var(--signal); border-color: var(--signal); color: var(--bianco); }
.fc-pager .page-numbers.dots { border-color: transparent; background: none; }

.fc-esiti { max-width: 62rem; margin: 0; padding: 0; list-style: none; }
.fc-esiti > li + li { border-top: 1px solid var(--rule); }
.fc-esito {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  padding-block: 1.5rem;
  text-decoration: none;
  color: var(--text);
}
.fc-esiti > li:first-child .fc-esito { padding-top: 0; }
.fc-esito__foto { aspect-ratio: 4 / 3; border-radius: 16px; }
.fc-esito__testo { display: grid; gap: .45rem; }
.fc-esito__titolo {
  margin: 0;
  font-family: var(--headline);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.22;
  hyphens: auto;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.fc-esito:hover .fc-esito__titolo { color: var(--signal); }
.fc-esito__deck { color: var(--text-70); font-size: .98rem; line-height: 1.55; }

.fc-ali--rubriche { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.fc-ali__grid--sola { grid-template-columns: minmax(0, 46rem); }
.fc-ali__grid .fc-ala__nome { hyphens: auto; overflow-wrap: anywhere; }

.fc-page__body { max-width: 45rem; margin-top: clamp(2rem, 4vw, 3rem); }
.fc-page__body > :first-child { margin-top: 0; }
.fc-prosa hr { margin-block: 2.4em; height: 8px; border: 0; background: var(--onda) left center / 28px 8px repeat-x; opacity: .6; }

.fc-prosa :where(ul:has(> li > .wsp-container)) { list-style: none; padding-left: 0; }
.fc-prosa :where(.wsp-container ul) { padding-left: 1.2em; }
.fc-prosa .wsp-posts-title { margin-top: 0; }
.fc-prosa .wsp-category-title { display: block; margin: 1.4em 0 .5em; font-weight: 600; }

.fc-contatti__corpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.fc-contatti__corpo--solo { grid-template-columns: minmax(0, 40rem); }
.fc-contatti__modulo {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--bianco);
  border-radius: var(--galet);
}
.fc-contatti__titolo {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  font-family: var(--headline);
  font-size: 1.5rem;
  line-height: 1.2;
}

body.fc #ez-toc-container {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 2.2em;
  padding: .6rem 1.3rem 1rem;
  background: var(--bianco);
  border: 0;
  border-radius: var(--galet);
  box-shadow: none;
}
body.fc #ez-toc-container .ez-toc-title-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin: 0;
}
body.fc #ez-toc-container .ez-toc-title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: var(--tap);
  margin: 0;
  font-family: var(--headline);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  overflow-wrap: anywhere;
}
body.fc #ez-toc-container .ez-toc-title-toggle { flex: none; }
body.fc #ez-toc-container a.ez-toc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  margin: 0;
  padding: 0 .5rem;
  background: var(--surface) none;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  text-shadow: none;
}
body.fc #ez-toc-container a.ez-toc-toggle svg { fill: var(--signal) !important; color: var(--signal) !important; }
body.fc #ez-toc-container .ez-toc-js-icon-con { position: static; width: auto; border: 0; left: auto; }
body.fc #ez-toc-container .ez-toc-btn:focus { outline: 0; }
body.fc #ez-toc-container .ez-toc-btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
body.fc #ez-toc-container nav { margin-top: .3rem; }
body.fc #ez-toc-container ul { margin: 0; padding: 0; list-style: none; }
body.fc #ez-toc-container ul ul { padding-left: 1.1rem; }
body.fc #ez-toc-container li { margin: 0; font-size: .98rem; line-height: 1.4; }
body.fc #ez-toc-container li::marker { content: none; }
body.fc #ez-toc-container ul.ez-toc-list a {
  display: inline-block;
  padding: .38rem 0;
  color: var(--text);
  text-decoration: none;
}
body.fc #ez-toc-container ul.ez-toc-list a:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .fc-single__layout { grid-template-columns: minmax(0, 1fr); }
  .fc-percorso { display: none; }
}
@media (max-width: 921px) {
  .fc-header__nav-wrap { display: none; }
  .fc-header__actions { margin-left: auto; }
  .fc-header__hamburger { display: inline-flex; }
  .fc-griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-ali__grid { grid-template-columns: minmax(0, 1fr); }
  .fc-sorgente .fc-vapore,
  .fc-single__cover { aspect-ratio: 16 / 10; }
  .fc-esito { grid-template-columns: 180px minmax(0, 1fr); gap: 1.2rem; }
  .fc-contatti__corpo { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 543px) {
  .fc-sigillo__nome { font-size: 1.25rem; }
  .fc-sigillo__mag { font-size: .72rem; }
  .fc-header__search span { display: none; }
  .fc-header__search { width: var(--tap); padding: 0; justify-content: center; }
  .fc-griglia { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .fc-sorgente .fc-vapore,
  .fc-single__cover { aspect-ratio: 4 / 3; }
  .fc-sorgente__testo,
  .fc-single__intesta,
  .fc-single__layout > .fc-prosa { padding-inline: 0; }
  .fc-firma { margin-left: 0; flex-direction: column; }
  .fc-riga { grid-template-columns: 84px minmax(0, 1fr); }
  .fc-passi { grid-template-columns: minmax(0, 1fr); }
  .fc-passo--dopo { grid-column: auto; text-align: left; }
  .fc-footer__inner,
  .fc-footer__piano { flex-direction: column; align-items: flex-start; }
  .fc-esito { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: start; padding-block: 1.2rem; }
  .fc-esito__foto { border-radius: 12px; }
  .fc-esito__titolo { font-size: 1.15rem; }
  .fc-esito__deck { display: none; }
  .fc-fonte__autore { align-items: flex-start; }
  .fc-fonte__autore .fc-firma__iniziali { width: 52px; height: 52px; font-size: 1.15rem; }
  body.fc #ez-toc-container { padding-inline: 1rem; }
}

body.fc {
  background: var(--outer) !important;
  color: var(--text) !important;
}

body.fc .site-content,
body.fc .ast-article-single,
body.fc #page,
body.fc .site-main > article,
body.fc .content-area,
body.fc #content,
body.fc #primary,
body.fc .entry-content,
body.fc .site-main,
body.fc .ast-container,
body.fc .ast-article-post {
  float: none !important;
  display: block !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.fc .ast-below-footer,
body.fc .ast-breadcrumbs-inner,
body.fc .ast-mobile-header-wrap,
body.fc .ast-below-header-wrap,
body.fc .main-header-bar,
body.fc .ast-header-breadcrumb,
body.fc #ast-desktop-header,
body.fc .ast-page-header,
body.fc .ast-main-header-wrap,
body.fc #colophon,
body.fc .ast-above-header-wrap,
body.fc .site-header {
  border: none !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  display: none !important;
  padding: 0 !important;
}

body.fc .ast-page-title-bar,
body.fc .ast-above-footer,
body.fc .ast-small-footer,
body.fc .ast-secondary-header-bar,
body.fc .ast-breadcrumbs-wrapper,
body.fc .site-footer {
  border: none !important;
  overflow: hidden !important;
  padding: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  display: none !important;
}

body.fc .ast-footer-copyright,
body.fc .entry-banner,
body.fc .ast-archive-title-wrap,
body.fc #ast-mobile-header,
body.fc .main-header-bar-wrap,
body.fc .site-below-footer-wrap {
  margin: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: none !important;
  border: none !important;
}

body.fc .ast-footer-overlay,
body.fc #masthead,
body.fc .footer-widget-area,
body.fc .ast-primary-header-bar {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  border: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

body.fc.home .entry-header,
body.fc.home .ast-archive-description {
  display: none !important;
}

:where(body.fc) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rule-strong);
}

body.fc #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--bianco);
  color: var(--signal);
  box-shadow: 0 8px 24px rgba(28, 35, 33, .12);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
body.fc #ast-scroll-top:hover { background: var(--signal); color: var(--bianco); border-color: var(--signal); }
body.fc #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.fc #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.fc.admin-bar .fc-header { top: 32px; }
@media (max-width: 782px) {
  body.fc.admin-bar .fc-header { top: 46px; }
}

body.fc .wpcf7-form p { margin: 0 0 1.2rem; }
body.fc .wpcf7-form label { display: block; font-size: .95rem; font-weight: 500; color: var(--text); }
body.fc .wpcf7-form label br { display: none; }
body.fc .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: .4rem; }
body.fc .wpcf7-form input[type="text"],
body.fc .wpcf7-form input[type="email"],
body.fc .wpcf7-form input[type="tel"],
body.fc .wpcf7-form textarea {
  width: 100%;
  min-height: var(--tap);
  padding: .7rem .9rem;
  background: var(--surface) none;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  box-shadow: none;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--text);
}
body.fc .wpcf7-form textarea { height: 9.5rem; resize: vertical; }
body.fc .wpcf7-form input:focus,
body.fc .wpcf7-form textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--giada-pale); background: var(--bianco); }
body.fc .wpcf7-form input[type="submit"] {
  min-height: var(--tap);
  padding: 0 1.7rem;
  background: var(--signal);
  color: var(--bianco);
  border: none;
  border-radius: 12px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease;
}
body.fc .wpcf7-form input[type="submit"]:hover { background: #21524e; }
body.fc .wpcf7-form .wpcf7-not-valid-tip { margin-top: .35rem; font-size: .88rem; color: #a0362b; }
body.fc .wpcf7-form .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; font-size: .95rem; }
