/*
 * COMPANY PAGES STYLES
 * Pages: wie-zijn-we, missie-kernwaarden-visie, ons-team, onze-vacatures, vacature-detail
 * 
 * BREAKPOINT SYSTEM:
 * Mobile:     0-1023px   (includes tablets)
 * Desktop-SM: 1024-1199px
 * Desktop-MD: 1200-1399px
 * Desktop-LG: 1400px+
 */

/* ============================================
   VARIABLES (inherit from prices.css pattern)
   ============================================ */
:root {
  --company-card-bg: #002345;
  --company-card-border: #05386B;
  --company-card-border-hover: rgba(0, 221, 141, 0.3);
  --company-text-primary: rgba(204, 229, 255, 0.95);
  --company-text-secondary: rgba(204, 229, 255, 0.95);
  --company-text-muted: rgba(204, 229, 255, 0.7);
  --company-accent: #00dd8d;
  --company-accent-glow: rgba(0, 221, 141, 0.2);
}

/* ============================================
   HERO SECTION (matches sales pages pattern)
   ============================================ */
.company-hero {
  padding-top: 200px;
  margin-bottom: 40px;
  text-align: left;
}

/* Hero wrapper for two-column layout (like pricing page) */
.company-hero-wrapper {
  display: flex;
  gap: 60px;
  align-items: stretch;
  padding-top: 200px;
  margin-bottom: 80px;
  min-height: 320px;
}

.company-hero-wrapper .company-hero__left {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
}

.company-hero-wrapper .company-hero__left h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--company-text-primary);
}

.company-hero-wrapper .company-hero__left .hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--company-text-secondary);
  max-width: 560px;
}

.company-hero-wrapper .company-hero__right {
  flex: 1;
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 20px;
  padding: 32px;
}

.company-hero__checklist-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--company-text-primary);
  margin: 0 0 24px 0;
}

.company-hero__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company-hero__checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.company-hero__checklist svg {
  flex-shrink: 0;
}

.company-hero__checklist li span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-primary);
}

@media (max-width: 1023px) {
  .company-hero-wrapper {
    flex-direction: column;
    gap: 40px;
    padding-top: 32px;
    margin-bottom: 60px;
  }

  .company-hero-wrapper .company-hero__left {
    flex: 1;
  }

  .company-hero-wrapper .company-hero__left h1 {
    font-size: 36px;
  }

  .company-hero-wrapper .company-hero__left .hero-description {
    font-size: 16px;
  }

  .company-hero-wrapper .company-hero__right {
    width: 100%;
  }
}

.company-hero h1 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--company-text-primary);
}

.company-hero .hero-description {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-secondary);
  max-width: 800px;
}

.company-hero .hero-description a {
  color: var(--company-accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.company-hero .hero-description a:hover {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .company-hero {
    padding-top: 32px;
    margin-bottom: 24px;
  }

  .company-hero h1 {
    font-size: 36px;
  }

  .company-hero .hero-description {
    font-size: 16px;
  }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.company-section {
  margin-bottom: 80px;
}

.company-section__title {
  font-family: "Source Sans 3", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 1px;
  color: var(--company-text-primary);
  margin: 0 0 24px 0;
}

.company-section__text {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-secondary);
  margin: 0 0 20px 0;
  max-width: 800px;
}

.company-section__text:last-child {
  margin-bottom: 0;
}

.company-section__text a {
  color: var(--company-accent);
  text-decoration: none;
  font-weight: 500;
}

.company-section__text a:hover {
  text-decoration: underline;
}

/* Tight spacing for section headers before card grids */
.company-section--tight {
  margin-bottom: 24px;
}

@media (max-width: 1023px) {
  .company-section {
    margin-bottom: 60px;
  }

  .company-section--tight {
    margin-bottom: 20px;
  }

  .company-section__title {
    font-size: 26px;
  }

  .company-section__text {
    font-size: 16px;
  }
}

/* ============================================
   TWO COLUMN LAYOUT (text + image)
   ============================================ */
.company-split {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.company-split--reverse {
  flex-direction: row-reverse;
}

.company-split__content {
  flex: 1;
}

.company-split__content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--company-text-primary);
  margin: 0 0 20px 0;
}

.company-split__content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--company-text-secondary);
  margin: 0 0 16px 0;
}

.company-split__content p:last-child {
  margin-bottom: 0;
}

.company-split__content a {
  color: var(--company-accent);
  text-decoration: none;
  font-weight: 500;
}

.company-split__content a:hover {
  text-decoration: underline;
}

.company-split__image {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-split__image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .company-split {
    flex-direction: column;
    gap: 40px;
  }

  .company-split--reverse {
    flex-direction: column;
  }

  .company-split__image {
    flex: none;
    width: 100%;
    max-width: 280px;
    order: -1;
  }

  .company-split__content h2 {
    font-size: 24px;
  }

  .company-split__content p {
    font-size: 16px;
  }
}

/* ============================================
   CARD GRID (for mission values, team features)
   ============================================ */
.company-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.company-card {
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .company-card:hover {
    border-color: var(--company-card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px var(--company-accent-glow);
  }
}

.company-card__title {
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--company-text-primary);
  margin: 0 0 12px 0;
}

.company-card__text {
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-secondary);
  margin: 0;
}

@media (max-width: 1199px) {
  .company-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .company-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-card {
    padding: 24px;
  }
}

/* ============================================
   SUCCESS FACTORS CAROUSEL
   ============================================ */
.company-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.company-carousel__item {
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .company-carousel__item:hover {
    border-color: var(--company-card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px var(--company-accent-glow);
  }
}

.company-carousel__item h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-primary);
  margin: 0 0 12px 0;
}

.company-carousel__item p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1px;
  color: var(--company-text-secondary);
  margin: 0;
}

@media (max-width: 1199px) {
  .company-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .company-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   TEAM PAGE - FLOATING PHOTOS
   ============================================ */
/* ============================================
   FLOATING PHOTOS (scattered around page)
   ============================================ */
.company-floating-photos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.company-floating-photo {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.company-floating-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transform: rotate(var(--rotation, 0deg));
}

/* Position each photo playfully scattered */
.company-floating-photo--1 {
  --rotation: -8deg;
  width: 180px;
  top: 180px;
  left: 3%;
}

.company-floating-photo--2 {
  --rotation: 5deg;
  width: 160px;
  top: 320px;
  left: 8%;
}

.company-floating-photo--3 {
  --rotation: -4deg;
  width: 200px;
  top: 580px;
  right: 4%;
}

.company-floating-photo--4 {
  --rotation: 7deg;
  width: 170px;
  top: 850px;
  left: 2%;
}

.company-floating-photo--5 {
  --rotation: -6deg;
  width: 190px;
  top: 1100px;
  right: 6%;
}

.company-floating-photo--6 {
  --rotation: 3deg;
  width: 160px;
  top: 1350px;
  left: 5%;
}

/* Hide floating photos on mobile - they overlap content */
@media (max-width: 1200px) {
  .company-floating-photos {
    display: none;
  }
}

/* Old centered row style - kept for compatibility */
.company-team-photos {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 200px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.company-team-photos img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--company-card-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.company-team-photos img:hover {
  transform: scale(1.1);
  border-color: var(--company-accent);
}

@media (max-width: 767px) {
  .company-team-photos img {
    width: 80px;
    height: 80px;
  }
}

/* When photos come before hero, hero doesn't need padding */
.company-team-photos + .contact-form-section .company-hero {
  padding-top: 0;
}

@media (max-width: 1023px) {
  .company-team-photos {
    padding-top: 32px;
  }
}

/* ============================================
   TEAM FEATURES GRID
   ============================================ */
.company-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.company-feature {
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.company-feature__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(0, 221, 141, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--company-accent);
  font-weight: 700;
  font-size: 14px;
}

.company-feature__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--company-text-primary);
  margin: 0;
}

@media (max-width: 767px) {
  .company-features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   JOBS GRID
   ============================================ */
.company-jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.company-job {
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .company-job:hover {
    border-color: var(--company-card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
}

.company-job__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--company-text-primary);
  margin: 0 0 12px 0;
}

.company-job__description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--company-text-secondary);
  margin: 0 0 20px 0;
  flex: 1;
}

.company-job__link {
  color: var(--company-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.company-job__link:hover {
  gap: 10px;
}

.company-job__link::after {
  content: "→";
}

@media (max-width: 767px) {
  .company-jobs {
    grid-template-columns: 1fr;
  }

  .company-job {
    padding: 24px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.company-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 80px;
}

.company-cta__block {
  flex: 1;
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 16px;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.company-cta__block .company-cta__btn,
.company-cta__block .company-cta__buttons {
  margin-top: auto;
}

.company-cta__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--company-text-primary);
  margin: 0 0 24px 0;
}

.company-cta__text a {
  color: var(--company-accent);
  text-decoration: underline;
}

.company-cta__text a:hover {
  color: #FFFFFF;
}

.company-cta__btn {
  display: inline-flex;
  height: 44px;
  padding: 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.company-cta__btn--primary {
  background: var(--company-accent);
  color: rgba(5, 56, 107, 0.95);
}

.company-cta__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.company-cta__btn--secondary {
  background: #2A5580;
  color: var(--company-text-primary);
}

.company-cta__btn--secondary:hover {
  background: #3A6590;
}

.company-cta__title {
  font-family: "Source Sans 3", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--company-text-primary);
  margin: 0 0 16px 0;
}

.company-cta__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.company-cta__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.company-cta__list li {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-primary);
  padding: 8px 0;
  padding-left: 32px;
  position: relative;
}

.company-cta__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--company-accent);
  font-weight: 700;
}

@media (max-width: 1023px) {
  .company-cta {
    flex-direction: column;
  }

  .company-cta__block {
    padding: 28px;
  }
}

/* ============================================
   VACATURE DETAIL PAGE
   ============================================ */
.vacature-hero {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 200px;
}

.vacature-hero__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--company-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.vacature-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--company-text-primary);
  margin: 0 0 24px 0;
}

.vacature-hero .hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--company-text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.vacature-hero .hero-description.larger {
  font-size: 22px;
  color: var(--company-text-primary);
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .vacature-hero {
    padding-top: 32px;
    margin-bottom: 24px;
  }

  .vacature-hero h1 {
    font-size: 32px;
  }

  .vacature-hero .hero-description {
    font-size: 16px;
  }

  .vacature-hero .hero-description.larger {
    font-size: 18px;
  }
}

/* ============================================
   VACATURE ABOUT SECTION (image + overlay)
   ============================================ */
.vacature-about {
  position: relative;
  margin-bottom: 80px;
  border-radius: 16px;
  overflow: hidden;
}

.vacature-about__image {
  width: 100%;
  height: auto;
  display: block;
}

.vacature-about__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent 40%, rgba(0, 28, 56, 0.95) 60%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px;
}

.vacature-about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 50%;
}

.vacature-about__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 35, 69, 0.6);
  border-radius: 12px;
  padding: 16px 20px;
}

.vacature-about__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(0, 221, 141, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--company-accent);
  font-weight: 700;
  font-size: 12px;
}

.vacature-about__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--company-text-primary);
  margin: 0;
}

@media (max-width: 1023px) {
  .vacature-about__overlay {
    position: relative;
    background: var(--company-card-bg);
    padding: 24px;
    justify-content: center;
  }

  .vacature-about__list {
    max-width: 100%;
  }

  .vacature-about__image {
    display: none;
  }
}

/* ============================================
   VACATURE TIMELINE
   ============================================ */
.vacature-timeline {
  position: relative;
  padding: 80px 0;
  margin-bottom: 80px;
}

.vacature-timeline::before {
  content: "";
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--company-accent);
}

.vacature-timeline__items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.vacature-timeline__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.vacature-timeline__card {
  background: var(--company-card-bg);
  border: 1px solid var(--company-accent);
  border-radius: 12px;
  padding: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--company-text-secondary);
  max-width: 220px;
  text-align: left;
}

.vacature-timeline__node {
  width: 16px;
  height: 16px;
  border: 2px solid var(--company-accent);
  border-radius: 50%;
  background: #002B4E;
  position: relative;
  z-index: 2;
}

.vacature-timeline__node::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: var(--company-accent);
}

@media (max-width: 1023px) {
  .vacature-timeline {
    padding: 40px 0;
  }

  .vacature-timeline::before {
    display: none;
  }

  .vacature-timeline__items {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .vacature-timeline__item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .vacature-timeline__card {
    max-width: none;
    flex: 1;
  }

  .vacature-timeline__node {
    order: -1;
  }

  .vacature-timeline__node::before {
    display: none;
  }
}

/* ============================================
   VACATURE SKILLS SECTION
   ============================================ */
.vacature-skills {
  margin-bottom: 80px;
}

.vacature-skills__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--company-text-primary);
  text-align: center;
  margin: 0 0 40px 0;
}

.vacature-skills__container {
  display: flex;
  gap: 0;
}

.vacature-skills__tabs {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vacature-skills__tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 8px;
  color: var(--company-text-primary);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vacature-skills__tab:hover,
.vacature-skills__tab.active {
  border-color: var(--company-accent);
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: -1px;
  position: relative;
  z-index: 2;
}

.vacature-skills__tab span {
  color: var(--company-accent);
  font-weight: 700;
}

.vacature-skills__content {
  flex: 1;
  background: var(--company-card-bg);
  border: 1px solid var(--company-accent);
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding: 32px;
}

.vacature-skills__pane {
  display: none;
  font-size: 16px;
  line-height: 1.7;
  color: var(--company-text-secondary);
}

.vacature-skills__pane.active {
  display: block;
}

@media (max-width: 1023px) {
  .vacature-skills__container {
    flex-direction: column;
    gap: 16px;
  }

  .vacature-skills__tabs {
    flex: none;
  }

  .vacature-skills__tab {
    border-radius: 8px;
    margin-right: 0;
  }

  .vacature-skills__tab:hover,
  .vacature-skills__tab.active {
    border-right: 1px solid var(--company-accent);
    border-radius: 8px;
    margin-right: 0;
  }

  .vacature-skills__content {
    border-left: 1px solid var(--company-accent);
    border-radius: 12px;
  }
}

/* ============================================
   VACATURE SOFT SKILLS
   ============================================ */
.vacature-soft-skills {
  margin-bottom: 80px;
}

.vacature-soft-skills__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--company-text-primary);
  text-align: center;
  margin: 0 0 40px 0;
}

.vacature-soft-skills__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.vacature-soft-skills__card {
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--company-text-secondary);
}

@media (max-width: 767px) {
  .vacature-soft-skills__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   VACATURE AVAILABILITY
   ============================================ */
.vacature-availability {
  text-align: center;
  margin-bottom: 80px;
}

.vacature-availability__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--company-text-primary);
  margin: 0 0 32px 0;
}

.vacature-availability__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.vacature-availability__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 16px;
  color: var(--company-text-primary);
}

.vacature-availability__item .icon {
  font-size: 18px;
}

/* ============================================
   VACATURE CTA
   ============================================ */
.vacature-cta {
  text-align: center;
  margin-bottom: 80px;
}

.vacature-cta__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--company-text-primary);
  margin: 0 0 16px 0;
}

.vacature-cta__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--company-text-secondary);
  margin: 0 0 28px 0;
}

/* ============================================
   FLOATING APPLY BUTTON
   ============================================ */
.vacature-floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

.vacature-floating-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--company-accent);
  color: rgba(5, 56, 107, 0.95);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 221, 141, 0.3);
  transition: all 0.2s ease;
}

.vacature-floating-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 221, 141, 0.4);
}

/* ============================================
   WIE ZIJN WE PAGE - SPECIFIC STYLES
   ============================================ */
.wie-zijn-we-page,
.ons-team-page {
  --wsw-box-padding: 40px;
  --wsw-section3-text-width: 750px;
  --wsw-rocket-gap: 850px;
  overflow-x: clip;
}

/* Hero section - narrower width */
.wsw-hero {
  max-width: 55%;
}

.wsw-hero .hero-description {
  margin-bottom: 16px;
}

/* Content boxes */
.wsw-box {
  position: relative;
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
  border-radius: 16px;
  padding: var(--wsw-box-padding);
  margin-bottom: 60px;
  max-width: 65%;
  margin-left: auto;
  margin-right: auto;
}

.wsw-box__title {
  font-family: "Source Sans 3", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--company-accent);
  margin: 0 0 16px 0;
}

.wsw-box__content p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--company-text-secondary);
  margin: 0 0 16px 0;
}

.wsw-box__content p:last-child {
  margin-bottom: 0;
}

.wsw-box__content a {
  color: var(--company-accent);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.wsw-box__content a:hover {
  color: #FFFFFF;
}

/* Wide content variant (no images, full width text) */
.wsw-box__content--wide {
  max-width: 100%;
}

/* Box with image on right side (Section 2)
   Positioned between section 1 (left-aligned) and section 3 (right-aligned text) */
.wsw-box--with-image-right {
  --wsw-section2-offset: 15%;
  display: flex;
  align-items: center;
  gap: var(--wsw-box-padding);
  margin-left: var(--wsw-section2-offset);
  margin-right: auto;
}

.wsw-box--with-image-right .wsw-box__content {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 200px);
}

.wsw-box__image--right {
  flex: 0 0 auto;
  margin: -120px -150px -120px 0;
}

.wsw-box__image--right img {
  width: 336px;
  height: auto;
  display: block;
  transform: scaleY(0.96);
}

/* Box with image on left side (Section 3) */
.wsw-box--with-image-left {
  display: flex;
  align-items: center;
  gap: var(--wsw-box-padding);
}

.wsw-box--with-image-left .wsw-box__content {
  flex: 1;
  min-width: 0;
}

.wsw-box__image--left {
  flex: 0 0 auto;
  margin: -120px -60px -120px 0;
  order: -1;
}

.wsw-box__image--left img {
  width: 380px;
  height: auto;
  display: block;
}

/* Dog rocket section - special positioning */
.wsw-box--align-right.wsw-box--with-image-left {
  display: block;
  margin-bottom: 300px;
}

.wsw-box--align-right.wsw-box--with-image-left .wsw-box__content {
  margin-left: auto;
  max-width: var(--wsw-section3-text-width);
}

.wsw-box__image--dog-rocket {
  position: absolute;
  left: calc(100% - var(--wsw-section3-text-width) - var(--wsw-rocket-gap));
  top: 50%;
  transform: translateY(-10%);
  margin: 0;
  pointer-events: none;
}

.wsw-box__image--dog-rocket img {
  width: 2700px;
  height: auto;
}

/* Medium-large desktops */
@media (min-width: 1200px) and (max-width: 1400px) {
  .wie-zijn-we-page,
  .ons-team-page {
    --wsw-rocket-gap: 800px;
  }

  .wsw-box--with-image-right {
    --wsw-section2-offset: 10%;
  }
}

/* Medium desktops */
@media (min-width: 1024px) and (max-width: 1199px) {
  .wie-zijn-we-page,
  .ons-team-page {
    --wsw-rocket-gap: 680px;
  }

  .wsw-box--with-image-right {
    --wsw-section2-offset: 5%;
  }
}

/* CTA section spacing */
.wsw-cta {
  margin-top: var(--wsw-box-padding);
  position: relative;
  z-index: 10;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
  .wie-zijn-we-page,
  .ons-team-page {
    --wsw-box-padding: var(--spacing-m);
  }

  .wsw-hero {
    max-width: 100%;
  }

  .wsw-box {
    margin-bottom: var(--spacing-l);
    max-width: 100%;
    padding: var(--spacing-m) var(--spacing-s);
  }

  .wsw-box__title {
    font-size: 20px;
  }

  /* Hide images on mobile */
  .wsw-box--with-image-right,
  .wsw-box--with-image-left {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .wsw-box__image--right,
  .wsw-box__image--left {
    display: none;
  }

  .wsw-box--align-right.wsw-box--with-image-left {
    margin-bottom: var(--spacing-l);
  }
  
  .wsw-box--align-right.wsw-box--with-image-left .wsw-box__content {
    max-width: 100%;
  }

  /* Hide photo collages on mobile */
  .team-photo-collage,
  .team-photo-single {
    display: none;
  }
  
  .wsw-box--with-photos {
    display: block;
  }
  
  /* CTA section mobile */
  .company-cta {
    flex-direction: column;
    gap: var(--spacing-m);
  }
  
  .company-cta__block {
    padding: var(--spacing-m) var(--spacing-s);
  }
}

/* ============================================
   ONS TEAM PAGE - PHOTO COLLAGE STYLES
   
   Photos are positioned outside the box, anchored to box edges.
   Inner edge of photos must NEVER overlap with text.
   
   Variables control sizing for responsive scaling:
   --team-photo-size: size of individual photos
   --team-photo-single-size: size of standalone photos
   --team-photo-gap: space between overlapping photos in collage
   --team-photo-offset: how far photos extend outside box
   ============================================ */
.ons-team-page {
  --team-photo-size: 200px;
  --team-photo-single-size: 260px;
  --team-photo-gap: 100px;
  --team-photo-offset: 40px;
}

/* Base photo styles */
.team-photo {
  position: absolute;
  background: transparent;
  padding: 0;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.team-photo img {
  width: var(--team-photo-size);
  height: var(--team-photo-size);
  object-fit: cover;
  display: block;
}

.team-photo:hover {
  z-index: 10 !important;
}

/* Box with photos on both sides */
.wsw-box--with-photos {
  display: block;
  position: relative;
  overflow: visible;
}

/* ----------------------------------------
   SINGLE PHOTOS
   Anchored to box edge, extend outward
   ---------------------------------------- */
.team-photo-single {
  position: absolute;
  top: 50%;
  z-index: 5;
  pointer-events: none;
}

.team-photo-single .team-photo {
  position: relative;
  pointer-events: auto;
}

.team-photo-single .team-photo img {
  width: var(--team-photo-single-size);
  height: var(--team-photo-single-size);
}

/* Left single: right edge of photo touches left edge of box */
.team-photo-single--left {
  right: 100%;
  margin-right: var(--team-photo-offset);
  transform: translateY(-50%);
}

.team-photo--single-left {
  transform: rotate(-6deg);
}

/* Right single: left edge of photo touches right edge of box */
.team-photo-single--right {
  left: 100%;
  margin-left: var(--team-photo-offset);
  transform: translateY(-50%);
}

.team-photo--single-right {
  transform: rotate(5deg);
}

/* ----------------------------------------
   COLLAGES (2 photos overlapping)
   Anchored to box edge, extend outward
   Container holds both photos in relative positions
   ---------------------------------------- */
.team-photo-collage {
  position: absolute;
  top: 50%;
  z-index: 5;
  pointer-events: none;
  /* Width = photo + horizontal overlap space */
  width: calc(var(--team-photo-size) + var(--team-photo-gap));
  /* Height = photo + vertical overlap */
  height: calc(var(--team-photo-size) + var(--team-photo-gap) + 20px);
}

.team-photo-collage .team-photo {
  pointer-events: auto;
}

/* Right collage: left edge touches right edge of box */
.team-photo-collage--right {
  left: 100%;
  margin-left: var(--team-photo-offset);
  transform: translateY(-50%);
}

.team-photo-collage--right .team-photo--1 {
  top: 0;
  left: 0;
  transform: rotate(-7deg);
  z-index: 2;
}

.team-photo-collage--right .team-photo--2 {
  top: var(--team-photo-gap);
  left: calc(var(--team-photo-gap) - 20px);
  transform: rotate(5deg);
  z-index: 1;
}

/* Left collage: right edge touches left edge of box */
.team-photo-collage--left {
  right: 100%;
  margin-right: var(--team-photo-offset);
  transform: translateY(-50%);
}

.team-photo-collage--left .team-photo--4 {
  top: 0;
  right: 0;
  left: auto;
  transform: rotate(6deg);
  z-index: 2;
}

.team-photo-collage--left .team-photo--5 {
  top: var(--team-photo-gap);
  left: 0;
  transform: rotate(-5deg);
  z-index: 1;
}

/* ----------------------------------------
   RESPONSIVE: Medium-large desktops
   ---------------------------------------- */
@media (min-width: 1200px) and (max-width: 1400px) {
  .ons-team-page {
    --team-photo-size: 180px;
    --team-photo-single-size: 230px;
    --team-photo-gap: 80px;
    --team-photo-offset: 30px;
  }
}

/* ----------------------------------------
   RESPONSIVE: Medium desktops
   ---------------------------------------- */
@media (min-width: 1024px) and (max-width: 1199px) {
  .ons-team-page {
    --team-photo-size: 150px;
    --team-photo-single-size: 190px;
    --team-photo-gap: 60px;
    --team-photo-offset: 20px;
  }
}

/* ============================================
   TEAM GRID - Photo grid for ons-team page
   ============================================ */
.team-grid {
  margin-bottom: 60px;
}

.team-grid__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.team-grid__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--company-card-bg);
  border: 1px solid var(--company-card-border);
}

.team-grid__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
  .team-grid__photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile: 2 columns, smaller */
@media (max-width: 480px) {
  .team-grid__photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .team-grid__photo {
    border-radius: 8px;
  }
}

/* ============================================
   VACATURE LIST - Job listings on ons-team
   ============================================ */
.vacature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.vacature-item {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--company-card-border);
}

.vacature-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.vacature-item__title {
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 12px 0;
}

.vacature-item__desc {
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px 0;
}

.vacature-item__link {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vacature-item__link:hover {
  color: #FFFFFF;
}

/* ============================================
   COMPANY CTA - Full width variant
   ============================================ */
.company-cta__block--full {
  flex: 1 1 100%;
  text-align: center;
}
