/*
=========================================================
KET ADDITIONAL CSS — PRODUCTION MASTER
Twenty Twenty 3.0-wpcom
Shared architecture with NYET · site-specific selectors only
Validated 2026-09-13
=========================================================
*/

/* =====================================================
   1. GLOBAL TYPOGRAPHY
   ===================================================== */

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Helvetica Neue", sans-serif;
  color: #111;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body,
p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.has-small-font-size {
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.has-medium-font-size {
  font-size: 21px !important;
  line-height: 1.65 !important;
  font-weight: 500;
}

.has-large-font-size {
  font-size: 26.25px !important;
  line-height: 1.5 !important;
  font-weight: 600;
}

.has-x-large-font-size {
  font-size: 32px !important;
  line-height: 1.4 !important;
  font-weight: 700;
}

.lead,
.slogan {
  font-size: 21px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  word-break: keep-all;
  overflow-wrap: break-word;
}

blockquote {
  font-size: 21px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  text-align: left !important;
  max-width: 90%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 1em;
  border-left: 3px solid #c8102e;
  word-break: keep-all;
  overflow-wrap: break-word;
}

blockquote p {
  text-align: left !important;
}

.caption,
.figure-caption {
  font-size: 14px;
  font-style: italic;
  color: #666;
}

button,
.button,
input[type="submit"] {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

ul.primary-menu li {
  font-weight: 700;
}

.entry-title {
  word-break: keep-all;
}

.address-block,
.contact-info {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 1.5em;
}


/* =====================================================
   2. CATEGORY IMAGES
   ===================================================== */

.category .wp-post-image {
  width: 60%;
  height: auto;
  max-width: 614px;
}


/* =====================================================
   3. COMMENTS
   ===================================================== */

#comments,
.comment-reply-title,
#respond,
.comment-form,
.comment-form-cookies-consent,
.comment-form .akismet-comment-form-info {
  display: none !important;
}


/* =====================================================
   4. RESPONSIVE TYPOGRAPHY
   ===================================================== */

@media (max-width: 1024px) {
  body,
  p {
    font-size: 17px;
  }

  .lead,
  .slogan,
  blockquote {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  body,
  p {
    font-size: 16px;
    line-height: 1.7;
  }

  .has-small-font-size {
    font-size: 16px !important;
  }

  .has-medium-font-size {
    font-size: 18.5px !important;
    line-height: 1.6 !important;
    font-weight: 500;
  }

  .has-large-font-size {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  .has-x-large-font-size {
    font-size: 28px !important;
    line-height: 1.4 !important;
  }

  .lead,
  .slogan,
  blockquote {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .category .wp-post-image {
    width: 100% !important;
    max-width: 460px;
    height: auto !important;
  }

  .address-block,
  .contact-info {
    font-size: 15px;
  }
}


/* =====================================================
   5. FONT RENDERING
   ===================================================== */

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* =====================================================
   6. TABLES
   ===================================================== */

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 1em;
  margin-bottom: 1em;
}

.responsive-table th,
.responsive-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: top;
  white-space: normal;
  min-width: 100px;
  max-width: 350px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.responsive-table th {
  background-color: #f9f6ef;
  font-weight: 700;
}

table {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .responsive-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
  }

  .responsive-table-wrapper > .responsive-table {
    width: 100%;
    min-width: 600px;
  }
}


/* =====================================================
   7. CONTENT-WIDTH ARCHITECTURE
   Shared design logic:
   1440px brand/presentation axis
   1120px article-title axis
   960px institutional narrative axis
   860px editorial axis
   ===================================================== */

/* ABOUT KET — Page 16104 */

body.page-id-16104 #post-16104 .entry-header-inner,
body.page-id-16104 #post-16104 .entry-content > .wp-block-image.alignwide,
body.page-id-16104 #post-16104 .entry-content > .ket-about-wide-image {
  width: calc(100% - 4rem);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-16104 #post-16104 .entry-content > p:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
body.page-id-16104 #post-16104 .entry-content > :is(h1, h2, h3, h4, h5, h6, ul, ol):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
body.page-id-16104 #post-16104 .entry-content > .ket-about-reading {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-16104 #post-16104 .entry-content > .ket-about-reading {
  width: calc(100% - 4rem);
}

body.page-id-16104 #post-16104 .entry-content > .wp-block-separator:not(.is-style-wide):not(.alignwide):not(.alignfull),
body.page-id-16104 #post-16104 .entry-content > .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide):not(.ket-about-wide-image),
body.page-id-16104 #post-16104 .entry-content > blockquote:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-16104 #post-16104 .entry-content > .ket-about-proposition,
body.page-id-16104 #post-16104 .entry-content > hr.wp-block-separator:first-of-type + p {
  width: calc(100% - 4rem);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* INTELLIGENCE PAGES
   Corporate / Policy & Government / Education / Innovation
   The supplied KET source identifies these by the shared
   full-width template; Homepage and About KET are excluded.
*/

body.page-template-template-full-width:not(.page-id-24192):not(.page-id-16104) article.page .entry-content > :is(p, h2, h3, h4, h5, h6, ul, ol, blockquote):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
body.page-template-template-full-width:not(.page-id-24192):not(.page-id-16104) article.page .entry-content > .wp-block-group.alignfull > .wp-block-group__inner-container > :is(p, h2, h3, h4, h5, h6, ul, ol, blockquote):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* NEWS & INSIGHTS ARCHIVE
   960px: presentation / featured-media field
   860px: excerpt / editorial axis
*/

body.category-news-and-insights article .featured-media-inner.section-inner {
  max-width: 960px;
}

body.category-news-and-insights article .wp-post-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

body.category-news-and-insights article .entry-content {
  width: calc(100% - 8rem);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

body.category-news-and-insights article .entry-content > p:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  body.category-news-and-insights article .wp-post-image {
    width: auto !important;
    max-width: 100%;
  }
}


/* NEWS & INSIGHTS SINGLE POSTS */

body.single-post article.category-news-and-insights .entry-header-inner {
  width: calc(100% - 4rem);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

body.single-post article.category-news-and-insights h1.entry-title {
  font-size: clamp(38px, 3.4vw, 56px) !important;
  line-height: 1.06 !important;
}

body.single-post article.category-news-and-insights .post-meta-wrapper {
  width: calc(100% - 4rem) !important;
  max-width: 860px !important;
  margin-left: auto;
  margin-right: auto;
}

body.single-post article.category-news-and-insights .entry-content > :is(
  h1, h2, h3, h4, h5, h6,
  p, ul, ol, blockquote,
  figure.wp-block-image,
  figure.wp-block-table,
  hr.wp-block-separator
):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  width: calc(100% - 4rem);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}


/* =====================================================
   8. HOMEPAGE — Page 24192
   ===================================================== */

body.page-id-24192 #post-24192 .entry-header-inner {
  width: calc(100% - 4rem);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-24192 .nyet-center-button {
  display: block !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-24192 .nyet-crew-copy {
  width: calc(100% - 40px);
  max-width: 756px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-24192 .nyet-crew-copy-en {
  text-align: left;
}

body.page-id-24192 .nyet-crew-copy-ko {
  text-align: center;
}

body.page-id-24192 .nyet-crew-section p {
  width: calc(100% - 40px) !important;
  max-width: 756px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =====================================================
   9. SINGLE-POST SHARING
   KET-specific Jetpack wrapper normalization
   ===================================================== */

body.single-post #jp-post-flair.sharedaddy {
  width: calc(100% - 4rem);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

body.single-post #jp-post-flair > .sharedaddy.sd-sharing-enabled {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* =====================================================
   10. RELATED POSTS
   KET-specific Jetpack grid normalization
   ===================================================== */

@media (min-width: 641px) {
  body.single-post .jp-related-posts-i2__row {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }
}
