/* AdSense yerleşim boyutları */
.bf-ad-slot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 1.25rem 0;
  overflow: visible;
}

.bf-ad-slot__inner {
  width: 100%;
  max-width: min(100%, var(--bf-ad-width, 100%));
  min-height: var(--bf-ad-height, auto);
  line-height: 0;
}

.bf-ad-slot__inner > * {
  max-width: 100%;
}

.bf-ad-slot--728x90 {
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--728x90 .bf-ad-slot__inner {
  min-height: 90px;
}

.bf-ad-slot--970x90 {
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--970x90 .bf-ad-slot__inner {
  min-height: 90px;
}

.bf-ad-slot--970x250 {
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--970x250 .bf-ad-slot__inner {
  min-height: 250px;
}

.bf-ad-slot--300x250 {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--300x250 .bf-ad-slot__inner {
  min-height: 250px;
}

.bf-ad-slot--336x280 {
  max-width: 336px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--336x280 .bf-ad-slot__inner {
  min-height: 280px;
}

.bf-ad-slot--300x600 {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--300x600 .bf-ad-slot__inner {
  min-height: 600px;
}

.bf-ad-slot--160x600 {
  width: 160px;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--160x600 .bf-ad-slot__inner {
  min-height: 600px;
}

.bf-ad-slot--320x50 .bf-ad-slot__inner {
  min-height: 50px;
}

.bf-ad-slot--320x100 .bf-ad-slot__inner {
  min-height: 100px;
}

.bf-ad-slot--responsive .bf-ad-slot__inner {
  min-height: 100px;
}

.bf-ad-slot--in-article {
  margin: 1.5rem auto;
}

.bf-ad-slot--display.bf-ad-banner {
  padding: 0.25rem 0;
}

/* Açılır / kapanır reklam HTML */
.bf-ad-slot details.bf-ad-collapsible,
.bf-ad-slot details {
  width: 100%;
  line-height: normal;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.bf-ad-slot summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.bf-ad-slot summary::-webkit-details-marker {
  display: none;
}

.bf-ad-slot summary::after {
  content: "▼";
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.bf-ad-slot details[open] summary::after {
  transform: rotate(180deg);
}

.bf-ad-slot details .bf-ad-collapsible__body,
.bf-ad-slot details > :not(summary) {
  padding: 0.5rem;
}

.bf-home-shell__rail .bf-ad-slot--160x600 {
  position: sticky;
  top: 5.5rem;
  margin-top: 0.5rem;
}

.bf-detail-sidebar .bf-ad-slot {
  margin: 0 0 1rem;
}

.bf-ad-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 1199.98px) {
  .bf-home-shell.has-rail {
    display: flex;
    flex-direction: column;
  }

  .bf-home-shell__rail {
    order: 2;
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
  }

  .bf-home-shell__main {
    order: 1;
  }

  .bf-home-shell__rail .bf-ad-slot--160x600 {
    position: static;
    width: 100%;
    max-width: 728px;
  }

  .bf-home-shell__rail .bf-ad-slot--160x600 .bf-ad-slot__inner {
    min-height: 90px;
  }
}
