/* Set reasonable max-width to reduce spaces */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.td-outer-wrap {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.td-outer-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.td-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Menu toolbar full width alignment */
.td-header-wrap,
.td-header-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.td-header-menu-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.td-header-menu {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.td-pb-row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
}

.td-main-content {
    width: 70% !important;
    padding: 20px 15px !important;
    margin: 0 !important;
}

.td-sidebar {
    width: 30% !important;
    padding: 20px 15px !important;
}

.ve-custom-template {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
  color: #222;
  font-family: "Segoe UI", Arial, sans-serif;
}

.ve-custom-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.ve-custom-info-box {
  background: #f7fafc;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.ve-custom-info-box h3 {
  margin: 0 0 10px;
  color: #1f5fa8;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ve-custom-info-box p {
  margin: 0;
  line-height: 1.7;
  color: #3a3a3a;
}

.ve-custom-vacancy-details {
  margin-bottom: 36px;
}

.ve-custom-vacancy-details h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  color: #0f3d72;
}

.ve-custom-vacancy-summary {
  margin-bottom: 18px;
  padding: 18px 20px;
  background: #edf5ff;
  border-left: 4px solid #2873d4;
  color: #1f3c72;
  font-weight: 600;
}

.ve-custom-vacancy-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  margin-bottom: 18px;
}

.ve-custom-vacancy-table th,
.ve-custom-vacancy-table td {
  border: 1px solid #d6dce3;
  padding: 14px 16px;
  text-align: left;
}

.ve-custom-vacancy-table th {
  background: #f0f5fb;
  color: #1a3c72;
  font-weight: 700;
}

.ve-custom-vacancy-table tr:nth-child(even) {
  background: #fafbfd;
}

.ve-custom-vacancy-footer {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #2b3c55;
}

.ve-custom-timeline-section {
  margin-bottom: 30px;
}

.ve-custom-timeline-section h2 {
  margin-bottom: 18px;
  font-size: 1.55rem;
  color: #0c3e6c;
}

.ve-custom-timeline-phase {
  display: grid;
  grid-template-columns: 120px auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
}

.ve-custom-phase-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f4ea8;
  color: #fff;
  border-radius: 999px;
  width: 110px;
  height: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ve-custom-phase-content strong {
  display: block;
  margin-bottom: 6px;
  color: #113f72;
}

.ve-custom-phase-content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
}

.ve-custom-quick-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ve-custom-link-button {
  display: inline-block;
  text-decoration: none;
  background: #0b4fb5;
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ve-custom-link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(11, 79, 181, 0.18);
}

.ve-custom-link-button.ve-custom-secondary {
  background: #f3f7ff;
  color: #0b4fb5;
  border: 1px solid #bbd5fb;
}