/**
 * AdSense-friendly slots — visible reserved space, high viewability (calculator.net pattern).
 * Leaderboard above fold · in-content after tool · sticky sidebar MPU.
 */

.ad-slot {
  position: relative;
  margin: 1rem 0;
  padding: 0.65rem 0.5rem;
  text-align: center;
  box-sizing: border-box;
  background: #f6f8fb;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: visible;
  line-height: normal;
}

.ad-slot__tag {
  position: absolute;
  top: 4px;
  left: 6px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px 5px;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  line-height: 1.2;
  pointer-events: none;
}

/* Top leaderboard — full content width, above the fold */
.ad-slot--leader,
.ad-slot--prime {
  width: 100%;
  max-width: 100%;
  min-height: 100px;
  margin: 0.75rem 0 1.25rem;
  padding: 0.75rem 0.5rem;
}

.ad-slot--leader ins.adsbygoogle,
.ad-slot--prime ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-height: 90px !important;
  margin: 0 auto;
}

/* Sidebar MPU — 300×250 classic, sticky rail */
.ad-slot--mpu {
  width: 100%;
  max-width: 336px;
  min-height: 280px;
  margin: 0;
  padding: 0.75rem 0.5rem 1rem;
}

.ad-slot--mpu ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 336px !important;
  min-height: 250px !important;
  margin: 0 auto;
}

/* In-content — right after the live calculator widget */
.ad-slot--infeed {
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  margin: 1.25rem 0 1.5rem;
  padding: 0.75rem 0.5rem;
}

.ad-slot--infeed ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-height: 250px !important;
  margin: 0 auto;
}

.ad-slot--footer {
  width: 100%;
  max-width: var(--content-max, 72rem);
  min-height: 100px;
  margin: 1.5rem auto 0;
  padding: 0.75rem 0.5rem 1.25rem;
}

.ad-slot--footer ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-height: 90px !important;
  margin: 0 auto;
}

ins.adsbygoogle {
  line-height: normal;
}

@media (max-width: 900px) {
  .ad-slot--leader,
  .ad-slot--prime {
    min-height: 72px;
  }

  .ad-slot--leader ins.adsbygoogle,
  .ad-slot--prime ins.adsbygoogle {
    min-height: 64px !important;
  }

  .ad-slot--mpu,
  .ad-slot--infeed {
    min-height: 260px;
  }

  .ad-slot--mpu ins.adsbygoogle,
  .ad-slot--infeed ins.adsbygoogle {
    min-height: 240px !important;
  }
}
