@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

*, *::before, *::after { box-sizing: border-box !important; }

body, h1, h2, h3, h4, h5, h6, p, a, span, li, .entry-content {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif !important;
  word-break: keep-all;
}

body.single .entry-content p,
body.single .wp-block-post-content p {
  line-height: 2 !important;
  margin-bottom: 1.5em !important;
  text-align: justify !important;
}

:where(body.home, body.blog, body.archive, body.search, body.category) .wp-block-post-featured-image,
:where(body.home, body.blog, body.archive, body.search, body.category) .post-thumbnail,
.forced-thumb-wrapper {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  margin-bottom: 15px !important;
}

:where(body.home, body.blog, body.archive, body.search, body.category) .wp-block-post-featured-image img,
:where(body.home, body.blog, body.archive, body.search, body.category) .post-thumbnail img,
.forced-thumb-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

iframe:not([src]),
iframe[src="about:blank"],
iframe[width="0"][height="0"] {
  display: none !important;
}

@media (max-width: 768px) {
  .entry-content, .wp-block-post-content, .entry-summary {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.single .entry-content,
  body.single .wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .google-auto-placed,
  .ad-container,
  .ad-wrapper,
  .advertisement,
  .code-block {
    width: 100% !important;
    max-width: 100vw !important;
    text-align: center !important;
    margin: 10px auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  ins.adsbygoogle[data-ad-format="auto"],
  ins.adsbygoogle[data-full-width-responsive="true"],
  .google-auto-placed ins.adsbygoogle {
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .site-footer, footer, #colophon {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}