:root {
  --header-container: min(92rem, calc(100% - 4rem));
  --th-builder-container: var(--header-container);
  --header-logo-max-height: 44px;
  --header-logo-slot-width: clamp(13rem, 21vw, 22rem);
  --header-logo-gap: clamp(2rem, 4vw, 4.25rem);
}

.th-builder-header-shell #masthead,
.th-builder-footer-shell #colophon {
  margin: 0;
  background: transparent;
}

.th-builder-header-shell .bhf-hidden {
  display: none;
}

.th-builder-header-shell .elementor,
.th-builder-footer-shell .elementor,
.th-builder-header-shell .elementor-widget,
.th-builder-footer-shell .elementor-widget {
  margin: 0;
}

.th-builder-header-shell .elementor-183,
.th-builder-footer-shell .footer-width-fixer,
.th-builder-footer-shell .elementor-184 {
  width: 100%;
  max-width: none;
  margin: 0;
}

.th-builder-header-shell .elementor-183 > .elementor-element.e-con:first-of-type {
  width: var(--th-builder-container) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns:
    var(--header-logo-slot-width)
    minmax(var(--header-logo-gap), 1fr)
    minmax(0, auto)
    minmax(var(--header-logo-gap), 1fr)
    var(--header-logo-slot-width) !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 0 !important;
  min-height: 4rem !important;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-site-brand {
  grid-column: 1 !important;
  justify-self: start !important;
  min-width: 0 !important;
  width: min(100%, var(--header-logo-slot-width)) !important;
  max-width: var(--header-logo-slot-width) !important;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-nav {
  grid-column: auto !important;
  justify-self: auto !important;
  min-width: 0 !important;
  width: auto !important;
  position: static !important;
  display: contents !important;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-nav > .elementor-widget-container {
  display: contents !important;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-emblem {
  display: none !important;
}

.th-builder-header-shell .header-nav-slot {
  grid-column: 3;
  justify-self: center;
  min-width: 0;
}

.th-builder-header-shell .header-emblem-slot {
  grid-column: 5;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  width: min(100%, var(--header-logo-slot-width));
  max-width: var(--header-logo-slot-width);
}

.th-builder-header-shell .temmuz-header-brand-stack {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
  max-width: var(--header-logo-slot-width);
}

.th-builder-header-shell .temmuz-header-brand-stack .brand {
  width: 100%;
  min-width: 0;
  flex: 0 1 100%;
}

.th-builder-header-shell .brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--header-logo-max-height, 44px);
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  flex-shrink: 0;
}

.th-builder-header-shell .brand-mark img,
.th-builder-header-shell .brand-mark .custom-logo,
.th-builder-header-shell .brand-mark .brand-logo,
.th-builder-header-shell .header-brand-visual,
.th-builder-header-shell .header-menu-emblem-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: var(--header-logo-max-height, 44px) !important;
  object-fit: contain;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-actions {
  display: none !important;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-site-brand > .elementor-widget-container {
  width: auto !important;
  max-width: 100% !important;
}

.th-builder-header-shell .header-end-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  width: 100%;
}

.th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-actions > .elementor-widget-container {
  display: flex;
  justify-content: flex-end;
}

.th-builder-header-shell .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  max-width: 100%;
}

.th-builder-header-shell .brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
}

.th-builder-header-shell .brand-copy strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.th-builder-header-shell .brand-copy small {
  margin-top: 0.125rem;
  font-size: 0.76rem;
  opacity: 0.62;
}

.th-builder-header-shell .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.625rem;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  max-width: 100%;
}

.th-builder-header-shell .desktop-nav a,
.th-builder-header-shell .header-link {
  white-space: nowrap;
}

.th-builder-header-shell .header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.th-builder-header-shell .elementor-183 > .elementor-element.e-con:last-of-type {
  width: var(--th-builder-container) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  display: block !important;
}

.th-builder-header-shell .elementor-183 > .elementor-element.e-con:last-of-type > .elementor-element {
  width: 100% !important;
  margin: 0 !important;
}

.th-builder-header-shell .mobile-shell {
  width: 100%;
}

.th-builder-footer-shell {
  background: var(--dark);
  color: #fff;
}

.th-builder-footer-shell .elementor-184 > .elementor-element.e-con:first-of-type {
  width: var(--th-builder-container) !important;
  margin-inline: auto !important;
  padding: 5rem 0 3.5rem !important;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  align-items: start !important;
  gap: 3rem !important;
  text-align: left !important;
}

.th-builder-footer-shell .elementor-184 > .elementor-element.e-con:first-of-type > .elementor-element {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.th-builder-footer-shell .elementor-184 > .elementor-element.e-con:last-of-type {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.th-builder-footer-shell .elementor-184 > .elementor-element.e-con:last-of-type > .elementor-element {
  width: 100% !important;
  margin: 0 !important;
}

.th-builder-footer-shell .footer-about,
.th-builder-footer-shell .footer-links,
.th-builder-footer-shell .contact-list,
.th-builder-footer-shell .footer-bottom-inner {
  text-align: left;
}

.th-builder-footer-shell .footer-title h3 {
  margin: 0 0 0.75rem;
  font-size: 2.1rem;
}

.th-builder-footer-shell .footer-title span {
  display: block;
  width: 3rem;
  height: 0.125rem;
  background: var(--red);
}

.th-builder-footer-shell .footer-links,
.th-builder-footer-shell .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.th-builder-footer-shell .footer-links li + li,
.th-builder-footer-shell .contact-list li + li {
  margin-top: 0.875rem;
}

.th-builder-footer-shell .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.th-builder-footer-shell .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.th-builder-footer-shell .footer-bottom-inner {
  width: var(--th-builder-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.125rem;
  padding: 1.375rem 0;
  font-size: 0.84rem;
}

.th-builder-footer-shell .footer-bottom-links {
  display: flex;
  gap: 1.125rem;
}

@media (max-width: 64rem) {
  .th-builder-header-shell.site-header,
  .th-builder-header-shell.site-header.scrolled,
  .th-builder-header-shell.site-header.is-inner-page {
    top: 0;
    padding: 0;
  }

  .th-builder-header-shell {
    overflow: visible;
  }

  .th-builder-header-shell .elementor-183 {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .th-builder-header-shell .elementor-183 > .elementor-element.e-con:first-of-type {
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    min-height: 5rem !important;
    padding: 0.875rem clamp(1rem, 4vw, 1.5rem) !important;
    box-sizing: border-box;
  }

  .th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-nav,
  .th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-emblem,
  .th-builder-header-shell .header-nav-slot,
  .th-builder-header-shell .header-emblem-slot,
  .th-builder-header-shell .elementor-183 .header-link,
  .th-builder-header-shell .elementor-183 .elementor-widget-temmuz-theme-header-actions {
    display: none !important;
  }

  /* main.css’teki .elementor-183 ile aynı özgüllük; aksi halde flex: 0 1 auto !important baskın kalıyor */
  .th-builder-header-shell .elementor-183 .elementor-widget-temmuz-site-brand {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-self: center !important;
  }

  .th-builder-header-shell .elementor-183 .elementor-widget-temmuz-site-brand > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: visible !important;
    min-height: 0 !important;
  }

  .th-builder-header-shell .elementor-183 > .elementor-element.e-con:first-of-type {
    align-items: center !important;
    justify-content: flex-start !important;
  }

  /* main.css mobilde grid + flex-start; tema markası satırında flex + dikey orta (builder en son yüklendiği için burada kilitle) */
  .th-builder-header-shell .elementor-183 > .elementor-element.e-con:first-of-type:has(.elementor-widget-temmuz-site-brand) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .th-builder-header-shell .temmuz-header-brand-stack {
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    padding-block: 0;
    box-sizing: content-box;
    min-height: 3.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .th-builder-header-shell .brand {
    width: auto;
    max-width: calc(100% - 4.25rem);
    flex: 0 1 auto;
    align-items: center;
    align-self: center;
    overflow: visible;
    min-height: 0;
  }

  .th-builder-header-shell .brand-mark {
    min-width: 0;
    width: min(15rem, calc(100vw - 6.75rem));
    height: 3rem;
    flex-shrink: 0;
    overflow: visible;
  }

  .th-builder-header-shell .brand-mark img,
  .th-builder-header-shell .brand-mark .custom-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .th-builder-header-shell .mobile-toggle {
    display: inline-grid !important;
    flex-shrink: 0;
    align-self: center !important;
    place-items: center;
    margin-left: auto !important;
    width: 3.5rem;
    height: 3.5rem;
    top: auto;
    transform: none;
  }

  .th-builder-header-shell .mobile-toggle svg {
    width: 2.15rem;
    height: 2.15rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .th-builder-header-shell .header-actions {
    display: flex !important;
  }

  .th-builder-header-shell .brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    overflow: visible;
  }

  .th-builder-header-shell .brand-copy strong {
    font-size: 0.93rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .th-builder-header-shell .brand-copy small {
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .th-builder-footer-shell .elementor-184 > .elementor-element.e-con:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .th-builder-footer-shell .elementor-184 > .elementor-element.e-con:first-of-type {
    grid-template-columns: 1fr !important;
  }

  .th-builder-footer-shell .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .th-builder-footer-shell .footer-bottom-links {
    flex-wrap: wrap;
  }
}
