/* Gung Jeon Bang: #8F292D is sampled from the original logo's solid pixels.
 * Shared palette, buttons and inquiry form for the customer site.
 */
:root {
  --brand-primary: #8F292D;
  --brand-hover: #702024;
  --brand-surface: #FCF7F7;
  --button-radius: 10px;
  --button-height: 52px;
}

body.elementor-kit-661 {
  --e-global-color-uicore_primary: var(--brand-primary);
  --e-global-color-uicore_secondary: var(--brand-hover);
  --e-global-color-uicore_accent: var(--brand-primary);
  --e-global-color-uicore_light: var(--brand-surface);
  --swiper-theme-color: var(--brand-primary);
  accent-color: var(--brand-primary);
}

/* The final hero image is present at first paint; never blend a template image. */
body.elementor-kit-661 .cms-subhero {
  background-color: #25191A;
  transition: none !important;
}
body.elementor-kit-661 .cms-subhero::before,
body.elementor-kit-661 .cms-subhero > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  transition: none !important;
}

/* Product listing: four columns on desktop, with the existing narrow layouts. */
.elementor-element[data-id="f469e6c"] { --grid-columns: 4; }
.elementor-element[data-id="f469e6c"] .cms-food-product > a[data-id="b419025"] {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.elementor-element[data-id="f469e6c"] .cms-food-product .elementor-widget-image,
.elementor-element[data-id="f469e6c"] .cms-food-product .elementor-widget-image > .elementor-widget-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.elementor-element[data-id="f469e6c"] .cms-food-product img {
  display: block;
  object-position: center top !important;
  background: #fff !important;
}
.elementor-element[data-id="f469e6c"] .cms-food-product [data-cms-product-overlay] {
  min-height: 128px;
  padding: 52px 20px 20px;
  justify-content: flex-end;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .24) 40%, rgba(0, 0, 0, .82)) !important;
}
.elementor-element[data-id="f469e6c"] .cms-food-product h3.elementor-heading-title {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
}
body.elementor-kit-661 .elementor-element[data-id="7ee92ef"] .e-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
}
body.elementor-kit-661 .elementor-element[data-id="7ee92ef"] .e-filter-item {
  justify-content: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 52px;
}
@media (max-width: 1024px) {
  .elementor-element[data-id="f469e6c"] { --grid-columns: 2; }
}
@media (max-width: 767px) {
  .elementor-element[data-id="f469e6c"] { --grid-columns: 1; }
  body.elementor-kit-661 .elementor-element[data-id="7ee92ef"] .e-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.elementor-kit-661 .elementor-element[data-id="7ee92ef"] .e-filter-item { min-height: 48px; padding-inline: 8px !important; font-size: 14px; }
}

/* Product details follow the original image / information split. */
.cms-product-detail { width: min(1200px, calc(100% - 64px)); margin-inline: auto; padding-block: 80px 96px; }
.cms-product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.cms-product-detail-grid > * { min-width: 0; }
.cms-product-main-image { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; border: 1px solid #EEE; border-radius: 12px; background: #fff; }
.cms-product-info { padding-top: 12px; }
.cms-product-detail .cms-product-series { margin: 0 0 10px; color: var(--brand-primary); font-size: 16px; font-weight: 700; line-height: 1.5; }
.cms-product-detail .cms-product-info h2 { margin: 0; color: #242424; font-size: 34px; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; }
.cms-product-specs { margin: 26px 0 0; padding: 16px 0; border-top: 1px solid #333; border-bottom: 1px solid #E8E3E3; }
.cms-product-spec-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding-block: 8px; font-size: 15px; line-height: 1.7; }
.cms-product-spec-row dt { color: #6B6666; font-weight: 600; }
.cms-product-spec-row dt::before { content: "−"; margin-right: 8px; color: var(--brand-primary); }
.cms-product-spec-row dd { margin: 0; color: #333; white-space: pre-wrap; overflow-wrap: anywhere; }
.cms-product-description { margin-top: 24px; color: #555; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.cms-product-description p { margin: 0 0 16px; }
.cms-product-description img { max-width: 100%; height: auto; }
.cms-product-detail-actions { margin-top: 28px; }
.cms-product-back { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 144px; }
.cms-product-gallery { display: grid; gap: 24px; margin-top: 64px; }
.cms-product-gallery img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 12px; }
@media (min-width: 768px) and (max-width: 1024px) {
  .cms-product-detail-grid { gap: 40px; }
  .cms-product-detail .cms-product-info h2 { font-size: 28px; }
  .cms-product-spec-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 767px) {
  .cms-product-detail { width: calc(100% - 40px); padding-block: 40px 64px; }
  .cms-product-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cms-product-media { width: 100%; max-width: 540px; margin-inline: auto; }
  .cms-product-info { padding-top: 0; }
  .cms-product-detail .cms-product-info h2 { font-size: 28px; }
  .cms-product-detail .cms-product-series { font-size: 15px; }
  .cms-product-spec-row { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; font-size: 14px; }
  .cms-product-detail-actions { text-align: center; }
  .cms-product-gallery { margin-top: 40px; }
}

/* Three capabilities per business, using the original editable list content. */
.cms-business-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.cms-business-highlights > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
}
.cms-business-highlights .cms-business-highlight-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px 14px;
  border: 1px solid var(--brand-primary);
  border-radius: 12px;
  background: var(--brand-surface);
  color: var(--brand-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.cms-business-highlights .cms-business-highlight-description {
  margin: 12px 0 0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .cms-business-highlights { gap: 10px; margin-top: 24px; }
  .cms-business-highlights .cms-business-highlight-title {
    min-height: 96px;
    padding: 14px 10px;
    font-size: 14px;
  }
  .cms-business-highlights .cms-business-highlight-description { font-size: 13px; }
}
@media (max-width: 359px) {
  .cms-business-highlights { grid-template-columns: 1fr; gap: 16px; }
  .cms-business-highlights > li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .cms-business-highlights .cms-business-highlight-description { margin: 0; }
}

/* Company: introduction, brand promise, two films, then ideology and vision. */
.cms-about { color: #242424; background: #fff; }
.cms-about :is(h2, h3, p, figure) { margin: 0; }
.cms-about-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.cms-about-intro { padding-block: 96px 80px; }
.cms-about .cms-about-eyebrow {
  padding-bottom: 20px;
  border-bottom: 1px solid #E9E3E3;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
}
.cms-about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 40px; }
.cms-about-intro-grid > * { min-width: 0; }
.cms-about .cms-about-kicker { margin-bottom: 16px; color: var(--brand-primary); font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.cms-about .cms-about-identity h2 { color: #202020; font-size: clamp(32px, 3.6vw, 54px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.cms-about-founded { display: block; margin-top: 8px; color: var(--brand-primary); }
.cms-about .cms-about-intro-copy { color: #555; font-size: 17px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.cms-about .cms-about-intro-copy p + p { margin-top: 22px; }
.cms-about-promise { padding-block: 0 56px; text-align: center; }
.cms-about-promise::before { content: ""; display: block; width: 1px; height: 48px; margin: 0 auto 40px; background: var(--brand-primary); }
.cms-about-logo { display: block; width: 180px; height: auto; margin-inline: auto; }
.cms-about .cms-about-promise-heading { margin-top: 28px; color: #272222; font-size: 32px; font-weight: 600; line-height: 1.5; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.cms-about-promise-line { display: block; }
.cms-about-promise-heading strong { color: var(--brand-primary); font-weight: 700; }
.cms-about-films { padding-bottom: 80px; }
.cms-about-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cms-about-film { min-width: 0; }
.cms-about-film iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #F3F1F1;
}
.cms-about-film figcaption { margin-top: 14px; color: #666; font-size: 15px; line-height: 1.6; }
.cms-about-principles { padding-block: 64px 104px; border-top: 1px solid #E9E3E3; }
.cms-about-principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cms-about-principle { min-width: 0; }
.cms-about-principle > img { display: block; width: 100%; height: auto; aspect-ratio: 1220 / 584; object-fit: cover; border-radius: 12px; background: #F3F1F1; }
.cms-about-principle-copy { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; margin-top: 26px; }
.cms-about .cms-about-principle h3 { color: var(--brand-primary); font-size: 20px; font-weight: 700; line-height: 1.6; }
.cms-about .cms-about-principle-copy p { color: #555; font-size: 16px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.cms-about-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1024px) {
  .cms-about-intro-grid { gap: 40px; }
  .cms-about-video-grid, .cms-about-principles-grid { gap: 28px; }
  .cms-about-principle-copy { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 767px) {
  .cms-about-shell { width: calc(100% - 40px); }
  .cms-about-intro { padding-block: 56px 48px; }
  .cms-about-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
  .cms-about .cms-about-identity h2 { font-size: clamp(28px, 7.8vw, 42px); }
  .cms-about .cms-about-kicker { margin-bottom: 12px; font-size: 14px; }
  .cms-about .cms-about-intro-copy { font-size: 16px; line-height: 1.8; }
  .cms-about-promise { padding-bottom: 36px; }
  .cms-about-promise::before { height: 32px; margin-bottom: 28px; }
  .cms-about-logo { width: 148px; }
  .cms-about .cms-about-promise-heading { margin-top: 24px; font-size: 24px; line-height: 1.5; }
  .cms-about-films { padding-bottom: 48px; }
  .cms-about-video-grid, .cms-about-principles-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cms-about-film figcaption { margin-top: 10px; font-size: 14px; }
  .cms-about-principles { padding-block: 40px 64px; }
  .cms-about-principles-grid { gap: 40px; }
  .cms-about-principle-copy { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
}

body.elementor-kit-661 .cms-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cms-home-hero .cms-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cms-home-hero .cms-hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.elementor-kit-661 .cms-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.28)) !important;
  pointer-events: none;
}
.cms-home-hero > .e-con-inner { position: relative; z-index: 2; }

/* WPForms stores its own button palette on each form container. */
.wpforms-container[id] {
  --wpforms-button-background-color: var(--brand-primary) !important;
  --wpforms-button-border-color: var(--brand-primary) !important;
  --wpforms-page-break-color: var(--brand-primary) !important;
}
.wpforms-form button[type="submit"] {
  border-color: var(--brand-primary) !important;
}
.wpforms-form button[type="submit"]:hover {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
}
.uicore-library-button {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary);
}

/* Match the pre-initialization layout to the carousel's responsive settings. */
.elementor-1227 .elementor-widget-loop-carousel[data-id="529f013"] {
  --swiper-slides-to-display: 3;
}
[data-id="529f013"] .e-loop-item img {
  background-color: var(--brand-surface) !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  border-radius: 16px !important;
}
@media (max-width: 1024px) {
  .elementor-1227 .elementor-widget-loop-carousel[data-id="529f013"] { --swiper-slides-to-display: 2; }
}
@media (max-width: 767px) {
  .elementor-1227 .elementor-widget-loop-carousel[data-id="529f013"] { --swiper-slides-to-display: 1; }
}

/* Use the same box model in every state: hovering must never move the page. */
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--button-height) !important;
  min-height: var(--button-height) !important;
  padding: 0 28px !important;
  border: 1px solid transparent !important;
  border-radius: var(--button-radius) !important;
  background: var(--brand-primary) !important;
  color: #fff !important;
  font-family: "Pretendard", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color .18s ease, color .18s ease !important;
}
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit):hover,
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit):active {
  background: var(--brand-hover) !important;
}
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit):focus::after {
  content: none !important;
  display: none !important;
}
/* A keyboard cue without the extra ring that appeared after mouse clicks. */
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit):focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit) .ui-btn-anim-wrapp {
  display: inline-flex !important;
  align-items: center;
  height: auto !important;
  transform: none !important;
  transition: none !important;
}
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit) .elementor-button-text {
  line-height: 20px !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit) .ui-btn-anim-wrapp > .elementor-button-text ~ .elementor-button-text {
  display: none !important;
}
body.elementor-kit-661 .e-filter-item {
  box-sizing: border-box;
  border-radius: var(--button-radius) !important;
  border: 1px solid #E3D4D5 !important;
  padding: 10px 16px !important;
  min-height: 44px;
  background: #fff !important;
  color: #505050 !important;
  font-size: 16px;
  line-height: 22px;
  transition: background-color .18s ease, color .18s ease;
}
body.elementor-kit-661 .elementor-widget-taxonomy-filter .e-filter {
  flex-wrap: wrap;
  gap: 8px;
}
body.elementor-kit-661 .e-filter-item:hover {
  background: var(--brand-surface) !important;
  color: var(--brand-primary) !important;
}
body.elementor-kit-661 .e-filter-item[aria-pressed="true"] {
  background: var(--brand-primary) !important;
  color: #fff !important;
  border-color: var(--brand-primary) !important;
}
body.elementor-kit-661 button.wpforms-submit:disabled {
  opacity: .65;
  cursor: wait;
}
body.elementor-kit-661 button.wpforms-submit { min-width: 144px; }
body.elementor-kit-661 .wpforms-form .cms-field-error {
  margin: 5px 0 0;
  color: #A1262D;
  font-size: 13px;
  line-height: 20px;
}
body.elementor-kit-661 .wpforms-form .cms-field-error:empty {
  display: none;
}
body.elementor-kit-661 .wpforms-form [aria-invalid="true"] {
  border-color: #A1262D !important;
}
body.elementor-kit-661 .cms-form-feedback {
  margin-top: 16px;
  color: #A1262D;
  font-size: 14px;
  line-height: 1.6;
}

/* Original news board: text rows, search and ten posts per page. */
.cms-news-board {
  width: 100%;
  min-width: 0;
  color: #333;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-margin-top: 110px;
}
.cms-news-board *, .cms-news-board *::before, .cms-news-board *::after { box-sizing: border-box; }
.cms-news-board .cms-news-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 20px;
}
.cms-news-board .cms-news-total { margin: 0; font-size: 14px; letter-spacing: .02em; }
.cms-news-board .cms-news-total strong { margin-left: 5px; color: var(--brand-primary); font-weight: 600; }
.cms-news-board .cms-news-search { display: flex; gap: 6px; margin: 0; min-width: 0; }
.cms-news-board .cms-news-search :is(select, input, button) {
  width: auto;
  height: 38px;
  min-height: 38px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: #fff;
  color: #333;
  font: inherit;
  font-size: 14px;
  line-height: normal;
  box-shadow: none;
}
.cms-news-board .cms-news-search select { width: 110px; padding: 0 30px 0 12px; }
.cms-news-board .cms-news-search input { width: 230px; min-width: 0; padding: 0 12px; }
.cms-news-board .cms-news-search input::placeholder { color: #999; font-size: 13px; }
.cms-news-board .cms-news-search button {
  flex-shrink: 0;
  padding: 0 20px;
  border-color: #222;
  background: #222;
  color: #fff;
  cursor: pointer;
  transition: background-color .18s ease;
}
.cms-news-board .cms-news-search button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.cms-news-board :is(a, select, input, button):focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
.cms-news-board .cms-news-table {
  width: 100%;
  table-layout: fixed;
  border: 0;
  border-top: 1px solid #222;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
}
.cms-news-board .cms-news-table :is(th, td) {
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  padding: 20px 0;
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
  line-height: 1.6;
  background: transparent;
}
.cms-news-board .cms-news-table th { padding: 15px 0; border-bottom-color: #ddd; font-size: 13px; font-weight: 500; letter-spacing: .03em; }
.cms-news-board .cms-news-number { width: 90px; }
.cms-news-board .cms-news-date { width: 170px; }
.cms-news-board .cms-news-count { width: 100px; }
.cms-news-board td:is(.cms-news-number, .cms-news-date, .cms-news-count) { font-size: 14px; color: #777; font-variant-numeric: tabular-nums; }
.cms-news-board .cms-news-table td.cms-news-title { padding: 0 20px; text-align: left; }
.cms-news-board .cms-news-title a { display: block; padding: 20px 0; color: #333; font-weight: 400; text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; }
.cms-news-board .cms-news-title a:hover { color: var(--brand-primary); }
.cms-news-board .cms-news-table tbody tr:hover { background: #f7f7f7; }
.cms-news-board .cms-news-pinned { display: inline-block; padding: 1px 10px; border-radius: 12px; background: var(--brand-primary); color: #fff; font-size: 12px; }
.cms-news-board :is(.cms-news-mobile-date, .cms-news-mobile-count) { display: none; }
.cms-news-board .cms-news-table td.cms-news-empty { padding: 64px 16px; color: #777; }
.cms-news-board .cms-news-reset { margin: 16px 0 0; font-size: 14px; text-align: right; }
.cms-news-board .cms-news-reset a { color: #666; text-decoration: underline; text-underline-offset: 4px; }
.cms-news-board .cms-news-pagination { display: flex; justify-content: center; gap: 5px; margin-top: 30px; }
.cms-news-board .cms-news-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid transparent;
  background: #fff;
  color: #777;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}
.cms-news-board .cms-news-page-arrow { border-color: #ddd; font-size: 21px; }
.cms-news-board .cms-news-page.is-current,
.cms-news-board a.cms-news-page:hover { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }
.cms-news-board .cms-news-page.is-disabled { color: #ccc; border-color: #e8e8e8; }
.cms-news-board .cms-news-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 780px) {
  .cms-news-board .cms-news-table { table-layout: auto; }
  .cms-news-board .cms-news-table thead { display: none; }
  .cms-news-board .cms-news-table .cms-news-date { display: none; }
  .cms-news-board .cms-news-number { width: 55px; }
  .cms-news-board .cms-news-count { width: 75px; }
  .cms-news-board .cms-news-mobile-date { display: block; margin-top: 5px; color: #999; font-size: 12px; }
  .cms-news-board .cms-news-search input { width: 180px; }
}
@media (max-width: 500px) {
  .cms-news-board .cms-news-board-top { align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .cms-news-board .cms-news-total { width: 100%; font-size: 13px; }
  .cms-news-board .cms-news-search { width: 100%; gap: 5px; }
  .cms-news-board .cms-news-search select { width: 88px; padding-left: 9px; flex-shrink: 0; font-size: 13px; }
  .cms-news-board .cms-news-search input { flex: 1; width: 0; padding: 0 9px; font-size: 13px; }
  .cms-news-board .cms-news-search input::placeholder { font-size: 12px; }
  .cms-news-board .cms-news-search button { padding: 0 14px; font-size: 13px; }
  .cms-news-board .cms-news-table .cms-news-number { display: none; }
  .cms-news-board .cms-news-table td.cms-news-title { padding: 0 10px 0 0; }
  .cms-news-board .cms-news-title a { padding: 16px 0; font-size: 14px; }
  .cms-news-board .cms-news-count { width: 56px; }
  .cms-news-board .cms-news-table td.cms-news-count { padding: 16px 0; color: #999; font-size: 12px; text-align: right; }
  .cms-news-board .cms-news-mobile-count { display: inline; }
  .cms-news-board .cms-news-pagination { gap: 4px; margin-top: 24px; }
  .cms-news-board .cms-news-page { min-width: 32px; height: 34px; }
}
/* The original detail layout: title/date rule, article body and a right-aligned list button. */
.cms-news-detail {
  width: 100%;
  min-width: 0;
  color: #333;
  font-family: "Pretendard", sans-serif;
  scroll-margin-top: 110px;
}
.cms-news-detail *, .cms-news-detail *::before, .cms-news-detail *::after { box-sizing: border-box; }
.cms-news-detail .cms-news-detail-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 20px 3px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #e6e6e6;
}
.cms-news-detail .cms-news-detail-header h3 {
  min-width: 0;
  margin: 0;
  color: #333;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cms-news-detail .cms-news-detail-header time { flex-shrink: 0; color: #999; font-size: 14px; font-weight: 400; line-height: 1.6; font-variant-numeric: tabular-nums; }
.cms-news-detail .cms-news-detail-body {
  padding: 25px 3px;
  border-bottom: 1px solid #e6e6e6;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cms-news-detail .cms-news-detail-body p { margin: 0 0 16px; }
.cms-news-detail .cms-news-detail-body > :last-child { margin-bottom: 0; }
.cms-news-detail .cms-news-detail-body img { max-width: 100%; height: auto; margin: 20px 0; }
.cms-news-detail .cms-news-detail-body :is(video, iframe) { max-width: 100%; }
.cms-news-detail .cms-news-detail-body iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.cms-news-detail .cms-news-detail-body table { width: 100%; max-width: 100%; table-layout: fixed; }
.cms-news-detail .cms-news-detail-body pre { white-space: pre-wrap; }
.cms-news-detail .cms-news-detail-attachments { display: flex; align-items: baseline; gap: 12px 24px; padding: 16px 3px; border-bottom: 1px solid #e6e6e6; color: #777; font-size: 13px; }
.cms-news-detail .cms-news-detail-attachments > span { flex-shrink: 0; }
.cms-news-detail .cms-news-detail-attachments ul { min-width: 0; margin: 0; padding: 0; list-style: none; }
.cms-news-detail .cms-news-detail-attachments a { color: #555; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cms-news-detail .cms-news-detail-footer { display: flex; justify-content: flex-end; margin-top: 25px; }
.cms-news-detail .cms-news-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid #222;
  border-radius: 0;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
}
.cms-news-detail .cms-news-back:hover { border-color: var(--brand-hover); background: var(--brand-hover); color: #fff; }
.cms-news-detail a:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
@media (max-width: 767px) {
  .cms-news-detail .cms-news-detail-header { flex-direction: column; gap: 7px; padding: 15px 0; }
  .cms-news-detail .cms-news-detail-header time { font-size: 13px; }
  .cms-news-detail .cms-news-detail-body { padding: 20px 0; font-size: 14px; }
  .cms-news-detail .cms-news-detail-attachments { gap: 12px; }
  .cms-news-detail .cms-news-back { min-height: 40px; }
}
.cms-form-feedback[hidden] { display: none !important; }
@media (max-width: 767px) {
  :root { --button-height: 48px; }
  body.elementor-kit-661 :is(.elementor-button, .uicore-btn, button.wpforms-submit) {
    padding-inline: 24px !important;
  }
}
