/* 광고 슬롯 — 콘텐츠와 광고가 헷갈리지 않게 항상 '광고' 라벨을 단다 */

.adslot {
  display: block;
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: var(--s-6) auto;
  padding: var(--s-5) var(--s-4) var(--s-4);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
}

.adslot__tag {
  position: absolute;
  top: 8px;
  left: 12px;
  color: var(--text-faint);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.adslot__ph {
  display: grid;
  place-items: center;
  min-height: 90px;
  color: var(--text-faint);
  font-size: var(--t-sm);
  text-align: center;
}

/* 광고가 실제로 들어오면 점선 테두리는 걷어낸다 */
.adslot:has(.adsbygoogle),
.adslot:has(.kakao_ad_area) {
  border-style: solid;
  background: transparent;
}

@media (max-width: 640px) {
  .adslot {
    margin-inline: var(--s-5);
    width: auto;
  }
}

/* 푸터 방침 링크 */
.footer__links { margin: var(--s-2) 0 0; font-size: var(--t-xs); }
.footer__links a { color: var(--text-faint); text-decoration: none; }
.footer__links a:hover { color: var(--text-dim); text-decoration: underline; }
