/* Stoà Sicula — visual refinement: quiet Mediterranean palette, elegant navigation and gentle motion. */
:root {
  --ink: #292f35;
  --ink-2: #4f5659;
  --muted: #85827d;
  --paper: #f7f3ee;
  --paper-2: #eee8e1;
  --white: #fffdfa;
  --accent: #b67561;
  --accent-dark: #925b4b;
  --gold: #cbb69b;
  --sage: #b7b8aa;
  --line: #e7dfd7;
  --pine: #26343d;
  --shadow: 0 22px 60px rgba(39, 45, 48, .095);
  --radius: 10px;
  --container: 1220px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); }
::selection { background: rgba(182, 117, 97, .22); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Header and desktop navigation */
.site-header {
  background: rgba(249, 246, 241, .92);
  border-bottom: 1px solid rgba(70, 63, 57, .09);
  box-shadow: 0 6px 28px rgba(42, 44, 44, .035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { min-height: 94px; gap: 28px; }
.brand { gap: 13px; transition: opacity .25s ease; }
.brand:hover { opacity: .88; }
.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 54px;
  transition: transform .55s cubic-bezier(.2,.75,.25,1);
}
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.045); }
.brand-copy { gap: 2px; }
.brand-copy strong { color: var(--ink); font-size: 13px; letter-spacing: .16em; font-weight: 700; }
.brand-copy small { color: #8d8982; font-size: 8px; letter-spacing: .19em; margin-top: 4px; }
.main-navigation { height: 94px; gap: clamp(12px, 1.35vw, 21px); }
.nav-link {
  position: relative;
  padding: 13px 0 14px;
  color: #555b5c;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .025em;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: auto;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s cubic-bezier(.2,.75,.25,1);
}
.nav-link:hover,
.nav-link.is-active,
.nav-group.is-active > .nav-link { color: var(--accent-dark); }
.nav-link:hover::after,
.nav-link.is-active::after,
.nav-group.is-active > .nav-link::after { transform: scaleX(1); }
.nav-group { height: 100%; }
.nav-dropdown { display: inline-flex; align-items: center; gap: 10px; }
.chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid #8b817a;
  border-bottom: 1px solid #8b817a;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .28s ease, border-color .28s ease;
}
.nav-group:hover .chevron,
.nav-group:focus-within .chevron,
.nav-group.dropdown-open .chevron {
  border-color: var(--accent);
  transform: rotate(225deg) translate(-1px, -1px);
}
.dropdown-menu {
  top: calc(100% - 1px);
  left: -23px;
  min-width: 248px;
  padding: 10px;
  border: 1px solid rgba(125, 105, 91, .13);
  border-radius: 12px;
  background: rgba(255, 253, 250, .98);
  box-shadow: 0 20px 50px rgba(37, 42, 43, .12);
  backdrop-filter: blur(14px);
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .3s cubic-bezier(.2,.75,.25,1);
}
.nav-group:hover .dropdown-menu,
.nav-group:focus-within .dropdown-menu,
.nav-group.dropdown-open .dropdown-menu { transform: translateY(0); }
.dropdown-menu a {
  padding: 12px 13px;
  border: 0;
  border-radius: 8px;
  color: #3e4649;
  font-size: 12px;
  font-weight: 600;
  transition: color .22s ease, background .22s ease, padding .22s ease;
}
.dropdown-menu a:hover {
  padding-left: 17px;
  color: var(--accent-dark);
  background: #f5eee8;
}
.dropdown-menu small { color: #918980; font-size: 10px; }
.header-account {
  margin-left: 3px;
  padding: 10px 17px;
  border: 1px solid rgba(182, 117, 97, .58);
  border-radius: 5px;
  background: transparent;
  color: var(--accent-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .055em;
  transition: color .28s ease, background .28s ease, border-color .28s ease, transform .28s ease;
}
.header-account:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffaf6;
  transform: translateY(-2px);
}
.menu-toggle { border-radius: 7px; transition: background .2s ease; }
.menu-toggle:hover { background: #eee7e0; }
.menu-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .28s ease, width .28s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Logo watermark: intentionally very light, like a paper seal. */
.hero-section::after,
.page-hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(39vw, 470px);
  aspect-ratio: 174 / 150;
  background: url('../img/logo-stoa.png') center / contain no-repeat;
  opacity: .052;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-section::after { top: 18px; right: -108px; }
.page-hero::after { top: 9%; right: 4.5%; width: min(31vw, 350px); opacity: .047; }
.hero-grid, .hero-bottom-line, .page-hero > .container { position: relative; z-index: 1; }
.hero-section { background: #f8f4ef; }
.hero-copy h1, .page-hero h1, .event-detail-title h1, .login-aside h1,
.intro-grid h2, .section-heading-row h2, .journal-lead h2, .guestbook-inner h2,
.story-copy h2, .school-feature h2, .event-description h2, .contact-details h2,
.guide-access h2 { letter-spacing: -.025em; }
.hero-copy h1 { font-size: clamp(52px, 5.35vw, 78px); line-height: .99; }
.hero-copy h1 em, .page-hero h1 em, .section-heading-row h2 em, .intro-grid h2 em,
.quote-inner em, .journal-lead h2 em, .guestbook-inner h2 em, .story-copy h2 em,
.school-feature h2 em, .event-detail-title h1 em, .event-description h2 em,
.blog-feature h2 em, .guide-access h2 em, .contact-details h2 em {
  color: var(--accent);
}
.hero-art { border-radius: 2px; box-shadow: 0 26px 70px rgba(52, 54, 46, .12); }
.art-sun { background: #d9b9a1; }
.hill-back { background: #aeb1a0; }
.hill-front { background: #596e67; }
.art-sea { background: #829b94; }
.art-stamp { background: var(--pine); box-shadow: 0 12px 34px rgba(38, 52, 61, .22); }
.art-stamp { transform: rotate(0); }
.art-stamp small { color: #d8c5b4; }

/* Gentle motion and clear interactive feedback */
a, button, .button, .activity-card, .event-card, .listing-event,
.journal-card, .team-card, .gallery-tile, .social-card, .guide-card,
.footer-column a, .footer-contact a { -webkit-tap-highlight-color: transparent; }
.button {
  border-radius: 4px;
  transition: color .28s ease, background .28s ease, border-color .28s ease,
              box-shadow .32s ease, transform .32s cubic-bezier(.2,.75,.25,1);
}
.button-primary { background: var(--accent); box-shadow: 0 8px 20px rgba(182, 117, 97, .12); }
.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 13px 28px rgba(146, 91, 75, .2);
  transform: translateY(-3px);
}
.button-outline { border-color: #d7c9bd; border-radius: 4px; }
.button-outline:hover { border-color: var(--accent); background: rgba(182, 117, 97, .06); transform: translateY(-2px); }
.text-link, .arrow-link, .read-more { transition: color .24s ease; }
.text-link:hover, .arrow-link:hover, .read-more:hover { color: var(--accent); }
.text-link span, .arrow-link span, .read-more span { display: none; }
.event-card, .listing-event, .journal-card, .team-card, .gallery-tile,
.social-card, .guide-card {
  transition: transform .42s cubic-bezier(.2,.75,.25,1), box-shadow .42s ease;
}
.event-card:hover, .listing-event:hover, .journal-card:hover, .team-card:hover,
.gallery-tile:hover, .social-card:not(.social-card-disabled):hover, .guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(44, 48, 48, .10);
}
.event-image, .listing-event-art, .journal-visual, .blog-mini-visual,
.gallery-tile, .team-portrait, .activity-card, .guide-visual { overflow: hidden; }
.event-image, .listing-event-art, .journal-visual, .blog-mini-visual,
.team-portrait, .guide-visual { transition: filter .4s ease; }
.event-card:hover .event-image, .listing-event:hover .listing-event-art,
.journal-card:hover .journal-visual, .blog-grid article:hover .blog-mini-visual,
.team-card:hover .team-portrait, .guide-card:hover .guide-visual {
  filter: saturate(1.08);
}
.activity-card { transition: transform .42s cubic-bezier(.2,.75,.25,1), box-shadow .42s ease, background-position .7s ease; }
.activity-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(39, 44, 42, .16); }
.activity-card h3, .activity-link { transition: transform .35s ease, color .3s ease; }
.activity-card:hover h3 { transform: translateY(-4px); }
.footer-column a, .footer-contact a { transition: color .22s ease, padding-left .22s ease; }
.footer-column a:hover, .footer-contact a:hover { color: #e0b6a6; padding-left: 3px; }

/* Subtle entrance motion, enabled only when JavaScript is available. */
body.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(19px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}
body.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Surface and typography refinements across the interior pages. */
.page-hero { position: relative; overflow: hidden; background-color: #f1ebe4; }
.page-hero h1 { font-size: clamp(49px, 5.4vw, 73px); line-height: 1.02; }
.page-hero .breadcrumb { color: #91877e; }
.section-pad { padding-block: clamp(72px, 8vw, 108px); }
.intro-section { background: rgba(255, 253, 250, .82); }
.events-section { background: #f0ebe5; }
.quote-band { background: var(--pine); }
.activities-section { background: #f8f4ef; }
.journal-section { background: #f1ebe4; }
.guestbook-section { background: #fffdfa; }
.site-footer { background: #24313a; }
.footer-brand-block .brand-logo { width: 51px; height: 51px; }
.footer-brand-block .brand-copy strong { color: #fffaf4; }
.footer-brand-block .brand-copy small { color: #c8bcb1; }
.footer-credit { color: #bdb1a7; }

@media (max-width: 1080px) {
  .header-inner { min-height: 84px; }
  .brand-logo { width: 49px; height: 49px; flex-basis: 49px; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; padding: 15px max(24px, calc((100vw - 900px) / 2)) 24px; background: rgba(249, 246, 241, .985); border-bottom: 1px solid var(--line); box-shadow: 0 22px 38px rgba(37, 42, 43, .10); align-items: stretch; gap: 0; flex-direction: column; }
  .main-navigation.is-open { display: flex; }
  .main-navigation > .nav-link, .nav-group > .nav-link { display: flex; width: 100%; padding: 14px 0; text-align: left; border-bottom: 1px solid rgba(125, 105, 91, .12); font-size: 13px; }
  .nav-group { height: auto; display: block; }
  .nav-dropdown { justify-content: space-between; }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 5px 0 9px 13px; background: transparent; backdrop-filter: none; }
  .nav-group.dropdown-open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 11px 12px; }
  .dropdown-menu a:hover { padding-left: 16px; background: #f0e8e0; }
  .header-account { align-self: flex-start; margin: 16px 0 0; }
  .nav-group:hover .dropdown-menu { transform: none; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 76px; }
  .brand-logo { width: 45px; height: 45px; flex-basis: 45px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 7px; }
  .hero-section::after { width: 75vw; right: -30vw; top: 26%; opacity: .045; }
  .page-hero::after { width: 62vw; right: -16vw; top: 6%; opacity: .04; }
  .hero-copy h1 { font-size: clamp(46px, 11.5vw, 62px); }
  .page-hero h1 { font-size: clamp(44px, 11vw, 58px); }
  .hero-art { border-radius: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  body.motion-ready [data-reveal] { opacity: 1; transform: none; }
}

/* Additional tactile details for the illustrated cards and hero composition. */
.art-sun { animation: sun-drift 10s ease-in-out infinite alternate; }
@keyframes sun-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-10px, 7px, 0); } }
.event-image .walk-art, .event-image .lab-art, .listing-event-art .walk-art,
.listing-event-art .lab-art, .event-detail-art .walk-art, .event-detail-art .lab-art,
.event-image .temple-art, .listing-event-art .temple-art {
  transition: transform .75s cubic-bezier(.2,.75,.25,1), filter .75s ease;
}
.event-card:hover .walk-art, .event-card:hover .lab-art,
.listing-event:hover .walk-art, .listing-event:hover .lab-art,
.event-card:hover .temple-art, .listing-event:hover .temple-art {
  transform: scale(1.045);
  filter: saturate(1.08);
}

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
}

/* Stoà Sicula — refinement 03: typography, generous cards and a more considered footer. */
.brand-copy strong {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .12em;
}
.brand-copy small {
  font-size: 8.5px;
  letter-spacing: .21em;
}
.brand { gap: 15px; }

/* Larger desktop navigation while keeping the header balanced. */
.main-navigation { gap: clamp(15px, 1.45vw, 22px); }
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.nav-dropdown { gap: 9px; }
.header-account {
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 12px;
}

/* Remove the floating badge; let the illustration breathe. */
.art-stamp { display: none !important; }
.label-top { font-size: 9px; letter-spacing: .16em; }
.section-kicker { letter-spacing: .14em; }

/* Activity cards lift as one complete surface, not only the text inside. */
.activity-card {
  border-radius: 3px;
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(38, 52, 61, .055);
  transition: transform .48s cubic-bezier(.2,.75,.25,1), box-shadow .48s ease, filter .48s ease;
}
.activity-card:hover,
.activity-card:focus-visible,
.activities-section .activity-card.is-visible:hover,
.activities-section .activity-card.is-visible:focus-visible {
  transform: translateY(-9px) scale(1.012);
  box-shadow: 0 25px 55px rgba(38, 52, 61, .17);
  filter: saturate(1.06);
}
.activity-card h3 { transition: color .35s ease; }
.activity-card:hover h3,
.activity-card:focus-visible h3 { transform: none; color: #fffdf8; }
.activity-card .activity-link { transition: letter-spacing .3s ease, opacity .3s ease; }
.activity-card:hover .activity-link,
.activity-card:focus-visible .activity-link { letter-spacing: .13em; opacity: .94; }

/* Blog cards: the hover surface has real breathing room around every text block. */
.journal-card {
  min-width: 0;
  padding: 17px 18px 19px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  transition: transform .42s cubic-bezier(.2,.75,.25,1), box-shadow .42s ease,
              background .32s ease, border-color .32s ease;
}
.journal-card:hover,
.journal-section .journal-card.is-visible:hover {
  transform: translateY(-6px);
  background: rgba(255, 253, 250, .94);
  border-color: rgba(182, 117, 97, .12);
  box-shadow: 0 22px 48px rgba(44, 48, 48, .085);
}
.journal-visual { margin-bottom: 22px; }
.journal-card .article-meta { margin: 0 0 10px; line-height: 1.5; }
.journal-card h3 { margin: 0 0 15px; padding: 0 1px; }
.journal-card h3 a { display: inline; }
.journal-card .read-more { display: inline-block; padding: 2px 1px; }

/* Team cards share one consistent frame and spacing; no isolated white hover tile. */
.team-grid { align-items: stretch; gap: 24px; }
.team-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 12px 16px;
  border: 1px solid rgba(125, 105, 91, .10);
  border-radius: 3px;
  background: rgba(255, 253, 250, .48);
  box-shadow: 0 7px 22px rgba(38, 52, 61, .025);
  transition: transform .42s cubic-bezier(.2,.75,.25,1), box-shadow .42s ease,
              background .32s ease, border-color .32s ease;
}
.team-card:hover,
.team-grid .team-card.is-visible:hover {
  transform: translateY(-7px);
  border-color: rgba(182, 117, 97, .22);
  background: rgba(255, 253, 250, .92);
  box-shadow: 0 20px 44px rgba(38, 52, 61, .09);
}
.team-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / .94;
  margin: 0 0 17px;
}
.team-role { margin: 0 3px 7px; font-size: 9px; }
.team-card h3 { margin: 0 3px 8px; font-size: 24px; line-height: 1.12; }
.team-card > p:last-child {
  margin: 0 3px;
  font-size: 12px;
  line-height: 1.65;
  min-height: 3.3em;
}
.team-note { margin-top: 34px; padding: 18px 22px; font-size: 12px; line-height: 1.7; }

/* Footer: clearer hierarchy, legible copy and recognizable social marks. */
.site-footer {
  background: #24313a;
  color: #f3eee7;
}
.footer-top {
  grid-template-columns: 1.45fr .8fr .9fr 1fr;
  gap: clamp(28px, 4vw, 58px);
  padding: 76px 0 66px;
}
.footer-brand-block .brand-logo { width: 54px; height: 54px; }
.footer-brand-block > p {
  max-width: 310px;
  margin: 24px 0 25px;
  color: #d0d0c8;
  font-size: 13px;
  line-height: 1.85;
}
.footer-column, .footer-contact { gap: 13px; }
.footer-column h3, .footer-contact h3 {
  margin: 2px 0 12px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: #fffaf4;
}
.footer-column a, .footer-contact > a, .footer-contact > span {
  color: #d0d3cf;
  font-size: 12.5px;
  line-height: 1.55;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-social a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(231, 219, 207, .26);
  border-radius: 50%;
  color: #ead8c8;
  background: rgba(255,255,255,.035);
  transition: color .28s ease, background .28s ease, border-color .28s ease, transform .28s ease;
}
.footer-social a:hover {
  color: #fffaf5;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.footer-social svg { display: block; width: 19px; height: 19px; }
.footer-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 9px 2px 7px;
  border: 0 !important;
  border-bottom: 1px solid rgba(220, 173, 151, .7) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f0c3ae !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: .025em;
  transition: color .25s ease, border-color .25s ease;
}
.footer-contact-cta:hover {
  padding-left: 0 !important;
  color: #fffaf5 !important;
  border-color: #fffaf5 !important;
}
.footer-bottom {
  min-height: 68px;
  color: #c4c9c5;
  font-size: 11px;
}
.footer-bottom > div { gap: 24px; }
.footer-bottom a { transition: color .22s ease; }
.footer-credit { color: #d4c0b3; }

@media (max-width: 1180px) {
  .main-navigation { gap: 14px; }
  .nav-link { font-size: 12px; }
  .brand-copy strong { font-size: 19px; }
  .footer-top { gap: 28px; }
}
@media (max-width: 1080px) {
  .brand-copy strong { font-size: 20px; }
  .nav-link { font-size: 13px; }
  .footer-top { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / 4; }
}
@media (max-width: 700px) {
  .brand-copy strong { font-size: 19px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .team-card { padding: 8px 8px 12px; }
  .team-portrait { aspect-ratio: 1 / 1.02; margin-bottom: 12px; }
  .team-card h3 { font-size: 19px; }
  .team-card > p:last-child { font-size: 11px; min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
  .footer-brand-block, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { font-size: 10px; row-gap: 12px; }
  .journal-card { padding: 15px 14px 17px; margin: 0; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 11px; }
  .team-portrait { aspect-ratio: 1 / .9; }
}
/* Database-backed content modules */
.public-flash{margin-top:18px;padding:13px 16px;border-left:3px solid #b87560;background:#fffaf4;color:#755748;font:13px/1.5 'DM Sans',sans-serif}.public-flash-success{border-color:#78917e;background:#edf4ef;color:#49634f}.public-flash-warning{border-color:#c19a56;background:#faf4e8;color:#826934}.public-flash-error{border-color:#b75f58;background:#fbefed;color:#914f49}
.database-event-grid,.database-article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.database-event-card{background:#fffdfa;box-shadow:0 14px 38px rgba(45,50,45,.06);transition:transform .35s ease,box-shadow .35s ease}.database-event-card:hover{transform:translateY(-7px);box-shadow:0 24px 50px rgba(45,50,45,.11)}.database-event-art{height:210px;display:flex;align-items:flex-start;justify-content:space-between;padding:18px;text-decoration:none;position:relative;overflow:hidden;background:linear-gradient(135deg,#c58a6d,#a4a68f 65%,#567369)}.database-event-card:nth-child(3n+2) .database-event-art{background:linear-gradient(135deg,#d19b79,#c9bd9d 58%,#607b6d)}.database-event-card:nth-child(3n) .database-event-art{background:linear-gradient(135deg,#a6aa91,#596f67)}.database-event-art:before{content:'';width:190px;height:190px;border-radius:50%;background:rgba(244,207,150,.74);position:absolute;right:12%;top:14%;transition:transform .6s ease}.database-event-card:hover .database-event-art:before{transform:scale(1.12) translate(-6px,6px)}.database-event-kicker{position:relative;z-index:1;background:rgba(250,246,239,.88);padding:7px 10px;color:#5c625b;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.database-event-art-mark{position:absolute;right:20px;bottom:18px;color:rgba(255,250,241,.74);font:600 16px 'Cormorant Garamond',serif;letter-spacing:.25em}.database-event-body{display:grid;grid-template-columns:68px minmax(0,1fr);gap:14px;padding:20px}.database-event-date{display:flex;flex-direction:column;align-items:center;color:#bd8069}.database-event-date strong{font:600 38px/.9 'Cormorant Garamond',serif}.database-event-date span{font-size:9px;line-height:1.5;letter-spacing:.1em;text-align:center;margin-top:5px}.database-event-body h3{font:600 25px/1.05 'Cormorant Garamond',serif;margin:8px 0}.database-event-body h3 a{color:#2d3a3e;text-decoration:none}.database-event-body p{font-size:12px;line-height:1.65;color:#777b73}.database-event-body .event-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:#85877e;margin-top:16px}.database-event-body .event-bottom a{color:#a46551;text-decoration:none;font-weight:700}
.event-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr);gap:clamp(30px,6vw,86px);align-items:start}.event-detail-copy{min-width:0}.event-detail-meta{display:flex;gap:20px;flex-wrap:wrap;border-bottom:1px solid #e6ddd3;padding-bottom:16px;margin-bottom:28px;color:#8b7768;font-size:12px}.event-address{padding:18px;background:#efebe3;color:#5c625b;font-size:13px;line-height:1.7}.event-booking-panel{background:#fffdfa;padding:26px;box-shadow:0 14px 40px rgba(40,45,40,.07);border-top:3px solid #b87560}.event-booking-panel h2{font:600 30px/1 'Cormorant Garamond',serif;margin:8px 0 12px}.event-booking-panel p{color:#777b73;font-size:12px;line-height:1.7}.event-booking-form{display:grid;gap:12px;margin-top:20px}.event-booking-form label{font-size:12px;font-weight:700;color:#46514d}.event-booking-form input{padding:12px;border:1px solid #ded6ce;background:#fff;font:14px 'DM Sans',sans-serif}.event-booking-form small,.booking-current small{font-size:10px;color:#89877f;line-height:1.6}.booking-current{display:flex;flex-direction:column;gap:10px;padding:16px;background:#f4f0eb;margin-top:18px}.booking-current strong{font:600 24px 'Cormorant Garamond',serif}.booking-current a{font-size:11px;color:#a46551;font-weight:700;text-decoration:none}.account-booking-list{max-width:980px;margin:0 auto}.account-booking-row{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid #e5ddd4}.account-booking-row h3{font:600 26px 'Cormorant Garamond',serif;margin:5px 0}.account-booking-row h3 a{color:#2d3a3e;text-decoration:none}.account-booking-row p{font-size:12px;color:#88867e;margin:4px 0}.account-booking-meta{display:flex;flex-direction:column;gap:7px}.account-booking-meta strong{font:600 24px 'Cormorant Garamond',serif}.account-booking-meta small{font-size:10px;color:#888}.account-booking-row .text-link{border:0;background:none;color:#a46551;font:600 11px 'DM Sans',sans-serif;cursor:pointer}.database-article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.database-article-card{background:#fffdfa;padding:28px;box-shadow:0 10px 30px rgba(45,50,45,.05);transition:transform .3s ease,box-shadow .3s ease}.database-article-card:hover{transform:translateY(-6px);box-shadow:0 20px 42px rgba(45,50,45,.1)}.database-article-card h2{font:600 30px/1.02 'Cormorant Garamond',serif;margin:14px 0}.database-article-card h2 a{color:#2d3a3e;text-decoration:none}.database-article-card p:not(.article-meta){font-size:12px;line-height:1.7;color:#7a7e77}.database-article-card .read-more{display:inline-block;margin-top:18px;color:#a46551;font-size:11px;font-weight:700;text-decoration:none}.restricted-label{display:block;font-size:10px;color:#9a735d;margin-top:12px}.article-reading{max-width:780px;margin:0 auto}.cms-rich-content{font-size:15px;line-height:1.9;color:#5f6862}.cms-rich-content h2,.cms-rich-content h3,.cms-rich-content h4{font-family:'Cormorant Garamond',serif;color:#2d3a3e;line-height:1.08;margin:1.6em 0 .55em}.cms-rich-content h2{font-size:38px}.cms-rich-content h3{font-size:30px}.cms-rich-content p{margin:0 0 1.2em}.cms-rich-content a{color:#a46551;text-decoration:underline;text-underline-offset:3px}.cms-rich-content blockquote{margin:28px 0;padding:8px 24px;border-left:3px solid #bd8069;color:#7b6d60;font:italic 22px/1.35 'Cormorant Garamond',serif}.cms-rich-content li{margin:.45em 0}.article-restricted-panel{padding:36px;background:#f0ece4;text-align:center}.article-restricted-panel h2{font:600 34px 'Cormorant Garamond',serif}.team-grid-dynamic .team-portrait-dynamic{overflow:hidden;display:grid;place-items:center}.team-portrait-dynamic img{width:100%;height:100%;object-fit:cover}.team-portrait-dynamic span{color:#f3e9dc;font:600 48px 'Cormorant Garamond',serif}.empty-content{padding:28px;background:#f2eee8;color:#777b73;text-align:center;font-size:13px}
@media(max-width:850px){.event-detail-layout{grid-template-columns:1fr}.database-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.database-event-grid,.database-article-grid{grid-template-columns:1fr}.database-event-art{height:180px}.account-booking-row{grid-template-columns:1fr;gap:10px}.account-booking-meta{flex-direction:row;align-items:center;flex-wrap:wrap}.account-booking-row .text-link{justify-self:start}}
.team-coming-soon{max-width:760px;margin:0 auto;padding:54px 30px;text-align:center;background:#f0ece4}.team-coming-soon h2{font:600 clamp(32px,5vw,48px)/1 'Cormorant Garamond',serif;color:#2c393d;margin:12px 0}.team-coming-soon p:not(.section-kicker){font-size:13px;line-height:1.75;color:#777d74;max-width:500px;margin:0 auto}

/* Stato lista d'attesa nel pannello eventi */
.booking-waitlist-note{padding:12px 14px;background:#f4efe5;border-left:2px solid #bd8069;color:#7d6858!important}


/* Archivio eventi, locandine e componenti arricchiti dell'editor */
.events-archive-nav{display:flex;flex-wrap:wrap;gap:10px}
.events-archive-nav a{display:inline-flex;gap:9px;align-items:center;padding:9px 13px;border:1px solid #e3d8ce;color:#7d6255;text-decoration:none;font-size:11px;transition:background .22s,color .22s,border-color .22s}
.events-archive-nav a:hover{background:#a96f5b;border-color:#a96f5b;color:#fff}
.events-archive-nav span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:rgba(170,112,92,.12);font-size:10px}
.events-archive-section{background:#f1ede7;padding-top:72px}
.events-archive-section .events-toolbar{margin-bottom:28px}
.events-archive-section .page-lead{margin:8px 0 0;font-size:13px;color:#827e75}
.database-event-art{display:block;position:relative;height:215px;overflow:hidden;background:linear-gradient(135deg,#c58a6d,#a4a68f 65%,#567369)}
.database-event-art.has-poster{background:#e9e2d9}
.database-event-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s ease}
.database-event-card:hover .database-event-art>img{transform:scale(1.045);filter:saturate(1.04)}
.database-event-concluded-label{position:absolute;right:13px;bottom:13px;padding:7px 10px;background:rgba(42,52,48,.84);color:#fff;font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.database-event-card.is-concluded{opacity:.93}
.database-event-card.is-concluded .database-event-art>img{filter:saturate(.78)}
.database-event-card.is-concluded:hover .database-event-art>img{filter:saturate(1)}
.event-concluded-text{font-size:10px;color:#7d8178;letter-spacing:.03em}
.event-poster-band{padding:26px 0 0;background:#f7f3ee}
.event-poster-band .container{max-width:1040px}
.event-poster-band img{display:block;max-width:100%;max-height:620px;width:auto;height:auto;margin:0 auto;object-fit:contain;box-shadow:0 18px 50px rgba(45,43,37,.12)}
.cms-rich-content img{max-width:100%;height:auto;display:block}
.cms-rich-content figure.stoa-content-image{margin:30px auto 34px;max-width:100%}
.cms-rich-content figure.stoa-content-image img{width:100%;max-height:680px;object-fit:contain;background:#f0ece6}
.cms-rich-content figure.stoa-content-image figcaption{margin-top:8px;text-align:center;font-size:11px;color:#89847b;font-style:italic}
.cms-rich-content .stoa-content-box{margin:26px 0;padding:23px 26px;border-left:3px solid #b87560;background:#f3eee8;color:#5d635d}
.cms-rich-content .stoa-content-box>strong{display:block;margin-bottom:7px;color:#35423d;font:600 22px 'Cormorant Garamond',serif}
.cms-rich-content .stoa-content-box p{margin:0;font-size:14px;line-height:1.8}
.cms-rich-content .stoa-content-box-highlight{background:#e9eee8;border-left-color:#7f927f}
.cms-rich-content .stoa-content-icon{display:inline-grid;place-items:center;vertical-align:middle;width:34px;height:34px;margin:0 5px 4px 0;border-radius:50%;background:#f0e2d8;color:#a76f5a;font-size:17px;line-height:1}
@media(max-width:700px){.events-toolbar{align-items:start;flex-direction:column;gap:16px}.events-archive-nav{width:100%}.events-archive-nav a{flex:1;justify-content:center}.event-poster-band{padding-top:14px}.cms-rich-content .stoa-content-box{padding:18px}}

.database-event-art.has-poster:before{display:none}
.database-event-art.has-poster>img{object-fit:contain;padding:0;background:#f1ede7}

/* Componenti editoriali dell'editor avanzato */
.cms-rich-content .stoa-content-button{display:inline-flex;align-items:center;justify-content:center;margin:8px 0;padding:13px 23px;background:#b87560;color:#fffaf5!important;text-decoration:none!important;border-radius:2px;font:600 11px 'DM Sans',sans-serif;letter-spacing:.04em;transition:background .2s,transform .2s}
.cms-rich-content .stoa-content-button:hover{background:#9e654f;transform:translateY(-2px)}
.cms-rich-content .stoa-content-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:28px 0}
.cms-rich-content .stoa-content-column{min-width:0;padding:22px;background:#f7f3ee;border:1px solid #e9e0d7}
.cms-rich-content .stoa-content-column h3{margin-top:0}
.cms-rich-content .stoa-content-box{border-radius:2px}
.cms-rich-content .stoa-content-image{max-width:100%}
@media(max-width:700px){.cms-rich-content .stoa-content-columns{grid-template-columns:1fr}.cms-rich-content .stoa-content-column{padding:18px}}


/* Copertine editoriali e condivisione social */
.database-article-cover{display:block;overflow:hidden;aspect-ratio:16/9;margin:-1px -1px 20px;border-radius:3px 3px 0 0;background:#eee8df}
.database-article-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .5s}
.database-article-card:hover .database-article-cover img{transform:scale(1.045);filter:saturate(1.04)}
.article-featured-cover{max-width:1040px;margin:0 auto 14px}
.article-featured-cover img{display:block;width:100%;max-height:540px;object-fit:cover;aspect-ratio:16/7;background:#eee8df}
.article-share-section{padding:10px 0 0}
.article-share-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #e6ddd4;border-bottom:1px solid #e6ddd4}
.article-share-bar>span{font:600 11px 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#817a70}
.article-share-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.share-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #e5dbd1;background:#fffdfa;color:#46534d;text-decoration:none;font:600 11px 'DM Sans',sans-serif;cursor:pointer;transition:transform .2s,border-color .2s,background .2s,color .2s}
.share-button svg{width:17px;height:17px;flex:0 0 17px}
.share-button:hover{transform:translateY(-2px);border-color:#bd806b;background:#f8f1eb;color:#9b604d}
.share-feedback{display:block;min-height:16px;margin-top:5px;color:#68806c;font:11px 'DM Sans',sans-serif;text-align:right}
@media(max-width:700px){.article-share-bar{align-items:flex-start;flex-direction:column}.article-share-actions{width:100%}.share-button{flex:1 1 auto;justify-content:center}.article-featured-cover img{aspect-ratio:4/3}}


/* Aggiornamento 06: enfasi titolo, data articolo e condivisione a fine lettura. */
.page-hero h1 .page-title-accent{color:var(--accent);font-style:italic;font-weight:500} .article-published-date{margin:18px 0 0;color:#8a8177;font:500 11px 'DM Sans',sans-serif;letter-spacing:.04em}
.article-share-section{margin:18px 0 58px;padding:0}.article-share-bar{padding:20px 0}.article-share-bar>span{font-size:11px}.article-share-actions{gap:10px}
.cms-rich-content .stoa-text-accent{color:#b87560;font-style:italic;font-weight:600}


/* Stoà Sicula · Gallery, partner e contatti */
.partner-strip{padding:2.25rem 0 2rem;background:#f2ede7;border-top:1px solid rgba(39,48,53,.08);overflow:hidden}
.partner-strip-label{text-align:center;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:#7d7770;margin:0 0 1.35rem}
.partner-strip-viewport{position:relative;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.partner-strip-track{display:flex;width:max-content;animation:partner-marquee 48s linear infinite;will-change:transform}
.partner-strip-group{display:flex;flex:0 0 auto;align-items:center;gap:clamp(2.25rem,5vw,5rem);padding:0 clamp(1.1rem,2.5vw,2.5rem)}
.partner-strip-group a,.partner-strip-logo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:100px;min-height:64px;opacity:.78;transition:opacity .25s ease,transform .25s ease}
.partner-strip-group a:hover,.partner-strip-group a:focus-visible{opacity:1;transform:translateY(-3px);outline-offset:5px}
.partner-strip-group img{display:block;max-width:158px;max-height:62px;width:auto;height:auto;object-fit:contain;filter:grayscale(1);transition:filter .25s ease}
.partner-strip-group a:hover img,.partner-strip-group a:focus-visible img{filter:none}
.partner-strip-viewport:hover .partner-strip-track,.partner-strip-viewport:focus-within .partner-strip-track{animation-play-state:paused}
@keyframes partner-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.account-birthday-wrap{padding:1.2rem 0 0;background:#faf8f5}
.account-birthday-banner{display:flex;align-items:center;gap:1.1rem;padding:1.35rem 1.6rem;border:1px solid rgba(154,96,79,.2);border-radius:16px;background:linear-gradient(110deg,#f4e9df,#fbf7f1);color:#34413e}
.account-birthday-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:#9a604f;color:#fff;font-size:1.25rem}
.account-birthday-kicker{margin:0 0 .2rem;color:#9a604f;font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.account-birthday-banner h2{margin:0 0 .25rem;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(1.6rem,3vw,2.1rem);font-weight:600}
.account-birthday-banner p:last-child{margin:0;color:#625d57;font-size:.92rem;line-height:1.55}
@media(prefers-reduced-motion:reduce){.partner-strip-track{animation:none;transform:none}.partner-strip-viewport{overflow-x:auto;mask-image:none}.partner-strip-group:nth-child(2){display:none}}
@media(max-width:560px){.partner-strip{padding:1.8rem 0 1.5rem}.partner-strip-group{gap:1.6rem}.partner-strip-group img{max-width:112px;max-height:46px}.account-birthday-banner{align-items:flex-start;padding:1.1rem;gap:.8rem}.account-birthday-mark{flex-basis:38px;width:38px;height:38px}}
.gallery-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.gallery-album-card{display:block;color:inherit;text-decoration:none;min-width:0}
.gallery-album-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:#eee7df;border-radius:3px}
.gallery-album-image img{width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.gallery-album-card:hover .gallery-album-image img{transform:scale(1.045)}
.gallery-album-image>span{position:absolute;right:14px;bottom:14px;padding:7px 11px;background:rgba(35,48,55,.82);color:#fff;border-radius:2px;font-size:.76rem}
.gallery-album-copy{padding:1.05rem .25rem 0}
.gallery-album-copy h2{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:600;margin:0 0 .3rem}
.gallery-album-copy time{font-size:.78rem;color:#a96f5e}
.gallery-album-copy p{color:#74716e;line-height:1.65;margin:.55rem 0 0}
.gallery-photo-grid{columns:3 260px;column-gap:1.1rem}
.gallery-photo{break-inside:avoid;margin:0 0 1.1rem;background:#f6f2ed;padding:.45rem;border:1px solid rgba(35,48,55,.08)}
.gallery-photo img{width:100%;height:auto;display:block;transition:filter .25s ease}
.gallery-photo a:hover img{filter:brightness(.94)}
.gallery-photo figcaption{font-size:.84rem;color:#77716b;padding:.6rem .45rem .25rem}
.gallery-empty{grid-column:1/-1;padding:4rem 1rem;text-align:center;background:#f7f3ee}
.contact-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:clamp(2rem,6vw,6rem);align-items:start}
.contact-details h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2.1rem,4vw,3.3rem);font-weight:500;line-height:1.08;margin:.5rem 0 1.2rem}
.contact-details h2 em{color:#b67561}
.contact-details>a{display:block;margin:.85rem 0;color:#33434a;text-decoration:none}
.contact-details>a:hover{color:#b67561}
.contact-note{margin-top:2rem;color:#807a74;max-width:28rem;line-height:1.7}
.contact-form{background:#fbf9f6;border:1px solid rgba(37,49,55,.1);padding:clamp(1.25rem,3vw,2.2rem);display:grid;gap:1rem}
.contact-form .admin-field input,.contact-form .admin-field textarea{width:100%;max-width:100%;box-sizing:border-box}
.contact-privacy{align-items:flex-start;line-height:1.55;font-size:.88rem}
.contact-form-help{font-size:.78rem;color:#817a73;margin:0}
.contact-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.contact-message-meta{display:flex;flex-wrap:wrap;gap:1rem;color:#7b756f;font-size:.88rem;padding-bottom:1.25rem;border-bottom:1px solid rgba(30,40,45,.12)}
.contact-message-body{padding:1.5rem 0;line-height:1.8;white-space:normal;overflow-wrap:anywhere}
@media(max-width:850px){.gallery-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-layout{grid-template-columns:1fr;gap:2rem}}
@media(max-width:560px){.gallery-album-grid{grid-template-columns:1fr}.partner-strip-logos{gap:1.2rem}.partner-strip-logos img{max-width:112px;max-height:46px}}


/* Immagini editoriali: misure e allineamento scelti dall'editor */
.cms-rich-content figure.stoa-content-image{box-sizing:border-box;max-width:100%;}
.cms-rich-content figure.stoa-content-image.stoa-image-size-small{width:35%;}
.cms-rich-content figure.stoa-content-image.stoa-image-size-medium{width:55%;}
.cms-rich-content figure.stoa-content-image.stoa-image-size-large{width:75%;}
.cms-rich-content figure.stoa-content-image.stoa-image-size-full{width:100%;}
.cms-rich-content figure.stoa-content-image.stoa-image-align-center{float:none;display:block;margin:30px auto 34px;clear:both;}
.cms-rich-content figure.stoa-content-image.stoa-image-align-left{float:left;margin:10px 28px 18px 0;clear:left;}
.cms-rich-content figure.stoa-content-image.stoa-image-align-right{float:right;margin:10px 0 18px 28px;clear:right;}
.cms-rich-content figure.stoa-content-image img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:#f0ece6;}
.cms-rich-content figure.stoa-content-image figcaption{padding:8px 3px 0;text-align:center;font-size:12px;line-height:1.55;color:#89847b;font-style:italic;}
.cms-rich-content h2,.cms-rich-content h3,.cms-rich-content hr{clear:both;}
@media(max-width:700px){
 .cms-rich-content figure.stoa-content-image.stoa-image-size-small,
 .cms-rich-content figure.stoa-content-image.stoa-image-size-medium,
 .cms-rich-content figure.stoa-content-image.stoa-image-size-large,
 .cms-rich-content figure.stoa-content-image.stoa-image-size-full{width:100%;max-width:100%;}
 .cms-rich-content figure.stoa-content-image.stoa-image-align-left,
 .cms-rich-content figure.stoa-content-image.stoa-image-align-right{float:none;display:block;margin:24px auto;clear:both;}
}


/* Aggiornamento 10 · Ricerca editoriale, caricamento Media rapido e lettura con sidebar */
.article-filters{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(4,minmax(120px,1fr)) auto;gap:12px;align-items:end;padding:18px}
.article-filters label{display:grid;gap:6px;color:#6f7169;font-size:10px;font-weight:700;letter-spacing:.04em}
.article-filters input,.article-filters select{width:100%;min-width:0;min-height:42px;padding:10px 11px;border:1px solid #ded7ce;background:#fffdfa;color:#39443f;font:12px 'DM Sans',sans-serif}
.article-filter-actions{display:flex;gap:8px;align-items:center}
.article-filter-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 18px 15px;color:#858177;font-size:10px}
.article-filter-summary strong{color:#46544d;font-size:11px}
.article-pagination{display:flex;align-items:center;justify-content:center;gap:22px;padding:18px;border-top:1px solid #eee8e0;color:#817b72;font-size:11px}
.article-pagination a{color:#a46551;text-decoration:none;font-weight:700}
.article-pagination a:hover{text-decoration:underline;text-underline-offset:3px}
.cover-quick-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px;padding:13px 15px;border:1px dashed #d6c5b8;background:#faf7f2;transition:border-color .2s,background .2s}
.cover-quick-upload.is-dragover{border-color:#b87560;background:#f6ece5}
.cover-quick-upload.is-uploading{opacity:.72;pointer-events:none}
.cover-quick-upload [data-cover-upload-status]{color:#817b72;font-size:11px;line-height:1.5}
.editor-quick-upload{display:flex;align-items:center;justify-content:center;min-height:112px;margin:14px 0;padding:18px;border:1px dashed #d2bdae;background:#faf6f1;text-align:center;transition:background .2s,border-color .2s}
.editor-quick-upload.is-dragover{background:#f1e6dc;border-color:#b87560}
.editor-quick-upload.is-uploading{opacity:.65;pointer-events:none}
.editor-quick-upload>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}
.editor-quick-upload strong{display:block;width:100%;color:#435149;font:600 17px 'Cormorant Garamond',serif}
.editor-quick-upload span,.editor-quick-upload small{color:#837e74;font-size:10px}
.editor-quick-upload small{display:block;width:100%}
.editor-quick-upload [data-editor-upload-status]{width:100%;margin:7px 0 0;color:#728474;font-size:11px}
.editor-media-grid:empty{display:none}
.editor-media-choice[hidden]{display:none!important}
.article-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:clamp(34px,5vw,76px);align-items:start}
.article-main-column{min-width:0}
.article-main-column .article-reading{max-width:none;margin:0}
.article-sidebar{position:sticky;top:112px;display:grid;gap:18px}
.article-sidebar-panel,.article-sidebar-cta{padding:22px;background:#fffdfa;border:1px solid #ebe4dc;box-shadow:0 9px 28px rgba(40,46,41,.045)}
.article-sidebar-panel h2,.article-sidebar-cta h2{margin:0 0 17px;color:#2d3a3e;font:500 27px/1.05 'Cormorant Garamond',serif}
.article-sidebar-panel h2 em,.article-sidebar-cta h2 em{color:#b87560}
.article-sidebar-links{display:grid;gap:13px}
.article-sidebar-item{display:grid;grid-template-columns:74px minmax(0,1fr);gap:11px;align-items:center;padding-bottom:12px;border-bottom:1px solid #eee8e0;color:inherit;text-decoration:none}
.article-sidebar-item:last-child{padding-bottom:0;border-bottom:0}
.article-sidebar-item img{width:74px;height:64px;object-fit:cover;background:#eee7df}
.article-sidebar-item span{display:grid;gap:4px;min-width:0}
.article-sidebar-item small{color:#a56d58;font-size:8px;letter-spacing:.1em;text-transform:uppercase}
.article-sidebar-item strong{color:#3a4640;font:600 16px/1.12 'Cormorant Garamond',serif}
.article-sidebar-item time{color:#8d887f;font-size:9px}
.article-sidebar-empty,.article-sidebar-cta p{color:#7c7e76;font-size:11px;line-height:1.7}
.article-sidebar-more,.article-sidebar-cta .text-link{display:inline-block;margin-top:15px;color:#a46551;font-size:10px;font-weight:700;text-decoration:none}
.article-sidebar-cta{background:#eef0e9;border-color:#e5e8df}
.article-sidebar-events{display:grid;gap:12px}
.article-sidebar-events a{display:grid;gap:4px;color:#46544d;text-decoration:none}
.article-sidebar-events strong{font:600 16px/1.15 'Cormorant Garamond',serif}
.article-sidebar-events small{color:#88857b;font-size:9px}
.article-share-section{margin:26px 0 20px!important;padding:0!important}
.article-share-section .article-share-bar{padding:15px 0}
.article-comments-section{padding:10px 0 54px!important;margin:0!important;border-top:0}
.article-comments-section .article-comments-layout{grid-template-columns:minmax(0,1fr);gap:20px}
.article-comments-section .community-aside{max-width:none}
.article-comments-section .community-form-card{padding:20px;background:#f7f3ee;border:1px solid #ebe4dc}
.article-comments-section .article-comments-intro{margin-bottom:17px}
.article-empty-state{max-width:650px;padding:54px 28px;text-align:center;background:#fffdfa;border:1px solid #ece5dd;box-shadow:0 18px 50px rgba(44,49,43,.05)}
.article-empty-mark{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 16px;border-radius:50%;background:#283943;color:#f4eadd;font:500 22px 'Cormorant Garamond',serif}
.article-empty-state h2{margin:0 0 12px;color:#2d3a3e;font:500 clamp(30px,4vw,42px)/1.05 'Cormorant Garamond',serif}
.article-empty-state p:not(.section-kicker){max-width:470px;margin:0 auto 22px;color:#7e7d74;font-size:13px;line-height:1.8}
.database-article-cover-placeholder{display:flex;align-items:flex-end;padding:18px;background:linear-gradient(140deg,#d2a184,#a4a68f 58%,#4e6c61);color:#fff8ef;text-decoration:none}
.database-article-card:nth-child(3n+2) .database-article-cover-placeholder{background:linear-gradient(135deg,#b4b69f,#6b8175 65%,#2d4542)}
.database-article-card:nth-child(3n) .database-article-cover-placeholder{background:linear-gradient(135deg,#d4b88e,#b77b61 60%,#475f55)}
.database-article-cover-placeholder span{font-size:9px;letter-spacing:.14em;text-transform:uppercase}
@media(max-width:1100px){.article-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.article-filter-search{grid-column:span 2}.article-detail-grid{grid-template-columns:minmax(0,1fr) 260px;gap:30px}}
@media(max-width:850px){.article-detail-grid{grid-template-columns:1fr}.article-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.article-sidebar-panel:first-child{grid-column:1/-1}.article-sidebar-cta{align-self:start}}
@media(max-width:650px){.article-filters{grid-template-columns:1fr 1fr;padding:14px}.article-filter-search{grid-column:1/-1}.article-filter-actions{grid-column:1/-1}.article-filter-actions .admin-button{flex:1}.article-sidebar{grid-template-columns:1fr}.article-sidebar-panel:first-child{grid-column:auto}.article-share-section{margin-top:20px!important}.article-comments-section{padding-top:5px!important}.cover-quick-upload{align-items:flex-start;flex-direction:column}}

.cover-quick-upload [data-cover-alt]{flex:1 1 220px;min-width:180px;min-height:38px;padding:9px 11px;border:1px solid #e2d8ce;background:#fffdfa;color:#46534d;font:12px 'DM Sans',sans-serif}
@media(max-width:650px){.cover-quick-upload [data-cover-alt]{width:100%;min-width:0}}

.footer-install-button{display:inline-flex;align-items:center;justify-content:center;margin:10px 0 4px;padding:10px 15px;border:1px solid rgba(255,255,255,.42);border-radius:3px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.footer-install-button:hover{background:rgba(255,255,255,.1);border-color:#c78a70;transform:translateY(-2px)}.footer-install-hint{max-width:240px;margin:4px 0 0;font-size:11px;line-height:1.5;color:rgba(255,255,255,.68)}

/* Contatti: gerarchia più chiara, moduli coordinati con il linguaggio grafico del sito */
.contact-layout{gap:clamp(2rem,5vw,5rem);align-items:stretch}
.contact-details{background:#f4eee8;border:1px solid rgba(37,49,55,.08);padding:clamp(1.5rem,3vw,2.6rem);min-height:100%;box-sizing:border-box}
.contact-details>p:first-child{letter-spacing:.16em;text-transform:uppercase;font-size:.72rem;color:#a66d59;font-weight:700}
.contact-details>p:not(:first-child){color:#77716b;line-height:1.7}
.contact-details>a{display:flex;align-items:center;gap:.65rem;width:fit-content;margin:1rem 0;padding:.72rem 1rem;border:1px solid rgba(154,96,79,.22);background:rgba(255,253,250,.7);color:#39474a;font-size:.92rem;transition:background .2s,border-color .2s,transform .2s}
.contact-details>a:hover{background:#fffdfa;border-color:#b67561;transform:translateX(3px)}
.contact-form{background:#fffdfa;border:1px solid rgba(37,49,55,.12);box-shadow:0 16px 42px rgba(50,42,35,.06);padding:clamp(1.4rem,3vw,2.5rem);gap:1.15rem}
.contact-form .admin-field{gap:.45rem}
.contact-form .admin-field label{font-size:.78rem;letter-spacing:.02em;color:#4b5755}
.contact-form .admin-field input,.contact-form .admin-field textarea{border:1px solid #e2d9d0;background:#fcfaf7;padding:.9rem 1rem;border-radius:2px;font:inherit;color:#344148;transition:border-color .2s,box-shadow .2s}
.contact-form .admin-field input:focus,.contact-form .admin-field textarea:focus{outline:0;border-color:#b67561;box-shadow:0 0 0 3px rgba(182,117,97,.12)}
.contact-form>button{justify-self:start;min-width:180px}
.contact-form-help{color:#8b837b}
@media(max-width:850px){.contact-details{min-height:0}.contact-form>button{width:100%}}
