/*
Theme Name: Rebrand Gurus
Theme URI: https://obeliskconsultingservices.com/
Author: Rebrand Gurus
Description: A lightweight, accessible, Elementor-friendly theme for Obelisk Consulting Services.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: rebrandgurus
*/

/* Keep the supplied Industrie bundle in charge of the visual system. */
html {
	-webkit-text-size-adjust: 100%;
}

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

.rbg-skip-link {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	transform: translateY(-200%);
	padding: .75rem 1rem;
	background: var(--rs-black);
	color: var(--rs-white);
}

.rbg-skip-link:focus {
	transform: translateY(0);
	color: var(--rs-white);
}

.rbg-text-logo {
	display: block;
	font-family: var(--rs-ff-title);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--rs-white);
	white-space: nowrap;
}

.rs-header-two .rs-header-logo img {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 58px;
}

/* The reference places the menu at the far edge after the logo. */
.rs-header-two .rs-header-menu {
	margin-inline-start: auto;
	margin-inline-end: 0;
}

/* Keep the visible header in normal document flow on Elementor pages. The
 * original header is transparent/absolute for hero layouts; migrated pages
 * begin with editable Elementor content, so a solid red bar prevents the
 * navigation from sitting invisibly over the first section. */
#masthead .rbg-header-normal {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	background-color: #800000;
	min-height: 167px;
}

#masthead .rbg-header-normal .container-fluid {
	max-width: 1600px;
	margin-inline: auto;
	padding-inline: 30px;
}

#masthead .rbg-header-normal .rs-header-inner {
	min-height: 167px;
	padding-inline: 0;
}

#masthead .rbg-header-normal .rs-header-left,
#masthead .rbg-header-normal .rs-header-left::before {
	border: 0;
}

#masthead .rbg-header-normal .rs-header-left::before {
	content: none;
}

#masthead .rbg-header-normal .rs-header-left {
	padding-inline-end: 0;
	margin-inline-end: 0;
}

#masthead .rbg-header-normal .rs-header-logo {
	min-width: 300px;
}

#masthead .rbg-header-normal .rs-header-logo img {
	display: block;
	width: 300px;
	max-width: 300px;
	max-height: none;
	filter: grayscale(1) contrast(1.5) brightness(0.22);
}

#masthead .rbg-header-normal .rbg-header-tagline {
	margin-top: 8px;
	color: rgba(255, 255, 255, .58);
	font-family: var(--rs-ff-body, sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .02em;
}

#masthead .rbg-header-normal .main-menu > ul > li > a,
#masthead .rbg-header-normal .main-menu > ul > li > a:hover,
#masthead .rbg-header-normal .main-menu > ul > li.current-menu-item > a,
#masthead .rbg-header-normal .main-menu > ul > li.current-menu-ancestor > a {
	color: var(--rs-white, #fff);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding-inline: 10px;
	text-align: center;
}

#masthead #rs-sticky-header {
	background-color: #800000;
}

#masthead #rs-sticky-header .main-menu > ul > li > a {
	color: var(--rs-white, #fff);
}

#masthead #rs-sticky-header .rs-header-logo img {
	width: 240px;
	max-width: 240px;
	max-height: none;
}

@media only screen and (max-width: 1199px) {
	#masthead .rbg-header-normal {
		min-height: 0;
	}

	#masthead .rbg-header-normal .container-fluid {
		max-width: none;
		padding-inline: 30px;
	}

	#masthead .rbg-header-normal .rs-header-inner {
		min-height: 88px;
	}

	#masthead .rbg-header-normal .rs-header-logo {
		min-width: 0;
	}

	#masthead .rbg-header-normal .rs-header-logo img {
		width: 220px;
		max-width: 220px;
	}

	#masthead .rbg-header-normal .rbg-header-tagline {
		display: none;
	}
}

@media only screen and (max-width: 575px) {
	#masthead .rbg-header-normal .container-fluid {
		padding-inline: 15px;
	}

	#masthead .rbg-header-normal .rs-header-logo img {
		width: 180px;
		max-width: 180px;
	}
}

/* Match the reference dropdown typography. */
#masthead .main-menu .submenu li > a,
#masthead .main-menu .sub-menu li > a,
#masthead .rbg-mobile-navigation .sub-menu li > a {
	font-weight: 500;
	font-size: 14px;
	letter-spacing: .09em;
}

#masthead .main-menu .submenu li:hover > a,
#masthead .main-menu .sub-menu li:hover > a,
#masthead .rbg-mobile-navigation .sub-menu li:hover > a {
	letter-spacing: .09em;
}

.rbg-header-normal .rbg-header-mobile-control {
	display: none;
}

.rbg-mobile-navigation {
	display: none;
}

.rbg-footer-logo {
	margin-bottom: 22px;
}

.rbg-footer-logo img {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 55px;
}

.rbg-footer-credit,
.rbg-footer-subfooter {
	display: inline-block;
	margin-inline-start: .35rem;
}

.rbg-footer-credit a {
	margin-inline-start: .25rem;
}

.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;
}

/* Header menu markup is generated by wp_nav_menu, so WordPress can supply
   dropdowns, submenu classes, and current-menu-item state. */
.main-menu ul.sub-menu,
.main-menu ul.children {
	margin: 0;
	padding: 0;
}

.rs-header-area.has-theme-red .main-menu ul li.current-menu-item > a,
.rs-header-area.has-theme-red .main-menu ul li.current-menu-ancestor > a {
	color: rgba(255, 255, 255, .76);
}

@media only screen and (max-width: 1199px) {
	#rs-sticky-header {
		display: none;
	}

	.rbg-header-normal {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
	}

	.rbg-header-normal .rs-header-inner {
		padding: 0 30px;
	}

	.rbg-header-normal .rs-header-menu {
		display: none;
	}

	.rbg-header-normal .rbg-header-mobile-control {
		display: flex;
		margin-inline-start: auto;
	}

	.rbg-mobile-menu-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 42px;
		height: 42px;
		padding: 9px;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.rbg-mobile-menu-toggle span:not(.screen-reader-text) {
		display: block;
		width: 24px;
		height: 2px;
		background: var(--rs-white);
		transition: transform .25s ease, opacity .25s ease;
	}

	.rbg-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.rbg-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.rbg-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.rbg-mobile-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 10;
		padding: 12px 30px 20px;
		background: var(--rs-black);
		box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
	}

	.rbg-mobile-navigation.is-open {
		display: block;
	}

	.rbg-mobile-navigation ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.rbg-mobile-navigation .sub-menu {
		display: none;
		padding-inline-start: 15px;
	}

	.rbg-mobile-navigation .menu-item.is-open > .sub-menu {
		display: block;
	}

	.rbg-mobile-navigation a {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid rgba(255, 255, 255, .12);
		color: var(--rs-white);
		font-size: 16px;
		text-decoration: none;
	}

	.rbg-mobile-navigation a:hover,
	.rbg-mobile-navigation .current-menu-item > a {
		color: var(--rs-theme-red);
	}
}

@media only screen and (max-width: 575px) {
	.rbg-header-normal .rs-header-inner {
		padding: 0 15px;
	}

	.rbg-mobile-navigation {
		padding-inline: 15px;
	}

	.rs-header-two .rs-header-logo img {
		max-width: 150px;
		max-height: 48px;
	}
}

/* Elementor owns Elementor page layout. */
body.elementor-page .rbg-site-main {
	min-height: 0;
}

body.elementor-page .rbg-content-area {
	padding-block: 0;
}

body.elementor-page .elementor {
	max-width: none;
}

/* Editable testimonial slider shortcode. */
.rbg-testimonials-slider {
	position: relative;
	width: 100%;
	padding: 0 40px;
}

.rbg-testimonials-slider .swiper {
	width: 100%;
	height: 360px;
}

.rbg-testimonials-slider .rbg-testimonial {
	box-sizing: border-box;
	display: flex;
	height: 360px;
	flex-direction: column;
	overflow: hidden;
	padding: 0 3px;
}

.rbg-testimonials-slider .rbg-testimonial__quote {
	flex: 1 1 auto;
	 min-height: 0;
	margin: 0;
	color: var(--rs-text-primary, #2f2f2f);
	font-size: 16px;
	line-height: 1.75;
}

.rbg-testimonials-slider .rbg-testimonial__quote p {
	margin: 0;
}

.rbg-testimonials-slider .rbg-testimonial__photo {
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-radius: 50%;
	object-fit: cover;
}

.rbg-testimonials-slider .rbg-testimonial__name {
	margin: 16px 0 0;
	padding: 16px 0 22px 18px;
	border-inline-start: 3px solid var(--rs-theme-red, #b33b5c);
	color: var(--rs-text-primary, #333);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
}

.rbg-testimonials__navigation {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 9px;
	pointer-events: none;
}

.rbg-testimonials__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #c9c9c9;
	font-family: Arial, sans-serif;
	font-size: 42px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
	transition: color .2s ease, transform .2s ease;
}

.rbg-testimonials__arrow:hover,
.rbg-testimonials__arrow:focus-visible {
	background: transparent;
	color: var(--rs-theme-red, #b33b5c);
	outline: 0;
}

.rbg-testimonials__arrow--prev:hover,
.rbg-testimonials__arrow--prev:focus-visible {
	transform: translateX(-2px);
}

.rbg-testimonials__arrow--next:hover,
.rbg-testimonials__arrow--next:focus-visible {
	transform: translateX(2px);
}

.rbg-testimonials-slider.is-static .rbg-testimonials__navigation {
	display: none;
}

@media only screen and (max-width: 767px) {
	.rbg-testimonials-slider {
		padding: 0 30px;
	}

	.rbg-testimonials-slider .rbg-testimonial {
		padding-inline: 10px;
	}

	.rbg-testimonials-slider .rbg-testimonial__quote {
		font-size: 16px;
	}

	.rbg-testimonials-slider .swiper,
	.rbg-testimonials-slider .rbg-testimonial {
		height: 420px;
	}
}
