@charset "UTF-8";

:root {
  --ywe-primary: #d85777;
  --ywe-primary-dark: #b3415f;
  --ywe-primary-light: rgba(216, 87, 119, 0.07);
  --ywe-text: #1f2430;
  --ywe-muted: #6b7280;
  --ywe-border: #d8dde6;
  --ywe-bg: #ffffff;
  --ywe-radius: 18px;
  --ywe-shadow: 0 14px 36px -26px rgba(20, 32, 53, 0.45);
  --ywe-font-sans: 'YW Rubik', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ywe-font-serif: 'Crimson Text', Georgia, 'Times New Roman', serif;
}

@keyframes ywe-fadeup {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ywe-archive-shell,
.ywe-single-shell,
.ywe-events {
  color: var(--ywe-text);
  font-family: var(--ywe-font-sans);
}

.ywe-archive-shell,
.ywe-single-shell {
  overflow-x: hidden;
}

.ywe-events *,
.ywe-single-shell * {
  box-sizing: border-box;
}

.ywe-page-header {
  background:
    radial-gradient(circle at 84% 16%, rgba(216, 87, 119, 0.24), rgba(216, 87, 119, 0) 42%),
    radial-gradient(circle at 12% 82%, rgba(255, 210, 190, 0.58), rgba(255, 210, 190, 0) 46%),
    linear-gradient(130deg, rgba(216, 87, 119, 0.14), rgba(216, 87, 119, 0.03));
  border: 1px solid var(--ywe-border);
  border-radius: var(--ywe-radius);
  margin: 1rem auto 2rem;
  max-width: 1240px;
}

.ywe-page-header-inner {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.ywe-page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.01em;
}

.ywe-page-header p {
  margin: 0.75rem 0 0;
  color: var(--ywe-muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.ywe-archive-content {
  max-width: 1240px;
  margin: 0 auto 3rem;
}

.ywe-toolbar {
  border: 1px solid var(--ywe-border);
  border-radius: var(--ywe-radius);
  background: var(--ywe-bg);
  box-shadow: var(--ywe-shadow);
  padding: 1rem;
  margin-bottom: 1.4rem;
  overflow: hidden;
}

.ywe-events .ywe-toolbar,
.ywe-events .ywe-toolbar * {
  box-sizing: border-box;
}

.ywe-toolbar-grid {
  display: grid !important;
  gap: 0.75rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  overflow: visible;
}

.ywe-toolbar-grid > * {
  min-width: 0;
  max-width: 100%;
}

.ywe-control {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  float: none !important;
  width: auto !important;
  grid-column: span 3;
}

.ywe-control--search {
  grid-column: 1 / -1;
}

.ywe-control--search input[type="search"] {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  appearance: none;
}

.ywe-control--category,
.ywe-control--location,
.ywe-control--format,
.ywe-control--date {
  grid-column: span 2;
}

.ywe-control-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c6372;
  font-weight: 600;
}

.ywe-toolbar label {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  position: static !important;
}

.ywe-toolbar input,
.ywe-toolbar select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 44px;
  border: 1px solid var(--ywe-border);
  border-radius: 12px;
  padding: 0.62rem 0.75rem;
  color: var(--ywe-text);
  background: #fff;
  font-family: var(--ywe-font-sans);
  font-size: 0.98rem;
  line-height: 1.2;
}

.ywe-toolbar input:focus,
.ywe-toolbar select:focus {
  outline: 2px solid rgba(216, 87, 119, 0.32);
  outline-offset: 1px;
  border-color: var(--ywe-primary);
}

.ywe-toolbar-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  align-items: center;
}

.ywe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-family: var(--ywe-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.15;
  transition: 180ms ease;
  cursor: pointer;
}

.ywe-btn-primary {
  background: var(--ywe-primary);
  color: #fff;
}

.ywe-btn-primary:hover,
.ywe-btn-primary:focus {
  background: var(--ywe-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.ywe-btn-ghost {
  border-color: var(--ywe-border);
  color: var(--ywe-text);
  background: #fff;
}

.ywe-btn-ghost:hover,
.ywe-btn-ghost:focus {
  border-color: var(--ywe-primary);
  color: var(--ywe-primary);
}

.ywe-btn-link {
  color: var(--ywe-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.ywe-view-note {
  border-left: 4px solid var(--ywe-primary);
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  color: var(--ywe-muted);
}

.ywe-event-list {
  display: grid;
  gap: 1rem;
}

.ywe-month-separator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.45rem;
  color: #4a4f5e;
  font-size: 1.35rem;
  font-weight: 500;
}

.ywe-month-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(168, 176, 190, 0.45), rgba(168, 176, 190, 0.08));
}

.ywe-event-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(220px, 28%);
  gap: 1.15rem;
  background: #fff;
  border: 1px solid var(--ywe-border);
  border-radius: var(--ywe-radius);
  box-shadow: var(--ywe-shadow);
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.ywe-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--ywe-border);
  min-width: 0;
}

.ywe-event-day {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1;
  font-weight: 700;
}

.ywe-event-month {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ywe-muted);
}

.ywe-event-meta-top {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.ywe-event-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ywe-primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.34rem 0.68rem;
}

.ywe-event-badge--ghost {
  background: rgba(216, 87, 119, 0.12);
  color: var(--ywe-primary-dark);
}

.ywe-event-range {
  margin: 0 0 0.45rem;
  color: var(--ywe-muted);
  font-size: 0.98rem;
}

.ywe-event-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 1.1;
}

.ywe-event-title a {
  color: var(--ywe-text);
  text-decoration: none;
}

.ywe-event-title a:hover {
  color: var(--ywe-primary);
}

.ywe-event-venue {
  margin: 0.55rem 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.ywe-event-excerpt {
  color: #313746;
  font-size: 1.02rem;
  line-height: 1.56;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ywe-event-excerpt p {
  margin: 0.4rem 0;
}

.ywe-event-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
  align-items: center;
}

.ywe-price-pill {
  border: 1px solid var(--ywe-border);
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  font-size: 0.86rem;
  color: var(--ywe-muted);
}

.ywe-event-image {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ywe-event-image img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ywe-empty-state {
  border: 1px dashed var(--ywe-border);
  border-radius: var(--ywe-radius);
  background: #fff;
  padding: 1.5rem;
  text-align: center;
}

.ywe-pagination ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  flex-wrap: wrap;
}

.ywe-pagination a,
.ywe-pagination span {
  display: inline-block;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--ywe-border);
  border-radius: 9px;
  text-decoration: none;
}

.ywe-pagination .current {
  border-color: var(--ywe-primary);
  color: var(--ywe-primary);
  font-weight: 700;
}

.ywe-single-event {
  max-width: 1240px;
  margin: 0 auto 3rem;
}

.ywe-single-hero {
  min-height: clamp(300px, 42vw, 460px);
  border-radius: var(--ywe-radius);
  margin: 1rem 0;
  animation: ywe-fadeup 0.5s ease both;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #dbe4ef, #bcc8d8);
  background-size: cover;
  background-position: center top;
}

.ywe-single-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 86%, rgba(216, 87, 119, 0.28), rgba(216, 87, 119, 0) 54%),
    linear-gradient(180deg, rgba(9, 14, 24, 0.02), rgba(9, 14, 24, 0.44));
}

.ywe-single-hero-content {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 3vw, 1.8rem);
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  max-width: 820px;
  padding: clamp(0.9rem, 2vw, 1.35rem);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(8, 12, 20, 0.44), rgba(8, 12, 20, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 28px -18px rgba(3, 6, 11, 0.58);
  backdrop-filter: blur(2px);
}

.ywe-single-hero-content,
.ywe-single-hero-content *,
.ywe-single-hero-content h1,
.ywe-single-hero-content p {
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
}

.ywe-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.68rem;
  margin-bottom: 0.85rem;
  opacity: 0.86;
  transition: opacity 180ms ease, background 180ms ease;
}

.ywe-back-link:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.ywe-single-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  background: var(--ywe-primary);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  box-shadow: 0 8px 18px -12px rgba(216, 87, 119, 0.95);
}

.ywe-single-hero-content h1 {
  margin: 0.35rem 0;
  line-height: 1.04;
  font-size: clamp(1.8rem, 4.2vw, 4rem);
}

.ywe-single-date {
  margin: 0.22rem 0 0;
  font-size: 1.12rem;
  font-weight: 500;
}

.ywe-single-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.62rem;
}

.ywe-chip {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.62rem;
  font-size: 0.83rem;
  font-weight: 500;
}

.ywe-chip:first-child {
  background: rgba(216, 87, 119, 0.45);
  border-color: rgba(255, 255, 255, 0.52);
}

.ywe-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

.ywe-single-main {
  animation: ywe-fadeup 0.45s 0.08s ease both;
}

.ywe-single-main,
.ywe-aside-card,
.ywe-related-card {
  border: 1px solid var(--ywe-border);
  background: #fff;
  border-radius: var(--ywe-radius);
  box-shadow: var(--ywe-shadow);
}

.ywe-single-content {
  padding: clamp(1rem, 2.3vw, 1.45rem);
}

.ywe-single-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ywe-border);
}

.ywe-single-content p,
.ywe-single-content li {
  font-family: var(--ywe-font-sans);
  font-size: 1.2rem;
  line-height: 1.78;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ywe-aside-card {
  padding: 0;
  position: sticky;
  top: 1rem;
  overflow: hidden;
  border-top: 4px solid var(--ywe-primary) !important;
  animation: ywe-fadeup 0.5s 0.18s ease both;
}

.ywe-aside-card-header {
  padding: 1rem 1.1rem 0.9rem;
  background: var(--ywe-primary-light);
  border-bottom: 1px solid var(--ywe-border);
}

.ywe-aside-card h3 {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--ywe-primary-dark);
}

.ywe-aside-card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.ywe-info-list {
  list-style: none;
  margin: 0 0 0.2rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.ywe-info-list li {
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #eff2f7;
}

.ywe-info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ywe-info-label {
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--ywe-muted);
  font-weight: 600;
}

.ywe-info-value {
  font-size: 1.04rem;
  line-height: 1.43;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ywe-info-link {
  color: var(--ywe-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  word-break: break-all;
}

.ywe-info-link:hover {
  color: var(--ywe-primary);
}

.ywe-aside-actions {
  margin: 1rem 0 0.7rem;
  display: grid;
  gap: 0.55rem;
}

.ywe-aside-actions .ywe-btn,
.ywe-ticket-wrap .ywe-btn {
  width: 100%;
}

.ywe-ticket-wrap {
  margin: 0;
}

.ywe-ticket-wrap .ywe-btn-primary {
  padding: 0.9rem 1rem;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  border-radius: 14px;
}

.ywe-related-events {
  margin-top: 1.4rem;
}

.ywe-related-events h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.ywe-related-slider {
  position: relative;
}

.ywe-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ywe-slider-controls {
  display: none;
}

.ywe-related-card {
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}

.ywe-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 87, 119, 0.35) !important;
}

.ywe-related-card a {
  display: block;
  text-decoration: none;
  color: var(--ywe-text);
}

.ywe-related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ywe-related-card-body {
  padding: 0.7rem 0.8rem 0.85rem;
}

.ywe-related-card-date {
  margin: 0 0 0.28rem;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--ywe-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ywe-related-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .ywe-toolbar-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .ywe-control {
    grid-column: span 3;
  }

  .ywe-control--search {
    grid-column: 1 / -1;
  }

  .ywe-control--category,
  .ywe-control--location,
  .ywe-control--format,
  .ywe-control--date {
    grid-column: span 3;
  }

  .ywe-event-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .ywe-event-image {
    grid-column: 1 / -1;
  }

  .ywe-single-layout {
    grid-template-columns: 1fr;
  }

  .ywe-aside-card {
    position: static;
  }

  .ywe-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ywe-toolbar-grid {
    grid-template-columns: 1fr;
  }

  .ywe-control,
  .ywe-control--search,
  .ywe-control--date {
    grid-column: 1 / -1;
  }

  .ywe-toolbar-actions .ywe-btn {
    width: 100%;
  }

  .ywe-event-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .ywe-event-date {
    border-right: 0;
    border-bottom: 1px solid var(--ywe-border);
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
    padding-bottom: 0.55rem;
  }

  .ywe-single-hero-content {
    max-width: none;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .ywe-single-hero-content h1 {
    font-size: clamp(1.35rem, 7vw, 2.2rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .ywe-back-link {
    white-space: normal;
    word-break: break-word;
  }

  .ywe-single-main,
  .ywe-aside-card {
    overflow-x: hidden;
  }

  .ywe-related-events h2 {
    padding-left: 0.75rem;
  }

  .ywe-related-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-left: 0.75rem;
    gap: 0.85rem;
    padding: 0.25rem 0.75rem 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .ywe-related-grid::-webkit-scrollbar {
    display: none;
  }

  .ywe-related-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .ywe-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .ywe-slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1.5px solid var(--ywe-border);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    color: var(--ywe-text);
    transition: border-color 150ms ease, color 150ms ease;
    padding: 0;
    flex-shrink: 0;
  }

  .ywe-slider-btn:hover {
    border-color: var(--ywe-primary);
    color: var(--ywe-primary);
  }

  .ywe-slider-btn:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .ywe-slider-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
  }

  .ywe-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ywe-border);
    transition: background 200ms ease, transform 200ms ease;
  }

  .ywe-slider-dot.is-active {
    background: var(--ywe-primary);
    transform: scale(1.35);
  }
}
