/* Upcoming Concerts: the approved row listing (1.8.0; no hero since 1.9.0).
 * Matches the approved "Upcoming Concerts" design: finder row with Date /
 * Location / Age filters, then rows of photo | title, intro, details, tags |
 * price, Book Now, View details. Loaded after tto-upcoming.css (approved hero). */

.tto-uc{--uc-burgundy:#7d092f;--uc-gold:#a9874f;--uc-ink:#4c4d52;--uc-muted:#6d6a66;--uc-line:#e5dfd5;--uc-paper:#fffdf8;color:var(--uc-ink);font:15px/1.6 Arial,Helvetica,sans-serif}
.tto-uc *{box-sizing:border-box}
.tto-uc .screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The page's own static placeholder finder / notice give way to the live one. */
.tto-upcoming-live .tto-upcoming__hero,.tto-upcoming-live .tto-upcoming__finder,.tto-upcoming-live .tto-upcoming__notice{display:none}
/* The approved hero is full-bleed: the page needs a full-width, sidebar-free layout
 * whatever the theme's page settings (same neutralisers as the concert page). */
.tto-upcoming-live .widget-area,.tto-upcoming-live #secondary,.tto-upcoming-live .entry-header{display:none}
.tto-upcoming-live .site-content{display:block}
.tto-upcoming-live .content-area,.tto-upcoming-live #primary{float:none;width:100%;max-width:none;margin:0}
.tto-upcoming-live .inside-article{padding:0;background:transparent}
.tto-upcoming-live .site-main{margin:0}
.tto-upcoming-live .entry-content{margin-top:0}
/* Stray paragraphs wpautop adds around the shortcode on classic-content pages (no visible text). */
.tto-upcoming-live .entry-content>p,.tto-upcoming-live .tto-upcoming>p,.tto-upcoming-live .tto-upcoming__listing>p{margin:0}
/* Themes underline content links with borders / box-shadows; the rows use their own. */
.tto-uc a:not(.tto-uc__cta){box-shadow:none;border-bottom:0}

/* Header: page title + one introductory sentence (no hero) ------------------ */
body .tto-uc__header{padding:32px 0 6px}
.tto-uc .tto-uc__heading{margin:0;color:var(--uc-burgundy);font:400 46px/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.6px}
body .tto-uc .tto-uc__lead{max-width:640px;margin:12px 0 0;color:var(--uc-muted);font:16px/1.6 Georgia,'Times New Roman',serif}

/* Finder ------------------------------------------------------------------ */
.tto-uc__finder{display:flex;align-items:center;gap:16px;margin:0;padding:24px 0 22px;border-bottom:1px solid var(--uc-line)}
.tto-uc__finder[hidden]{display:none}
.tto-uc__filter{position:relative;display:block;flex:0 1 230px;min-width:0;margin:0}
.tto-uc__filter select{width:100%;height:42px;margin:0;padding:0 34px 0 40px;border:1px solid var(--uc-line);border-radius:2px;background:var(--uc-paper);color:var(--uc-ink);font:13.5px Arial,Helvetica,sans-serif;appearance:none;-webkit-appearance:none;cursor:pointer}
.tto-uc__filter:before,.tto-uc__filter:after{content:'';position:absolute;top:50%;pointer-events:none;background:var(--uc-burgundy)}
.tto-uc__filter:before{left:14px;width:16px;height:16px;margin-top:-8px;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.tto-uc__filter:after{right:14px;width:10px;height:10px;margin-top:-5px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat}
.tto-uc__filter select:focus-visible{outline:2px solid var(--uc-gold);outline-offset:2px}
.tto-uc__reset,.tto-uc__reset-inline{padding:0;border:0;background:none;color:var(--uc-burgundy);font:12.5px Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tto-uc__reset{margin-left:auto;white-space:nowrap}
.tto-uc__reset:focus-visible,.tto-uc__reset-inline:focus-visible{outline:2px solid var(--uc-gold);outline-offset:3px}

/* Line icons (masks, coloured by background) */
.tto-uc{--i-cal:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M7.5 13.5h2M11 13.5h2M14.5 13.5h2M7.5 17h2M11 17h2'/%3E%3C/svg%3E");--i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");--i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E");--i-child:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Ccircle cx='9.5' cy='7.5' r='3'/%3E%3Cpath d='M3.5 19.5c0-3.6 2.7-6 6-6s6 2.4 6 6M16 11.5a2.3 2.3 0 1 0 0-4.6M17.5 14c1.9.6 3 2.3 3 4.5'/%3E%3C/svg%3E")}
.tto-uc__filter--date{--icon:var(--i-cal)}.tto-uc__filter--location{--icon:var(--i-pin)}.tto-uc__filter--age{--icon:var(--i-child)}

/* Rows -------------------------------------------------------------------- */
.tto-uc__list{display:block}
body .tto-uc__row{display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr) 212px;align-items:center;column-gap:24px;padding:14px 0;border-bottom:1px solid var(--uc-line)}
.tto-uc__row[hidden]{display:none}
.tto-uc__media{display:block;align-self:stretch;overflow:hidden;border-radius:2px;background:#211b26}
body .tto-uc__img{display:block;width:100%;height:100%;min-height:170px;aspect-ratio:1.93/1;object-fit:cover}
.tto-uc__img--none{background:linear-gradient(135deg,#3a1022,#7d092f 60%,#a9874f)}
.tto-uc__body{min-width:0;padding:6px 0}
.tto-uc .tto-uc__eyebrow{margin:0 0 4px;color:var(--uc-gold);font:700 10px/1.5 Arial,Helvetica,sans-serif;letter-spacing:1.9px;text-transform:uppercase}
.tto-uc .tto-uc__title{margin:0 0 4px;font:400 32px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.4px}
.tto-uc .tto-uc__title a{color:var(--uc-burgundy);text-decoration:none}
.tto-uc .tto-uc__title a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.tto-uc .tto-uc__subtitle{margin:2px 0 12px;color:var(--uc-ink);font:italic 17px/1.45 Georgia,'Times New Roman',serif}
.tto-uc .tto-uc__meta{margin:0 0 10px;padding:0;list-style:none;font-size:14px;line-height:1.45}
.tto-uc .tto-uc__meta li{position:relative;margin:0 0 3px;padding-left:26px}
.tto-uc .tto-uc__meta li:before{content:'';position:absolute;left:0;top:2px;width:16px;height:16px;background:var(--uc-burgundy);-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.tto-uc__date{--icon:var(--i-cal)}.tto-uc__time{--icon:var(--i-clock)}.tto-uc__venue{--icon:var(--i-pin)}.tto-uc__ages{--icon:var(--i-child)}
.tto-uc .tto-uc__tags{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.tto-uc__tag{display:inline-block;padding:4px 13px;border-radius:99px;background:#e8ecf1;color:#44566c;font-size:12px;line-height:1.5}
.tto-uc__tag--more{background:#f4e4df;color:var(--uc-burgundy)}
.tto-uc__tag[hidden]{display:none}
body .tto-uc__actions{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:16px 0 16px 24px;border-left:1px solid var(--uc-line)}
.tto-uc .tto-uc__from{margin:0;color:var(--uc-gold);font:700 10px/1.5 Arial,Helvetica,sans-serif;letter-spacing:1.6px;text-transform:uppercase}
.tto-uc .tto-uc__regular{color:#5b6475;font-size:.72em;text-decoration:line-through}
.tto-uc .tto-uc__price{margin:2px 0 14px;color:var(--uc-burgundy);font:400 25px/1.2 Georgia,'Times New Roman',serif}
.tto-uc .tto-uc__soldout{margin:0 0 12px;color:var(--uc-burgundy);font:400 22px/1.2 Georgia,'Times New Roman',serif}
.tto-uc__cta{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 18px;border:1px solid var(--uc-burgundy);border-radius:2px;background:var(--uc-burgundy);color:#fff!important;font:600 14.5px/1.2 Arial,Helvetica,sans-serif;text-decoration:none!important;white-space:nowrap}
.tto-uc__cta:hover{background:#5f0824}
/* 1.10.10: the waiting-list CTA is the outline twin of Book Now: same size, radius and weight; fills burgundy on hover. */
.tto-uc__cta--waitlist{background:#fffdf8;color:var(--uc-burgundy)!important}
.tto-uc__cta--waitlist:hover{background:var(--uc-burgundy);color:#fff!important}
.tto-uc__details{margin-top:14px;color:var(--uc-burgundy);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.tto-uc__cta:focus-visible,.tto-uc__details:focus-visible,.tto-uc .tto-uc__title a:focus-visible{outline:2px solid var(--uc-gold);outline-offset:3px}
.tto-uc__empty{margin:28px 0;font-size:15px}

/* Tablet ------------------------------------------------------------------ */
@media (max-width:900px){
body .tto-uc__header{padding-top:34px}
	.tto-uc .tto-uc__heading{font-size:40px}
	.tto-uc__finder{flex-wrap:wrap}
	.tto-uc__filter{flex:1 1 180px}
	.tto-uc__reset{margin-left:0}
body .tto-uc__row{grid-template-columns:240px minmax(0,1fr);row-gap:0;padding:18px 0}
body .tto-uc__actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:16px;padding:14px 0 0;border-left:0;border-top:1px solid var(--uc-line)}
	.tto-uc .tto-uc__from{width:100%}
	.tto-uc .tto-uc__price{margin:0 auto 0 0}
	.tto-uc__details{margin-top:0}
	.tto-uc .tto-uc__title{font-size:28px}
}
/* Phone ------------------------------------------------------------------- */
@media (max-width:600px){
body .tto-uc__header{padding:26px 0 2px}
	.tto-uc .tto-uc__heading{font-size:34px}
body .tto-uc .tto-uc__lead{margin-top:8px;font-size:16px}
	.tto-uc .tto-uc__subtitle{font-size:16px}
	/* Compact: Date | Location, then Age group, then Reset. 16px text stops iOS zooming. */
	.tto-uc__finder{display:grid;grid-template-columns:1fr 1fr;padding:18px 0 16px;gap:10px}
	.tto-uc__filter--age,.tto-uc__reset{grid-column:1/-1}
	.tto-uc__reset{justify-self:start}
	.tto-uc__filter select{height:46px;padding-left:36px;padding-right:28px;font-size:16px}
	.tto-uc__filter:before{left:12px}
	.tto-uc__filter:after{right:11px}
body .tto-uc__row{display:block;padding:20px 0 22px}
body .tto-uc__img{min-height:0}
	.tto-uc__body{padding:16px 0 0}
	.tto-uc .tto-uc__title{font-size:27px}
body .tto-uc__actions{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px 16px}
	.tto-uc .tto-uc__from{grid-column:1/-1;margin-bottom:-6px}
	.tto-uc .tto-uc__price{grid-column:1}
	.tto-uc__details{grid-column:2;grid-row:2;justify-self:end;align-self:center}
	.tto-uc__cta,.tto-uc .tto-uc__soldout{grid-column:1/-1}
}

/* 1.10.4: badges (Sold Out / marketing / Promotion, from Events) between the eyebrow and the title. */
.tto-uc .tto-uc__badges .to-badges{margin:2px 0 8px}
