/**
 * Hora Inno - Custom Events Styles
 * Template overrides for hora_events post type
 */

body.hora-inno-events {
  background: var(--hora-inno-color-bg);
  font-family: var(--hora-inno-font-secondary);
  color: var(--hora-inno-color-text);
}

.hora-inno-content-wrapper a {
  color: var(--hora-inno-color-primary-text);
  text-decoration: none;
}

.hora-inno-content-wrapper h1,
.hora-inno-content-wrapper h2,
.hora-inno-content-wrapper h3,
.hora-inno-content-wrapper h4,
.hora-inno-content-wrapper h5,
.hora-inno-content-wrapper h6 {
  font-family: var(--hora-inno-font-primary) !important;
  color: var(--hora-inno-color-text);
  margin: 0;
}

body.hora-inno-events .hora-events-loader {
  border-top-color: var(--hora-inno-color-primary);
}

/* Beats theme faces; the mono DS primitives from components.css are exempt so they keep their face */
.hora-inno-calendar-archive-wrapper *,
.hora-inno-single-event-wrapper *:not(.dashicons, .hora-inno-btn, .hora-inno-btn *, .hora-inno-tag, .hora-inno-date-tab, .hora-inno-date-tab *),
.hora-inno-content-wrapper *:not(.dashicons, .hora-inno-btn, .hora-inno-btn *, .hora-inno-tag, .hora-inno-date-tab, .hora-inno-date-tab *) {
  font-family: var(--hora-inno-font-secondary);
}

.hora-inno-events {
  -webkit-font-smoothing: auto;
}

.hora-inno-single-event-wrapper .full-width {
  width: 100%;
}

/* Single Event Template Override Styles */
.hora-inno-single-event-wrapper,
.hora-inno-content-wrapper {
  background: var(--hora-inno-color-bg);
}

.hora-inno-event-item .hora-inno-event-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0px;
}

.hora-inno-single-event-wrapper .hora-inno-calendar-event-card .hora-inno-event-excerpt {
  color: var(--hora-inno-color-text-body);
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 1.575rem */
}

.hora-inno-event-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.hora-inno-calendar-event-card .hora-inno-event-title {
  color: var(--hora-inno-color-text);
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 5.875rem */
  letter-spacing: -0.05875rem;
  text-transform: uppercase;
}

body.hora-inno-events .hora-inno-event-title a {
  color: var(--hora-inno-color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.hora-inno-events .hora-inno-event-title a:hover {
  color: var(--hora-inno-color-primary-text);
}

.hora-inno-event-location {
  max-width: 100%;
  min-width: 0;
}

.hora-inno-event-location .location-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
}

.hora-inno-event-date,
.hora-inno-event-location {
  color: var(--hora-inno-color-text-body);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-style: normal;
  font-weight: 500;
  line-height: 140%;

  display: flex;
  text-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.hora-inno-event-date svg,
.hora-inno-event-location svg {
  flex-shrink: 0;
}

.hora-inno-event-meta {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.hora-inno-location,
.hora-inno-categories {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hora-inno-location:last-child,
.hora-inno-categories:last-child {
  margin-bottom: 0;
}

.hora-inno-location i,
.hora-inno-categories i {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.category-tag {
  background: var(--hora-inno-glass-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: 0.25rem;
  display: inline-block;
}

/* Archive Template Override Styles */
.hora-inno-archive-wrapper {
  padding: 2rem 0;
}

.hora-inno-event-card {
  background: var(--hora-inno-glass);
  border-radius: var(--hora-inno-radius);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hora-inno-event-card:hover {
  transform: translateY(-5px);
}

.hora-inno-event-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.hora-inno-event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hora-inno-event-card:hover .hora-inno-event-card-image img {
  transform: scale(1.05);
}

.hora-inno-event-card-content {
  padding: 1.5rem;
}

.hora-inno-event-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--hora-inno-color-text);
}

.hora-inno-event-card-title a {
  color: inherit;
  text-decoration: none;
}

.hora-inno-event-card-title a:hover {
  color: var(--hora-inno-color-primary);
}

.hora-inno-event-card-date {
  color: var(--hora-inno-color-primary);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.hora-inno-event-card-location {
  color: var(--hora-inno-color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.hora-inno-event-card-excerpt {
  color: var(--hora-inno-color-text-body);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hora-inno-read-more {
  display: inline-block;
  background: var(--hora-inno-color-primary);
  color: var(--hora-inno-color-on-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--hora-inno-radius);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.hora-inno-read-more:hover {
  opacity: 0.9;
  color: var(--hora-inno-color-on-primary);
}

/* Shortcode specific styles */
.hora-events-archive-shortcode .hora-inno-archive-header {
  margin-bottom: 1rem;
}

.hora-events-single-shortcode .hora-inno-event-branding {
  margin-top: 1rem;
}

/* 
 * Calendar-based archive layout styles
 * Two-column layout: calendar on left, events on right
 */

/* Main container layout */
.hora-inno-events-calendar-container {
  display: flex;
  gap: 2rem;
  max-width: var(--hora-inno-content-width);
  margin: 0 auto;
  padding: 2rem 0rem;
}

/* Calendar section (left side) */
.hora-inno-calendar-section {
  width: 100%;
  max-width: var(--hora-inno-calendar-width);
  flex-shrink: 0;
}

.hora-inno-calendar {
  position: sticky;
  top: 20px;
  background: transparent;
  padding: 1.5rem;
  border: 0.5px solid var(--hora-inno-color-primary);
}

/* Calendar header with navigation */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.calendar-title {
  color: var(--hora-inno-color-text);
  font-size: clamp(0.75rem, 5vw, 1rem);
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

.calendar-nav-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--hora-inno-color-text-muted);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 110%; /* 1.225rem */
  text-transform: uppercase;
  transition: all 0.2s ease;
  padding: 0;
}

.calendar-nav-btn:hover,
.calendar-nav-btn:focus {
  color: var(--hora-inno-color-primary);
  background: transparent;
}

.calendar-nav-btn .nav-arrow .nav-arrow-bg {
  color: var(--hora-inno-color-bg);
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.calendar-nav-btn:hover .nav-arrow .nav-arrow-bg,
.calendar-nav-btn:focus .nav-arrow .nav-arrow-bg {
  color: var(--hora-inno-color-primary);
}

.calendar-nav-btn:hover .nav-arrow .nav-arrow-path,
.calendar-nav-btn:focus .nav-arrow .nav-arrow-path {
  color: var(--hora-inno-color-bg);
}

.nav-arrow {
  width: 24px;
  flex-shrink: 0;
  color: var(--hora-inno-color-primary);
  border: 0.5px solid var(--hora-inno-color-primary);
}

.nav-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Weekday headers */
.weekday-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--hora-inno-color-primary);
}

.weekday-header {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hora-inno-color-bg);
  letter-spacing: 0.05em;
}

/* Calendar days grid */
.calendar-days {
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
  position: relative;
  min-height: 3rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 0.5px solid var(--hora-inno-calendar-border);
}

/* remove border-bottom on last 7 days */
.calendar-day:nth-last-child(-n + 7) {
  border-bottom: none;
}

.calendar-day:hover {
  background: var(--hora-inno-tint-blue);
}

.calendar-day.today .day-number {
  background: var(--hora-inno-color-primary);
  color: var(--hora-inno-color-on-primary);
  border-radius: 50%;
  width: 1.9375rem;
  height: 1.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.calendar-day.prev-month .day-number,
.calendar-day.next-month .day-number {
  color: var(--hora-inno-calendar-prev-month);
}

.day-number {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hora-inno-color-text);
  line-height: 1;
}

.calendar-day.has-events .day-number {
  color: var(--hora-inno-color-primary);
}

.calendar-day.has-events.today .day-number {
  color: var(--hora-inno-color-bg);
}

/* Event indicator dot */
.event-dot {
  width: 6px;
  height: 6px;
  background: var(--hora-inno-color-primary);
  border-radius: 50%;
  margin-top: 0.25rem;
}

.calendar-day.today .event-dot {
  background: var(--hora-inno-color-primary);
}

/* Events section (right side) */
.hora-inno-events-section {
  flex: 1;
}

.events-by-date {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

/* Events day group */
.events-day-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.day-title {
  color: var(--hora-inno-color-text);
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 2.45rem */
  text-transform: uppercase;
}

/* Day events container */
.day-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.next-events-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.hora-inno-next-events-suggestion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hora-inno-event-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0.5px solid var(--hora-inno-color-primary);
}

.hora-inno-events .hora-inno-event-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hora-inno-event-thumbnail:hover img {
  transform: scale(1.05);
}

.hora-inno-event-thumbnail .event-date-overlay {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--hora-inno-color-primary);
  min-width: 64px;
  color: var(--hora-inno-color-on-primary);
  display: flex;
  padding: 14px 6px;
  flex-direction: column;
  align-items: center;
}

.hora-inno-event-thumbnail .event-date-overlay .date-day {
  color: var(--hora-inno-color-on-primary);
  text-align: center;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 110%; /* 2.75rem */
  text-transform: capitalize;
}
.hora-inno-event-thumbnail .event-date-overlay .date-month {
  color: var(--hora-inno-color-on-primary);
  text-align: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 1.05rem */
  text-transform: capitalize;
}

.calendar-event-card-fallback h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--hora-inno-color-text);
}

.calendar-event-card-fallback h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.calendar-event-card-fallback h4 a:hover {
  color: var(--hora-inno-color-primary);
}

.event-thumbnail {
  margin: 0.75rem 0;
  border-radius: var(--hora-inno-radius);
  overflow: hidden;
}

.event-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.event-excerpt {
  margin: 0.75rem 0;
  color: var(--hora-inno-color-text-body);
  line-height: 1.6;
}

.event-excerpt p {
  margin: 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hora-inno-color-border);
  font-size: 0.875rem;
  color: var(--hora-inno-color-text-muted);
}

.event-time,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* .event-time::before {
  content: "🕒";
  font-size: 0.875rem;
}

.event-location::before {
  content: "📍";
  font-size: 0.875rem;
} */

/* No events message */
.no-events-message {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--hora-inno-color-text-muted);
}

.no-events-message p {
  font-size: 1.125rem;
  margin: 0;
}

/* Archive wrapper styles for calendar layout */
.hora-inno-calendar-archive-wrapper {
  background: var(--hora-inno-color-bg);
  min-height: 100vh;
  padding: 2rem 0;
}

.hora-inno-calendar-archive-wrapper .container {
  max-width: var(--hora-inno-content-width);
  margin: 0 auto;
}

.hora-inno-calendar-archive-wrapper .archive-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: var(--hora-inno-glass);
  border-radius: var(--hora-inno-radius);
}

.hora-inno-calendar-archive-wrapper .archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hora-inno-color-text);
  margin: 0 0 1rem 0;
  letter-spacing: -0.025em;
}

.hora-inno-calendar-archive-wrapper .archive-description {
  color: var(--hora-inno-color-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive design for calendar layout */

/* JavaScript interaction styles */

/* Calendar day states */
.calendar-day.calendar-selected {
  background: var(--hora-inno-color-primary) !important;
  border-color: var(--hora-inno-color-primary);
}

.calendar-day.calendar-selected .day-number {
  color: var(--hora-inno-color-on-primary);
}

.calendar-day.calendar-selected .event-dot {
  background: var(--hora-inno-color-on-primary);
}

.calendar-day.calendar-active {
  box-shadow: 0 0 0 0.5px var(--hora-inno-color-primary);
}

.calendar-day:focus {
  outline: none;
  box-shadow:
    0 0 0 1px var(--hora-inno-color-primary),
    0 0 0 4px var(--hora-inno-tint-blue);
}

/* Day group highlighting */
.events-day-group.day-group-highlight {
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* Loading states */
.calendar-loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--hora-inno-overlay-heavy);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.calendar-loading-overlay-content {
  padding: 2rem;
  text-align: center;
  background: var(--hora-inno-color-surface-raised);
  border: 0.5px solid var(--hora-inno-color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body:has(.calendar-loading) {
  overflow: hidden;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--hora-inno-color-primary);
  border-top: 4px solid var(--hora-inno-color-surface-raised);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.calendar-loading-overlay p {
  color: var(--hora-inno-color-text);
  font-size: clamp(1rem, 2vw, 1.75rem);
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin: 0;
  font-family: var(--hora-inno-font-primary) !important;
}

/* No events temporary message */
.no-events-temp-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--hora-inno-color-surface-raised);
  z-index: 1000;
  animation: slideInUp 0.3s ease;
}

.no-events-temp-message .message-content {
  padding: 2rem;
  text-align: center;
}

.no-events-temp-message h3 {
  margin: 0 0 0.5rem 0;
  color: var(--hora-inno-color-text);
  font-size: 1.25rem;
}

.no-events-temp-message p {
  margin: 0;
  color: var(--hora-inno-color-text-muted);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Mobile calendar enhancements */
/* .mobile-layout .calendar-day.mobile-has-events {
  position: relative;
}

.mobile-layout .calendar-day.mobile-has-events::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #3182ce;
  border-radius: 50%;
} */

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.card-hover {
  transform: translateY(-2px);
}

.content-reveal {
  animation: contentReveal 0.8s ease-out;
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Event sharing styles */
.hora-inno-event-sharing {
  background: var(--hora-inno-glass-subtle);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.hora-inno-event-sharing h4 {
  color: var(--hora-inno-color-text);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.single-hora_event .hora-event-register-modal-content .hora-event-form {
  margin-bottom: 0;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-buttons a {
  background: var(--hora-inno-glass-light);
  color: var(--hora-inno-color-text);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-buttons a:hover {
  background: var(--hora-inno-glass-hover);
  color: var(--hora-inno-color-text);
}

/* Add to calendar styles */
.hora-inno-add-calendar {
  background: var(--hora-inno-glass-subtle);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.hora-inno-add-calendar h4 {
  color: var(--hora-inno-color-text);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.calendar-buttons a {
  background: var(--hora-inno-glass-light);
  color: var(--hora-inno-color-text);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.calendar-buttons a:hover {
  background: var(--hora-inno-glass-hover);
  color: var(--hora-inno-color-text);
}

.svg-container {
  display: inline-block;
  max-width: 280px;
}

.svg-container svg {
  width: 100%;
  height: auto;
}

.outlined {
  stroke: var(--hora-inno-color-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.search-icon {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s ease-out forwards;
}

.calendar {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 3s ease-out forwards;
}

.magnifying-glass {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2.5s ease-out forwards;
  animation-delay: 0.5s;
}

.hora-inno-events .hora-newsletter-field {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: center;
}

.hora-inno-events form[data-event-register-form] .hora-event-form-actions {
  margin-top: 0px;
}

.hora-inno-events [type="button"]:not(:where(.hora-inno-btn)),
.hora-inno-events [type="submit"]:not(:where(.hora-inno-btn)),
.hora-inno-events button:not(:where(.hora-inno-btn)),
.hora-inno-events input[type="date"],
.hora-inno-events input[type="email"],
.hora-inno-events input[type="number"],
.hora-inno-events input[type="password"],
.hora-inno-events input[type="search"],
.hora-inno-events input[type="tel"],
.hora-inno-events input[type="text"],
.hora-inno-events input[type="url"],
.hora-inno-events select,
.hora-inno-events textarea {
  padding: unset;
  border-radius: 0px;
  border: none;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .hora-inno-events-calendar-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .hora-inno-calendar-section {
    max-width: none;
  }

  .calendar-nav-btn {
    width: fit-content;
    align-self: center;
  }

  .day-header {
    text-align: left;
  }

  .day-events {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .next-events-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .events-by-date {
    gap: 2rem;
  }

  .no-events-temp-message .message-content {
    padding: 1.5rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .hora-inno-events-calendar-container {
    padding: 0.5rem;
  }

  .hora-inno-calendar {
    padding: 1rem;
  }

  .calendar-day {
    min-height: 2.5rem;
    padding: 0.25rem;
  }

  .day-events {
    gap: 1rem;
  }

  .next-events-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .calendar-loading-overlay {
    padding: 1rem;
  }

  .loading-spinner {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  .no-events-temp-message {
    left: 1rem;
    right: 1rem;
    transform: translateY(-50%);
  }
}

/* ===== Single event: the day card enlarged (see landing Programme) ===== */

:where(.hora-inno-single-event-wrapper) {
  --day-accent: var(--hora-inno-tone-blue-bright);
  --day-liquid-bg: var(--hora-inno-tone-blue);
  --day-liquid-fg: var(--hora-inno-color-on-primary);
  --accent: var(--hora-inno-tone-blue);
  --on-accent: var(--hora-inno-color-on-primary);
}

.hora-inno-single-event-wrapper {
  background: var(--hora-inno-color-bg);
  color: var(--hora-inno-color-text);
  -webkit-font-smoothing: antialiased;
}

/* Border-box as on the landing (landing.css), so tile heights and full-width buttons measure the same on both pages */
.hora-inno-single-event-wrapper *,
.hora-inno-single-event-wrapper *::before,
.hora-inno-single-event-wrapper *::after {
  box-sizing: border-box;
}

.hora-inno-single-event-wrapper ::selection {
  background: var(--hora-inno-tone-blue);
  color: var(--hora-inno-color-text);
}

.hora-inno-single-event-wrapper :focus-visible {
  outline: 1px solid var(--hora-inno-color-text);
  outline-offset: 2px;
}

.hora-inno-single-event-wrapper .hora-inno-event-single > .container {
  padding: 36px var(--hora-inno-landing-gutter) clamp(72px, 9vw, 108px);
}

.hora-inno-single-event-wrapper :where(h1, h2, h3, h4, h5, p, dl, dd, ul, li) {
  margin: 0;
  text-transform: none;
}

.hora-inno-single-event-wrapper .hora-inno-event-single :is(h1, h2, h3, h4, h5) {
  font-family: var(--hora-inno-font-primary);
  color: var(--hora-inno-color-text);
}

/* Breadcrumbs as the landing eyebrow: "Events / Title" */
.hora-inno-event-single .hora-inno-breadcrumbs {
  margin: 0 0 27px;
}

.hora-inno-event-single .hora-inno-breadcrumbs .hora-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hora-inno-event-single .hora-inno-breadcrumbs :is(.hora-breadcrumb-item, .hora-breadcrumb-separator, .hora-breadcrumb-link, .hora-breadcrumb-text) {
  font-family: var(--hora-inno-font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--hora-inno-color-text-subtle);
}

.hora-inno-event-single .hora-inno-breadcrumbs .hora-breadcrumb-link {
  text-decoration: none;
  transition: color var(--hora-inno-dur-fast);
}

.hora-inno-event-single .hora-inno-breadcrumbs .hora-breadcrumb-link:hover { color: var(--hora-inno-color-text); }
.hora-inno-event-single .hora-inno-breadcrumbs .hora-breadcrumb-current .hora-breadcrumb-text { color: var(--hora-inno-color-text-muted); }
.hora-inno-event-single .hora-inno-breadcrumbs .hora-breadcrumb-arrow { display: none; }
.hora-inno-event-single .hora-inno-breadcrumbs .hora-breadcrumb-separator::before { content: "/"; }

/* Hero card */
.hora-inno-event-single .hora-inno-event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 27px;
  padding: 9px 9px clamp(18px, 3vw, 36px);
  border: 1px solid var(--hora-inno-color-border);
  border-radius: 18px;
  background: var(--hora-inno-color-bg);
  transition: border-color var(--hora-inno-dur-base) var(--hora-inno-ease-merge);
}

.hora-inno-event-single .hora-inno-event-hero:hover,
.hora-inno-event-single .hora-inno-event-hero:focus-within { border-color: var(--day-line, var(--day-accent)); }

.hora-inno-event-single .hora-inno-event-hero__cover {
  position: relative;
  margin-bottom: 18px;
}

.hora-inno-event-single .hora-inno-event-hero__tile {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
  background: var(--hora-inno-color-inset);
}

.hora-inno-event-single .hora-inno-event-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hora-inno-dur-slow) var(--hora-inno-ease-merge);
}

.hora-inno-event-single .hora-inno-event-hero:hover .hora-inno-event-hero__img { transform: scale(1.03); }

/* Venue slate stands in for a missing cover, as on the landing day cards */
.hora-inno-event-single .hora-inno-event-hero__venue {
  padding: 0 18px 9px 108px;
  font-size: clamp(40px, 11vw, 72px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--day-line, var(--day-accent));
  white-space: nowrap;
}

.hora-inno-event-single .hora-inno-event-hero__tab {
  position: absolute;
  left: 18px;
  bottom: -18px;
  width: 72px;
}

.hora-inno-event-single .hora-inno-event-hero:hover .hora-inno-event-hero__tab,
.hora-inno-event-single .hora-inno-event-hero:focus-within .hora-inno-event-hero__tab { transform: rotate(0deg); }

.hora-inno-event-single .hora-inno-event-hero__body,
.hora-inno-event-single .hora-inno-event-hero__aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 clamp(9px, 2vw, 27px);
}

.hora-inno-event-single .hora-inno-event-hero__body { gap: 18px; }
.hora-inno-event-single .hora-inno-event-hero__aside { gap: 27px; }

.hora-inno-event-single .hora-inno-event-hero__when {
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
  font-family: var(--hora-inno-font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--day-accent);
}

.hora-inno-event-single .hora-inno-event-hero__when * { font-family: inherit; }

.hora-inno-event-single .hora-inno-event-title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hora-inno-event-single .hora-inno-event-excerpt {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--hora-inno-color-text-muted);
}

/* Facts: the record, in mono (dt light label, dd value) */
.hora-inno-event-single .hora-inno-event-facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hora-inno-event-single .hora-inno-event-facts :is(dt, dd, dd *) {
  font-family: var(--hora-inno-font-mono);
}

.hora-inno-event-single .hora-inno-event-facts dt {
  margin-bottom: 4.5px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--hora-inno-color-text-subtle);
}

.hora-inno-event-single .hora-inno-event-facts dd {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hora-inno-color-text);
}

.hora-inno-event-single .hora-inno-event-facts__link {
  color: var(--hora-inno-color-text);
  text-decoration: underline;
  text-decoration-color: var(--hora-inno-color-line-strong);
  text-underline-offset: 3px;
  transition: color var(--hora-inno-dur-fast), text-decoration-color var(--hora-inno-dur-fast);
}

.hora-inno-event-single .hora-inno-event-facts__link:hover {
  color: var(--day-accent);
  text-decoration-color: currentColor;
}

.hora-inno-event-single .hora-inno-event-facts__note {
  display: block;
  color: var(--hora-inno-color-text-muted);
}

.hora-inno-event-single .hora-inno-event-day-times {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  padding: 0;
  list-style: none;
}

.hora-inno-event-single .hora-inno-event-day-times li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.hora-inno-event-single .hora-inno-event-organizers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hora-inno-event-single .hora-inno-event-organizer :is(a, img) { display: block; }

.hora-inno-event-single .hora-inno-event-organizer img {
  height: 36px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
}

.hora-inno-event-single .hora-inno-event-hero__cta { margin-top: auto; }

.hora-inno-event-single .hora-inno-event-hero__cta .hora-inno-btn {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
}

/* Simple registration renders the form inline, so the hero button would only duplicate it */
.hora-event-simple-registration .hora-inno-event-hero__cta { display: none; }

/* Content: main column + ticket rail */
.hora-inno-event-single .hora-inno-event-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
  margin-top: clamp(54px, 7vw, 72px);
}

.hora-inno-event-single .hora-inno-event-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hora-inno-event-single .hora-inno-event-main > * + * {
  margin-top: 54px;
  padding-top: 54px;
  border-top: 1px solid var(--hora-inno-color-border);
}

.hora-inno-event-single .hora-event-heading {
  margin: 0 0 27px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hora-inno-event-single .hora-inno-event-description {
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hora-inno-color-text-body);
}

.hora-inno-event-single .hora-inno-event-description > * + * { margin-top: 18px; }
.hora-inno-event-single .hora-inno-event-description :is(h2, h3, h4) { margin-top: 36px; font-weight: 500; letter-spacing: -0.01em; }

.hora-inno-event-single .hora-inno-event-description a {
  color: var(--hora-inno-tone-blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hora-inno-event-single .hora-inno-event-description ul {
  padding-left: 18px;
}

.hora-inno-event-single .hora-inno-event-tickets .hora-event-heading { margin-bottom: 18px; }
.hora-inno-event-single .hora-inno-event-tickets { scroll-margin-top: calc(var(--hora-inno-landing-sticky-top) + 18px); }

/* Agenda: the DS SessionRow ledger. Base event-single.css still loads here, so these selectors must outrank its (0,3,0) rules */
.hora-inno-event-single .hora-event-agenda { --agenda-time: 126px; }

.hora-inno-event-single .hora-event-agenda__tabs {
  display: flex;
  gap: 27px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  /* The hairline as an inset line, not depth: a border sits outside the scroll box and would clip the tab underline */
  box-shadow: inset 0 -1px 0 var(--hora-inno-color-border);
  scrollbar-width: none;
}

.hora-inno-event-single .hora-event-agenda__tab { margin: 0; }

.hora-inno-event-single .hora-event-agenda__tab button {
  min-height: 44px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: var(--hora-inno-font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--hora-inno-color-text-subtle);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--hora-inno-dur-fast), border-color var(--hora-inno-dur-base) var(--hora-inno-ease-merge);
}

.hora-inno-event-single .hora-event-agenda__tab button:hover {
  background: transparent;
  color: var(--hora-inno-color-text);
}

.hora-inno-event-single .hora-event-agenda__tab button.active,
.hora-inno-event-single .hora-event-agenda__tab button[aria-selected="true"] {
  background: transparent;
  color: var(--hora-inno-color-text);
  font-weight: 500;
  border-bottom-color: var(--day-line, var(--day-accent));
}

.hora-inno-event-single .hora-event-agenda__content { margin-top: 0; }
.hora-inno-event-single .hora-event-agenda__item > .hora-event-agenda-description { padding: 27px 0; }

.hora-inno-event-single .hora-event-agenda-row {
  padding: 27px 0;
  border-top: 1px solid var(--hora-inno-color-border);
}

/* The tab strip already draws the line above the first session */
.hora-inno-event-single .hora-event-agenda__content .hora-event-agenda__item > .hora-event-agenda-row:first-child { border-top: 0; }

.hora-inno-event-single .hora-event-agenda-row .hora-event-agenda-section {
  display: grid;
  grid-template-columns: var(--agenda-time) minmax(0, 1fr);
  gap: 27px;
  padding-block: 0;
  border: 0;
}

/* Parallel tracks are narrow: time stacks above content, as at ≤768px */
.hora-inno-event-single .hora-event-agenda-subsections--parallel .hora-event-agenda-row .hora-event-agenda-section {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.hora-inno-event-single :is(.hora-event-agenda-meta, .hora-event-agenda-date) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4.5px;
}

.hora-inno-event-single .hora-event-agenda-date .hora-event-agenda-date-value {
  width: auto;
  font-family: var(--hora-inno-font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hora-inno-color-text);
  white-space: nowrap;
}

.hora-inno-event-single :is(.hora-event-agenda-duration, .hora-event-agenda-location) {
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--hora-inno-color-text-subtle);
}

/* The base pin is not a Lucide glyph; the DS session row names the room in mono alone */
.hora-inno-event-single .hora-event-agenda-location svg { display: none; }

.hora-inno-event-single .hora-event-agenda__item .hora-event-agenda-content { gap: 9px; }

.hora-inno-event-single .hora-event-agenda-type {
  align-self: flex-start;
  padding: 4px 9px;
  border: 1px solid var(--hora-inno-color-line-strong);
  border-radius: 4.5px;
  background: transparent;
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  color: var(--hora-inno-color-text);
}

.hora-inno-event-single .hora-event-agenda-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
}

.hora-inno-event-single .hora-event-agenda-description {
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--hora-inno-color-text-muted);
}

.hora-inno-event-single .hora-event-agenda-description p { margin: 0; }

.hora-inno-event-single .hora-event-agenda .hora-event-agenda-peoples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 216px), 1fr));
  gap: 18px 27px;
  margin-top: 9px;
  overflow: visible;
}

.hora-inno-event-single .hora-event-agenda-speaker {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hora-inno-event-single .hora-event-agenda-speaker img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: top;
  border-radius: 9px;
  background: var(--hora-inno-color-inset);
}

.hora-inno-event-single .hora-event-agenda-speaker-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hora-inno-event-single .hora-event-agenda-speaker-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hora-inno-color-text);
}

.hora-inno-event-single .hora-event-agenda-speaker-role {
  margin-left: 4.5px;
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--day-accent);
}

.hora-inno-event-single .hora-event-agenda-speaker-position {
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  line-height: 1.35;
  color: var(--hora-inno-color-text-subtle);
}

/* Nested sessions: successive children continue the ledger, parallel tracks sit side by side as hairline tiles */
.hora-inno-event-single .hora-event-agenda .hora-event-agenda-subsections { margin-top: 18px; }

.hora-inno-event-single .hora-event-agenda__item > .hora-event-agenda-row > .hora-event-agenda-subsections {
  margin-left: calc(var(--agenda-time) + 27px);
}

.hora-inno-event-single .hora-event-agenda-subsections--successive > .hora-event-agenda-row { padding: 18px 0; }

.hora-inno-event-single .hora-event-agenda .hora-event-agenda-subsections--parallel { gap: 18px; }

.hora-inno-event-single .hora-event-agenda-subsections--parallel > .hora-event-agenda-row {
  padding: 18px;
  border: 1px solid var(--hora-inno-color-border);
  border-radius: 18px;
}

/* Speakers: the landing day card in miniature, an inset photo tile inside a hairline card */
.hora-inno-event-single .hora-event-speakers__title:empty { display: none; }

.hora-inno-event-single .hora-event-speakers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 18px;
}

.hora-inno-event-single .hora-event-speaker {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 9px 9px 18px;
  border: 1px solid var(--hora-inno-color-border);
  border-radius: 18px;
}

.hora-inno-event-single .hora-event-speaker-image,
.hora-inno-event-single .hora-event-speaker:has(> .hora-event-speaker-image[src=""])::before {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 9px;
  background: var(--hora-inno-color-inset);
}

.hora-inno-event-single .hora-event-speaker-image {
  object-fit: cover;
  object-position: top center;
}

/* No photo: base still prints <img src="">, so an inset tile with the Lucide user-round mark (stroke = --hora-inno-color-border) keeps the grid rhythm */
.hora-inno-event-single .hora-event-speaker:has(> .hora-event-speaker-image[src=""])::before {
  content: "";
  background: var(--hora-inno-color-inset) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3a3a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 36% no-repeat;
}
.hora-inno-event-single .hora-event-speaker-image[src=""] { display: none; }

.hora-inno-event-single .hora-event-speaker-details {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  padding: 0 9px;
}

.hora-inno-event-single .hora-event-speaker-name {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hora-inno-event-single .hora-event-speaker-position {
  margin: 0;
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  line-height: 1.45;
  color: var(--hora-inno-color-text-muted);
}

.hora-inno-event-single .hora-event-speaker-position:empty { display: none; }

/* Partners: the landing's white logo tiles (landing.css Partners). Duplicated, not shared: the wrapper's font and heading rules outrank components.css */
.hora-inno-event-single .hora-event-partners-group-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.hora-inno-event-single .hora-event-partners-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hora-inno-event-single h4.hora-event-partners-group-title {
  margin: 0;
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--hora-inno-color-text-subtle);
}

.hora-inno-event-single .hora-event-partners-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 18px;
}

.hora-inno-event-single .hora-event-partner {
  height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 27px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--hora-inno-color-logo-tile);
  color: var(--hora-inno-color-on-logo-tile);
  text-decoration: none;
  transition: border-color var(--hora-inno-dur-base) var(--hora-inno-ease-merge);
}

.hora-inno-event-single a.hora-event-partner[href^="javascript"] { cursor: default; }
.hora-inno-event-single .hora-event-partner:hover { border-color: var(--hora-inno-color-line-strong); }
.hora-inno-event-single .hora-event-partner:focus-visible { outline-offset: 4.5px; }

.hora-inno-event-single .hora-event-partner-image {
  display: block;
  max-width: 100%;
  max-height: 72px;
  min-height: 0;
  object-fit: contain;
}

.hora-inno-event-single .hora-event-partner-image[src=""] { display: none; }

/* Neither a logo nor a shown name: a blank white tile would say nothing */
.hora-inno-event-single .hora-event-partner:has(> .hora-event-partner-image[src=""]):not(:has(.hora-event-partner-name)) { display: none; }

.hora-inno-event-single h5.hora-event-partner-name {
  margin: 0;
  font-family: var(--hora-inno-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hora-inno-color-on-logo-tile);
  text-align: center;
}

/* Registration modal: the DS dialog over the .72 scrim */
.single-hora_event .hora-event-register-modal-dialog {
  max-width: 768px;
  padding: 0;
  border: 1px solid var(--hora-inno-color-border);
  border-radius: 18px;
  background: var(--hora-inno-color-bg);
}

.single-hora_event .hora-event-register-modal-dialog::backdrop { background: var(--hora-inno-overlay); }

.single-hora_event .hora-event-register-modal-content {
  background: none;
  border-radius: 18px;
}

@media screen and (min-width: 992px) {
  .hora-inno-event-single .hora-inno-event-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
    align-items: stretch;
    column-gap: 36px;
    padding: 9px;
  }

  .hora-inno-event-single .hora-inno-event-hero__cover { margin-bottom: 0; }
  /* The cover stretches with the card; 4:3 stays its minimum */
  .hora-inno-event-single .hora-inno-event-hero__tile {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
  }
  .hora-inno-event-single .hora-inno-event-hero__venue { padding-left: 18px; font-size: clamp(44px, 4.4vw, 64px); }

  .hora-inno-event-single .hora-inno-event-hero__tab {
    top: 18px;
    bottom: auto;
    width: 90px;
  }

  .hora-inno-event-single .hora-inno-event-hero__tab .hora-inno-date-tab__num { font-size: 54px; }

  .hora-inno-event-single .hora-inno-event-hero__body,
  .hora-inno-event-single .hora-inno-event-hero__aside { padding: 27px 0; }

  .hora-inno-event-single .hora-inno-event-hero__aside { padding-right: 27px; }
}

@media screen and (min-width: 1025px) {
  .hora-inno-event-single .hora-inno-event-content.has-rail {
    grid-template-columns: minmax(0, 1fr) var(--hora-inno-right-col-width);
    gap: 72px;
    align-items: start;
  }

  .hora-inno-event-single .hora-inno-event-tickets {
    position: sticky;
    top: calc(var(--hora-inno-landing-sticky-top) + 27px);
  }
}

@media screen and (max-width: 768px) {
  .hora-inno-event-single .hora-event-agenda-row .hora-event-agenda-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .hora-inno-event-single .hora-event-agenda__item > .hora-event-agenda-row > .hora-event-agenda-subsections { margin-left: 0; }
}

@media screen and (max-width: 480px) {
  .hora-inno-event-single :is(.hora-event-speakers-list, .hora-event-partners-list) { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

  .hora-inno-event-single .hora-event-partner {
    height: 90px;
    padding: 18px;
  }

  .hora-inno-event-single .hora-event-partner-image { max-height: 54px; }

  .hora-inno-event-single .hora-inno-event-hero__tab { width: 63px; }
  .hora-inno-event-single .hora-inno-event-hero__tab .hora-inno-date-tab__num { font-size: 36px; }
  .hora-inno-event-single .hora-inno-event-hero__venue { padding-left: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .hora-inno-event-single .hora-inno-event-hero,
  .hora-inno-event-single .hora-inno-event-hero__img,
  .hora-inno-event-single .hora-event-partner { transition: none; }

  .hora-inno-event-single .hora-inno-event-hero:hover .hora-inno-event-hero__img { transform: none; }
}

/* Tickets-only events: no main column, so the ticket cards lay out as a grid across the container */
.hora-inno-event-single .hora-inno-event-content.is-tickets-only .hora-ticket-types,
.hora-inno-event-single .hora-inno-event-content.is-tickets-only .hora-ticket-group-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 342px), 1fr));
  align-items: start;
}

.hora-inno-event-single .hora-inno-event-content.is-tickets-only .hora-ticket-group { grid-column: 1 / -1; }
