
:root {
  --palette-cream: #ffe3c4;
  --palette-peach-soft: #ffc7a2;
  --primary: #ffb38a;
  --palette-page: #fff5e6;
  --palette-rose: #f4d1c5;
  --primary-dark: #d97a52;
  --primary-light: #fff5e6;
  --card-pink: #f4d1c5;
  --text-dark: #333333;
  --footer-ink: #3d2e26;
  --primary-rgb: 255, 179, 138;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary);
}

::-webkit-scrollbar-thumb {
  background: var(--card-pink);
  border-radius: 4px;
}

.dark ::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.dark ::-webkit-scrollbar-thumb {
  background: #444;
}

.body-light ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.body-light ::-webkit-scrollbar-thumb {
  background: var(--primary);
}

.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--primary);
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .site-header {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
}
.site-header .site-title {
  font-family: "Vidaloka", sans-serif;
  font-size: clamp(3rem, 8.5vw, 6rem);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: var(--footer-ink);
}
.site-header .site-title a {
  color: inherit;
}
.site-header .site-title a:hover {
  opacity: 0.9;
}

.site-header .nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-bottom: 0.25rem;
  max-width: 100%;
}
@media (min-width: 640px) {
  .site-header .nav-inner {
    gap: 1rem;
  }
}
@media (min-width: 768px) {
  .site-header .nav-inner {
    gap: 1.5rem;
    flex-wrap: nowrap;
  }
}
@media (min-width: 1024px) {
  .site-header .nav-inner {
    gap: 2.5rem;
  }
}
.site-header .nav-link {
  color: var(--footer-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  white-space: nowrap;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-header .nav-link:hover {
  color: rgba(61, 46, 38, 0.82);
}
.site-header .nav-link:focus,
.site-header .nav-link:focus-visible,
.site-header .nav-link:active {
  outline: none;
  box-shadow: none;
}
.site-header .nav-link.nav-active {
  border-bottom-color: var(--footer-ink);
}
@media (min-width: 640px) {
  .site-header .nav-link {
    font-size: 1.0625rem;
  }
}
@media (min-width: 768px) {
  .site-header .nav-link {
    font-size: 1.1875rem;
  }
}
@media (min-width: 1024px) {
  .site-header .nav-link {
    font-size: 1.25rem;
  }
}

.ag-buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ag-buy-btn {
  font-family: "Vidaloka", sans-serif;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  background-color: var(--primary);
  color: var(--footer-ink) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}
.ag-buy-btn:hover {
  background-color: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

#hero-benvenuto {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: min(460px, calc(100svh - 12rem));
}
@media (min-width: 768px) {
  #hero-benvenuto {
    min-height: min(580px, calc(100svh - 10rem));
  }
}
@media (min-width: 1024px) {
  #hero-benvenuto {
    min-height: min(640px, calc(100svh - 9rem));
  }
}

#hero-benvenuto .hero-photo-wrap {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 0;
  padding-top: 0;
}
@media (min-width: 480px) {
  #hero-benvenuto .hero-photo-wrap {
    justify-content: flex-end;
  }
}
@media (min-width: 768px) {
  #hero-benvenuto .hero-photo-wrap {
    padding-top: 0;
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
  }
}
#hero-benvenuto .hero-photo-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  
  max-height: min(70vh, 520px);
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 768px) {
  #hero-benvenuto .hero-photo-wrap img {
    
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-position: right bottom;
  }
}

#hero-benvenuto .hero-text-wrap {
  position: static;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  z-index: 0;
  padding: 1.5rem 1.75rem;
  box-sizing: border-box;
  border-radius: 0;
}

@media (min-width: 768px) {
  #hero-benvenuto .hero-text-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    width: auto;
    max-width: 78%;
    min-width: 320px;
    margin-top: 0;
    z-index: 1;
    padding: 2rem 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #hero-benvenuto .hero-text-wrap {
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 90%;
  }
}
@media (min-width: 1025px) {
  #hero-benvenuto .hero-text-wrap {
    padding: 2.25rem 2.75rem;
    max-width: 620px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }
}

@keyframes hero-image-fade-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes hero-text-inner-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

#hero-benvenuto .hero-photo-wrap {
  opacity: 0;
  animation: hero-image-fade-in 0.6s ease-out 0.6s forwards;
}

#hero-benvenuto .hero-text-wrap {
  opacity: 0;
  animation: hero-text-inner-fade-in 0.6s ease-out 1.5s forwards;
}

#hero-benvenuto .hero-text-inner {
  opacity: 0;
  animation: hero-text-inner-fade-in 0.6s ease-out 1.5s forwards;
}

@media (prefers-reduced-motion: reduce) {
  #hero-benvenuto .hero-photo-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  #hero-benvenuto .hero-text-wrap,
  #hero-benvenuto .hero-text-inner {
    animation: none;
    opacity: 1;
  }
}

#bio-block.bio-visible .bio-photo-wrap {
  animation: hero-image-fade-in 1.2s ease-out forwards;
}
#bio-block .bio-photo-wrap {
  opacity: 0;
}
#bio-block .bio-text-inner {
  opacity: 0;
}
#bio-block.bio-visible .bio-text-inner {
  animation: hero-text-inner-fade-in 1.2s ease-out 0.6s forwards;
}

@media (prefers-reduced-motion: reduce) {
  #bio-block .bio-photo-wrap,
  #bio-block .bio-text-inner {
    animation: none;
    opacity: 1;
  }
}

.bio-layout {
  position: relative;
  display: block;
  min-height: 0;
}

.bio-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  min-height: 0;
  overflow: hidden;
}

.bio-photo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 600px);
  object-fit: contain;
  object-position: center top;
}

.bio-text-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 1025px) {
  .bio-layout {
    display: grid;
    
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    
    align-items: stretch;
    column-gap: clamp(1.25rem, 3.5vw, 2.75rem);
  }

  .bio-photo-wrap {
    margin-bottom: 0;
    position: static;
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
    
    align-items: center;
    align-self: stretch;
    display: flex;
  }

  .bio-photo-img {
    max-height: min(82vh, 880px);
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left bottom;
  }

  .bio-text-wrap {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-left: 0;
    z-index: 1;
    
    align-self: stretch;
    justify-content: center;
    min-height: 0;
  }
}

.ag-faq .ag-faq-item {
  background: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 1.25rem;
  box-shadow: 0 1px 0 rgba(var(--primary-rgb), 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dark .ag-faq .ag-faq-item {
  background: #2d2d2d;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.ag-faq .ag-faq-item[open] {
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.4);
}
.dark .ag-faq .ag-faq-item[open] {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(251, 230, 246, 0.2);
}
.ag-faq .ag-faq-item summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.4rem 1.35rem 1.35rem;
  font-family: "Vidaloka", Georgia, serif;
  color: var(--primary-dark);
  font-size: 1.125rem;
  line-height: 1.45;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
  .ag-faq .ag-faq-item summary {
    font-size: 1.25rem;
    padding: 1.5rem 1.75rem 1.5rem 1.65rem;
    line-height: 1.4;
  }
}
@media (min-width: 1024px) {
  .ag-faq .ag-faq-item summary {
    font-size: 1.3125rem;
    padding: 1.65rem 2rem 1.6rem 1.85rem;
  }
}
.ag-faq .ag-faq-item summary::-webkit-details-marker {
  display: none;
}
.ag-faq .ag-faq-item summary::marker {
  content: none;
}
.ag-faq .ag-faq-chevron {
  flex-shrink: 0;
  color: var(--primary-dark);
  margin-top: 0.1em;
  font-size: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.25s ease;
}
@media (min-width: 768px) {
  .ag-faq .ag-faq-chevron {
    font-size: 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
  }
}
.ag-faq .ag-faq-item[open] .ag-faq-chevron {
  transform: rotate(180deg);
}
.ag-faq .ag-faq-answer {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  color: #333;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  padding: 1.1rem 1.4rem 1.4rem 1.4rem;
}
@media (min-width: 768px) {
  .ag-faq .ag-faq-answer {
    font-size: 1.0625rem;
    line-height: 1.85;
    padding: 1.25rem 1.75rem 1.6rem 1.75rem;
  }
}
@media (min-width: 1024px) {
  .ag-faq .ag-faq-answer {
    font-size: 1.125rem;
    line-height: 1.8;
    padding: 1.4rem 2rem 1.75rem 2rem;
  }
}
.dark .ag-faq .ag-faq-answer {
  color: #e8e8e8;
  border-top-color: rgba(255, 255, 255, 0.1);
}
.ag-faq .ag-faq-answer p {
  margin: 0 0 1.1rem 0;
  max-width: none;
}
@media (min-width: 768px) {
  .ag-faq .ag-faq-answer p {
    margin-bottom: 1.2rem;
  }
}
.ag-faq .ag-faq-answer p:last-child {
  margin-bottom: 0;
}
.ag-faq .ag-faq-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.ag-faq .ag-faq-link.ag-faq-mail {
  display: block;
  margin-top: 0.35rem;
  word-break: normal;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .ag-faq .ag-faq-link.ag-faq-mail {
    display: inline;
    margin-top: 0;
  }
}
.ag-faq .ag-faq-link:hover,
.ag-faq .ag-faq-link:focus-visible {
  color: var(--primary-dark);
  outline: none;
}
.dark .ag-faq .ag-faq-link {
  color: #ffd4c4;
}
.ag-faq .ag-faq-hashtag {
  color: var(--primary-dark);
  font-weight: 500;
}
.dark .ag-faq .ag-faq-hashtag {
  color: var(--primary-dark);
}
.ag-faq .ag-faq-item summary:focus {
  outline: none;
}
.ag-faq .ag-faq-item summary:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: 0.25rem;
}
.dark .ag-faq .ag-faq-item summary:focus-visible {
  outline-color: var(--primary-dark);
}

.page-newsletter #newsletter-hero .newsletter-figure-inner,
.page-newsletter #newsletter-hero .newsletter-hero-pink,
.page-newsletter #newsletter-hero .newsletter-hero-btn {
  box-shadow: none !important;
}
.page-newsletter #newsletter-main .newsletter-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(88vh, 1100px);
  object-fit: contain;
  object-position: center center;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 1023px) {
  .page-newsletter #newsletter-main .newsletter-figure img {
    max-height: min(75vh, 900px);
  }
}
.page-newsletter #newsletter-main .newsletter-figure figcaption,
.page-eventi #eventi-main .eventi-figure figcaption,
.hero-photo-credit {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.4;
  text-align: right;
  margin-top: 0.75rem;
  padding-right: 0.125rem;
  color: rgba(51, 51, 51, 0.8);
  text-shadow: none;
}
@media (min-width: 768px) {
  .page-newsletter #newsletter-main .newsletter-figure figcaption,
  .page-eventi #eventi-main .eventi-figure figcaption,
  .hero-photo-credit {
    font-size: 1rem;
  }
}
#newsletter-hero .newsletter-hero-photo,
#eventi-hero .eventi-hero-photo {
  opacity: 0;
  animation: hero-image-fade-in 0.6s ease-out 0.6s forwards;
}
#newsletter-hero .hero-photo-credit,
#eventi-hero .hero-photo-credit {
  opacity: 0;
  animation: hero-image-fade-in 0.6s ease-out 0.6s forwards;
}
#newsletter-hero .newsletter-hero-pink,
#eventi-hero .eventi-hero-pink {
  opacity: 0;
  animation: hero-image-fade-in 0.6s ease-out 1.2s forwards;
}
#newsletter-hero .newsletter-hero-cta {
  opacity: 0;
  animation: hero-image-fade-in 0.6s ease-out 1.2s forwards;
}
@media (prefers-reduced-motion: reduce) {
  #newsletter-hero .newsletter-hero-photo,
  #eventi-hero .eventi-hero-photo,
  #newsletter-hero .hero-photo-credit,
  #eventi-hero .hero-photo-credit,
  #newsletter-hero .newsletter-hero-pink,
  #eventi-hero .eventi-hero-pink,
  #newsletter-hero .newsletter-hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.page-eventi #eventi-hero .eventi-figure-inner,
.page-eventi #eventi-hero .eventi-hero-photo,
.page-eventi #eventi-hero .eventi-hero-pink {
  box-shadow: none !important;
}
.page-eventi #eventi-main .eventi-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(88vh, 1100px);
  object-fit: contain;
  object-position: center center;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 1023px) {
  .page-eventi #eventi-main .eventi-figure img {
    max-height: min(75vh, 900px);
  }
}
#eventi-hero .eventi-hero-pink,
#newsletter-hero .newsletter-hero-pink {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--card-pink);
}
.page-eventi .eventi-past article {
  opacity: 0.88;
}
.dark .page-eventi .eventi-past article {
  opacity: 0.92;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.site-footer-brand .site-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .site-footer-brand .site-footer-social {
    gap: 1rem;
  }
}

.site-footer-brand .site-footer-social > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  flex: 0 0 1.5rem;
}
.site-footer-brand .site-footer-social a .material-icons.site-footer-icon-fb {
  font-size: 1.75rem;
  line-height: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  text-align: center;
  display: inline-block;
}
.site-footer-brand .site-footer-social .site-footer-icon-ig {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: block;
}

.site-footer-brand .site-footer-newsletter-ref {
  margin-top: 0.75rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
  max-width: 16rem;
}
@media (min-width: 640px) {
  .site-footer-brand .site-footer-newsletter-ref {
    font-size: 0.875rem;
  }
}
.site-footer-brand .site-footer-newsletter-ref a {
  color: var(--footer-ink);
  text-decoration: underline;
  text-decoration-color: rgba(61, 46, 38, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.site-footer-brand .site-footer-newsletter-ref a:hover {
  color: var(--primary-dark);
  text-decoration-color: rgba(217, 122, 82, 0.65);
}

footer.site-footer.bg-primary.text-white {
  color: var(--footer-ink) !important;
}
footer.site-footer.bg-primary [class*="border-white"] {
  border-color: rgba(61, 46, 38, 0.22) !important;
}
.site-footer.bg-primary .text-white,
.site-footer.bg-primary .text-white\/90,
.site-footer.bg-primary .text-white\/85 {
  color: var(--footer-ink) !important;
}
.bg-primary.text-white {
  color: var(--footer-ink) !important;
}

html.agz-cookie-banner-open {
  padding-bottom: 10rem;
}
@media (min-width: 640px) {
  html.agz-cookie-banner-open {
    padding-bottom: 9rem;
  }
}
.agz-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  font-family: "Montserrat", system-ui, sans-serif;
  pointer-events: none;
}
.agz-cookie-banner__box {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  color: #1a1a1a;
  border-radius: 1rem;
  border: 2px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 1rem 1.1rem 1.1rem;
}
@media (min-width: 640px) {
  .agz-cookie-banner__box {
    padding: 1.25rem 1.35rem 1.35rem;
  }
}
.agz-cookie-banner__title {
  font-family: "Vidaloka", serif;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--primary);
  line-height: 1.3;
}
@media (min-width: 640px) {
  .agz-cookie-banner__title {
    font-size: 1.25rem;
  }
}
.agz-cookie-banner__text {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #333;
}
@media (min-width: 640px) {
  .agz-cookie-banner__text {
    font-size: 0.875rem;
  }
}
.agz-cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
@media (min-width: 480px) {
  .agz-cookie-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }
}
.agz-cookie-banner__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
}
@media (min-width: 640px) {
  .agz-cookie-banner__btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.1rem;
  }
}
.agz-cookie-banner__btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
}
.agz-cookie-banner__btn--reject {
  background: #fff;
  color: var(--primary);
}
.agz-cookie-banner__btn--reject:hover {
  background: var(--primary-light);
}
.agz-cookie-banner__btn--accept {
  background: var(--primary);
  color: var(--footer-ink);
}
.agz-cookie-banner__btn--accept:hover {
  filter: brightness(1.05);
}
.agz-cookie-banner__links {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  text-align: center;
  color: #555;
}
.agz-cookie-banner__links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.agz-cookie-banner__links a:hover {
  text-decoration-thickness: 2px;
}

.page-legal main {
  font-family: "Montserrat", system-ui, sans-serif;
}
.page-legal .legal-inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.page-legal .legal-inner h2 {
  font-family: "Vidaloka", serif;
  font-size: 1.35rem;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
}
.page-legal .legal-inner h2:first-of-type {
  margin-top: 0;
}
.page-legal .legal-inner h3 {
  font-family: "Vidaloka", serif;
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: #333;
}
.page-legal .legal-inner p,
.page-legal .legal-inner li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
}
.page-legal .legal-inner ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.page-legal .legal-inner table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin: 1rem 0;
}
.page-legal .legal-inner th,
.page-legal .legal-inner td {
  border: 1px solid #ddd;
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
.page-legal .legal-inner th {
  background: var(--primary-light);
  font-weight: 600;
}
.page-legal .legal-note {
  font-size: 0.8125rem;
  color: #555;
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  background: #fff;
}
.dark .page-legal .legal-inner h3,
.dark .page-legal .legal-inner p,
.dark .page-legal .legal-inner li {
  color: #e5e5e5;
}
.dark .page-legal .legal-inner th,
.dark .page-legal .legal-inner td {
  border-color: #444;
}
.dark .page-legal .legal-note {
  background: #2d2d2d;
  color: #ccc;
}

.page-film-tv .film-tv-hero {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.page-film-tv .film-tv-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s, transform 0.2s;
}
.page-film-tv .film-tv-card:hover {
  box-shadow: 0 14px 40px rgba(var(--primary-rgb), 0.12);
  transform: translateY(-2px);
}
.dark .page-film-tv .film-tv-card {
  background: #2d2d2d;
  border-color: rgba(255, 255, 255, 0.12);
}
.page-film-tv .film-tv-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f5;
}
.dark .page-film-tv .film-tv-card-media {
  background: #1a1a1a;
}
.page-film-tv .film-tv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-film-tv .film-tv-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-film-tv .film-tv-rai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: auto;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--footer-ink) !important;
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: filter 0.2s, background 0.2s;
}
.page-film-tv .film-tv-rai-btn:hover {
  filter: brightness(1.06);
  color: var(--footer-ink) !important;
}
.page-film-tv .film-tv-trailer-wrap {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 2px solid rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #000;
}
.page-film-tv .film-tv-trailer-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 12rem;
  border: 0;
}
@media (min-width: 640px) {
  .page-film-tv .film-tv-trailer-wrap iframe {
    min-height: 18rem;
  }
}
.page-film-tv .film-tv-film-poster {
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}
.page-film-tv .film-tv-film-poster img {
  width: 100%;
  height: auto;
  display: block;
}
.page-film-tv .film-tv-heartline {
  font-family: "Vidaloka", serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--primary);
  letter-spacing: 0.02em;
}

.page-film-tv .film-tv-trailer-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 3rem;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--footer-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}
.page-film-tv .film-tv-trailer-toggle:hover {
  filter: brightness(1.05);
}
.page-film-tv .film-tv-trailer-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35), 0 4px 14px rgba(var(--primary-rgb), 0.25);
}
.page-film-tv .film-tv-trailer-toggle[aria-expanded="true"] {
  background: #fff;
  color: var(--primary-dark);
}
.dark .page-film-tv .film-tv-trailer-toggle[aria-expanded="true"] {
  background: #2d2d2d;
  color: #fff;
  border-color: rgba(244, 209, 197, 0.45);
}
.page-film-tv .film-tv-trailer-toggle__icon {
  font-size: 1.5rem;
  line-height: 1;
}
.page-film-tv .film-tv-trailer-panel {
  animation: film-tv-trailer-open 0.28s ease-out;
}
@keyframes film-tv-trailer-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-modal-dialog {
  padding: 1rem;
  border: none;
  margin: auto;
  max-width: calc(100vw - 2rem);
  width: 100%;
  background: transparent;
  box-shadow: none;
}
.contatti-stampa-dialog {
  max-width: 26rem;
}
.credits-dialog {
  max-width: 30rem;
}
.footer-modal-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-modal-dialog::backdrop {
  background: rgba(26, 22, 20, 0.55);
}
.footer-modal-dialog__panel {
  width: 100%;
  background: #fff5e6;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.dark .footer-modal-dialog__panel {
  background: #2d2d2d;
  color: #f3f3f3;
}
.footer-modal-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(217, 122, 82, 0.25);
}
.dark .footer-modal-dialog__head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.footer-modal-dialog__title {
  margin: 0;
  font-family: "Vidaloka", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: #d97a52;
}
.dark .footer-modal-dialog__title {
  color: #ffb38a;
}
.footer-modal-dialog__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 2px solid rgba(217, 122, 82, 0.45);
  border-radius: 9999px;
  background: transparent;
  color: #d97a52;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.footer-modal-dialog__close:hover {
  background: rgba(217, 122, 82, 0.12);
}
.dark .footer-modal-dialog__close {
  border-color: rgba(255, 179, 138, 0.5);
  color: #ffb38a;
}
.footer-modal-dialog__close .material-icons {
  font-size: 1.25rem;
  line-height: 1;
}
.footer-modal-dialog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-modal-dialog__list a {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3d2e26;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.footer-modal-dialog__list a:hover {
  color: #d97a52;
}
.dark .footer-modal-dialog__list a {
  color: #f3f3f3;
}
.dark .footer-modal-dialog__list a:hover {
  color: #ffb38a;
}
.credits-dialog__body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #3d2e26;
}
.dark .credits-dialog__body {
  color: #e5e5e5;
}
.credits-dialog__p {
  margin: 0 0 0.85rem;
}
.credits-dialog__p:last-child {
  margin-bottom: 0;
}
.credits-dialog__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
  margin-bottom: 0.2rem;
}
.dark .credits-dialog__label {
  color: #a8a29e;
}
.credits-dialog__body a {
  font-weight: 500;
  color: #d97a52;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.credits-dialog__body a:hover {
  color: #b4532a;
}
.dark .credits-dialog__body a {
  color: #ffb38a;
}
.dark .credits-dialog__body a:hover {
  color: #ffd4bc;
}
.credits-dialog__invite {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 122, 82, 0.2);
  font-size: 0.875rem;
  font-weight: 400;
  color: #57534e;
}
.dark .credits-dialog__invite {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #d6d3d1;
}
