/* ═══════════════════════════════════════════════════════════════
   RWA Locutores (Radio Hosts) – Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Foundation ── */
.elementor-widget-rwa_locutores,
.elementor-widget-rwa_locutores .elementor-widget-container {
	width: 100% !important;
}

/* ── Section wrapper ── */
.rwa-locutores-section {
	width: 100%;
	position: relative;
}

.rwa-locutores-section__header {
	text-align: center;
	margin-bottom: 32px;
}

.rwa-locutores-section__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	color: #fff;
	letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════
   STATIC GRID MODE
   ═══════════════════════════════════════════════════════════════ */

.rwa-locutores--static {
	--rwa-loc-cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--rwa-loc-cols), 1fr);
	gap: 24px;
	width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL MODE
   ═══════════════════════════════════════════════════════════════ */

.rwa-loc__viewport {
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

.rwa-locutores--carousel {
	--rwa-loc-cols: 4;
	--rwa-loc-gap: 24px;
	--rwa-loc-gap-total: calc(var(--rwa-loc-gap) * (var(--rwa-loc-cols) - 1));
	display: flex !important;
	flex-wrap: nowrap;
	gap: var(--rwa-loc-gap);
	width: 100%;
	transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.rwa-loc__slide {
	flex: 0 0 calc((100% - var(--rwa-loc-gap-total)) / var(--rwa-loc-cols));
	width: calc((100% - var(--rwa-loc-gap-total)) / var(--rwa-loc-cols));
	min-width: 0;
	box-sizing: border-box;
}

/* ── Carousel Arrows ── */
.rwa-loc__arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(20, 20, 40, 0.85) 0%, rgba(10, 10, 30, 0.95) 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 14px;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	padding: 0;
	outline: none;
	transform: translateY(-50%);
	transition: all .35s cubic-bezier(.25,.46,.45,.94);
	box-shadow:
		0 4px 15px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rwa-loc__arrow-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .3s ease;
}

.rwa-loc__arrow:hover {
	background: linear-gradient(135deg, var(--rwa-accent, #00f5d4) 0%, rgba(0, 200, 170, 0.9) 100%);
	border-color: rgba(0, 245, 212, 0.6);
	color: #0a0a1a;
	transform: translateY(-50%) scale(1.08);
	box-shadow:
		0 6px 25px rgba(0, 245, 212, 0.4),
		0 0 40px rgba(0, 245, 212, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rwa-loc__arrow--prev:hover .rwa-loc__arrow-icon {
	transform: translateX(-2px);
}

.rwa-loc__arrow--next:hover .rwa-loc__arrow-icon {
	transform: translateX(2px);
}

.rwa-loc__arrow:active {
	transform: translateY(-50%) scale(0.95);
	transition-duration: .1s;
}

.rwa-loc__arrow--prev {
	left: -16px;
}

.rwa-loc__arrow--next {
	right: -16px;
}

.rwa-loc__arrow:disabled {
	opacity: .2;
	cursor: default;
	pointer-events: none;
	box-shadow: none;
}

/* ── Carousel Dots ── */
.rwa-loc__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
}

.rwa-loc__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.1);
	padding: 0;
	cursor: pointer;
	transition: all .3s ease;
}

.rwa-loc__dot:hover {
	background: rgba(255, 255, 255, 0.3);
}

.rwa-loc__dot--active {
	background: var(--rwa-accent, #00f5d4);
	border-color: var(--rwa-accent, #00f5d4);
	transform: scale(1.2);
	box-shadow: 0 0 8px rgba(0, 245, 212, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   SHARED: LEGACY .rwa-locutores grid fallback
   ═══════════════════════════════════════════════════════════════ */

.rwa-locutores {
	--rwa-loc-cols: 4;
}

/* ── Card ── */
.rwa-locutor-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.rwa-locutor-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	border-color: rgba(0, 245, 212, 0.3);
}

/* ── Photo ── */
.rwa-locutor-card__photo {
	position: relative;
	width: 100%;
	padding-top: 100%; /* 1:1 aspect ratio */
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
}

.rwa-locutor-card__photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.rwa-locutor-card:hover .rwa-locutor-card__photo img {
	transform: scale(1.06);
}

.rwa-locutor-card__placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.25);
}

/* ── Info ── */
.rwa-locutor-card__info {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

/* ── Name ── */
.rwa-locutor-card__name {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	color: #fff;
	line-height: 1.3;
}

/* ── Role badge ── */
.rwa-locutor-card__role {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--rwa-accent, #00f5d4);
	background: rgba(0, 245, 212, 0.1);
	border: 1px solid rgba(0, 245, 212, 0.2);
	padding: 3px 10px;
	border-radius: 20px;
	align-self: flex-start;
}

/* ── Schedule ── */
.rwa-locutor-card__schedule {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

.rwa-locutor-card__schedule svg {
	flex-shrink: 0;
	opacity: .7;
}

/* ── Bio ── */
.rwa-locutor-card__bio {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	margin: 4px 0 0;
}

/* ── Social links ── */
.rwa-locutor-card__socials {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
}

.rwa-locutor-card__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.7);
	transition: all .25s ease;
	text-decoration: none;
}

.rwa-locutor-card__social svg {
	width: 16px;
	height: 16px;
}

.rwa-locutor-card__social:hover {
	background: var(--rwa-accent, #00f5d4);
	border-color: var(--rwa-accent, #00f5d4);
	color: #0a0a1a;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 245, 212, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   TABLE / LIST MODE
   ═══════════════════════════════════════════════════════════════ */

.rwa-locutores-section--table {
	background: rgba(10, 10, 20, 0.5);
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	overflow: hidden;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.rwa-locutores-section--table .rwa-locutores-section__header {
	padding: 24px 20px 0;
	text-align: left;
	margin-bottom: 8px;
}

/* ── Column Headers ── */
.rwa-loc-table__head {
	display: grid;
	grid-template-columns: 60px 1fr 1fr 1fr auto;
	align-items: center;
	padding: 8px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.4);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	gap: 0 16px;
}

/* ── Rows ── */
.rwa-loc-table__body {
	display: flex;
	flex-direction: column;
}

.rwa-loc-table__row {
	display: grid;
	grid-template-columns: 60px 1fr 1fr 1fr auto;
	align-items: center;
	padding: 12px 20px;
	gap: 0 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	transition: background .2s;
	min-height: 64px;
}

.rwa-loc-table__row:last-child {
	border-bottom: 0;
}

.rwa-loc-table__row:hover {
	background: rgba(255, 255, 255, 0.03);
}

/* ── Avatar ── */
.rwa-loc-table__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
	flex-shrink: 0;
}

.rwa-loc-table__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rwa-loc-table__avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.2);
}

/* ── Name cell ── */
.rwa-loc-table__cell--name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.rwa-loc-table__name {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rwa-loc-table__bio {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.4;
}

/* ── Role cell ── */
.rwa-loc-table__role-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--rwa-accent, #00f5d4);
	background: rgba(0, 245, 212, 0.1);
	border: 1px solid rgba(0, 245, 212, 0.2);
	padding: 3px 10px;
	border-radius: 20px;
}

/* ── Schedule cell ── */
.rwa-loc-table__schedule {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.rwa-loc-table__schedule svg {
	flex-shrink: 0;
	opacity: .6;
}

/* ── Social links cell ── */
.rwa-loc-table__social-links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.rwa-loc-table__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	transition: all .25s ease;
	text-decoration: none;
}

.rwa-loc-table__social-link svg {
	width: 14px;
	height: 14px;
}

.rwa-loc-table__social-link:hover {
	background: var(--rwa-accent, #00f5d4);
	border-color: var(--rwa-accent, #00f5d4);
	color: #0a0a1a;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(0, 245, 212, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   TABLE RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
	.rwa-loc-table__head,
	.rwa-loc-table__row {
		grid-template-columns: 56px 1fr 1fr auto;
	}
	.rwa-loc-table__th--schedule,
	.rwa-loc-table__cell--schedule {
		display: none;
	}
}

@media (max-width: 768px) {
	.rwa-loc-table__head,
	.rwa-loc-table__row {
		grid-template-columns: 48px 1fr auto;
		gap: 0 12px;
		padding: 10px 16px;
	}
	.rwa-loc-table__th--role,
	.rwa-loc-table__cell--role,
	.rwa-loc-table__th--schedule,
	.rwa-loc-table__cell--schedule {
		display: none;
	}
	.rwa-loc-table__avatar {
		width: 42px;
		height: 42px;
	}
	.rwa-loc-table__name {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.rwa-loc-table__head {
		display: none;
	}
	.rwa-loc-table__row {
		grid-template-columns: 40px 1fr auto;
		padding: 8px 12px;
		min-height: 56px;
	}
	.rwa-loc-table__avatar {
		width: 38px;
		height: 38px;
	}
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
	.rwa-locutores--static {
		--rwa-loc-cols: 3 !important;
	}
	.rwa-locutores--carousel {
		--rwa-loc-cols: 3 !important;
	}
}

@media (max-width: 768px) {
	.rwa-locutores--static {
		--rwa-loc-cols: 2 !important;
		gap: 16px;
	}
	.rwa-locutores--carousel {
		--rwa-loc-cols: 2 !important;
		--rwa-loc-gap: 16px !important;
	}
	.rwa-locutor-card__info {
		padding: 16px;
	}
	.rwa-locutor-card__name {
		font-size: 16px;
	}
	.rwa-loc__arrow {
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}
	.rwa-loc__arrow--prev {
		left: -6px;
	}
	.rwa-loc__arrow--next {
		right: -6px;
	}
}

@media (max-width: 480px) {
	.rwa-locutores--static {
		--rwa-loc-cols: 1 !important;
	}
	.rwa-locutores--carousel {
		--rwa-loc-cols: 1 !important;
	}
	.rwa-loc__arrow--prev {
		left: 4px;
	}
	.rwa-loc__arrow--next {
		right: 4px;
	}
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT MODE
   ═══════════════════════════════════════════════════════════════ */

body.rwa-light-mode .rwa-locutores-section__title {
	color: #1a1a2e;
}

body.rwa-light-mode .rwa-locutor-card {
	background: #fff;
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.rwa-light-mode .rwa-locutor-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	border-color: rgba(0, 245, 212, 0.4);
}

body.rwa-light-mode .rwa-locutor-card__photo {
	background: #f0f0f4;
}

body.rwa-light-mode .rwa-locutor-card__placeholder {
	background: #f0f0f4;
	color: rgba(0, 0, 0, 0.25);
}

body.rwa-light-mode .rwa-locutor-card__name {
	color: #1a1a2e;
}

body.rwa-light-mode .rwa-locutor-card__role {
	color: #0073aa;
	background: rgba(0, 115, 170, 0.08);
	border-color: rgba(0, 115, 170, 0.2);
}

body.rwa-light-mode .rwa-locutor-card__schedule {
	color: rgba(0, 0, 0, 0.55);
}

body.rwa-light-mode .rwa-locutor-card__bio {
	color: rgba(0, 0, 0, 0.6);
}

body.rwa-light-mode .rwa-locutor-card__social {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.1);
	color: rgba(0, 0, 0, 0.6);
}

body.rwa-light-mode .rwa-locutor-card__social:hover {
	background: #0073aa;
	border-color: #0073aa;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* ── Light mode: Carousel ── */
body.rwa-light-mode .rwa-loc__arrow {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 250, 0.98) 100%);
	border-color: rgba(0, 0, 0, 0.1);
	color: #333;
	box-shadow:
		0 3px 12px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 1);
}

body.rwa-light-mode .rwa-loc__arrow:hover {
	background: linear-gradient(135deg, #0073aa 0%, #005f8e 100%);
	border-color: #0073aa;
	color: #fff;
	box-shadow:
		0 6px 20px rgba(0, 115, 170, 0.35),
		0 0 30px rgba(0, 115, 170, 0.1);
}

body.rwa-light-mode .rwa-loc__dot {
	border-color: rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 0, 0.08);
}

body.rwa-light-mode .rwa-loc__dot:hover {
	background: rgba(0, 0, 0, 0.2);
}

body.rwa-light-mode .rwa-loc__dot--active {
	background: #0073aa;
	border-color: #0073aa;
	box-shadow: 0 0 8px rgba(0, 115, 170, 0.3);
}

/* ── Light mode: Table ── */
body.rwa-light-mode .rwa-locutores-section--table {
	background: rgba(255, 255, 255, 0.85);
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.rwa-light-mode .rwa-loc-table__head {
	color: rgba(0, 0, 0, 0.4);
	border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.rwa-light-mode .rwa-loc-table__row {
	border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.rwa-light-mode .rwa-loc-table__row:hover {
	background: rgba(0, 0, 0, 0.02);
}

body.rwa-light-mode .rwa-loc-table__avatar {
	background: #f0f0f4;
}

body.rwa-light-mode .rwa-loc-table__avatar-placeholder {
	background: #f0f0f4;
	color: rgba(0, 0, 0, 0.2);
}

body.rwa-light-mode .rwa-loc-table__name {
	color: #1a1a2e;
}

body.rwa-light-mode .rwa-loc-table__bio {
	color: rgba(0, 0, 0, 0.45);
}

body.rwa-light-mode .rwa-loc-table__role-badge {
	color: #0073aa;
	background: rgba(0, 115, 170, 0.08);
	border-color: rgba(0, 115, 170, 0.2);
}

body.rwa-light-mode .rwa-loc-table__schedule {
	color: rgba(0, 0, 0, 0.5);
}

body.rwa-light-mode .rwa-loc-table__social-link {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.1);
	color: rgba(0, 0, 0, 0.5);
}

body.rwa-light-mode .rwa-loc-table__social-link:hover {
	background: #0073aa;
	border-color: #0073aa;
	color: #fff;
	box-shadow: 0 3px 10px rgba(0, 115, 170, 0.3);
}
