/**
 * Mark Karan Tour Schedule — public styles
 *
 * Typography matches markkaran.com (theme "mkdraft26nbwpA42"):
 *   font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif
 *   body size:   17px
 *   h1/h2:       29px / 23px, bold, with letter-spacing
 *   link color:  #BDA365
 *
 * Colors flow through `--mkts-accent` (settable from the admin Settings
 * page), so swapping palettes later is a one-input change.
 */

.mkts-wrap {
	--mkts-accent: #BDA365;
	--mkts-muted: rgba(60, 60, 60, 0.65);
	--mkts-border: rgba(60, 60, 60, 0.2);
	--mkts-radius: 4px;

	max-width: 920px;
	margin: 2rem auto;
	color: inherit;
	font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif;
	font-size: 17px;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5;
}

.mkts-wrap a,
.mkts-wrap a:link,
.mkts-wrap a:visited {
	color: var(--mkts-accent);
	font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif;
	text-decoration: none;
}
.mkts-wrap a:hover,
.mkts-wrap a:focus {
	color: var(--mkts-accent);
	text-decoration: underline;
}

.mkts-section { margin: 0 0 2.5rem; }

.mkts-section-heading {
	font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif;
	font-size: 29px;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 125%;
	text-transform: uppercase;
	margin: 0 0 1rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--mkts-accent);
	display: inline-block;
}

.mkts-empty {
	padding: 1rem 0;
	color: var(--mkts-muted);
	font-style: italic;
}

.mkts-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mkts-show {
	display: grid;
	grid-template-columns: 150px 1fr auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1rem 0.25rem;
	border-bottom: 1px solid var(--mkts-border);
}

.mkts-show:last-child { border-bottom: 0; }

.mkts-show__date {
	font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 125%;
	text-transform: uppercase;
	color: inherit;
}

.mkts-show__date time { display: block; }

.mkts-show__time {
	display: block;
	font-weight: normal;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mkts-muted);
	margin-top: 0.15rem;
}

.mkts-show__tba {
	font-weight: bold;
	color: var(--mkts-muted);
}

.mkts-show__body { min-width: 0; }

.mkts-show__title {
	font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif;
	font-size: 23px;
	font-weight: bold;
	letter-spacing: 0.5px;
	line-height: 125%;
	margin: 0 0 0.15rem;
}

.mkts-show__venue {
	font-size: 17px;
	margin: 0.2rem 0;
}

.mkts-show__venue a {
	font-weight: bold;
}
.mkts-show__venue a:hover,
.mkts-show__venue a:focus { text-decoration: underline; }

.mkts-show__sep { color: var(--mkts-muted); }
.mkts-show__location { color: var(--mkts-muted); }

.mkts-show__with {
	margin-top: 0.3rem;
	font-size: 15px;
	color: var(--mkts-muted);
	font-style: italic;
}

.mkts-show__notes {
	margin-top: 0.35rem;
	font-size: 15px;
	color: var(--mkts-muted);
}

/* Action column */
.mkts-show__action {
	justify-self: end;
	text-align: right;
}

.mkts-btn,
.mkts-wrap a.mkts-btn:link,
.mkts-wrap a.mkts-btn:visited {
	display: inline-block;
	background: var(--mkts-accent);
	color: #111 !important;
	font-family: Helvetica, 'Arial Unicode MS', Arial, Sans-Serif;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	padding: 0.6rem 1.15rem;
	border-radius: var(--mkts-radius);
	text-decoration: none !important;
	border: 2px solid var(--mkts-accent);
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
	white-space: nowrap;
}

.mkts-btn:hover,
.mkts-btn:focus,
.mkts-wrap a.mkts-btn:hover,
.mkts-wrap a.mkts-btn:focus {
	background: transparent;
	color: var(--mkts-accent) !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.mkts-badge {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: var(--mkts-radius);
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 1px solid var(--mkts-border);
	color: var(--mkts-muted);
}

.mkts-badge--soldout { color: #b4452a; border-color: #b4452a; }
.mkts-badge--free    { color: var(--mkts-accent); border-color: var(--mkts-accent); }

.mkts-show.is-past .mkts-show__date,
.mkts-show.is-past .mkts-show__title,
.mkts-show.is-past .mkts-show__venue {
	opacity: 0.75;
}

.mkts-show.is-sold-out .mkts-show__title { text-decoration: line-through; }

/* Social / extra link icons — only rendered when at least one URL is set. */
.mkts-show__social {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.mkts-show__social li { margin: 0; padding: 0; }

.mkts-wrap a.mkts-social,
.mkts-wrap a.mkts-social:link,
.mkts-wrap a.mkts-social:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #444;
	background: transparent;
	border: 1px solid var(--mkts-border);
	text-decoration: none !important;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.mkts-wrap a.mkts-social:hover,
.mkts-wrap a.mkts-social:focus {
	color: var(--mkts-accent);
	border-color: var(--mkts-accent);
	text-decoration: none !important;
}

.mkts-social svg {
	display: block;
	width: 16px;
	height: 16px;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Responsive */
@media (max-width: 640px) {
	.mkts-show {
		grid-template-columns: 1fr;
		gap: 0.5rem;
		padding: 1.1rem 0;
	}
	.mkts-show__action {
		justify-self: start;
		text-align: left;
	}
	.mkts-section-heading { display: block; }
	.mkts-show__title { font-size: 21px; }
	.mkts-section-heading { font-size: 26px; }
}
