/* Anasayfanın header/footer görünümü. Yalnız ortak bileşenlere uygulanır. */
header.topbar {
  --primary:#4f46e5; --primary-dark:#3730a3; --muted:#6b7280;
  --text:#111827; --border:#e5e7eb; --container:1200px;
  display:block; position:static; top:0; z-index:50;
  margin:0; padding:0; border:0; border-radius:0;
  background:rgba(255,255,255,.9); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(229,231,235,.7);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px; font-weight:400; line-height:1.5; letter-spacing:normal;
  color:#111827; text-align:start;
}
header.topbar *, footer.yh-site-footer * {box-sizing:border-box;margin:0;padding:0}
header.topbar a {color:inherit;text-decoration:none}
header.topbar > .container.topbar-inner {
  width:min(1200px,calc(100% - 32px)); max-width:none; margin:0 auto;
  min-height:82px; display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap; padding:14px 0;
}
header.topbar .brand {display:flex;align-items:center;gap:14px;min-width:220px}
header.topbar .brand-logo {
  width:64px;height:64px;display:flex;align-items:center;justify-content:center;
  overflow:hidden;flex-shrink:0;background:transparent;border:none;border-radius:0;box-shadow:none;
}
header.topbar .brand-logo img {width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;display:block}
header.topbar .brand-text .yh-brand-name {
  font-size:1.9rem;line-height:1.05;font-weight:900;letter-spacing:-.03em;margin:0;color:inherit;
}
header.topbar .brand-text p {font-size:1rem;color:#6b7280;margin-top:4px;font-weight:400;line-height:inherit;letter-spacing:normal}
header.topbar .yh-site-nav {grid-template-columns:none}
@media(max-width:760px){header.topbar > .container.topbar-inner {align-items:flex-start}}


/* Yasalhane main navigation */
header.topbar {
  position: relative;
  z-index: 50;
  overflow: visible;
}
header.topbar .yh-site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
header.topbar .yh-doc-menu {
  position: relative;
  min-width: 0;
}
header.topbar .yh-nav-trigger,
header.topbar .yh-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
header.topbar .yh-nav-trigger {
  list-style: none;
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, .16);
}
header.topbar .yh-nav-trigger::-webkit-details-marker {
  display: none;
}
header.topbar .yh-nav-trigger::marker {
  content: "";
}
header.topbar .yh-nav-trigger:hover,
header.topbar .yh-doc-menu[open] > .yh-nav-trigger {
  background: #3730a3;
}
header.topbar .yh-nav-icon,
header.topbar .yh-nav-chevron {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
header.topbar .yh-nav-chevron {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}
header.topbar .yh-doc-menu[open] .yh-nav-chevron {
  transform: rotate(180deg);
}
header.topbar .yh-nav-link {
  background: #fff;
  color: #374151;
  border-color: #e5e7eb;
}
header.topbar .yh-nav-link:hover,
header.topbar .yh-nav-link[aria-current] {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}
header.topbar .yh-doc-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 292px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, .14), 0 4px 12px rgba(79, 70, 229, .05);
  z-index: 100;
}
header.topbar .yh-doc-menu:not([open]) > .yh-doc-panel {
  display: none;
}
header.topbar .yh-doc-menu[open] > .yh-doc-panel {
  animation: yh-menu-enter .14s ease-out;
}
header.topbar .yh-doc-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 11px;
  background: transparent;
  color: #374151;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
header.topbar .yh-doc-panel a:hover,
header.topbar .yh-doc-panel a[aria-current] {
  background: #eef2ff;
  color: #4338ca;
}
header.topbar .yh-doc-panel a::after {
  content: "\2192";
  color: #818cf8;
}
header.topbar .yh-nav-trigger:focus-visible,
header.topbar .yh-nav-link:focus-visible,
header.topbar .yh-doc-panel a:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}
@keyframes yh-menu-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 760px) {
  header.topbar .yh-site-nav {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }
  header.topbar .yh-doc-menu {
    flex: 1 1 100%;
  }
  header.topbar .yh-nav-trigger {
    display: flex;
    width: 100%;
  }
  header.topbar .yh-nav-link {
    flex-shrink: 0;
    padding-right: 16px;
    padding-left: 16px;
  }
  header.topbar .yh-doc-panel {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 32px));
  }
}
@media (max-width: 480px) {
  header.topbar .yh-site-nav {
    flex-wrap: wrap;
  }
  header.topbar .yh-doc-menu {
    flex-basis: 100%;
  }
  header.topbar .yh-nav-link {
    flex: 1;
  }
  header.topbar .yh-decision-link {
    flex-basis: 100%;
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  header.topbar .yh-nav-trigger,
  header.topbar .yh-nav-link,
  header.topbar .yh-nav-chevron,
  header.topbar .yh-doc-panel a {
    transition: none;
  }
  header.topbar .yh-doc-menu[open] > .yh-doc-panel {
    animation: none;
  }
}


footer.yh-site-footer {
  --yh-footer-primary: #4f46e5;
  display: block;
  position: static;
  float: none;
  clear: both;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 36px 0;
  border: 0;
  border-top: 1px solid #e3e7ef;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #172039;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: start;
}
footer.yh-site-footer.yh-site-footer-fragment {
  margin-inline: -8px;
}
footer.yh-site-footer,
footer.yh-site-footer * {
  box-sizing: border-box;
}
footer.yh-site-footer > .yh-footer-inner {
  display: block;
  width: min(1200px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}
footer.yh-site-footer .yh-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 0;
  padding: 0;
}
footer.yh-site-footer .yh-footer-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}
footer.yh-site-footer .yh-footer-logo {
  display: block;
  width: 48px;
  height: 48px;
  min-width: 0;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
footer.yh-site-footer .yh-footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center;
}
footer.yh-site-footer .yh-footer-text {
  min-width: 0;
  margin: 0;
  padding: 0;
}
footer.yh-site-footer .yh-footer-text h4 {
  margin: 0;
  padding: 0;
  color: #172039;
  font: inherit;
  font-size: 18.88px;
  font-weight: 850;
  line-height: 1.6;
  letter-spacing: -.472px;
}
footer.yh-site-footer .yh-footer-text p {
  max-width: 370px;
  margin: 5px 0 0;
  padding: 0;
  color: #8790a3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: normal;
}
footer.yh-site-footer .yh-footer-links {
  display: flex;
  flex-direction: row;
  align-items: normal;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
}
footer.yh-site-footer .yh-footer-links a {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #748097;
  font-size: 11.84px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-decoration: none;
  box-shadow: none;
}
footer.yh-site-footer .yh-footer-links a:hover {
  color: var(--yh-footer-primary);
}
footer.yh-site-footer .yh-footer-links a:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  footer.yh-site-footer > .yh-footer-inner {
    width: calc(100% - 32px);
  }
  footer.yh-site-footer .yh-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  footer.yh-site-footer .yh-footer-links {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  footer.yh-site-footer .yh-footer-brand {
    align-items: flex-start;
    gap: 12px;
  }
  footer.yh-site-footer .yh-footer-text p {
    font-size: 11.04px;
  }
  footer.yh-site-footer .yh-footer-links {
    gap: 10px 17px;
  }
  footer.yh-site-footer .yh-footer-links a {
    font-size: 10.88px;
  }
}

