/**
 * Radio Web Asi - Main Stylesheet
 * Uses CSS custom properties (variables) defined in skins.php
 *
 * @package RadioWebAsi
 * @since 1.0.0
 */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--rwa-font-secondary, 'Open Sans', sans-serif);
	font-size: var(--rwa-font-size, 16px);
	line-height: 1.7;
	color: var(--rwa-text, #cccccc);
	background-color: var(--rwa-body-bg, #0a0a0a);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--rwa-links, var(--rwa-primary));
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--rwa-accent);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rwa-font-primary, 'Montserrat', sans-serif);
	color: var(--rwa-headings, #ffffff);
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 0.5em;
}

h1 { font-size: var(--rwa-h1-size, 42px); }
h2 { font-size: var(--rwa-h2-size, 32px); }
h3 { font-size: var(--rwa-h3-size, 24px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
	margin-bottom: 1em;
}

/* ==========================================================================
   2. LAYOUT
   ========================================================================== */
.rwa-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.rwa-layout {
	display: flex;
	gap: 30px;
	padding: 40px 0;
}

.rwa-layout--full {
	display: block;
}

.rwa-layout--sidebar-right {
	flex-direction: row;
}

.rwa-layout--sidebar-left {
	flex-direction: row-reverse;
}

.rwa-content {
	flex: 1;
	min-width: 0;
}

.rwa-sidebar {
	width: 320px;
	flex-shrink: 0;
	background: var(--rwa-sidebar-bg, #111122);
	border-radius: 12px;
	padding: 25px;
	align-self: flex-start;
	position: sticky;
	top: 100px;
}

/* ==========================================================================
   3. HEADER TOP
   ========================================================================== */
.rwa-header-top {
	background: var(--rwa-header-top-bg, var(--rwa-primary));
	color: var(--rwa-header-top-text, #ffffff);
	font-size: 13px;
	padding: 6px 0;
}

.rwa-header-top__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.rwa-header-top__left {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.rwa-header-top__right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.rwa-header-top__phone,
.rwa-header-top__email {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--rwa-header-top-text, #ffffff);
	opacity: 0.9;
	transition: opacity 0.3s;
}

.rwa-header-top__phone:hover,
.rwa-header-top__email:hover {
	opacity: 1;
	color: var(--rwa-header-top-text, #ffffff);
}

.rwa-header-top__menu {
	display: flex;
	list-style: none;
	gap: 15px;
}

.rwa-header-top__menu a {
	color: var(--rwa-header-top-text, #ffffff);
	font-size: 12px;
	opacity: 0.85;
}

.rwa-header-top__menu a:hover {
	opacity: 1;
}

/* ==========================================================================
   4. HEADER MAIN
   ========================================================================== */
.rwa-header {
	background: var(--rwa-header-bg, #0f0f23);
	color: var(--rwa-header-text, #ffffff);
	padding: 0;
	position: relative;
	z-index: 1000;
	transition: all 0.3s ease;
}

.rwa-header--sticky {
	position: sticky;
	top: 0;
}

.rwa-header--sticky.scrolled {
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
}

.rwa-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 70px;
	gap: 20px;
}

/* Header Layout: Centered */
.rwa-header--centered .rwa-header__inner {
	flex-direction: column;
	padding: 15px 0;
}

/* Header Layout: Stacked */
.rwa-header--stacked .rwa-header__inner {
	flex-direction: column;
	padding: 15px 0;
}

.rwa-header--stacked .rwa-header__nav {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 10px;
	width: 100%;
}

.rwa-header--stacked .rwa-main-menu {
	justify-content: center;
}

/* Brand */
.rwa-header__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rwa-header__logo-img {
	max-height: var(--rwa-logo-height, 55px);
	width: auto;
}

.rwa-header__site-title {
	font-family: var(--rwa-font-primary);
	font-size: 24px;
	font-weight: 800;
	color: var(--rwa-header-text, #ffffff);
	letter-spacing: -0.5px;
}

.rwa-header__site-title:hover {
	color: var(--rwa-primary);
}

.rwa-header__description {
	font-size: 12px;
	opacity: 0.7;
	margin: 0;
}

/* Navigation */
.rwa-header__nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.rwa-main-menu {
	display: flex;
	list-style: none;
	gap: 0;
	margin: 0;
	padding: 0;
}

.rwa-main-menu > li {
	position: relative;
}

.rwa-main-menu > li > a {
	display: block;
	padding: 22px 16px;
	color: var(--rwa-menu-text, var(--rwa-header-text, #ffffff));
	font-family: var(--rwa-font-primary);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	position: relative;
}

.rwa-main-menu > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: var(--rwa-menu-accent, var(--rwa-primary));
	border-radius: 3px 3px 0 0;
	transition: width 0.3s ease;
}

.rwa-main-menu > li:hover > a::after,
.rwa-main-menu > li.current-menu-item > a::after {
	width: 100%;
}

.rwa-main-menu > li:hover > a {
	color: var(--rwa-menu-accent, var(--rwa-primary));
}

/* Submenus */
.rwa-main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--rwa-header-bg, #0f0f23);
	border-top: 3px solid var(--rwa-menu-accent, var(--rwa-primary));
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	list-style: none;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 999;
}

.rwa-main-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rwa-main-menu .sub-menu a {
	display: block;
	padding: 10px 20px;
	color: var(--rwa-menu-text, var(--rwa-header-text, #ffffff));
	font-size: 13px;
	font-weight: 500;
	transition: all 0.3s;
}

.rwa-main-menu .sub-menu a:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--rwa-menu-accent, var(--rwa-primary));
	padding-left: 25px;
}

/* Nested submenus */
.rwa-main-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

/* Header Actions */
.rwa-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rwa-header__search-toggle {
	background: none;
	border: none;
	color: var(--rwa-header-text, #ffffff);
	cursor: pointer;
	padding: 8px;
	border-radius: 50%;
	transition: all 0.3s;
}

.rwa-header__search-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--rwa-primary);
}

/* Mobile Toggle */
.rwa-header__mobile-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
}

.rwa-hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.rwa-hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--rwa-header-text, #ffffff);
	transition: all 0.3s ease;
	border-radius: 2px;
}

.rwa-hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.rwa-hamburger.active span:nth-child(2) {
	opacity: 0;
}

.rwa-hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Overlay */
.rwa-search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.95);
	padding: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	height: 80px;
	transform: translateY(-100%);
	transition: transform 0.4s ease;
}

.rwa-search-overlay.active {
	transform: translateY(0);
}

.rwa-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.rwa-search-form__input {
	flex: 1;
	background: transparent;
	border: none;
	border-bottom: 2px solid var(--rwa-primary);
	color: #ffffff;
	font-size: 20px;
	padding: 10px 0;
	outline: none;
	font-family: var(--rwa-font-primary);
}

.rwa-search-form__submit,
.rwa-search-form__close {
	background: none;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: 10px;
	transition: color 0.3s;
}

.rwa-search-form__submit:hover,
.rwa-search-form__close:hover {
	color: var(--rwa-primary);
}

/* ==========================================================================
   5. POSTS GRID / CARDS
   ========================================================================== */
.rwa-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.rwa-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.rwa-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	border-color: rgba(var(--rwa-primary), 0.3);
}

.rwa-card__thumbnail {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.rwa-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.rwa-card:hover .rwa-card__img {
	transform: scale(1.05);
}

.rwa-card__category {
	position: absolute;
	top: 12px;
	left: 12px;
}

.rwa-card__category a {
	display: inline-block;
	background: var(--rwa-primary);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.rwa-card__body {
	padding: 20px;
}

.rwa-card__title {
	font-size: 18px;
	margin-bottom: 10px;
}

.rwa-card__title a {
	color: var(--rwa-headings);
}

.rwa-card__title a:hover {
	color: var(--rwa-primary);
}

.rwa-card__meta {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 13px;
	opacity: 0.7;
	margin-bottom: 12px;
}

.rwa-card__date,
.rwa-card__author {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.rwa-card__author img {
	border-radius: 50%;
}

.rwa-card__excerpt {
	font-size: 14px;
	opacity: 0.8;
	margin-bottom: 15px;
	line-height: 1.6;
}

/* ==========================================================================
   6. SINGLE POST
   ========================================================================== */
.rwa-single__header {
	margin-bottom: 30px;
}

.rwa-single__category a {
	display: inline-block;
	background: var(--rwa-primary);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 4px;
	margin-bottom: 15px;
}

.rwa-single__title {
	font-size: var(--rwa-h1-size, 42px);
	line-height: 1.2;
	margin-bottom: 20px;
}

.rwa-single__meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 14px;
	opacity: 0.8;
}

.rwa-single__author {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.rwa-single__author img {
	border-radius: 50%;
}

.rwa-single__thumbnail {
	margin-bottom: 30px;
	border-radius: 12px;
	overflow: hidden;
}

.rwa-single__img {
	width: 100%;
	border-radius: 12px;
}

.rwa-single__content {
	font-size: var(--rwa-font-size, 16px);
	line-height: 1.8;
}

.rwa-single__content p {
	margin-bottom: 1.5em;
}

.rwa-single__content blockquote {
	border-left: 4px solid var(--rwa-primary);
	padding: 15px 25px;
	margin: 25px 0;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0 8px 8px 0;
	font-style: italic;
}

.rwa-single__footer {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 30px;
	padding-top: 20px;
}

.rwa-single__tags a {
	display: inline-block;
	background: rgba(255, 255, 255, 0.05);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 13px;
	margin: 3px;
	transition: all 0.3s;
}

.rwa-single__tags a:hover {
	background: var(--rwa-primary);
	color: #ffffff;
}

/* Post navigation */
.rwa-post-nav {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rwa-post-nav .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.rwa-post-nav__label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	opacity: 0.6;
	margin-bottom: 4px;
}

.rwa-post-nav__title {
	font-weight: 600;
	color: var(--rwa-headings);
}

/* ==========================================================================
   7. PAGE
   ========================================================================== */
.rwa-page__header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rwa-page__content {
	line-height: 1.8;
}

.rwa-page-header {
	padding: 30px 0 10px;
}

.rwa-page-title {
	font-size: var(--rwa-h1-size, 42px);
}

.rwa-page-description {
	margin-top: 10px;
	opacity: 0.7;
}

/* ==========================================================================
   8. 404
   ========================================================================== */
.rwa-404 {
	text-align: center;
	padding: 80px 20px;
}

.rwa-404__title {
	font-size: 120px;
	font-weight: 900;
	color: var(--rwa-primary);
	line-height: 1;
	margin: 20px 0;
}

.rwa-404__text {
	font-size: 18px;
	margin-bottom: 30px;
	opacity: 0.7;
}

/* ==========================================================================
   9. BUTTONS
   ========================================================================== */
.rwa-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	font-family: var(--rwa-font-primary);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.rwa-button--primary {
	background: var(--rwa-btn-bg, var(--rwa-primary));
	color: var(--rwa-btn-text, #ffffff);
}

.rwa-button--primary:hover {
	background: var(--rwa-btn-hover, var(--rwa-accent));
	color: var(--rwa-btn-text, #ffffff);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.rwa-button--small {
	padding: 8px 18px;
	font-size: 12px;
	background: var(--rwa-btn-bg, var(--rwa-primary));
	color: var(--rwa-btn-text, #ffffff);
}

.rwa-button--small:hover {
	background: var(--rwa-btn-hover, var(--rwa-accent));
	color: var(--rwa-btn-text, #ffffff);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.rwa-footer {
	background: var(--rwa-footer-bg, #0a0a1a);
	color: var(--rwa-footer-text, #aaaaaa);
	margin-top: 60px;
}

.rwa-footer__widgets {
	padding: 50px 0 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rwa-footer__widgets-grid {
	display: grid;
	gap: 30px;
}

.rwa-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.rwa-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.rwa-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.rwa-grid--1 {
	grid-template-columns: 1fr;
}

.rwa-footer__bottom {
	padding: 25px 0;
}

.rwa-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
}

.rwa-footer__logo img {
	max-height: 40px;
}

.rwa-footer__site-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--rwa-primary);
	letter-spacing: 0.5px;
}

.rwa-footer__copyright {
	font-size: 14px;
	opacity: 0.7;
}

.rwa-footer-menu {
	display: flex;
	list-style: none;
	gap: 20px;
}

.rwa-footer-menu a {
	color: var(--rwa-footer-text);
	font-size: 14px;
	transition: color 0.3s;
}

.rwa-footer-menu a:hover {
	color: var(--rwa-primary);
}

/* ── Footer Credit ── */
.rwa-footer__credit {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 0.5px;
	opacity: 0.5;
	transition: opacity 0.3s ease;
	width: 100%;
	justify-content: center;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	margin-top: 5px;
}

.rwa-footer__credit:hover {
	opacity: 1;
}

.rwa-footer__credit-label {
	color: var(--rwa-footer-text, #aaa);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: 1.5px;
}

.rwa-footer__credit-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--rwa-footer-text, #aaa);
	text-decoration: none;
	font-weight: 600;
	background: linear-gradient(135deg, var(--rwa-primary, #ff6b35), var(--rwa-accent, #00f5d4));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all 0.3s ease;
}

.rwa-footer__credit-link:hover {
	filter: brightness(1.3);
}

.rwa-footer__credit-icon {
	stroke: var(--rwa-primary, #ff6b35);
	transition: transform 0.3s ease;
}

.rwa-footer__credit-link:hover .rwa-footer__credit-icon {
	transform: rotate(15deg) scale(1.1);
}

body.rwa-light-mode .rwa-footer__credit {
	border-top-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   11. WIDGETS
   ========================================================================== */
.rwa-widget {
	margin-bottom: 25px;
}

.rwa-widget__title {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-bottom: 12px;
	margin-bottom: 15px;
	border-bottom: 2px solid var(--rwa-primary);
	position: relative;
}

.rwa-widget ul {
	list-style: none;
	padding: 0;
}

.rwa-widget ul li {
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rwa-widget ul li a {
	font-size: 14px;
}

/* ==========================================================================
   12. SOCIAL LINKS
   ========================================================================== */
.rwa-social {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.rwa-social--small {
	gap: 4px;
}

.rwa-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 0;
	line-height: 1;
	transition: all 0.3s ease;
}

.rwa-social__link svg {
	flex-shrink: 0;
}

.rwa-social--small .rwa-social__link {
	width: 28px;
	height: 28px;
}

.rwa-social__link:hover {
	background: var(--rwa-primary);
	color: #ffffff;
	transform: translateY(-3px);
}

/* ==========================================================================
   13. PAGINATION
   ========================================================================== */
.rwa-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-top: 40px;
	padding-top: 30px;
}

.rwa-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--rwa-text);
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s;
}

.rwa-pagination .page-numbers:hover,
.rwa-pagination .page-numbers.current {
	background: var(--rwa-primary);
	color: #ffffff;
}

/* ==========================================================================
   14. COMMENTS
   ========================================================================== */
.rwa-comments {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rwa-comments__title {
	font-size: 22px;
	margin-bottom: 25px;
}

.rwa-comment-list {
	list-style: none;
	padding: 0;
}

.rwa-comment-list .comment {
	padding: 20px;
	margin-bottom: 15px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
}

/* Comment form */
.rwa-comments .comment-form input[type="text"],
.rwa-comments .comment-form input[type="email"],
.rwa-comments .comment-form input[type="url"],
.rwa-comments .comment-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--rwa-text);
	padding: 12px 16px;
	border-radius: 6px;
	font-family: var(--rwa-font-secondary);
	font-size: 14px;
	transition: border-color 0.3s;
}

.rwa-comments .comment-form input:focus,
.rwa-comments .comment-form textarea:focus {
	border-color: var(--rwa-primary);
	outline: none;
}

.rwa-comments .comment-form .submit {
	background: var(--rwa-btn-bg, var(--rwa-primary));
	color: var(--rwa-btn-text, #ffffff);
	border: none;
	padding: 12px 30px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.rwa-comments .comment-form .submit:hover {
	background: var(--rwa-btn-hover, var(--rwa-accent));
}

/* ==========================================================================
   15. SEARCH RESULTS
   ========================================================================== */
.rwa-search-result {
	margin-bottom: 20px;
}

.rwa-search-result__inner {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: border-color 0.3s;
}

.rwa-search-result__inner:hover {
	border-color: var(--rwa-primary);
}

.rwa-search-result__thumb {
	width: 120px;
	flex-shrink: 0;
}

.rwa-search-result__thumb img {
	border-radius: 6px;
}

.rwa-search-result__title {
	font-size: 18px;
	margin-bottom: 5px;
}

.rwa-search-result__meta {
	font-size: 13px;
	opacity: 0.6;
	margin-bottom: 8px;
}

.rwa-search-result__meta span {
	margin-right: 10px;
}

/* ==========================================================================
   16. BACK TO TOP
   ========================================================================== */
.rwa-back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--rwa-primary);
	color: #ffffff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: 999;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rwa-back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rwa-back-to-top:hover {
	background: var(--rwa-accent);
	transform: translateY(-3px);
}

/* ==========================================================================
   17. NO RESULTS
   ========================================================================== */
.rwa-no-results {
	text-align: center;
	padding: 60px 20px;
}

.rwa-no-results__title {
	font-size: 28px;
	margin-bottom: 15px;
}

/* ==========================================================================
   18. ELEMENTOR COMPATIBILITY
   ========================================================================== */
.rwa-main--fullwidth {
	padding: 0;
}

.rwa-main--fullwidth .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1200px;
}

.rwa-main--canvas {
	padding: 0;
	margin: 0;
}

/* ==========================================================================
   19. SKIP LINK
   ========================================================================== */
.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	background: var(--rwa-primary);
	color: #ffffff;
	padding: 10px 20px;
	z-index: 99999;
	font-weight: 600;
}

.skip-link:focus {
	top: 0;
}

/* ==========================================================================
   20. ENTRY CONTENT (Gutenberg)
   ========================================================================== */
.entry-content .alignwide {
	margin-left: -50px;
	margin-right: -50px;
	max-width: calc(100% + 100px);
}

.entry-content .alignfull {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	max-width: 100vw;
}

/* ==========================================================================
   Header Metro Style
   ========================================================================== */

.rwa-header-metro {
	position: relative;
	z-index: 1000;
}

.rwa-header-metro.rwa-header--sticky {
	position: sticky;
	top: 0;
}

.rwa-header-metro.rwa-header--sticky.scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* ── Collapsed state on scroll ── */
.rwa-metro__brand-row {
	background: var(--rwa-header-bg, #0f0f23);
	padding: 16px 0;
	position: relative;
	overflow: hidden;
	max-height: 200px;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
	            padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity 0.4s ease;
}

.rwa-metro__brand-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	gap: 20px;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity 0.35s ease;
}

.rwa-header-metro.scrolled .rwa-metro__brand-row {
	max-height: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

.rwa-header-metro.scrolled .rwa-metro__brand-inner {
	transform: translateY(-20px) scale(0.97);
	opacity: 0;
}

.rwa-header-metro.scrolled .rwa-metro__nav-row {
	background: var(--rwa-header-bg, #0f0f23);
	border-top-color: transparent;
}

.rwa-header-metro.scrolled .rwa-metro__nav-inner {
	gap: 16px;
}

/* Mini logo — hidden by default, fades in when scrolled */
.rwa-metro__mini-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	opacity: 0;
	max-width: 0;
	overflow: hidden;
	transform: translateX(-10px);
	transition: opacity 0.4s ease 0.15s,
	            max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
	            transform 0.4s ease 0.15s;
}

.rwa-metro__mini-logo img {
	height: 34px;
	width: auto;
}

.rwa-header-metro.scrolled .rwa-metro__mini-logo {
	opacity: 1;
	max-width: 150px;
	transform: translateX(0);
}

.rwa-metro__brand-row .rwa-container {
	position: relative;
	z-index: 1;
}

/* ═══════════════════════════════════════════
   Metro Equalizer: GIF Background
   ═══════════════════════════════════════════ */

.rwa-metro__eq {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 45%;
	z-index: 0;
	pointer-events: none;
	background: url('../../../../uploads/2026/03/equalizer.gif') left bottom / auto 100% repeat-x;
	opacity: 0.3;
	mix-blend-mode: screen;
}

body.rwa-light-mode .rwa-metro__eq {
	opacity: 0.18;
	mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
	.rwa-metro__eq {
		display: none;
	}
}

/* ── Left: App Buttons (elegant cards) ── */
.rwa-metro__left {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.rwa-metro__apps {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rwa-metro__app-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(8px);
	color: #ffffff;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.rwa-metro__app-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--rwa-primary, #ff6b35);
	box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
	transform: translateY(-2px);
}

.rwa-metro__app-btn svg {
	flex-shrink: 0;
	opacity: 0.9;
}

.rwa-metro__app-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.rwa-metro__app-text small {
	font-size: 9px;
	opacity: 0.65;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rwa-metro__app-text strong {
	font-size: 14px;
	font-weight: 700;
}

/* ── Center: Logo ── */
.rwa-metro__center {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rwa-metro__logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.rwa-metro__logo-img {
	max-height: var(--rwa-logo-height, 70px);
	width: auto;
	transition: transform 0.3s ease;
}

.rwa-metro__logo:hover .rwa-metro__logo-img {
	transform: scale(1.03);
}

.rwa-metro__site-name {
	font-family: var(--rwa-font-primary, sans-serif);
	font-size: 28px;
	font-weight: 800;
	color: var(--rwa-header-text, #ffffff);
	letter-spacing: -0.5px;
}

/* ── Right: Social + Search ── */
.rwa-metro__right {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.rwa-metro__right .rwa-social {
	display: flex;
	gap: 6px;
}

.rwa-metro__right .rwa-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--rwa-header-text, #ffffff);
	transition: all 0.25s ease;
}

.rwa-metro__right .rwa-social__link:hover {
	background: var(--rwa-primary, #ff6b35);
	transform: translateY(-2px);
}

.rwa-metro__search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.08);
	color: var(--rwa-header-text, #ffffff);
	cursor: pointer;
	transition: all 0.2s ease;
}

.rwa-metro__search-btn:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.3);
}

/* ── Nav Row ── */
.rwa-metro__nav-row {
	background: color-mix(in srgb, var(--rwa-header-bg, #0f0f23) 85%, #000);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rwa-metro__nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
}

.rwa-metro__nav {
	flex: 1;
}

.rwa-main-menu--metro {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.rwa-main-menu--metro > li > a {
	display: block;
	padding: 12px 18px;
	color: var(--rwa-menu-text, var(--rwa-header-text, #ffffff));
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.rwa-main-menu--metro > li > a:hover,
.rwa-main-menu--metro > li.current-menu-item > a {
	color: var(--rwa-menu-accent, var(--rwa-primary, #ff6b35));
	background: rgba(255, 255, 255, 0.05);
}

/* Sub-menus inherit from base .rwa-main-menu (already styled in main.css) */
.rwa-main-menu--metro .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--rwa-header-bg, #0f0f23);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 8px 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 100;
}

.rwa-main-menu--metro > li {
	position: relative;
}

.rwa-main-menu--metro > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rwa-main-menu--metro .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: var(--rwa-header-text, #ffffff);
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.rwa-main-menu--metro .sub-menu a:hover {
	color: var(--rwa-primary, #ff6b35);
	background: rgba(255, 255, 255, 0.05);
	padding-left: 22px;
}

.rwa-metro__nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

/* ── Metro Light Mode ── */
body.rwa-light-mode .rwa-metro__brand-row {
	background: var(--rwa-header-bg, #ffffff);
}

body.rwa-light-mode .rwa-metro__app-btn {
	border-color: rgba(0, 0, 0, 0.12);
	background: rgba(0, 0, 0, 0.04);
	color: var(--rwa-header-text, #333);
}

body.rwa-light-mode .rwa-metro__app-btn:hover {
	background: rgba(0, 0, 0, 0.08);
	border-color: var(--rwa-primary, #ff6b35);
	box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

body.rwa-light-mode .rwa-metro__app-link {
	color: var(--rwa-header-text, #333);
}

body.rwa-light-mode .rwa-metro__site-name {
	color: var(--rwa-header-text, #333);
}

body.rwa-light-mode .rwa-metro__right .rwa-social__link {
	background: rgba(0, 0, 0, 0.06);
	color: var(--rwa-header-text, #333);
}

body.rwa-light-mode .rwa-metro__right .rwa-social__link:hover {
	background: var(--rwa-primary, #ff6b35);
	color: #fff;
}

body.rwa-light-mode .rwa-metro__search-btn {
	border-color: rgba(0, 0, 0, 0.12);
	background: rgba(0, 0, 0, 0.04);
	color: var(--rwa-header-text, #333);
}

body.rwa-light-mode .rwa-metro__nav-row {
	background: color-mix(in srgb, var(--rwa-header-bg, #ffffff) 95%, #000);
	border-top-color: rgba(0, 0, 0, 0.08);
}

body.rwa-light-mode .rwa-header-metro.scrolled .rwa-metro__nav-row {
	background: var(--rwa-header-bg, #ffffff);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.rwa-light-mode .rwa-main-menu--metro > li > a {
	color: var(--rwa-header-text, #333);
}

body.rwa-light-mode .rwa-main-menu--metro > li > a:hover,
body.rwa-light-mode .rwa-main-menu--metro > li.current-menu-item > a {
	color: var(--rwa-primary, #ff6b35);
	background: rgba(0, 0, 0, 0.04);
}

body.rwa-light-mode .rwa-main-menu--metro .sub-menu {
	background: #fff;
	border-color: rgba(0, 0, 0, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body.rwa-light-mode .rwa-main-menu--metro .sub-menu a {
	color: #333;
}

body.rwa-light-mode .rwa-main-menu--metro .sub-menu a:hover {
	color: var(--rwa-primary, #ff6b35);
	background: rgba(0, 0, 0, 0.03);
}
