:root {
	--rv-bg: #141313;
	--rv-card: #292a30;
	--rv-card-deep: #202126;
	--rv-text: #f8f3ea;
	--rv-ink: #fff8f1;
	--rv-muted: #d6ba9c;
	--rv-line: #3b3c43;
	--rv-gold: #e6b85c;
	--rv-gold-soft: #ffe2bd;
	--rv-accent: #e6b85c;
	--rv-red: #d10404;
	--rv-red-soft: #ff3b30;
	--rv-radius: 12px;
	--rv-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	color: var(--rv-ink);
	background-color: #9c622d;
	direction: rtl;
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: 0;
	text-align: center;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -2;
	content: "";
	background:
		linear-gradient(rgba(156, 98, 45, 0.2), rgba(20, 19, 19, 0.88)),
		repeating-linear-gradient(0deg, transparent 0 46px, rgba(44, 45, 51, 0.95) 46px 50px),
		repeating-linear-gradient(90deg, transparent 0 58px, rgba(44, 45, 51, 0.88) 58px 62px),
		var(--rv-dynamic-bg, url("../images/rapvibes_banner.jpeg")) center / cover fixed;
}

body::after {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	pointer-events: none;
	background:
		radial-gradient(circle at 18% 12%, rgba(209, 4, 4, 0.22), transparent 28%),
		radial-gradient(circle at 84% 8%, rgba(230, 184, 92, 0.18), transparent 24%),
		linear-gradient(180deg, rgba(20, 19, 19, 0.2), rgba(20, 19, 19, 0.86));
}

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

a {
	color: inherit;
	text-underline-offset: 0.18em;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--rv-gold-soft);
	outline-offset: 4px;
}

button,
input,
textarea,
select {
	font: inherit;
}

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

.skip-link:focus {
	position: fixed;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.7rem 1rem;
	clip: auto;
	color: #151515;
	background: var(--rv-gold-soft);
	border-radius: 999px;
}

.site-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 60;
	background: rgba(20, 19, 19, 0.78);
	border-block-end: 1px solid rgba(255, 226, 189, 0.13);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(100% - 2rem, 760px);
	min-height: 68px;
	margin-inline: auto;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
}

.site-brand__logo,
.rv-avatar,
.custom-logo {
	object-fit: cover;
	border-radius: 999px;
	border: 2px solid rgba(255, 226, 189, 0.3);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

.site-brand__logo,
.custom-logo {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
}

.rapvibes-wordmark {
	direction: ltr;
	unicode-bidi: isolate;
	display: inline-flex;
	align-items: baseline;
	gap: 0;
	white-space: nowrap;
	font-weight: 950;
	letter-spacing: -0.06em;
	line-height: 1;
	text-transform: none;
	text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.rapvibes-wordmark__rap,
.rapvibes-wordmark__ibes {
	color: var(--rv-text, #f8f3ea);
}

.rapvibes-wordmark__v {
	color: var(--rv-accent, #f4c27a);
	font-size: 1.32em;
	line-height: 0.85;
	margin-inline: -0.02em;
}

.site-header .rapvibes-wordmark {
	font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.hero .rapvibes-wordmark,
.rv-hero .rapvibes-wordmark {
	font-size: clamp(4rem, 10vw, 8rem);
}

.site-footer .rapvibes-wordmark {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.menu-toggle {
	display: inline-grid;
	place-items: center;
	gap: 4px;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--rv-ink);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 226, 189, 0.18);
	border-radius: 999px;
	cursor: pointer;
}

.menu-toggle__bar {
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
}

.primary-navigation {
	position: absolute;
	inset-block-start: calc(100% + 1px);
	inset-inline: 1rem;
	display: none;
	padding: 0.7rem;
	background: rgba(32, 33, 38, 0.98);
	border: 1px solid rgba(255, 226, 189, 0.16);
	border-radius: var(--rv-radius);
	box-shadow: var(--rv-shadow);
}

.site-header.is-menu-open .primary-navigation {
	display: block;
}

.nav-menu,
.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.nav-menu a,
.footer-menu a {
	display: block;
	padding: 0.6rem 0.8rem;
	color: var(--rv-muted);
	font-weight: 800;
	text-decoration: none;
	border-radius: 999px;
}

.nav-menu a:hover,
.footer-menu a:hover {
	color: var(--rv-ink);
	background: rgba(230, 184, 92, 0.12);
}

.site-main {
	min-height: 68vh;
}

.rv-page-shell {
	display: grid;
	place-items: center;
	padding: clamp(2rem, 6vw, 4rem) 1rem;
}

.rv-card-stack {
	width: min(100%, 860px);
}

.rv-block {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(41, 42, 48, 0.96), rgba(32, 33, 38, 0.97)),
		linear-gradient(90deg, rgba(209, 4, 4, 0.12), transparent 34%, rgba(230, 184, 92, 0.1));
	border: 1px solid rgba(255, 226, 189, 0.12);
	border-radius: var(--rv-radius);
	box-shadow: var(--rv-shadow);
}

.rv-block::before {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%);
}

.rv-block__inner {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 1rem;
	padding: clamp(2rem, 7vw, 3.6rem) clamp(1.15rem, 5vw, 2.6rem);
}

.rv-avatar {
	width: var(--rv-logo-size, 86px);
	height: var(--rv-logo-size, 86px);
}

.rv-title {
	margin: 0;
	font-size: clamp(2.2rem, 12vw, 5.7rem);
}

.rv-title .rapvibes-wordmark {
	filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.rv-copy {
	display: grid;
	gap: 0.7rem;
	max-width: 36rem;
	color: var(--rv-accent);
}

.rv-copy p,
.rv-block p {
	margin: 0;
}

.rv-block h2,
.rv-block h3 {
	margin: 0;
	color: var(--rv-ink);
	line-height: 1.2;
	font-weight: 850;
	letter-spacing: 0;
}

.rv-block h2 {
	font-size: clamp(1.55rem, 7vw, 2.35rem);
}

.rv-block h3 {
	font-size: clamp(1.25rem, 5vw, 1.75rem);
}

.rv-event {
	display: grid;
	justify-items: center;
	gap: 0.95rem;
	width: min(100%, 34rem);
}

.rv-event + .rv-event {
	padding-block-start: 1.75rem;
	margin-block-start: 0.8rem;
	border-block-start: 1px solid var(--rv-line);
}

.rv-event img,
.rv-block--merch img {
	width: min(12rem, 62vw);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 999px;
	border: 2px solid rgba(255, 226, 189, 0.18);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.rv-event p,
.rv-block--artist p {
	color: var(--rv-gold);
}

.rv-managed-events {
	display: grid;
	gap: 0.85rem;
	width: min(100%, 34rem);
	padding-block-start: 1.75rem;
	margin-block-start: 0.8rem;
	border-block-start: 1px solid var(--rv-line);
}

.rv-managed-event {
	display: grid;
	grid-template-columns: minmax(5.25rem, 7rem) minmax(0, 1fr);
	gap: 0.9rem;
	align-items: center;
	padding: 0.85rem;
	text-align: start;
	background: rgba(10, 10, 12, 0.28);
	border: 1px solid rgba(255, 226, 189, 0.12);
	border-radius: var(--rv-radius);
}

.rv-managed-event--featured {
	border-color: rgba(230, 184, 92, 0.46);
	box-shadow: 0 0 0 1px rgba(230, 184, 92, 0.08);
}

.rv-managed-event img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 226, 189, 0.16);
}

.rv-managed-event__body {
	display: grid;
	gap: 0.38rem;
	min-width: 0;
}

.rv-managed-event__badge {
	justify-self: start;
	padding: 0.12rem 0.48rem;
	color: #17110d;
	font-size: 0.72rem;
	font-weight: 900;
	background: var(--rv-accent);
	border-radius: 999px;
}

.rv-managed-event__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
	color: var(--rv-muted);
	font-size: 0.9rem;
}

.rv-audio-frame {
	width: min(100%, 20rem);
	height: 7rem;
	border-radius: var(--rv-radius);
	border: 1px solid rgba(255, 226, 189, 0.16);
	background:
		linear-gradient(90deg, rgba(209, 4, 4, 0.24), transparent),
		repeating-linear-gradient(90deg, rgba(255, 226, 189, 0.15) 0 3px, transparent 3px 12px),
		rgba(10, 10, 12, 0.5);
	box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.rv-weekly-video {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	width: min(100%, 36rem);
}

.rv-video-frame {
	width: min(100%, 34rem);
	height: auto;
	padding: 0;
	overflow: hidden;
	background: rgba(10, 10, 12, 0.62);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.rv-video-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.rv-video-embed iframe,
.rv-video-embed embed,
.rv-video-embed object,
.rv-video-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.rv-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	max-width: 100%;
	padding: 0.72rem 1.45rem;
	color: var(--rv-gold-soft);
	font-weight: 850;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 2px solid rgba(255, 226, 189, 0.72);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.rv-button:hover {
	color: #17110d;
	background: var(--rv-gold-soft);
	border-color: var(--rv-gold-soft);
	transform: translateY(-2px) scale(1.018);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.rv-button:active {
	transform: translateY(1px) scale(0.985);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.rv-button--outline {
	border-color: var(--rv-red-soft);
}

.rv-button--red {
	border-color: var(--rv-red);
}

.rv-divider {
	width: 1px;
	height: var(--rv-section-gap, 48px);
	margin-inline: auto;
	background: var(--rv-line);
}

.rv-socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.1rem;
	padding: 0;
	margin: 0.5rem 0 0;
	list-style: none;
}

.rv-social {
	display: inline-grid;
	place-items: center;
	width: 2.55rem;
	height: 2.55rem;
	color: var(--rv-gold-soft);
	text-decoration: none;
	border: 1px solid rgba(255, 226, 189, 0.25);
	border-radius: 0.65rem;
	background: rgba(255, 255, 255, 0.04);
}

.rv-social svg,
.rv-social__icon {
	display: block;
	width: 1.28rem;
	height: 1.28rem;
	color: currentColor;
	fill: currentColor;
}

.rv-social:hover {
	color: #151515;
	background: var(--rv-gold-soft);
	border-color: var(--rv-gold-soft);
	transform: translateY(-2px) scale(1.08);
}

.button-style-filled .rv-button {
	color: #17110d;
	background: var(--rv-accent);
	border-color: var(--rv-accent);
}

.button-style-filled .rv-button:hover {
	background: var(--rv-gold-soft);
	border-color: var(--rv-gold-soft);
}

.contrast-high .rv-copy,
.contrast-high .rv-event p,
.contrast-high .rv-block--artist p,
.contrast-high .post-card__excerpt,
.contrast-high .rich-text {
	color: #fff8f1;
}

.rv-social:active {
	transform: translateY(1px) scale(0.96);
}

.site-footer {
	padding: 1.7rem 1rem 2rem;
	background: rgba(20, 19, 19, 0.78);
	border-block-start: 1px solid rgba(255, 226, 189, 0.12);
	backdrop-filter: blur(14px);
}

.site-footer__widgets,
.site-footer__inner {
	width: min(100%, 760px);
	margin-inline: auto;
}

.site-footer__widgets {
	display: grid;
	gap: 1rem;
	margin-block-end: 1.4rem;
	text-align: start;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
}

.site-footer__brand {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	color: var(--rv-muted);
}

.site-footer__brand p {
	margin: 0;
}

.site-footer__rights {
	width: 100%;
	color: var(--rv-gold-soft);
	font-size: 0.92rem;
}

.site-footer__legal {
	width: 100%;
	font-size: 0.92rem;
}

.site-footer__legal a {
	color: var(--rv-muted);
	font-weight: 800;
	text-decoration: none;
	border-block-end: 1px solid rgba(230, 184, 92, 0.42);
}

.site-footer__legal a:hover {
	color: var(--rv-gold-soft);
	border-block-end-color: var(--rv-gold-soft);
}

.footer-menu {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.archive-hero,
.single-hero,
.not-found {
	padding: 4rem 1rem 2.5rem;
	text-align: center;
	background:
		linear-gradient(rgba(20, 19, 19, 0.84), rgba(20, 19, 19, 0.96)),
		url("../images/rapvibes_banner.jpeg") center / cover;
	border-block-end: 1px solid rgba(255, 226, 189, 0.14);
}

.legal-page {
	padding: clamp(2.5rem, 7vw, 5rem) 1rem;
	text-align: start;
}

.legal-card {
	padding: clamp(1.4rem, 4vw, 2.4rem);
	color: var(--rv-muted);
	background:
		linear-gradient(145deg, rgba(41, 42, 48, 0.96), rgba(32, 33, 38, 0.97)),
		linear-gradient(90deg, rgba(209, 4, 4, 0.1), transparent 42%, rgba(230, 184, 92, 0.08));
	border: 1px solid rgba(255, 226, 189, 0.12);
	border-radius: var(--rv-radius);
	box-shadow: var(--rv-shadow);
}

.legal-card h1,
.legal-card h2 {
	margin: 0 0 0.85rem;
	color: var(--rv-ink);
	line-height: 1.2;
}

.legal-card h1 {
	font-size: clamp(2rem, 8vw, 3.4rem);
}

.legal-card h2 {
	margin-block-start: 1.6rem;
	font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.legal-card p,
.legal-card li {
	font-size: 1rem;
}

.legal-card ul {
	padding-inline-start: 1.2rem;
}

.legal-card a {
	color: var(--rv-gold-soft);
	font-weight: 800;
}

.legal-card__updated {
	margin-block-start: 1.5rem;
	color: var(--rv-gold);
	font-weight: 850;
}

.section-inner {
	width: min(100%, 900px);
	margin-inline: auto;
}

.section-inner.narrow,
.narrow {
	width: min(100%, 740px);
}

.archive-hero h1,
.single-hero h1,
.not-found h1 {
	margin: 0;
	font-size: clamp(2rem, 9vw, 4rem);
	line-height: 1.05;
}

.section-kicker,
.single-meta,
.post-card__meta,
.archive-description {
	color: var(--rv-gold);
}

.content-section {
	padding: 3rem 1rem;
}

.post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.post-card,
.empty-state,
.comment-respond,
.comment-list .comment-body {
	overflow: hidden;
	text-align: start;
	background: rgba(41, 42, 48, 0.94);
	border: 1px solid rgba(255, 226, 189, 0.12);
	border-radius: var(--rv-radius);
	box-shadow: var(--rv-shadow);
}

.post-card__image {
	display: block;
	background: #101010;
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__body,
.empty-state,
.comment-respond,
.comment-list .comment-body {
	padding: 1.2rem;
}

.post-card h2,
.post-card h2 a {
	margin: 0;
	color: var(--rv-ink);
	text-decoration: none;
}

.post-card__excerpt,
.rich-text,
.single-layout,
.comments-area {
	color: var(--rv-muted);
}

.rich-text {
	text-align: start;
}

.rich-text a,
.term-list a {
	color: var(--rv-gold-soft);
}

.single-featured {
	overflow: hidden;
	margin-block: 2rem;
	border-radius: var(--rv-radius);
}

.single-featured img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.single-footer {
	margin-block-start: 2rem;
	padding-block-start: 1rem;
	border-block-start: 1px solid rgba(255, 226, 189, 0.16);
	text-align: start;
}

.term-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin-block: 0.5rem;
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
	margin-block-start: 1rem;
}

.search-field,
.comment-form input:not([type="submit"]),
.comment-form textarea {
	min-height: 3rem;
	padding: 0.75rem 1rem;
	color: var(--rv-ink);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 226, 189, 0.16);
	border-radius: var(--rv-radius);
}

.search-submit,
.form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.7rem 1.2rem;
	color: #17110d;
	font-weight: 850;
	border: 0;
	border-radius: 999px;
	background: var(--rv-gold-soft);
	cursor: pointer;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-block-start: 2rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0.25rem 0.6rem;
	color: var(--rv-ink);
	text-decoration: none;
	border: 1px solid rgba(255, 226, 189, 0.16);
	border-radius: 999px;
}

.page-numbers.current,
.page-numbers:hover {
	color: #17110d;
	background: var(--rv-gold-soft);
	border-color: var(--rv-gold-soft);
}

.comments-area {
	width: min(100% - 2rem, 740px);
	margin: 3rem auto;
	text-align: start;
}

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

.wp-caption,
.gallery-caption {
	color: var(--rv-muted);
}

.bypostauthor {
	outline: 1px solid var(--rv-gold);
	outline-offset: 2px;
}

.alignwide {
	width: min(100%, 900px);
	margin-inline: auto;
}

.alignfull {
	width: 100%;
	margin-inline: 0;
}

@media (min-width: 720px) {
	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		position: static;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.nav-menu {
		flex-direction: row;
		align-items: center;
	}

	.rv-block__inner {
		padding-inline: 3rem;
	}

	.rv-managed-event {
		grid-template-columns: 7rem minmax(0, 1fr);
	}

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
