/* ==========================================================================
   Toman — One-page layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	--clr-bg:        #09180f;
	--clr-accent-1:  #1a3020;
	--clr-accent-2:  #162a1e;
	--clr-cream:     #e8dfc4;
	--clr-muted:     #8fba9f;
	--clr-link:      #5fa87e;
	--clr-sold:      #b05a20;
	--clr-divider:   rgba(255, 255, 255, .09);
	--font-sans:     var(--gp-font--pp-neue-machina, system-ui, sans-serif);
}

/* --------------------------------------------------------------------------
   Body reset (front page only)
   -------------------------------------------------------------------------- */
body.toman-front {
	background: var(--clr-bg);
	color: var(--clr-cream);
	font-family: var(--font-sans);
	margin: 0;
	padding: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

/* Hide GeneratePress chrome on front page */
body.toman-front .site-header,
body.toman-front .main-navigation,
body.toman-front .nav-bar,
body.toman-front .site-footer,
body.toman-front #page > .site-container {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Split-screen grid
   -------------------------------------------------------------------------- */
.toman-layout {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--clr-bg);
}

@media (min-width: 900px) {
	body.toman-front {
		overflow: hidden;
	}

	.toman-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		height: 100vh;
		overflow: hidden;
	}

	.toman-layout__left {
		position: sticky;
		top: 0;
		height: 100vh;
	}

	.toman-layout__right {
		height: 100vh;
		overflow-y: auto;
		/* Thin scrollbar — matches global style */
		scrollbar-width: thin;
		scrollbar-color: rgba(194, 162, 92, .4) #183131;
	}

	.toman-layout__right::-webkit-scrollbar { width: 4px; }
	.toman-layout__right::-webkit-scrollbar-track { background: #183131; }
	.toman-layout__right::-webkit-scrollbar-thumb { background: rgba(194, 162, 92, .4); border-radius: 2px; }
}

/* --------------------------------------------------------------------------
   Hero / left panel
   -------------------------------------------------------------------------- */
.toman-hero {
	position: relative;
	width: 100%;
	height: 60vw;          /* mobile: proportional */
	max-height: 100vh;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
}

@media (min-width: 900px) {
	.toman-hero {
		height: 100vh;
	}
}

.toman-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 30%, var(--clr-bg) 100%);
	pointer-events: none;
}

.toman-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0 28px 36px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

@media (max-width: 899px) {
	.toman-hero__content {
		padding-bottom: 1px;
	}
}

.toman-logo {
	margin: 0 0 20px;
	line-height: 1;
}

.toman-logo img {
	max-width: min(260px, 60vw);
	height: auto;
	display: block;
}

/* --------------------------------------------------------------------------
   Social icons row (hero + footer)
   -------------------------------------------------------------------------- */
.toman-socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.toman-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: color .2s ease;
	width: 20px;
	height: 20px;
}

.toman-socials a:hover {
	color: var(--clr-muted);
}

.toman-socials svg {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Right column — shared section styles
   -------------------------------------------------------------------------- */
.toman-section {
	padding: 48px 32px 8px;
}

.toman-section:first-child {
	padding-top: 40px;
}

.toman-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
}

.toman-section-title {
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--clr-muted);
	margin: 0;
}

.toman-section-link {
	font-size: .72rem;
	letter-spacing: .08em;
	color: var(--clr-link);
	text-decoration: none;
}

.toman-section-link:hover {
	color: var(--clr-cream);
}

/* --------------------------------------------------------------------------
   Agenda list
   -------------------------------------------------------------------------- */
.toman-agenda-list {
	display: flex;
	flex-direction: column;
}

.toman-agenda-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 4px;
	border-bottom: 1px solid var(--clr-divider);
	border-radius: 3px;
	transition: background .15s ease;
	cursor: default;
	text-decoration: none;
	overflow: visible;
}

.toman-agenda-row:hover {
	background: var(--clr-accent-2);
}

.toman-agenda-row:hover .toman-poster-thumb img {
	transform: scale(1.05);
}

/* Poster thumbnail */
.toman-poster-thumb {
	width: 48px;
	height: 48px;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.toman-poster-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .2s ease;
}

.toman-poster-thumb__fallback {
	width: 100%;
	height: 100%;
	background: var(--clr-accent-1);
}

@media (max-width: 640px) {
	.toman-poster-thumb {
		width: 38px;
		height: 38px;
	}

	.toman-venue {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

/* Date block */
.toman-date-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	width: 32px;
	text-align: center;
}

.toman-date-day {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--clr-cream);
	line-height: 1.1;
}

.toman-date-month {
	font-size: .72rem;
	color: var(--clr-muted);
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* Event info */
.toman-event-info {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	overflow: visible;
	position: relative;
}

.toman-venue {
	font-size: .9rem;
	font-weight: 600;
	color: var(--clr-cream);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.toman-location {
	font-size: .76rem;
	color: var(--clr-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Ticket pill */
.toman-ticket-wrap {
	flex-shrink: 0;
	margin-left: auto;
}

.toman-ticket-pill {
	display: inline-block;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 20px;
	border: 1px solid var(--clr-link);
	color: var(--clr-link);
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s, color .15s;
}

a.toman-ticket-pill:hover {
	border-color: var(--clr-cream);
	color: var(--clr-cream);
}

.toman-ticket-pill--soldout {
	border-color: var(--clr-sold);
	color: var(--clr-sold);
	cursor: default;
}

/* --------------------------------------------------------------------------
   Music grid
   -------------------------------------------------------------------------- */
.toman-music-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

@media (min-width: 640px) {
	.toman-music-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.toman-release-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.toman-release-card:hover .toman-release-artwork img {
	transform: scale(1.03);
}

/* Platform-links onder de kaart (Beatport / Spotify / YouTube) */
.toman-release-links {
	display: flex;
	gap: 10px;
	margin-top: 6px;
}

.toman-release-links a {
	display: flex;
	align-items: center;
	color: var(--clr-muted);
	text-decoration: none;
	transition: color .2s ease;
}

.toman-release-links a:hover {
	color: var(--clr-cream);
}

.toman-release-links svg {
	width: 24px;
	height: 24px;
	display: block;
	shape-rendering: geometricPrecision;
}

.toman-release-artwork {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--clr-accent-1);
	border-radius: 3px;
	margin-bottom: 8px;
}

.toman-release-artwork img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}

.toman-release-title {
	font-size: .72rem;
	font-weight: 600;
	color: var(--clr-cream);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.toman-release-label {
	font-size: .62rem;
	color: var(--clr-muted);
	display: block;
}

/* "Listen more" link onder het music grid */
.toman-listen-more {
	display: block;
	text-align: center;
	margin-top: 20px;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--clr-link);
	text-decoration: none;
	transition: color .2s ease;
}

.toman-listen-more:hover {
	color: var(--clr-cream);
}

/* "All releases" card */
.toman-release-card--all .toman-release-artwork {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--clr-divider);
}

.toman-release-card--all .toman-all-label {
	font-size: .62rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--clr-link);
}

.toman-release-card--all:hover .toman-all-label {
	color: var(--clr-cream);
}

/* --------------------------------------------------------------------------
   Bookings
   -------------------------------------------------------------------------- */
.toman-bookings-table {
	display: flex;
	flex-direction: column;
}

.toman-bookings-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 11px 4px;
	border-bottom: 1px solid var(--clr-divider);
	gap: 12px;
}

.toman-bookings-region {
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--clr-muted);
	flex-shrink: 0;
}

.toman-bookings-contact {
	font-size: .85rem;
	text-align: right;
}

.toman-bookings-contact a {
	color: var(--clr-link);
	text-decoration: none;
}

.toman-bookings-contact a:hover {
	color: var(--clr-cream);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.toman-footer {
	padding: 40px 32px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.toman-footer__copyright {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--clr-muted);
}

/* --------------------------------------------------------------------------
   Venue tooltip (toont volledige eventnaam bij hover)
   -------------------------------------------------------------------------- */
.toman-has-tooltip {
	position: relative;
	cursor: default;
}

.toman-has-tooltip::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 0;
	bottom: calc(100% + 4px);
	background: #102222;
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	white-space: nowrap;
	font-size: .78rem;
	font-weight: 400;
	visibility: hidden;
	opacity: 0;
	transition: opacity .2s ease;
	z-index: 20;
	pointer-events: none;
}

.toman-has-tooltip:hover::after {
	visibility: visible;
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Poster modal — zelfde stijlen als toman-posterwall plugin
   -------------------------------------------------------------------------- */
.tpw-modal {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 9999;
}

.tpw-modal.is-open {
	display: block;
}

.tpw-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .75);
}

.tpw-modal-card {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 760px);
	max-height: 92vh;
	background: rgba(15, 15, 15, .92);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
}

.tpw-media {
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 75vh;
}

.tpw-media img {
	width: 100%;
	height: auto;
	max-height: 75vh;
	object-fit: contain;
	display: block;
}

.tpw-close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #083131;
	color: rgba(194, 162, 92, .85);
	font-size: 26px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
}

.tpw-close:hover { background: #0d4a4a; }

.tpw-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 0;
	background: #083131;
	color: rgba(194, 162, 92, .85);
	font-size: 30px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.tpw-nav:hover { background: #0d4a4a; }
.tpw-prev { left: 10px; }
.tpw-next { right: 10px; }

.tpw-modal-caption {
	padding: 8px 16px 14px;
	color: rgba(255, 255, 255, .80);
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 14px;
	text-align: center;
	letter-spacing: .02em;
}
