/* File: bokun-events-sync/assets/frontend.css */

.bokun-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.bokun-events-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.bokun-events-search-form label {
  font-weight: 700;
  color: #1a1a1a;
}

.bokun-events-search-form input[type="date"] {
  border: 1px solid #d7caa6;
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  background: #fff;
  color: #1a1a1a;
}

.bokun-events-search-form .cta-button {
  margin: 0;
}

.bokun-event-card {
  background: #fff;
}

.bokun-event-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.bokun-event-card-body {
  padding: 1rem 1.1rem 1.2rem;
  text-align: left;
}

.bokun-event-card-title {
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.bokun-event-card-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.bokun-event-card-meta {
  margin: 0.15rem 0;
  color: #444;
  font-size: 0.95rem;
}

.bokun-event-card-excerpt {
  margin: 0.65rem 0 1rem;
  color: #333;
  line-height: 1.65;
  font-size: 0.98rem;
}

.bokun-event-meta-box {
  text-align: left;
  background: #fff;
  border: 1px solid #ece4d0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  padding: 1rem 1.1rem;
  margin: 1rem auto 1.5rem;
  max-width: 700px;
}

.bokun-event-content {
  text-align: left;
}

.bokun-event-content p {
  margin-bottom: 1rem;
}

.bokun-breadcrumbs {
  margin: 0 auto 0.8rem;
  max-width: 700px;
  text-align: left;
  color: #6b6044;
  font-size: 0.9rem;
}

.bokun-breadcrumbs a {
  color: #6b6044;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.bokun-breadcrumbs a:hover {
  border-color: #cda434;
}

.bokun-breadcrumbs span {
  margin: 0 0.25rem;
}

.bokun-events-archive-intro {
  max-width: 760px;
  margin: 0.2rem auto 1.2rem;
  color: #353535;
  line-height: 1.6;
}

.bokun-lang-dropdown {
  position: static;
  width: fit-content;
  margin: 0 auto 1rem;
  z-index: 1;
}

.bokun-lang-dropdown select {
  min-width: 170px;
}

.bokun-event-single {
  max-width: 1120px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.2rem;
  text-align: left;
}

.single-bokun_event .bokun-event-single {
  text-align: left;
}

.single-bokun_event .bokun-event-single h1,
.single-bokun_event .bokun-event-single h2,
.single-bokun_event .bokun-event-single h3,
.single-bokun_event .bokun-event-single p {
  text-align: left;
}

.single-bokun_event .bokun-breadcrumbs {
  max-width: none;
}

.single-bokun_event .bokun-event-related,
.single-bokun_event .bokun-event-dates,
.single-bokun_event .bokun-event-content,
.single-bokun_event .bokun-event-meta-box {
  max-width: none;
}

.bokun-event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 1rem;
}

.bokun-event-hero.no-media {
  grid-template-columns: 1fr;
}

.bokun-event-media {
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(165deg, #f8efd7 0%, #f2dfad 100%);
  box-shadow: 0 18px 38px rgba(25, 20, 7, 0.18);
}

.bokun-event-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.bokun-event-summary {
  background: linear-gradient(145deg, #fff9eb 0%, #fff3d7 100%);
  border: 1px solid #e4c980;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 12px 26px rgba(91, 67, 9, 0.12);
}


.bokun-event-brand {
  margin: 0.35rem 0 0;
  color: #6b5722;
  font-weight: 700;
  letter-spacing: 0.02em;
}


.bokun-event-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.3vw, 2.75rem);
  line-height: 1.08;
  color: #261b05;
  margin: 0.55rem 0 0.3rem;
}

.bokun-event-subtitle {
  color: #574828;
  margin: 0;
}

.bokun-event-seo-copy {
  margin: 0.5rem 0 0;
  color: #5f4e27;
  font-weight: 600;
  font-size: 0.95rem;
}

.bokun-event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.bokun-event-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6d5a3;
  font-size: 0.85rem;
  color: #3f3321;
  font-weight: 600;
}

.bokun-event-pill.is-available {
  color: #175c22;
  border-color: #8fcd8f;
  background: #ebfaeb;
}

.bokun-event-pill.is-unavailable {
  color: #7c1d1d;
  border-color: #d7a9a9;
  background: #fff1f1;
}

.bokun-event-cta-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.bokun-event-cta-row .cta-button {
  margin: 0;
}

.bokun-event-cta-row .cta-button-ghost {
  background: transparent;
}

.bokun-event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.2rem;
  margin-top: 1.2rem;
  align-items: start;
}

.bokun-event-main {
  min-width: 0;
}

.bokun-event-content {
  border: 1px solid #ece1c1;
  border-radius: 12px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.bokun-event-side .bokun-event-meta-box {
  margin: 0;
  max-width: none;
}

.bokun-event-related {
  text-align: left;
  background: linear-gradient(160deg, #fffaf0 0%, #fff3d6 52%, #fffdf6 100%);
  border: 1px solid #d9b457;
  border-left: 5px solid #c89e2f;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(120, 83, 0, 0.12);
  padding: 1.05rem 1.2rem;
  margin: 1.2rem 0 1.6rem;
  max-width: none;
}

.bokun-event-related h2 {
  margin: 0 0 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #5c4300;
  letter-spacing: 0.2px;
}

.bokun-event-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bokun-event-related li {
  padding: 0.6rem 0;
  border-top: 1px solid rgba(201, 160, 55, 0.35);
  color: #3a3322;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.bokun-event-related li:first-child {
  border-top: 0;
  padding-top: 0;
}

.bokun-event-related a {
  color: #2b220b;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 158, 47, 0.45);
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.bokun-event-related a:hover,
.bokun-event-related a:focus {
  color: #7a5400;
  border-color: #7a5400;
  background-color: rgba(255, 233, 173, 0.45);
}

.bokun-event-related li span {
  color: #6d5a2c;
  font-size: 0.9rem;
  white-space: nowrap;
}

.bokun-event-dates {
  text-align: left;
  margin: 1rem auto 1.5rem;
  border: 1px solid #e7dcb9;
  border-radius: 12px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.bokun-event-dates h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #483300;
  margin: 0 0 0.8rem;
}

.bokun-event-dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bokun-event-dates li {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #e6d6a5;
  background: #fffaf0;
  font-size: 0.84rem;
}

.bokun-event-side {
  position: sticky;
  top: 1.2rem;
}

.bokun-event-side-hero {
  margin: 0 0 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e9dcc0;
  box-shadow: 0 6px 16px rgba(30, 22, 8, 0.12);
  max-width: 240px;
}

.bokun-event-side-hero img {
  width: 100% !important;
  height: 145px !important;
  object-fit: cover !important;
  display: block;
}

.bokun-event-meta-box h2 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: #4c3908;
}

.bokun-event-meta-box p {
  margin: 0.45rem 0;
}

@media (max-width: 920px) {
  .bokun-event-hero {
    grid-template-columns: 1fr;
  }

  .bokun-event-layout {
    grid-template-columns: 1fr;
  }

  .bokun-event-side {
    position: static;
  }

  .bokun-event-side-hero {
    max-width: none;
  }
}

.bokun-events-pagination {
  margin-top: 1rem;
}

.bokun-events-pagination .page-numbers {
  display: inline-block;
  margin: 0 0.15rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #d4af37;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 5px;
}

.bokun-events-pagination .current {
  background: #d4af37;
}
