/* Runtime behaviour of the Claude Design export: header, language switch, toggles, image slots. */
[hidden] { display: none !important; }

html[lang="tr"] [data-lang="en"],
html[lang="en"] [data-lang="tr"] { display: none !important; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(244,246,247, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom-color: #D8DEE1;
  box-shadow: 0 1px 12px rgba(24, 35, 56, 0.06);
}

.lang-btn {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 1.15rem;
  line-height: 1;
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: transparent;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity .2s ease, filter .2s ease;
}
.lang-btn[aria-pressed="true"] {
  background: #182338;
  filter: none;
  opacity: 1;
}

.dc-slot-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
}
.dc-slot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coz-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #D8DEE1;
  background: #F4F6F7;
  color: #182338;
  box-shadow: 0 24px 60px rgba(24, 35, 56, 0.25);
}
.coz-dialog::backdrop { background: rgba(24, 35, 56, 0.55); }

[data-toggle]:focus-visible,
.lang-btn:focus-visible {
  outline: 2px solid #4A7579;
  outline-offset: 2px;
}

/* Mobile: the design's header wraps to 3-4 rows and covers the hero title. Keep logo + language switch only. */
@media (max-width: 720px) {
  .site-header nav { display: none !important; }
}
/* Small phones: logo tagline + language switch don't fit one row; drop the tagline so the fixed header stays one row. */
@media (max-width: 430px) {
  .site-header small { display: none !important; }
}
