/* Genç Türkler mark: a fixed logo in the top-right corner and a credit band in the footer. */
.gt-badge {
  position: fixed;
  z-index: 40;
  top: 12px;
  right: clamp(22px, 3.2vw, 52px);
  display: block;
  width: 44px;
  height: 44px;
  line-height: 0;
  background: #f2f3ef;
  transition: transform 160ms ease;
}
.gt-badge:hover { transform: scale(1.06); }
/* A divider keeps the logo from reading as part of the header link beside it. */
.gt-badge::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: -21px; width: 1px; background: #cbd1cc; }
.gt-badge img, .gt-credit img { display: block; width: 100%; height: 100%; }

footer a.gt-credit {
  display: flex;
  flex: 1 0 100%;
  align-items: center;
  gap: 16px;
  margin: 22px 0 6px;
  padding: 16px 18px;
  border: 1px solid #252b2d;
  background: #fbfcf9;
  color: #252b2d;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
}
footer a.gt-credit:hover { background: #252b2d; color: #fbfcf9; }
.gt-credit-logo { flex: 0 0 56px; width: 56px; height: 56px; background: #fbfcf9; }
.gt-credit-text { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; }
.gt-credit-text strong { font-size: clamp(16px, 2.2vw, 20px); font-weight: 750; line-height: 1.2; }
.gt-credit-text span { font-size: 13px; font-weight: 500; opacity: .8; }
.gt-credit-link { flex: 0 0 auto; font-size: 13px; font-weight: 650; white-space: nowrap; }

@media (max-width: 780px) {
  .gt-badge { top: 10px; right: 17px; width: 37px; height: 37px; }
  .gt-badge::before { left: -13px; }
}
@media (max-width: 520px) {
  .gt-credit { flex-wrap: wrap; gap: 12px 14px; padding: 14px; }
  .gt-credit-logo { flex-basis: 48px; width: 48px; height: 48px; }
  .gt-credit-text { flex-basis: calc(100% - 62px); }
  .gt-credit-link { flex-basis: 100%; }
}

/* Place page: the logo sits inside the header, which stays in view while scrolling. */
.topline { position: sticky; top: 0; z-index: 30; background: #f2f3ef; box-shadow: 0 0 0 100vmax #f2f3ef; clip-path: inset(0 -100vmax); }
.topline .brand { margin-left: auto; }
.topline .gt-badge { position: relative; top: auto; right: auto; flex: 0 0 auto; margin-left: 21px; }
@media (max-width: 780px) { .topline .gt-badge { margin-left: 5px; } }
