:root {
  color-scheme: light;
  --green: #006638;
  --ink: #18251c;
  --muted: #526256;
  --paper: #faf9f4;
  --line: #d9dfd6;
}
* { box-sizing: border-box; }
body.editorial-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; }
a:focus-visible, input:focus-visible {
  outline: 3px solid #00874a;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.editorial-page .elementor-location-header { position: relative; z-index: 2; }
#editorial-mobile-menu[aria-hidden="false"] {
  max-height: calc(100dvh - 55px);
  overflow-y: auto;
}
body.editorial-menu-open { overflow: hidden; }
.hero {
  background: #26352a;
  position: relative;
  isolation: isolate;
  color: #fff;
}
.hero img, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero img { object-position: 58% 54%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, #14251de8, #14251da8 52%, #14251d40);
}
.hero-copy { padding-block: clamp(50px, 8vw, 104px); }
.hero a { text-underline-offset: .22em; }
.hero h1 {
  font-size: clamp(2.65rem, 7vw, 5rem);
  margin: 0 0 12px;
  line-height: 1.08;
  letter-spacing: -.06em;
}
.hero p { margin: 0; max-width: 34rem; }
.hero-link { display: inline-block; margin-top: 16px; }
.gallery { padding-block: clamp(32px, 5vw, 64px) 72px; }
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.toolbar p { margin: 0; color: var(--muted); }
.search { display: flex; align-items: center; gap: 12px; }
.search label { font-weight: 700; }
.search input {
  width: min(48vw, 246px);
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #8d9e91;
  border-radius: 5px;
  color: var(--ink);
  font: inherit;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}
.entry { border-bottom: 1px solid var(--line); }
.entry a { display: block; height: 100%; text-decoration: none; }
.thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e0e6dc;
}
.thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.thumbnail img[hidden] { display: none; }
.thumbnail .representative {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  background: #1a291ee9;
  color: #fff;
  font-size: .7rem;
}
.entry-copy { padding: 13px 0 19px; }
.entry-meta { margin: 0 0 5px; color: var(--green); font-size: .84rem; font-weight: 700; }
.entry h2 { margin: 0; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.4; letter-spacing: -.027em; }
.entry p:last-child { margin: 7px 0 0; color: var(--muted); font-size: .94rem; }
.entry a:is(:hover, :focus-visible) h2 { text-decoration: underline; text-underline-offset: .2em; color: var(--green); }
.entry a:is(:hover, :focus-visible) img { transform: scale(1.045); }
.site-footer { padding-block: 22px; background: #e8eee6; color: #344638; }
.site-footer p { margin: 0; }
@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .45s ease-out both; }
  @keyframes enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .thumbnail img { transition: none; }
}

.guide-content {
  max-width: 850px;
  padding-block: clamp(32px, 6vw, 68px);
}
.guide-content section + section { margin-top: 36px; }
.guide-content h2 { color: var(--ink); font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0 0 12px; }
.guide-content p { margin: 0 0 14px; }
.guide-content ol { margin: 0 0 18px; padding-inline-start: 1.45em; }
.guide-content li + li { margin-top: 7px; }
.guide-content a { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.guide-content table {
  table-layout: fixed;
  font-size: clamp(.79rem, 2.3vw, 1rem);
  background: #fff;
}
.guide-content th, .guide-content td { padding: clamp(6px, 1.5vw, 14px); }
.guide-content thead th { background: #e7efe7; }
