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

html {
  max-width: 100% !important;
  overflow-x: clip !important;
}

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

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

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
figcaption,
blockquote,
.entry-content,
.wp-block-post-content,
.entry-summary {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif !important;
}

body,
.entry-content,
.wp-block-post-content,
.entry-summary {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

a,
span,
small,
strong,
em {
  overflow-wrap: anywhere !important;
}

body.single .entry-content p,
body.single .wp-block-post-content p {
  line-height: 2 !important;
  margin: 0 0 1.5em !important;
  text-align: left !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

body.single .entry-content p:last-child,
body.single .wp-block-post-content p:last-child {
  margin-bottom: 0 !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,
:where(body.home, body.blog, body.archive, body.search, body.category) .forced-thumb-wrapper {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  margin: 0 0 15px !important;
  line-height: 0 !important;
  background: #f5f5f5 !important;
}

:where(body.home, body.blog, body.archive, body.search, body.category) .wp-block-post-featured-image a,
:where(body.home, body.blog, body.archive, body.search, body.category) .wp-block-post-featured-image picture,
:where(body.home, body.blog, body.archive, body.search, body.category) .post-thumbnail a,
:where(body.home, body.blog, body.archive, body.search, body.category) .post-thumbnail picture,
:where(body.home, body.blog, body.archive, body.search, body.category) .forced-thumb-wrapper a,
:where(body.home, body.blog, body.archive, body.search, body.category) .forced-thumb-wrapper picture {
  display: block !important;
  width: 100% !important;
  height: 100% !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,
:where(body.home, body.blog, body.archive, body.search, body.category) .forced-thumb-wrapper img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.google-auto-placed,
.ad-container,
.ad-wrapper,
.advertisement,
.dn6-rotation-wrap,
.dn6-inserted-ad {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  clear: both !important;
}

ins.adsbygoogle {
  max-width: 100% !important;
}

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

@supports selector(.x:has(.y)) {
  .google-auto-placed:has(ins.adsbygoogle[data-ad-status="unfilled"]),
  .ad-container:has(ins.adsbygoogle[data-ad-status="unfilled"]),
  .ad-wrapper:has(ins.adsbygoogle[data-ad-status="unfilled"]),
  .advertisement:has(ins.adsbygoogle[data-ad-status="unfilled"]),
  .dn6-rotation-wrap:has(ins.adsbygoogle[data-ad-status="unfilled"]),
  .dn6-inserted-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.site-footer,
footer,
#colophon {
  margin-bottom: 0 !important;
  padding-bottom: 0 !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,
  .dn6-rotation-wrap,
  .dn6-inserted-ad {
    max-width: 100% !important;
    margin: 10px auto !important;
  }

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

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