/*
 * StudentsBooking UI v2 — İçerik sayfaları (CMS, kullanım koşulları, nasıl çalışır, iletişim, site haritası)
 */

/* ===================== CMS / yasal metinler ===================== */
.sb-content { padding: 48px 0 80px; font-family: var(--sb-font); }
.sb-content__wrap { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 56px; }
@media (min-width: 1024px) {
  .sb-content__wrap.has-toc { grid-template-columns: 260px minmax(0, 760px); }
}
.sb-content__title { margin: 0 0 24px; color: var(--sb-text-heading); font-size: 32px; font-weight: 600; line-height: 1.2; }
.sb-content__prose { font-size: 16px; line-height: 1.7; }
.sb-content__prose h2 { margin: 36px 0 12px; color: var(--sb-text-heading); font-size: 20px; font-weight: 600; line-height: 1.3; scroll-margin-top: 84px; }
.sb-content__prose p { margin: 0 0 14px; }
.sb-content__prose h3 { margin: 24px 0 8px; color: var(--sb-text-heading); font-size: 17px; font-weight: 600; line-height: 1.35; }
.sb-content__prose li { margin-bottom: 6px; }
.sb-content__prose li > ul, .sb-content__prose li > ol { margin: 6px 0 0; }
.sb-content__prose ul, .sb-content__prose ol { margin: 0 0 14px; padding-left: 22px; }
.sb-content__prose a { color: var(--sb-primary-text); text-decoration: underline; }

.sb-content__toc { display: none; }
@media (min-width: 1024px) {
  .sb-content__toc {
    display: block;
    position: sticky; top: calc(var(--sb-header-h) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--sb-header-h) - 48px); overflow-y: auto;
    padding-right: 8px;
  }
}
.sb-content__toc-title { margin: 6px 0 12px; color: var(--sb-text-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sb-content__toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--sb-divider); }
.sb-content__toc a {
  display: block; margin-left: -2px; padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  color: var(--sb-text-heading); font-size: 14px; line-height: 1.35;
}
.sb-content__toc a:hover { border-left-color: var(--sb-primary); color: var(--sb-primary-text); }

.sb-sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.sb-sitemap a { display: block; padding: 8px 0; color: var(--sb-primary-text); font-size: 16px; }
.sb-sitemap a:hover { text-decoration: underline; }

/* ===================== Nasıl çalışır ===================== */
.sb-hiw { padding: 56px 0 80px; font-family: var(--sb-font); }
.sb-hiw__head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sb-hiw__head h1 { margin: 0 0 12px; color: var(--sb-text-heading); font-size: 40px; font-weight: 600; line-height: 1.2; }
.sb-hiw__head p { margin: 0 0 24px; color: var(--sb-text-muted); font-size: 18px; line-height: 1.5; }
.sb-hiw__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sb-hiw__step { padding: 28px 24px; border-radius: var(--sb-radius-lg); background: #fff; box-shadow: var(--sb-ring); }
.sb-hiw__badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: #E6F7FD; color: var(--sb-primary); }
.sb-hiw__badge .sb-icon { width: 26px; height: 26px; }
.sb-hiw__badge span {
  position: absolute; top: -4px; right: -4px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sb-text-heading); color: #fff; font-size: 12px; font-weight: 600;
}
.sb-hiw__step h2 { margin: 0 0 10px; color: var(--sb-text-heading); font-size: 20px; font-weight: 600; }
.sb-hiw__text { color: var(--sb-text-heading); font-size: 15px; line-height: 1.6; }
.sb-hiw__text ul { margin: 0; padding-left: 18px; }
.sb-hiw__text li { margin-bottom: 6px; }
.sb-hiw__text ul ul { margin-top: 6px; }
.sb-hiw__cta { margin-top: 32px; text-align: center; }

/* ===================== İletişim ===================== */
.sb-contact { padding: 48px 0 80px; font-family: var(--sb-font); }
.sb-contact__wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) {
  .sb-contact__wrap { grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: start; }
}
.sb-contact__intro h1 { margin: 0 0 10px; color: var(--sb-text-heading); font-size: 32px; font-weight: 600; }
.sb-contact__intro > p { margin: 0 0 32px; color: var(--sb-text-muted); font-size: 17px; line-height: 1.5; }
.sb-contact__intro h2 { margin: 0 0 12px; color: var(--sb-text-heading); font-size: 20px; font-weight: 600; }
.sb-contact__card {
  padding: 28px;
  border-radius: var(--sb-radius-lg); background: #fff;
  box-shadow: 0 5px 20px rgba(34, 66, 81, .2);
}
@media (min-width: 1024px) { .sb-contact__card { position: sticky; top: calc(var(--sb-header-h) + 24px); } }
body.sb-v2 .sb-contact textarea.form-control { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }

.sb-faq { border-top: 1px solid var(--sb-divider); }
.sb-faq__item { border-bottom: 1px solid var(--sb-divider); }
.sb-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; list-style: none; cursor: pointer;
  color: var(--sb-text-heading); font-size: 16px; font-weight: 500;
}
.sb-faq__item summary::-webkit-details-marker { display: none; }
.sb-faq__item summary .sb-icon { flex: none; color: var(--sb-text-muted); transition: transform var(--sb-ease); }
.sb-faq__item[open] summary .sb-icon { transform: rotate(180deg); }
.sb-faq__answer { padding: 0 0 16px; color: var(--sb-text-heading); font-size: 15px; line-height: 1.6; }

@media (max-width: 767px) {
  .sb-content, .sb-hiw, .sb-contact { padding-top: 28px; }
  .sb-content__title, .sb-contact__intro h1 { font-size: 26px; }
  .sb-hiw__head h1 { font-size: 28px; }
  .sb-hiw__steps { grid-template-columns: 1fr; }
  .sb-sitemap { grid-template-columns: 1fr; }
  .sb-contact__card { padding: 20px; box-shadow: var(--sb-ring); }
}

/* =====================================================================
 * Herkese açık profil (v2/content/profile.php) — Instagram tarzı başlık
 * ===================================================================== */
.sb-up { padding: 40px 0 80px; font-family: var(--sb-font); color: var(--sb-text-heading); }
.sb-up__wrap { max-width: 1040px; }

.sb-up-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--sb-divider); }
.sb-up-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; justify-self: center; }
.sb-up-avatar { position: relative; display: grid; place-items: center; width: 168px; height: 168px; margin: 18px; border-radius: 50%; }
.sb-up-avatar img, .sb-up-avatar__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--sb-surface); }
.sb-up-avatar__link { display: block; width: 100%; height: 100%; border-radius: 50%; cursor: zoom-in; }
.sb-up-avatar__initials { display: grid; place-items: center; color: var(--sb-primary); font-size: 54px; font-weight: 700; letter-spacing: .02em; background: linear-gradient(135deg, #E6F7FD, #F3FBFF); }

.sb-up-head__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sb-up-name { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 28px; font-weight: 600; line-height: 1.2; text-transform: capitalize; }
.sb-up-badge { flex: none; filter: drop-shadow(0 1px 1px rgba(0, 149, 246, .25)); }
.sb-up-head__actions { display: flex; gap: 8px; margin-left: auto; }
.sb-up-head__actions .sb-btn { height: 36px; padding: 0 14px; border-radius: 9px; gap: 6px; font-weight: 600; }

.sb-up-stats { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 16px; }
.sb-up-stats li { display: inline-flex; align-items: center; gap: 6px; color: var(--sb-text-heading); }
.sb-up-stats strong { font-weight: 700; }
.sb-up-role { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 0; color: var(--sb-text-muted); font-size: 14px; }
.sb-up-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: #E6F7FD; color: #0079AA; font-weight: 600; font-size: 13px; }
.sb-up-bio { max-width: 620px; margin: 14px 0 0; color: var(--sb-text-heading); font-size: 15px; line-height: 1.6; }

.sb-up-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; margin-top: 36px; }
.sb-up-section + .sb-up-section { margin-top: 40px; }
.sb-up-section__title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.sb-up-section__title .sb-icon { color: var(--sb-text-muted); }
.sb-up-section__count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--sb-surface); color: var(--sb-text-muted); font-size: 12px; font-weight: 700; }

.sb-up-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: hidden; border-radius: 14px; }
.sb-up-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sb-surface); }
.sb-up-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.sb-up-photo:hover img { transform: scale(1.05); filter: brightness(.92); }

.sb-up-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 20px; }
.sb-up .sb-card__media { border-radius: 12px; }
.sb-up .sb-card__fav { top: 10px; right: 8px; width: 40px; height: 40px; border-radius: 32px; box-shadow: none; }

.sb-up-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sb-up-review { padding: 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--sb-divider); }
.sb-up-review__head { display: flex; align-items: center; gap: 10px; }
.sb-up-review__head img, .sb-up-review__init { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sb-up-review__init { display: grid; place-items: center; background: #E6F7FD; color: var(--sb-primary); font-weight: 700; }
.sb-up-review__head strong { display: block; font-size: 14px; font-weight: 600; }
.sb-up-review__head time { color: var(--sb-text-muted); font-size: 12px; }
.sb-up-review__head .sb-rv-stars { margin-left: auto; font-size: 14px; }
.sb-up-review p { margin: 12px 0 10px; font-size: 14px; line-height: 1.55; }
.sb-up-review__room { display: inline-flex; align-items: center; gap: 6px; color: var(--sb-text-muted); font-size: 12px; font-weight: 500; }
body.sb-v2 .sb-up-review__room { color: var(--sb-text-muted); }
.sb-up-empty { margin: 0; padding: 20px; border-radius: 14px; background: var(--sb-surface); color: var(--sb-text-muted); font-size: 14px; }

.sb-up-side { position: sticky; top: calc(var(--sb-header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.sb-up-card { padding: 22px; border-radius: 14px; box-shadow: 0 0 0 1px var(--sb-divider); background: #fff; }
.sb-up-card h2 { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
.sb-up-checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sb-up-checks li { display: flex; align-items: center; gap: 10px; color: var(--sb-text-muted); font-size: 14px; }
.sb-up-checks .sb-icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #EEF1F3; color: #9AA9B1; stroke-width: 3; }
.sb-up-checks li.is-ok { color: var(--sb-text-heading); }
.sb-up-checks li.is-ok .sb-icon { background: #E3F6EC; color: #2BAD63; }
.sb-up-card__note { display: flex; gap: 6px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--sb-divider); color: var(--sb-text-muted); font-size: 12px; line-height: 1.45; }
.sb-up-card__note .sb-icon { flex: none; margin-top: 2px; }
.sb-up-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-up-langs span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--sb-surface); font-size: 13px; font-weight: 500; }

@media (max-width: 1023px) {
  .sb-up-grid { grid-template-columns: 1fr; }
  .sb-up-side { position: static; }
}
@media (max-width: 767px) {
  .sb-up { padding: 20px 0 56px; }
  .sb-up-head { gap: 14px; align-items: start; padding-bottom: 22px; }
  .sb-up-head { grid-template-columns: 124px minmax(0, 1fr); }
  .sb-up-avatar { width: 92px; height: 92px; margin: 12px; }
  .sb-up-frame-label { font-size: 10px; height: 22px; padding: 0 8px; }
  .sb-up-avatar__initials { font-size: 30px; }
  .sb-up-name { font-size: 21px; }
  .sb-up-head__actions { margin-left: 0; width: 100%; }
  .sb-up-head__actions .sb-btn { flex: 1 1 0; }
  .sb-up-stats { gap: 6px 18px; font-size: 14px; }
  .sb-up-bio { grid-column: 1 / -1; }
  .sb-up-rooms, .sb-up-reviews { grid-template-columns: 1fr !important; }
}

/* Doğrulandı bilgi kartı (X tarzı) */

/* Fotoğraf galerisi (lightbox) */
.sb-lb { position: fixed; inset: 0; z-index: 1090; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: 1fr auto; align-items: center; padding: 56px 16px 16px; background: rgba(10, 16, 20, .94); opacity: 0; transition: opacity .18s ease; }
.sb-lb.is-open { opacity: 1; }
.sb-lb[hidden] { display: none; }
.sb-lb__stage { grid-column: 2; margin: 0; height: 100%; display: grid; place-items: center; min-height: 0; }
.sb-lb__stage img { min-width: min(100%, 440px); max-width: 100%; max-height: calc(100vh - 180px); border-radius: 10px; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.sb-lb__nav, .sb-lb__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .15s ease; }
.sb-lb__nav:hover, .sb-lb__close:hover { background: rgba(255, 255, 255, .24); }
.sb-lb__nav--prev { grid-column: 1; justify-self: start; }
.sb-lb__nav--next { grid-column: 3; justify-self: end; }
.sb-lb__close { position: absolute; top: 12px; right: 16px; width: 42px; height: 42px; }
.sb-lb__count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.sb-lb__thumbs { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; padding-top: 16px; }
.sb-lb__thumbs button { width: 56px; height: 56px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: none; opacity: .55; cursor: pointer; transition: opacity .15s ease, border-color .15s ease; }
.sb-lb__thumbs button.is-on { border-color: #fff; opacity: 1; }
.sb-lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sb-lb.is-single .sb-lb__nav, .sb-lb.is-single .sb-lb__thumbs { visibility: hidden; }
.sb-up-photo { cursor: zoom-in; }
@media (max-width: 767px) {
  .sb-lb { grid-template-columns: 0 minmax(0, 1fr) 0; padding: 56px 8px 12px; }
  .sb-lb__nav { position: absolute; bottom: 92px; width: 44px; height: 44px; }
  .sb-lb__nav--prev { left: 16px; } .sb-lb__nav--next { right: 16px; }
}

/* Profil — "Profil çerçeveleri" kartı (partials/frame_track + sb_frame_tip) */
.sb-up-frames { background: linear-gradient(165deg, #F4FBFE 0%, #fff 55%); }
.sb-up-frames__cur { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sb-up-frames__lvl { color: var(--sb-text-muted); font-size: 12px; font-weight: 600; }
.sb-up-frames__text { margin: 0 0 14px; color: var(--sb-text-dark-gray); font-size: 13px; line-height: 1.5; }
.sb-up-frames .sb-fp__track--mini { margin: 0 -8px; }
.sb-up-frames__cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--sb-primary-text); font-size: 13px; font-weight: 600; text-decoration: none; }
.sb-up-frames__cta:hover { text-decoration: underline; }

/* ============ Yardım merkezi + iletişim (content/contact.php) — Airbnb yardım merkezi düzeni ============ */
.sb-hc { padding-bottom: 72px; font-family: var(--sb-font); color: var(--sb-text-heading); }
.sb-hc-hero { padding: 56px 0 28px; text-align: center; }
.sb-hc-hero h1 { margin: 0 0 28px; font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.sb-hc-search { position: relative; display: flex; align-items: center; max-width: 640px; height: 64px; margin: 0 auto; padding: 0 8px 0 24px; border: 1px solid #DDE3E6; border-radius: 32px; background: #fff; box-shadow: 0 6px 20px rgba(15, 32, 44, .08); transition: box-shadow .2s ease; }
.sb-hc-search:focus-within { box-shadow: 0 8px 28px rgba(15, 32, 44, .14); border-color: #C9D3D8; }
.sb-hc-search > .sb-icon { flex: none; color: var(--sb-text-muted); }
.sb-hc-search input, body.sb-v2 .sb-hc-search input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 16px; outline: 0; }
.sb-hc-search input::-webkit-search-cancel-button { display: none; }
.sb-hc-search__btn { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 24px; background: var(--sb-primary); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.sb-hc-search__btn:hover { background: var(--sb-primary-hover); }
.sb-hc-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; margin: 0; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(15, 32, 44, .18); list-style: none; text-align: left; }
.sb-hc-suggest a, body.sb-v2 .sb-hc-suggest a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--sb-text-heading); font-size: 15px; text-decoration: none; }
.sb-hc-suggest a:hover, .sb-hc-suggest a.is-sel { background: var(--sb-surface); }
.sb-hc-suggest a > span { flex: 1; min-width: 0; }
.sb-hc-suggest small { flex: none; color: var(--sb-text-muted); font-size: 12px; }
.sb-hc mark { padding: 0; background: none; color: inherit; font-weight: 700; }

.sb-hc-tabs { display: flex; gap: 28px; margin: 12px 0 0; border-bottom: 1px solid #E4EAED; }
.sb-hc-tabs button { position: relative; padding: 14px 0; border: 0; background: none; color: var(--sb-text-muted); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.sb-hc-tabs button:hover { color: var(--sb-text-heading); }
.sb-hc-tabs button[aria-selected="true"] { color: var(--sb-text-heading); }
.sb-hc-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--sb-text-heading); }

.sb-hc-login, body.sb-v2 .sb-hc-login { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 16px 24px; border-radius: 14px; background: linear-gradient(90deg, #00ADEF, #0089D6); color: #fff; text-decoration: none; transition: filter .15s ease; }
.sb-hc-login:hover { filter: brightness(1.05); color: #fff; }
.sb-hc-login span { font-size: 15px; opacity: .95; }
.sb-hc-login strong { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 22px; background: #fff; color: #0079AA; font-size: 14px; font-weight: 700; }
.sb-hc-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.sb-hc-quick a, body.sb-v2 .sb-hc-quick a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #E4EAED; border-radius: 14px; color: var(--sb-text-heading); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.sb-hc-quick a:hover { border-color: #C9D3D8; box-shadow: 0 4px 14px rgba(15, 32, 44, .07); }
.sb-hc-quick a > span { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #E6F7FD; color: var(--sb-primary); }
.sb-hc-quick__chev { margin-left: auto; color: var(--sb-text-muted); }

.sb-hc-section { padding-top: 48px; }
.sb-hc-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sb-hc-section__head h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.sb-hc-link, body.sb-v2 .sb-hc-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--sb-text-heading); font-family: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.sb-hc-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sb-hc-guide, body.sb-v2 .sb-hc-guide { display: flex; flex-direction: column; color: var(--sb-text-heading); text-decoration: none; }
.sb-hc-guide__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #E6F7FD; }
.sb-hc-guide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.sb-hc-guide:hover .sb-hc-guide__img img { transform: scale(1.04); }
.sb-hc-guide__body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; }
.sb-hc-guide__body small { color: var(--sb-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sb-hc-guide__body strong { font-size: 18px; font-weight: 700; line-height: 1.3; }
.sb-hc-guide__body > span { color: var(--sb-text-muted); font-size: 14px; }

.sb-hc-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.sb-hc-article, body.sb-v2 .sb-hc-article { display: flex; align-items: flex-start; gap: 14px; padding: 20px 0; border-bottom: 1px solid #E4EAED; color: var(--sb-text-heading); text-decoration: none; }
.sb-hc-article__ic { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sb-surface); color: var(--sb-text-heading); transition: background-color .15s ease, color .15s ease; }
.sb-hc-article:hover .sb-hc-article__ic { background: #E6F7FD; color: var(--sb-primary); }
.sb-hc-article__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sb-hc-article__body strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.sb-hc-article:hover .sb-hc-article__body strong { text-decoration: underline; text-underline-offset: 3px; }
.sb-hc-article__body > span { color: var(--sb-text-muted); font-size: 14px; line-height: 1.5; }
.sb-hc-article__body small { color: var(--sb-primary); font-size: 12px; font-weight: 600; }

.sb-hc-explore { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sb-hc-x, body.sb-v2 .sb-hc-x { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid #E4EAED; border-radius: 16px; color: var(--sb-text-heading); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.sb-hc-x:hover { border-color: #C9D3D8; box-shadow: 0 6px 18px rgba(15, 32, 44, .08); transform: translateY(-2px); }
.sb-hc-x__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: #E6F7FD; color: var(--sb-primary); }
.sb-hc-x strong { font-size: 16px; font-weight: 700; }
.sb-hc-x > span:last-child { color: var(--sb-text-muted); font-size: 13.5px; line-height: 1.45; }

.sb-hc-touch { margin-top: 56px; padding: 32px; border-radius: 20px; background: var(--sb-surface); scroll-margin-top: calc(var(--sb-header-h, 72px) + 16px); }
.sb-hc-touch__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sb-hc-touch__head h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; }
.sb-hc-touch__head p { max-width: 560px; margin: 0; color: var(--sb-text-muted); font-size: 15px; line-height: 1.5; }
.sb-hc-touch__actions { display: flex; flex: none; gap: 10px; }
.sb-hc-touch__actions .sb-btn { display: inline-flex; align-items: center; gap: 8px; }
.sb-hc-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; margin-top: 28px; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15, 32, 44, .05); animation: sb-hc-in .25s ease; }
.sb-hc-form[hidden] { display: none; }
@keyframes sb-hc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sb-hc-form__intro h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.sb-hc-form__intro p { margin: 0; color: var(--sb-text-muted); font-size: 14px; }
body.sb-v2 .sb-hc-form textarea.form-control { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }

.sb-hc-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(86vh, 820px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--sb-text-heading); box-shadow: 0 24px 60px rgba(15, 32, 44, .3); font-family: var(--sb-font); }
.sb-hc-dialog[open] { display: flex; flex-direction: column; animation: sb-hc-pop .2s ease; }
.sb-hc-dialog::backdrop { background: rgba(15, 25, 32, .5); }
@keyframes sb-hc-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.sb-hc-dialog__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 28px; border-bottom: 1px solid #E4EAED; }
.sb-hc-dialog__aud { color: var(--sb-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sb-hc-dialog__x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sb-text-heading); cursor: pointer; }
.sb-hc-dialog__x:hover { background: var(--sb-surface); }
.sb-hc-dialog__body { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 28px 8px; }
.sb-hc-dialog__body h2 { margin: 0 0 16px; font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.sb-hc-dialog__text p { margin: 0 0 14px; color: #3B4A51; font-size: 16px; line-height: 1.65; }
.sb-hc-dialog__related, body.sb-v2 .sb-hc-dialog__related { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 16px; padding: 10px 16px; border-radius: 22px; background: #E6F7FD; color: #0079AA; font-size: 14px; font-weight: 600; text-decoration: none; }
.sb-hc-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px 20px; border-top: 1px solid #E4EAED; flex-wrap: wrap; }
.sb-hc-helpful { display: flex; align-items: center; gap: 8px; color: var(--sb-text-muted); font-size: 14px; }
.sb-hc-helpful button { padding: 6px 14px; border: 1px solid #DDE3E6; border-radius: 18px; background: #fff; color: var(--sb-text-heading); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sb-hc-helpful button:hover { border-color: var(--sb-text-heading); }
.sb-hc-helpful.is-done button { display: none; }
.sb-hc-helpful em { color: #2BAD63; font-style: normal; font-weight: 600; }

@media (max-width: 1023px) {
  .sb-hc-quick, .sb-hc-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-hc-form { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .sb-hc-hero { padding: 32px 0 16px; text-align: left; }
  .sb-hc-hero h1 { margin-bottom: 20px; font-size: 28px; }
  .sb-hc-search { height: 56px; padding: 0 6px 0 18px; }
  .sb-hc-search__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .sb-hc-search__btn span { display: none; }
  .sb-hc-login { flex-direction: column; align-items: flex-start; padding: 16px; }
  .sb-hc-guides, .sb-hc-articles { grid-template-columns: 1fr; }
  .sb-hc-guides { display: flex; gap: 14px; margin: 0 calc(var(--sb-gutter-mobile, 16px) * -1); padding: 0 var(--sb-gutter-mobile, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--sb-gutter-mobile, 16px); scrollbar-width: none; }
  .sb-hc-guides[hidden] { display: none; }
  .sb-hc-guide { flex: 0 0 82%; scroll-snap-align: start; }
  .sb-hc-explore { grid-template-columns: 1fr; gap: 10px; }
  .sb-hc-x { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 14px 16px; }
  .sb-hc-x__ic { margin: 0; }
  .sb-hc-x > span:last-child { flex-basis: 100%; }
  .sb-hc-section { padding-top: 36px; }
  .sb-hc-section__head h2 { font-size: 21px; }
  .sb-hc-touch { margin-top: 40px; padding: 22px 18px; }
  .sb-hc-touch__head { flex-direction: column; align-items: flex-start; }
  .sb-hc-touch__actions { width: 100%; flex-direction: column; }
  .sb-hc-touch__actions .sb-btn { justify-content: center; }
  .sb-hc-form { padding: 18px; }
  .sb-hc-dialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .sb-hc-dialog__body h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .sb-hc-guide__img img, .sb-hc-x, .sb-hc-dialog[open], .sb-hc-form { transition: none; animation: none; } }
.sb-hc [hidden] { display: none !important; }   /* grid/flex bileşenlerde hidden özniteliği ezilmesin (kitle sekmeleri, sonuçlar) */

/* ============ Tüm yardım konuları (content/help_topics.php) ============ */
.sb-ht { padding-top: 28px; }
.sb-ht-crumbs { display: flex; align-items: center; gap: 6px; color: var(--sb-text-muted); font-size: 13px; }
.sb-ht-crumbs a, body.sb-v2 .sb-ht-crumbs a { color: var(--sb-text-heading); font-weight: 600; text-decoration: none; }
.sb-ht-crumbs a:hover { text-decoration: underline; }
.sb-ht-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 28px 0 8px; }
.sb-ht-head h1 { margin: 0 0 6px; font-size: 36px; font-weight: 700; letter-spacing: -.02em; }
.sb-ht-head p { margin: 0; color: var(--sb-text-muted); font-size: 17px; }
.sb-ht-filter { display: flex; flex: 0 1 340px; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid #DDE3E6; border-radius: 23px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.sb-ht-filter:focus-within { border-color: #C9D3D8; box-shadow: 0 4px 14px rgba(15, 32, 44, .08); }
.sb-ht-filter .sb-icon { flex: none; color: var(--sb-text-muted); }
.sb-ht-filter input, body.sb-v2 .sb-ht-filter input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 14px; outline: 0; }
.sb-ht-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 96px; padding-top: 36px; }
.sb-ht-cat { padding-bottom: 32px; break-inside: avoid; }
.sb-ht-cat h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.sb-ht-cat h2 small { color: var(--sb-text-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.sb-ht-cat ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sb-ht-cat a, body.sb-v2 .sb-ht-cat a { display: inline-flex; align-items: center; gap: 6px; color: var(--sb-text-heading); font-size: 15px; line-height: 1.4; text-decoration: underline; text-decoration-color: rgba(34, 66, 81, .35); text-underline-offset: 3px; transition: text-decoration-color .15s ease, color .15s ease; }
.sb-ht-cat a:hover { color: var(--sb-primary); text-decoration-color: currentColor; }
.sb-ht-cat a .sb-icon { width: 12px; height: 12px; opacity: .55; }
.sb-ht-empty { margin: 24px 0 0; color: var(--sb-text-muted); font-size: 15px; }
.sb-ht-touch { margin-top: 24px; }
@media (max-width: 767px) {
  .sb-ht { padding-top: 16px; }
  .sb-ht-head { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .sb-ht-head h1 { font-size: 28px; }
  .sb-ht-head p { font-size: 15px; }
  .sb-ht-filter { flex-basis: auto; }
  .sb-ht-grid { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .sb-ht-cat { padding: 18px 0; border-bottom: 1px solid #E4EAED; }
  .sb-ht-cat h2 { font-size: 19px; }
}

/* ---------- Uzun metin kısaltma (profil biyografisi, yorumlar) ---------- */
.sb-clamp { position: relative; }
.sb-clamp__body { overflow-wrap: anywhere; word-break: normal; }
.sb-clamp.sb-up-bio-wrap { max-width: 620px; margin: 14px 0 0; }
.sb-clamp.sb-up-bio-wrap .sb-up-bio { margin: 0; }
.sb-clamp:not(.is-open) .sb-clamp__body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.sb-clamp--review:not(.is-open) .sb-clamp__body { -webkit-line-clamp: 5; line-clamp: 5; }
.sb-clamp.is-clamped .sb-clamp__body { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.sb-clamp__btn {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 4px 0; border: 0; background: none;
  color: var(--sb-text-heading); font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sb-clamp__btn[hidden] { display: none; }
.sb-clamp__btn:hover { color: var(--sb-primary-text); }
.sb-clamp__btn .sb-icon { transition: transform .2s ease; }
.sb-clamp.is-open .sb-clamp__btn .sb-icon { transform: rotate(180deg); }
@media (max-width: 767px) {
  .sb-clamp.sb-up-bio-wrap { grid-column: 1 / -1; max-width: none; }
  .sb-clamp.sb-up-bio-wrap:not(.is-open) .sb-clamp__body { -webkit-line-clamp: 5; line-clamp: 5; }
}
/* biyografi başlık ızgarasının kendi satırında: masaüstünde sağ sütun, mobilde tam genişlik */
.sb-up-head > .sb-up-bio-wrap { grid-column: 2; margin-top: -32px; }
@media (max-width: 767px) { .sb-up-head > .sb-up-bio-wrap { grid-column: 1 / -1; margin-top: 0; } }
