/* The Hebrew inner pages use the homepage's colors, typography and navigation. */
:root {
  --korea-navy: #1f3a5f;
  --apple-text: #1d1d1f;
  --apple-secondary: #595d66;
  --apple-blue-hover: #0066cc;
  --apple-card: #fff;
  --hanok-beige: #f2e9dd;
  --soft-border: rgba(31, 58, 95, .11);
  --soft-shadow: 0 18px 55px rgba(31, 58, 95, .11);
  color: var(--apple-text);
  background: #fff;
  font-family: Heebo, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  scroll-padding-top: 94px;
}

.editorial-page {
  margin: 0;
  background: radial-gradient(circle at 12% 8%, #f2e9ddaa, transparent 28%),
    linear-gradient(180deg, #fff 0%, #f5f5f7 42%, #fff 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.editorial-page *, .editorial-page *::before, .editorial-page *::after { box-sizing: border-box; }
.editorial-page :is(h1, h2, h3, p, figure) { margin: 0; }
.editorial-page a { color: var(--korea-navy); text-underline-offset: .2em; }
.editorial-page :focus-visible { outline: 3px solid var(--apple-blue-hover); outline-offset: 3px; }

.editorial-page .skip-link {
  position: absolute;
  z-index: 1001;
  inset-block-start: 8px;
  inset-inline-start: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
}
.editorial-page .skip-link:not(:focus) { clip-path: inset(50%); }

.editorial-page .site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--soft-border);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 18px rgba(31, 58, 95, .08);
  backdrop-filter: blur(18px);
}
.editorial-page .site-nav-inner {
  width: min(100%, 1180px);
  min-height: 65px;
  margin-inline: auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.editorial-page .site-nav-brand,
.editorial-page .language-toggle {
  color: var(--korea-navy);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.editorial-page .site-nav-brand { font-size: .98rem; }
.editorial-page .site-nav-quick, .editorial-page .site-nav-toggle { display: none; }
.editorial-page .site-nav-menu { display: flex; align-items: center; gap: 4px; }
.editorial-page .site-nav-menu a, .editorial-page .language-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
}
.editorial-page .site-nav-menu a:hover, .editorial-page .language-toggle:hover,
.editorial-page .site-nav-menu [aria-current], .editorial-page .site-nav-menu .nav-guides {
  background: rgba(31, 58, 95, .07);
}
.editorial-page .site-nav-menu .nav-whatsapp {
  background: #e4f5e9;
  color: #176337;
}
.editorial-page .whatsapp-mini-icon { width: 17px; height: 17px; fill: currentColor; flex: none; }

.editorial-page .wa-btn {
  position: fixed;
  z-index: 9;
  left: 28px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #168448;
  box-shadow: 0 4px 20px #25d36670;
}
.editorial-page .wa-btn:hover { background: #136b3b; }
.editorial-page .wa-btn svg { width: 29px; height: 29px; fill: white; }
.editorial-page .wa-pulse { display: none; }
.editorial-page .mobile-wa-bar { display: none; }

.editorial-inner,
.editorial-content {
  width: min(calc(100% - 48px), 1132px);
  margin-inline: auto;
}

.editorial-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(460px, 50vw, 640px);
  padding: clamp(72px, 10vw, 132px) 24px;
  background: var(--korea-navy);
  color: #fff;
  text-align: center;
}
.editorial-hero > :is(img, picture),
.editorial-hero > picture > img,
.editorial-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.editorial-hero > :is(img, picture) { z-index: -2; }
.editorial-hero img { object-fit: cover; object-position: var(--editorial-image-position, center); }
.editorial-hero::after {
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at center, rgba(14, 25, 41, .71) 0, rgba(14, 25, 41, .42) 84%),
    linear-gradient(0deg, rgba(12, 22, 35, .58), transparent 68%);
}
.editorial-hero-inner { width: min(100%, 800px); margin-inline: auto; }
.editorial-hero h1 {
  color: #fff;
  font-size: clamp(2.45rem, 6vw, 4.75rem);
  font-weight: 900;
  line-height: 1.06;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, .32);
}
.editorial-hero .editorial-lead {
  max-width: 62ch;
  margin: 20px auto 0;
  color: #fff;
  font-size: clamp(1.02rem, 1.9vw, 1.23rem);
  line-height: 1.68;
  text-wrap: pretty;
}
.editorial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-block-start: 24px;
}
.editorial-page a.editorial-button, .editorial-page a.service-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--korea-navy);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.editorial-page a.editorial-button:hover, .editorial-page a.service-button:hover { background: var(--apple-blue-hover); }
.editorial-hero a.editorial-button, .editorial-hero a.service-button { background: var(--apple-blue-hover); }
.editorial-hero a.editorial-button:hover, .editorial-hero a.service-button:hover { background: #0757a5; }
.editorial-hero a.editorial-button--secondary {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(14, 25, 41, .48);
}
.editorial-hero a.editorial-button--secondary:hover { background: rgba(14, 25, 41, .77); }
.editorial-hero a:focus-visible { outline-color: #fff; }

.editorial-crumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin: 0;
  padding: 17px 0;
  list-style: none;
  color: var(--apple-secondary);
  font-size: .86rem;
}
.editorial-crumbs li + li::before {
  content: "";
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-inline-end: 9px;
  vertical-align: .13em;
  border-block-start: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  transform: rotate(-45deg);
}
.editorial-photo-credit {
  margin: 0;
  padding: 8px 0 0;
  color: var(--apple-secondary);
  font-size: .78rem;
}

.editorial-section {
  padding-block: clamp(40px, 6.3vw, 76px);
  border-block-end: 1px solid var(--soft-border);
}
.editorial-section > h2, .editorial-section-heading, .editorial-related > h2 {
  max-width: 64ch;
  margin-inline: auto;
  margin-block-end: clamp(18px, 3vw, 32px);
  text-align: center;
}
.editorial-page h2 {
  color: var(--korea-navy);
  font-size: clamp(1.62rem, 3.5vw, 2.55rem);
  font-weight: 900;
  line-height: 1.18;
  text-wrap: balance;
}
.editorial-page h3 { color: var(--korea-navy); line-height: 1.24; font-size: 1.24rem; }
.editorial-section p, .editorial-section li, .editorial-related p { color: var(--apple-secondary); }
.editorial-section-heading p { margin-block-start: 10px; }
.editorial-section > p { max-width: 68ch; margin-inline: auto; }
.editorial-section > h2 + p { margin-block-start: -12px; margin-block-end: 20px; text-align: center; }
.editorial-section > p + p { margin-block-start: 14px; }
.editorial-section :is(h2, h3, strong) { color: var(--korea-navy); }
.editorial-section :is(.editorial-tip, .editorial-card-grid, .editorial-feature-grid, .editorial-steps) + p {
  margin-block-start: 22px;
}
.editorial-section :is(ul, ol):not([class]) {
  max-width: 72ch;
  margin-inline: auto;
  padding-inline-start: 1.35rem;
}
.editorial-section :is(ul, ol):not([class]) li + li { margin-block-start: .75em; }

.editorial-card-grid, .editorial-feature-grid, .editorial-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.editorial-card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.editorial-card, .editorial-feature-grid > *, .editorial-steps > li {
  min-width: 0;
  border: 1px solid var(--soft-border);
  border-radius: 22px;
  background: var(--apple-card);
  box-shadow: 0 10px 28px rgba(31, 58, 95, .08);
}
.editorial-card { overflow: hidden; display: flex; flex-direction: column; }
.editorial-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--hanok-beige);
}
.editorial-card-body, .editorial-feature-grid > *, .editorial-steps > li {
  padding: clamp(17px, 2.3vw, 28px);
}
.editorial-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
}
.editorial-card-body p, .editorial-feature-grid p, .editorial-steps p { margin-block-start: 8px; }
.editorial-card-body a.editorial-button { margin-block-start: auto; }
.editorial-card-body p:last-of-type:has(+ a) { margin-block-end: 15px; }

.editorial-steps { counter-reset: step; }
.editorial-steps > li { position: relative; counter-increment: step; }
.editorial-steps > li::before {
  content: counter(step);
  content: counter(step) / "";
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-block-end: 11px;
  border-radius: 50%;
  background: #eaf1f7;
  color: var(--korea-navy);
  font-weight: 900;
}
.editorial-tip, .editorial-highlight {
  border: 1px solid var(--soft-border);
  border-radius: 22px;
  background: #edf2f7;
}
.editorial-tip {
  margin-block-start: 22px;
  padding: 15px 20px;
  max-width: 76ch;
  margin-inline: auto;
}
.editorial-highlight {
  padding: clamp(20px, 4vw, 44px);
  background: linear-gradient(135deg, #edf3e9, #f8fbf4);
}
.editorial-highlight h2 { margin-block-end: 10px; }
.editorial-highlight p { max-width: 70ch; }
.editorial-highlight :is(.editorial-button, .service-button) { margin-block-start: 18px; }

.editorial-related {
  padding-block: clamp(36px, 5.5vw, 64px);
}
.editorial-related ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.editorial-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 15px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 750;
  text-decoration: none;
}
.editorial-related a:hover { background: #eaf1f7; }

.editorial-page footer {
  padding: 28px 24px 35px;
  border-top: 1px solid var(--soft-border);
  background: #fff;
  color: var(--apple-secondary);
  font-size: .87rem;
  text-align: center;
}
.editorial-page footer strong { color: var(--korea-navy); }
.editorial-page .footer-services ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 11px 0 20px;
  padding: 0;
  list-style: none;
}
.editorial-page .footer-services a { display: inline-block; padding-block: 5px; }

@media (max-width: 1080px) {
  .editorial-page .site-nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand toggle language" "quick quick quick" "menu menu menu";
    min-height: 0;
    gap: 0 6px;
    padding: 3px 12px 0;
  }
  .editorial-page .site-nav-brand {
    grid-area: brand;
    overflow: hidden;
    font-size: .88rem;
    text-overflow: ellipsis;
  }
  .editorial-page .language-toggle { grid-area: language; border-radius: 10px; padding-inline: 7px; }
  .editorial-page .site-nav-quick {
    grid-area: quick;
    display: grid;
    grid-template-columns: .8fr 1.1fr 1.1fr;
    border-top: 1px solid var(--soft-border);
  }
  .editorial-page .site-nav-quick a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 3px 6px;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
  }
  .editorial-page .site-nav-quick a + a { border-inline-start: 1px solid var(--soft-border); }
  .editorial-page .site-nav-quick :is(a:hover, [aria-current]) { color: var(--apple-blue-hover); }
  .editorial-page .site-nav-menu { grid-area: menu; flex-wrap: wrap; }
  .editorial-nav-enhanced .site-nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    min-width: 44px;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    color: var(--korea-navy);
    background: transparent;
    line-height: 1;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 900;
    cursor: pointer;
  }
  .editorial-page .site-nav-toggle:hover { background: rgba(31, 58, 95, .06); }
  .editorial-page .site-nav-toggle-icon {
    display: grid;
    align-content: space-between;
    width: 20px;
    height: 16px;
  }
  .editorial-page .site-nav-toggle-icon::before,
  .editorial-page .site-nav-toggle-icon::after,
  .editorial-page .site-nav-toggle-icon span {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  .editorial-nav-enhanced .site-nav-menu { display: none; }
  .editorial-nav-enhanced .site-nav.is-open .site-nav-menu {
    position: absolute;
    inset-inline: 12px;
    top: calc(100% + 6px);
    display: grid;
    gap: 3px;
    max-height: min(440px, calc(100dvh - 100px));
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--soft-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 70px rgba(31, 58, 95, .18);
  }
  .editorial-nav-enhanced .site-nav-menu a { border-radius: 12px; }
}
@media (min-width: 550px) and (max-width: 1080px) {
  :root { scroll-padding-top: 70px; }
  .editorial-page .site-nav-inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas: "brand quick toggle language" "menu menu menu menu";
    min-height: 51px;
    padding-block: 3px;
  }
  .editorial-page .site-nav-quick { display: flex; border-top: 0; }
  .editorial-page .site-nav-quick a { min-height: 44px; white-space: nowrap; }
}
@media (min-width: 550px) and (max-width: 620px) {
  .editorial-page .site-nav-toggle-text { display: none; }
}
@media (max-width: 820px) {
  .editorial-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .editorial-page { padding-block-end: calc(62px + env(safe-area-inset-bottom)); }
  .editorial-page .wa-btn { display: none; }
  .editorial-page .mobile-wa-bar {
    position: fixed;
    z-index: 9;
    display: block;
    inset-inline-end: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .editorial-page .mobile-wa-bar a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #fff;
    color: #176337;
    border: 1px solid #c5e2cf;
    box-shadow: 0 5px 22px rgba(31, 58, 95, .12);
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
  }
}
@media (max-width: 600px) {
  .editorial-inner, .editorial-content { width: calc(100% - 32px); }
  .editorial-hero { min-height: 423px; padding: 60px 18px; }
  .editorial-hero h1 { font-size: clamp(2.08rem, 8.4vw, 2.8rem); }
  .editorial-hero .editorial-lead { margin-block-start: 16px; }
  .editorial-hero-actions { gap: 9px; margin-block-start: 19px; }
  .editorial-card-grid, .editorial-feature-grid, .editorial-steps { grid-template-columns: 1fr; }
  .editorial-card img { aspect-ratio: 2 / 1; }
  .editorial-steps > li { padding-inline-start: 68px; }
  .editorial-steps > li::before { position: absolute; inset-inline-start: 17px; inset-block-start: 17px; }
}

.editorial-page footer [lang="en"] { display: none; }
.editorial-page .mobile-wa-copy { display: flex; gap: .35em; flex-wrap: wrap; }

.editorial-hero--preview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  min-height: unset;
  padding: clamp(46px, 7vw, 96px) max(24px, calc((100% - 1132px) / 2));
  background: linear-gradient(135deg, #f2e9dd, #eaf1f7);
  color: var(--korea-navy);
  text-align: start;
}
.editorial-hero--preview::after { display: none; }
.editorial-hero--preview > img {
  position: static;
  z-index: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}
.editorial-hero--preview h1 { color: var(--korea-navy); font-size: clamp(2.15rem, 4.15vw, 4rem); text-shadow: none; }
.editorial-hero--preview .editorial-lead { color: var(--apple-secondary); }
.editorial-hero--preview .editorial-hero-actions { justify-content: start; }
.editorial-hero--preview a:focus-visible { outline-color: var(--apple-blue-hover); }

.editorial-tour-host {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
  margin-block-start: 10px;
}
.editorial-tour-host img { aspect-ratio: 1; border-radius: 50%; margin-block-start: 8px; }

.editorial-content .editorial-highlight {
  margin-block-start: clamp(24px, 4vw, 46px);
  border-block-end: 1px solid var(--soft-border);
}
.editorial-content .editorial-highlight :is(h2, p) {
  margin-inline: 0;
  text-align: start;
}
.editorial-content .editorial-highlight h2 { margin-block: 0 10px; }
.editorial-content .editorial-highlight h2 + p { margin-block: 0; }
.editorial-content .editorial-highlight p + p { margin-block-start: 10px; }

.editorial-stage-stack { display: grid; gap: 14px; }
.editorial-stage {
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--soft-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 58, 95, .06);
}
.editorial-stage > h3 { margin-block-end: 14px; }
.editorial-stage .editorial-steps {
  grid-template-columns: 1fr;
  gap: 0;
  list-style: decimal;
  padding-inline-start: 1.7em;
}
.editorial-stage .editorial-steps > li {
  margin: 0;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.editorial-stage .editorial-steps > li + li { border-block-start: 1px solid var(--soft-border); }
.editorial-stage .editorial-steps > li::before { content: none; }
.editorial-stage .editorial-steps > li::marker { color: var(--korea-navy); font-weight: 900; }
.editorial-stage .editorial-steps > li p { margin-block-start: 5px; }
.editorial-night-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.editorial-night-grid > li {
  padding: 14px 10px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: #eaf1f7;
  text-align: center;
}
.editorial-night-grid > li > strong { display: block; }

@media (max-width: 768px) {
  .editorial-hero--preview {
    grid-template-columns: 1fr;
    padding: 36px 18px;
    text-align: center;
  }
  .editorial-hero--preview > .editorial-hero-inner { grid-row: 1; }
  .editorial-hero--preview > img { width: min(100%, 460px); margin-inline: auto; }
  .editorial-hero--preview .editorial-hero-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .editorial-tour-host { grid-template-columns: 88px minmax(0, 1fr); }
  .editorial-night-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
