/* 주러시아 독일 대사관 (dv-russland) 한국어판 — 원작 WordPress(Twenty Nineteen + WPBakery) 화면을 옮긴 것 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 22px; } }
html { overflow-x: hidden; overflow-x: clip; } body { overflow-x: clip; }

a { color: #0073aa; text-decoration: none; }
a:hover, a:focus { color: #005177; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
p { margin: 1em 0 0; }
p:first-child { margin-top: 1em; }
h1, h4 { font-weight: 700; line-height: 1.2; margin: 1em 0; }
h4 { font-size: 1.125em; }
ul { margin: 1em 0 0; padding-left: 1em; }
ul ul { margin: 0; }
li { line-height: 1.8; }
strong, b { font-weight: 700; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 6px; top: 6px; background: #fff; padding: 8px 16px; z-index: 100000; }

/* 머리(첫 화면만, 원작은 빈 머리 영역) */
.site-header { padding: 1em; }
@media (min-width: 768px) { .site-header { padding: 3em 0; } }

/* WPBakery 격자 */
.vc_row { margin-left: -15px; margin-right: -15px; }
.vc_row::after, .clearfix::after { content: ""; display: table; clear: both; }
.vc_inner { margin-left: -15px; margin-right: -15px; }
.vc_column-inner { padding-left: 15px; padding-right: 15px; }
.vc_column-inner::after { content: ""; display: table; clear: both; }
.vc_col-has-fill > .vc_column-inner { padding-top: 35px; }
.col { position: relative; min-height: 1px; width: 100%; }
@media (min-width: 768px) {
  .col { float: left; }
  .c1 { width: 8.3333%; } .c2 { width: 16.6667%; } .c4 { width: 33.3333%; }
  .c6 { width: 50%; } .c12 { width: 100%; }
}
@media (max-width: 991px) { .hide-md-up-only { display: none !important; } }
@media (min-width: 992px) { .hide-sm-down-only { display: none !important; } }

.el { margin-bottom: 35px; }
.el > p:last-child, .el > ul:last-child { margin-bottom: 0; }
.center { text-align: center; }
.right { text-align: right; }

.sep { border-top: 2px solid #ebebeb; height: 0; margin: 0 0 35px; }
.sep.thin { border-top-width: 1px; }
.sep.flush { margin: 0; }

.alignleft { float: left; margin-right: 1em; }
.nw { display: inline-block; }

/* 첫 화면 */
.brand-line { font-size: 14pt; }
.brand-line img { margin-right: 2rem; }
.menu-icon { margin-top: 15px; }
.band-green { background: #dde8dc; }
.band-blue { background: #ced7ed; }
.band-text { margin-left: 50px; }
.band-text h1 span { font-size: 18pt; }
.band-text h1::before { content: ""; display: block; width: 62px; height: 2px; margin: 22px 0; background: #767676; }
.band-text ul ul { padding-left: 2em; }
@media (max-width: 767px) { .band-text { margin-left: 15px; padding-right: 15px; } .mob-icon { margin-left: 16px; } }
.pt14 { font-size: 14pt; }
.pt12 { font-size: 12pt; }
.pt24 { font-size: 24pt; }
.hero { margin-bottom: 35px; }
.hero img { width: 100%; }

/* 로그인·검색 폼 (원작 페이지 안 스타일 그대로) */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.container.left { margin-left: 10px; }
.container label { display: inline-block; }
.container input[type=text] {
  width: 100%;
  padding: 10px 12px;
  line-height: 28px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  font-size: 1em;
  color: #111;
  background: #fff;
}
.container input[type=submit] {
  width: 100%;
  background-color: #808080;
  color: #fff;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: .88889em;
  font-weight: 700;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}
.container input[type=submit]:hover { background-color: #696969; }
@media screen and (max-width: 600px) {
  .container {
    border: 0; border-radius: 0; width: auto; margin-left: 0; margin-right: 0;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .container.left { margin-left: 0; }
  .container label { display: block; }
  .container input[type=text] { margin-top: 0; margin-bottom: 10px; }
  .container input[type=submit] { margin: 0; }
}

/* 검색 애플리케이션 탭 (WPBakery 클래식·회색·둥근 모서리) */
.tta { margin-bottom: 35px; }
.tta-tabs { list-style: none; margin: 0 0 -1px; padding: 0; display: flex; flex-wrap: wrap; gap: 1px; }
.tta-tabs li { line-height: 1.8; }
.tta-tab, .tta-head {
  display: block; padding: 14px 20px; color: #666; cursor: pointer;
  border: 1px solid #e3e3e3; background: #ebebeb; border-radius: 5px 5px 0 0;
  font: inherit; text-align: left; width: 100%;
}
.tta-tab:hover, .tta-head:hover { background: #dcdcdc; color: #666; }
.tta-tab.active { background: #f8f8f8; border-color: #f0f0f0; border-bottom-color: transparent; position: relative; z-index: 1; }
.tta-tab.active:hover { background: #f8f8f8; }
.tta-ico { display: inline-block; width: .8em; height: .8em; margin-right: .5em; vertical-align: -.02em; fill: currentColor; }
.tta-panels { background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 0 5px 5px; }
.tta-panel { display: none; }
.tta-panel.active { display: block; }
.tta-body { padding: 14px 20px; }
.tta-body > :last-child { margin-bottom: 0; }
.tta-head { display: none; border-radius: 5px; margin: 0; }
.tta-head h4 { margin: 0; font-size: 1em; font-weight: 400; line-height: 1.8; }
.red { color: #ff0000; }
@media (max-width: 767px) {
  .tta-tabs { display: none; }
  .tta-panels { background: none; border: 0; }
  .tta-panel { display: block; margin-bottom: 1px; }
  .tta-head { display: block; }
  .tta-panel.active .tta-head { background: #f8f8f8; border-color: #f0f0f0; border-radius: 5px 5px 0 0; }
  .tta-panel .tta-body { display: none; }
  .tta-panel.active .tta-body { display: block; background: #f8f8f8; border: 1px solid #f0f0f0; border-top: 0; border-radius: 0 0 5px 5px; }
}

/* 검색 결과 표 (Ninja Tables · Semantic UI 줄무늬) */
.ui-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; color: rgba(0,0,0,.87);
  border: 1px solid rgba(34,36,38,.15); border-radius: .28571em;
  margin: 0 0 1em; text-align: left;
}
.ui-table th {
  background: #f9fafb; font-weight: 700; padding: .92857em .78571em;
  border-bottom: 1px solid rgba(34,36,38,.1); vertical-align: middle;
}
.ui-table th:first-child { border-radius: .28571em 0 0 0; }
.ui-table th:last-child { border-radius: 0 .28571em 0 0; }
.ui-table td { padding: .78571em; border-top: 1px solid rgba(34,36,38,.1); vertical-align: middle; }
.ui-table tbody tr:first-child td { border-top: 0; }
.ui-table tbody tr:nth-child(2n) { background: rgba(0,0,50,.02); }
.ui-table tbody tr:hover { background: rgba(0,0,0,.05); }

.ml10 { margin-left: 10px; } .ml20 { margin-left: 20px; } .ml30 { margin-left: 30px; }
.mt5 { margin-top: 5px; } .mt20 { margin-top: 20px; }
.m0 { margin: 0 !important; }
.result-head p { margin-top: 0; }

.btn-back {
  display: inline-block; padding: 14px 20px; font-size: 14px; line-height: normal;
  color: #fff; background: #f7be68; border: 1px solid rgba(0,0,0,.1);
  border-radius: 0; cursor: pointer; margin-bottom: 22px;
}
.btn-back:hover, .btn-back:focus { color: #fff; background: #f5b14b; }

/* 팝업 (Popup Maker · 라이트박스 테마) */
.pum-overlay {
  position: fixed; inset: 0; z-index: 1999999999; overflow-y: auto;
  background: rgba(0,0,0,.6); display: none; opacity: 0; transition: opacity .35s;
}
.pum-overlay.open { display: block; }
.pum-overlay.shown { opacity: 1; }
.pum-container {
  position: absolute; top: 100px; left: 50%; transform: translateX(-50%);
  width: 240px; max-width: calc(100% - 32px);
  background: #fff; color: #000; border: 1px solid #000; border-radius: 1px;
  box-shadow: 0 0 30px 0 #020202; padding: 18px; margin-bottom: 48px;
  font-size: 16px; line-height: normal;
}
.pum-container p { margin: 0; font-weight: 100; }
.pum-close {
  position: absolute; top: -13px; right: -13px; width: 26px; height: 26px;
  padding: 0; border: 2px solid #fff; border-radius: 26px; background: #000; color: #fff;
  font: 100 24px/20px Arial, sans-serif; text-align: center; cursor: pointer;
  box-shadow: 0 0 15px 1px rgba(2,2,2,.75);
}
.form-gap { margin: 0; height: 22px; }
.tta-tab .tta-ico, .tta-head .tta-ico { width: 1em; height: 1em; vertical-align: -.12em; margin-right: .45em; }
.ui-table td:first-child { white-space: nowrap; }
.tta-tab:focus, .tta-head:focus { color: #666; }
