/**
 * Premium Riad profile — médina terracotta & zellige aesthetic.
 */

.single-bf_listing.bf-premium-profile .entry-hero,
.single-bf_listing.bf-premium-profile .entry-header,
.single-bf_listing.bf-premium-profile .page-title,
.single-bf_listing.bf-premium-profile .content-title {
	display: none !important;
}

.single-bf_listing.bf-premium-profile .content-wrap,
.single-bf_listing.bf-premium-profile .site-main,
.single-bf_listing.bf-premium-profile .entry-content-wrap {
	padding-top: 0 !important;
	margin-top: 0 !important;
	max-width: none !important;
}

.single-bf_listing.bf-premium-profile .entry-content {
	margin: 0 !important;
}

.bf-rd {
	--bf-rd-bg: #1a0f0a;
	--bf-rd-surface: #261610;
	--bf-rd-light: #faf3ea;
	--bf-rd-terracotta: #c75b39;
	--bf-rd-terracotta-soft: #e8926f;
	--bf-rd-zellige: #2a6b7a;
	--bf-rd-zellige-light: #4a9eb0;
	--bf-rd-gold: #d4a853;
	--bf-rd-gold-soft: #f0d9a8;
	--bf-rd-muted: #b8a090;
	--bf-rd-text: #faf3ea;
	--bf-rd-font-display: "Cormorant Garamond", Georgia, serif;
	--bf-rd-font-body: "Plus Jakarta Sans", system-ui, sans-serif;
	--bf-rd-hero-bg: none;
	position: relative;
	color: var(--bf-rd-text);
	font-family: var(--bf-rd-font-body);
	background: var(--bf-rd-bg);
	overflow-x: hidden;
}

.bf-rd *,
.bf-rd *::before,
.bf-rd *::after {
	box-sizing: border-box;
}

.bf-rd__mesh {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(199, 91, 57, 0.12), transparent 45%),
		radial-gradient(circle at 80% 70%, rgba(42, 107, 122, 0.1), transparent 40%);
	animation: bf-rd-mesh 18s ease-in-out infinite alternate;
}

@keyframes bf-rd-mesh {
	from { opacity: 0.6; transform: scale(1); }
	to { opacity: 1; transform: scale(1.05); }
}

.bf-rd > *:not(.bf-rd__mesh) {
	position: relative;
	z-index: 1;
}

.bf-rd__nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(26, 15, 10, 0.85);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.bf-rd__nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
}

.bf-rd__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-family: var(--bf-rd-font-display);
	font-size: 1.05rem;
}

.bf-rd__nav-links {
	display: none;
	justify-content: center;
	gap: 1.5rem;
}

.bf-rd__nav-links a {
	color: var(--bf-rd-muted);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s;
}

.bf-rd__nav-links a:hover {
	color: var(--bf-rd-gold-soft);
}

@media (min-width: 900px) {
	.bf-rd__nav-links { display: flex; }
}

.bf-rd__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.2rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.2s, box-shadow 0.2s;
}

.bf-rd__btn--primary {
	background: linear-gradient(135deg, var(--bf-rd-terracotta), #8b3a22);
	color: #fff;
	box-shadow: 0 8px 24px rgba(199, 91, 57, 0.35);
}

.bf-rd__btn--primary:hover {
	transform: translateY(-2px);
}

.bf-rd__btn--ghost,
.bf-rd__btn--outline {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.15);
}

.bf-rd__btn--outline {
	color: var(--bf-rd-gold-soft);
	border-color: rgba(212, 168, 83, 0.4);
}

.bf-rd__btn--lg { padding: 0.85rem 1.5rem; }
.bf-rd__btn--block { width: 100%; }
.bf-rd__nav-cta { display: none; }

@media (min-width: 768px) {
	.bf-rd__nav-cta { display: inline-flex; }
}

.bf-rd__hero {
	padding: clamp(3rem, 6vw, 5rem) 1.25rem clamp(3.5rem, 6vw, 4.5rem);
	background:
		linear-gradient(135deg, rgba(26, 15, 10, 0.94) 0%, rgba(42, 107, 122, 0.35) 55%, rgba(199, 91, 57, 0.25) 100%);
}

.bf-rd__hero--has-bg {
	background:
		linear-gradient(135deg, rgba(26, 15, 10, 0.94) 0%, rgba(42, 107, 122, 0.35) 55%, rgba(199, 91, 57, 0.25) 100%),
		var(--bf-rd-hero-bg) center/cover no-repeat;
}

.bf-rd__hero-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(212, 168, 83, 0.1), transparent 60%);
	pointer-events: none;
}

.bf-rd__hero-grid {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.bf-rd__hero-grid { grid-template-columns: 1.1fr 0.9fr; }
	.bf-rd__hero:not(.bf-rd__hero--has-portrait) .bf-rd__hero-grid {
		grid-template-columns: 1fr;
		max-width: 760px;
	}
}

.bf-rd__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bf-rd-gold-soft);
}

.bf-rd__eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bf-rd-terracotta-soft);
	box-shadow: 0 0 12px var(--bf-rd-terracotta);
	animation: bf-rd-pulse 2s ease-in-out infinite;
}

@keyframes bf-rd-pulse {
	50% { opacity: 0.5; transform: scale(1.2); }
}

.bf-rd__rating-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	background: rgba(212, 168, 83, 0.12);
	border: 1px solid rgba(212, 168, 83, 0.3);
}

.bf-rd__rating-score {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--bf-rd-gold);
}

.bf-rd__rating-label {
	font-size: 0.78rem;
	color: var(--bf-rd-gold-soft);
}

.bf-rd__hero-title {
	margin: 0 0 1rem;
	font-family: var(--bf-rd-font-display);
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.bf-rd__hero-lead {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(250, 243, 234, 0.88);
	max-width: 36rem;
}

.bf-rd__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.bf-rd__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bf-rd__badge {
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	background: rgba(42, 107, 122, 0.2);
	border: 1px solid rgba(74, 158, 176, 0.35);
	color: var(--bf-rd-zellige-light);
}

.bf-rd__portrait-frame {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid rgba(212, 168, 83, 0.25);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	animation: bf-rd-float 6s ease-in-out infinite;
}

@keyframes bf-rd-float {
	50% { transform: translateY(-8px); }
}

.bf-rd__portrait {
	display: block;
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
}

.bf-rd__portrait--placeholder {
	background: linear-gradient(145deg, #8b3a22, #2a6b7a);
	min-height: 320px;
}

.bf-rd__portrait-tag {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	display: flex;
	gap: 0.35rem;
}

.bf-rd__portrait-tag span {
	padding: 0.3rem 0.65rem;
	border-radius: 8px;
	background: rgba(26, 15, 10, 0.8);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--bf-rd-gold-soft);
}

.bf-rd__marquee {
	overflow: hidden;
	padding: 0.85rem 0;
	background: var(--bf-rd-surface);
	border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.bf-rd__marquee-track {
	display: flex;
	width: max-content;
	gap: 1.5rem;
	animation: bf-rd-marquee 32s linear infinite;
}

.bf-rd__marquee-item {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bf-rd-muted);
	white-space: nowrap;
}

.bf-rd__marquee-sep {
	color: var(--bf-rd-terracotta);
	opacity: 0.6;
}

@keyframes bf-rd-marquee {
	to { transform: translateX(-50%); }
}

.bf-rd__section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.bf-rd__label {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bf-rd-terracotta-soft);
}

.bf-rd__section-title {
	margin: 0 0 0.75rem;
	font-family: var(--bf-rd-font-display);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
}

.bf-rd__section-lead {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--bf-rd-muted);
}

.bf-rd__section-head {
	max-width: 640px;
	margin-bottom: 2.5rem;
}

.bf-rd__experience {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.bf-rd__experience-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.bf-rd__experience-row {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding: 1.5rem;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(212, 168, 83, 0.08);
}

@media (min-width: 768px) {
	.bf-rd__experience-row {
		grid-template-columns: 1fr 1fr;
		padding: 2rem;
	}
	.bf-rd__experience-row--reverse .bf-rd__experience-media { order: 2; }
}

.bf-rd__experience-media {
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.bf-rd__experience-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.bf-rd__experience-row:hover .bf-rd__experience-media img {
	transform: scale(1.04);
}

.bf-rd__experience-copy h3 {
	margin: 0 0 0.75rem;
	font-family: var(--bf-rd-font-display);
	font-size: 1.5rem;
	color: #fff;
}

.bf-rd__highlights {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.bf-rd__highlights li {
	padding: 0.35rem 0 0.35rem 1.25rem;
	position: relative;
	color: var(--bf-rd-muted);
	font-size: 0.92rem;
}

.bf-rd__highlights li::before {
	content: "◆";
	position: absolute;
	left: 0;
	color: var(--bf-rd-terracotta);
	font-size: 0.55rem;
	top: 0.55rem;
}

.bf-rd__pillars {
	padding: 2rem 0 3rem;
}

.bf-rd__pillars-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.bf-rd__pillar {
	padding: 1.25rem;
	border-radius: 16px;
	background: rgba(42, 107, 122, 0.12);
	border: 1px solid rgba(74, 158, 176, 0.15);
	text-align: center;
	transition: transform 0.25s, border-color 0.25s;
}

.bf-rd__pillar:hover {
	transform: translateY(-4px);
	border-color: rgba(212, 168, 83, 0.35);
}

.bf-rd__pillar-icon {
	font-size: 1.75rem;
	display: block;
	margin-bottom: 0.5rem;
}

.bf-rd__pillar h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	color: #fff;
}

.bf-rd__pillar p {
	margin: 0;
	font-size: 0.82rem;
	color: var(--bf-rd-muted);
}

.bf-rd__about {
	padding: 2rem 0 3rem;
}

.bf-rd__about-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.bf-rd__about-grid { grid-template-columns: 1.2fr 0.8fr; }
}

.bf-rd__about-stats {
	display: grid;
	gap: 1rem;
}

.bf-rd__stat-card {
	padding: 1.25rem;
	border-radius: 16px;
	text-align: center;
	background: linear-gradient(145deg, rgba(199, 91, 57, 0.15), rgba(42, 107, 122, 0.12));
	border: 1px solid rgba(212, 168, 83, 0.2);
}

.bf-rd__stat-card strong {
	display: block;
	font-family: var(--bf-rd-font-display);
	font-size: 2rem;
	color: var(--bf-rd-gold);
}

.bf-rd__gallery {
	padding: 2rem 0 3rem;
}

.bf-rd__gallery-marquee {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bf-rd__gallery-row {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.bf-rd__gallery-track {
	display: flex;
	gap: 0.75rem;
	width: max-content;
	will-change: transform;
}

.bf-rd__gallery-row--rtl .bf-rd__gallery-track {
	animation: bf-rd-gallery-rtl 38s linear infinite;
}

.bf-rd__gallery-row--ltr .bf-rd__gallery-track {
	animation: bf-rd-gallery-ltr 38s linear infinite;
}

.bf-rd__gallery-row.is-paused .bf-rd__gallery-track {
	animation-play-state: paused;
}

.bf-rd__gallery-row.is-focus .bf-rd__gallery-slide {
	opacity: 0.55;
	transform: scale(0.96);
	transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bf-rd__gallery-row.is-focus .bf-rd__gallery-slide.is-active {
	opacity: 1;
	transform: scale(1.03);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	z-index: 2;
}

.bf-rd__gallery-slide {
	flex: 0 0 auto;
	width: calc((100vw - 3rem) / 2);
	padding: 0;
	border: 1px solid rgba(212, 168, 83, 0.2);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bf-rd__gallery-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (min-width: 900px) {
	.bf-rd__gallery-slide {
		width: calc((min(1200px, 100vw) - 3.75rem) / 4);
	}
}

@keyframes bf-rd-gallery-rtl {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes bf-rd-gallery-ltr {
	from { transform: translateX(-50%); }
	to { transform: translateX(0); }
}

.bf-rd__testimonial {
	padding: 2rem 1.25rem 3rem;
}

.bf-rd__quote {
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem;
	border-radius: 20px;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(212, 168, 83, 0.15);
}

.bf-rd__quote p {
	margin: 0 0 1rem;
	font-family: var(--bf-rd-font-display);
	font-size: 1.35rem;
	line-height: 1.5;
	color: #fff;
}

.bf-rd__quote cite {
	font-style: normal;
	font-size: 0.85rem;
	color: var(--bf-rd-gold-soft);
}

.bf-rd__join {
	padding: 2rem 1.25rem;
}

.bf-rd__join-inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 2.5rem 2rem;
	border-radius: 24px;
	text-align: center;
	background: linear-gradient(135deg, rgba(199, 91, 57, 0.2), rgba(42, 107, 122, 0.25));
	border: 1px solid rgba(212, 168, 83, 0.25);
}

.bf-rd__contact {
	padding: 0 1.25rem 5rem;
}

.bf-rd__contact-card {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem;
	border-radius: 24px;
	display: grid;
	gap: 2rem;
	background: var(--bf-rd-surface);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
	.bf-rd__contact-card { grid-template-columns: 1fr 1fr; }
}

.bf-rd__address {
	margin-top: 1rem;
	color: var(--bf-rd-muted);
}

.bf-rd__contact-actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.bf-rd__mobile-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99;
	display: flex;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	background: rgba(26, 15, 10, 0.95);
	border-top: 1px solid rgba(212, 168, 83, 0.15);
	backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
	.bf-rd__mobile-bar { display: none; }
}

.bf-rd__mobile-btn {
	flex: 1;
	padding: 0.75rem;
	border-radius: 12px;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.85rem;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.bf-rd__mobile-btn--primary {
	background: linear-gradient(135deg, var(--bf-rd-terracotta), #8b3a22);
}

.bf-rd-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.bf-rd-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.bf-rd-reveal[data-delay="1"] { transition-delay: 0.12s; }
.bf-rd-reveal[data-delay="2"] { transition-delay: 0.24s; }
.bf-rd-reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
	.bf-rd__marquee-track,
	.bf-rd__mesh,
	.bf-rd__portrait-frame,
	.bf-rd__eyebrow-dot,
	.bf-rd__gallery-track {
		animation: none;
	}
	.bf-rd-reveal {
		opacity: 1;
		transform: none;
	}
}
