/*
Theme Name: Raaga Home
Theme URI: https://example.com/raagahomes
Author: BSR InfoTech
Description: A custom, performance-conscious WordPress theme for Raaga Homes, converted from the supplied static HTML template.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: raagahome
*/

html {
	scroll-behavior: smooth;
}

body {
	overflow-wrap: break-word;
}

/* Global display typography: body copy remains Poppins, while page titles,
 * section headings, cards, and post headings share the same premium serif
 * treatment used by the hero and inner-page designs. */
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.entry-title,
.page-title,
.title-blog,
.widget-title {
	font-family: "Poppins", Georgia, serif;
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

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

.screen-reader-text:focus,
.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto !important;
	background: #fff;
	color: #212529;
	font-weight: 600;
	text-decoration: none;
}

.logo .site-title {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.primary-menu.sticky-on .logo .site-title {
	color: #212529;
}

.custom-logo {
	width: auto;
	max-height: 64px;
}

.entry-content> :last-child,
.entry-summary> :last-child {
	margin-bottom: 0;
}

.navigation.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* The Mist-inspired inner page system. */
.rh-inner-hero {
	min-height: 430px;
	background: #171512;
	isolation: isolate;
}

.rh-inner-hero .hero-content {
	min-height: 430px;
}

.rh-inner-hero__background {
	background-image:
		linear-gradient(90deg, rgba(18, 14, 10, 0.42), rgba(18, 14, 10, 0.16)),
		var(--rh-inner-hero-image, linear-gradient(135deg, #322b22, #111));
	background-position: center 48%;
	background-size: cover;
	filter: saturate(0.82);
}

.rh-inner-hero .hero-mask {
	z-index: -1;
}

.rh-inner-hero .hero-bg {
	z-index: -2;
}

.rh-inner-hero .breadcrumb {
	--bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
	--bs-breadcrumb-item-active-color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
}

.rh-inner-hero .breadcrumb-item+.breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.65);
}

.rh-inner-hero .breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.rh-inner-hero .breadcrumb a:hover {
	color: var(--bs-themecolor);
}

.rh-eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.16em;
}

.rh-page-section,
.rh-blog-index {
	background: #f5f5f5;
}

.rh-prose {
	max-width: 960px;
	font-size: 1.075rem;
	line-height: 1.85;
}

.rh-prose h2,
.rh-prose h3,
.rh-prose h4 {
	margin-top: 2.2rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.rh-prose blockquote {
	margin: 2rem 0;
	padding: 1.8rem 2rem;
	border: 0;
	border-radius: 1.5rem;
	background: #ece7df;
	font-family: var(--bs-heading-font-family);
	font-size: 1.35rem;
}

.rh-page-featured img,
.post-thumbnail img {
	max-height: 680px;
	object-fit: cover;
}

.rh-card-media {
	aspect-ratio: 4 / 3;
	background: #28231d;
}

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

.rh-media-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 72% 28%, rgba(205, 161, 91, 0.45), transparent 28%),
		linear-gradient(135deg, #27221c, #8f7045);
	color: rgba(255, 255, 255, 0.7);
	font-size: 2.4rem;
}

.rh-category-badge {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	z-index: 2;
}

.blog-post.card,
.rh-search-card {
	background: #fff;
	box-shadow: 0 20px 60px rgba(33, 28, 21, 0.06) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post.card:hover,
.rh-search-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 70px rgba(33, 28, 21, 0.11) !important;
}

.blog-post .title-blog {
	font-size: 1.65rem;
}

.blog-post .title-blog a {
	font-size: inherit;
}

.navigation.pagination {
	justify-content: center;
	margin-top: 3.5rem;
}

.navigation.pagination .nav-links {
	justify-content: center;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	width: 45px;
	height: 45px;
	align-items: center;
	justify-content: center;
	margin: 0 0.2rem;
	border-radius: 50%;
	background: #fff;
	color: var(--bs-body-color);
	font-weight: 600;
	text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover {
	background: var(--bs-themecolor);
	color: #fff;
}

.rh-search-media {
	display: block;
	min-height: 260px;
	height: 100%;
	background: #28231d;
}

.rh-search-card .entry-title a {
	color: var(--bs-heading-color);
	text-decoration: none;
}

.rh-search-card .entry-title a:hover {
	color: var(--bs-themecolor);
}

.rh-sidebar {
	position: sticky;
	top: 110px;
	background: #ebe7e1;
}

.rh-sidebar .widget-title {
	position: relative;
	padding-bottom: 0.85rem;
}

.rh-sidebar .widget-title::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 44px;
	height: 2px;
	background: var(--bs-themecolor);
	content: "";
}

.rh-search-form {
	padding: 0.35rem;
	background: #fff;
}

.rh-search-form .form-control {
	min-width: 0;
	padding-left: 1.15rem;
	background: transparent;
}

.rh-search-form .form-control:focus {
	box-shadow: none;
}

.rh-search-form .search-submit {
	width: 46px;
	height: 46px;
	padding: 0;
	flex: 0 0 46px;
}

.rh-sidebar .item-post .img-thumb,
.rh-sidebar-placeholder {
	display: flex;
	width: 84px;
	height: 72px;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #31291f, #b18951);
	color: #fff;
}

.rh-sidebar .item-post .img-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rh-widget-list li {
	display: flex;
	justify-content: space-between;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(33, 37, 41, 0.08);
}

.rh-widget-list a {
	color: var(--bs-body-color);
	text-decoration: none;
}

.rh-widget-list a:hover {
	color: var(--bs-themecolor);
}

.tagcloud a,
.tags-links a {
	display: inline-flex;
	margin: 0 0.35rem 0.45rem 0;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(33, 37, 41, 0.12);
	border-radius: 999px;
	color: var(--bs-body-color);
	text-decoration: none;
}

.tagcloud a:hover,
.tags-links a:hover {
	border-color: var(--bs-themecolor);
	background: var(--bs-themecolor);
	color: #fff;
}

.rh-entry-footer {
	border-top: 1px solid rgba(33, 37, 41, 0.1);
}

.post-navigation {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(33, 37, 41, 0.1);
}

.post-navigation a {
	display: flex;
	max-width: 320px;
	flex-direction: column;
	color: var(--bs-heading-color);
	text-decoration: none;
}

.post-navigation .nav-subtitle {
	color: var(--bs-themecolor);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.post-navigation .nav-title {
	font-weight: 600;
}

.comments-area {
	border-top: 1px solid rgba(33, 37, 41, 0.1);
}

.comment-list .comment {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(33, 37, 41, 0.08);
}

.comment-list .comment-body {
	position: relative;
	padding-left: 84px;
}

.comment-list .avatar {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
}

.comment-list .children {
	list-style: none;
}

.comment-form label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 600;
}

.comment-form-author,
.comment-form-email {
	display: inline-block;
	width: calc(50% - 0.75rem);
	vertical-align: top;
}

.comment-form-author {
	margin-right: 1rem;
}

.rh-empty-state {
	max-width: 760px;
	padding: clamp(2.5rem, 6vw, 5rem);
	background: #ebe7e1;
}

.rh-empty-state__icon {
	display: inline-flex;
	width: 74px;
	height: 74px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--bs-themecolor);
	color: #fff;
	font-size: 1.75rem;
}

.rh-error-code {
	color: var(--bs-themecolor);
	font-size: clamp(7rem, 20vw, 14rem);
	line-height: 0.88;
}

.rh-error-copy {
	max-width: 700px;
}

.rh-error-search {
	max-width: 560px;
}

@media (max-width: 991.98px) {

	.rh-inner-hero,
	.rh-inner-hero .hero-content {
		min-height: 360px;
	}

	.rh-sidebar {
		position: static;
	}
}

@media (max-width: 767.98px) {

	.rh-inner-hero,
	.rh-inner-hero .hero-content {
		min-height: 320px;
	}

	.rh-inner-hero .text-13 {
		font-size: 2.5rem !important;
	}

	.comment-form-author,
	.comment-form-email {
		display: block;
		width: 100%;
	}

	.comment-form-author {
		margin-right: 0;
	}

	.comment-list .comment-body {
		padding-left: 0;
	}

	.comment-list .avatar {
		position: static;
		margin-bottom: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/*--------*/
.site-title h2 span {
	--bs-text-opacity: 1;
	color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

/* =========================  */
.raagacarousel-wrapper,
.raagacarousel-wrapper *,
.raagacarousel-wrapper *::before,
.raagacarousel-wrapper *::after {
	box-sizing: border-box;
}

.raagacarousel-wrapper {
	--raagacarousel-background: #fff6e5;
	--raagacarousel-text: #fff6e5;
	--raagacarousel-muted: rgba(245, 247, 255, 0.62);
	--raagacarousel-control-size: clamp(42px, 5vw, 54px);
	position: relative;
	width: 100%;
	min-height: 320px;
	overflow: hidden;
	isolation: isolate;
	color: var(--raagacarousel-text);
	background:
		radial-gradient(circle at 50% 45%, rgba(255, 252, 248, 0.3), transparent 35%),
		radial-gradient(circle at 50% 100%, rgba(255, 251, 242, 0.55), transparent 54%),
		var(--raagacarousel-background);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.raagacarousel-slide,
.raagacarousel-close,
.raagacarousel-nav {
	font: inherit;
}

.raagacarousel-container {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: clamp(220px, 59vw, 420px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	perspective: 2000px;
	touch-action: none;
}

.raagacarousel-ring {
	position: absolute;
	inset: 0;
	pointer-events: none;
	transform-style: preserve-3d;
	will-change: transform;
}

.raagacarousel-wrapper .raagacarousel-slide {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: clamp(16px, 3vw, 26px);
	background-color: #151927;
	background-repeat: no-repeat;
	/* Fill each card while preserving the image aspect ratio; excess edges are cropped. */
	background-size: cover !important;
	box-shadow: 0 26px 70px rgba(255, 247, 230, 0.38), 0 0 0 1px rgba(255, 247, 230, 0.38) inset;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	cursor: grab;
	outline: none;
	pointer-events: auto;
	transform-style: preserve-3d;
	touch-action: none;
	user-select: none;
	-webkit-user-drag: none;
	transition: box-shadow 220ms ease, border-color 220ms ease;
}

.raagacarousel-slide:active {
	cursor: grabbing;
}

.raagacarousel-slide:focus-visible {
	border-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 0 4px rgba(139, 164, 255, 0.45), 0 26px 70px rgba(0, 0, 0, 0.38);
}

.raagacarousel-overlay {
	position: absolute;
	z-index: 3;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, #fae0b9, transparent 26%, transparent 74%, #fae0b9);
}

.raagacarousel-hint {
	position: absolute;
	z-index: 4;
	right: 0;
	bottom: clamp(22px, 5vh, 48px);
	left: 0;
	margin: 0;
	color: var(--raagacarousel-muted);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.raagacarousel-hint span {
	padding: 0 0.45rem;
	color: rgba(255, 255, 255, 0.35);
}

.raagacarousel-lightbox[hidden] {
	display: none;
}

.raagacarousel-lightbox {
	position: fixed;
	z-index: 100;
	inset: 0;
	display: grid;
	place-items: center;
	padding: clamp(14px, 4vw, 48px);
	visibility: hidden;
	opacity: 0;
	transition: opacity 320ms ease, visibility 320ms ease;
}

.raagacarousel-lightbox.raagacarousel-open {
	visibility: visible;
	opacity: 1;
}

.raagacarousel-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 5, 10, 0.78);
	backdrop-filter: blur(18px) saturate(120%);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
}

.raagacarousel-lightbox-panel {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: min(100%, 1200px);
	height: min(100%, 900px);
	transform: translateY(18px) scale(0.97);
	transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.raagacarousel-lightbox.raagacarousel-open .raagacarousel-lightbox-panel {
	transform: translateY(0) scale(1);
}

.raagacarousel-lightbox-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 12px;
}

.raagacarousel-lightbox-title,
.raagacarousel-lightbox-counter {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.raagacarousel-close,
.raagacarousel-nav {
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--raagacarousel-text);
	background: rgba(255, 255, 255, 0.09);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	cursor: pointer;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.raagacarousel-close:hover,
.raagacarousel-nav:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.17);
}

.raagacarousel-close:focus-visible,
.raagacarousel-nav:focus-visible {
	outline: 3px solid rgba(139, 164, 255, 0.75);
	outline-offset: 3px;
}

.raagacarousel-close {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.6rem;
	line-height: 1;
}

.raagacarousel-close:hover {
	transform: rotate(90deg);
}

.raagacarousel-lightbox-viewport {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 0;
	padding: 8px clamp(48px, 8vw, 110px);
	touch-action: pan-y;
}

.raagacarousel-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: min(78svh, 760px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: clamp(12px, 2vw, 22px);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
	object-fit: contain;
	opacity: 0;
	transform: translateX(0) scale(0.96);
	transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
	user-select: none;
	-webkit-user-drag: none;
}

.raagacarousel-lightbox-image.raagacarousel-active {
	opacity: 1;
	transform: translateX(0) scale(1);
}

.raagacarousel-lightbox-image.raagacarousel-from-next {
	transform: translateX(30px) scale(0.96);
}

.raagacarousel-lightbox-image.raagacarousel-from-previous {
	transform: translateX(-30px) scale(0.96);
}

.raagacarousel-nav {
	position: absolute;
	top: 50%;
	width: var(--raagacarousel-control-size);
	height: var(--raagacarousel-control-size);
	border-radius: 50%;
	font-size: clamp(1.9rem, 4vw, 2.5rem);
	line-height: 1;
	transform: translateY(-50%);
}

.raagacarousel-nav:active {
	transform: translateY(-50%) scale(0.92);
}

.raagacarousel-prev {
	left: 0;
}

.raagacarousel-next {
	right: 0;
}

.raagacarousel-lightbox-counter {
	padding-top: 12px;
	text-align: center;
}

@media (max-width: 640px) {
	.raagacarousel-hint {
		bottom: 20px;
		font-size: 0.6rem;
		letter-spacing: 0.08em;
	}

	.raagacarousel-lightbox {
		padding: 12px;
	}

	.raagacarousel-lightbox-panel {
		height: 100%;
	}

	.raagacarousel-lightbox-viewport {
		padding: 8px 0 56px;
	}

	.raagacarousel-lightbox-image {
		max-height: 72svh;
	}

	.raagacarousel-nav {
		top: auto;
		bottom: 4px;
		transform: none;
	}

	.raagacarousel-nav:active {
		transform: scale(0.92);
	}

	.raagacarousel-prev {
		left: calc(50% - var(--raagacarousel-control-size) - 10px);
	}

	.raagacarousel-next {
		right: calc(50% - var(--raagacarousel-control-size) - 10px);
	}
}

@media (prefers-reduced-motion: reduce) {

	.raagacarousel-wrapper *,
	.raagacarousel-wrapper *::before,
	.raagacarousel-wrapper *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}