/* Shared editorial polish: remove browser and WordPress default visual residue. */
html {
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  box-shadow: none;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: #f26328;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #1768c4;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

p,
li,
figcaption,
blockquote {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.wp-block-image,
.wp-block-gallery,
.wp-block-video,
.wp-block-embed,
.wp-block-table,
.wp-block-columns,
.wp-block-group,
.wp-block-media-text {
  margin-top: 34px;
  margin-bottom: 34px;
}

.wp-block-image img,
.wp-block-gallery img,
.wp-block-media-text__media img,
.wp-post-image {
  height: auto;
  object-fit: contain;
}

.wp-block-image figcaption,
.wp-caption-text {
  margin-top: 9px;
  color: #787e83;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.wp-block-table {
  overflow-x: auto;
}

.wp-block-table table,
.entry-content table,
.na-body table,
.article-content table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #161718;
  font-size: 15px;
  line-height: 1.55;
}

.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td,
.na-body th,
.na-body td,
.article-content th,
.article-content td {
  min-width: 90px;
  padding: 13px 12px;
  border-right: 0;
  border-bottom: 1px solid #d9dadd;
  border-left: 0;
  text-align: left;
  vertical-align: top;
}

.wp-block-table th,
.entry-content th,
.na-body th,
.article-content th {
  background: #f5f5f4;
  font-weight: 800;
}

.wp-block-button__link,
.wp-element-button,
.wp-block-file__button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #161718;
  border-radius: 2px;
  color: #fff;
  background: #161718;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: #161718;
  background: #fff;
}

.wp-block-search__inside-wrapper,
.search-form,
.widget_search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0;
  border: 0;
}

.wp-block-search__input,
.search-form input[type="search"],
.widget_search input[type="search"] {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #bfc3c6;
  border-right: 0;
  background: #fff;
  font-size: 14px;
}

.wp-block-search__button,
.search-form button,
.widget_search button {
  min-width: 78px;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #161718;
  border-radius: 0;
  color: #fff;
  background: #161718;
  font-size: 13px;
  font-weight: 800;
}

.wp-block-quote,
.wp-block-pullquote {
  border-radius: 0;
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid #bfc3c6;
}

.wp-block-separator.is-style-wide {
  border-top-width: 2px;
}

.comment-form label,
.comment-form input,
.comment-form textarea,
.comment-form button,
.comment-form .submit {
  font-family: inherit;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #c8ccd0;
  background: #fff;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  height: 44px;
  padding: 0 12px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.comment-form .submit,
input[type="submit"] {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: #161718;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.navigation.pagination .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}

.navigation.pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #d1d4d6;
  color: #34393d;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.navigation.pagination .current {
  border-color: #161718;
  color: #fff;
  background: #161718;
}

.widget {
  font-family: inherit;
}

.widget-title,
.wp-block-heading {
  letter-spacing: 0;
}

.widget ul {
  list-style: none;
}

.widget li {
  line-height: 1.55;
}

.post-edit-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 11px;
  border: 1px solid #cfd2d4;
  color: #50565a;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.alignleft {
  float: left;
  margin: 0 24px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 24px;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 620px) {
  .wp-block-image,
  .wp-block-gallery,
  .wp-block-video,
  .wp-block-embed,
  .wp-block-table,
  .wp-block-columns,
  .wp-block-group,
  .wp-block-media-text {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .wp-block-table table,
  .entry-content table,
  .na-body table,
  .article-content table {
    min-width: 560px;
    font-size: 14px;
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 24px auto;
  }
}
