/* 문제: 홈이 제토라와 같은 백자·청자 다크 스택 / 이유: 화면이 비슷하니 /
   수정: 남빛 안내+회사 로고 · 한국의미는 아래 2–3장(한글·기와·한복깃) */
.ow-home-hero {
  position: relative;
  padding: 52px 0 44px;
  background: #243656;
  color: #f6f1e6;
  overflow: visible;
  height: auto;
  max-height: none;
}
.ow-home-hero .ow-home-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px 40px;
  align-items: start;
  overflow: visible;
}
.ow-home-hero .hero-eyebrow {
  display: inline-block;
  color: #243656;
  background: #e8c86e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}
.ow-home-hero h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.3;
  word-break: keep-all;
}
.ow-home-hero .lead {
  color: #e8e4da;
  font-size: 15px;
  line-height: 1.7;
  max-width: 38em;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
  display: block;
}
.ow-home-hero .ow-home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ow-home-hero .ow-home-ctas .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
body.overseas-worker-surface .ow-home-hero .btn-primary,
body.wbpc-public-site.overseas-worker-surface .ow-home-hero .btn-primary {
  background: #c9a227 !important;
  color: #243656 !important;
  border: 1px solid #c9a227 !important;
  box-shadow: none;
}
body.overseas-worker-surface .ow-home-hero .btn-ghost,
body.wbpc-public-site.overseas-worker-surface .ow-home-hero .btn-ghost {
  background: transparent !important;
  color: #e8c86e !important;
  border: 1px solid #e8c86e !important;
}
.ow-hero-korea {
  position: relative;
  min-height: 420px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #c9a227;
  background: #1e2a3a;
}
.ow-hero-korea figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.15s ease;
}
.ow-hero-korea figure.on {
  opacity: 1;
  z-index: 1;
}
.ow-hero-korea img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ow-hero-korea figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 16, 28, 0.9));
  color: #f6f1e6;
  font-size: 13px;
  line-height: 1.45;
}
.ow-hero-korea figcaption span {
  display: block;
  color: #e8c86e;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.ow-gallery {
  padding: 44px 0 36px;
  background: #f3eee4;
}
.ow-gallery-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.ow-gallery .ow-g-k {
  margin: 0;
  color: #8a6a1a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.ow-gallery h2 {
  margin: 8px 0 10px;
  color: #1e2a3a;
  font-size: clamp(22px, 3vw, 30px);
}
.ow-gallery .ow-g-lead {
  margin: 0 0 22px;
  color: #3f4a5a;
  max-width: 46em;
  line-height: 1.7;
}
.ow-g-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ow-g-card {
  margin: 0;
  background: #1e2a3a;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #c9a227;
}
.ow-g-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.ow-g-card figcaption {
  padding: 10px 12px 12px;
  color: #f6f1e6;
  font-size: 13px;
  line-height: 1.5;
}
.ow-g-card figcaption span {
  display: block;
  color: #e8c86e;
  font-weight: 700;
  margin-bottom: 4px;
}
.ow-korea-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ow-home-band {
  padding: 40px 0;
}
/* 문제: 홈 대표 인사말이 흰 바탕에 묻혀 안 보임 / 이유: 히어로 아래 회색 밴드 / 수정: 남빛·금색 띠로 바로 보이게 */
.ow-home-greet-band {
  padding: 40px 0;
  background: #243656;
  color: #f6f1e6;
  border-bottom: 2px solid #c9a227;
}
.ow-home-greet-band .section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.ow-home-greet-band .section-eyebrow {
  color: #e8c86e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ow-home-greet-band h2 {
  color: #fff;
  margin: 8px 0 12px;
}
.ow-home-greet-band p {
  color: #e8e4da;
  max-width: 42em;
}
/* 문제: 인사말 오른쪽이 비고 버튼이 Soft 파랑 / 이유: 한 칼럼 + styles.css / 수정: 2칸 + 금 버튼 */
.ow-home-greet {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr);
  gap: 28px 36px;
  align-items: end;
}
.ow-home-greet-copy p {
  margin: 0 0 10px;
  line-height: 1.7;
}
.ow-home-greet-card {
  background: #1a2740;
  border: 1px solid #c9a227;
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ow-home-greet-card p {
  margin: 0 0 4px;
  color: #e8e4da;
  font-size: 14px;
  line-height: 1.55;
  max-width: none;
}
.ow-home-greet-card .btn {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}
.ow-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 16px 0 8px;
  font-size: 13px;
}
.ow-hero-links a {
  color: #e8c86e;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(232, 200, 110, 0.35);
}
.ow-hero-links a:hover,
.ow-hero-links a:focus {
  color: #fff;
  border-bottom-color: #fff;
}
.ow-how-band {
  background: #f8fafc;
}
.ow-role-nest {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}
.ow-roster-card {
  max-width: 720px;
  margin-top: 8px;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.ow-roster-card select,
.ow-roster-card input,
#signup-type {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  font-size: 14px;
}
.ow-roster-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ow-roster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.ow-after-links {
  margin-top: 14px;
}
.ow-after-band {
  padding-bottom: 52px;
}
body.overseas-worker-surface .btn-primary {
  background: #c9a227 !important;
  color: #243656 !important;
  border: 1px solid #c9a227 !important;
}
body.overseas-worker-surface .btn-ghost {
  background: transparent !important;
  color: #243656 !important;
  border: 1px solid #c9a227 !important;
}
body.overseas-worker-surface .ow-home-hero .btn-ghost,
body.overseas-worker-surface .ow-home-greet-card .btn-ghost {
  color: #e8c86e !important;
}
.ow-home-band .section-inner {
  max-width: 1160px;
}
.ow-home-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.ow-home-how-grid article {
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  padding: 14px 14px 16px;
  background: #fff;
}
.ow-home-how-grid .n {
  color: #c9a227;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ow-home-how-grid h3 {
  margin: 6px 0 8px;
  font-size: 16px;
}
.ow-home-how-grid p {
  margin: 0;
  font-size: 13px;
  color: var(--text-mute, #64748b);
  line-height: 1.5;
}
.ow-edu-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.ow-edu-path button {
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 16px;
  cursor: pointer;
  min-height: 132px;
}
.ow-edu-path button .n {
  color: #c9a227;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ow-edu-path button h3 {
  margin: 6px 0 8px;
  font-size: 16px;
}
.ow-edu-path button p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.ow-edu-path button.on {
  border-color: #c9a227;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}
.ow-edu-path button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.ow-edu-player {
  margin-top: 20px;
  background: #0c1220;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #c9a227;
}
.ow-edu-player video {
  display: block;
  width: 100%;
  max-height: 420px;
  background: #000;
}
.ow-edu-player .ow-edu-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: #f6f1e6;
  font-size: 13px;
}
.ow-edu-lock {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}
.ow-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.ow-role-worker {
  max-width: none;
  margin: 0;
  border-top-width: 4px;
}
.ow-gov-company {
  border: 2px solid #1e3a5f;
  border-radius: 40px;
  padding: 16px 16px 22px;
  background: #f4f1e8;
}
.ow-nest-label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border: 1px solid #1e3a5f;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ow-nest-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}
.ow-gov-central {
  border: 2px solid #2c5282;
  border-radius: 999px 999px 36px 36px;
  padding: 18px 18px 22px;
  background: #fff;
}
.ow-gov-central > .btn {
  margin-bottom: 14px;
}
.ow-gov-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.ow-gov-link {
  align-self: center;
  color: #3182ce;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.ow-gov-node {
  border: 2px solid #2b6cb0;
  border-radius: 50%;
  min-height: 220px;
  padding: 22px 18px 20px;
  background: #f8fafc;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ow-gov-node h3 {
  margin: 6px 0 8px;
  font-size: 17px;
}
.ow-gov-node p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}
.ow-gov-node .btn {
  align-self: center;
}
@media (max-width: 860px) {
  .ow-gov-central { border-radius: 28px; }
  .ow-gov-pair { grid-template-columns: 1fr; }
  .ow-gov-link { transform: rotate(90deg); justify-self: center; }
  .ow-gov-node { border-radius: 24px; min-height: 0; }
}
.ow-role-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 16px 20px;
  border-top: 3px solid #c9a227;
}
.ow-role-k {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #243656;
}
.ow-role-card h3 {
  margin: 8px 0 10px;
  font-size: 17px;
}
.ow-role-card p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}
.ow-role-card .btn {
  width: 100%;
  justify-content: center;
}
@media (max-width: 960px) {
  .ow-role-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ow-role-grid { grid-template-columns: 1fr; }
}
.ow-rest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.ow-rest-grid a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
}
.ow-rest-grid a:hover {
  border-color: #c9a227;
}
.ow-rest-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #243656;
}
.ow-rest-grid p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.ow-home-hero .hint,
.ow-home-hero .hint a {
  color: #e8c86e;
}
.ow-home-greet .section-head p {
  max-width: 46em;
}
body.overseas-worker-surface #auth-modal.modal-overlay.open {
  display: flex !important;
  z-index: 20000;
  align-items: center;
  justify-content: center;
}
body.overseas-worker-surface #auth-modal .modal-box {
  max-height: min(90vh, 760px);
  overflow-y: auto;
}
@media (max-width: 860px) {
  .ow-home-hero .ow-home-wrap,
  .ow-g-grid,
  .ow-home-how-grid,
  .ow-home-greet,
  .ow-roster-row {
    grid-template-columns: 1fr;
  }
  .ow-hero-korea {
    min-height: 280px;
  }
  .ow-g-card img {
    height: 200px;
  }
}
