/* Ana sayfa tasarımı */
.theme-reference.juris-home {
  background: var(--background);
}

.theme-reference.juris-home .juris-hero .juris-hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  max-width: 1180px;
  padding-block: 48px;
}

.theme-reference.juris-home .juris-hero .juris-hero-copy {
  width: min(var(--hero-content-width), 100%);
  max-width: 100%;
  margin: 0;
  text-align: center;
  min-width: 0;
}

.theme-reference.juris-home .juris-hero #hero-title {
  font-family: var(--hero-heading, var(--heading));
  font-weight: var(--hero-heading-weight, 700);
  font-size: var(--hero-title-size);
  color: var(--hero-title-color, var(--hero-text));
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
  box-sizing: border-box;
  text-shadow: none;
}

.theme-reference.juris-home .juris-hero #hero-title[data-title-frame="solid"],
.theme-reference.juris-home .juris-hero #hero-title[data-title-frame="double"],
.theme-reference.juris-home .juris-hero #hero-title[data-title-frame="underline"] {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: var(--hero-title-frame-padding);
  border: var(--hero-title-frame-width) solid var(--hero-title-frame-color);
  border-radius: var(--hero-title-frame-radius);
}

.theme-reference.juris-home .juris-hero #hero-title[data-title-frame="double"] {
  border-style: double;
  border-width: max(3px, var(--hero-title-frame-width));
}

.theme-reference.juris-home .juris-hero #hero-title[data-title-frame="underline"] {
  border-width: 0 0 var(--hero-title-frame-width);
  border-style: none none solid;
  border-radius: 0;
  padding-inline: 0;
}

.theme-reference.juris-home .juris-hero #hero-title[data-title-shadow="1"] {
  text-shadow: 0 2px 16px #0005;
}

/* Üst menü ve alt bilgi logosu */
.theme-reference[data-header-dark="1"] .site-header .brand {
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}

.theme-reference .site-header .header-inner > .brand.brand-image,
.theme-reference .site-footer .footer-col .brand.brand-image {
  width: fit-content;
  flex: 0 0 auto;
  min-width: 0;
  justify-content: center;
}

.theme-reference .site-header .brand-image .brand-logo,
.theme-reference .site-footer .brand-image .brand-logo {
  width: auto;
  object-position: center;
}

/* Tema renkleri */
.theme-reference .hub-card,
.theme-reference .author-card,
.theme-reference .side-box {
  background: var(--surface);
  color: var(--ink);
}

.theme-reference .post-lead {
  background: color-mix(in srgb, var(--action) 5%, var(--surface));
  color: var(--ink);
}

.theme-reference .post-main .prose {
  color: var(--ink);
}

.theme-reference .post-disclaimer,
.theme-reference .side-list time,
.theme-reference .hub-count,
.theme-reference .list-count,
.theme-reference .form-privacy {
  color: var(--muted);
}

/* Büro haritası */
.theme-reference .home-map-visual {
  display: block;
  min-width: 0;
}

.theme-reference .home-map-inner.home-map-no-embed {
  grid-template-columns: minmax(0, 1fr);
}

.theme-reference .home-map-frame {
  height: var(--home-map-height, 380px);
  border: 1px solid var(--line);
  border-radius: var(--home-map-radius, 16px);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 32px #102b4608;
}

.theme-reference .home-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.theme-reference .home-map-disclosure {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Ana sayfa başlık konumu */
.theme-reference.juris-home .juris-hero[data-hero-position="center"] .juris-hero-content {
  justify-content: center;
}

.theme-reference.juris-home .juris-hero[data-hero-position="right"] .juris-hero-content {
  justify-content: flex-end;
}

.theme-reference.juris-home .juris-hero[data-hero-vertical="top"] .juris-hero-content {
  align-items: flex-start;
}

.theme-reference.juris-home .juris-hero[data-hero-vertical="bottom"] .juris-hero-content {
  align-items: flex-end;
}

.theme-reference.juris-home .juris-hero[data-hero-align="left"] .juris-hero-copy {
  text-align: left;
}

.theme-reference.juris-home .juris-hero[data-hero-align="right"] .juris-hero-copy {
  text-align: right;
}

.theme-reference.juris-home .juris-hero[data-hero-align="left"] .hero-identity-mark {
  margin-inline: 0 auto;
}

.theme-reference.juris-home .juris-hero[data-hero-align="right"] .hero-identity-mark {
  margin-inline: auto 0;
}

.theme-reference.juris-home .juris-hero[data-hero-align="left"] .juris-hero-actions {
  justify-content: flex-start;
}

.theme-reference.juris-home .juris-hero[data-hero-align="right"] .juris-hero-actions {
  justify-content: flex-end;
}

.theme-reference.juris-home .juris-hero-copy .juris-hero-lead,
.theme-reference.juris-home .juris-hero-copy .hero-note {
  max-width: none;
}

/* Çalışma alanları */
.theme-reference.juris-home .juris-practices {
  background: var(--surface);
}

.theme-reference.juris-home .juris-practices .service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  border: 0;
}

.theme-reference.juris-home .juris-practices .service-card,
.theme-reference.juris-home .juris-practices .service-card:hover {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  transform: none;
  overflow: visible;
  cursor: default;
}

.theme-reference.juris-home .juris-practices .service-image {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  grid-column: auto;
  grid-row: auto;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0;
  background: var(--background);
}

.theme-reference.juris-home .juris-practices .service-image img,
.theme-reference.juris-home .juris-practices .service-card:hover .service-image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.theme-reference.juris-home .juris-practices .service-body {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  padding: 20px 0 18px;
  min-height: 0;
  grid-column: auto;
  grid-row: auto;
  border-bottom: 1px solid var(--line);
}

.theme-reference.juris-home .juris-practices .service-number {
  display: block;
  position: static;
  flex: 0 0 auto;
  min-width: 22px;
  margin: 0;
  padding: 0;
  font: 500 11px / 1.5 var(--sans);
  color: var(--action);
  letter-spacing: .05em;
  opacity: 1;
}

.theme-reference.juris-home .juris-practices .service-body h3,
.theme-reference.juris-home .juris-practices .service-card:hover .service-body h3 {
  font: 500 clamp(21px, 2vw, 26px) / 1.4 var(--heading);
  color: var(--ink);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* Tablet */
@media (max-width: 1000px) {
  .theme-reference.juris-home .juris-practices .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }
}

/* Mobil */
@media (max-width: 700px) {
  /* Ortalanmış logo ve iki yana uzanan kavisli beyaz bant */
  .theme-reference .site-footer .footer-col .brand.brand-image {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 24px;
  }

  .theme-reference .site-footer .brand-image .brand-logo {
    width: auto;
    border-radius: 16px;
  }

  .theme-reference .home-map-visual {
    display: block;
  }

  .theme-reference .home-map-frame {
    height: var(--mobile-home-map-height, 300px);
  }

  .theme-reference[data-header-dark="1"] .site-header .brand {
    padding: 4px 6px;
  }

  .theme-reference.juris-home .juris-hero .juris-hero-content {
    padding-block: 36px;
  }

  .theme-reference.juris-home .juris-hero .juris-hero-copy {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .theme-reference.juris-home .juris-hero #hero-title {
    font-size: var(--mobile-hero-title-size);
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="left"] .juris-hero-copy {
    text-align: left;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="center"] .juris-hero-copy {
    text-align: center;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="right"] .juris-hero-copy {
    text-align: right;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="left"] .hero-identity-mark {
    margin-inline: 0 auto;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="center"] .hero-identity-mark {
    margin-inline: auto;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="right"] .hero-identity-mark {
    margin-inline: auto 0;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="left"] .juris-hero-actions {
    justify-content: flex-start;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="center"] .juris-hero-actions {
    justify-content: center;
  }

  .theme-reference.juris-home .juris-hero[data-hero-mobile-align="right"] .juris-hero-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  .theme-reference.juris-home .juris-practices .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .theme-reference.juris-home .juris-practices .service-image {
    aspect-ratio: 16 / 9;
  }

  .theme-reference.juris-home .juris-practices .service-body {
    padding: 16px 0;
    gap: 12px;
  }

  .theme-reference.juris-home .juris-practices .service-body h3 {
    font-size: 23px;
  }
  
}@media (max-width: 700px) {
  .theme-reference .site-footer .brand-image .brand-logo {
    width: auto;
    height: 76px;
    max-height: 76px;
    border-radius: 16px;
  }
}
