@charset "utf-8";

.coco-event-page {
  color: #0e211f;
  background: #e9f0ee;
}

.coco-event-page main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 68px;
}

.coco-event-page .bwc-breadcrumb {
  width: 100%;
}

.coco-event-detail {
  display: grid;
  gap: 34px;
}

.coco-event-hero,
.coco-event-overview,
.coco-event-not-found {
  background: #edf3f1;
  box-shadow:
    inset 7px 7px 15px rgba(31, 70, 62, 0.11),
    inset -7px -7px 15px rgba(255, 255, 255, 0.92);
  outline: 1px solid rgba(173, 137, 80, 0.36);
  outline-offset: -4px;
}

.coco-event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 34px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 54px);
}

.coco-event-kicker {
  margin: 0 0 15px;
  color: #1d9d86;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.coco-event-hero time {
  display: block;
  margin-bottom: 10px;
  color: #1d9d86;
  font-size: 0.82rem;
  font-weight: 800;
}

.coco-event-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.25;
}

.coco-event-hero-copy > p:last-of-type {
  max-width: 720px;
  margin: 20px 0 0;
  color: #667772;
  font-size: 0.94rem;
  line-height: 1.9;
}

.coco-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.coco-event-tags span {
  padding: 9px 12px;
  color: #0e211f;
  font-size: 0.72rem;
  font-weight: 800;
  background: #edf3f1;
  box-shadow:
    inset 4px 4px 8px rgba(31, 70, 62, 0.13),
    inset -4px -4px 8px rgba(255, 255, 255, 0.92);
  outline: 1px solid rgba(173, 137, 80, 0.36);
  outline-offset: -4px;
}

.coco-event-visual {
  display: grid;
  place-content: center;
  min-height: 240px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(29, 157, 134, 0.13), rgba(239, 116, 87, 0.12)),
    #edf3f1;
  outline: 1px solid rgba(173, 137, 80, 0.36);
  outline-offset: -7px;
}

.coco-event-visual span {
  color: #ef7457;
  font-family: "DIN Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
}

.coco-event-visual strong {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.coco-event-visual.has-image {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #dfe8e5;
}

.coco-event-visual.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.coco-event-overview {
  padding: clamp(26px, 4vw, 44px);
}

.coco-event-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(173, 137, 80, 0.36);
}

.coco-event-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.coco-event-section-head > span {
  color: #1d9d86;
  font-size: 0.72rem;
  font-weight: 800;
}

.coco-event-overview > p {
  margin: 0 0 24px;
  color: #667772;
  font-size: 0.86rem;
  line-height: 1.85;
}

.coco-event-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.coco-event-info-grid > div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 4px 4px 8px rgba(31, 70, 62, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.88);
  outline: 1px solid rgba(173, 137, 80, 0.36);
  outline-offset: -4px;
}

.coco-event-info-grid dt {
  color: #1d9d86;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.coco-event-info-grid dd {
  margin: 7px 0 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.6;
}

.coco-event-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.coco-event-map-link,
.coco-event-official-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  background: #1d9d86;
  box-shadow:
    inset 4px 4px 8px rgba(14, 68, 59, 0.22),
    inset -4px -4px 8px rgba(80, 201, 181, 0.25);
  outline: 1px solid rgba(173, 137, 80, 0.36);
  outline-offset: -4px;
}

.coco-event-official-link {
  background: #ef7457;
  box-shadow:
    inset 4px 4px 8px rgba(120, 45, 29, 0.2),
    inset -4px -4px 8px rgba(255, 170, 148, 0.24);
}

.coco-event-map-link[hidden],
.coco-event-official-link[hidden] {
  display: none;
}

.coco-event-truck-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.coco-event-truck-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-width: 0;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 4px 4px 8px rgba(31, 70, 62, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.88);
  outline: 1px solid rgba(173, 137, 80, 0.36);
  outline-offset: -4px;
}

.coco-event-truck-photo {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 18px;
  color: #0e211f;
  text-align: center;
  text-decoration: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(173, 137, 80, 0.08) 26px 42px),
    #f4f7f6;
}

.coco-event-truck-photo span {
  color: #ef7457;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.coco-event-truck-photo strong {
  font-size: 0.78rem;
}

.coco-event-truck-photo.has-image {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #e2e9e7;
}

.coco-event-truck-photo.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.coco-event-truck-body {
  display: grid;
  align-content: start;
  padding: 20px;
}

.coco-event-truck-badge {
  width: fit-content;
  padding: 6px 8px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  background: #1d9d86;
}

.coco-event-truck-body h3 {
  margin: 13px 0 5px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.coco-event-truck-body small,
.coco-event-truck-body p {
  color: #667772;
  font-size: 0.72rem;
  line-height: 1.7;
}

.coco-event-truck-body p {
  margin: 11px 0 16px;
}

.coco-event-truck-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 9px 12px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background: #ef7457;
}

.coco-event-not-found {
  padding: 48px;
  text-align: center;
}

.coco-event-not-found[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .coco-event-page main {
    width: min(100% - 24px, 1120px);
    padding-bottom: 42px;
  }

  .coco-event-detail {
    gap: 20px;
  }

  .coco-event-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
  }

  .coco-event-hero h1 {
    font-size: 1.75rem;
  }

  .coco-event-hero-copy > p:last-of-type {
    margin-top: 15px;
    font-size: 0.8rem;
    line-height: 1.75;
  }

  .coco-event-visual {
    min-height: 150px;
  }

  .coco-event-overview,
  .coco-event-not-found {
    padding: 22px 16px;
  }

  .coco-event-section-head {
    margin-bottom: 18px;
  }

  .coco-event-info-grid,
  .coco-event-links {
    grid-template-columns: 1fr;
  }

  .coco-event-info-grid > div {
    padding: 15px 16px;
  }

  .coco-event-truck-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .coco-event-truck-photo {
    min-height: 205px;
    padding: 12px;
  }

  .coco-event-truck-photo.has-image img {
    min-height: 205px;
  }

  .coco-event-truck-body {
    padding: 16px 14px;
  }

  .coco-event-truck-body h3 {
    font-size: 0.9rem;
  }

  .coco-event-truck-body small,
  .coco-event-truck-body p {
    font-size: 0.66rem;
  }
}
