/* WP EPK — public-facing styles. Conservative and theme-friendly. */

.epk {
	max-width: 960px;
	margin: 0 auto;
	font-family: inherit;
	color: inherit;
}

.epk-header {
	margin-bottom: 1.5em;
}

.epk-title {
	font-size: 2.4em;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}

.epk-hero {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

.epk-actions {
	margin: 1em 0 2em;
	display: flex;
	gap: 0.75em;
	flex-wrap: wrap;
}

.epk-actions button,
.epk-actions a {
	display: inline-block;
	padding: 0.5em 1em;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	font-size: 0.9em;
}

.epk-section {
	margin-bottom: 2.5em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid rgba(0,0,0,0.08);
}

.epk-section:last-child {
	border-bottom: 0;
}

.epk-section h3 {
	font-size: 1.2em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 1em;
	opacity: 0.7;
}

/* Bio */
.epk-bio-short {
	font-size: 1.25em;
	line-height: 1.5;
	font-style: italic;
}
.epk-bio-block {
	margin: 1em 0;
}
.epk-bio-block summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 0.5em;
}

/* Photo gallery */
.epk-photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}
.epk-gallery-link {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 1 / 1;
}
.epk-gallery-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}
.epk-gallery-link:hover img {
	transform: scale(1.04);
}
.epk-download-hint {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.65);
	color: #fff;
	padding: 4px 8px;
	font-size: 0.75em;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.epk-gallery-link:hover .epk-download-hint {
	opacity: 1;
}

/* Link lists */
.epk-link-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1em;
}
.epk-link-list li {
	padding: 0.4em 0;
	border-bottom: 1px dotted rgba(0,0,0,0.1);
}

.epk-embed {
	margin-top: 1em;
}
.epk-embed iframe {
	width: 100%;
	max-width: 100%;
}

/* Press */
.epk-press-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.epk-press-item {
	margin: 0 0 1.5em;
}
.epk-press-quote {
	font-size: 1.15em;
	line-height: 1.5;
	margin: 0 0 0.5em;
	padding-left: 1em;
	border-left: 3px solid currentColor;
	font-style: italic;
}
.epk-press-meta {
	font-size: 0.9em;
	opacity: 0.75;
}

/* Tables (shows + inputs) */
.epk-shows-table,
.epk-inputs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}
.epk-shows-table th,
.epk-shows-table td,
.epk-inputs-table th,
.epk-inputs-table td {
	padding: 0.5em 0.7em;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	text-align: left;
}
.epk-shows-table th,
.epk-inputs-table th {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.7;
}

/* Metrics */
.epk-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1em;
	margin: 0;
}
.epk-metric {
	background: rgba(0,0,0,0.03);
	padding: 1em;
	border-radius: 6px;
	text-align: center;
}
.epk-metric dt {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.7;
	margin-bottom: 0.3em;
}
.epk-metric dd {
	margin: 0;
	font-size: 1.6em;
	font-weight: 700;
}

/* Stage plot */
.epk-stage-plot-figure {
	margin: 0 0 1.5em;
}
.epk-stage-plot {
	max-width: 100%;
	height: auto;
	border: 1px solid rgba(0,0,0,0.15);
	padding: 6px;
	background: #fff;
	border-radius: 4px;
}
.epk-stage-plot-figure figcaption {
	font-size: 0.85em;
	opacity: 0.7;
	margin-top: 0.4em;
}

.epk-rider-button {
	display: inline-block;
	padding: 0.5em 1em;
	border: 1px solid currentColor;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
}

/* Contact */
.epk-contact-card {
	font-style: normal;
	line-height: 1.7;
}

/* Social */
.epk-social-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}
.epk-social-list li a {
	display: inline-block;
	padding: 0.4em 0.9em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.85em;
	text-decoration: none;
	color: inherit;
}

.epk-block-placeholder {
	padding: 1.5em;
	border: 2px dashed rgba(0,0,0,0.15);
	text-align: center;
}

/* Print */
@media print {
	.epk-actions,
	.epk-print,
	.epk-rider-link,
	.epk-rider-button,
	.epk-social-list,
	.epk-embed iframe {
		display: none !important;
	}
	.epk {
		max-width: 100%;
	}
	.epk-section {
		page-break-inside: avoid;
		border-bottom: 0;
	}
	a {
		color: #000 !important;
		text-decoration: underline !important;
	}
	a[href]:after {
		content: " (" attr(href) ")";
		font-size: 0.7em;
		opacity: 0.7;
	}
	.epk-photo-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}
