/*
 * dykpodcast.com brand layer. Loaded site-wide by DYK Simplecast Sync (filter dyk_sc_player_css).
 *
 * The Elementor kit (post 702) defines the brand: primary #212121, secondary #887700, accent #CEC061,
 * text #FFFFFF, headings "RocknRoll One", body copy Rokkitt. Pages and parts that Elementor does not
 * style fall back to the Hello Elementor theme defaults (white page, #333 text, #cc3366 links, system font).
 * This file makes those defaults brand-correct so every page matches the home page.
 */

:root {
	--dyk-bg: #212121;
	--dyk-bg-2: #2a2a2a;
	--dyk-bg-3: #333333;
	--dyk-line: rgba(255, 255, 255, 0.12);
	--dyk-text: #f4f2ee;
	--dyk-muted: rgba(244, 242, 238, 0.65);
	--dyk-accent: #CEC061;
	--dyk-accent-2: #e2d67e;
	--dyk-accent-ink: #1c1a12;
	--dyk-head: "RocknRoll One", "Poppins", sans-serif;
	--dyk-body: Rokkitt, Georgia, "Times New Roman", serif;
}

/* ---------- page shell ---------- */
body.wp-theme-hello-elementor {
	background-color: var(--dyk-bg);
	color: var(--dyk-text);
	font-family: var(--dyk-body);
	font-size: 18px;
	line-height: 1.6;
}

body.wp-theme-hello-elementor :is(h1, h2, h3, h4, h5, h6),
body.wp-theme-hello-elementor .entry-title,
body.wp-theme-hello-elementor .page-title {
	font-family: var(--dyk-head);
	font-weight: 500;
	color: #ffffff;
	letter-spacing: 0.01em;
}

body.wp-theme-hello-elementor a {
	color: var(--dyk-accent);
	text-decoration: none;
}

body.wp-theme-hello-elementor a:hover,
body.wp-theme-hello-elementor a:focus {
	color: var(--dyk-accent-2);
}

body.wp-theme-hello-elementor .page-header,
body.wp-theme-hello-elementor .page-content,
body.wp-theme-hello-elementor .site-main {
	color: var(--dyk-text);
}

::selection {
	background: var(--dyk-accent);
	color: var(--dyk-accent-ink);
}

body.wp-theme-hello-elementor hr {
	border: 0;
	border-top: 1px solid var(--dyk-line);
}

body.wp-theme-hello-elementor blockquote {
	border-left: 3px solid var(--dyk-accent);
	color: var(--dyk-muted);
}

body.wp-theme-hello-elementor table {
	border-color: var(--dyk-line);
}

body.wp-theme-hello-elementor :is(th, td) {
	border-color: var(--dyk-line);
}

/* ---------- footer (Anant copyright widget) ---------- */
.ant-copyright-wrapper,
.ant-copyright-wrapper span {
	color: var(--dyk-muted);
}

.ant-copyright-wrapper a,
a.anant-copyright-info {
	color: var(--dyk-accent) !important;
}

.ant-copyright-wrapper a:hover,
a.anant-copyright-info:hover {
	color: var(--dyk-accent-2) !important;
}

/* ---------- buttons: ink on gold, pill ---------- */
body.wp-theme-hello-elementor .elementor-button,
body.wp-theme-hello-elementor .wp-block-button__link,
body.wp-theme-hello-elementor .wp-element-button,
body.wp-theme-hello-elementor input[type="submit"],
body.wp-theme-hello-elementor .wp-block-search__button,
body.wp-theme-hello-elementor .comment-respond .submit {
	background-color: var(--dyk-accent);
	color: var(--dyk-accent-ink);
	font-family: var(--dyk-head);
	font-weight: 500;
	letter-spacing: 0.02em;
	border: 0;
	border-radius: 999px;
	padding: 14px 28px;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

body.wp-theme-hello-elementor .elementor-button .elementor-button-text,
body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-button.elementor-size-sm,
body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-button.elementor-size-md,
body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-button.elementor-size-lg {
	color: var(--dyk-accent-ink);
	background-color: var(--dyk-accent);
}

body.wp-theme-hello-elementor .elementor-button:hover,
body.wp-theme-hello-elementor .elementor-button:focus,
body.wp-theme-hello-elementor .wp-block-button__link:hover,
body.wp-theme-hello-elementor input[type="submit"]:hover,
body.wp-theme-hello-elementor .comment-respond .submit:hover {
	background-color: var(--dyk-accent-2);
	color: var(--dyk-accent-ink);
	transform: translateY(-1px);
}

/* Castos player buttons keep their own look */
body.wp-theme-hello-elementor .castos-player button {
	border-radius: 0;
	padding: 0;
	background: none;
	transform: none;
}

body.wp-theme-hello-elementor .castos-player .player-panel .player-panel-row button {
	background-color: var(--dyk-accent);
	color: var(--dyk-accent-ink);
	border-radius: 999px;
	padding: 8px 16px;
}

/* ---------- forms: dark fields, gold focus ---------- */
body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-field.elementor-field-textual:not(.elementor-select-wrapper),
body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-field-textual.elementor-field:not(.elementor-select-wrapper),
body.wp-theme-hello-elementor .elementor-field-textual,
body.wp-theme-hello-elementor .comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea),
body.wp-theme-hello-elementor .search-form input[type="search"],
body.wp-theme-hello-elementor .wp-block-search__input,
body.wp-theme-hello-elementor .elementor-search-form__input {
	background-color: var(--dyk-bg-2);
	color: var(--dyk-text);
	border: 1px solid var(--dyk-line);
	border-radius: 10px;
	font-family: var(--dyk-body);
	font-size: 16px;
	padding: 12px 14px;
	box-shadow: none;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-field.elementor-field-textual:not(.elementor-select-wrapper)::placeholder,
body.wp-theme-hello-elementor .elementor-field-textual::placeholder,
body.wp-theme-hello-elementor .comment-form :is(input, textarea)::placeholder {
	color: rgba(244, 242, 238, 0.45);
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-field.elementor-field-textual:not(.elementor-select-wrapper):focus,
body.wp-theme-hello-elementor .elementor-field-textual:focus,
body.wp-theme-hello-elementor .comment-form :is(input, textarea):focus,
body.wp-theme-hello-elementor .search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--dyk-accent);
	box-shadow: 0 0 0 3px rgba(206, 192, 97, 0.22);
}

body.wp-theme-hello-elementor .elementor-field-label,
body.wp-theme-hello-elementor .comment-form label {
	color: var(--dyk-muted);
	font-family: var(--dyk-head);
	font-size: 13px;
	letter-spacing: 0.04em;
}

body.wp-theme-hello-elementor .elementor-message {
	color: var(--dyk-text);
}

body.wp-theme-hello-elementor select {
	background-color: var(--dyk-bg-2);
	color: var(--dyk-text);
	border: 1px solid var(--dyk-line);
	border-radius: 10px;
}

/* ---------- Seriously Simple Podcasting bits outside the player ---------- */
body.wp-theme-hello-elementor .podcast_meta {
	color: var(--dyk-muted);
	font-size: 15px;
	margin: 14px 0 22px;
}

body.wp-theme-hello-elementor .podcast_meta a {
	color: var(--dyk-accent);
	border-bottom: 1px solid rgba(206, 192, 97, 0.45);
}

body.wp-theme-hello-elementor .podcast_meta a:hover {
	border-bottom-color: var(--dyk-accent-2);
}

body.wp-theme-hello-elementor .ssp-episode-list,
body.wp-theme-hello-elementor .podcast-episode {
	color: var(--dyk-text);
}

body.wp-theme-hello-elementor .ssp-episode-list h2 a,
body.wp-theme-hello-elementor .podcast-episode h2 a,
body.wp-theme-hello-elementor .ssp-episode-list h3 a {
	color: #ffffff;
	text-decoration: none;
}

body.wp-theme-hello-elementor .ssp-episode-list h2 a:hover,
body.wp-theme-hello-elementor .podcast-episode h2 a:hover {
	color: var(--dyk-accent);
}

/* Elementor post grids (search results, topic pages) used the olive secondary for titles; lift to accent for contrast */
body.wp-theme-hello-elementor .elementor-post__title a {
	color: var(--dyk-accent);
}

body.wp-theme-hello-elementor .elementor-post__title a:hover {
	color: var(--dyk-accent-2);
}

body.wp-theme-hello-elementor .elementor-post__meta-data,
body.wp-theme-hello-elementor .elementor-post-date {
	color: var(--dyk-muted);
}

/* ---------- comments ---------- */
body.wp-theme-hello-elementor .comments-area,
body.wp-theme-hello-elementor .comment-respond {
	color: var(--dyk-text);
}

body.wp-theme-hello-elementor .comment-body {
	background: var(--dyk-bg-2);
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 14px;
}

body.wp-theme-hello-elementor .comment-metadata a,
body.wp-theme-hello-elementor .comment-reply-link {
	color: var(--dyk-accent);
}

body.wp-theme-hello-elementor .comment-notes,
body.wp-theme-hello-elementor .logged-in-as {
	color: var(--dyk-muted);
}

/* ---------- pagination / misc ---------- */
body.wp-theme-hello-elementor .page-numbers,
body.wp-theme-hello-elementor .elementor-pagination a,
body.wp-theme-hello-elementor .elementor-pagination span {
	color: var(--dyk-muted);
}

body.wp-theme-hello-elementor .page-numbers.current,
body.wp-theme-hello-elementor .elementor-pagination .current {
	color: var(--dyk-accent);
}

body.wp-theme-hello-elementor .error-404 .page-content,
body.wp-theme-hello-elementor .not-found {
	color: var(--dyk-text);
}

/* keep a readable measure on theme-rendered pages (Blog, topic pages, archive) */
body.wp-theme-hello-elementor .page-header,
body.wp-theme-hello-elementor .page-content {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

body.wp-theme-hello-elementor .page-header .entry-title {
	font-size: clamp(32px, 4vw, 48px);
	margin: 0.6em 0 0.4em;
}

/* ---------- home page: hero fills the first screen ---------- */
/* The header above it is 80px tall, so the hero ends exactly at the fold. svh keeps phones honest. */
:root {
	--dyk-header-h: 80px;
}

body.home .elementor-element-5a1ad0d.elementor-section,
body.home .elementor-element-5a1ad0d.elementor-section > .elementor-container {
	min-height: calc(100vh - var(--dyk-header-h));
	min-height: calc(100svh - var(--dyk-header-h));
}

body.home .elementor-element-5a1ad0d.elementor-section > .elementor-container {
	align-items: center;
}

/* phones and small tablets: the header wraps to two lines (120px) and the 146px headline overflowed the screen */
@media (max-width: 767px) {
	:root {
		--dyk-header-h: 120px;
	}

	body.home .elementor-element-5a1ad0d.elementor-section {
		overflow-x: clip;
	}

	body.home .elementor-section .elementor-element-bd60b2a.elementor-widget-heading .elementor-heading-title {
		font-size: clamp(56px, 19vw, 84px);
		line-height: 0.95;
		overflow-wrap: anywhere;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	body.home .elementor-section .elementor-element-bd60b2a.elementor-widget-heading .elementor-heading-title {
		font-size: clamp(72px, 11vw, 120px);
		line-height: 0.95;
	}
}

/* ---------- home page: subscribe card ---------- */
body.wp-theme-hello-elementor .elementor-section .elementor-column .elementor-widget-form.elementor-element.elementor-widget > .elementor-widget-container {
	background: #1b1a1f;
	border: 0;
	border-radius: 18px;
	padding: 26px 24px 24px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

body.wp-theme-hello-elementor .elementor-widget-heading:has(+ .elementor-widget-form) > .elementor-widget-container,
body.wp-theme-hello-elementor .elementor-element-c33b32e.elementor-widget > .elementor-widget-container {
	margin-bottom: 16px;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-form-fields-wrapper {
	margin: 0;
	gap: 12px 0;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group {
	padding: 0;
	margin-bottom: 0;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-field.elementor-field-textual:not(.elementor-select-wrapper) {
	min-height: 50px;
	font-size: 16px;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group textarea.elementor-field-textual {
	min-height: 150px;
	resize: vertical;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-type-submit {
	margin-top: 6px;
}

body.wp-theme-hello-elementor .elementor-widget-form .elementor-field-group .elementor-button {
	min-height: 50px;
	font-size: 16px;
	width: 100%;
}

body.wp-theme-hello-elementor .elementor-widget-shortcode .secondline-psb-subscribe-icons {
	margin-top: 18px;
	gap: 16px;
}

/* ---------- home page: playlist shows every episode, no inner scroll ---------- */
.castos-player .playlist__wrapper,
.castos-player.light-mode .playlist__wrapper {
	height: auto;
	max-height: none;
	overflow: visible;
}
