/* MekanRehber AdSense placement layer — V37.1 layout hotfix. */
.mr-ad-slot {
  box-sizing: border-box;
  clear: both;
  display: block;
  grid-column: 1 / -1;
  margin: clamp(28px, 4vw, 52px) auto;
  max-width: min(1180px, calc(100% - 32px));
  min-height: 1px;
  min-width: 0;
  overflow: visible;
  position: relative;
  width: 100%;
}

.mr-ad-slot .adsbygoogle {
  box-sizing: border-box;
  display: block;
  margin-inline: auto;
  max-width: 100%;
  min-width: 0 !important;
  overflow: visible;
  width: 100% !important;
}

/* Reserve space only once an ad request is close to the viewport. */
.mr-ad-slot--display.is-requested:not(.is-filled):not(.is-unfilled),
.mr-ad-slot--feed.is-requested:not(.is-filled):not(.is-unfilled) {
  min-height: 96px;
}

.mr-ad-slot--article.is-requested:not(.is-filled):not(.is-unfilled) {
  min-height: 150px;
}

.mr-ad-slot--multiplex.is-requested:not(.is-filled):not(.is-unfilled) {
  min-height: 220px;
}

.mr-ad-slot--article {
  max-width: 860px;
}

.mr-ad-slot.is-filled {
  min-height: 0;
}

.mr-ad-slot.is-unfilled,
.mr-ad-slot.is-error {
  display: none !important;
  margin: 0 !important;
  min-height: 0 !important;
}

.mr-ad-slot.is-preview {
  align-items: center;
  background: repeating-linear-gradient(135deg, #f4f7f5, #f4f7f5 10px, #edf2ef 10px, #edf2ef 20px);
  border: 1px dashed #9aa7a0;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  min-height: 120px;
}

.mr-ad-slot.is-preview::before {
  color: #607068;
  content: attr(data-preview-label);
  font: 700 12px/1.2 system-ui, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mr-ad-slot.is-preview .adsbygoogle {
  display: none !important;
}

/* In-feed units must span the whole vertical card grid, never sit inside a clickable card. */
.has-mr-infeed-ad > .mr-ad-slot--feed {
  flex: 0 0 100%;
  grid-column: 1 / -1;
  width: 100%;
}

@media (max-width: 767px) {
  .mr-ad-slot {
    margin-block: 24px;
    max-width: calc(100% - 24px);
  }

  .mr-ad-slot--multiplex.is-requested:not(.is-filled):not(.is-unfilled) {
    min-height: 190px;
  }
}
