/* --------------- Vacancy Detail Page (dark bento) --------------- */

.right-side .vkb-page {
  padding-left: 80px;
  padding-right: 80px; }

@media (max-width: 991px) {
  .right-side .vkb-page {
    padding-left: 48px;
    padding-right: 48px; } }

@media (max-width: 767px) {
  .right-side .vkb-page {
    padding-left: 24px;
    padding-right: 24px; } }

/* Page */
.vkb-page {
  position: relative;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden; }

.vkb-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  pointer-events: none; }

.vkb-wrap {
  position: relative;
  z-index: 1;
  padding: 40px 48px 48px; }

@media (max-width: 767px) {
  .vkb-wrap {
    padding: 28px 24px 36px; } }

/* Header */
.vkb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px; }

.vkb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em; }

.vkb-breadcrumb a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s; }

.vkb-breadcrumb a:hover {
  color: #fff; }

.vkb-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px; }

.vkb-breadcrumb span:last-child {
  color: var(--main-color); }

.vkb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: color 0.25s, border-color 0.25s, gap 0.25s; }

.vkb-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  gap: 12px; }

/* Hero */
.vkb-hero {
  margin-bottom: 32px;
  max-width: 720px; }

.vkb-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 16px; }

.vkb-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.03em; }

.vkb-lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  margin: 0; }

/* Bento grid */
.vkb-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: 40px; }

.vkb-tile {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s; }

.vkb-tile:hover {
  border-color: rgba(255, 255, 255, 0.12); }

/* Apply — left column, 2 rows */
.vkb-tile--apply {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  border-color: rgba(248, 68, 56, 0.3);
  background: linear-gradient(160deg, #141414 0%, #1a1010 100%); }

.vkb-tile--apply:hover {
  border-color: rgba(248, 68, 56, 0.5); }

/* Meta row */
.vkb-bento > .vkb-tile--meta:nth-child(2) {
  grid-column: 5 / 9;
  grid-row: 1; }

.vkb-bento > .vkb-tile--meta:nth-child(3) {
  grid-column: 9 / 13;
  grid-row: 1; }

.vkb-bento > .vkb-tile--meta:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2; }

/* Stack */
.vkb-tile--stack {
  grid-column: 9 / 13;
  grid-row: 2; }

.vkb-tile-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--main-color);
  margin-bottom: 12px; }

.vkb-tile--apply h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2; }

.vkb-tile--apply p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 auto;
  padding-bottom: 24px;
  flex: 1; }

.vkb-tile--apply .butn {
  margin-bottom: 14px;
  box-shadow: 0 0 28px rgba(248, 68, 56, 0.3); }

.vkb-email {
  display: block;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s; }

.vkb-email:hover {
  color: var(--main-color); }

/* Meta tiles */
.vkb-tile--meta {
  padding: 22px 24px; }

.vkb-meta-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px; }

.vkb-meta-val {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25; }

/* Stack tile styles */
.vkb-tile--stack code {
  display: block;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 10px;
  word-break: break-word; }

/* Content — full width */
.vkb-tile--content {
  grid-column: span 12; }

.vkb-section-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.vkb-body {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  max-width: 760px; }

.vkb-body h2,
.vkb-body h3,
.vkb-body h4 {
  color: #fff;
  margin: 24px 0 12px; }

.vkb-body h2:first-child,
.vkb-body h3:first-child {
  margin-top: 0; }

.vkb-body p {
  margin-bottom: 14px; }

.vkb-body ul,
.vkb-body ol {
  margin-bottom: 18px;
  padding-left: 20px; }

.vkb-body li {
  margin-bottom: 6px; }

.vkb-body a {
  color: var(--main-color); }

/* Lists — 6 cols each */
.vkb-tile--list {
  grid-column: span 6; }

.vkb-tile--accent {
  border-left: 3px solid var(--main-color); }

.vkb-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px; }

.vkb-list li i {
  color: var(--main-color);
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 11px; }

/* Metrics strip */
.vkb-tile--metrics {
  grid-column: span 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px 28px; }

.vkb-metric {
  text-align: center; }

.vkb-metric strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px; }

.vkb-metric span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35); }

.vkb-metric-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08); }

/* Responsive bento */
@media (max-width: 991px) {
  .vkb-tile--apply,
  .vkb-bento > .vkb-tile--meta:nth-child(2),
  .vkb-bento > .vkb-tile--meta:nth-child(3),
  .vkb-bento > .vkb-tile--meta:nth-child(4),
  .vkb-tile--stack,
  .vkb-tile--content,
  .vkb-tile--list,
  .vkb-tile--metrics {
    grid-column: 1 / -1;
    grid-row: auto; }

  .vkb-tile--apply {
    order: -1; } }

@media (max-width: 767px) {
  .vkb-tile {
    padding: 22px 20px; }

  .vkb-tile--metrics {
    flex-direction: column;
    gap: 20px; }

  .vkb-metric-sep {
    width: 40px;
    height: 1px; } }

/* Related */
.vkb-related {
  margin-bottom: 32px; }

.vkb-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px; }

.vkb-related-head h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0; }

.vkb-all-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s; }

.vkb-all-link:hover {
  gap: 10px;
  color: var(--main-color); }

.vkb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; }

@media (max-width: 991px) {
  .vkb-related-grid {
    grid-template-columns: 1fr; } }

.vkb-rel-cell {
  min-width: 0; }

.vkb-rel-card {
  position: relative;
  display: block;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px 56px 24px 24px;
  height: 100%;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s; }

.vkb-rel-card:hover {
  border-color: rgba(248, 68, 56, 0.4);
  transform: translateY(-3px);
  color: inherit; }

.vkb-rel-tag {
  display: inline-block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 12px; }

.vkb-rel-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  transition: color 0.25s; }

.vkb-rel-card:hover h5 {
  color: var(--main-color); }

.vkb-rel-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0; }

.vkb-rel-go {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  transition: background 0.25s, color 0.25s, border-color 0.25s; }

.vkb-rel-card:hover .vkb-rel-go {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff; }

/* CTA */
.vkb-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 36px 40px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; }

@media (max-width: 767px) {
  .vkb-cta-inner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start; } }

.vkb-cta-text h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  color: #fff;
  margin: 0 0 8px; }

.vkb-cta-text p {
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  max-width: 520px;
  line-height: 1.65;
  font-size: 14px; }

.vkb-cta-inner .butn-bg {
  flex-shrink: 0;
  box-shadow: 0 0 28px rgba(248, 68, 56, 0.25); }

.reev-vacancy-apply-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px; }

.reev-vacancy-apply-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px; }

.reev-vacancy-apply-email {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
  line-height: 1.3;
  margin-bottom: 8px; }

.reev-vacancy-apply-email:hover {
  color: var(--main-color); }

.reev-vacancy-apply-action {
  margin-top: 10px;
  width: 100%; }

.reev-vacancy-apply-modal .reev-contact-modal-dialog {
  max-width: 560px; }

.reev-vacancy-apply-modal {
  z-index: 10060; }
