/* Dickey Betts Content Types — matches the Kontrol "cream" look: near-black, white text, gold accents. */
:root {
	--dbct-gold: #ce9d5c;
	--dbct-gold-dark: #b3843f;
	--dbct-bg: #111;
	--dbct-panel: #1b1b1b;
	--dbct-line: #2a2a2a;
	--dbct-text: #fff;
	--dbct-muted: #aaa;
}

/* Track list */
.dbct-tracklist { list-style: none; margin: 0 0 1.5em; padding: 0; counter-reset: dbct; }
.dbct-track { border-bottom: 1px solid var(--dbct-line); padding: 10px 0; }
.dbct-track-head { display: flex; align-items: center; gap: 12px; }
.dbct-track-head > strong, .dbct-track-head > b { display: contents; }
.dbct-num { width: 34px; text-align: center; color: var(--dbct-muted); font-variant-numeric: tabular-nums; }
.dbct-title { color: var(--dbct-text); font-weight: 600; }
.dbct-subtitle { color: var(--dbct-muted); }
.dbct-play {
	width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
	border: 0; background: var(--dbct-gold); cursor: pointer; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
}
.dbct-play:hover, .dbct-play:focus-visible { background: var(--dbct-gold-dark); }
.dbct-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #111; margin-left: 3px; }
.dbct-play.is-playing .dbct-icon { width: 10px; height: 12px; border: 0; margin: 0; border-left: 3px solid #111; border-right: 3px solid #111; }
.dbct-track audio { display: block; width: 100%; margin-top: 8px; }
.dbct-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 46px; }

/* Buttons (shared) */
.dbct-btn {
	display: inline-block; background: var(--dbct-gold); color: #111 !important;
	padding: 4px 12px; font-size: 13px; text-decoration: none; cursor: pointer; border-radius: 2px;
}
.dbct-btn:hover { background: var(--dbct-gold-dark); }
.dbct-lyrics summary { list-style: none; }
.dbct-lyrics summary::-webkit-details-marker { display: none; }
.dbct-lyrics[open] { flex-basis: 100%; }
.dbct-lyrics[open] > :not(summary) { background: var(--dbct-panel); padding: 12px 16px; margin-top: 8px; }

/* Album details / purchase */
.dbct-album-details p, .dbct-purchase p { margin: 0 0 6px; }
.dbct-album-details span { color: var(--dbct-gold); font-weight: 600; }
.dbct-status { color: var(--dbct-gold); font-weight: 600; }
.dbct-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Video */
.dbct-video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.dbct-video-frame iframe, .dbct-video-frame video, .dbct-video-frame .wp-video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.dbct-video-sub { color: var(--dbct-muted); margin-top: 8px; }

/* Slider — scales with the page width like Kontrol (1600x500 slides) */
.dbct-slider { position: relative; background: #000; --dbct-cw: 940px; }
.dbct-slides { position: relative; overflow: hidden; aspect-ratio: var(--dbct-ratio, 1600 / 500); }
.dbct-slider.has-fixed-height .dbct-slides { aspect-ratio: auto; height: var(--dbct-slider-h); }
.dbct-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.dbct-slide.is-active { opacity: 1; z-index: 1; }
.dbct-slide a { display: block; height: 100%; }
.dbct-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Caption strip: full width, 70px, 80% black — title aligned to the content column */
.dbct-slide figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
	display: flex; align-items: center; background: rgba(0, 0, 0, .8);
	padding: 0 calc(max(10px, (100% - var(--dbct-cw)) / 2) + 150px) 0 max(10px, calc((100% - var(--dbct-cw)) / 2));
	color: #fff; font-family: "Trocchi", serif; font-size: 23px; line-height: 23px; font-style: normal;
}
.dbct-slide figcaption span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Arrows sit inside the caption strip, right edge of the content column */
.dbct-nav { position: absolute; bottom: 0; right: max(10px, calc((100% - var(--dbct-cw)) / 2)); z-index: 2; display: flex; gap: 1px; }
.dbct-slider .dbct-prev, .dbct-slider .dbct-next {
	width: 70px; height: 70px; border: 0; border-radius: 0; padding: 0; margin: 0;
	background: var(--dbct-gold); color: #fff; font-size: 26px; line-height: 70px; cursor: pointer;
}
.dbct-slider .dbct-prev:hover, .dbct-slider .dbct-next:hover,
.dbct-slider .dbct-prev:focus, .dbct-slider .dbct-next:focus { background: var(--dbct-gold-dark); color: #fff; }
/* Thumbnail strip: 220x139, 5px black border (gold when active), 20px gaps */
.dbct-thumbs {
	display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; background: var(--dbct-bg);
	padding: 20px max(10px, calc((100% - var(--dbct-cw)) / 2)); border-top: 1px solid #262426; border-bottom: 1px solid #262426;
}
.dbct-thumbs::-webkit-scrollbar { display: none; }
.dbct-slider .dbct-thumbs button,
.dbct-slider .dbct-thumbs button:hover,
.dbct-slider .dbct-thumbs button:focus,
.dbct-slider .dbct-thumbs button:active {
	-webkit-appearance: none; appearance: none; box-sizing: border-box;
	flex: 0 0 auto; width: 220px; height: 139px; padding: 0; margin: 0; cursor: pointer; opacity: 1; filter: none;
	border: 5px solid #000 !important; border-radius: 0 !important; outline: 0 !important; box-shadow: none !important;
	background-color: #000 !important; background-size: cover; background-position: center; background-repeat: no-repeat; background-clip: padding-box;
}
.dbct-slider .dbct-thumbs button::-moz-focus-inner { border: 0; padding: 0; }
.dbct-slider .dbct-thumbs button:focus-visible { outline: 2px solid var(--dbct-gold) !important; outline-offset: 2px; }
.dbct-slider .dbct-thumbs button.is-active { border-color: var(--dbct-gold) !important; }
/* On this day */
.dbct-otd-lead { color: #aaa; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 10px; }
.dbct-otd-list { list-style: none; margin: 0; padding: 0; }
.dbct-otd-list li { padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--dbct-line); line-height: 1.4; }
.dbct-otd-list li:last-child { border-bottom: 0; }
.dbct-otd-year { display: block; color: var(--dbct-gold); font-family: "Trocchi", serif; font-size: 18px; line-height: 1.2; }
.dbct-otd-title { color: #ececec; font-size: 13px; }
.dbct-otd-empty { color: #aaa; }
/* Show page */
.dbct-show-head { margin-bottom: 30px; }
.dbct-show-back { display: inline-block; margin-bottom: 18px; color: var(--dbct-gold); text-decoration: none; }
.dbct-show-band { color: var(--dbct-gold); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.dbct-show-venue { font-family: "Trocchi", serif; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 10px; color: #fff; }
.dbct-show-place { font-size: 18px; margin: 0 0 14px; color: #fff; }
.dbct-show-place span { color: var(--dbct-gold); font-size: 15px; }
.dbct-show-date { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #fff; }
.dbct-show-time { color: var(--dbct-muted); font-size: 13px; margin: 0 0 18px; }
.dbct-show-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.dbct-btn-outline { display: inline-block; padding: 9px 16px; border: 1px solid #3a3a3a; color: #fff !important; text-decoration: none; border-radius: 2px; font-size: 13px; }
.dbct-btn-outline:hover { border-color: var(--dbct-gold); color: var(--dbct-gold) !important; }
.dbct-setlist-box, .dbct-notes-box { background: var(--dbct-panel); border: 1px solid var(--dbct-line); padding: 24px 28px; margin: 0 0 24px; }
.dbct-box-title { font-family: "Trocchi", serif; font-size: 22px; text-transform: uppercase; margin: 0 0 16px; color: #fff; }
.dbct-setlist { list-style: none; margin: 0; padding: 0; counter-reset: dbct-song; }
.dbct-setlist li { padding: 8px 0 8px 36px; border-bottom: 1px solid var(--dbct-line); position: relative; }
.dbct-setlist li.is-song { counter-increment: dbct-song; }
.dbct-setlist li.is-song::before { content: counter(dbct-song); position: absolute; left: 0; width: 26px; text-align: right; color: var(--dbct-muted); font-size: 12px; top: 10px; }
.dbct-setlist li.is-song a { color: var(--dbct-gold); text-decoration: none; }
.dbct-setlist li.is-song a:hover { color: #fff; }
.dbct-setlist li.is-comment { color: var(--dbct-muted); font-style: italic; font-size: 13px; border-bottom-style: dashed; }
.dbct-setlist li.is-marker { font-family: "Trocchi", serif; text-transform: uppercase; color: #fff; padding-top: 16px; letter-spacing: .03em; }
.dbct-segue { color: var(--dbct-muted); }
.dbct-notes-box p { color: #ececec; margin: 0 0 12px; }
/* Tour archive */
.dbct-years { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 22px; }
.dbct-years a, .dbct-years span { padding: 5px 10px; border: 1px solid #3a3a3a; color: var(--dbct-gold); text-decoration: none; font-size: 13px; }
.dbct-years a:hover { border-color: var(--dbct-gold); }
.dbct-years .is-current { background: var(--dbct-gold); border-color: var(--dbct-gold); color: #111; font-weight: 700; }
.dbct-tour-heading { font-family: "Trocchi", serif; font-size: 22px; margin: 0 0 12px; color: #fff; }
.dbct-tour td a { color: var(--dbct-gold); text-decoration: none; }
.dbct-tour td a:hover { color: #fff; }
.dbct-badge { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: #111; background: var(--dbct-gold); padding: 2px 6px; border-radius: 2px; }
.dbct-otd-title a { color: #ececec; text-decoration: none; }
.dbct-otd-title a:hover { color: var(--dbct-gold); }
/* Setlist search */
.dbct-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.dbct-search label { color: #fff; }
.dbct-search input[type=search] { background: #1b1b1b; color: #fff; border: 1px solid #2a2a2a; padding: 9px 12px; min-width: 240px; }
.dbct-search .dbct-btn { padding: 9px 18px; font-size: 14px; border: 0; }
.dbct-search-count, .dbct-search-hint { color: var(--dbct-muted); }
.dbct-pages { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.dbct-pages a, .dbct-pages span { min-width: 30px; text-align: center; padding: 4px 8px; border: 1px solid #3a3a3a; color: var(--dbct-gold); text-decoration: none; font-size: 13px; }
.dbct-pages .is-current { background: var(--dbct-gold); color: #111; border-color: var(--dbct-gold); }
.dbct-pages .is-gap { border: 0; color: var(--dbct-muted); }
.dbct-table-wrap { overflow-x: auto; }
.dbct-results { width: 100%; border-collapse: collapse; font-size: 14px; }
.dbct-results th { text-align: left; color: var(--dbct-gold); font-weight: 700; padding: 10px; border-bottom: 2px solid var(--dbct-line); }
.dbct-results td { padding: 10px; border-bottom: 1px solid var(--dbct-line); color: #ececec; vertical-align: top; }
.dbct-results td a { color: var(--dbct-gold); }
@media (max-width: 640px) {
	.dbct-results thead { display: none; }
	.dbct-results tr { display: block; border-bottom: 1px solid var(--dbct-line); padding: 8px 0; }
	.dbct-results td { display: block; border: 0; padding: 2px 0; }
	.dbct-results td::before { content: attr(data-label) ": "; color: var(--dbct-muted); font-size: 12px; }
	.dbct-setlist-box, .dbct-notes-box { padding: 18px; }
}
@media (max-width: 767px) {
	.dbct-slide figcaption { height: 50px; font-size: 15px; line-height: 18px; padding: 0 116px 0 12px; }
	.dbct-nav { right: 0; }
	.dbct-slider .dbct-prev, .dbct-slider .dbct-next { width: 50px; height: 50px; line-height: 50px; font-size: 20px; }
	.dbct-thumbs { gap: 12px; padding: 14px 16px; }
	.dbct-slider .dbct-thumbs button, .dbct-slider .dbct-thumbs button:hover, .dbct-slider .dbct-thumbs button:focus, .dbct-slider .dbct-thumbs button:active { width: 130px; height: 82px; }
	.dbct-actions { margin-left: 0; }
}

/* ---- Photo caption search ---- */
.dbct-photo-search { display: flex; gap: 8px; margin: 0 0 18px; max-width: 520px; }
.dbct-photo-search input[type="search"] { flex: 1 1 auto; min-width: 0; background: #1b1b1b; color: #fff; border: 1px solid #444; border-radius: 0; padding: 9px 12px; font-size: 14px; }
.dbct-photo-search input[type="search"]:focus { border-color: #CE9D5C; outline: none; }
.dbct-photo-search button { flex: 0 0 auto; background: #CE9D5C; color: #111; border: 0; border-radius: 0; padding: 9px 18px; font-weight: 700; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.dbct-photo-search button:hover, .dbct-photo-search button:focus-visible { background: #B3843F; }
.dbct-photo-results { margin: 0 0 24px; color: #AAAAAA; }
.dbct-photo-results:empty { display: none; }
.dbct-photo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; color: #ccc; }
.dbct-photo-clear { background: none; border: 1px solid #444; color: #CE9D5C; padding: 5px 12px; font-size: 12px; cursor: pointer; border-radius: 0; }
.dbct-photo-clear:hover, .dbct-photo-clear:focus-visible { border-color: #CE9D5C; }
.dbct-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 12px; }
.dbct-photo-grid .ngg-gallery-thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 3px solid #000; background: #000; }
.dbct-photo-grid .ngg-gallery-thumbnail a:hover img, .dbct-photo-grid .ngg-gallery-thumbnail a:focus-visible img { border-color: #CE9D5C; }
@media (max-width: 767px) { .dbct-photo-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } }

/* ---- Lightbox ---- */
body.dbct-lb-open { overflow: hidden; }
.dbct-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; padding: 50px 64px 20px; box-sizing: border-box; }
.dbct-lb[hidden] { display: none; }
.dbct-lb-fig { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.dbct-lb-img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; display: block; }
.dbct-lb-cap { margin-top: 12px; max-width: 900px; color: #ccc; font-size: 14px; line-height: 1.45; text-align: center; }
.dbct-lb-cap strong { color: #CE9D5C; font-weight: 600; }
.dbct-lb-count { display: block; font-size: 12px; color: #888; margin-top: 3px; }
.dbct-lb button { position: absolute; background: none; border: 1px solid #444; color: #CE9D5C; width: 44px; height: 44px; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; border-radius: 0; }
.dbct-lb button:hover, .dbct-lb button:focus-visible { border-color: #CE9D5C; background: #111; }
.dbct-lb-close { top: 10px; right: 10px; }
.dbct-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.dbct-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .dbct-lb { padding: 56px 8px 12px; } .dbct-lb-prev, .dbct-lb-next { top: auto; bottom: 10px; transform: none; } .dbct-lb-img { max-height: calc(100vh - 200px); } }
