/**
 * Stadlio Events — card grid, single event, EnjoyIschia-style
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --stadlio-primary: #2563eb;
  --stadlio-primary-hover: #1d4ed8;
  --stadlio-secondary: #64748b;
  --stadlio-font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --stadlio-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.stadlio-events--cards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: var(--stadlio-font-body);
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
.stadlio-home-block {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 28px 20px 36px;
  border-radius: 16px;
  margin-bottom: 32px;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
.stadlio-home-block .stadlio-events-home__section-title {
  font-family: var(--stadlio-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.stadlio-home-block .stadlio-events-home__link--view-all {
  font-family: var(--stadlio-font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}
.stadlio-home-block .stadlio-event-card__title,
.stadlio-home-block .stadlio-product-card .stadlio-card-title,
.stadlio-home-block .sd-listing-card .sd-listing-card__title,
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__title {
  font-family: var(--stadlio-font-display);
  font-weight: 600;
}

/* Home block: all cards same style, always 4 columns on desktop */
.stadlio-home-block.stadlio-events--cards[data-columns="4"] .stadlio-events-grid {
  grid-template-columns: repeat(4, 1fr);
}
.stadlio-home-block .stadlio-product-card,
.stadlio-home-block .sd-listing-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.stadlio-home-block .stadlio-product-card,
.stadlio-home-block .sd-listing-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stadlio-home-block .stadlio-product-card:hover,
.stadlio-home-block .sd-listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(37, 99, 235, 0.08);
}
.stadlio-home-block .stadlio-product-card .stadlio-card-image-link,
.stadlio-home-block .stadlio-product-card .stadlio-card-image,
.stadlio-home-block .sd-listing-card .sd-listing-card__image-link {
  display: block;
  height: 260px;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-image img,
.stadlio-home-block .sd-listing-card .sd-listing-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stadlio-home-block .sd-listing-card .sd-listing-card__image--placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
.stadlio-home-block .sd-listing-card--enjoy .stadlio-event-card__meta-line {
  margin-bottom: 10px;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-image-placeholder--enjoy {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
.stadlio-home-block .stadlio-product-card--enjoy .stadlio-event-card__meta-line {
  margin-bottom: 10px;
}

/* Events list — date filters (blue pills) */
.stadlio-events-list__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #eef6ff 0%, #dbeafe 100%);
  border-radius: 14px;
  border: 1px solid #bfdbfe;
}
.stadlio-events-list__filter-pill {
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--stadlio-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e40af;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #93c5fd;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.stadlio-events-list__filter-pill:hover {
  background: #fff;
  color: var(--stadlio-primary-hover);
  border-color: #60a5fa;
  transform: translateY(-1px);
}
.stadlio-events-list__filter-pill.is-active {
  background: var(--stadlio-primary);
  color: #fff;
  border-color: var(--stadlio-primary);
}
.stadlio-events-list__filter-pill.is-active:hover {
  background: var(--stadlio-primary-hover);
  color: #fff;
  border-color: var(--stadlio-primary-hover);
}
@media (max-width: 768px) {
  .stadlio-events-list__filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 14px 16px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .stadlio-events-list__filter-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.875rem;
  }
}

.stadlio-home-block .stadlio-product-card .stadlio-card-body,
.stadlio-home-block .sd-listing-card .sd-listing-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-title,
.stadlio-home-block .sd-listing-card .sd-listing-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-title a,
.stadlio-home-block .sd-listing-card .sd-listing-card__title a {
  color: inherit;
  text-decoration: none;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-title a:hover,
.stadlio-home-block .sd-listing-card .sd-listing-card__title a:hover {
  text-decoration: underline;
  color: var(--stadlio-primary);
}

/* Product card — store, price, location */
.stadlio-home-block .stadlio-product-card .stadlio-card-store,
.stadlio-product-card .stadlio-card-store {
  font-size: 12px;
  color: #6b6a65;
  margin-bottom: 6px;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-store-link,
.stadlio-product-card .stadlio-card-store-link {
  color: #6b6a65;
  text-decoration: none;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-store-link:hover,
.stadlio-product-card .stadlio-card-store-link:hover {
  color: var(--stadlio-primary);
  text-decoration: underline;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-price,
.stadlio-product-card .stadlio-card-price {
  margin: 8px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.stadlio-home-block .stadlio-product-card .stadlio-price-main,
.stadlio-product-card .stadlio-price-main {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a18;
}
.stadlio-home-block .stadlio-product-card .stadlio-price-orig,
.stadlio-product-card .stadlio-price-orig {
  font-size: 14px;
  font-weight: 400;
  color: #6b6a65;
  text-decoration: line-through;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-location,
.stadlio-product-card .stadlio-card-location {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
  margin-top: 4px;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-location svg,
.stadlio-product-card .stadlio-card-location svg {
  flex-shrink: 0;
  opacity: 0.75;
  margin-top: 2px;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-location span,
.stadlio-product-card .stadlio-card-location span {
  min-width: 0;
  overflow-wrap: break-word;
}
.stadlio-product-card .stadlio-badge--category,
.stadlio-home-block .stadlio-product-card .stadlio-badge--category {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(85,85,85,0.9);
  color: #fff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
}
.stadlio-product-card .stadlio-badge--discount,
.stadlio-home-block .stadlio-product-card .stadlio-badge--discount,
.stadlio-badge--discount {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #E74C3C;
  color: #fff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
}
.stadlio-product-card .stadlio-badge--featured,
.stadlio-home-block .stadlio-product-card .stadlio-badge--featured {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(253,243,224,0.95);
  color: #7a5a1a;
  border: 1px solid rgba(212,168,83,0.35);
}
.stadlio-product-card .stadlio-card-image:has(.stadlio-badge--category) .stadlio-badge--featured {
  top: 38px;
}
.stadlio-product-card .stadlio-card-image {
  position: relative;
}
.stadlio-home-block .stadlio-product-card .stadlio-card-description,
.stadlio-product-card .stadlio-card-description {
  font-size: 13px;
  color: #6b6a65;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Listing card — home block */
.stadlio-home-block .sd-listing-card .sd-listing-card__author {
  font-size: 12px;
  color: #6b6a65;
  margin-bottom: 4px;
}
.stadlio-home-block .sd-listing-card .sd-listing-card__price .stadlio-price-main {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a18;
}
.stadlio-home-block .sd-listing-card .sd-listing-card__location,
.sd-listing-card .sd-listing-card__location {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
  margin: 6px 0 0;
}
.stadlio-home-block .sd-listing-card .sd-listing-card__location svg,
.sd-listing-card .sd-listing-card__location svg {
  flex-shrink: 0;
  opacity: 0.75;
  margin-top: 2px;
}
.stadlio-home-block .sd-listing-card .sd-listing-card__location span,
.sd-listing-card .sd-listing-card__location span {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Experience card — home block */
.stadlio-home-block .stadlio-experience-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stadlio-home-block .stadlio-experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(37, 99, 235, 0.08);
}
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__image-wrap {
  height: 260px;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
}
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0;
  font-size: 13px;
  color: #6b6a65;
}
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__meta-icon {
  flex-shrink: 0;
  opacity: 0.8;
}
.stadlio-home-block .stadlio-experience-card .stadlio-event-card__price {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a18;
  margin: 0 0 10px;
}

.stadlio-events--cards .stadlio-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stadlio-events--cards[data-columns="1"] .stadlio-events-grid {
  grid-template-columns: 1fr;
}
.stadlio-events--cards[data-columns="2"] .stadlio-events-grid {
  grid-template-columns: repeat(2, 1fr);
}
.stadlio-events--cards[data-columns="3"] .stadlio-events-grid {
  grid-template-columns: repeat(3, 1fr);
}
.stadlio-events--cards[data-columns="4"] .stadlio-events-grid {
  grid-template-columns: repeat(4, 1fr);
}
.stadlio-sellers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stadlio-sellers-grid[data-columns="1"] {
  grid-template-columns: 1fr;
}
.stadlio-sellers-grid[data-columns="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.stadlio-sellers-grid[data-columns="4"] {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .stadlio-home-block.stadlio-events--cards[data-columns="3"] .stadlio-events-grid,
  .stadlio-home-block.stadlio-events--cards[data-columns="4"] .stadlio-events-grid,
  .stadlio-events--cards[data-columns="3"] .stadlio-events-grid,
  .stadlio-events--cards[data-columns="4"] .stadlio-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stadlio-sellers-grid[data-columns="3"],
  .stadlio-sellers-grid[data-columns="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Mobile: 1 colonna, un evento per riga — specificity alta per override */
@media (max-width: 768px) {
  .stadlio-home-block .stadlio-events-grid,
  .stadlio-home-block.stadlio-events--cards .stadlio-events-grid,
  .stadlio-home-block.stadlio-events--cards[data-columns="2"] .stadlio-events-grid,
  .stadlio-home-block.stadlio-events--cards[data-columns="3"] .stadlio-events-grid,
  .stadlio-home-block.stadlio-events--cards[data-columns="4"] .stadlio-events-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .stadlio-annunci-grid,
  .stadlio-annunci-grid[data-columns="3"],
  .stadlio-annunci-grid[data-columns="4"] {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .stadlio-sellers-grid,
  .stadlio-sellers-list .stadlio-sellers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .stadlio-events--cards .stadlio-events-grid,
  .stadlio-events--cards[data-columns="2"] .stadlio-events-grid,
  .stadlio-events--cards[data-columns="3"] .stadlio-events-grid,
  .stadlio-events--cards[data-columns="4"] .stadlio-events-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .stadlio-events--cards,
  .stadlio-home-block {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 480px) {
  .stadlio-events-home__section--enjoy .stadlio-events-home__header {
    margin-bottom: 16px;
  }
  .stadlio-events-home__section--enjoy .stadlio-events-home__section-title {
    font-size: 20px;
  }
  .stadlio-events-home__link--view-all {
    padding: 6px 14px;
    font-size: 13px;
  }
  .stadlio-event-card,
  .stadlio-event-card--cta {
    min-height: 360px;
  }
  .stadlio-event-card__image-wrap,
  .stadlio-event-card__image-link {
    height: 200px;
  }
  .stadlio-event-card:hover,
  .stadlio-home-block .stadlio-product-card:hover,
  .stadlio-home-block .sd-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(37, 99, 235, 0.06);
  }
}
.stadlio-event-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}
.stadlio-event-card__soldout-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: #b91c1c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 6px 12px;
  text-transform: uppercase;
}
.stadlio-event-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.stadlio-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(37, 99, 235, 0.08);
}
.stadlio-event-card:hover .stadlio-event-card__image-wrap img,
.stadlio-event-card:hover .stadlio-event-card__image-link img {
  transform: scale(1.06);
}
.stadlio-event-card:has(.stadlio-event-card__link-cover) {
  cursor: pointer;
}
.stadlio-event-card__link-cover:focus-visible {
  outline: 2px solid var(--stadlio-primary);
  outline-offset: 2px;
}
.stadlio-event-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.stadlio-event-card__link-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.stadlio-event-card__image-wrap,
.stadlio-event-card__image-link {
  display: block;
  height: 260px;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.stadlio-event-card__image-wrap .stadlio-badge--featured,
.stadlio-event-card__image-link .stadlio-badge--featured {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(83, 74, 183, 0.95);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.stadlio-event-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.stadlio-event-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stadlio-event-card__date {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.stadlio-event-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.stadlio-event-card__title a {
  color: inherit;
  text-decoration: none;
}
.stadlio-event-card__title a:hover {
  text-decoration: underline;
  color: var(--stadlio-primary);
}
.stadlio-event-card__location,
.sd-event-card__location {
  font-size: 12px;
  color: #4b5563;
  margin: 0 0 10px;
}
.stadlio-event-card__excerpt {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 14px;
  line-height: 1.55;
  flex: 1;
}

/* EnjoyIschia-style card: date badge overlay, meta with icons */
.sd-event-card--enjoy .stadlio-event-card__image-wrap {
  position: relative;
}
.sd-event-card--enjoy .stadlio-event-card__date-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--stadlio-primary, #2563eb);
  color: #fff;
  padding: 12px 16px 16px 12px;
  border-radius: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.sd-event-card--enjoy .stadlio-event-card__date-badge-day {
  font-size: 24px;
  font-weight: 700;
  display: block;
}
.sd-event-card--enjoy .stadlio-event-card__date-badge-month {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
.sd-event-card--enjoy .stadlio-event-card__image--placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
/* CTA card placeholder — soft gradient, inviting */
.stadlio-event-card__image--cta {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stadlio-event-card__image--cta::after {
  content: '';
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(37,99,235,0.4)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M12 4v16m8-8H4'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.8;
}
.stadlio-event-card--cta .stadlio-event-card__cta-btn {
  display: inline-block;
  padding: 12px 24px;
  min-height: 44px;
  box-sizing: border-box;
  font-family: var(--stadlio-font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--stadlio-primary);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.stadlio-event-card--cta .stadlio-event-card__cta-btn:hover {
  background: var(--stadlio-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.stadlio-event-card--cta .stadlio-event-card__cta-btn:focus-visible {
  outline: 2px solid var(--stadlio-primary);
  outline-offset: 2px;
}
.sd-event-card--enjoy .stadlio-event-card__meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  font-size: 13px;
  color: #4b5563;
  margin: 0 0 8px;
}
.sd-event-card--enjoy .stadlio-event-card__meta-line--datetime {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 10px;
}
.sd-event-card--enjoy .stadlio-event-card__meta-line--datetime .stadlio-event-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sd-event-card--enjoy .stadlio-event-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sd-event-card--enjoy .stadlio-event-card__meta-icon {
  flex-shrink: 0;
  opacity: 0.75;
}
.sd-event-card--enjoy .stadlio-event-card__location.stadlio-event-card__meta-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px;
  margin-bottom: 10px;
}
.sd-event-card--enjoy .stadlio-event-card__location .stadlio-event-card__meta-icon {
  margin-top: 2px;
}
.sd-event-card--enjoy .stadlio-event-card__location.stadlio-event-card__meta-line span {
  min-width: 0;
  overflow-wrap: break-word;
}
.sd-event-card--enjoy .stadlio-event-card__title {
  margin-bottom: 8px;
}
.sd-event-card--enjoy .stadlio-event-card__excerpt {
  font-size: 14px;
  margin-bottom: 0;
  color: #4b5563;
  line-height: 1.55;
}
.stadlio-event-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--stadlio-primary);
  text-decoration: none;
}
.stadlio-event-card__link:hover {
  text-decoration: underline;
}
/* Empty state CTA card */
.stadlio-events-empty-card {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}
.stadlio-events-empty-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
}
.stadlio-events-empty-card__desc {
  margin: 0 0 24px;
  font-size: 15px;
  color: #64748b;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.stadlio-events-empty-card__btn {
  display: inline-block;
  padding: 12px 24px;
  min-height: 44px;
  box-sizing: border-box;
  background: var(--stadlio-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.2s;
}
.stadlio-events-empty-card__btn:focus-visible {
  outline: 2px solid var(--stadlio-primary);
  outline-offset: 2px;
}
.stadlio-events-empty-card__btn:hover {
  background: var(--stadlio-primary-hover);
  color: #fff !important;
}

/* Operational status badges (admin + frontend) */
.stadlio-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
}
.stadlio-badge-status {
  background: #e5e7eb;
  color: #374151;
}
.stadlio-badge-draft {
  background: #fef3c7;
  color: #92400e;
}
.stadlio-badge-pending {
  background: #dbeafe;
  color: #1e40af;
}
.stadlio-badge-published {
  background: #d1fae5;
  color: #047857;
}
.stadlio-badge-rejected {
  background: #fee2e2;
  color: #991b1b;
}
.stadlio-badge-cancelled {
  background: #fecaca;
  color: #991b1b;
}
.stadlio-badge-soldout {
  background: #fed7aa;
  color: #9a3412;
}
.stadlio-badge-rescheduled {
  background: #bfdbfe;
  color: #1e40af;
}
.stadlio-badge-expired {
  background: #f1f5f9;
  color: #475569;
}
.stadlio-was-date {
  color: #6b7280;
  font-size: 0.9em;
}
/* Reschedule modal */
.stadlio-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stadlio-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
}
.stadlio-modal-content input[type="date"],
.stadlio-modal-content input[type="time"] {
  margin-left: 8px;
}
.stadlio-modal-content p {
  margin: 12px 0;
}
/* My events — card grid */
.stadlio-my-events__title { margin: 0 0 20px; font-size: 24px; font-weight: 700; }
.stadlio-my-events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  align-items: stretch;
}
.stadlio-my-events__grid .stadlio-my-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.stadlio-my-events__grid .stadlio-my-event-card__link-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.stadlio-my-events__grid .stadlio-my-event-card__body {
  flex: 1;
}
.stadlio-my-events__past { margin-top: 24px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.stadlio-my-events__past-title { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.stadlio-my-events__show-past { margin: 0 0 8px; }
.stadlio-my-events__toggle-past {
  background: none;
  border: none;
  font-size: 15px;
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.stadlio-my-events__toggle-past:hover { color: #1d4ed8; }

/* Show more events */
.stadlio-my-events__show-more-wrap { margin: 0 0 24px; }
.stadlio-my-events__show-more {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stadlio-primary);
  background: #fff;
  border: 1px solid var(--stadlio-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.stadlio-my-events__show-more:hover {
  background: var(--stadlio-primary);
  color: #fff;
}
.stadlio-my-events__more { margin-top: 0; }
.stadlio-my-events__grid--more { margin-top: 0; }

/* My event card — modern design, overlay for soldout/cancelled */
.stadlio-my-event-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.stadlio-my-event-card:hover {
  transform: translateY(-2px);
}
.stadlio-my-event-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06); }
.stadlio-my-event-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.stadlio-my-event-card--overlay-cancelled .stadlio-my-event-card__overlay {
  background: rgba(100, 100, 100, 0.7);
}
.stadlio-my-event-card--overlay-soldout .stadlio-my-event-card__overlay {
  background: rgba(180, 60, 40, 0.65);
}
.stadlio-my-event-card__overlay-label {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.stadlio-my-event-card__link-wrap { display: block; text-decoration: none; color: inherit; }
.stadlio-my-event-card__image {
  height: 25vh;
  min-height: 200px;
  background: #f3f4f6;
  overflow: hidden;
}
.stadlio-my-event-card--compact .stadlio-my-event-card__image { height: 25vh; min-height: 200px; }
.stadlio-my-event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stadlio-my-event-card__image--placeholder { background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%); }
.stadlio-my-event-card__body { padding: 14px 16px 12px; }
.stadlio-my-event-card--compact .stadlio-my-event-card__body { padding: 12px 14px 10px; }
.stadlio-my-event-card__body .stadlio-badge { margin-right: 4px; margin-bottom: 6px; }
.stadlio-my-event-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.stadlio-my-event-card--compact .stadlio-my-event-card__title { font-size: 15px; }
.stadlio-my-event-card__date {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}
.stadlio-my-event-card__location { font-size: 13px; color: #4b5563; margin: 0; }
.stadlio-my-event-card__excerpt {
  font-size: 13px;
  color: #6b7280;
  margin: 8px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stadlio-my-event-card__actions {
  padding: 10px 14px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}
/* Single-line buttons: desktop + mobile, scroll if needed */
.stadlio-my-event-card__actions-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.stadlio-my-event-card__actions-row::-webkit-scrollbar {
  height: 4px;
}
.stadlio-my-event-card__actions-row::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}
.stadlio-my-event-card__actions-row .stadlio-my-event-card__form,
.stadlio-my-event-card__actions-row .stadlio-my-event-card__btn {
  flex-shrink: 0;
}
.stadlio-my-event-card__form { display: inline; margin: 0; }
.stadlio-my-event-card__btn {
  padding: 6px 10px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.stadlio-my-event-card__btn:hover { background: #f3f4f6; }
/* Primary: Sold Out, Reschedule */
.stadlio-my-event-card__btn--primary {
  background: var(--stadlio-primary);
  color: #fff;
  border-color: var(--stadlio-primary);
}
.stadlio-my-event-card__btn--primary:hover { background: var(--stadlio-primary-hover); color: #fff; }
/* Warning: Cancel */
.stadlio-my-event-card__btn--warning {
  color: #b45309;
  border-color: #fcd34d;
  background: #fffbeb;
}
.stadlio-my-event-card__btn--warning:hover { background: #fef3c7; }
/* Danger: Delete */
.stadlio-my-event-card__btn--danger {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}
.stadlio-my-event-card__btn--danger:hover { background: #fee2e2; }
.stadlio-my-event-card__btn--remove {
  padding: 6px 10px;
  min-height: 32px;
  font-size: 12px;
  color: #6b7280;
  border-color: #e5e7eb;
}
.stadlio-my-event-card__btn--remove:hover { color: #dc2626; background: #fef2f2; border-color: #fecaca; }

@media (max-width: 768px) {
  .stadlio-my-events__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 20px;
  }
}
@media (max-width: 640px) {
  .stadlio-my-event-card__image {
    height: 25vh;
    min-height: 180px;
  }
  .stadlio-my-event-card--compact .stadlio-my-event-card__image {
    height: 25vh;
    min-height: 180px;
  }
  .stadlio-my-event-card__body {
    padding: 14px 16px 12px;
  }
  .stadlio-my-event-card__actions {
    padding: 8px 12px;
  }
  .stadlio-my-event-card__actions-row {
    gap: 6px;
  }
  .stadlio-my-event-card__btn {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* My Annunci — card grid, active + past with show more */
.stadlio-my-annunci__submit { margin: 0 0 16px 0; }
.stadlio-my-annunci__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.stadlio-my-annunci-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.stadlio-my-annunci-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.stadlio-my-annunci-card__image-link,
.stadlio-my-annunci-card__image {
  display: block;
  height: 140px;
  min-height: 140px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
}
.stadlio-my-annunci-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stadlio-my-annunci-card__body {
  padding: 14px 16px;
}
.stadlio-my-annunci-card__body .stadlio-badge {
  margin-bottom: 8px;
  display: inline-block;
}
.stadlio-my-annunci-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.stadlio-my-annunci-card__title a {
  color: inherit;
  text-decoration: none;
}
.stadlio-my-annunci-card__title a:hover {
  color: var(--stadlio-primary);
  text-decoration: underline;
}
.stadlio-my-annunci-card__price {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #059669;
  margin-bottom: 4px;
}
.stadlio-my-annunci-card__location {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 10px;
}
.stadlio-my-annunci-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--stadlio-primary);
  text-decoration: none;
}
.stadlio-my-annunci-card__link:hover {
  text-decoration: underline;
}
.stadlio-my-annunci__toggle-past {
  background: none;
  border: none;
  font-size: 15px;
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px 0;
  margin: 8px 0 0 0;
}
.stadlio-my-annunci__toggle-past:hover { color: #1d4ed8; }
.stadlio-my-annunci__past { margin-top: 12px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.stadlio-my-annunci-card--past { opacity: 0.9; }

@media (max-width: 768px) {
  .stadlio-my-annunci__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .stadlio-my-annunci__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .stadlio-my-annunci-card__image-link,
  .stadlio-my-annunci-card__image {
    height: 120px;
    min-height: 120px;
  }
}

/* My events list (legacy) */
.stadlio-my-events-list { list-style: none; padding: 0; margin: 0; }
.stadlio-my-event { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid #e5e7eb; }
.stadlio-my-event-title { font-weight: 600; min-width: 150px; }

/* Event detail page (legacy, kept for fallback) */
.stadlio-event-page-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.stadlio-event-page__image { margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.stadlio-event-page__image img { width: 100%; height: auto; display: block; }
.stadlio-event-page__body { padding: 0 0 24px; }
.stadlio-event-page__title { margin: 0 0 12px; font-size: 28px; font-weight: 700; }
.stadlio-event-page__date { display: block; font-size: 15px; color: #6b7280; margin-bottom: 8px; }
.stadlio-event-page__location { font-size: 15px; color: #4b5563; margin: 0 0 16px; }
.stadlio-event-page__description { font-size: 16px; line-height: 1.6; white-space: pre-wrap; }

/* Hide theme header/title bar on single event (Eventbrite-style: cover first) */
body.stadlio-event-single-view .entry-header,
body.stadlio-event-single-view .page-header,
body.stadlio-event-single-view .post-header,
body.stadlio-event-single-view .site-content > header,
body.stadlio-event-single-view article > header:first-child,
body.stadlio-event-single-view .page-title-wrap,
body.stadlio-event-single-view .entry-title-wrap {
  display: none !important;
}
/* Reduce gap between cover and content */
body.stadlio-event-single-view .entry-content {
  padding-top: 0 !important;
}

/* Single event — cover first, nav in body */
.stadlio-event-single-wrap { width: 100%; max-width: none; position: relative; }
.stadlio-event-single__nav-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}
.stadlio-event-single__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
}
.stadlio-event-single__nav-link:hover {
  color: #111827;
  text-decoration: underline;
}
.stadlio-event-single__nav-link--profile {
  margin-left: auto;
}
.stadlio-event-single { width: 100%; }
.stadlio-event-single__hero {
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.stadlio-event-single__cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}
.stadlio-event-single__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stadlio-event-single__cover--placeholder { background: linear-gradient(135deg, #475569 0%, #64748b 100%); }

/* Cover aspect: landscape — compact hero, cover fills */
.stadlio-event-single--landscape .stadlio-event-single__hero {
  min-height: 28vh;
  max-height: 42vh;
}
.stadlio-event-single--landscape .stadlio-event-single__cover img {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 640px) {
  .stadlio-event-single--landscape .stadlio-event-single__hero {
    min-height: 24vh;
    max-height: 36vh;
  }
}

/* Cover aspect: portrait — show full image (contain), no cropping */
.stadlio-event-single--portrait .stadlio-event-single__hero {
  min-height: 50vh;
  max-height: 85vh;
}
.stadlio-event-single--portrait .stadlio-event-single__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
}
.stadlio-event-single--portrait .stadlio-event-single__cover img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  max-height: 85vh;
}
@media (max-width: 640px) {
  .stadlio-event-single--portrait .stadlio-event-single__hero {
    min-height: 45vh;
    max-height: 75vh;
  }
  .stadlio-event-single--portrait .stadlio-event-single__cover img {
    max-height: 75vh;
  }
}

.stadlio-event-single__hero-overlay {
  position: relative;
  width: 100%;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
  color: #fff;
}
.stadlio-event-single__hero-inner { max-width: 800px; margin: 0 auto; padding-top: 0; }
.stadlio-event-single__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.stadlio-event-single__date-hero {
  margin: 0 0 6px;
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.stadlio-event-single__location-hero {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.stadlio-event-single__cta-tickets {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  transition: background 0.2s;
}
.stadlio-event-single__cta-tickets:hover {
  background: #1e40af;
  color: #fff;
}

/* CTA in body (desktop + mobile) */
.stadlio-event-single__cta-body {
  margin: 20px 0 24px;
}
.stadlio-event-single__cta-body-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  transition: background 0.2s;
}
.stadlio-event-single__cta-body-btn:hover {
  background: #1e40af;
  color: #fff;
}

/* Sticky CTA bar (mobile only) */
.stadlio-event-single__sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .stadlio-event-single-wrap[data-has-sticky-cta="1"] .stadlio-event-single__body {
    padding-bottom: 80px;
  }
  .stadlio-event-single__sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  }
  .stadlio-event-single__sticky-cta-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .stadlio-event-single__sticky-cta-btn:hover {
    background: #1e40af;
    color: #fff;
  }
}
.stadlio-event-single__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px 48px;
}
.stadlio-event-single__meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.stadlio-event-single__meta-item { display: block; }
.stadlio-event-single__meta-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 4px;
}
.stadlio-event-single__meta-value { font-size: 15px; color: #1e293b; }
.stadlio-event-single__meta-category-link {
  font-size: 15px;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.stadlio-event-single__meta-category-link:hover {
  color: #0f172a;
  text-decoration: underline;
}
.stadlio-event-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.stadlio-event-single__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
}
.stadlio-event-single__description {
  font-size: 16px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 28px;
}
.stadlio-event-single__description p,
.stadlio-event-description p { margin: 0 0 1em; }
.stadlio-event-single__description p:last-child,
.stadlio-event-description p:last-child { margin-bottom: 0; }
.stadlio-event-single__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.stadlio-event-single__btn-ci-vado {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--stadlio-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.stadlio-event-single__btn-ci-vado:hover { background: var(--stadlio-primary-hover); }
.stadlio-event-single__btn-ci-vado[aria-pressed="true"] {
  background: #1e40af;
  outline: 2px solid #3b82f6;
}
.stadlio-event-single__btn-count {
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
}
/* Share & Add to calendar */
.stadlio-event-single__share {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.stadlio-event-single__share-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 12px;
}
.stadlio-event-single__share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stadlio-event-single__share-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #f3f4f6;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.stadlio-event-single__share-link:hover {
  background: #e5e7eb;
  color: #1f2937;
}
.stadlio-event-single__share-link--ics:hover { background: #dbeafe; color: #1d4ed8; }
.stadlio-event-single__share-link--facebook:hover { background: #dbeafe; color: #1877f2; }
.stadlio-event-single__share-link--whatsapp:hover { background: #dcfce7; color: #25d366; }
.stadlio-event-single__share-icon { font-size: 18px; }
@media (max-width: 480px) {
  .stadlio-event-single__share-links { flex-direction: column; }
  .stadlio-event-single__share-link { justify-content: center; }
}

/* Events home blocks */
.stadlio-events-home__section-title { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.stadlio-events-home__featured { margin-bottom: 32px; }
.stadlio-events-home__upcoming { margin-bottom: 24px; }
.stadlio-events-home__link-wrap { margin: 16px 0 0; }
.stadlio-events-home__link { font-weight: 600; color: #2563eb; }

/* EnjoyIschia-style: header with title + View all link (Events page) */
.stadlio-events-home__section--enjoy .stadlio-events-home__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.stadlio-events-home__section--enjoy .stadlio-events-home__section-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}
.stadlio-events-home__link--view-all {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stadlio-primary, #2563eb);
  background: #f1f5f9;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.stadlio-events-home__link--view-all:hover {
  background: #e2e8f0;
  color: var(--stadlio-primary-hover, #1d4ed8);
}

/* CTA card (Add your event) */
.stadlio-event-card--cta {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.stadlio-event-card--cta .stadlio-event-card__image--cta {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
}
.stadlio-event-card--cta .stadlio-event-card__cta-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--stadlio-primary, #2563eb);
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s;
}
.stadlio-event-card--cta .stadlio-event-card__cta-btn:hover {
  background: var(--stadlio-primary-hover, #1d4ed8);
  color: #fff;
}

/* Pagination */
.stadlio-pagination { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e5e7eb; text-align: center; }
.stadlio-pagination__btn {
  min-width: 140px;
  padding: 12px 28px;
  font-family: var(--stadlio-font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  background: var(--stadlio-primary);
  border: 1px solid var(--stadlio-primary-hover);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.stadlio-pagination__btn:hover:not(:disabled) {
  background: var(--stadlio-primary-hover);
  transform: translateY(-1px);
}
.stadlio-pagination__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.stadlio-pagination--paged { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.stadlio-pagination__prev,
.stadlio-pagination__next { font-weight: 500; color: #2563eb; text-decoration: none; }
.stadlio-pagination__prev:hover,
.stadlio-pagination__next:hover { text-decoration: underline; }
.stadlio-pagination__info { color: #6b7280; font-size: 14px; }
.stadlio-my-event-actions form { display: inline; margin-right: 8px; }
.stadlio-notice--success { color: #059669; }
.stadlio-notice--error { color: #dc2626; }

/* Unified auth [stadlio_auth], forgot [stadlio_forgot], reset [stadlio_reset] */
.stadlio-auth-wrap {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 440px;
  margin: 40px auto;
  padding: 0 24px;
}
.stadlio-auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 36px 32px;
  border: 1px solid #e5e7eb;
}
.stadlio-auth-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 28px;
  border-bottom: 1px solid #e5e7eb;
}
.stadlio-auth-tab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.stadlio-auth-tab:hover { color: #374151; }
.stadlio-auth-tab--active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.stadlio-auth-panel { margin: 0; }
.stadlio-auth-title { margin: 0 0 20px; font-size: 22px; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; }
.stadlio-auth-links { margin: 20px 0 0; font-size: 14px; text-align: center; color: #6b7280; }
.stadlio-auth-links a { color: #2563eb; text-decoration: none; }
.stadlio-auth-links a:hover { text-decoration: underline; }
.stadlio-forgot-success { margin: 0 0 20px; font-size: 15px; color: #374151; line-height: 1.5; }

/* Login gate — inline auth when not logged in (experiences, restaurants, etc.) */
.stadlio-login-gate {
  max-width: 440px;
  margin: 32px auto;
  padding: 0 16px;
}
.stadlio-login-gate__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
}
.stadlio-login-gate__message {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
}
.stadlio-login-gate__tabs { margin: 0 0 24px; }
.stadlio-login-gate__panel { margin: 0; }
/* Mobile: touch-friendly, no zoom on input focus */
@media (max-width: 480px) {
  .stadlio-login-gate {
    margin: 24px auto;
    padding: 0 12px;
  }
  .stadlio-login-gate__card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .stadlio-login-gate__message {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .stadlio-login-gate .stadlio-login-input {
    font-size: 16px; /* prevents iOS zoom on focus */
    min-height: 48px;
    padding: 14px 16px;
  }
  .stadlio-login-gate .stadlio-login-btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 16px;
  }
  .stadlio-login-gate .stadlio-auth-tab {
    padding: 14px 12px;
    font-size: 15px;
  }
}

/* Custom login form [stadlio_login] — legacy, uses same card styles */
.stadlio-login-wrap { max-width: 400px; margin: 32px auto; padding: 0 20px; }
.stadlio-login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 32px 28px;
  border: 1px solid #e5e7eb;
}
.stadlio-login-title { margin: 0 0 24px; font-size: 22px; font-weight: 700; text-align: center; }
.stadlio-login-form { margin: 0; }
.stadlio-login-field { margin: 0 0 16px; }
.stadlio-login-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #334155; font-family: 'Plus Jakarta Sans', sans-serif; }
.stadlio-login-input {
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
}
.stadlio-login-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.stadlio-login-remember { margin: 12px 0 20px; font-size: 14px; }
.stadlio-login-submit { margin: 0 0 16px; }
.stadlio-login-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.stadlio-login-btn:hover { background: #1d4ed8; }
.stadlio-login-links { margin: 0; font-size: 14px; text-align: center; color: #6b7280; }
.stadlio-login-links a { color: #2563eb; text-decoration: none; }
.stadlio-login-links a:hover { text-decoration: underline; }
.stadlio-login-already { text-align: center; padding: 20px; }

/* Custom register form [stadlio_register] */
.stadlio-register-desc { margin: 0 0 20px; font-size: 14px; color: #6b7280; }
.stadlio-register-errors { margin: 0 0 16px; padding: 12px 16px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; list-style: none; font-size: 14px; color: #b91c1c; }
.stadlio-register-errors li { margin: 0; }
.stadlio-register-note { margin: 0 0 16px !important; }
.stadlio-register-note-text { font-size: 13px; color: #6b7280; }
.stadlio-register-already { text-align: center; padding: 20px; }

/* Ticketing section on event page */
.stadlio-event-single__ticketing { margin: 24px 0; padding: 20px; background: #f9fafb; border-radius: 12px; border: 1px solid #e5e7eb; }
.stadlio-event-single__section-title { font-size: 18px; font-weight: 600; margin: 0 0 16px; }
.stadlio-ticket-type { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 10px; gap: 16px; flex-wrap: wrap; }
.stadlio-ticket-type__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.stadlio-ticket-type__name { font-weight: 600; font-size: 15px; }
.stadlio-ticket-type__desc { font-size: 13px; color: #6b7280; }
.stadlio-ticket-type__price { font-size: 16px; font-weight: 700; color: #1d4ed8; }
.stadlio-ticket-type__avail { font-size: 12px; color: #9ca3af; }
.stadlio-ticket-type__action { display: flex; align-items: center; gap: 10px; }
.stadlio-ticket-type__qty-label { font-size: 13px; color: #374151; }
.stadlio-ticket-type__qty { padding: 4px 8px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.stadlio-ticket-buy { padding: 8px 20px; font-size: 14px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; background: #1d4ed8; color: #fff; transition: background 0.2s; }
.stadlio-ticket-buy:hover { background: #1e40af; }
.stadlio-ticket-checkout-form { margin-top: 16px; padding: 16px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; }
.stadlio-ticket-checkout-form h4 { margin: 0 0 12px; font-size: 15px; }
.stadlio-ticket-checkout-form label { display: block; margin-bottom: 8px; font-size: 13px; color: #374151; }
.stadlio-input { width: 100%; max-width: 320px; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.stadlio-checkout-total { margin: 12px 0; font-size: 16px; }
.stadlio-btn--primary { padding: 10px 24px; font-size: 14px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; background: #1d4ed8; color: #fff; margin-right: 8px; }
.stadlio-btn--primary:hover { background: #1e40af; }
.stadlio-btn--primary:disabled { background: #9ca3af; cursor: not-allowed; }
.stadlio-btn--ghost { padding: 10px 16px; font-size: 13px; background: none; border: 1px solid #d1d5db; border-radius: 8px; cursor: pointer; color: #6b7280; }
.stadlio-entity-detail__share.stadlio-btn--share {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; font-size: 14px; font-weight: 500;
  color: #1a1a18; background: #fff; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: pointer; transition: all 0.2s ease;
}
.stadlio-entity-detail__share.stadlio-btn--share:hover {
  color: var(--stadlio-primary); border-color: var(--stadlio-primary);
  background: rgba(37,99,235,0.04); box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}
@media (max-width: 600px) { .stadlio-ticket-type { flex-direction: column; align-items: stretch; } .stadlio-ticket-type__action { justify-content: space-between; } }

/* AI processing state (pending + short description) */
.stadlio-event-single__ai-processing {
  margin: 24px 0;
  padding: 32px 24px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  text-align: center;
}
.stadlio-event-single__ai-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid #e0f2fe;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: stadlio-spin 0.8s linear infinite;
}
@keyframes stadlio-spin {
  to { transform: rotate(360deg); }
}
.stadlio-event-single__ai-message {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0369a1;
}
.stadlio-event-single__ai-hint {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

/* Toast (post-submit, non-invasive) */
.stadlio-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100000;
  max-width: 320px;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: stadlio-toast-slide-in 0.3s ease-out;
}
.stadlio-toast--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.stadlio-toast__content {
  flex: 1;
  min-width: 0;
}
.stadlio-toast__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #047857;
}
.stadlio-toast__msg {
  margin: 0;
  font-size: 13px;
  color: #065f46;
  line-height: 1.4;
}
.stadlio-toast__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: -4px -4px 0 0;
  font-size: 20px;
  line-height: 1;
  color: #047857;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.stadlio-toast__close:hover {
  opacity: 1;
  background: rgba(4, 120, 87, 0.1);
}
@keyframes stadlio-toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes stadlio-toast-slide-out {
  to {
    opacity: 0;
    transform: translateX(24px);
  }
}
@media (max-width: 640px) {
  .stadlio-toast {
    top: auto;
    bottom: 20px;
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
/* Success banner (ticket_success, in-flow — has CTA) */
.stadlio-event-single__success-banner {
  margin: 16px 0 24px;
  padding: 20px 24px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
}
.stadlio-event-single__success-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #047857;
}
.stadlio-event-single__success-msg {
  margin: 0;
  font-size: 14px;
  color: #065f46;
}

/* Pending notice (event under review) */
.stadlio-event-single__notice {
  margin: 16px 0 24px;
  padding: 20px 24px;
  border-radius: 12px;
}
.stadlio-event-single__notice--pending {
  background: #fef3c7;
  border: 1px solid #fcd34d;
}
.stadlio-event-single__notice-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
}
.stadlio-event-single__notice-msg {
  margin: 0;
  font-size: 14px;
  color: #b45309;
}

/* Module disabled fallback — event cards or explore links */
.stadlio-module-disabled-fallback {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
.stadlio-module-disabled-fallback__header {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2937;
}
.stadlio-module-disabled-fallback__grid {
  margin-bottom: 24px;
}
.stadlio-module-disabled-fallback__cta {
  margin: 0;
  text-align: center;
}
.stadlio-module-disabled-fallback__btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--stadlio-primary, #2563eb);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.stadlio-module-disabled-fallback__btn:hover {
  background: var(--stadlio-primary-hover, #1d4ed8);
}
.stadlio-module-disabled-fallback__desc {
  margin: 0 0 12px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}
.stadlio-module-disabled-fallback__links {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.stadlio-module-disabled-fallback__links a,
.stadlio-module-disabled-fallback__link {
  color: var(--stadlio-primary, #2563eb);
  text-decoration: none;
}
.stadlio-module-disabled-fallback__links a:hover,
.stadlio-module-disabled-fallback__link:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .stadlio-module-disabled-fallback {
    padding: 16px;
  }
  .stadlio-module-disabled-fallback__header {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .stadlio-module-disabled-fallback .stadlio-event-card {
    min-height: 320px;
  }
  .stadlio-module-disabled-fallback .stadlio-event-card__image-wrap,
  .stadlio-module-disabled-fallback .stadlio-event-card__image-link {
    height: 180px;
  }
  .stadlio-module-disabled-fallback .stadlio-event-card__body {
    padding: 14px;
  }
  .stadlio-module-disabled-fallback .stadlio-event-card__title {
    font-size: 16px;
  }
  .stadlio-module-disabled-fallback__btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
  }
}
