/* SgFooter — Bi Dünya (BD-16 desktop, BD-18 mobile) */
.cc_b3eorip4_uccPE4gOCS .sg-ft { --ft-line-c: var(--ft-line, var(--sg-line)); border-top: 1px solid var(--ft-line-c); color: var(--sg-text, var(--sg-ink)); }

.cc_b3eorip4_uccPE4gOCS .sg-ft__brand { display: flex; justify-content: center; margin-bottom: clamp(32px, 4vw, 48px); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__logo-link { display: inline-flex; color: inherit; text-decoration: none; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__logo { display: block; width: var(--ft-logo-w); max-width: 70vw; height: auto; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__wordmark { font-family: var(--sg-font-display); font-size: calc(28px * var(--sg-ui, 1)); font-weight: 600; }

/* desktop: link groups left, "Bize ulaş" box right */
.cc_b3eorip4_uccPE4gOCS .sg-ft__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: clamp(32px, 4vw, 64px); align-items: start; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__main.no-contact { grid-template-columns: minmax(0, 1fr); }
/* columns size to their (single-line) titles and share the rest of the row */
.cc_b3eorip4_uccPE4gOCS .sg-ft__cols { display: grid; grid-template-columns: repeat(var(--ft-cols), auto); justify-content: space-between; gap: 24px clamp(18px, 2vw, 36px); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__title {
  margin-bottom: 18px;
  font-family: var(--sg-font-display);
  /* BD-16: group titles are drawn as large as "Bize ulaş" (≈ 1.35 × the link text) */
  font-size: calc(21px * var(--sg-ui, 1));
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.cc_b3eorip4_uccPE4gOCS .sg-ft__toggle { display: none; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__link { color: var(--ft-link, var(--sg-text-2, var(--sg-ink-2))); font-size: calc(15.5px * var(--sg-ui, 1)); line-height: 1.4; text-decoration: none; overflow-wrap: break-word; }
@media (hover: hover) { .cc_b3eorip4_uccPE4gOCS .sg-ft__link:hover { color: var(--sg-text, var(--sg-ink)); text-decoration: underline; text-underline-offset: 3px; } }

/* BD-16 / BD-18: box measured #EFE8DD (lighter than the beige token), rows #FBF8F2 (≈ page colour) */
.cc_b3eorip4_uccPE4gOCS .sg-ft__contact { padding: 22px 20px 18px; border-radius: var(--sg-r-card); background: var(--ft-contact-bg, color-mix(in srgb, var(--sg-beige) 70%, var(--sg-page))); color: var(--sg-ink); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__contact-title { margin-bottom: 16px; font-family: var(--sg-font-display); font-size: calc(22px * var(--sg-ui, 1)); font-weight: 600; line-height: 1.2; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 14px;
  border-radius: var(--sg-r-input);
  background: var(--sg-page);
  color: inherit;
  font-size: calc(16px * var(--sg-ui, 1));
  text-decoration: none;
  transition: box-shadow var(--sg-t-fast), transform var(--sg-t-fast) var(--sg-ease-out);
}
.cc_b3eorip4_uccPE4gOCS .sg-ft__row-text { display: grid; min-width: 0; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__row-value { color: var(--sg-ink-2); font-size: calc(13px * var(--sg-ui, 1)); overflow-wrap: anywhere; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__row-chev { color: var(--sg-ink-2); }
/* BD-16 / BD-18 icon colours: WhatsApp, Instagram and YouTube dark khaki (#3C4334), phone and e-mail near black */
.cc_b3eorip4_uccPE4gOCS .sg-ft__ic--whatsapp, .cc_b3eorip4_uccPE4gOCS .sg-ft__ic--brand { color: var(--ft-brand-ic, #3C4334); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__ic--phone, .cc_b3eorip4_uccPE4gOCS .sg-ft__ic--mail { color: var(--ft-plain-ic, #1A1310); }
@media (hover: hover) { .cc_b3eorip4_uccPE4gOCS .sg-ft__row:hover { box-shadow: 0 6px 18px -12px rgba(48, 46, 40, 0.4); } .cc_b3eorip4_uccPE4gOCS .sg-ft__row:hover .sg-ft__row-chev { color: var(--sg-ink); } }
/* BD-16 / BD-18: rules around the social pair measured #C6C1B8 / #BAB6AD */
.cc_b3eorip4_uccPE4gOCS .sg-ft__social { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--sg-ink) 22%, transparent); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__soc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: inherit; font-size: calc(15px * var(--sg-ui, 1)); text-decoration: none; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__soc + .sg-ft__soc { border-left: 1px solid color-mix(in srgb, var(--sg-ink) 22%, transparent); }
@media (hover: hover) { .cc_b3eorip4_uccPE4gOCS .sg-ft__soc:hover span { text-decoration: underline; text-underline-offset: 3px; } }

/* info row: policies · ETBİS · payment logos · © */
.cc_b3eorip4_uccPE4gOCS .sg-ft__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--ft-line-c);
  font-size: calc(14px * var(--sg-ui, 1));
  justify-content: center; /* images in a centred row, the © line centred under them */
}
.cc_b3eorip4_uccPE4gOCS .sg-ft__info { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; flex: 1 1 100%; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__info-title { font-family: var(--sg-font-display); font-size: calc(16px * var(--sg-ui, 1)); font-weight: 600; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__legal { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__legal li + li::before, .cc_b3eorip4_uccPE4gOCS .sg-ft__info-title + .sg-ft__legal li:first-child::before { content: ""; display: inline-block; width: 1px; height: 16px; margin: 0 14px; vertical-align: middle; background: var(--ft-line-c); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__legal a { color: inherit; text-decoration: none; }
@media (hover: hover) { .cc_b3eorip4_uccPE4gOCS .sg-ft__legal a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.cc_b3eorip4_uccPE4gOCS .sg-ft__etbis { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__media { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; max-width: 100%; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__etbis-qr { display: block; flex-shrink: 0; line-height: 0; } /* QR on the right of the payment logos */
.cc_b3eorip4_uccPE4gOCS .sg-ft__etbis-qr img { display: block; width: auto; height: var(--ft-etbis-h); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__pay { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__pay img { width: auto; height: var(--ft-pay-h); object-fit: contain; }
.cc_b3eorip4_uccPE4gOCS .sg-ft__copy { flex-basis: 100%; order: 99; color: var(--sg-text-2, var(--sg-ink-2)); text-align: center; }

/* BD-16 desktop: ONE info line — "Bilgilendirme metinleri | Gizlilik | … | ETBİS | logos | ©", thin rules between groups */
.cc_b3eorip4_uccPE4gOCS .sg-ft__info .sg-ft__etbis::before, .cc_b3eorip4_uccPE4gOCS .sg-ft__media::before, .cc_b3eorip4_uccPE4gOCS .sg-ft__copy::before { content: ""; display: inline-block; width: 1px; height: 18px; margin-right: 22px; vertical-align: middle; background: var(--ft-line-c); }
@media (min-width: 1024px) {
  /* BD-16: the "Bize ulaş" box starts higher — the group titles sit just under its title line */
  .cc_b3eorip4_uccPE4gOCS .sg-ft__main:not(.no-contact) .sg-ft__cols { padding-top: 36px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__bottom { flex-wrap: nowrap; justify-content: space-between; gap: 0 22px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__info { flex: 0 1 auto; justify-content: flex-start; gap: 8px 22px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__media { flex: 0 0 auto; flex-wrap: nowrap; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__copy { flex: 0 0 auto; flex-basis: auto; order: 0; text-align: right; white-space: nowrap; }
}
@media (max-width: 1023px) {
  .cc_b3eorip4_uccPE4gOCS .sg-ft__info .sg-ft__etbis::before, .cc_b3eorip4_uccPE4gOCS .sg-ft__media::before, .cc_b3eorip4_uccPE4gOCS .sg-ft__copy::before { display: none; }
}

/* narrow desktop: five single-line titles no longer fit next to the box — let them wrap */
@media (max-width: 1279px) {
  .cc_b3eorip4_uccPE4gOCS .sg-ft__title { white-space: normal; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__cols { grid-template-columns: repeat(var(--ft-cols), minmax(0, 1fr)); justify-content: stretch; }
}

/* ---------- tablet: groups in two rows, box below ---------- */
@media (max-width: 1023px) {
  .cc_b3eorip4_uccPE4gOCS .sg-ft__main { grid-template-columns: minmax(0, 1fr); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
}

/* ---------- phone (BD-18): accordion groups, then the contact box, then the centred info ---------- */
@media (max-width: 767px) {
  .cc_b3eorip4_uccPE4gOCS .sg-ft__brand { margin-bottom: 20px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__logo { width: var(--ft-logo-w-m, 140px); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__main { gap: 20px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__cols { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ft-line-c); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__col.is-acc { border-bottom: 1px solid var(--ft-line-c); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__col.is-acc .sg-ft__title--d { display: none; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: var(--sg-font-display);
    font-size: calc(18px * var(--sg-ui, 1));
    font-weight: 600;
    text-align: left;
  }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__toggle svg { flex-shrink: 0; transition: transform var(--sg-t-mid) var(--sg-ease-out); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__col.is-open .sg-ft__toggle svg { transform: rotate(180deg); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__col.is-acc .sg-ft__list { display: none; gap: 10px; padding: 0 0 16px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__col.is-acc.is-open .sg-ft__list { display: grid; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__col:not(.is-acc) { padding: 16px 0; border-bottom: 1px solid var(--ft-line-c); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__link { font-size: calc(15px * var(--sg-ui, 1)); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__contact { padding: 18px 16px 14px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__contact-title { font-size: calc(21px * var(--sg-ui, 1)); margin-bottom: 14px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__row { min-height: 52px; font-size: calc(15px * var(--sg-ui, 1)); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__bottom { justify-content: center; gap: 12px; text-align: center; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__info { flex-direction: column; justify-content: center; gap: 6px; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__legal { justify-content: center; font-size: calc(13px * var(--sg-ui, 1)); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__info-title + .sg-ft__legal li:first-child::before { display: none; }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__legal li + li::before { margin: 0 10px; height: 14px; }
  /* BD-18: the group rules run edge to edge; titles and links sit further in than the contact box */
  .cc_b3eorip4_uccPE4gOCS .sg-ft__cols { margin-inline: calc(var(--sg-gutter, 16px) * -1); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__toggle, .cc_b3eorip4_uccPE4gOCS .sg-ft__col.is-acc .sg-ft__list, .cc_b3eorip4_uccPE4gOCS .sg-ft__col:not(.is-acc) { padding-inline: calc(var(--sg-gutter, 16px) + 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .cc_b3eorip4_uccPE4gOCS .sg-ft__toggle svg, .cc_b3eorip4_uccPE4gOCS .sg-ft__row { transition: none; }
}

/* tight phones: three social links stay inside their columns */
@media (max-width: 400px) {
  .cc_b3eorip4_uccPE4gOCS .sg-ft__soc { gap: 6px; font-size: calc(13px * var(--sg-ui, 1)); }
  .cc_b3eorip4_uccPE4gOCS .sg-ft__soc svg { width: 22px; height: 22px; }
}

/* agency credit (SerpingoCredit): its own row under the bottom bar, centred (12 Nov, user) */
.cc_b3eorip4_uccPE4gOCS .sg-ft__credit { display: flex; justify-content: center; margin-top: 14px; color: var(--sg-text-2, var(--sg-ink-2)); }
.cc_b3eorip4_uccPE4gOCS .sg-ft__credit .sg-sgc { margin: 0; align-self: center; }
