/* onemajans.com — mobil uyum (mevcut şablonu bozmadan) */

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
}

.select-menu {
	display: none;
}

.nav-toggle {
	display: none;
}

@media only screen and (max-width: 767px) {
	html,
	body {
		overflow-x: hidden;
		max-width: 100%;
		width: 100%;
		height: auto;
	}

	#wrapper,
	.wrapp-holder,
	.wrap-frame {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		overflow: hidden;
	}

	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

	.container {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		padding: 0 14px;
	}

	.container .grid_1,
	.container .grid_2,
	.container .grid_3,
	.container .grid_4,
	.container .grid_5,
	.container .grid_6,
	.container .grid_7,
	.container .grid_8,
	.container .grid_9,
	.container .grid_10,
	.container .grid_11,
	.container .grid_12 {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		float: none;
		display: block;
	}

	#header {
		margin-bottom: 16px;
	}

	.header-main .grid_12.hr-bottom {
		position: relative;
		padding-right: 56px;
	}

	#logo {
		float: none;
		text-align: left;
		padding: 10px 0 12px;
	}

	#logo img {
		max-width: 168px;
		width: auto;
		height: auto;
	}

	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		position: absolute;
		right: 0;
		top: 22px;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid #d8d8d8;
		border-radius: 6px;
		background: #fff;
		cursor: pointer;
		z-index: 40;
	}

	.nav-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		background: #282828;
	}

	.nav-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	nav.primary {
		float: none;
		width: 100% !important;
		max-width: 100%;
		clear: both;
	}

	nav.primary .sf-menu,
	.has-mobile-nav nav.primary .sf-menu {
		display: none !important;
		float: none;
		width: 100%;
		margin: 0 0 8px;
	}

	nav.primary.is-open .sf-menu {
		display: block !important;
	}

	.has-mobile-nav .select-menu {
		display: none !important;
	}

	.sf-menu > li {
		float: none;
		display: block;
		width: 100%;
		border-bottom: 1px solid #ebf2ec;
	}

	.sf-menu > li > a {
		padding: 12px 10px !important;
		margin-left: 0;
		font-size: 15px;
	}

	.sf-menu > li.current-menu-item > a {
		padding-bottom: 12px !important;
	}

	.sf-menu ul {
		position: static !important;
		display: block !important;
		width: 100% !important;
		top: auto !important;
		left: auto !important;
		box-shadow: none;
		background: #f7f7f7;
	}

	.sf-menu li li a {
		padding: 8px 16px;
	}

	.slider,
	.flexslider {
		height: auto !important;
		margin-bottom: 18px;
	}

	.bannercontainer,
	.banner,
	.tp-simpleresponsive {
		width: 100% !important;
		max-width: 100% !important;
		height: 200px !important;
		min-height: 200px;
	}

	.banner img,
	.tp-bgimg {
		max-width: 100%;
		height: auto;
	}

	.tp-caption {
		display: none !important;
	}

	.tparrows {
		display: none !important;
	}

	.post-loop {
		margin: 0;
		overflow: visible;
	}

	.post-loop li {
		float: none !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 0 12px 0 !important;
	}

	.post-loop .post-img {
		opacity: 1;
		width: 100%;
		height: auto;
		display: block;
	}

	.post-loop .post-caption {
		position: relative;
		height: auto;
		padding: 12px;
	}

	.tabs .tab-menu ul {
		display: block;
		overflow-x: auto;
		white-space: normal;
	}

	.tabs .tab-menu li {
		display: inline-block;
		float: none;
	}

	.tabs .tab-menu a {
		white-space: normal;
		font-size: 12px;
		line-height: 1.3;
	}

	.content-wrapper {
		padding-bottom: 24px;
	}

	table {
		display: block;
		width: 100% !important;
		max-width: 100%;
		overflow-x: auto;
	}

	#footer .footer-frame,
	.footer-frame {
		width: 100% !important;
		height: auto !important;
	}

	.index-col {
		width: 100% !important;
		height: auto !important;
	}

	#sliderFrame,
	#slider {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}

	div.navBulletsWrapper {
		left: 50% !important;
		transform: translateX(-50%);
		width: auto !important;
	}

	.page-title h1 {
		float: none;
		font-size: 20px;
	}

	input,
	select,
	textarea,
	button {
		max-width: 100%;
		font-size: 16px;
	}

	.hide-on-phone {
		display: none !important;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.post-loop {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
	}

	.post-loop li {
		width: calc(50% - 6px) !important;
		margin: 0 !important;
	}

	.bannercontainer,
	.banner {
		min-height: 180px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.container {
		width: auto !important;
		max-width: 748px;
		padding: 0 10px;
	}

	.bannercontainer,
	.banner {
		width: 100% !important;
		max-width: 100%;
	}

	.sf-menu > li > a {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 14px;
	}
}
