/*
Theme Name: OnCue Radio
Theme URI: https://armediagroup.ca
Author: AR Media INC.
Author URI: https://armediagroup.ca
Description: A radio station theme with a photo header, leaderboard ad space, live on-air host box, Listen Live buttons and a bold menu bar. Built for Elementor (including Theme Builder) and the OnCue Radio Tools plugin. All header parts can be switched on or off in Appearance → Customize → OnCue Theme Options.
Version: 1.6.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oncue-radio
Copyright: © 2026 AR Media INC.
Tags: custom-logo, custom-menu, featured-images, right-sidebar, left-sidebar, one-column, two-columns, theme-options, threaded-comments, translation-ready, entertainment
*/

/* ==========================================================================
   Tokens (overridden by Customizer via inline CSS)
   ========================================================================== */

:root {
	--oc-primary: #b5316a;
	--oc-primary-dark: color-mix(in srgb, var(--oc-primary) 80%, #000);
	--oc-secondary: #5a1c84;
	--oc-text: #333333;
	--oc-muted: #6d6d6d;
	--oc-line: #e6e3ea;
	--oc-bg: #ffffff;
	--oc-footer-bg: #2b0f3f;
	--oc-container: 1160px;
	--oc-gutter: 20px;
	--oc-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--oc-logo-width: 260px;
	--oc-header-space: 26px;
	--oc-overlay: #2a0b3a;
	--oc-overlay-opacity: .15;
	--oc-nav-height: 60px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--oc-bg);
	color: var(--oc-text);
	font-family: var(--oc-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--oc-primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--oc-secondary); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.25; font-weight: 700; color: inherit; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--oc-secondary); outline-offset: 2px; }

.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;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 100000;
	width: auto; height: auto;
	clip: auto;
	padding: 10px 16px;
	background: #fff;
	color: var(--oc-text);
}

.oc-container {
	width: 100%;
	max-width: calc(var(--oc-container) + var(--oc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--oc-gutter);
}

[hidden] { display: none !important; }

/* ==========================================================================
   Header
   ========================================================================== */

.oc-header {
	position: relative;
	isolation: isolate;
	color: #fff;
	/* Sunset gradient shown until a header image is chosen. */
	background-color: #5b3f8e;
	background-image: linear-gradient(180deg, #6d5aa8 0%, #b56aae 38%, #e79bbb 62%, #c77aa8 78%, #6e4c86 100%);
	background-size: cover;
	background-position: center;
}
.oc-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--oc-overlay);
	opacity: var(--oc-overlay-opacity);
	pointer-events: none;
}

.oc-header-inner { padding-block: var(--oc-header-space); }

/* Leaderboard ad */
.oc-leaderboard {
	display: flex;
	justify-content: center;
	margin: 0 auto 36px;
}
.oc-leaderboard img { display: block; width: 728px; max-width: 100%; height: auto; }
.oc-ad-placeholder {
	display: grid;
	place-content: center;
	width: 728px;
	max-width: 100%;
	height: 90px;
	background: #444;
	color: #fff;
	text-align: center;
	text-decoration: none;
	line-height: 1.35;
}
.oc-ad-placeholder:hover { color: #fff; background: #3a3a3a; }
.oc-ad-placeholder strong { font-size: 20px; font-weight: 600; }
.oc-ad-placeholder span { font-size: 15px; }
.oc-ad-placeholder small { font-size: 11px; opacity: .6; }

/* Logo · on-air · buttons */
.oc-header-row {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px 56px;
	padding-inline: 20px 0;
}
.oc-header-row.no-onair { grid-template-columns: minmax(0, 1fr) auto; }

.oc-brand .custom-logo-link { display: block; }
.oc-brand .custom-logo {
	display: block;
	width: var(--oc-logo-width);
	max-width: 100%;
	height: auto;
}
.oc-site-title {
	display: block;
	max-width: 420px;
	color: #fff;
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	text-decoration: none;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.oc-site-title:hover { color: #fff; }

/* On-air host box: photo to the left of the text, song underneath */
.oc-onair {
	display: block;
	max-width: 440px;
	min-width: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.oc-onair-row { display: flex; align-items: stretch; gap: 18px; min-width: 0; }
.oc-onair-tag, .oc-onair-badge { display: none; }
.oc-onair-photo {
	display: block;
	width: 106px;
	height: 106px;
	object-fit: cover;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
/* Follows OnCue Radio → Settings → Photos */
.scw-photo-clear .oc-onair-photo { box-shadow: none; background: transparent; }
.scw-photo-contain .oc-onair-photo { object-fit: contain; }
.oc-onair-info { display: grid; justify-items: start; align-content: center; flex: 1; min-width: 0; }
/* Photo exactly as tall as the text beside it (Customizer: Host photo size) */
.oc-onair-photo-text .oc-onair-photo { flex: none; align-self: center; width: var(--oc-onair-h, 96px); height: var(--oc-onair-h, 96px); }
/* Sizes before the script measures the text */
.oc-onair-style-card { --oc-onair-h: 84px; }
.oc-onair-style-pill { --oc-onair-h: 44px; }
.oc-onair-style-badge { --oc-onair-h: 110px; }
.oc-onair-photo-fixed .oc-onair-photo { flex: none; align-self: flex-start; }
.oc-onair-name {
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}
.oc-onair-time { font-size: 16px; line-height: 1.5; }
.oc-onair-link { color: inherit; text-decoration: none; }
.oc-onair-link[href]:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.oc-onair-email {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 5px 10px;
	background: #222;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
	text-shadow: none;
}
.oc-onair-email:hover { background: #000; color: #fff; }
.oc-onair-email svg { width: 22px; height: 16px; fill: currentColor; }

/* Now playing (song): styles and locations, set in the Customizer */
.oc-np {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
	color: var(--oc-np-color, #fff);
	font-size: 14px;
	line-height: 1.35;
}
.oc-np > svg { flex: none; width: 18px; height: 18px; fill: currentColor; opacity: .9; }
.oc-np .oc-np-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oc-np b[data-np="artist"] { font-weight: 700; }
.oc-np-label { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .02em; opacity: .85; }
.oc-np.is-new { animation: oc-np-in .5s ease; }
@keyframes oc-np-in { from { opacity: .2; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.oc-np-art {
	flex: none;
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
}
.oc-np-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-np-art.is-empty img { display: none; }

/* Simple line */
.oc-np-style-text { font-size: 13px; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }

/* Pill */
.oc-np-style-pill {
	display: inline-flex;
	width: auto;
	padding: 5px 14px 5px 5px;
	border-radius: 999px;
	background: var(--oc-np-bg, rgba(0, 0, 0, .35));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.oc-np-style-pill:not(.has-art) { padding-left: 14px; }
.oc-np-style-pill .oc-np-label { padding-right: 9px; border-right: 1px solid rgba(255, 255, 255, .35); }

/* Card */
.oc-np-style-card {
	display: inline-flex;
	gap: 12px;
	width: auto;
	max-width: 380px;
	padding: 8px 16px 8px 8px;
	border-radius: 10px;
	background: var(--oc-np-bg, rgba(0, 0, 0, .35));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.oc-np-style-card:not(.has-art) { padding-left: 16px; }
.oc-np-style-card .oc-np-art { width: 56px; height: 56px; border-radius: 6px; }
.oc-np-body { display: grid; min-width: 0; }
.oc-np-song, .oc-np-body .oc-np-artist { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oc-np-song { font-size: 16px; font-weight: 700; line-height: 1.25; }
.oc-np-body .oc-np-artist { font-size: 13px; opacity: .85; }
.oc-np-body .oc-np-label { margin-bottom: 1px; }
/* Follows OnCue Radio → Settings → How songs are shown */
.scw-fmt-stacked .oc-np-body .oc-np-artist { order: 1; font-weight: 700; opacity: 1; }
.scw-fmt-stacked .oc-np-body .oc-np-song { order: 2; }
.scw-fmt-stacked .oc-np-body .oc-np-label { order: 0; }
.scw-caps .oc-np :is([data-np="title"], [data-np="artist"], [data-np="big"], [data-np="small"]) { text-transform: uppercase; letter-spacing: .01em; }

/* Ticker */
.oc-np-style-ticker { width: 100%; gap: 12px; }
.oc-np-style-ticker .oc-np-label { padding: 3px 8px; border-radius: 3px; background: var(--oc-primary); color: #fff; opacity: 1; }
.oc-np-track {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.oc-np-run { display: inline-flex; gap: 60px; white-space: nowrap; animation: oc-np-scroll var(--oc-np-dur, 14s) linear infinite; }
.oc-np-run .oc-np-text { overflow: visible; }
.oc-np-style-ticker.is-static .oc-np-run { animation: none; }
.oc-np-style-ticker.is-static .oc-np-track { -webkit-mask-image: none; mask-image: none; }
.oc-np-style-ticker.is-static .oc-np-text[aria-hidden="true"] { display: none; }
.oc-np-style-ticker:hover .oc-np-run { animation-play-state: paused; }
@keyframes oc-np-scroll { to { transform: translateX(calc(-50% - 30px)); } }

/* Locations */
.oc-np-at-onair { margin-top: 12px; }
.oc-np-at-onair.oc-np-style-ticker { max-width: 440px; }
.oc-np-at-logo { margin-top: 10px; }
/* Fill the buttons' width without making the column wider. */
.oc-listen .oc-np-at-buttons { justify-self: stretch; justify-content: center; width: 0; min-width: 100%; margin-top: 2px; }
.oc-listen .oc-np-at-buttons.oc-np-style-card { justify-content: flex-start; max-width: none; }

/* Under the buttons the column is narrow: wrap to two lines instead of cutting off. */
.oc-listen .oc-np-at-buttons .oc-np-text,
.oc-listen .oc-np-at-buttons .oc-np-song,
.oc-listen .oc-np-at-buttons .oc-np-body .oc-np-artist {
	display: -webkit-box;
	white-space: normal;
	text-overflow: clip;
	overflow: hidden;
	-webkit-line-clamp: var(--oc-np-lines, 2);
	-webkit-box-orient: vertical;
	overflow-wrap: anywhere;
}
/* "No limit": the whole title */
.oc-listen .oc-np-at-buttons.oc-np-nolimit :is(.oc-np-text, .oc-np-song, .oc-np-artist) { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* Wider than the buttons on large screens: grows to the left, the buttons stay put */
@media (min-width: 1101px) {
	/* Doesn't widen the column (contain), then reaches left with a negative margin. */
	.oc-listen .oc-np-at-buttons.oc-np-wide { justify-self: stretch; width: auto; min-width: 0; max-width: none; contain: inline-size; margin-left: min(0px, calc(100% - var(--oc-np-w, 320px))); }
	.oc-listen .oc-np-at-buttons.oc-np-wide:is(.oc-np-style-text, .oc-np-style-eq) { justify-content: flex-end; text-align: right; }
}
.oc-listen .oc-np-at-buttons.oc-np-style-text { align-items: flex-start; text-align: center; }
.oc-listen .oc-np-at-buttons.oc-np-style-text > svg { margin-top: 1px; }
.oc-listen .oc-np-at-buttons.oc-np-style-pill {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "art label" "art text";
	align-items: center;
	column-gap: 10px;
	row-gap: 1px;
	padding: 8px 12px 8px 8px;
	border-radius: 14px;
}
.oc-listen .oc-np-at-buttons.oc-np-style-pill:not(.has-art) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "text"; padding-left: 12px; text-align: center; }
.oc-listen .oc-np-at-buttons.oc-np-style-pill .oc-np-art { grid-area: art; width: 40px; height: 40px; }
.oc-listen .oc-np-at-buttons.oc-np-style-pill .oc-np-label { grid-area: label; padding: 0; border: 0; }
.oc-listen .oc-np-at-buttons.oc-np-style-pill .oc-np-text { grid-area: text; }
.oc-np-at-menu { align-self: center; max-width: 280px; margin-left: auto; padding: 0 12px; }
.oc-np-at-menu.oc-np-style-text { text-shadow: none; }
.oc-np-at-menu.oc-np-style-ticker { width: 280px; }
.oc-np-at-menu.oc-np-style-card { padding-top: 5px; padding-bottom: 5px; }
.oc-np-at-menu.oc-np-style-card .oc-np-art { width: 42px; height: 42px; }
.oc-np-at-menu ~ .oc-search-toggle { margin-left: 0; }

.oc-np-strip { padding: 7px 0; background: var(--oc-np-bg, var(--oc-secondary)); color: var(--oc-np-color, #fff); }
.oc-np-strip .oc-np { text-shadow: none; }
.oc-np-strip .oc-np-style-pill,
.oc-np-strip .oc-np-style-card { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: none; backdrop-filter: none; }
.oc-np-strip .oc-np-style-card { padding-top: 4px; padding-bottom: 4px; }
.oc-np-strip .oc-np-style-card .oc-np-art { width: 40px; height: 40px; }

/* Listen buttons */
.oc-listen { display: grid; gap: 10px; min-width: 215px; }
.oc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 8px 22px;
	background: var(--oc-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1.1;
	transition: background-color .15s ease;
}
.oc-btn:hover, .oc-btn:focus-visible { background: var(--oc-primary-dark); color: #fff; }
.oc-btn svg { flex: none; width: 1.35em; height: 1.35em; fill: currentColor; }
.oc-btn-listen { min-height: 60px; font-size: 22px; }
.oc-btn-2 { min-height: 52px; font-size: 18px; }
.oc-btn-inline { display: inline-flex; min-height: 44px; font-size: 15px; }

/* ==========================================================================
   Menu bar
   ========================================================================== */

.oc-nav {
	position: relative;
	z-index: 100;
	background: var(--oc-primary);
	color: #fff;
}
.oc-nav.is-sticky { position: sticky; top: 0; }
.admin-bar .oc-nav.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .oc-nav.is-sticky { top: 0; } }

.oc-nav-inner { display: flex; align-items: stretch; min-height: var(--oc-nav-height); }

.oc-menu,
.oc-menu ul { list-style: none; margin: 0; padding: 0; }
.oc-menu { display: flex; flex-wrap: wrap; flex: 1; }
.oc-menu li { position: relative; }
.oc-menu a {
	display: flex;
	align-items: center;
	padding: 0 20px;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.oc-menu > li > a { height: var(--oc-nav-height); }
.oc-nav-caps .oc-menu > li > a { text-transform: uppercase; font-size: 18px; letter-spacing: .02em; }

.oc-menu > li:hover > a,
.oc-menu > li:focus-within > a,
.oc-menu > .current-menu-item > a,
.oc-menu > .current-menu-ancestor > a,
.oc-menu > .current_page_item > a,
.oc-menu > .current_page_ancestor > a { background: var(--oc-primary-dark); color: #fff; }

/* Dropdowns */
.oc-menu .sub-menu,
.oc-menu .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	display: none;
	min-width: 230px;
	padding: 6px 0;
	background: var(--oc-primary-dark);
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
}
.oc-menu .sub-menu .sub-menu,
.oc-menu .children .children { top: -6px; left: 100%; }
.oc-menu li:hover > .sub-menu,
.oc-menu li:focus-within > .sub-menu,
.oc-menu li:hover > .children,
.oc-menu li:focus-within > .children { display: block; }
.oc-menu .sub-menu a,
.oc-menu .children a { padding: 10px 20px; font-size: 16px; font-weight: 600; white-space: normal; }
.oc-menu .sub-menu a:hover,
.oc-menu .children a:hover,
.oc-menu .sub-menu .current-menu-item > a { background: rgba(0, 0, 0, .2); }

.oc-sub-toggle { display: none; }

.oc-search-toggle,
.oc-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.oc-search-toggle { margin-left: auto; }
.oc-search-toggle svg { width: 30px; height: 30px; }
.oc-search-toggle:hover,
.oc-search-toggle[aria-expanded="true"] { background: var(--oc-primary-dark); }
.oc-menu-toggle { display: none; }
.oc-menu-toggle svg { width: 26px; height: 26px; }
.oc-menu-toggle .oc-i-close { display: none; }

.oc-search-panel { padding: 14px 0; background: var(--oc-primary-dark); }

/* Search form (menu bar, sidebar, 404) */
.oc-search-form { display: flex; gap: 0; max-width: 640px; }
.oc-search-panel .oc-search-form { margin-left: auto; }
.oc-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--oc-line);
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: var(--oc-text);
	font: inherit;
}
.oc-search-form button {
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--oc-secondary);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.oc-search-form button:hover { background: #000; }

/* ==========================================================================
   Content & sidebar
   ========================================================================== */

.oc-main { padding: 20px 0 48px; }
.oc-main-full { display: block; }

.oc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.oc-layout.has-sidebar.sidebar-right { grid-template-columns: minmax(0, 1fr) 300px; }
.oc-layout.has-sidebar.sidebar-left { grid-template-columns: 300px minmax(0, 1fr); }
.oc-layout.sidebar-left .oc-sidebar { order: -1; }
.oc-primary { min-width: 0; }

/* Coloured title bars. Use the class "oc-bar-title" on any heading, or on
   an Elementor Heading widget (Advanced → CSS Classes). */
.oc-bar-title,
.oc-bar-title .elementor-heading-title,
.widget-title {
	margin: 0 0 16px;
	padding: 4px 10px;
	background: var(--oc-primary);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
}
.oc-bar-title .elementor-heading-title { margin: 0; }
.oc-bar-title.elementor-widget { padding: 0; background: none; }
.oc-bar-title.is-secondary,
.oc-bar-title.is-secondary .elementor-heading-title,
.widget-title { background: var(--oc-secondary); }
.widget-title { font-size: 23px; margin-bottom: 14px; }

.oc-sidebar .widget { margin-bottom: 20px; }
.oc-sidebar .widget:last-child { margin-bottom: 0; }
.oc-sidebar .widget ul { margin: 0; padding: 0; list-style: none; }
.oc-sidebar .widget li:not(.scw-hi) { padding: 8px 0; border-bottom: 1px solid var(--oc-line); }
.oc-sidebar .widget li a { color: var(--oc-text); text-decoration: none; }
.oc-sidebar .widget li a:hover { color: var(--oc-primary); }
.oc-sidebar img { display: block; }
.oc-sidebar-empty { padding: 18px; border: 2px dashed var(--oc-line); font-size: 15px; }
.oc-sidebar-empty p { margin: 0 0 10px; }
.oc-sidebar-empty p:last-child { margin: 0; }
/* Elementor content in a sidebar layout: keep sections inside the column */
.oc-layout.has-sidebar .oc-entry-content > .elementor .e-con-full,
.oc-layout.has-sidebar .oc-entry-content > .elementor .elementor-section-stretched { max-width: 100%; }

/* Posts */
.oc-entry-title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.01em; }
.oc-meta { margin: -4px 0 18px; color: var(--oc-muted); font-size: 14px; }
.oc-meta-cats::before { content: "·"; margin: 0 8px; }
.oc-entry-thumb { margin: 0 0 24px; }
.oc-entry-thumb img { display: block; width: 100%; }
.oc-entry-content > * { max-width: 100%; }
.oc-entry-content .alignwide { margin-inline: -40px; max-width: calc(100% + 80px); }
.oc-entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: 4px 20px 12px 0; }
.alignright { float: right; margin: 4px 0 12px 20px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { color: var(--oc-muted); font-size: 14px; }

/* ---------------- Single post / page article ---------------- */

.oc-entry-header { margin-bottom: 22px; }
.oc-entry-bar { margin-bottom: 14px; }
.oc-entry-post .oc-entry-title {
	max-width: 22ch;
	margin: 0 0 16px;
	font-size: clamp(30px, 4.6vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
}
.oc-entry-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.oc-entry-cats a {
	padding: 3px 10px;
	background: var(--oc-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.oc-entry-cats a:hover { background: var(--oc-secondary); color: #fff; }

.oc-byline { display: flex; align-items: center; gap: 10px; color: var(--oc-muted); font-size: 15px; }
.oc-byline-avatar { width: 36px; height: 36px; border-radius: 50%; }
.oc-byline-text { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.oc-byline-author a { color: var(--oc-text); font-weight: 700; text-decoration: none; }
.oc-byline-author a:hover { color: var(--oc-primary); }

.oc-entry-thumb { margin: 0 0 28px; }
.oc-entry-thumb img { display: block; width: 100%; height: auto; }
.oc-entry-thumb figcaption { margin-top: 8px; }

/* Rich text: only for content written in the WordPress editor */
.oc-entry.is-classic .oc-entry-content { font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.oc-entry.is-classic .oc-entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.oc-entry.is-classic .oc-entry-content > :last-child { margin-bottom: 0; }
.oc-entry.is-classic .oc-entry-content h2 { margin: 1.7em 0 .5em; font-size: 28px; line-height: 1.25; }
.oc-entry.is-classic .oc-entry-content h3 { margin: 1.5em 0 .45em; font-size: 22px; line-height: 1.3; }
.oc-entry.is-classic .oc-entry-content h4 { margin: 1.4em 0 .4em; font-size: 19px; }
.oc-entry.is-classic .oc-entry-content a:not(.wp-block-button__link) { color: var(--oc-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.oc-entry.is-classic .oc-entry-content a:not(.wp-block-button__link):hover { color: var(--oc-secondary); text-decoration-thickness: 2px; }
.oc-entry.is-classic .oc-entry-content ul,
.oc-entry.is-classic .oc-entry-content ol { padding-left: 1.4em; }
.oc-entry.is-classic .oc-entry-content li { margin-bottom: .35em; }
.oc-entry.is-classic .oc-entry-content li::marker { color: var(--oc-primary); }
.oc-entry.is-classic .oc-entry-content blockquote,
.oc-entry.is-classic .oc-entry-content .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--oc-primary);
	font-size: 21px;
	line-height: 1.55;
}
.oc-entry.is-classic .oc-entry-content blockquote p:last-of-type { margin-bottom: 0; }
.oc-entry.is-classic .oc-entry-content blockquote cite,
.oc-entry.is-classic .oc-entry-content .wp-block-quote cite { display: block; margin-top: 8px; color: var(--oc-muted); font-size: 15px; font-style: normal; }
.oc-entry.is-classic .oc-entry-content .wp-block-pullquote {
	padding: 26px 0;
	border-top: 4px solid var(--oc-primary);
	border-bottom: 4px solid var(--oc-primary);
	text-align: center;
}
.oc-entry.is-classic .oc-entry-content .wp-block-pullquote blockquote { padding: 0; border: 0; font-size: 26px; font-weight: 700; }
.oc-entry.is-classic .oc-entry-content img { height: auto; }
.oc-entry.is-classic .oc-entry-content figure { margin-left: 0; margin-right: 0; }
.oc-entry.is-classic .oc-entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.oc-entry.is-classic .oc-entry-content th,
.oc-entry.is-classic .oc-entry-content td { padding: 10px 12px; border: 1px solid var(--oc-line); text-align: left; }
.oc-entry.is-classic .oc-entry-content th { background: #f6f3f9; }
.oc-entry.is-classic .oc-entry-content code { padding: 2px 6px; border-radius: 4px; background: #f3eff7; font-size: .88em; }
.oc-entry.is-classic .oc-entry-content pre { padding: 16px 18px; overflow-x: auto; background: #1f1729; color: #f3eff7; font-size: 15px; line-height: 1.6; }
.oc-entry.is-classic .oc-entry-content pre code { padding: 0; background: none; color: inherit; }
.oc-entry.is-classic .oc-entry-content hr,
.oc-entry.is-classic .oc-entry-content .wp-block-separator { width: 90px; margin: 2em auto; border: 0; border-top: 3px solid var(--oc-primary); opacity: 1; }
.oc-entry.is-classic .oc-entry-content .wp-block-separator.is-style-wide { width: 100%; border-top-width: 1px; border-color: var(--oc-line); }
.oc-entry.is-classic .oc-entry-content .has-drop-cap:not(:focus)::first-letter { float: left; margin: .06em .12em 0 0; color: var(--oc-primary); font-size: 4.2em; font-weight: 800; line-height: .8; }
.oc-entry-content .wp-block-button__link {
	padding: 12px 24px;
	border-radius: 0;
	background: var(--oc-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.oc-entry-content .wp-block-button__link:hover { background: var(--oc-secondary); color: #fff; }
.oc-entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--oc-primary); border: 2px solid currentColor; }
.oc-entry-content iframe { max-width: 100%; }
.oc-page-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 24px; font-weight: 700; }
.oc-page-links a, .oc-page-links > .post-page-numbers { display: grid; place-items: center; min-width: 36px; height: 36px; background: #f1eef4; text-decoration: none; }

/* After the article */
.oc-entry-footer { display: grid; gap: 22px; margin-top: 32px; }
.oc-entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.oc-entry-tags a { padding: 4px 10px; background: #f1eef4; color: var(--oc-text); font-size: 14px; text-decoration: none; }
.oc-entry-tags a:hover { background: var(--oc-primary); color: #fff; }

.oc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; border-top: 1px solid var(--oc-line); border-bottom: 1px solid var(--oc-line); }
.oc-share-label { margin-right: 6px; font-weight: 700; }
.oc-share a,
.oc-share button {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1eef4;
	color: var(--oc-text);
	cursor: pointer;
	transition: background .15s, color .15s;
}
.oc-share svg { width: 19px; height: 19px; fill: currentColor; }
.oc-share a:hover, .oc-share button:hover, .oc-share button.is-done { background: var(--oc-primary); color: #fff; }
.oc-share button.is-done::after {
	content: attr(data-tip);
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	padding: 3px 8px;
	transform: translateX(-50%);
	background: #1d1d24;
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
}

.oc-author-box { display: flex; align-items: flex-start; gap: 18px; padding: 20px; background: #f7f4fa; }
.oc-author-box img { flex: none; width: 88px; height: 88px; border-radius: 50%; }
.oc-author-kicker { margin: 0; color: var(--oc-muted); font-size: 13px; font-weight: 700; }
.oc-author-name { margin: 0 0 6px; font-size: 20px; }
.oc-author-name a { color: var(--oc-text); text-decoration: none; }
.oc-author-name a:hover { color: var(--oc-primary); }
.oc-author-bio { margin: 0; color: var(--oc-muted); font-size: 15px; }

.oc-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.oc-post-nav a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid var(--oc-line); color: var(--oc-text); text-decoration: none; transition: border-color .15s; }
.oc-post-nav a:hover { border-color: var(--oc-primary); color: var(--oc-text); }
.oc-post-nav-next { flex-direction: row-reverse; text-align: right; }
.oc-post-nav img { flex: none; width: 64px; height: 64px; object-fit: cover; }
.oc-post-nav span { display: grid; min-width: 0; }
.oc-post-nav small { color: var(--oc-primary); font-size: 13px; font-weight: 700; }
.oc-post-nav strong { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }

.oc-related { margin-top: 44px; }
.oc-posts.oc-related-grid { grid-template-columns: repeat(var(--oc-related-cols, 3), minmax(0, 1fr)); }

@media (max-width: 640px) {
	.oc-entry.is-classic .oc-entry-content { font-size: 17px; }
	.oc-post-nav { grid-template-columns: minmax(0, 1fr); }
	.oc-post-nav .is-empty { display: none; }
	.oc-posts.oc-related-grid { grid-template-columns: minmax(0, 1fr); }
	.oc-author-box { flex-direction: column; }
}

.oc-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 20px; }
.oc-card { display: flex; flex-direction: column; background: #fff; }
.oc-card-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.oc-card-body { padding-top: 12px; }
.oc-card-title { margin-bottom: 4px; font-size: 20px; }
.oc-card-title a { color: var(--oc-text); text-decoration: none; }
.oc-card-title a:hover { color: var(--oc-primary); }
.oc-card .oc-meta { margin: 0 0 8px; }
.oc-card-excerpt p { margin: 0; color: var(--oc-muted); font-size: 15px; }

.nav-links { display: flex; gap: 6px; margin-top: 32px; }
.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	background: #f1eef4;
	color: var(--oc-text);
	font-weight: 700;
	text-decoration: none;
}
.nav-links .page-numbers.current,
.nav-links a.page-numbers:hover { background: var(--oc-primary); color: #fff; }

.oc-empty { padding: 12px 0; }
.oc-archive-desc { margin: -4px 0 20px; color: var(--oc-muted); }

/* Comments */
.oc-comments { margin-top: 40px; }
.oc-comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.oc-comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--oc-line); }
.oc-comment-list .children { list-style: none; padding-left: 32px; }


/* ==========================================================================
   Forms: Contact Form 7, comment forms and other form plugins.
   Written with :where() (zero specificity) so Elementor's Form widget and
   any plugin's own style settings always win.
   ========================================================================== */

:root { --oc-field-radius: 4px; --oc-field-border: #cfc8d8; --oc-field-bg: #fff; --oc-danger: #c62828; --oc-success: #1b7a3a; --oc-warning: #a86400; }

:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(
	input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"],
	input[type="password"], input[type="search"], input[type="date"], input[type="time"], input[type="datetime-local"],
	select, textarea
):not(.oc-search-form input) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--oc-field-border);
	border-radius: var(--oc-field-radius);
	background: var(--oc-field-bg);
	color: var(--oc-text);
	font: inherit;
	font-size: 16px; /* 16px stops iPhones zooming in on focus */
	font-weight: 400; /* fields sit inside bold labels in Contact Form 7 */
	line-height: 1.4;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(textarea) { min-height: 140px; resize: vertical; }
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(select) {
	padding-right: 38px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23666' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
}
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input, select, textarea):focus {
	outline: none;
	border-color: var(--oc-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--oc-primary) 22%, transparent);
}
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input, textarea)::placeholder { color: #8a8494; opacity: 1; }
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="checkbox"], input[type="radio"]) {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	vertical-align: -3px;
	accent-color: var(--oc-primary);
}
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="file"]) { max-width: 100%; font: inherit; font-size: 15px; }
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="file"])::file-selector-button {
	margin-right: 12px;
	padding: 9px 16px;
	border: 0;
	border-radius: var(--oc-field-radius);
	background: #efeaf4;
	color: var(--oc-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* Filled and underline variants */
.oc-fields-filled :where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]), select, textarea):not(.oc-search-form input) {
	border-color: transparent;
	background-color: #f2eef6;
}
.oc-fields-filled :where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input, select, textarea):focus { background-color: #fff; }
.oc-fields-underline :where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]), select, textarea):not(.oc-search-form input) {
	padding-left: 2px;
	padding-right: 2px;
	border-width: 0 0 2px;
	border-radius: 0;
	background-color: transparent;
}
.oc-fields-underline :where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(select) { padding-right: 30px; background-position: right 2px center; }
.oc-fields-underline :where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input, select, textarea):focus { box-shadow: 0 2px 0 0 var(--oc-primary); }

/* Buttons in forms */
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="submit"], button[type="submit"], .wpcf7-submit):not(.oc-search-form button):not(.scw-btn) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 28px;
	border: 0;
	border-radius: var(--oc-field-radius);
	background: var(--oc-primary);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease;
}
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="submit"], button[type="submit"], .wpcf7-submit):not(.oc-search-form button):not(.scw-btn):hover { background: var(--oc-primary-dark); }
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="submit"], button[type="submit"], .wpcf7-submit):active { transform: translateY(1px); }
:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="submit"], button[type="submit"], .wpcf7-submit):disabled { opacity: .6; cursor: wait; }

/* Contact Form 7 layout and messages */
.wpcf7 form > p,
.wpcf7 form .oc-cf7-row { margin: 0 0 18px; }
.wpcf7 form label { display: block; color: var(--oc-text); font-size: 15px; font-weight: 700; line-height: 1.4; }
.wpcf7 form label > br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.wpcf7 .wpcf7-list-item { display: inline-flex; align-items: center; margin: 4px 20px 6px 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; font-weight: 400; cursor: pointer; }
.wpcf7 .wpcf7-list-item-label { font-weight: 400; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin-right: 0; }
.wpcf7 .wpcf7-checkbox, .wpcf7 .wpcf7-radio { display: block; margin-top: 4px; }
.wpcf7 .wpcf7-not-valid { border-color: var(--oc-danger) !important; }
.wpcf7 .wpcf7-not-valid:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--oc-danger) 20%, transparent) !important; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--oc-danger); font-size: 14px; font-weight: 600; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 14px; vertical-align: middle; background-color: var(--oc-secondary); }
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 0;
	border-left: 4px solid var(--oc-warning);
	border-radius: var(--oc-field-radius);
	background: #fff6e5;
	color: var(--oc-text);
	font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output { border-left-color: var(--oc-success); background: #e9f7ee; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-left-color: var(--oc-danger); background: #fdecec; }

/* Two fields side by side: wrap them in <div class="oc-cf7-row"> in the form editor */
.wpcf7 .oc-cf7-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.wpcf7 .oc-cf7-row > p { margin: 0 0 18px; }

/* Comment form uses the same look */
.comment-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

@media (max-width: 640px) {
	:where(.oc-main, .oc-main-full, .oc-footer, .oc-blank) :where(input[type="submit"], button[type="submit"], .wpcf7-submit):not(.oc-search-form button):not(.scw-btn) { width: 100%; }
	.wpcf7 .wpcf7-spinner { display: block; margin: 12px auto 0; }
}

/* ==========================================================================
   OnCue Radio Tools widgets in the sidebar (matches the reference layout).
   Every song history widget in the sidebar gets this look, except one whose
   theme was picked on purpose in the widget (the plugin marks it scw-is-chosen).
   ========================================================================== */

.oc-match-widgets .oc-sidebar .scw:not(.scw-is-chosen).scw-history,
.oc-match-widgets .oc-sidebar .scw:not(.scw-is-chosen).scw-nowplaying {
	--scw-fg: var(--oc-text);
	--scw-muted: var(--oc-muted);
	--scw-soft: transparent;
	--scw-line: var(--oc-line);
	--scw-accent: var(--oc-primary);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--oc-text);
}
.oc-match-widgets .oc-sidebar .scw:not(.scw-is-chosen)::after,
.oc-match-widgets .oc-sidebar .scw:not(.scw-is-chosen) .scw-backdrop { display: none; }

.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi {
	grid-template-columns: 105px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	align-items: start;
	gap: 2px 10px;
	margin: 0 0 20px !important;
	padding: 0;
	border-radius: 0;
}
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi-art { grid-row: 1 / 3; width: 105px; border-radius: 0; }
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi-time {
	grid-column: 2;
	grid-row: 1;
	color: var(--oc-muted);
	font-size: 14px;
	font-style: italic;
	font-weight: 400;
}
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi-text { grid-column: 2; grid-row: 2; align-self: start; }
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi-title { font-size: 17px; font-weight: 400; white-space: normal; }
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi-artist { font-size: 14px; white-space: normal; }
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history .scw-hi.is-current .scw-hi-time { color: var(--oc-primary); font-style: normal; font-weight: 700; }
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history[data-scw-art="0"] .scw-hi { grid-template-columns: minmax(0, 1fr); }
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history[data-scw-art="0"] .scw-hi-time,
.oc-match-widgets .oc-sidebar :not(.scw-is-chosen).scw-history[data-scw-art="0"] .scw-hi-text { grid-column: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */

.oc-footer { background: var(--oc-footer-bg); color: rgba(255, 255, 255, .78); font-size: 15px; }
.oc-footer a { color: #fff; }
.oc-footer a:hover { color: #fff; opacity: .8; }

.oc-footer-widgets {
	display: grid;
	grid-template-columns: repeat(var(--oc-cols, 3), minmax(0, 1fr));
	gap: 32px;
	padding-block: 44px 28px;
}
.oc-footer .widget { margin-bottom: 20px; }
.oc-footer .widget-title { padding: 0; background: none; color: #fff; font-size: 19px; }
.oc-footer .widget ul { margin: 0; padding: 0; list-style: none; }
.oc-footer .widget li:not(.scw-hi) { padding: 4px 0; }

.oc-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.oc-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px;
}
.oc-copyright { margin: 0; font-size: 14px; }
.oc-footer-menu { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.oc-footer-menu a { text-decoration: none; }

/* Parent company logo ("A division of") */
.oc-corp { display: inline-flex; align-items: center; gap: 10px; }
.oc-corp.is-right { order: 3; margin-left: auto; }
.oc-corp.is-left { order: -1; }
.oc-footer-bottom-inner:has(.oc-corp.is-left) .oc-copyright { margin-right: auto; }
.oc-corp-label { font-size: 12px; opacity: .7; white-space: nowrap; }
.oc-corp-link { display: inline-flex; line-height: 0; }
.oc-corp-img { display: block; width: var(--oc-corp-width, 110px); max-width: 60vw; height: auto; transition: filter .25s ease, opacity .25s ease; }
.oc-corp.is-grey .oc-corp-img { filter: grayscale(1); opacity: .75; }
.oc-corp.is-white .oc-corp-img { filter: brightness(0) invert(1); opacity: .8; }
.oc-corp.has-hover:hover .oc-corp-img,
.oc-corp.has-hover .oc-corp-link:focus-visible .oc-corp-img { filter: none; opacity: 1; }
.oc-corp-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Empty canvas template (player pop-up) */
html:has(body.oc-blank) { margin-top: 0 !important; height: 100%; }
.oc-blank { min-height: 100%; margin: 0; background: #fff; }
.oc-blank #content { min-height: 100vh; min-height: 100dvh; }
.oc-blank #content > .scw-station,
.oc-blank #content .scw-station.scw-full { width: 100%; max-width: none; margin: 0; }

/* Elementor: let its full-width sections breathe inside our container */
.oc-entry-content > .elementor { margin-inline: 0; }
.elementor-page .oc-entry-content { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.oc-header-row { gap: 24px 32px; padding-inline: 0; }
	.oc-menu a { padding: 0 14px; font-size: 18px; }
}

@media (max-width: 960px) {
	.oc-layout.has-sidebar.sidebar-right,
	.oc-layout.has-sidebar.sidebar-left { grid-template-columns: minmax(0, 1fr); }
	.oc-layout.sidebar-left .oc-sidebar { order: 0; }
	.oc-sidebar { width: 100%; max-width: 520px; margin-inline: auto; }
	.oc-sidebar .widget img,
	.oc-sidebar .widget iframe { margin-inline: auto; }

	.oc-header-row,
	.oc-header-row.no-onair { grid-template-columns: minmax(0, 1fr) auto; }
	.oc-onair { grid-column: 1 / -1; grid-row: 2; max-width: none; }

	/* Collapsible menu */
	.oc-menu-toggle { display: inline-flex; margin-right: auto; padding-left: 0; }
	.oc-nav .oc-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		max-height: calc(100vh - var(--oc-nav-height));
		overflow-y: auto;
		padding: 6px 0 12px;
		background: var(--oc-primary-dark);
		box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5);
	}
	.oc-nav.menu-open .oc-menu { display: flex; }
	.oc-nav.menu-open .oc-i-open { display: none; }
	.oc-nav.menu-open .oc-i-close { display: inline; }
	.oc-menu > li > a { height: auto; padding: 12px var(--oc-gutter); font-size: 19px; }
	.oc-menu > li:hover > a { background: none; }
	.oc-menu li { display: flex; flex-wrap: wrap; }
	.oc-menu li > a { flex: 1; }
	.oc-menu .sub-menu,
	.oc-menu .children,
	.oc-menu .sub-menu .sub-menu,
	.oc-menu .children .children {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 6px 16px;
		background: none;
		box-shadow: none;
	}
	.oc-menu li:hover > .sub-menu,
	.oc-menu li:focus-within > .sub-menu,
	.oc-menu li:hover > .children,
	.oc-menu li:focus-within > .children { display: none; }
	.oc-menu li.sub-open > .sub-menu,
	.oc-menu li.sub-open > .children { display: block; }
	.oc-sub-toggle {
		display: grid;
		place-items: center;
		width: 52px;
		border: 0;
		background: none;
		color: #fff;
		cursor: pointer;
	}
	.oc-sub-toggle svg { width: 22px; height: 22px; transition: transform .2s ease; }
	.sub-open > .oc-sub-toggle svg { transform: rotate(180deg); }

	.oc-footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.oc-leaderboard { margin-bottom: 22px; }
	.oc-header-row,
	.oc-header-row.no-onair { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.oc-brand .custom-logo { width: min(var(--oc-logo-width), 70vw); }
	.oc-onair { grid-row: auto; justify-self: stretch; text-align: left; }
	.oc-onair-photo { width: 84px; height: 84px; }
	.oc-listen { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); justify-self: stretch; min-width: 0; }
	.oc-btn { gap: 10px; padding: 8px 12px; white-space: nowrap; }
	.oc-btn-listen { font-size: 17px; min-height: 54px; }
	.oc-btn-2 { min-height: 54px; font-size: 15px; }
	.oc-footer-widgets { grid-template-columns: minmax(0, 1fr); }
	.oc-bar-title, .oc-bar-title .elementor-heading-title { font-size: 23px; }
	.oc-footer-bottom-inner { flex-direction: column; text-align: center; }
	.oc-corp.is-right, .oc-corp.is-left { order: 3; margin: 6px 0 0; }
	.oc-np-at-menu { max-width: 55vw; padding: 0 6px; }
	.oc-np-at-menu .oc-np-label { display: none; }
	.oc-np-at-menu.oc-np-style-ticker { width: 55vw; }
	.oc-np-at-logo, .oc-np-at-onair { justify-content: center; }

	/* Comfortable tap targets on phones */
	.oc-onair-email { min-height: 38px; padding: 8px 14px; font-size: 13px; }
	.oc-entry-cats a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; }
	.oc-entry-tags a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; }
	.oc-page-links a, .oc-page-links > .post-page-numbers { min-width: 42px; height: 42px; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   On-air box styles (Customizer > On-air box > Style)
   ========================================================================== */

/* Card: on a dark panel */
.oc-onair-style-card .oc-onair-row { padding: 12px 18px 12px 12px; border-radius: 14px; background: rgba(12, 6, 20, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: none; }
.oc-onair-style-card .oc-onair-photo { border-radius: 10px; box-shadow: none; }
.oc-onair-style-card .oc-onair-name { font-size: 20px; }

/* Pill: rounded and compact */
.oc-onair-style-pill .oc-onair-row { display: inline-flex; max-width: 100%; gap: 12px; padding: 6px 22px 6px 6px; border-radius: 999px; background: rgba(12, 6, 20, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: none; }
.oc-onair-style-pill .oc-onair-photo { border-radius: 50%; box-shadow: none; }
.oc-onair-style-pill .oc-onair-name { font-size: 17px; line-height: 1.25; }
.oc-onair-style-pill .oc-onair-time { font-size: 14px; line-height: 1.3; }
.oc-onair-style-pill .oc-onair-email { margin-top: 4px; padding: 2px 8px; border-radius: 999px; }
.oc-onair-style-pill .oc-onair-email span { display: none; }

/* Badge: red "On air" label above the show */
.oc-onair-style-badge .oc-onair-badge[hidden] { display: inline-flex !important; align-items: center; gap: 6px; margin-bottom: 6px; padding: 3px 9px 3px 7px; border-radius: 4px; background: #e11d2e; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; text-shadow: none; }
.oc-onair-style-badge .oc-onair-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: oc-onair-pulse 1.8s ease-in-out infinite; }
.oc-onair-style-badge .oc-onair-photo { border-radius: 12px; }
@keyframes oc-onair-pulse { 50% { opacity: .35; } }

/* Split: a coloured "On air" block beside the show */
.oc-onair-style-split .oc-onair-row { gap: 0; overflow: hidden; border-radius: 10px; background: rgba(12, 6, 20, .6); text-shadow: none; }
.oc-onair-style-split .oc-onair-tag[hidden] { display: flex !important; align-items: center; justify-content: center; flex: none; padding: 10px 7px; background: var(--oc-primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.oc-onair-style-split .oc-onair-photo { box-shadow: none; align-self: stretch; }
.oc-onair-style-split.oc-onair-photo-text .oc-onair-photo { height: auto; min-height: var(--oc-onair-h, 96px); }
.oc-onair-style-split .oc-onair-info { padding: 10px 18px 10px 16px; }

/* Minimal: one quiet line */
.oc-onair-style-minimal .oc-onair-row { gap: 12px; align-items: center; }
.oc-onair-style-minimal .oc-onair-info { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.oc-onair-style-minimal .oc-onair-name { font-size: 17px; }
.oc-onair-style-minimal .oc-onair-time { font-size: 14px; opacity: .85; }
.oc-onair-style-minimal .oc-onair-photo { border-radius: 50%; box-shadow: none; }
.oc-onair-style-minimal.oc-onair-photo-text .oc-onair-photo { width: 40px; height: 40px; }
.oc-onair-style-minimal .oc-onair-info::after { content: ""; flex-basis: 100%; order: 1; }
.oc-onair-style-minimal .oc-onair-email { order: 2; margin-top: 6px; }

/* ==========================================================================
   Now playing (song) extra styles (Customizer > Now playing > Style)
   ========================================================================== */

/* Line with moving sound bars */
.oc-np-style-eq { font-size: 13px; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.oc-np-eq { display: inline-flex; align-items: flex-end; gap: 2px; flex: none; width: 16px; height: 14px; }
.oc-np-eq i { flex: 1; height: 100%; border-radius: 1px; background: currentColor; transform-origin: bottom; animation: oc-np-eq .9s ease-in-out infinite alternate; }
.oc-np-eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.oc-np-eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
.oc-np-eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.2s; }
@keyframes oc-np-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.oc-np-style-eq .oc-np-label { padding-right: 8px; border-right: 1px solid rgba(255, 255, 255, .35); }

/* Tag: coloured label block, then the song */
.oc-np-style-tag { display: inline-flex; gap: 0; width: auto; overflow: hidden; border-radius: 4px; background: var(--oc-np-bg, rgba(0, 0, 0, .45)); }
.oc-np-style-tag .oc-np-label { align-self: stretch; display: flex; align-items: center; padding: 5px 10px; background: var(--oc-primary); color: #fff; font-size: 11px; opacity: 1; }
.oc-np-style-tag .oc-np-text { padding: 5px 12px; }

/* Badge: bold label above song and artist */
.oc-np-style-badge .oc-np-body .oc-np-label { justify-self: start; margin-bottom: 4px; padding: 2px 8px; border-radius: 3px; background: var(--oc-primary); color: #fff; opacity: 1; text-shadow: none; }
.oc-np-style-badge { text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.oc-np-style-badge .oc-np-song { font-size: 17px; }

/* Vinyl: the cover on a small spinning record */
.oc-np-style-vinyl { display: inline-flex; gap: 12px; width: auto; max-width: 380px; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.oc-np-style-vinyl .oc-np-art { width: 50px; height: 50px; padding: 11px; background: repeating-radial-gradient(circle, #151515 0 1px, #232323 1px 3px); box-shadow: 0 4px 12px rgba(0, 0, 0, .45); animation: oc-np-spin 5s linear infinite; }
.oc-np-style-vinyl .oc-np-art img { border-radius: 50%; }
.oc-np-style-vinyl .oc-np-art.is-empty { background: repeating-radial-gradient(circle, #151515 0 1px, #232323 1px 3px); }
@keyframes oc-np-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .oc-np-style-vinyl .oc-np-art, .oc-np-eq i { animation: none; } }

/* Glass: frosted panel with cover */
.oc-np-style-glass { display: inline-flex; gap: 12px; width: auto; max-width: 380px; padding: 7px 16px 7px 7px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.oc-np-style-glass:not(.has-art) { padding-left: 16px; }
.oc-np-style-glass .oc-np-art { width: 46px; height: 46px; border-radius: 9px; }

/* Placement tweaks for the new styles */
.oc-listen .oc-np-at-buttons:is(.oc-np-style-vinyl, .oc-np-style-glass, .oc-np-style-badge) { justify-content: flex-start; max-width: none; }
.oc-np-at-menu:is(.oc-np-style-glass, .oc-np-style-vinyl) { padding-top: 4px; padding-bottom: 4px; }
.oc-np-at-menu.oc-np-style-vinyl .oc-np-art { width: 40px; height: 40px; padding: 9px; }
.oc-np-at-menu.oc-np-style-glass .oc-np-art { width: 36px; height: 36px; }
.oc-np-strip :is(.oc-np-style-glass, .oc-np-style-tag) { background: rgba(0, 0, 0, .2); }

/* ==========================================================================
   Blog page layouts (Customizer > Blog page)
   ========================================================================== */

.oc-catbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.oc-catbar a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #d9d4de; border-radius: 999px; color: var(--oc-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.oc-catbar a:hover { border-color: var(--oc-primary); color: var(--oc-primary); }
.oc-catbar a[aria-current="page"] { border-color: var(--oc-primary); background: var(--oc-primary); color: #fff; }

.oc-posts-grid, .oc-posts-magazine, .oc-posts-overlay { grid-template-columns: repeat(var(--oc-cols, 3), minmax(0, 1fr)); }
.oc-card-cat { display: inline-block; margin-bottom: 6px; color: var(--oc-primary); font-size: 13px; font-weight: 700; }
.oc-card-more { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; color: var(--oc-primary); font-weight: 700; text-decoration: none; }
.oc-card-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* List: image left, text right */
.oc-posts-list { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.oc-posts-list .oc-card { flex-direction: row; align-items: flex-start; gap: 22px; }
.oc-posts-list .oc-card-img { flex: 0 0 36%; }
.oc-posts-list .oc-card-body { padding-top: 0; }

/* Magazine: big first story */
.oc-card-lead { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #e6e1ea; }
.oc-card-lead .oc-card-img { flex: 0 0 58%; }
.oc-card-lead .oc-card-img img { aspect-ratio: 16 / 9; }
.oc-card-lead .oc-card-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.oc-card-lead .oc-card-excerpt p { font-size: 17px; }
.oc-card-lead.no-img { display: block; }

/* Overlay: title over the image */
.oc-posts-overlay .oc-card { position: relative; justify-content: flex-end; min-height: 300px; overflow: hidden; border-radius: 8px; background: var(--oc-secondary); color: #fff; isolation: isolate; }
.oc-posts-overlay .oc-card.no-img { background: linear-gradient(135deg, var(--oc-secondary), var(--oc-primary)); }
.oc-posts-overlay .oc-card-img { position: absolute; inset: 0; z-index: -2; }
.oc-posts-overlay .oc-card-img img { width: 100%; height: 100%; aspect-ratio: auto; transition: transform .4s ease; }
.oc-posts-overlay .oc-card:hover .oc-card-img img { transform: scale(1.04); }
.oc-posts-overlay .oc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .05) 100%); }
.oc-posts-overlay .oc-card-body { padding: 18px; }
.oc-posts-overlay .oc-card-title a, .oc-posts-overlay .oc-card-cat { color: #fff; }
.oc-posts-overlay .oc-card-title a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.oc-posts-overlay .oc-meta, .oc-posts-overlay .oc-meta a, .oc-posts-overlay .oc-card-excerpt p { color: rgba(255, 255, 255, .85); }
.oc-posts-overlay .oc-card-lead { min-height: 420px; align-items: stretch; border-bottom: 0; padding-bottom: 0; }

/* Minimal: date and title, no images */
.oc-posts-minimal { grid-template-columns: minmax(0, 1fr); gap: 0; }
.oc-posts-minimal .oc-card { flex-direction: row; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid #e6e1ea; background: none; }
.oc-posts-minimal .oc-card:first-child { border-top: 1px solid #e6e1ea; }
.oc-card-date { flex: 0 0 76px; display: grid; color: var(--oc-muted); font-size: 13px; line-height: 1.2; }
.oc-card-date span { color: var(--oc-primary); font-size: 30px; font-weight: 800; line-height: 1; }
.oc-posts-minimal .oc-card-body { padding-top: 0; }
.oc-posts-minimal .oc-card-title { font-size: 22px; }

@media (max-width: 900px) {
	.oc-posts-grid, .oc-posts-magazine, .oc-posts-overlay { grid-template-columns: repeat(min(var(--oc-cols, 3), 2), minmax(0, 1fr)); }
	.oc-card-lead { flex-direction: column; align-items: stretch; gap: 14px; }
}
@media (max-width: 600px) {
	.oc-posts-grid, .oc-posts-magazine, .oc-posts-overlay { grid-template-columns: minmax(0, 1fr); }
	.oc-posts-list .oc-card { flex-direction: column; gap: 12px; }
	.oc-posts-list .oc-card-img { flex-basis: auto; width: 100%; }
	.oc-posts-minimal .oc-card { gap: 14px; }
	.oc-card-date { flex-basis: 56px; }
}

/* ==========================================================================
   Built-in player page (?oncue-player=1)
   ========================================================================== */
body.oc-player-page { margin: 0; background: #0e0b12; }
.oc-player-main > .scw { margin: 0; }
.oc-player-page .scw-station { min-height: 100vh; }
