/*
Theme Name: Officina dei Talenti Vicenza
Theme URI: https://www.officinadeitalentivicenza.it
Author: Officina dei Talenti Vicenza
Author URI: https://www.officinadeitalentivicenza.it
Description: Tema custom elegante per Officina dei Talenti Vicenza.
Version: 1.1.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: officina-wow
*/

:root {
  --odt-bg: #16151d;
  --odt-bg-soft: #23212d;
  --odt-card: rgba(42, 39, 55, 0.7);
  --odt-text: #f3efea;
  --odt-muted: #c6beb2;
  --odt-red: #c41212;
  --odt-gold: #c8a96b;
  --odt-purple: #514072;
  --odt-white: #ffffff;
  --odt-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--odt-text);
  background:
    radial-gradient(circle at 0% 5%, rgba(200, 169, 107, 0.16) 0%, rgba(200, 169, 107, 0) 28%),
    radial-gradient(circle at 100% 0%, rgba(81, 64, 114, 0.28) 0%, rgba(81, 64, 114, 0) 34%),
    linear-gradient(155deg, #121119 0%, #1a1825 45%, #16151d 100%);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

a {
  color: var(--odt-gold);
  text-decoration: none;
}

a:hover {
  color: var(--odt-red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(22, 21, 29, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 107, 0.24);
  box-shadow: 0 12px 30px rgba(11, 8, 17, 0.38);
}

.container {
  width: min(var(--odt-max), 92vw);
  margin: 0 auto;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  display: block;
  max-height: 66px;
  width: auto;
  max-width: min(148px, 30vw);
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(8, 8, 12, 0.42);
}

.brand-text {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--odt-white);
  text-shadow: 0 2px 18px rgba(200, 169, 107, 0.16);
}

.brand-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--odt-muted);
}

.brand--homelink {
  text-decoration: none;
  color: inherit;
  outline-offset: 3px;
  border-radius: 8px;
}

.brand--homelink:hover .brand-text,
.brand--homelink:focus-visible .brand-text {
  color: var(--odt-gold);
}

.brand--homelink:focus-visible {
  outline: 2px solid rgba(200, 169, 107, 0.65);
}

/* Menu WP nella barra da desktop; mobile → hamburger + drawer sotto */
.site-nav--bar {
  display: none;
}

@media (min-width: 768px) {
  .header-wrap {
    justify-content: flex-start;
    gap: clamp(1rem, 2.2vw, 2.25rem);
  }

  .site-nav--bar {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
  }

  .site-nav--bar > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav--bar > ul > li {
    position: relative;
    margin: 0;
    padding: 0;
  }

  .site-nav--bar a {
    display: block;
    padding: 0.45rem 0.68rem;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }

  .site-nav--bar > ul > li > a {
    color: rgba(246, 240, 233, 0.92);
    white-space: nowrap;
  }

  .site-nav--bar a:hover,
  .site-nav--bar a:focus-visible {
    color: var(--odt-gold);
    background: rgba(200, 169, 107, 0.1);
    outline: none;
  }

  .site-nav--bar li.current-menu-item > a,
  .site-nav--bar li.current_page_item > a {
    color: var(--odt-gold);
    background: rgba(200, 169, 107, 0.12);
    box-shadow: inset 0 0 0 1px rgba(200, 169, 107, 0.25);
  }

  .site-nav--bar ul ul {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 12rem;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: linear-gradient(165deg, rgba(40, 36, 52, 0.98), rgba(22, 21, 29, 0.99));
    border: 1px solid rgba(200, 169, 107, 0.22);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 320;
  }

  .site-nav--bar ul ul ul {
    top: -0.35rem;
    left: calc(100% + 6px);
  }

  .site-nav--bar li:hover > ul,
  .site-nav--bar li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav--bar ul ul a {
    padding: 0.42rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(246, 240, 233, 0.9);
  }

  .site-nav--bar ul ul a:hover,
  .site-nav--bar ul ul a:focus-visible {
    background: rgba(200, 169, 107, 0.12);
  }

  .nav-toggle {
    display: none !important;
  }

  .site-nav-drawer {
    display: none !important;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .site-nav--bar ul ul {
    transition: none;
    transform: none;
  }
}

/* Hamburger + drawer (solo sotto ~768px) */
.site-header__bar {
  position: relative;
  z-index: 160;
}

.nav-toggle {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;

  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border-radius: 14px;
  color: inherit;
  border: 1px solid rgba(200, 169, 107, 0.26);

  background: linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);

  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 11px;
  border: 1px solid rgba(200, 169, 107, 0.11);
  pointer-events: none;
  opacity: 0.95;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: linear-gradient(
    155deg,
    rgba(200, 169, 107, 0.16),
    rgba(255, 255, 255, 0.05),
    rgba(126, 230, 250, 0.04)
  );
  border-color: rgba(200, 169, 107, 0.42);
  box-shadow:
    0 0 24px rgba(200, 169, 107, 0.14),
    0 4px 18px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(126, 230, 250, 0.45);
  outline-offset: 2px;
}

.nav-toggle__bar {
  position: relative;
  z-index: 1;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--odt-gold), rgba(246, 240, 233, 0.95));
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.site-header--nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header--nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header--nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle,
  .nav-toggle__bar {
    transition: none;
  }

  .nav-toggle:active {
    transform: none;
  }
}

.site-nav-drawer {
  position: fixed;
  top: var(--site-header-offset, 5.5rem);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 0;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s step-end;
}

body.ow-nav-lock .site-nav-drawer {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s step-start;
}

.site-nav-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 10, 0.62);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ow-nav-lock .site-nav-drawer__scrim {
  opacity: 1;
}

.site-nav-drawer__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 22.5rem;
  margin: 0 auto;
  padding: clamp(1.15rem, 4.5vh, 2.25rem) clamp(1rem, 4vw, 1.35rem) 2.5rem;
  max-height: min(100%, calc(100vh - var(--site-header-offset, 5.5rem)));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  display: flex;
  justify-content: center;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  filter: blur(2px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease, filter 0.42s ease;
}

body.ow-nav-lock .site-nav-drawer__stage {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.site-nav-drawer__card {
  position: relative;
  width: 100%;
  border-radius: 22px;
  padding: 1.35rem 1.2rem 1.15rem;
  background: linear-gradient(
    165deg,
    rgba(40, 36, 52, 0.97) 0%,
    rgba(24, 22, 33, 0.98) 45%,
    rgba(16, 14, 24, 0.99) 100%
  );
  border: 1px solid rgba(200, 169, 107, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(200, 169, 107, 0.07);
  overflow: hidden;
}

.site-nav-drawer__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 12% 0%, rgba(200, 169, 107, 0.16), transparent 52%),
    radial-gradient(90% 60% at 100% 100%, rgba(126, 230, 250, 0.06), transparent 55%);
  pointer-events: none;
  opacity: 0.85;
}

.site-nav-drawer__card-glint {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.07) 48%,
    rgba(255, 255, 255, 0.02) 52%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(8deg);
  animation: odt-drawer-glint 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes odt-drawer-glint {
  0%,
  70% {
    transform: translateX(-100%) rotate(8deg);
  }
  85% {
    transform: translateX(55%) rotate(8deg);
  }
  100% {
    transform: translateX(100%) rotate(8deg);
  }
}

.site-nav-drawer__intro {
  position: relative;
  z-index: 1;
  padding: 0.15rem 0.35rem 1.05rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav-drawer__eyebrow {
  margin: 0 0 0.35rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 240, 233, 0.45);
}

.site-nav-drawer__title {
  margin: 0;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--odt-text);
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.site-nav-drawer__tag {
  display: inline-block;
  margin: 0.55rem 0 0;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--odt-gold);
  background: rgba(200, 169, 107, 0.1);
  border: 1px solid rgba(200, 169, 107, 0.22);
}

.site-nav-drawer .site-nav--drawer {
  position: relative;
  z-index: 1;
}

.site-nav--drawer ul,
.site-nav.site-nav--drawer > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
}

.site-nav--drawer > ul > li {
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(1) {
  transition-delay: 0.06s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(2) {
  transition-delay: 0.1s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(3) {
  transition-delay: 0.14s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(4) {
  transition-delay: 0.18s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(5) {
  transition-delay: 0.22s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(6) {
  transition-delay: 0.26s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(7) {
  transition-delay: 0.3s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(8) {
  transition-delay: 0.34s;
}
body.ow-nav-lock .site-nav--drawer > ul > li:nth-child(n + 9) {
  transition-delay: 0.38s;
}

body.ow-nav-lock .site-nav--drawer > ul > li {
  opacity: 1;
  transform: translateY(0);
}

.site-nav--drawer ul ul {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  padding: 0.35rem 0 0.45rem 1rem;
  border-left: 1px solid rgba(200, 169, 107, 0.18);
  gap: 0.15rem;
}

.site-nav--drawer ul ul li {
  border-bottom: none;
}

.site-nav--drawer ul ul > li > a::after {
  display: none;
}

.site-nav--drawer a {
  position: relative;
  display: block;
  padding: 0.88rem 0.82rem;
  margin: 0;
  border-radius: 14px;

  font-size: clamp(1.02rem, 3.8vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--odt-text);

  transition: background 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.28s ease, box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav--drawer > ul > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.site-nav--drawer > ul > li > a::after {
  content: "›";
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(200, 169, 107, 0.35);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.28s ease, opacity 0.28s ease;
}

.site-nav--drawer ul ul a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.48rem 0.55rem;
  color: rgba(246, 240, 233, 0.88);
}

.site-nav--drawer a:hover,
.site-nav--drawer a:focus-visible {
  color: var(--odt-gold);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 107, 0.14),
    rgba(126, 230, 250, 0.05),
    rgba(200, 169, 107, 0.06)
  );
  box-shadow: 0 0 28px rgba(200, 169, 107, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
  text-shadow: 0 0 18px rgba(200, 169, 107, 0.22);
}

.site-nav--drawer > ul > li > a:hover::after,
.site-nav--drawer > ul > li > a:focus-visible::after {
  color: rgba(246, 240, 233, 0.75);
  transform: translateX(4px);
}

.site-nav--drawer li.current_page_item > a,
.site-nav--drawer li.current-menu-item > a {
  color: var(--odt-gold);
  background: rgba(200, 169, 107, 0.1);
  box-shadow: inset 0 0 0 1px rgba(200, 169, 107, 0.22), 0 0 20px rgba(200, 169, 107, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav-drawer {
    transition: none;
  }

  .site-nav-drawer__scrim {
    transition: none;
  }

  .site-nav-drawer__stage {
    transition: none;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .site-nav-drawer__card-glint {
    animation: none;
  }

  .site-nav--drawer > ul > li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav--drawer > ul > li:nth-child(n) {
    transition-delay: 0s !important;
  }

  .site-nav--drawer a,
  .site-nav--drawer > ul > li > a::after {
    transition: none;
  }
}

body.ow-nav-lock {
  overflow: hidden;
}

.hero {
  padding: 6.2rem 0 3.6rem;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 30%, rgba(200, 169, 107, 0.13), rgba(200, 169, 107, 0) 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Card homepage: concerto in primo piano (+ locandina opzionale) */
.hero-featured-event {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.hero-featured-event--has-thumb {
  grid-template-columns: minmax(76px, 112px) 1fr;
}

.hero-featured-event__figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(8, 8, 15, 0.35);
  line-height: 0;
}

.hero-featured-event__figure img,
.hero-featured-event__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.hero-featured-event__main > :last-child {
  margin-bottom: 0;
}

.hero-grid > .card:has(.hero-featured-empty) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(14rem, 36vh);
}

.hero-featured-empty {
  text-align: center;
  max-width: 22rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: rgba(240, 236, 224, 0.78);
  border-top: 1px solid rgba(200, 169, 107, 0.18);
  border-bottom: 1px solid rgba(200, 169, 107, 0.18);
}

.hero-featured-more {
  margin: 0.35rem 0 0;
}

.hero-featured-more__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--odt-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 107, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-featured-more__link:hover,
.hero-featured-more__link:focus-visible {
  color: var(--odt-white);
  border-bottom-color: rgba(200, 169, 107, 0.75);
}

/* Agenda eventi in evidenza (homepage) */
.home-featured-agenda {
  padding: 0 0 3.5rem;
  position: relative;
}

.home-featured-agenda::before {
  content: "";
  display: block;
  width: min(8rem, 40vw);
  height: 1px;
  margin: 0 auto 2.25rem;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 107, 0.55), transparent);
}

.home-featured-agenda__header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.home-featured-agenda__title {
  margin: 0.35rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--odt-white);
  letter-spacing: 0.02em;
}

.home-featured-agenda__days {
  display: grid;
  gap: 1.15rem;
}

.home-featured-agenda__day {
  padding: 1.15rem 1.25rem 1.05rem;
  border: 1px solid rgba(200, 169, 107, 0.22);
  background: linear-gradient(145deg, rgba(42, 39, 55, 0.82), rgba(31, 29, 41, 0.72));
}

.home-featured-agenda__day-title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(200, 169, 107, 0.24);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: var(--odt-gold);
  letter-spacing: 0.02em;
}

.home-featured-agenda__rows {
  display: grid;
  gap: 0;
}

.home-featured-agenda__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 0.75rem 0;
}

.home-featured-agenda__row--divider {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-featured-agenda__row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
  margin-inline: -0.35rem;
  padding-inline: 0.35rem;
  border-radius: 8px;
}

.home-featured-agenda__thumb {
  margin: 0;
  width: 56px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 16px rgba(8, 8, 15, 0.28);
  line-height: 0;
}

.home-featured-agenda__thumb--placeholder {
  background: linear-gradient(145deg, rgba(81, 64, 114, 0.55), rgba(200, 169, 107, 0.18));
}

.home-featured-agenda__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-featured-agenda__event-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--odt-white);
}

.home-featured-agenda__meta {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--odt-muted);
}

.home-featured-agenda__link {
  justify-self: end;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  color: var(--odt-gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.home-featured-agenda__link:hover,
.home-featured-agenda__link:focus-visible {
  color: var(--odt-white);
}

.home-featured-agenda__link-arrow {
  display: inline-block;
  margin-left: 0.15rem;
}

.eyebrow {
  color: var(--odt-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-shadow: 0 1px 12px rgba(200, 169, 107, 0.2);
}

.hero h1 {
  margin: 0.3rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--odt-white);
  text-shadow: 0 4px 25px rgba(17, 17, 24, 0.55);
}

.hero p {
  color: var(--odt-muted);
  max-width: 65ch;
  font-size: 1.04rem;
}

.hero-carousel {
  /* 95% della larghezza del .container.hero-grid (= stesso tetto max del sito) */
  width: min(calc(var(--odt-max) * 0.95), calc(92vw * 0.95));
  margin: 0 auto 2rem;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.hero-carousel > .container {
  width: 100%;
  max-width: none;
}

.hero-carousel-track {
  position: relative;
  height: min(56vw, 540px);
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(8, 7, 15, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(26, 24, 37, 0.9), rgba(37, 32, 47, 0.9));
}

.hero-carousel-plugin-wrap {
  padding: 0 2.2rem;
}

/* Smart Slider 3 (wrapper tipico .n2-ss-margin / .n2-ss-slider) */
.hero-carousel-plugin-wrap .n2-ss-margin,
.hero-carousel-plugin-wrap .n2-ss-slider {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(8, 7, 15, 0.52);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 1.3s ease;
  margin: 0;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.33)),
    radial-gradient(circle at 75% 20%, rgba(200, 169, 107, 0.16), rgba(200, 169, 107, 0));
}

.hero-carousel-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.42);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(200, 169, 107, 0.28);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  gap: 0.45rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
  transform: scale(1.2);
  background: var(--odt-gold);
}

.hero-carousel-empty {
  border: 1px dashed rgba(200, 169, 107, 0.55);
  border-radius: 14px;
  padding: 1rem;
  color: var(--odt-muted);
  background: rgba(0, 0, 0, 0.18);
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(110deg, #d54040, var(--odt-red) 50%, #7d0c0c);
  color: var(--odt-white);
  box-shadow: 0 8px 24px rgba(196, 18, 18, 0.33);
}

.btn-primary:hover {
  color: var(--odt-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 18, 18, 0.4);
}

.btn-ghost {
  border-color: rgba(200, 169, 107, 0.68);
  color: var(--odt-gold);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  box-shadow: 0 10px 26px rgba(200, 169, 107, 0.2);
}

.section {
  padding: 2.7rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 90% 100%, rgba(81, 64, 114, 0.24), rgba(81, 64, 114, 0));
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Griglia archivi / elenco articoli (categorie, blog, ecc.) */
.post-cards.cards {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.archive-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(200, 169, 107, 0.22);
}

.archive-title {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--odt-white);
  letter-spacing: 0.02em;
}

.archive-description {
  margin: 0;
  max-width: 65ch;
  color: var(--odt-muted);
  font-size: 0.98rem;
}

.archive-description p {
  margin: 0.5rem 0 0;
}

/* Pagina Programma stagione — tabelle dall’editor */
.odt-programma-page__article {
  padding: 1.5rem 1.75rem 1.75rem;
}

.odt-programma-page__content {
  margin-top: 0.5rem;
  color: var(--odt-text);
  line-height: 1.65;
}

.odt-programma-page__content > *:first-child {
  margin-top: 0;
}

.odt-programma-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.95rem;
  background: rgba(22, 21, 29, 0.55);
  border: 1px solid rgba(200, 169, 107, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.odt-programma-page__content thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--odt-gold);
  background: rgba(81, 64, 114, 0.35);
  border-bottom: 1px solid rgba(200, 169, 107, 0.28);
}

.odt-programma-page__content tbody td,
.odt-programma-page__content tbody th {
  padding: 0.65rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.odt-programma-page__content tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.odt-programma-page__content tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 720px) {
  .odt-programma-page__content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .odt-programma-page__content table {
    min-width: 520px;
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  box-shadow: 0 18px 44px rgba(9, 8, 15, 0.45);
}

.post-card-thumb {
  display: block;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.03);
}

.post-card-body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.post-card-body h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.25;
}

.post-card-body p {
  margin: 0;
  color: var(--odt-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.post-archive-pagination,
.content-wrap nav.post-archive-pagination {
  margin: 2rem 0 0;
  display: flex;
  justify-content: center;
}

.post-archive-pagination .nav-links,
.content-wrap nav.post-archive-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
}

.post-archive-pagination .page-numbers,
.content-wrap nav.post-archive-pagination .page-numbers {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: var(--odt-card);
  color: var(--odt-text);
  min-width: 2.25rem;
  text-align: center;
}

.post-archive-pagination a.page-numbers:hover,
.content-wrap nav.post-archive-pagination a.page-numbers:hover {
  border-color: var(--odt-gold);
  color: var(--odt-gold);
}

.post-archive-pagination span.page-numbers.current,
.content-wrap nav.post-archive-pagination span.page-numbers.current {
  border-color: var(--odt-gold);
  color: var(--odt-gold);
}

.card {
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(9, 8, 15, 0.36);
  backdrop-filter: blur(5px);
}

.card h3,
.card h2,
.event-box h2 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
  margin-top: 0;
}

.officina-home-info-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.officina-home-info-card__title-link:hover,
.officina-home-info-card__title-link:focus {
  color: var(--odt-gold);
  text-shadow: 0 1px 14px rgba(200, 169, 107, 0.28);
  outline: none;
}

.officina-home-info-card__title-link:focus-visible {
  outline: 2px solid var(--odt-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.card:hover {
  transform: translateY(-2px);
  transition: transform 0.25s ease;
}

.card.post-card {
  padding: 0;
}

.event-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  background: linear-gradient(145deg, rgba(42, 39, 55, 0.88), rgba(31, 29, 41, 0.88));
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(8, 8, 12, 0.4);
}

.qr-panel {
  background: linear-gradient(180deg, rgba(13, 12, 18, 0.95), rgba(22, 19, 30, 0.95));
  border-radius: 12px;
  padding: 1rem;
  border: 1px dashed rgba(200, 169, 107, 0.5);
}

.qr-image {
  width: 170px;
  height: 170px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(200, 169, 107, 0.2);
  padding: 1.2rem 0 2rem;
  color: var(--odt-muted);
  font-size: 0.9rem;
}

.site-footer__booking-note a {
  margin-left: 0.35rem;
  font-weight: 600;
  color: var(--odt-gold);
  text-decoration: none;
}

.site-footer__booking-note a:hover,
.site-footer__booking-note a:focus-visible {
  color: var(--odt-white);
  text-decoration: underline;
}

/* Crediti sviluppo — Digital Horizon (card hero) */
.dh-credit {
  --dh-cyan: rgba(94, 220, 255, 0.55);
  --dh-cyan-soft: rgba(64, 200, 230, 0.14);
  --dh-purple: rgba(138, 110, 210, 0.35);

  margin-top: 2.75rem;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  max-width: 880px;

  position: relative;
  isolation: isolate;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(
    138deg,
    var(--dh-cyan) 0%,
    rgba(200, 169, 107, 0.42) 38%,
    var(--dh-purple) 72%,
    rgba(94, 220, 255, 0.28) 100%
  );
  background-size: 200% 200%;
  animation: dh-credit-enter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(64, 200, 230, 0.07),
    0 0 1px rgba(200, 169, 107, 0.25);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

@media (max-width: 640px) {
  .dh-credit {
    width: min(94%, 32rem);
  }
}

@media (max-width: 400px) {
  .dh-credit {
    width: 94%;
  }
}

@keyframes dh-credit-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes dh-gradient-flow {
  0% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 40%;
  }
}

@keyframes dh-shine-sweep {
  0% {
    transform: translateX(-120%) skewX(-12deg);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  40% {
    opacity: 0.12;
  }
  100% {
    transform: translateX(220%) skewX(-12deg);
    opacity: 0;
  }
}

.dh-credit:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(64, 200, 230, 0.12),
    0 0 1px rgba(200, 169, 107, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .dh-credit {
    animation: none;
    background-size: 100% 100%;
    transition: none;
  }

  .dh-credit:hover {
    transform: none;
  }

  .dh-credit__shine,
  .dh-credit__logo-halo {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dh-credit {
    animation:
      dh-credit-enter 1s cubic-bezier(0.22, 1, 0.36, 1) both,
      dh-gradient-flow 14s ease-in-out infinite 1.2s;
  }

  .dh-credit:hover .dh-credit__shine {
    animation: dh-shine-sweep 2.2s ease-in-out infinite;
    animation-delay: 0s;
  }
}

.dh-credit__surface {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 100% 80% at 12% -12%, var(--dh-cyan-soft), transparent 52%),
    radial-gradient(ellipse 85% 70% at 100% 108%, rgba(138, 110, 210, 0.12), transparent 48%),
    linear-gradient(168deg, rgba(24, 22, 34, 0.97) 0%, rgba(14, 13, 20, 0.99) 48%, rgba(20, 19, 32, 1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dh-credit__shine {
  pointer-events: none;
  position: absolute;
  inset: -40% -30%;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(185, 240, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 52%,
    transparent 62%
  );
  opacity: 0;
}

.dh-credit__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.15rem, 3vw, 1.85rem);
  padding: clamp(1.35rem, 3.2vw, 2rem);
  align-items: center;
}

@media (min-width: 640px) {
  .dh-credit__layout--has-logo {
    grid-template-columns: minmax(auto, 1fr) minmax(220px, 2.2fr);
    gap: 1.85rem 2.25rem;
  }
}

.dh-credit__brand {
  display: flex;
  justify-content: center;
  align-self: stretch;
}

@media (min-width: 640px) {
  .dh-credit__layout--has-logo .dh-credit__brand {
    justify-content: center;
    align-items: center;
    padding: 0.85rem 0.85rem;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 45%, rgba(64, 200, 230, 0.1) 0%, transparent 62%);
    border: 1px solid rgba(200, 169, 107, 0.12);
  }
}

.dh-credit__logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.dh-credit__logo-link:hover,
.dh-credit__logo-link:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08) drop-shadow(0 0 18px rgba(94, 220, 255, 0.25));
  outline: none;
}

.dh-credit__logo-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(94, 220, 255, 0.45), 0 0 24px rgba(94, 220, 255, 0.2);
}

.dh-credit__logo-halo {
  position: absolute;
  inset: -18%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle closest-side,
    rgba(94, 220, 255, 0.22) 0%,
    rgba(94, 220, 255, 0.06) 45%,
    transparent 72%
  );
  filter: blur(12px);
  opacity: 0.85;
  animation: dh-halo-breathe 5.5s ease-in-out infinite;
}

@keyframes dh-halo-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.dh-credit__logo {
  position: relative;
  z-index: 1;
  display: block;
  height: auto;
  max-height: clamp(62px, 10vw, 84px);
  width: auto;
  max-width: min(292px, 78vw);
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.dh-credit__main {
  flex: 1;
  min-width: 0;
}

.dh-credit__lead {
  margin: 0 0 0.35rem;
  color: rgba(243, 239, 234, 0.85);
  line-height: 1.55;
  font-size: clamp(0.82rem, 1.85vw, 0.93rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.dh-credit__attribution {
  margin: 0 0 1rem;
  color: var(--odt-text);
  line-height: 1.55;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.dh-credit__attribution strong {
  font-weight: 700;
  background: linear-gradient(120deg, #e8cfa0 0%, #c8a96b 42%, #8fe8f9 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(200, 169, 107, 0.15);
}

.dh-credit__contacts {
  list-style: none;
  margin: 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid rgba(200, 169, 107, 0.18);
  display: grid;
  gap: 0.62rem;
  font-size: 0.88rem;
}

@media (min-width: 560px) {
  .dh-credit__contacts {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.35rem;
  }

  .dh-credit__contacts li:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 840px) {
  .dh-credit__contacts {
    grid-template-columns: repeat(3, 1fr);
  }

  .dh-credit__contacts li:last-child {
    grid-column: auto;
  }
}

.dh-credit__contacts li {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.52rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(200, 169, 107, 0.08);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.dh-credit__contacts li:hover {
  border-color: rgba(94, 220, 255, 0.18);
  background: rgba(94, 220, 255, 0.04);
}

.dh-credit__label {
  color: rgba(246, 240, 233, 0.55);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.dh-credit__contacts a {
  font-weight: 600;
  word-break: break-word;
  line-height: 1.35;
  background-image: linear-gradient(90deg, var(--odt-gold), rgba(126, 230, 250, 0.95));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left 100%;
  padding-bottom: 2px;
  transition: background-size 0.35s ease, color 0.25s ease;
}

.dh-credit__contacts a:hover {
  background-size: 100% 2px;
}

.dh-credit__contacts li:hover a {
  color: #eafcf8;
}

@supports not ((-webkit-background-clip: text)) {
  .dh-credit__attribution strong {
    color: var(--odt-gold);
    background: none;
    -webkit-text-fill-color: var(--odt-gold);
  }
}

.content-wrap {
  padding: 2.4rem 0;
}

.soft-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: softReveal 0.9s ease forwards;
}

.soft-reveal-delay-1 {
  animation-delay: 0.15s;
}

.soft-reveal-delay-2 {
  animation-delay: 0.3s;
}

.soft-reveal-delay-3 {
  animation-delay: 0.45s;
}

.quote-band {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid rgba(200, 169, 107, 0.7);
  color: #d9d1c4;
  font-style: italic;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 10px 10px 0;
}

.pulse-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #71d07d;
  box-shadow: 0 0 0 rgba(113, 208, 125, 0.6);
  animation: pulse 1.8s infinite;
  vertical-align: middle;
}

@keyframes softReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(113, 208, 125, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(113, 208, 125, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(113, 208, 125, 0);
  }
}

.pagination-concerti {
  margin: 1.5rem 0 2rem;
}

.pagination-concerti ul.page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.pagination-concerti ul.page-numbers li {
  list-style: none;
  margin: 0;
}

.pagination-concerti ul.page-numbers a,
.pagination-concerti ul.page-numbers span.current {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: var(--odt-card);
}

.pagination-concerti ul.page-numbers span.current {
  color: var(--odt-text);
  border-color: var(--odt-gold);
}

@media (max-width: 520px) {
  .hero-featured-event--has-thumb {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-featured-event--has-thumb .hero-featured-event__figure {
    max-width: 140px;
    margin-inline: auto;
  }

  .hero-featured-event--has-thumb .hero-featured-event__main {
    width: 100%;
  }

  .home-featured-agenda__row {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "link link";
    align-items: start;
  }

  .home-featured-agenda__thumb {
    grid-area: thumb;
    width: 48px;
    height: 62px;
  }

  .home-featured-agenda__body {
    grid-area: body;
  }

  .home-featured-agenda__link {
    grid-area: link;
    justify-self: start;
    text-align: left;
    margin-top: 0.35rem;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .event-box,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .hero-carousel-track {
    min-height: 220px;
    height: min(62vw, 340px);
  }
}
