/*
Theme Name: Merindades Radio
Theme URI: https://radioespinosamerindades.es
Author: Roberto García Oliveira
Description: Tema de la emisora. Cabecera, pie y fichas. Los datos viven en el plugin Merindades Radio.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Requires Plugins: merindades-radio
Text Domain: mradio
*/

:root {
	--mradio-text: #242424;
	--mradio-muted: #A2A2A2;
	--mradio-line: #e7e5e4;
	--mradio-bg: #fff;
	--mradio-accent: #f12f07;
	--mradio-max: 1300px;
}

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

body {
	margin: 0;
	color: var(--mradio-text);
	background: var(--mradio-bg);
	font: 1.05rem/1.5 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.mradio-skip {
	position: absolute;
	left: 0.5rem;
	top: -4rem;
	background: #fff;
	padding: 0.4rem 0.8rem;
	z-index: 5;
}

.mradio-skip:focus {
	top: 0.5rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.mradio-main {
	width: min(100% - 2rem, var(--mradio-max));
	margin-inline: auto;
}

main.mradio-single,
main.mradio-archive {
	width: min(100% - 2rem, var(--mradio-max));
	max-width: none;
	margin-inline: auto;
	padding: 1.5rem 0 3rem;
}

.mradio-header {
	width: 100%;
	background-color: transparent;
	background-image: linear-gradient(91deg, #f2293e 0%, #d80e23 100%);
}

.mradio-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(100% - 2rem, var(--mradio-max));
	margin-inline: auto;
	padding: 0.2rem 0;
}

.mradio-logo,
.mradio-logo .custom-logo-link {
	display: block;
	width: 200px;
}

.mradio-logo a {
	color: #fff;
	font-family: "Newsreader", sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.mradio-logo .custom-logo {
	display: block;
	width: 200px;
	max-width: 200px;
	height: auto;
	filter: brightness(0) invert(1);
}

.mradio-logo svg,
.mradio-logo svg * {
	fill: #fff;
}

.mradio-header-actions {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

a.mradio-btn,
button.mradio-btn,
a.mradio-radio,
button.mradio-radio,
button.mradio-burger {
	appearance: none;
	box-sizing: border-box;
	margin: 0;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

a.mradio-btn,
button.mradio-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	border-style: solid;
	border-width: 1px;
	border-color: var(--e-global-color-4b4ba20, #e1e1e1);
	border-radius: 10px;
	background-color: #d74141;
	padding: 10px 22px;
	font-size: 1rem;
	color: #fff;
}

a.mradio-btn-sm,
button.mradio-btn-sm {
	border-radius: 6px;
	padding: 5px 15px;
	font-size: 0.85rem;
}

a.mradio-btn-lg,
button.mradio-btn-lg {
	padding: 16px 32px;
	font-size: 1.15rem;
}

a.mradio-btn-dark,
button.mradio-btn-dark {
	background-color: #242424;
	border-color: #242424;
	color: #fff;
}

a.mradio-btn-line,
button.mradio-btn-line {
	background-color: #fff;
	border-color: #242424;
	color: #242424;
}

a.mradio-radio,
button.mradio-radio {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	border: 0;
	border-radius: 20px;
	background-color: var(--e-global-color-74a93f2, #4ef306);
	padding: 8px 16px 8px 18px;
	font-size: 0.9rem;
	line-height: 1.05;
	color: var(--e-global-color-primary, #282828);
	text-align: left;
}

.mradio-radio-label {
	display: block;
	line-height: 0.8;
}

.mradio-radio-freq {
	font-size: 70%;
}

.mradio-icon {
	display: block;
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
	fill: currentColor;
}

.mradio-radio .mradio-icon {
	width: 1.35rem;
	height: 1.35rem;
}

.mradio-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mradio-burger-bar {
	display: block;
	width: 22px;
	height: 2px;
	margin-inline: auto;
	background: #fff;
}

.mradio-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 40;
	visibility: hidden;
	pointer-events: none;
}

.mradio-offcanvas.is-open {
	visibility: visible;
	pointer-events: auto;
}

.mradio-offcanvas-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.mradio-offcanvas.is-open .mradio-offcanvas-backdrop {
	opacity: 1;
}

.mradio-offcanvas-panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(22rem, 100%);
	height: 100%;
	padding: 0;
	background: #fff;
	color: var(--mradio-text);
	overflow: auto;
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

.mradio-offcanvas.is-open .mradio-offcanvas-panel {
	transform: translateX(0);
}

.mradio-offcanvas-close {
	align-self: end;
	margin: 0.75rem 1rem 0;
	border: 0;
	background: transparent;
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
	cursor: pointer;
}

.mradio-offcanvas-section {
	padding: 1rem 2rem;
}

.mradio-offcanvas-section + .mradio-offcanvas-section {
	border-top: 1px solid #cfcfcf;
}

.mradio-search-group {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid #242424;
	border-radius: 999px;
	background: #fff;
}

.mradio-search-group input {
	flex: 1;
	min-width: 0;
	margin: 0;
	border: 0;
	padding: 0.55rem 0.9rem;
	background: transparent;
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
	outline: none;
}

.mradio-search-group button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	margin: 0;
	border: 0;
	background: #242424;
	color: #fff;
	cursor: pointer;
}

.mradio-search-group .mradio-icon {
	width: 1rem;
	height: 1rem;
}

.mradio-offcanvas-kicker {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0.75rem;
	padding: 0.25rem 0.55rem;
	border-left: 4px solid #242424;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.mradio-offcanvas-kicker-place {
	background: #f2f2f2;
	color: #242424;
}

.mradio-offcanvas-kicker-topic {
	background: #f12f07;
	color: #fff;
}

.mradio-offcanvas-links {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
	text-transform: uppercase;
}

.mradio-offcanvas-links a,
.mradio-offcanvas-events,
.mradio-offcanvas-contact {
	color: inherit;
	text-decoration: none;
}

.mradio-offcanvas-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1rem;
}

.mradio-offcanvas-events {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: Roboto, sans-serif;
	text-transform: uppercase;
}

.mradio-offcanvas-events .mradio-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.mradio-offcanvas-social {
	display: flex;
	gap: 0.9rem;
	margin-bottom: 0.85rem;
}

.mradio-offcanvas-social a {
	display: inline-flex;
	color: #242424;
}

.mradio-offcanvas-social .mradio-icon {
	width: 1.4rem;
	height: 1.4rem;
}

.mradio-offcanvas-contact {
	font-family: Roboto, sans-serif;
}

body.mradio-offcanvas-open {
	overflow: hidden;
}

.mradio-offcanvas .mradio-nav ul {
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
}

.mradio-offcanvas .mradio-nav a {
	display: block;
	padding: 0.45rem 0;
	text-decoration: none;
}

.mradio-nav ul,
.mradio-footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 0.95rem/1.3 system-ui, sans-serif;
}

.mradio-search {
	display: flex;
	gap: 0.4rem;
	margin-top: 0.8rem;
}

.mradio-search input[type="search"] {
	flex: 1;
	font: inherit;
	padding: 0.35rem 0.5rem;
}

.mradio-main {
	padding: 1.5rem 0 3rem;
}

.mradio-section + .mradio-section {
	margin-top: 2.5rem;
}

.mradio-section h2,
.mradio-archive-header h1,
.mradio-single h1,
.mradio-page h1 {
	font-family: system-ui, sans-serif;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

h1.mradio-single-title {
	margin: 0.85rem 0 0;
	font-family: "Newsreader", sans-serif;
	color: #3b3d42;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
}

h2.mradio-single-subtitle {
	margin: 0.55rem 0 0;
	color: #3c3c3c;
	font-family: "Newsreader", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5rem;
	text-align: left;
}

.mradio-card {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	height: 100%;
	min-width: 0;
}

.mradio-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--mradio-line);
}

.mradio-card-media a {
	display: block;
	width: 100%;
	height: 100%;
}

.mradio-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mradio-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.2rem 0.5rem;
	border-left: 4px solid #242424;
	background: #F2F2F2;
	color: #242424;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 12px;
	text-box: trim-both cap alphabetic;
	text-transform: uppercase;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mradio-card-media .mradio-tag-location {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	max-width: calc(100% - 20px);
	width: auto;
	height: auto;
}

.mradio-tag-category {
	background: #f12f07;
	color: #fff;
}

.mradio-card-image-top .mradio-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 0;
}

.mradio-card-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.75rem;
}

.mradio-card-date {
	color: var(--mradio-muted);
	font: 14px/1.2 system-ui, sans-serif;
}

.mradio-card-excerpt {
	position: relative;
	max-height: 60px;
	overflow-x: hidden;
	overflow-y: hidden;
	font-size: 16px;
	line-height: 1.2;
}

.mradio-card-excerpt p {
	margin: 0;
}

.mradio-card-excerpt-fade {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 40px;
	background: linear-gradient(to bottom, transparent, #fff);
	pointer-events: none;
}

.mradio-card-compact .mradio-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.55rem;
}

.mradio-card-kicker,
.mradio-card-meta,
.mradio-single-meta {
	margin: 0;
	color: var(--mradio-muted);
	font: 0.8rem/1.3 system-ui, sans-serif;
}

h2.mradio-card-title {
	margin: 0;
	font-family: "Newsreader", sans-serif;
	font-size: 1.15rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.mradio-card-title a {
	text-decoration: none;
}

.mradio-card-title a:hover {
	text-decoration: underline;
}

@media (min-width: 801px) {
	.mradio-card-image-top-large .mradio-card-media {
		aspect-ratio: auto;
		height: 500px;
	}

	.mradio-card-image-top-large .mradio-card-title {
		font-size: 28px;
	}

	.mradio-card-image-top-large .mradio-card-excerpt {
		font-size: 19px;
	}
}

.mradio-card-image-left {
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
}

.mradio-card-image-left .mradio-card-media {
	flex: 0 0 6.5rem;
	aspect-ratio: 1;
}

.mradio-events {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mradio-events li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 0;
	border-top: 1px solid var(--mradio-line);
	font-family: system-ui, sans-serif;
}

.mradio-event-thumb {
	flex: 0 0 4.5rem;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--mradio-line);
}

.mradio-event-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mradio-event-body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.mradio-event-body a {
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.3;
}

.mradio-event-body a:hover {
	text-decoration: underline;
}

.mradio-section {
	margin-top: 2.25rem;
}

.mradio-main > .mradio-section:first-child {
	margin-top: 0;
}

h2.mradio-section-title {
	margin: 0 0 1rem;
	font-family: "Newsreader", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

h2.mradio-section-title a {
	display: inline-block;
	padding: 10px 10px 7px 10px;
	border-style: solid;
	border-width: 0 0 0 15px;
	border-color: #242424;
	background-color: #e11142;
	color: #fff;
	line-height: 1;
	text-decoration: none;
}

h2.mradio-section-title-dark a,
h2.mradio-section-title-side a {
	border-color: #e11142;
	background-color: #242424;
}

h2.mradio-section-title-side {
	font-size: 20px;
}

h2.mradio-section-title-side a {
	padding: 10px 10px 2px 10px;
}

.mradio-layout-destacada,
.mradio-layout-mixtas,
.mradio-with-side {
	display: grid;
	gap: 1.15rem 1rem;
	align-items: start;
}

.mradio-layout-destacada {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mradio-layout-mixtas,
.mradio-layout-columnas,
.mradio-layout-grid-2,
.mradio-layout-grid {
	display: grid;
	gap: 1.15rem 1rem;
}

.mradio-layout-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mradio-layout-mixtas,
.mradio-layout-columnas {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mradio-layout-stack {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	min-width: 0;
}

.mradio-cell {
	display: flex;
	min-width: 0;
}

.mradio-cell > .mradio-card {
	flex: 1;
}

.mradio-home-split {
	display: grid;
	grid-template-columns: minmax(0, 70%) minmax(0, 30%);
	gap: 1.5rem 2rem;
	align-items: start;
	margin-top: 2.25rem;
}

.mradio-home-main > .mradio-section:first-child,
.mradio-home-side > .mradio-section:first-child {
	margin-top: 0;
}

.mradio-home-side {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.mradio-home-side .mradio-section {
	margin-top: 0;
}

.mradio-with-side {
	grid-template-columns: minmax(0, 1fr) 18rem;
}

.mradio-with-side:not(:has(.mradio-with-side-aside *)) {
	grid-template-columns: 1fr;
}

.mradio-main > .mradio-layout-grid-2,
.mradio-with-side-aside .mradio-ad {
	margin-top: 1.5rem;
}

.mradio-with-side-aside .mradio-ad:first-child {
	margin-top: 0;
}

.mradio-more {
	margin: 1rem 0 0;
}

body.mradio-player-screen {
	display: flex;
	align-items: center;
	justify-content: safe center;
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--mradio-accent);
}

.mradio-player {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	width: min(100% - 2rem, 46rem);
	margin: 2rem auto;
	padding-bottom: 2rem;
}

.mradio-player > .mradio-ad {
	width: 100%;
	margin: 0;
}

.mradio-player-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
	width: 100%;
	padding: 2.5rem 1.5rem;
	background: #fff;
	border-radius: 1.25rem;
}

.mradio-player-logo,
.mradio-player-logo .custom-logo-link {
	display: block;
}

.mradio-player-logo .custom-logo,
.mradio-player-logo svg {
	display: block;
	width: 32rem;
	height: auto;
}

.mradio-player-logo svg {
	color: var(--mradio-accent);
}

.mradio-player-logo svg path,
.mradio-player-logo svg polygon,
.mradio-player-logo svg rect,
.mradio-player-logo svg circle,
.mradio-player-logo svg ellipse {
	fill: var(--mradio-accent);
}

.mradio-player-logo svg [fill="none"] {
	fill: none;
}

.mradio-player-logo svg [stroke]:not([stroke="none"]) {
	stroke: var(--mradio-accent);
}

.mradio-player-logo p {
	margin: 0;
	font: 700 1.5rem/1.2 Newsreader, serif;
	color: var(--mradio-accent);
}

.mradio-player-toggle {
	display: grid;
	place-items: center;
	width: 5.5rem;
	height: 5.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #282828;
	color: #fff;
	cursor: pointer;
}

.mradio-player-toggle .mradio-icon {
	width: 3rem;
	height: 3rem;
}

.mradio-player-toggle .mradio-icon-pause,
.mradio-player-toggle.is-playing .mradio-icon:not(.mradio-icon-pause) {
	display: none;
}

.mradio-player-toggle.is-playing .mradio-icon-pause {
	display: block;
}

.mradio-more a {
	display: inline-block;
	padding: 0.35rem 0.8rem;
	background: var(--mradio-accent);
	color: #fff;
	font: 0.85rem/1.2 system-ui, sans-serif;
	text-decoration: none;
}

.mradio-events time {
	color: var(--mradio-muted);
	white-space: nowrap;
}

.mradio-featured {
	margin: 1rem 0;
}

.mradio-single-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
}

.mradio-single-media {
	margin: 1.15rem 0 0;
}

.mradio-single-media img {
	display: block;
	width: 100%;
	height: 700px;
	object-fit: cover;
}

.mradio-single-split {
	display: grid;
	grid-template-columns: minmax(0, 70%) minmax(0, 30%);
	gap: 1.5rem 2rem;
	align-items: start;
	margin-top: 1.5rem;
}

.mradio-single-main,
.mradio-single-side {
	min-width: 0;
}

.mradio-single-date,
.mradio-single-date time {
	margin: 0;
	color: var(--mradio-muted);
	font-family: Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.2;
}

.mradio-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0.85rem 0;
}

.mradio-share a,
.mradio-share button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #A2A2A2;
	color: #fff;
	appearance: none;
	cursor: pointer;
	text-decoration: none;
}

.mradio-share a:hover {
	background: #3b3d42;
	color: #fff;
}

.mradio-share button.mradio-share-copy{
	background: transparent;
	color: #A2A2A2;
}

.mradio-share button.mradio-share-copy:hover {
	color: #3b3d42;
}

.mradio-share button.mradio-share-copy svg path {
	fill: currentColor;
}

.mradio-share .mradio-icon {
	width: 1rem;
	height: 1rem;
}

.mradio-share-copied {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	padding: 0.25rem 0.45rem;
	border-radius: 4px;
	background: #242424;
	color: #fff;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
}

.mradio-share-copied:empty {
	display: none;
}

.mradio-single-rule {
	margin: 1.35rem 0;
	border: 0;
	border-top: 1px solid #b8b8b8;
}

.mradio-single-side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.mradio-single-related {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.mradio-single-related > h2.mradio-section-title {
	margin: 0;
}

.mradio-single > .mradio-ad,
.mradio-single-main > .mradio-ad {
	margin: 0 0 1.25rem;
}

.mradio-single-main > .mradio-ad {
	margin-top: 0;
}

.mradio-single > .mradio-ad:last-of-type {
	margin: 2.25rem 0 0;
}

.mradio-ad-leaderboard > .rem-ad-slot[data-size="leaderboard_mobile"] {
	display: none;
}

.rem-ad-slot {
	display: block;
	width: 100%;
	min-height: 1px;
	line-height: 0;
}

.rem-ad-slot[data-size="leaderboard"],
.rem-ad-slot[data-size="leaderboard_mobile"] {
	min-height: 90px;
}

.rem-ad-slot[data-size="rectangle"] {
	min-height: 250px;
}

.rem-ad-slot[data-size="halfpage"] {
	min-height: 600px;
}

.rem-ad-slot a {
	display: inline-block;
	max-width: 100%;
}

.rem-ad-img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}

.mradio-events-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.5rem;
}

.mradio-single-events-more {
	margin: 1.25rem 0 0;
}

.mradio-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.mradio-content > *:first-child {
	margin-top: 0;
}

.mradio-catbar {
	background: #fff;
	color: var(--mradio-text);
}

.mradio-catbar-header {
	border-bottom: 1px solid #cfcfcf;
}

.mradio-catbar-footer {
	border-top: 1px solid #cfcfcf;
}

.mradio-catbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	width: min(100% - 2rem, var(--mradio-max));
	margin-inline: auto;
	padding: 0.65rem 0;
}

.mradio-catbar-menu {
	min-width: 0;
}

.mradio-catbar-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
}

.mradio-catbar-list a,
.mradio-catbar-links > a:not(.mradio-btn) {
	color: inherit;
	text-decoration: none;
}

.mradio-catbar-links {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 1rem;
	font-family: Roboto, sans-serif;
}

.mradio-footer {
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--mradio-muted);
	font: 0.9rem/1.4 system-ui, sans-serif;
}

.mradio-footer-panel {
	background: #3c3c3c;
	color: #fff;
}

.mradio-footer-panel-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem 3rem;
	align-items: start;
	width: min(100% - 2rem, var(--mradio-max));
	margin-inline: auto;
	padding: 6.25rem 0;
}

.mradio-footer-menus {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mradio-footer-menus .mradio-footer-menu + .mradio-footer-menu {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #6e6e6e;
}

.mradio-footer-list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
}

.mradio-footer-list a,
.mradio-footer-contact {
	color: #fff;
	text-decoration: none;
}

.mradio-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
}

.mradio-footer-contact {
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
}

.mradio-footer-credit {
	width: 100%;
	background: #000;
	color: #fff;
}

.mradio-footer-credit p {
	width: min(100% - 2rem, var(--mradio-max));
	margin: 0 auto;
	padding: 0.75rem 0;
	text-align: left;
	font-family: Roboto, sans-serif;
	font-size: 0.9rem;
}

.mradio-footer-credit a {
	color: #fff;
}

.mradio-footer-credit a span {
	text-decoration: underline;
}

.mradio-pagination {
	margin-top: 1.5rem;
	font-family: system-ui, sans-serif;
}

.mradio-empty {
	color: var(--mradio-muted);
}

@media (max-width: 700px) {
	.mradio-logo,
	.mradio-logo .custom-logo-link,
	.mradio-logo .custom-logo {
		width: 140px;
		max-width: 140px;
	}
}

@media (max-width: 800px) {
	.mradio-layout-destacada,
	.mradio-layout-mixtas,
	.mradio-layout-columnas,
	.mradio-layout-grid-2,
	.mradio-with-side,
	.mradio-home-split,
	.mradio-single-split,
	.mradio-events-grid,
	.mradio-footer-panel-inner {
		grid-template-columns: 1fr;
	}

	.mradio-single-media img {
		height: 260px;
	}

	.mradio-ad-leaderboard > .rem-ad-slot[data-size="leaderboard"] {
		display: none;
	}

	.mradio-ad-leaderboard > .rem-ad-slot[data-size="leaderboard_mobile"] {
		display: block;
	}

	.mradio-footer-brand {
		align-items: flex-start;
	}
}
