/* ==========================================================================
   Pure Kerala Ayurveda — custom header overrides
   The stock Spaville header was tuned for 6 dropdown items; our nav has 7
   flat items and needed tighter spacing to keep everything on one row.
   ========================================================================== */

.site-header.header-style-3 .pbmit-header-content {
	flex-wrap: nowrap;
	gap: 20px;
}

/* Bigger logo in the header */
.site-header.header-style-3 .site-branding img {
	max-height: 70px;
}

/* Bigger logo in the footer */
.site-footer .pbmit-footer-widget-col-2 .widget .pbmit-footer-logo img {
	height: 85px;
}

/* Smaller, shorter homepage hero slider (theme default is 110px text on an 190px/260px-padded slide) */
.pbmit-slider-area .pbmit-title {
	font-size: 60px;
	line-height: 72px;
	margin-bottom: 20px;
}
.pbmit-slider-three .pbmit-slider-item {
	padding: 110px 0 140px 0;
}
/* Center the slide text within its half instead of hugging the left edge on desktop */
.pbmit-slider-three .pbmit-slider-content {
	text-align: center;
}
.pbmit-slider-three .pbmit-slider-content .pbmit-sub-title {
	display: inline-block;
}
@media (max-width: 991px) {
	.pbmit-slider-area .pbmit-title {
		font-size: 42px;
		line-height: 52px;
	}
	.pbmit-slider-three .pbmit-slider-item {
		padding: 90px 0 70px 0;
	}
}
@media (max-width: 767px) {
	.pbmit-slider-area .pbmit-title {
		font-size: 34px;
		line-height: 42px;
	}
	.pbmit-slider-three .pbmit-slider-item {
		padding: 70px 0 50px 0;
	}
}
@media (max-width: 485px) {
	.pbmit-slider-area .pbmit-title {
		font-size: 28px;
		line-height: 36px;
	}
}
@media (max-width: 375px) {
	.pbmit-slider-area .pbmit-title {
		font-size: 24px;
		line-height: 30px;
	}
}

/* Logo pinned to the left, compact width */
.site-header.header-style-3 .pbmit-logo-area {
	flex: 0 0 auto;
	order: 1;
	margin-right: 20px;
}

/* Nav takes remaining space, centered between logo and right box */
.site-header.header-style-3 .pbmit-logo-menuarea {
	flex: 1 1 auto;
	order: 2;
	min-width: 0;
	justify-content: center;
}

/* Right box pinned to the right */
.site-header.header-style-3 .pbmit-right-box {
	flex: 0 0 auto;
	order: 3;
	justify-content: flex-end;
}

.header-style-3 .main-menu .navigation {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	white-space: nowrap;
}

.header-style-3 .main-menu .navigation > li {
	float: none;
	margin: 0 14px;
}

.header-style-3 .main-menu .navigation > li > a {
	font-size: 14px;
	white-space: nowrap;
}

/* Progressively tighten as viewport shrinks */
@media (max-width: 1500px) {
	.header-style-3 .main-menu .navigation > li { margin: 0 11px; }
	.header-style-3 .main-menu .navigation > li > a { font-size: 13px; }
	.site-header.header-style-3 .pbmit-header-button a {
		padding-left: 55px;
	}
	.header-style-3 .pbmit-button-box .pbmit-header-button a span.pbmit-header-button-text-2 {
		font-size: 15px;
		line-height: 15px;
	}
}

@media (max-width: 1400px) {
	.header-style-3 .main-menu .navigation > li { margin: 0 9px; }
	.header-style-3 .main-menu .navigation > li > a { font-size: 12.5px; }
	.site-header.header-style-3 .pbmit-header-button {
		display: none; /* free space for the nav on smaller laptops */
	}
	.site-header .pbmit-button-box-second .pbmit-btn {
		padding: 14px 22px;
	}
}

@media (max-width: 1280px) {
	.header-style-3 .main-menu .navigation > li { margin: 0 7px; }
	.site-header.header-style-3 .container-fluid { padding: 0 20px; }
	.site-header.header-style-3 .site-branding img { max-height: 55px; width: auto; }
}
