/* Creatium subpages — unified Vietnor chrome + responsive layout reset */

.vn-subpage .vn-creatium-legacy .section.css1,
.vn-subpage .vn-creatium-legacy .section.css9 {
  display: none !important;
}

.vn-subpage .area-wrapper {
  padding-top: 0;
}

.vn-creatium-legacy {
  overflow-x: clip;
  max-width: 100%;
  color: var(--vn-text, #1a2744);
}

.vn-creatium-legacy .container {
  width: min(1280px, calc(100vw - 48px));
  max-width: min(1280px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 24px);
  padding-right: clamp(16px, 3vw, 24px);
}

/* Hide duplicate Creatium footer blocks — unified vn-footer is injected */
.vn-subpage .vn-creatium-legacy .section.css126 {
  display: none !important;
}
/* Hide junk widgets */
.vn-creatium-legacy #google_translate_element,
.vn-creatium-legacy [onclick*="openGoogleTranslate"] {
  display: none !important;
}

.vn-subpage .vn-creatium-legacy .section-helper {
  display: none !important;
}

/* ── Reset Creatium zero-canvas (fixed 1650px absolute layers) ── */
.vn-subpage .vn-creatium-legacy .section-zero,
.vn-subpage .vn-creatium-legacy .widget-zero {
  position: relative !important;
  overflow: visible !important;
  min-height: 0 !important;
  height: auto !important;
  padding: clamp(48px, 8vw, 88px) 0 !important;
}

.vn-subpage .vn-creatium-legacy .section-zero {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  gap: 1rem;
  background: var(--vn-ice, #f7f9fc);
}

.vn-subpage .vn-creatium-legacy .section-zero > .wrapper1 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

.vn-subpage .vn-creatium-legacy .section-zero > .zero-grid,
.vn-subpage .vn-creatium-legacy .widget-zero > .zero-grid {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

.vn-subpage .vn-creatium-legacy .zero-layer {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
}

.vn-subpage .vn-creatium-legacy .zero-layer-axis,
.vn-subpage .vn-creatium-legacy .zero-layer-frame {
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  transform: none !important;
}

/* Decorative empty rectangles from Creatium hero */
.vn-subpage .vn-creatium-legacy .section-zero .layer-rectangle.layer:not(.wow) {
  display: none !important;
}

.vn-subpage .vn-creatium-legacy .zero-draggable-settings.textable,
.vn-subpage .vn-creatium-legacy .section-zero h1.textable,
.vn-subpage .vn-creatium-legacy .section-zero h3.textable {
  font-family: var(--vn-font-display, "TTNorms Bold", Manrope, system-ui, sans-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem) !important;
  font-weight: 400;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  color: var(--vn-navy, #001233);
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.vn-subpage .vn-creatium-legacy .section-zero .layer.wow .wrapper1,
.vn-subpage .vn-creatium-legacy .section-zero .layer-image img {
  border-radius: var(--vn-radius-lg, 16px);
}

.vn-subpage .vn-creatium-legacy .section-zero .layer.wow .wrapper1 {
  position: relative !important;
  min-height: clamp(180px, 28vw, 280px);
  background-size: cover !important;
  background-position: center !important;
}

.vn-subpage .vn-creatium-legacy .section-zero .layer-image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

/* Bio map block — side by side on desktop */
.vn-subpage .vn-creatium-legacy #bio .widget-zero {
  display: grid !important;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding-top: 0 !important;
}

@media (min-width: 900px) {
  .vn-subpage .vn-creatium-legacy #bio .widget-zero {
    grid-template-columns: minmax(140px, 180px) 1fr 1fr;
    align-items: start;
  }
}

/* ── Section rhythm (match index) ── */
.vn-subpage .vn-creatium-legacy .section-clear {
  padding: clamp(48px, 7vw, 80px) 0;
}

.vn-subpage .vn-creatium-legacy .section-clear .padding_top,
.vn-subpage .vn-creatium-legacy .section-clear .padding_bottom {
  display: none;
}

.vn-subpage .vn-creatium-legacy .section-clear h2.textable,
.vn-subpage .vn-creatium-legacy .section-clear h3.textable.css55,
.vn-subpage .vn-creatium-legacy .section-clear h2.textable.css76,
.vn-subpage .vn-creatium-legacy .section-clear h2.textable.css91 {
  font-family: var(--vn-font-display, "TTNorms Bold", Manrope, system-ui, sans-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  color: var(--vn-navy, #001233);
  margin: 0 0 1.25rem;
}

.vn-subpage .vn-creatium-legacy .section-clear p.textable,
.vn-subpage .vn-creatium-legacy .section-clear h3.textable {
  color: var(--vn-muted, #5c6b82);
  line-height: 1.65;
}

/* ── Card grids (hotels, tours, experiences) ── */
.vn-subpage .vn-creatium-legacy .w-elements-grid > .cont {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2.5vw, 28px) !important;
  width: 100% !important;
  overflow: visible !important;
  flex-wrap: unset !important;
}

.vn-subpage .vn-creatium-legacy .w-elements-grid > .cont > .widget-element,
.vn-subpage .vn-creatium-legacy .w-elements-grid > .cont > .node {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: auto !important;
  min-width: 0;
}

.vn-subpage .vn-creatium-legacy .widget-element.hvr-grow-mini,
.vn-subpage .vn-creatium-legacy .w-elements-grid .widget-element {
  background: #fff;
  border: 1px solid var(--vn-border, rgba(0, 18, 51, 0.1));
  border-radius: var(--vn-radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--vn-shadow-sm, 0 4px 16px rgba(0, 18, 51, 0.06));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vn-subpage .vn-creatium-legacy .widget-element.hvr-grow-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--vn-shadow, 0 12px 40px rgba(0, 18, 51, 0.08));
}

.vn-subpage .vn-creatium-legacy .widget-image img,
.vn-subpage .vn-creatium-legacy .bgnormal img {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.vn-subpage .vn-creatium-legacy .widget-element .textable.css53,
.vn-subpage .vn-creatium-legacy .widget-element .textable.css60,
.vn-subpage .vn-creatium-legacy .widget-element .textable.css59 h3 {
  font-family: var(--vn-font-display, "TTNorms Bold", Manrope, system-ui, sans-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
  letter-spacing: 0.02em !important;
  color: var(--vn-navy, #001233);
  padding: 0.75rem 1rem 0.25rem;
}

.vn-subpage .vn-creatium-legacy .widget-element .textable.css55,
.vn-subpage .vn-creatium-legacy .widget-element .textable.css65,
.vn-subpage .vn-creatium-legacy .widget-element .textable.css64 p {
  font-size: 0.95rem !important;
  line-height: 1.55;
  color: var(--vn-muted, #5c6b82);
  padding: 0 1rem 1rem;
}

/* Trust / feature columns */
.vn-subpage .vn-creatium-legacy .w-elements-grid.valign-bottom > .cont {
  align-items: stretch;
}

.vn-subpage .vn-creatium-legacy .w-elements-grid .widget-element.css59,
.vn-subpage .vn-creatium-legacy .w-elements-grid .widget-element.css63,
.vn-subpage .vn-creatium-legacy .w-elements-grid .widget-element.css66 {
  background: var(--vn-ice, #f7f9fc);
  border-radius: var(--vn-radius-lg, 16px);
  padding: 1.25rem;
  border: 1px solid var(--vn-border, rgba(0, 18, 51, 0.08));
}

/* Carousel fallback when Owl assets unavailable */
.vn-subpage .metahtml.css62 .w-elements-grid > .cont,
.vn-subpage .metahtml.css62 .owl-stage {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) !important;
  gap: 1.5rem !important;
  overflow: visible !important;
  flex-wrap: unset !important;
}

.vn-subpage .metahtml.css62 .owl-item,
.vn-subpage .metahtml.css62 .w-elements-grid .widget-element {
  width: 100% !important;
  flex-basis: auto !important;
}

/* Dental / list blocks */
.vn-subpage .vn-creatium-legacy .widget-imagedtext .tbl {
  margin-bottom: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--vn-border, rgba(0, 18, 51, 0.08));
}

.vn-subpage .vn-creatium-legacy .widget-imagedtext .textable {
  font-size: 1rem;
  line-height: 1.6;
}

.vn-subpage .vn-creatium-legacy .widget-imagedtext .textable.css121 {
  font-weight: 600;
  color: var(--vn-navy, #001233);
}

/* Buttons */
.vn-creatium-legacy .btn.btn-legacy {
  border-radius: var(--vn-radius, 10px);
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}

.vn-subpage .vn-creatium-legacy .btn.btn-legacy.css19,
.vn-subpage .vn-creatium-legacy .btn.btn-legacy.css105 {
  background: var(--vn-blue, #002fa8);
  color: #fff !important;
}

.vn-subpage .vn-creatium-legacy .btn.btn-legacy.css19:hover,
.vn-subpage .vn-creatium-legacy .btn.btn-legacy.css105:hover {
  background: var(--vn-blue-hover, #0038c7);
}

/* Contact block */
.vn-subpage .vn-creatium-legacy #contact .widget-element {
  border: 1px solid var(--vn-border, rgba(0, 18, 51, 0.1));
  border-radius: var(--vn-radius-lg, 16px);
  padding: 1.5rem;
  background: #fff;
}

.vn-subpage .vn-creatium-legacy #contact .roundimage .round {
  width: 72px !important;
  height: 72px !important;
}

/* Team grid */
.vn-subpage .vn-creatium-legacy #bio .grid .col {
  width: 100% !important;
  flex-basis: 100% !important;
}

@media (min-width: 768px) {
  .vn-subpage .vn-creatium-legacy #bio .grid .col[style*="33.3333"] {
    flex: 1 1 30% !important;
    width: auto !important;
    max-width: 33.3333%;
  }

  .vn-subpage .vn-creatium-legacy #bio .grid .col[style*="61.5015"],
  .vn-subpage .vn-creatium-legacy #bio .grid .col[style*="38.4985"] {
    flex: 1 1 45% !important;
    width: auto !important;
  }
}

/* Footer duplicate sections — keep last only on some pages */
.vn-subpage .vn-creatium-legacy .section.css126 {
  border-top: 1px solid var(--vn-border, rgba(0, 18, 51, 0.1));
}

/* Cyrillic / long translations — prevent nav and UI blowout */
html.lang-ru .vn-nav a,
html.lang-uk .vn-nav a {
  font-size: clamp(0.58rem, 0.85vw, 0.68rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  padding: 12px 4px;
  hyphens: auto;
  overflow-wrap: anywhere;
}

html.lang-en .vn-nav a {
  font-size: clamp(0.62rem, 0.8vw, 0.7rem);
}

html.lang-ru .vn-hero__title,
html.lang-uk .vn-hero__title {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.02;
}

html.lang-ru .vn-section-head h2,
html.lang-uk .vn-section-head h2,
html.lang-ru .vn-display,
html.lang-uk .vn-display {
  line-height: 1.08;
  overflow-wrap: anywhere;
}

html.lang-ru .vn-spotlight-tile__content h3,
html.lang-uk .vn-spotlight-tile__content h3 {
  font-size: clamp(1rem, 1.8vw, 1.45rem);
}

html.lang-ru .w-menu-grid .text,
html.lang-uk .w-menu-grid .text,
html.lang-ru .textable,
html.lang-uk .textable {
  overflow-wrap: anywhere;
  hyphens: auto;
}

html.lang-ru .btn .text,
html.lang-uk .btn .text {
  line-height: 1.3;
}

.vn-creatium-legacy .zero-draggable-settings.textable {
  overflow-wrap: anywhere;
  max-width: 100%;
}

@media (max-width: 900px) {
  html.lang-ru .vn-nav a,
  html.lang-uk .vn-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .vn-subpage .vn-creatium-legacy .w-elements-grid > .cont {
    grid-template-columns: 1fr;
  }
}
