/* Ortadoğulular Şube Sayfası */
.osbp {
	--osbp-navy: #13254a;
	--osbp-navy-2: #1c3566;
	--osbp-blue: #0c6ccf;
	--osbp-blue-dark: #0a58a9;
	--osbp-gold: #d4a72c;
	--osbp-ink: #1d2433;
	--osbp-muted: #5d6577;
	--osbp-line: #e3e8f0;
	--osbp-soft: #f4f7fb;
	--osbp-wa: #1fa855;
	--osbp-r: 16px;
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* yatay kayan şeritler sayfayı genişletmesin */
	gap: 72px;
	color: var(--osbp-ink);
	font-family: inherit;
	line-height: 1.6;
	max-width: 1240px;
	margin: 0 auto 72px;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}
.osbp *, .osbp *::before, .osbp *::after { box-sizing: border-box; }
.osbp [hidden] { display: none !important; }
.osbp h2, .osbp h3, .osbp p, .osbp ul, .osbp figure { margin: 0; }
.osbp a { text-decoration: none; }
.osbp img { display: block; max-width: 100%; height: auto; }
.osbp-ico { flex: none; }

/* Bölüm başlıkları */
.osbp-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--osbp-blue);
}
.osbp-kicker::before { content: ""; width: 26px; height: 2px; background: var(--osbp-gold); }
.osbp-h2 {
	margin-top: 8px !important; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800;
	color: var(--osbp-navy); text-wrap: balance;
}
.osbp-head { margin-bottom: 28px; }

/* Düğmeler */
.osbp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
	font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer;
	transition: transform .15s, background-color .15s, border-color .15s, color .15s;
}
.osbp-btn:hover { transform: translateY(-1px); }
.osbp-btn:focus-visible, .osbp a:focus-visible, .osbp button:focus-visible { outline: 3px solid var(--osbp-gold); outline-offset: 2px; }
.osbp-btn-primary { background: var(--osbp-blue); color: #fff !important; }
.osbp-btn-primary:hover { background: var(--osbp-blue-dark); }
.osbp-btn-wa { background: var(--osbp-wa); color: #fff !important; }
.osbp-btn-gold { background: var(--osbp-gold); color: var(--osbp-navy) !important; }
.osbp-btn-ghost { border-color: currentColor; color: var(--osbp-navy) !important; background: transparent; }

/* 1. Giriş */
.osbp-hero {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center;
	padding: 44px; border-radius: 28px; color: #fff; position: relative; overflow: hidden;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(212, 167, 44, .18), transparent 55%),
		linear-gradient(135deg, var(--osbp-navy) 0%, var(--osbp-navy-2) 100%);
}
.osbp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--osbp-gold); }
.osbp-title { margin-top: 10px !important; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 800; color: #fff !important; text-wrap: balance; }
.osbp-lead { margin-top: 14px !important; font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 52ch; }
.osbp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; padding: 0; list-style: none; }
.osbp-chips li::before { content: none !important; display: none !important; }
.osbp-chips li { list-style: none; margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.osbp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.osbp-hero .osbp-btn-primary { background: #fff; color: var(--osbp-navy) !important; }
.osbp-hero .osbp-btn-primary:hover { background: #eef3fb; }
.osbp-hero .osbp-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.osbp-hero .osbp-btn-ghost:hover { border-color: #fff; }

/* Fotoğraf eklenmemiş şubede giriş alanı tek sütun */
.osbp-hero--text { grid-template-columns: minmax(0, 1fr); padding-top: 52px; padding-bottom: 52px; }
.osbp-hero--text .osbp-lead { max-width: 70ch; }

.osbp-slider { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, .08); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); touch-action: pan-y; }
.osbp-slides, .osbp-slide { position: absolute; inset: 0; }
.osbp-slide { opacity: 0; transition: opacity .6s ease; }
.osbp-slide.is-active { opacity: 1; }
.osbp-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Düşük çözünürlüklü fotoğraf: büyütüp bulanıklaştırmak yerine sığdır, arkayı yumuşak zeminle doldur */
.osbp-slide.is-small { overflow: hidden; background: var(--osbp-navy); }
.osbp-slide.is-small::before {
	content: ""; position: absolute; inset: -30px;
	background: var(--osbp-bg) center / cover no-repeat;
	filter: blur(22px) brightness(.55) saturate(1.1);
}
/* En fazla %30 büyütülür; kutuya sığmazsa küçültülür. Kenarları hafif yuvarlatılmış çerçeveli fotoğraf gibi durur. */
.osbp-slide.is-small img {
	position: absolute; inset: 0; margin: auto;
	height: min(var(--osbp-h, 100%), 88%); width: auto; max-width: 90%;
	object-fit: contain; border-radius: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .9);
}
.osbp-nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .92); color: var(--osbp-navy); box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.osbp-prev { left: 12px; }
.osbp-next { right: 12px; }
.osbp-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.osbp-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .2s, background-color .2s; }
.osbp-dots button.is-active { width: 24px; background: #fff; }

/* 2. Bilgi şeridi */
.osbp-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: -40px; }
.osbp-info-item {
	display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--osbp-r);
	background: #fff; border: 1px solid var(--osbp-line); color: var(--osbp-ink); min-width: 0;
}
a.osbp-info-item:hover { border-color: var(--osbp-blue); }
.osbp-info-item > .osbp-ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #e8f1fb; color: var(--osbp-blue); }
.osbp-info-item span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--osbp-muted); }
.osbp-info-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--osbp-navy); overflow-wrap: anywhere; }

/* 3. Şubemiz */
.osbp-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.osbp-prose { margin-top: 16px; color: var(--osbp-ink); font-size: 16px; }
.osbp-prose p { margin: 0 0 1em; }
.osbp-prose h2, .osbp-prose h3 { margin: 1.4em 0 .5em; font-size: 21px; line-height: 1.3; color: var(--osbp-navy); }
.osbp-prose > :first-child { margin-top: 0; }
.osbp-prose a { color: var(--osbp-blue); text-decoration: underline; }
.osbp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Tanıtım metni girilmemiş şubede kartlar başlığın altında tek sıra */
.osbp-about--cards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.osbp-about--cards .osbp-why { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.osbp-why-card { padding: 22px; border-radius: var(--osbp-r); background: var(--osbp-soft); }
.osbp-why-ico { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--osbp-gold); color: var(--osbp-navy); }
.osbp-why-ico .osbp-ico { width: 18px; height: 18px; }
.osbp-why-card h3 { margin-top: 12px !important; font-size: 17px; font-weight: 800; color: var(--osbp-navy); }
.osbp-why-card p { margin-top: 6px !important; font-size: 14px; color: var(--osbp-muted); line-height: 1.55; }

/* Kart ızgarası (programlar, duyurular) */
.osbp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.osbp-card { display: flex; flex-direction: column; border-radius: var(--osbp-r); background: #fff; border: 1px solid var(--osbp-line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.osbp-card:hover { box-shadow: 0 14px 34px rgba(19, 37, 74, .1); transform: translateY(-2px); }
.osbp-program { padding: 24px; border-top: 4px solid var(--osbp-gold); }
.osbp-program h3 { font-size: 19px; font-weight: 800; color: var(--osbp-navy); }
.osbp-program p { margin-top: 8px !important; font-size: 15px; color: var(--osbp-muted); flex: 1; }
.osbp-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--osbp-blue) !important; }
.osbp-link .osbp-ico { width: 18px; height: 18px; transition: transform .15s; }
.osbp-link:hover .osbp-ico { transform: translateX(3px); }

/* 5. Galeri */
.osbp-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.osbp-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--osbp-soft); }
.osbp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.osbp-thumb:hover img { transform: scale(1.05); }

/* 6. Başarılar */
.osbp-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 300px); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.osbp-poster { scroll-snap-align: start; display: block; border-radius: 14px; overflow: hidden; background: var(--osbp-soft); border: 1px solid var(--osbp-line); }
.osbp-poster img { width: 100%; }

/* 7. Duyurular */
.osbp-post { color: var(--osbp-ink) !important; }
.osbp-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--osbp-soft); }
.osbp-post-img img { width: 100%; height: 100%; object-fit: cover; }
.osbp-post-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.osbp-post time { font-size: 13px; color: var(--osbp-muted); }
.osbp-post strong { font-size: 17px; line-height: 1.35; color: var(--osbp-navy); }

/* 8. Form */
.osbp-form { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; padding: 44px; border-radius: 28px; background: var(--osbp-soft); scroll-margin-top: 110px; }
.osbp-form-intro p { margin-top: 12px !important; color: var(--osbp-muted); }
.osbp-callout { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px; border-radius: var(--osbp-r); background: #fff; color: var(--osbp-ink) !important; border: 1px solid var(--osbp-line); }
.osbp-callout > .osbp-ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--osbp-blue); color: #fff; }
.osbp-callout span { font-size: 14px; color: var(--osbp-muted); }
.osbp-callout strong { display: block; font-size: 20px; color: var(--osbp-navy); }
.osbp-form-box { padding: 28px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(19, 37, 74, .06); min-width: 0; }
/* Quform formları yan yana 5 sütun olarak tasarlanmış; kutuda 2 sütuna (telefonda 1) dizilir. */
.osbp-form-box .quform-element-row > .quform-element-column { float: left; width: 50% !important; max-width: none !important; }
.osbp-form-box .quform-input input, .osbp-form-box .quform-input select { width: 100% !important; }

/* 9. Harita */
.osbp-map { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--osbp-line); }
.osbp-map-frame { min-height: 380px; background: var(--osbp-soft); }
.osbp-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.osbp-map-card { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 4px; background: #fff; }
.osbp-map-addr { display: flex; gap: 10px; margin: 16px 0 22px !important; color: var(--osbp-ink); }
.osbp-map-addr .osbp-ico { color: var(--osbp-blue); margin-top: 3px; }
.osbp-map-card .osbp-btn { align-self: flex-start; }

/* 10. SSS */
.osbp-faq-list { border-top: 1px solid var(--osbp-line); }
.osbp-faq details { border-bottom: 1px solid var(--osbp-line); }
.osbp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 700; color: var(--osbp-navy); cursor: pointer; list-style: none; }
.osbp-faq summary::-webkit-details-marker { display: none; }
.osbp-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--osbp-soft); color: var(--osbp-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: transform .2s; }
.osbp-faq details[open] summary::after { transform: rotate(45deg); }
.osbp-faq details p { padding: 0 44px 20px 0; color: var(--osbp-muted); }

/* 11. Detaylı bilgi */
.osbp-more { padding-top: 8px; border-top: 1px solid var(--osbp-line); }
.osbp-more-body { max-width: 860px; }
.osbp-more-body.is-collapsed { max-height: 280px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.osbp-more-btn { margin-top: 14px; padding: 10px 18px; border: 1.5px solid var(--osbp-blue); border-radius: 999px; background: transparent; color: var(--osbp-blue); font: inherit; font-weight: 700; cursor: pointer; }
.osbp-more-btn:hover { background: #e8f1fb; }

/* Büyük görsel penceresi */
.osbp-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 16px; background: rgba(8, 15, 32, .92); }
.osbp-lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.osbp-lb button { position: absolute; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.osbp-lb button:hover { background: rgba(255, 255, 255, .26); }
.osbp-lb-close { top: 14px; right: 14px; }
.osbp-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.osbp-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (max-width: 960px) {
	.osbp { gap: 56px; }
	.osbp-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
	.osbp-slider { order: -1; }
	.osbp-info { margin-top: -20px; }
	.osbp-about, .osbp-form, .osbp-map { grid-template-columns: 1fr; }
	.osbp-form { padding: 28px; gap: 24px; }
	.osbp-map-frame, .osbp-map-frame iframe { min-height: 300px; }
	.osbp-map-card { padding: 28px; }
}

/* Telefon */
@media (max-width: 600px) {
	.osbp { gap: 44px; margin-bottom: 44px; padding-left: 16px; padding-right: 16px; }
	.osbp-form-box .quform-element-row > .quform-element-column { float: none; width: 100% !important; }
	.osbp-hero { padding: 16px 16px 24px; border-radius: 22px; }
	.osbp-slider { border-radius: 14px; }
	.osbp-hero-text { padding: 0 6px; }
	.osbp-lead { font-size: 16px; }
	.osbp-actions .osbp-btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
	.osbp-nav { width: 36px; height: 36px; }
	.osbp-info { grid-template-columns: 1fr; margin-top: 0; }
	.osbp-why, .osbp-about--cards .osbp-why { grid-template-columns: 1fr; }
	.osbp-hero--text { padding: 28px 20px; }
	.osbp-form { padding: 20px 16px; border-radius: 22px; }
	.osbp-form-box { padding: 18px 14px; }
	.osbp-map { border-radius: 22px; }
	.osbp-faq details p { padding-right: 0; }
	.osbp-thumbs { grid-template-columns: 1fr 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.osbp *, .osbp *::before, .osbp *::after { transition: none !important; }
}
