.skycourt-accordion__item {
	padding-top: 20px;
	border-top: 1px solid #e3e3e3;
}

.skycourt-accordion__header {
	margin-bottom: 10px;
}

h3.skycourt-accordion__header {
	margin: 0 0 20px;
}

/* Toggle button (minimal) */
button.skycourt-accordion__toggle {
	width: 100%;
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: none;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: transparent;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 0 0.4em;
	cursor: pointer;
}

/* Left title gets remaining space */
.skycourt-accordion__toggle-title {
  flex: 1 1 auto;
  min-width: 0; /* prevents overflow pushing meta */
}

/* Right text field */
.skycourt-accordion__toggle-meta {
  flex: 0 0 25%;
  max-width: 25%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	font-family: "DM Sans",sans-serif;
	font-size: 13px;
	letter-spacing: .1em;
}

/* Hide meta if empty */
.skycourt-accordion__toggle-meta:empty {
  display: none;
}

/* Chevron only when enabled */
.skycourt-accordion--chevron .skycourt-accordion__toggle::after {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s ease;
  margin-left: 0.75em;
}

.skycourt-accordion--chevron .skycourt-accordion__item.is-open
  > .skycourt-accordion__header
  .skycourt-accordion__toggle::after {
  transform: rotate(-135deg);
}

/* Panel slide animation only (slower + softer) */
.skycourt-accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.6s cubic-bezier(0.33, 1, 0.68, 1); /* easeOutCubic */
  will-change: height;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .skycourt-accordion__panel,
  .skycourt-accordion__toggle::after {
    transition: none;
  }
}