/* Claremorris Drama Festival – neutral styles that inherit the theme's fonts and colours. */
.cdf-schedule { list-style: none; margin: 0 0 1.5em; padding: 0; }
.cdf-night { display: grid; grid-template-columns: minmax(9em, 14em) 1fr; gap: .25em 1.25em; padding: .9em 0; border-bottom: 1px solid rgba(127,127,127,.25); }
.cdf-when .cdf-date { font-weight: 600; display: block; }
.cdf-when .cdf-time { opacity: .75; }
.cdf-group { font-weight: 600; }
.cdf-section { display: inline-block; font-size: .75em; text-transform: uppercase; letter-spacing: .04em; padding: .1em .55em; border-radius: 1em; border: 1px solid currentColor; opacity: .8; margin-left: .35em; vertical-align: middle; }
.cdf-play { font-style: italic; }
.cdf-playwright { opacity: .8; }
.cdf-note { font-size: .9em; opacity: .8; margin-top: .25em; }
.cdf-opening .cdf-opening-label { font-weight: 600; }
.cdf-ical { font-size: .9em; }
.cdf-results .cdf-award { margin: 0 0 1.5em; }
.cdf-results h3 { margin-bottom: .25em; }
.cdf-results h4 { margin: .6em 0 .1em; font-size: 1em; }
.cdf-trophy { font-style: italic; opacity: .75; margin: 0 0 .25em; }
.cdf-winners, .cdf-placings { margin-top: .25em; }
.cdf-placings { list-style: none; padding: 0; }
/* Winners: no bullets or numbers (several winners are separate awards, not a ranking); lined up with the trophy name. */
.cdf-winners { list-style: none; padding-left: 0; }
.cdf-winners li + li { margin-top: .35em; }
.cdf-place { display: inline-block; min-width: 2.6em; font-weight: 700; }
.cdf-award-section { display: flow-root; }
.cdf-award-photo { margin: 0 0 1em; }
.cdf-award-photo a { display: block; cursor: zoom-in; }
.cdf-award-photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.cdf-award-photo figcaption { font-size: .8em; opacity: .75; margin-top: .35em; line-height: 1.35; }
.cdf-award-photo-year { margin-bottom: 1.75em; }
/* Award thumbnails: small photo on the left, award text beside it (caption shows in the lightbox). */
.cdf-award-detail { display: flex; gap: 1.25em; align-items: flex-start; margin-top: .35em; }
.cdf-award-text { flex: 1; min-width: 0; }
.cdf-award-text > :first-child { margin-top: 0; }
.cdf-award-photo-single { flex: 0 0 130px; margin: .2em 0 .5em; }
.cdf-award-photo-single img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .15s ease; }
.cdf-award-photo-single a:hover img, .cdf-award-photo-single a:focus-visible img { transform: scale(1.03); }
.cdf-award-photo-single figcaption { display: none; }
/* Lightbox */
.cdf-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.cdf-lightbox::backdrop { background: rgba(0,0,0,.92); }
.cdf-lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 4rem; box-sizing: border-box; }
.cdf-lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border: 4px solid #fff; border-radius: 3px; box-shadow: 0 8px 30px rgba(0,0,0,.6); }
.cdf-lightbox-caption { color: #fff; margin-top: .8em; text-align: center; max-width: 60em; line-height: 1.4; }
.cdf-lightbox-count { color: rgba(255,255,255,.7); font-size: .85em; margin-top: .3em; }
.cdf-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 2.75rem; height: 2.75rem; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cdf-lightbox button:hover, .cdf-lightbox button:focus-visible { background: rgba(255,255,255,.28); outline: none; }
.cdf-lightbox-close { top: 1rem; right: 1rem; }
.cdf-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.cdf-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.cdf-adjudicator::after { content: ""; display: table; clear: both; }
.cdf-adjudicator-photo { float: left; max-width: 180px; height: auto; margin: 0 1.25em 1em 0; border-radius: 4px; }
.cdf-year-picker { margin: 0 0 1.5em; }
.cdf-year-picker summary { display: inline-block; cursor: pointer; font-weight: 600; padding: .3em .9em; border: 1px solid rgba(127,127,127,.45); border-radius: 4px; list-style: none; }
.cdf-year-picker summary::-webkit-details-marker { display: none; }
.cdf-year-picker summary::after { content: " \25B8"; }
.cdf-year-picker[open] summary::after { content: " \25BE"; }
.cdf-year-picker nav { margin-top: .75em; }
.cdf-decade { display: flex; gap: .75em; align-items: baseline; margin-bottom: .4em; }
.cdf-decade-label { flex: 0 0 3.5em; font-size: .85em; opacity: .7; }
.cdf-year-picker ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35em; padding: 0; margin: 0; }
.cdf-old-year { margin: 0 0 1em; padding: .6em .9em; border-left: 4px solid currentColor; background: rgba(127,127,127,.1); }
.cdf-year-picker li a, .cdf-year-picker li span { display: inline-block; padding: .2em .6em; border: 1px solid rgba(127,127,127,.35); border-radius: 4px; text-decoration: none; }
.cdf-year-picker li.current span { font-weight: 700; border-color: currentColor; }
.cdf-year-nav { display: flex; justify-content: space-between; margin-top: 2em; }
.cdf-history { width: 100%; border-collapse: collapse; }
.cdf-history th, .cdf-history td { text-align: left; padding: .5em .6em .5em 0; border-bottom: 1px solid rgba(127,127,127,.25); vertical-align: top; }
.cdf-countdown { font-weight: 700; }
.cdf-empty, .cdf-cancelled { font-style: italic; opacity: .8; }
@media (max-width: 600px) {
	.cdf-award-photo-single { flex-basis: 96px; }
	.cdf-award-detail { gap: .9em; }
	.cdf-lightbox-inner { padding: 3.5rem .75rem 4.5rem; }
	.cdf-lightbox-prev, .cdf-lightbox-next { top: auto; bottom: 1rem; transform: none; }
	.cdf-lightbox-prev { left: calc(50% - 3.25rem); }
	.cdf-lightbox-next { right: calc(50% - 3.25rem); }
	.cdf-night { grid-template-columns: 1fr; }
	.cdf-history thead { display: none; }
	.cdf-history tr { display: block; padding: .5em 0; border-bottom: 1px solid rgba(127,127,127,.25); }
	.cdf-history td { display: inline; border: 0; padding: 0 .5em 0 0; }
	.cdf-history td:last-child { display: block; }
}
.cdf-adjudicator-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.cdf-adjudicator-list li { border-bottom: 1px solid rgba(127,127,127,.2); }
.cdf-adjudicator-list li a, .cdf-adjudicator-list li span[aria-current] { display: block; padding: .45em .25em; }
.cdf-adjudicator-list li.current span[aria-current] { font-weight: 700; background: rgba(127,127,127,.1); }
.cdf-adj-year { display: inline-block; min-width: 3.5em; font-variant-numeric: tabular-nums; }
