/*
Theme Name: Hotel La Vela
Theme URI: https://hotel-lavelaversilia.it/
Author: Hotel La Vela
Description: Tema WordPress per Hotel La Vela — 3 stelle sul lungomare di Lido di Camaiore, Versilia
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotel-lavela
*/

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body.wp-theme-hotel-lavela h1,
body.wp-theme-hotel-lavela h2,
body.wp-theme-hotel-lavela h3,
body.wp-theme-hotel-lavela h4,
body.wp-theme-hotel-lavela .serif-font,
body.wp-theme-hotel-lavela .font-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-synthesis: none;
}

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

body.wp-theme-hotel-lavela a.bg-vela-gold,
body.wp-theme-hotel-lavela button.bg-vela-gold,
body.wp-theme-hotel-lavela input[type="submit"].bg-vela-gold,
body.wp-theme-hotel-lavela .comment-form input[type="submit"] {
  border-radius: 9999px;
  box-shadow: 0 18px 40px -24px rgba(12, 35, 64, 0.45);
  min-height: 3rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.wp-theme-hotel-lavela a.bg-vela-gold:hover,
body.wp-theme-hotel-lavela a.bg-vela-gold:focus-visible,
body.wp-theme-hotel-lavela button.bg-vela-gold:hover,
body.wp-theme-hotel-lavela button.bg-vela-gold:focus-visible,
body.wp-theme-hotel-lavela input[type="submit"].bg-vela-gold:hover,
body.wp-theme-hotel-lavela input[type="submit"].bg-vela-gold:focus-visible,
body.wp-theme-hotel-lavela .comment-form input[type="submit"]:hover,
body.wp-theme-hotel-lavela .comment-form input[type="submit"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px -24px rgba(12, 35, 64, 0.55);
}

.hero-cta-ghost {
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 40px -24px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}

.hero-cta-ghost:hover,
.hero-cta-ghost:focus-visible {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 20px 44px -24px rgba(0, 0, 0, 0.55);
}

.gold-gradient-text {
  color: #C5A059;
  background: linear-gradient(to right, #C5A059, #E5C789, #C5A059);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold-gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Palette fallbacks for imported markup and theme templates */
.bg-vela-gold { background-color: #C5A059; }
.bg-vela-dark { background-color: #1A1A1A; }
.bg-vela-cream { background-color: #F9F7F2; }
.bg-vela-blue { background-color: #0C2340; }
.bg-vela-sea { background-color: #1B4965; }
.bg-vela-sand { background-color: #F5E6CA; }

.text-vela-gold { color: #C5A059; }
.text-vela-dark { color: #1A1A1A; }
.text-vela-blue { color: #0C2340; }
.text-vela-sea { color: #1B4965; }
.text-vela-sand { color: #F5E6CA; }

.border-vela-gold { border-color: #C5A059; }
.border-vela-blue { border-color: #0C2340; }

.bg-vela-blue\/70 { background-color: rgba(12, 35, 64, 0.70); }
.bg-vela-blue\/80 { background-color: rgba(12, 35, 64, 0.80); }
.bg-vela-blue\/5 { background-color: rgba(12, 35, 64, 0.05); }

.bg-white\/10 { background-color: rgba(255, 255, 255, 0.10); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.20); }
.text-white\/70 { color: rgba(255, 255, 255, 0.70); }
.text-white\/80 { color: rgba(255, 255, 255, 0.80); }
.text-white\/90 { color: rgba(255, 255, 255, 0.90); }
.text-white\/60 { color: rgba(255, 255, 255, 0.60); }

.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }

.border-white\/30 { border-color: rgba(255, 255, 255, 0.30); }
.border-gray-200 { border-color: #E5E7EB; }
.border-gray-300 { border-color: #D1D5DB; }

.bg-black\/20 { background-color: rgba(0, 0, 0, 0.20); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.50); }

.hover\:text-vela-gold:hover,
.hover\:text-vela-gold:focus-visible {
  color: #C5A059;
}

.hover\:bg-vela-cream:hover,
.hover\:bg-vela-cream:focus-visible {
  background-color: #F9F7F2;
}

.hover\:bg-white\/20:hover,
.hover\:bg-white\/20:focus-visible {
  background-color: rgba(255, 255, 255, 0.20);
}

.hover\:border-vela-gold:hover,
.hover\:border-vela-gold:focus-visible {
  border-color: #C5A059;
}

.bg-vela-gold.hover\:bg-opacity-90:hover,
.bg-vela-gold.hover\:bg-opacity-90:focus-visible {
  background-color: #B38D47;
}

.group:hover .group-hover\:text-vela-gold,
.group:focus-within .group-hover\:text-vela-gold {
  color: #C5A059;
}

.focus\:border-vela-gold:focus {
  border-color: #C5A059;
  outline: none;
}

.focus\:ring-vela-gold:focus {
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.28);
}

/* Hero */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(12,35,64,0.5) 0%, rgba(12,35,64,0.2) 40%, rgba(12,35,64,0.6) 100%);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Navigation */
.site-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.site-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.site-header-brand-copy {
  min-width: 0;
}

.desktop-nav {
  display: none;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-transition {
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav-transition[data-nav-state="top"] {
  background-color: transparent;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  box-shadow: none;
}
.nav-transition[data-nav-state="solid"] {
  background-color: rgba(12, 35, 64, 0.95);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}.dropdown-menu {
  opacity: 0; visibility: hidden; transform: translateY(8px);
  background-color: #fff;
  color: #1A1A1A;
  text-transform: none;
  letter-spacing: normal;
  z-index: 20;
  transition: all 0.2s ease;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: #1A1A1A;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background-color: #F9F7F2;
  color: #C5A059;
  outline: none;
}
.dropdown-menu a[aria-current="page"] {
  background-color: #F9F7F2;
  color: #C5A059;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

@media (min-width: 768px) {
  .site-header-shell {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 9999px;
  min-height: 2.75rem;
  line-height: 1;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  box-shadow: 0 18px 40px -26px rgba(12, 35, 64, 0.45);
  backdrop-filter: blur(10px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background-color: #fff;
  border-color: #fff;
  color: #0C2340;
  transform: translateY(-1px);
  box-shadow: 0 22px 44px -26px rgba(12, 35, 64, 0.55);
  outline: none;
}

.header-cta svg {
  flex-shrink: 0;
}

.header-cta-negative {
  background-color: #fff;
  border-color: #fff;
  color: #0C2340;
}

.header-cta-negative:hover,
.header-cta-negative:focus-visible {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.header-cta-current {
  border: 2px solid #C5A059;
  color: #C5A059;
  background-color: rgba(197, 160, 89, 0.08);
  border-radius: 9999px;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  box-shadow: 0 18px 40px -26px rgba(12, 35, 64, 0.45);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-cta-current:hover,
.header-cta-current:focus-visible {
  background-color: rgba(197, 160, 89, 0.12);
  color: #fff;
  border-color: #D7B36F;
  transform: translateY(-1px);
  outline: none;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer {
  background: linear-gradient(180deg, #111827 0%, #0B1220 100%);
  color: #FFFFFF;
}

.site-footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.site-footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer-logo {
  filter: brightness(0) invert(1);
}

.site-footer-muted,
.site-footer-meta,
.site-footer-bottom,
.site-footer .footer-list,
.site-footer .widget,
.site-footer .widget p,
.site-footer .widget li,
.footer-nav a {
  color: #9CA3AF;
  line-height: 1.8;
}

.site-footer-link,
.site-footer .widget a,
.footer-nav a {
  color: #9CA3AF;
  transition: color 0.2s ease;
}

.footer-title,
.site-footer .widget > h4 {
  color: #C5A059;
  letter-spacing: 0.22em;
}

.site-footer-link:hover,
.site-footer-link:focus-visible,
.site-footer .widget a:hover,
.site-footer .widget a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"],
.footer-nav .current-menu-item > a,
.footer-nav .current_page_item > a {
  color: #fff;
  outline: none;
}

.site-footer .widget ul,
.site-footer .widget ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .widget li + li {
  margin-top: 1rem;
}

.site-footer .widget img {
  max-width: 100%;
  height: auto;
}

.site-footer-social-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.site-footer-social {
  border: 1px solid #374151;
  color: #FFFFFF;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer-social:hover,
.site-footer-social:focus-visible {
  background-color: #C5A059;
  border-color: #C5A059;
  color: #FFFFFF;
  outline: none;
}

.site-footer-bottom {
  border-top: 1px solid #1F2937;
  gap: 1rem;
  align-items: center;
}

.site-footer-legal {
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .site-footer-grid {
    gap: 2.5rem;
  }

  .site-footer-bottom {
    text-align: center;
  }

  .site-footer-legal {
    justify-content: center;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  background-color: #0C2340;
  color: #FFFFFF;
  z-index: 1000;
}

.cookie-banner-shell {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 1rem;
}

.cookie-banner-card {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.cookie-banner-copy {
  color: #D1D5DB;
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: center;
}

.cookie-banner-copy a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-banner-btn {
  cursor: pointer;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  min-height: 2.75rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-banner-btn:hover,
.cookie-banner-btn:focus-visible {
  outline: none;
}

.cookie-banner-card:focus {
  outline: 2px solid rgba(197, 160, 89, 0.9);
  outline-offset: 4px;
}

.cookie-banner-btn-secondary:hover,
.cookie-banner-btn-secondary:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner-btn-primary {
  border-color: #C5A059;
  background-color: #C5A059;
}

.cookie-banner-btn-primary:hover,
.cookie-banner-btn-primary:focus-visible {
  border-color: #B38D47;
  background-color: #B38D47;
}

.whatsapp-float {
  min-height: 3.25rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.97);
  color: #0C2340;
  box-shadow: 0 22px 42px -24px rgba(12, 35, 64, 0.45);
  backdrop-filter: blur(10px);
  transition: bottom 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.whatsapp-float svg {
  color: #25D366;
  transition: color 0.2s ease;
}

.whatsapp-float span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.has-cookie-banner .whatsapp-float {
  bottom: 8.5rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background-color: #0C2340;
  border-color: #0C2340;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 24px 44px -22px rgba(12, 35, 64, 0.6);
}

.whatsapp-float:hover svg,
.whatsapp-float:focus-visible svg {
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .cookie-banner-shell {
    padding: 2rem;
  }

  .cookie-banner-card {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner-copy {
    font-size: 0.875rem;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.8rem 1rem;
  }

  body.has-cookie-banner .whatsapp-float {
    bottom: 9rem;
  }

  .page-banner {
    padding-top: 7.75rem;
    padding-bottom: 3rem;
  }

  .page-banner h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .page-banner nav {
    font-size: 0.68rem;
  }
}

/* Comments */
.comment-list,
.comment-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list > li + li {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
}

.comment-body {
  background-color: #F9F7F2;
  padding: 1.5rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comment-author .avatar {
  border-radius: 9999px;
  flex-shrink: 0;
}

.comment-author .fn {
  color: #0C2340;
  font-style: normal;
  font-weight: 700;
}

.comment-metadata {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.comment-metadata a {
  color: #6B7280;
}

.comment-content {
  color: #4B5563;
  line-height: 1.7;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply,
.comment-reply-link {
  margin-top: 1rem;
}

.comment-reply-link {
  color: #0C2340;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.children {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid #E5E7EB;
}

.comment-respond {
  margin-top: 2.5rem;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #4B5563;
}

/* Mobile menu */
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  #mobile-menu-btn,
  #mobile-close-btn,
  .mobile-menu-overlay {
    display: none;
  }

  .mobile-menu {
    position: static;
    width: auto;
    height: auto;
    padding: 1.5rem;
    overflow: visible;
    transform: none;
    transition: none;
  }

  .mobile-menu > .flex.justify-between.items-center.mb-10 {
    display: none;
  }

  .mobile-menu-panel {
    width: 19.5rem;
    height: 100%;
    background: linear-gradient(180deg, #0C2340 0%, #123252 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  }

  .mobile-menu-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-nav a {
    display: block;
    line-height: 1.4;
  }

  .mobile-nav > a:not(.pl-4) {
    padding-top: 0.75rem;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }

  .mobile-nav > a:not(.pl-4) + a:not(.pl-4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav a.pl-4 {
    margin-top: -0.3rem;
    padding-left: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .js-menu #mobile-menu-btn {
    display: inline-flex;
  }

  .js-menu #mobile-close-btn {
    display: block;
  }

  .js-menu .mobile-menu {
    position: fixed;
    width: 18rem;
    height: 100%;
    padding: 2rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .js-menu .mobile-menu.open {
    transform: translateX(0);
  }

  .js-menu .mobile-menu-header {
    display: flex;
  }

  .js-menu .mobile-menu-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .js-menu .mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Page banner for inner pages */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0C2340 0%, #1B4965 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.page-banner::before {
  top: -6rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.page-banner::after {
  bottom: -8rem;
  left: -5rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, rgba(197, 160, 89, 0) 72%);
}

.page-banner > div {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  max-width: 12ch;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-banner nav {
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="grazie"] .entry-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

body[data-page="grazie"] .entry-content h2 {
  color: #0C2340;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

body[data-page="grazie"] .entry-content p {
  color: #4B5563;
  line-height: 1.8;
}

body[data-page="grazie"] .entry-content p:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

body[data-page="grazie"] .entry-content p:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

body[data-page="grazie"] .entry-content p:last-child a:first-child {
  background-color: #C5A059;
  color: #FFFFFF;
  box-shadow: 0 18px 40px -24px rgba(12, 35, 64, 0.45);
}

body[data-page="grazie"] .entry-content p:last-child a:last-child {
  border: 1px solid rgba(12, 35, 64, 0.12);
  background-color: #F9F7F2;
  color: #0C2340;
}

body.wp-theme-hotel-lavela .entry-content .shadow-lg,
body.wp-theme-hotel-lavela .entry-content .shadow-xl,
body.wp-theme-hotel-lavela .entry-content .shadow-2xl {
  border-radius: 1rem;
  overflow: hidden;
}

body.wp-theme-hotel-lavela .entry-content form.shadow-lg,
body.wp-theme-hotel-lavela .entry-content .bg-white.p-8.shadow-lg,
body.wp-theme-hotel-lavela .entry-content .bg-white.p-8.shadow-2xl,
body.wp-theme-hotel-lavela .entry-content .bg-vela-cream.p-8,
body.wp-theme-hotel-lavela .entry-content .bg-vela-cream.p-8.md\:p-12 {
  border: 1px solid rgba(12, 35, 64, 0.08);
}

body.wp-theme-hotel-lavela .entry-content input,
body.wp-theme-hotel-lavela .entry-content select,
body.wp-theme-hotel-lavela .entry-content textarea {
  border-radius: 0.75rem;
}

body.wp-theme-hotel-lavela #booking-request-form input,
body.wp-theme-hotel-lavela #booking-request-form select,
body.wp-theme-hotel-lavela #booking-request-form textarea,
body.wp-theme-hotel-lavela #commentform input,
body.wp-theme-hotel-lavela #commentform select,
body.wp-theme-hotel-lavela #commentform textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.wp-theme-hotel-lavela #booking-request-form input[aria-invalid="true"],
body.wp-theme-hotel-lavela #booking-request-form select[aria-invalid="true"],
body.wp-theme-hotel-lavela #booking-request-form textarea[aria-invalid="true"],
body.wp-theme-hotel-lavela #booking-request-form input[data-lavela-field-state="error"],
body.wp-theme-hotel-lavela #booking-request-form select[data-lavela-field-state="error"],
body.wp-theme-hotel-lavela #booking-request-form textarea[data-lavela-field-state="error"],
body.wp-theme-hotel-lavela #commentform input[aria-invalid="true"],
body.wp-theme-hotel-lavela #commentform select[aria-invalid="true"],
body.wp-theme-hotel-lavela #commentform textarea[aria-invalid="true"],
body.wp-theme-hotel-lavela #commentform input[data-lavela-field-state="error"],
body.wp-theme-hotel-lavela #commentform select[data-lavela-field-state="error"],
body.wp-theme-hotel-lavela #commentform textarea[data-lavela-field-state="error"] {
  border-color: #b42318;
  background-color: #fff7f5;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

body.wp-theme-hotel-lavela #booking-request-form input[data-lavela-field-state="valid"],
body.wp-theme-hotel-lavela #booking-request-form select[data-lavela-field-state="valid"],
body.wp-theme-hotel-lavela #booking-request-form textarea[data-lavela-field-state="valid"],
body.wp-theme-hotel-lavela #commentform input[data-lavela-field-state="valid"],
body.wp-theme-hotel-lavela #commentform select[data-lavela-field-state="valid"],
body.wp-theme-hotel-lavela #commentform textarea[data-lavela-field-state="valid"] {
  border-color: #0f766e;
  background-color: #f3fbf8;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][aria-invalid="true"],
body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][data-lavela-field-state="error"],
body.wp-theme-hotel-lavela #commentform input[type="checkbox"][aria-invalid="true"],
body.wp-theme-hotel-lavela #commentform input[type="checkbox"][data-lavela-field-state="error"] {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14);
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][data-lavela-field-state="valid"],
body.wp-theme-hotel-lavela #commentform input[type="checkbox"][data-lavela-field-state="valid"] {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  margin-top: 0.2rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 9999px;
  background-color: #FFFFFF;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"]::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  background-color: #FFFFFF;
  transform: scale(0);
  transition: transform 0.18s ease;
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"]:checked {
  background-color: #C5A059;
  border-color: #C5A059;
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"]:checked::before {
  transform: scale(1);
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][aria-invalid="true"],
body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][data-lavela-field-state="error"] {
  border-color: #b42318;
  background-color: #FFFFFF;
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][data-lavela-field-state="valid"] {
  border-color: #0f766e;
  background-color: #FFFFFF;
}

body.wp-theme-hotel-lavela #booking-request-form input[type="checkbox"][data-lavela-field-state="valid"]:checked {
  background-color: #C5A059;
  border-color: #C5A059;
}

/* Event source cards */
.event-source-card {
  border-radius: 1rem;
  border: 1px solid rgba(12, 35, 64, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-source-card:hover,
.event-source-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(12, 35, 64, 0.18);
  border-color: rgba(197, 160, 89, 0.3);
  outline: none;
}

.event-source-card img {
  filter: grayscale(20%);
  transition: filter 0.2s ease;
}

.event-source-card:hover img,
.event-source-card:focus-visible img {
  filter: grayscale(0%);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }

  .nav-transition,
  .dropdown-menu,
  .hero-slide,
  .mobile-menu,
  .mobile-menu-overlay {
    transition: none;
  }

  .animate-bounce {
    animation: none !important;
  }
}
