/* ============================================================
   OnDestination - Vacature detail page styles
   Builds on colors_and_type.css + home.css
   ============================================================ */

/* ── VACANCY BADGES ── */
.vac-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  flex-shrink: 0;
}
.vac-badge.ft { background: rgba(111,224,0,.15);  color: #3F8A00; }
.vac-badge.pt { background: rgba(58,147,232,.12); color: #1d6fbc; }
.vac-badge.fl { background: rgba(232,177,0,.12);  color: #8a5f00; }
.vac-badge.st { background: rgba(0,0,0,.07);      color: #555; }

/* ── HERO ── */
.vac-hero {
  position: relative;
  background: #000;
  color: #F8F5EE;
  overflow: hidden;
  padding-bottom: 100px;
}
.vac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 90% 50%, rgba(111,224,0,.13), transparent 55%),
    radial-gradient(ellipse 45% 65% at 8% 85%,  rgba(111,224,0,.06), transparent 60%);
  pointer-events: none;
}
.vac-hero-deco {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-52%);
  font-family: 'Kardige', sans-serif;
  font-size: clamp(240px, 28vw, 440px);
  color: rgba(111,224,0,.043);
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.vac-hero .wrap { position: relative; z-index: 2; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(248,245,238,.38);
  margin-bottom: 52px;
  padding-top: 52px;
}
.breadcrumb a {
  color: rgba(248,245,238,.38);
  text-decoration: none;
  transition: color 160ms;
}
.breadcrumb a:hover { color: #6FE000; }
.breadcrumb .bc-sep { color: rgba(248,245,238,.18); font-size: 12px; }
.breadcrumb .bc-current { color: rgba(248,245,238,.68); font-weight: 600; }

/* Meta row */
.vac-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 24px;
}
.vac-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(248,245,238,.2);
  flex-shrink: 0;
}
.vac-hero-loc,
.vac-hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(248,245,238,.48);
  font-weight: 600;
  letter-spacing: .02em;
}
.vac-hero-loc svg,
.vac-hero-hours svg {
  width: 14px;
  height: 14px;
  stroke: rgba(248,245,238,.32);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Titles */
.vac-hero h1 {
  font-size: clamp(52px, 7.8vw, 116px);
  line-height: .95;
  margin: 0 0 24px;
  color: #F8F5EE;
  max-width: 14ch;
}
.vac-hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
  font-weight: 300;
  color: rgba(248,245,238,.62);
  max-width: 55ch;
  margin: 0 0 38px;
}
.vac-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── CONTENT LAYOUT ── */
.vac-content { padding-top: 80px; padding-bottom: 110px; }

.vac-grid {
  display: grid;
  grid-template-columns: 1fr 348px;
  gap: 72px;
  align-items: start;
}
.vac-main { min-width: 0; }

/* Sections */
.vac-section {
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(0,0,0,.09);
  margin-bottom: 52px;
}
.vac-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.vac-section .eye { margin-bottom: 26px; }

.vac-intro-text {
  font-size: 17px;
  line-height: 1.78;
  color: #383833;
  max-width: 64ch;
  margin: 0;
  text-wrap: pretty;
}

/* ── RESPONSIBILITY LIST ── */
.resp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.resp-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.065);
}
.resp-list li:first-child { padding-top: 0; }
.resp-list li:last-child { border-bottom: none; padding-bottom: 0; }
.resp-num {
  font-family: 'Kardige', sans-serif;
  font-size: 19px;
  color: rgba(111,224,0,.52);
  line-height: 1.2;
  letter-spacing: -.01em;
  padding-top: 1px;
}
.resp-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: #282822;
  margin: 0;
}

/* ── REQUIREMENTS LIST ── */
.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #282822;
}
.req-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(111,224,0,.1);
  border: 1.5px solid rgba(111,224,0,.26);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.req-check svg {
  width: 11px;
  height: 11px;
  stroke: #3F8A00;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ── BENEFITS GRID ── */
.vac-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vac-benefit-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  transition: border-color 220ms cubic-bezier(.22,.61,.36,1),
              transform    220ms cubic-bezier(.22,.61,.36,1);
}
.vac-benefit-item:hover {
  border-color: rgba(111,224,0,.42);
  transform: translateY(-2px);
}
.vb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6FE000;
  flex-shrink: 0;
  margin-top: 6px;
}
.vac-benefit-item span {
  font-size: 14px;
  line-height: 1.6;
  color: #282822;
}

/* ── SIDEBAR ── */
.vac-sidebar { min-width: 0; }

.sidebar-card {
  position: sticky;
  top: 88px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0,0,0,.09), 0 2px 5px rgba(0,0,0,.04);
}

/* Dark top */
.sidebar-top {
  background: #0A0A0A;
  padding: 22px 26px 20px;
}
.sidebar-top p { margin: 0; }
.sidebar-role-name {
  font-family: 'Kardige', sans-serif;
  font-weight: 400;
  font-size: 21px;
  color: #F8F5EE;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin-bottom: 7px !important;
}
.sidebar-tagline {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(248,245,238,.42);
}

/* Meta rows */
.sidebar-meta { padding: 0 26px; }
.sidebar-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(111,224,0,.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sidebar-ico svg {
  width: 15px;
  height: 15px;
  stroke: #3F8A00;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-row p { margin: 0; }
.sidebar-row-label {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a8a86;
  font-weight: 700;
  margin-bottom: 2px !important;
}
.sidebar-row-val {
  font-size: 14px;
  font-weight: 600;
  color: #0A0A0A;
}

/* Actions */
.sidebar-actions {
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.sidebar-actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 13.5px;
}
.sidebar-actions .btn-ghost {
  border-color: rgba(0,0,0,.16);
  color: #0A0A0A;
}
.sidebar-actions .btn-ghost:hover {
  border-color: rgba(111,224,0,.5);
  color: #3F8A00;
  background: rgba(111,224,0,.04);
}

/* Contact person */
.sidebar-contact {
  margin: 0 26px 22px;
  background: #F3EEE2;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(111,224,0,.18);
  border: 2px solid rgba(111,224,0,.32);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: 'Kardige', sans-serif;
  font-size: 16px;
  color: #3F8A00;
  line-height: 1;
  user-select: none;
}
.sidebar-contact p { margin: 0; }
.sidebar-contact-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 2px !important;
}
.sidebar-contact-role {
  font-size: 12px;
  color: #6a6a66;
}

/* ── RELATED VACATURES ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.related-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: border-color 220ms cubic-bezier(.22,.61,.36,1),
              transform    220ms cubic-bezier(.22,.61,.36,1);
  min-height: 190px;
}
.related-card:hover {
  border-color: rgba(111,224,0,.4);
  transform: translateY(-3px);
}
.related-card h3 {
  font-family: 'Kardige', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.015em;
  color: #F8F5EE;
  margin: 0;
  line-height: 1.1;
}
.related-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(248,245,238,.45);
  margin: 0;
  flex: 1;
  max-width: none;
}
.related-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.related-loc {
  font-size: 11.5px;
  color: rgba(248,245,238,.32);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.rel-arr {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 220ms;
}
.related-card:hover .rel-arr { background: #6FE000; }
.related-card:hover .rel-arr svg { stroke: #000; }
.rel-arr svg {
  width: 13px;
  height: 13px;
  stroke: rgba(248,245,238,.5);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 220ms;
}
.related-foot {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ── APPLY CTA ── */
.apply-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.apply-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 50% 50%, rgba(111,224,0,.15), transparent 65%);
}
.apply-cta .wrap { position: relative; z-index: 2; }
.apply-cta h2 {
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.0;
  margin: 0 auto 20px;
  max-width: 16ch;
}
.apply-cta h2 em {
  font-style: normal;
  color: #6FE000;
  text-shadow: 0 0 44px rgba(111,224,0,.4);
}
.apply-cta p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: #C8C8C8;
  max-width: 46ch;
  margin: 0 auto 36px;
}
.apply-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1060px) {
  .vac-grid { grid-template-columns: 1fr 300px; gap: 48px; }
}
@media (max-width: 900px) {
  .vac-grid { grid-template-columns: 1fr; gap: 36px; }
  .sidebar-card { position: static; }
  .vac-sidebar { order: -1; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .vac-benefits-grid { grid-template-columns: 1fr; }
  .vac-hero-deco { display: none; }
}
@media (max-width: 600px) {
  .resp-list li { grid-template-columns: 38px 1fr; gap: 14px; }
  .vac-hero h1 { font-size: clamp(40px, 12vw, 68px); }
  .related-grid { grid-template-columns: 1fr; }
}
