/*--------------------------------------------------
    ## All responsive style
---------------------------------------------------*/
@media all and (min-width: 1600px) {
	.single-newsletter-inner {
		padding: 75px 40px 84px 40px;
	}

	.banner-post-area .single-post-list-wrap {
		margin-bottom: 29px;
	}

	.home2-trending-tab .single-post-list-wrap {
		margin-bottom: 17px;
		padding-top: 8px;
	}

	.back-to-top {
		right: 60px;
		bottom: 50px;
	}

	.single-post-wrap.style-overlay .thumb img {
		width: 100%;
	}

	.single-category-inner img {
		width: 100%;
	}

	.pd-bottom-150 {
		padding-bottom: 200px;
	}

	.mg-top--100 {
		margin-top: -142px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1170px;
	}
}

@media all and (max-width: 1599px) {
	.single-post-wrap.style-white .details .title {
		font-size: 16px;
		line-height: inherit;
	}

	.trending-post .single-post-wrap.style-overlay .details .title {
		font-size: 14px;
	}

	.trending-post .single-post-wrap.style-overlay .post-meta-single p {
		font-size: 12px;
	}

	.single-post-list-wrap .media img {
		width: 75px;
	}

	.single-post-list-wrap.style-two .media img {
		width: 180px;
	}

	.single-post-list-wrap.style-two .title {
		font-size: 16px;
	}

	.single-post-list-wrap .title {
		font-size: 14px;
	}

	.single-post-list-wrap .media .media-body .post-meta-single ul li {
		font-size: 13px;
	}

	.video-tab-inner .single-post-list-wrap .media img {
		width: 117px;
	}

	.single-post-list-wrap .media .media-body p {
		font-size: 14px;
	}

	.video-tab-inner-2 .single-post-list-wrap .media img {
		width: 75px;
	}

	.home2-trending-tab .section-title {
		padding-bottom: 15px;
	}

	/**** food responsive code *****/
	.banner-food-area {
		position: relative;
		padding: 120px 0 130px 0;
	}

}

@media all and (max-width: 1199px) {

	body,
	.single-post-wrap .details p {
		font-size: 15px;
	}

	.post-meta-single ul li {
		font-size: 13px;
	}

	.single-post-wrap .thumb img {
		width: 100%;
	}

	.single-post-wrap.style-overlay .details {
		padding: 18px 14px;
	}

	.section-title .title {
		font-size: 18px;
	}

	.post-slider .owl-nav button {
		margin-left: 7px;
		font-size: 14px;
	}

	.post-slider .owl-nav {
		top: -60px;
	}

	.banner-inner .banner-details .post-meta-single {
		margin-bottom: 19px;
	}

	.banner-inner .banner-details h2 {
		font-size: 28px;
	}

	.banner-inner .banner-details p {
		margin-top: 13px;
	}

	.banner-inner .banner-details .btn {
		margin-top: 14px;
	}

	.banner-inner .banner-details .post-meta-single li .tag-base {
		font-size: 16px;
		height: 38px;
		line-height: 38px;
		padding: 0 12px;
	}

	.single-post-wrap .thumb .btn-date {
		height: 36px;
		line-height: 38px;
		font-size: 14px;
	}

	.trending-post.style-box {
		padding: 15px 15px 15px;
	}

	.trending-post.style-box .single-post-list-wrap .media img {
		width: 55px;
	}

	.trending-post.style-box .single-post-list-wrap .title {
		font-size: 12px;
	}

	.single-post-list-wrap .media .details {
		margin-top: -9px;
	}

	.single-post-list-wrap .media .media-body .post-meta-single ul li {
		font-size: 11px;
	}

	.single-post-wrap.style-overlay .details .title {
		font-size: 16px;
	}

	.single-post-wrap .details h6 {
		font-size: 16px;
	}

	.social-area-2 li {
		margin: 0 2px;
	}

	.banner-post-area .single-post-list-wrap .title {
		font-size: 13px;
	}

	.single-post-wrap.style-box .details {
		padding: 15px;
	}

	.single-post-wrap .spw-bottom ul li p {
		font-size: 12px;
	}
}

@media all and (max-width: 991px) {
	.navbar-area .nav-container .navbar-collapse .navbar-nav li.menu-item-has-children {
		padding-right: 0;
	}

	.mg-top--100 {
		margin-top: -65px;
	}

	.pd-bottom-150 {
		padding-bottom: 115px;
	}

	.banner-inner .banner-details {
		margin-left: 0;
	}

	.banner-inner-3 {
		padding: 0 30px;
	}

	.banner-inner-3 img {
		border-radius: 5px;
	}

	.tag-area-shadow img {
		width: 100%;
	}

	.widget-category img {
		width: 100%;
	}

	.single-blog-inner .single-blog-details h3 {
		font-size: 26px;
	}

	.toggle-btn {
		right: 0px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 99999;
	}

	.toggle-btn.open {
		/* Position relative to the container */
		position: absolute;
		top: 25px;
		right: 0px;
		/* Aligns with original toggle btn right position */
		transform: none;
		z-index: 99999;
	}

	.nav-right-part {
		margin-right: 60px;
	}

	html,
	body {
		overflow-x: hidden;
	}

	/* Fix menu icon color on scroll (sticky header) */
	.sticky-active .toggle-btn i {
		color: #ffffff !important;
	}

	/* Move ticker down on mobile only when sticky to avoid hiding behind header */
	.crypto-ticker-wrap {
		margin-top: 0px;
	}

	/* Apply margin only when scrolling (header becomes fixed) */
	.sticky-ticker-active .crypto-ticker-wrap {
		margin-top: 17px;
	}

	.nav-right-part .header-search {
		color: #fff;
	}

	/**** food responsive code *****/
	.fd-category-inner .thumb img {
		width: 100%;
	}

	/* News Page Responsive Logic */
	.cat-page-area .pd-top-50 {
		padding-top: 20px;
		margin: 0 10px;
	}

	#dynamic-news-container .col-lg-4 {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.single-post-wrap.style-box {
		margin-bottom: 20px;
		margin-left: 10px;
		margin-right: 10px;
		height: auto !important;
		/* Prevent fixed height issues */
	}

	.single-post-wrap.style-box .thumb img {
		height: auto;
		min-height: 200px;
		max-height: 300px;
		object-fit: cover;
	}
}

@media all and (max-width: 767px) {
	.mg-top--100 {
		margin-top: -50px;
	}

	.most-view-slider .active.center .single-most-view-inner {
		transform: scale(1);
	}

	.most-view-slider .owl-stage-outer {
		margin: 0;
	}

	.footer-area .widget-title {
		font-size: 20px;
	}

	.td-search-popup.active .search-form {
		width: 90%;
		min-width: auto;
	}

	.author-area.style-two .media {
		display: block;
	}

	.author-area.style-two .media-body {
		margin-left: 0;
	}
}

@media all and (max-width: 575px) {
	.play-btn-large {
		height: 45px;
		width: 45px;
		line-height: 46px;
		font-size: 15px;
	}

	.single-post-wrap .thumb .play-btn-large {
		margin-left: -22px;
		margin-top: -22px;
	}

	.single-post-list-wrap.style-two .media {
		display: block;
	}

	.single-post-list-wrap.style-two .media img {
		width: 100%;
	}

	.single-post-list-wrap.style-two .media .media-left {
		margin-bottom: 30px;
		margin-right: 0;
	}

	.banner-inner-3 {
		padding: 0 20px;
	}

	.banner-inner-3 .single-post-wrap.style-overlay-bg .details .title {
		font-size: 16px;
	}

	.banner-inner-3 .single-post-wrap.style-overlay-bg .details p {
		font-size: 12px;
	}

	.video-tab-inner-2 {
		padding: 15px;
	}

	.error-area-inner {
		padding: 120px 0;
	}

	.error-area-inner h2 {
		font-size: 135px;
	}

	.error-area-inner h3 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.single-blog-inner .single-blog-details h3 {
		font-size: 22px;
	}

	.single-blog-inner-2 {
		padding: 20px 15px 16px 20px;
	}

	.single-blog-inner-2 .single-blog-details .meta span {
		font-size: 15px;
	}

	.single-blog-inner .thumb .video-play-btn {
		width: 50px;
		height: 50px;
		line-height: 52px;
		margin: -25px 0 0 -25px;
	}

	.single-blog-inner-3 {
		padding: 0 15px 0 15px;
	}

	.pagination .page-item .page-link {
		height: 40px;
		width: 40px;
		line-height: 38px;
	}

	.blog-details-page-inner .single-post-wrap.style-overlay .thumb img {
		min-height: 250px;
	}

	.single-blog-inner .blockquote {
		padding: 20px;
	}

	.single-blog-inner .blockquote p {
		margin: 0;
	}

	.single-blog-inner .blockquote i {
		font-size: 50px;
		left: 40px;
		top: 30px;
		opacity: 0.1;
	}

	.blog-details-page-inner .author-area {
		padding: 20px;
	}

	.blog-details-page-inner .author-area .media {
		display: block;
	}

	.blog-details-page-inner .author-area .media-body {
		margin-left: 0;
		margin-top: 10px;
	}

	.blog-comment .media {
		display: block;
	}

	.blog-comment .media .media-body {
		margin-left: 0;
		margin-top: 10px;
	}

	.blog-comment .media.nesting {
		margin-left: 0;
	}

	.navbar {
		padding: 0;
	}

	.topbar-area .topbar-menu ul li a {
		font-size: 13px;
	}

	.topbar-area .topbar-menu ul li {
		margin: 0 5px;
		padding-left: 10px;
	}

	.navbar-area .nav-container .logo a img {
		width: 140px;
	}

	.back-to-top {
		right: 15px;
		bottom: 20px;
		width: 44px;
		height: 44px;
		line-height: 45px;
	}

	/******* home-food *******/
	.banner-food-area {
		padding: 100px 0 70px 0;
	}

	.home-food .adbar-area {
		padding: 10px 0;
	}

	.home-food .adbar-area .social-area-2 li a {
		background: transparent !important;
		color: var(--heading-color);
	}

	.home-food .adbar-area .social-area-2 li a:hover {
		color: var(--main-color);
	}
}

@media all and (max-width: 360px) {
	.banner-inner .banner-details h2 {
		font-size: 26px;
	}

	.single-post-wrap.style-food-overlay-bg .details {
		margin: 35px 15px 0 15px;
	}

	.widget-author {
		padding: 40px 20px;
	}
}

/* ==========================================================================
   From custom_fixes.css (Responsive Styles)
   ========================================================================== */

/* Hide the adbar logo on desktop since logo is now in navbar */
@media (min-width: 992px) {
	.adbar-area {
		display: none !important;
	}

	.nav-container-centered {
		padding: 10px 15px;
		position: relative;
	}

	/* Absolute Center the Menu on Desktop */
	.navbar-area .nav-container .nav-menu-center {
		display: flex !important;
		/* Force flex on desktop */
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: auto !important;
		margin: 0;
		z-index: 5;
	}

	.navbar-area .nav-container .nav-menu-center .navbar-nav {
		display: flex !important;
		flex-direction: row;
		justify-content: center;
		width: auto !important;
	}

	/* Remove borders between menu items */
	.navbar-area .nav-container .navbar-collapse .navbar-nav li {
		border-left: none !important;
	}

	.nav-menu-center .navbar-nav li+li {
		margin-left: 20px;
		padding-left: 0;
		border-left: none !important;
	}

	.nav-logo-left {
		display: flex;
	}

	.nav-search-right {
		display: flex;
	}
}

/* Mobile adjustments */
@media (max-width: 991px) {
	.nav-container-centered {
		padding: 0 !important;
		/* Remove double padding (Container + Menu) */
		position: relative;
	}

	/* Sticky Navbar on Mobile to keep Close button visible */
	.navbar-area {
		position: sticky;
		top: 0;
		z-index: 1000;
		background: #fff;
	}

	/* Mobile Header Layout: Logo Left, Toggle Right */
	.responsive-mobile-menu {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 5px 15px;
		/* Standard 15px padding */
		background: #fff;
		height: 60px;
		/* Fixed height to prevent "so much heighted" */
	}

	.responsive-mobile-menu .logo img {
		max-height: 40px !important;
		width: auto;
	}

	.responsive-mobile-menu .toggle-btn {
		display: flex !important;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: none;
		/* Removed border as per user preference */
		padding: 4px 8px;
		cursor: pointer;
		height: 36px;
		width: 40px;
		margin-right: 0 !important;
	}

	.responsive-mobile-menu .toggle-btn i {
		color: #201654 !important;
		font-size: 20px !important;
	}

	/* Ensure desktop logo hidden */
	.nav-logo-left {
		display: none !important;
	}

	.nav-search-right {
		display: none !important;
	}

	/* Absolute position mobile search to prevent stacking height */
	.nav-right-part-mobile {
		position: absolute;
		right: 65px;
		/* Adjusted: 15px Padding + 40px Button + 10px Gap */
		top: 50%;
		transform: translateY(-50%);
		display: block !important;
		z-index: 1002;
	}

	.nav-right-part-mobile a i {
		color: #201654;
		font-size: 20px;
	}

	/* Reset Menu to Default Bootstrap Behavior */
	.navbar-area .nav-container .nav-menu-center {
		/* Remove forced flex/absolute so Bootstrap collapse works */
		position: static;
		transform: none;
		width: 100% !important;
		background: #fff;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		margin-top: 10px;
		/* Ensure display is managed by Bootstrap (.collapse / .show) or fall back to block when shown */
	}

	/* Override specificity if needed when Class is added */
	.navbar-area .nav-container .nav-menu-center.show {
		display: block !important;
	}

	.nav-menu-center .navbar-nav {
		flex-direction: column;
		width: 100%;
		padding: 10px 0;
	}

	.navbar-area .nav-container .navbar-collapse .navbar-nav li a {
		color: #201654 !important;
		padding: 10px 20px;
		text-align: left;
		border-bottom: 1px solid #f5f5f5;
		display: block;
	}
}