/* Team/Karriere: the job choice leads the section, ahead of the application links. */
body[data-page="team"] .jobs-swipe-section > .job-carousel-controls {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: clamp(8px, 1.5vw, 14px);
  width: min(100%, 860px);
  margin: 0 auto clamp(16px, 2.5vw, 24px);
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 5px;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(62, 83, 61, 0.16);
  border-radius: 21px;
  background: #e8ede3;
  box-shadow: inset 0 2px 7px rgba(37, 57, 37, 0.045);
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dot {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  min-height: 54px;
  height: auto;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: #344938;
  font-size: clamp(0.78rem, 1.4vw, 0.96rem);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dot span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.66);
  color: #284b31;
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dot.is-active {
  border-color: #284b38;
  background: #284b38;
  color: #fff;
  box-shadow: 0 6px 14px rgba(32, 66, 45, 0.2);
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-control {
  display: grid;
  place-items: center;
  position: static;
  inset: auto;
  transform: none;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 1px solid rgba(51, 79, 55, 0.25);
  border-radius: 50%;
  background: #fbfcf9;
  box-shadow: 0 4px 12px rgba(36, 55, 37, 0.07);
  color: #315840;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-control:hover {
  transform: none;
  border-color: #427253;
  background: #edf4eb;
  box-shadow: 0 6px 16px rgba(36, 55, 37, 0.12);
}

body[data-page="team"] .jobs-swipe-section > .job-carousel-controls :is(.swipe-dot, .swipe-control):focus-visible,
body[data-page="team"] .jobs-swipe-topbar :is(.jobs-apply-pill, .jobs-whatsapp-pill):focus-visible {
  outline: 3px solid #376d48;
  outline-offset: 3px;
}

body[data-page="team"] .jobs-swipe-topbar {
  width: min(100%, 610px);
  gap: 10px;
  margin: 0 auto clamp(18px, 2.6vw, 28px);
}

body[data-page="team"] .jobs-swipe-topbar :is(.jobs-apply-pill, .jobs-whatsapp-pill) {
  min-height: 52px;
  padding: 8px 14px 8px 9px;
  gap: 10px;
  border-radius: 17px;
  box-shadow: 0 5px 14px rgba(31, 48, 36, 0.1);
  font-weight: 700;
}

body[data-page="team"] .jobs-swipe-topbar .jobs-apply-pill {
  background: #504678;
}

body[data-page="team"] .jobs-swipe-topbar .jobs-whatsapp-pill {
  background: #3e7048;
}

body[data-page="team"] .jobs-swipe-topbar .job-pill-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

body[data-page="team"] .jobs-swipe-topbar .job-pill-copy > span {
  overflow-wrap: anywhere;
  font-size: 0.85rem;
  line-height: 1.2;
}

body[data-page="team"] .jobs-swipe-topbar .job-pill-copy small {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

body[data-page="team"] .jobs-swipe-viewport {
  margin-top: 0;
}

body[data-page="team"] .page-hero .image-panel {
  min-height: 0;
  height: auto;
  align-self: start;
}

body[data-page="team"] .page-hero .image-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body[data-page="team"] .jobs-swipe-deck {
  align-items: flex-start;
}

body[data-page="team"] .job-card {
  border-radius: 27px;
  background: #f8f8f3;
  box-shadow: 0 16px 35px rgba(35, 49, 38, 0.11);
}

body[data-page="team"] .job-card .job-panel {
  border-color: rgba(42, 56, 39, 0.08);
  background: rgba(255, 255, 255, 0.52);
}

body[data-page="team"] .job-card-inner {
  display: grid;
  gap: 12px;
}

body[data-page="team"] .job-card-inner > :is(.job-highlight-bar, .job-grid, .job-panels, .job-skill-footer) {
  margin-top: 0;
}

body[data-page="team"] :is(.job-grid, .job-panels) {
  align-items: start;
}

body[data-page="team"] details.job-panel {
  height: auto;
  min-height: 0;
}

body[data-page="team"] details.job-panel > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
}

body[data-page="team"] details.job-panel > summary::-webkit-details-marker {
  display: none;
}

body[data-page="team"] details.job-panel > summary h3 {
  min-width: 0;
  margin: 0;
}

body[data-page="team"] details.job-panel > summary::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

body[data-page="team"] details.job-panel[open] > summary::after {
  transform: rotate(225deg);
}

body[data-page="team"] details.job-panel > summary:focus-visible {
  outline: 3px solid #376d48;
  outline-offset: 3px;
  border-radius: 6px;
}

body[data-page="team"] details.job-panel[open] > ul {
  margin-top: 8px;
}

body[data-page="team"] details.job-skill-footer > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

body[data-page="team"] details.job-skill-footer > summary::-webkit-details-marker {
  display: none;
}

body[data-page="team"] details.job-skill-footer > summary strong {
  min-width: 0;
  margin: 0;
}

body[data-page="team"] details.job-skill-footer > summary::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

body[data-page="team"] details.job-skill-footer[open] > summary::after {
  transform: rotate(225deg);
}

body[data-page="team"] details.job-skill-footer > summary:focus-visible {
  outline: 3px solid #376d48;
  outline-offset: 3px;
  border-radius: 6px;
}

body[data-page="team"] .career-about-disclosure {
  border: 0;
  background: transparent;
}

body[data-page="team"] .career-about-summary {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="team"] details.job-panel > summary::after,
  body[data-page="team"] details.job-skill-footer > summary::after {
    transition: none;
  }
}

@media (max-width: 599px) {
  body[data-page="team"] .contact-dock {
    display: none;
  }

  body[data-page="team"] .career-about {
    padding-block: 12px 30px;
  }

  body[data-page="team"] .site-main > .career-about::before {
    display: none;
  }

  body[data-page="team"] .career-about-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 15px;
    border: 1px solid rgba(55, 82, 60, 0.2);
    border-radius: 14px;
    background: #f5f8f2;
    color: #2d4e3a;
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
  }

  body[data-page="team"] .career-about-summary::-webkit-details-marker {
    display: none;
  }

  body[data-page="team"] .career-about-summary::after {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-inline-start: auto;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 180ms ease;
  }

  body[data-page="team"] .career-about-disclosure[open] > .career-about-summary::after {
    transform: rotate(225deg);
  }

  body[data-page="team"] .career-about-summary:focus-visible {
    outline: 3px solid #376d48;
    outline-offset: 3px;
  }

  body[data-page="team"] .career-about-disclosure[open] > .career-about-summary {
    margin-bottom: 14px;
  }

  body[data-page="team"] .page-hero {
    padding-bottom: 22px;
  }

  body[data-page="team"] .page-hero .hero-grid {
    gap: 17px;
  }

  body[data-page="team"] .page-hero .eyebrow {
    margin-bottom: 10px;
  }

  body[data-page="team"] .page-hero .page-title {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.04;
    hyphens: none;
  }

  body[data-page="team"] .page-hero .page-lead {
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  body[data-page="team"] .page-hero .hero-chip-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  body[data-page="team"] .page-hero .hero-chip {
    width: auto;
    min-width: 0;
    min-height: 38px;
    padding: 6px 7px;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.28;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body[data-page="team"] .page-hero .notice-panel {
    margin-top: 15px;
    padding: 14px 16px;
    border-radius: 15px;
  }

  body[data-page="team"] .page-hero .notice-panel strong {
    font-size: 0.92rem;
  }

  body[data-page="team"] .page-hero .notice-panel p {
    margin-top: 5px;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  body[data-page="team"] .page-hero .image-panel {
    border-radius: 16px;
  }

  body[data-page="team"] .job-card {
    padding: 16px;
  }

  body[data-page="team"] .job-card-inner {
    gap: 11px;
  }

  body[data-page="team"] .job-card-head .job-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }

  body[data-page="team"] .job-card-head h2 {
    margin-top: 6px;
    font-size: clamp(1.5rem, 6.2vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body[data-page="team"] .job-card-head > p:not(.job-kicker) {
    margin-top: 7px;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  body[data-page="team"] .job-tag-row {
    gap: 6px;
    margin-top: 11px;
  }

  body[data-page="team"] .job-tag-row span {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 0.73rem;
    line-height: 1.25;
    overflow-wrap: normal;
    hyphens: none;
  }

  body[data-page="team"] .job-highlight-bar {
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.83rem;
    line-height: 1.4;
  }

  body[data-page="team"] :is(.job-grid, .job-panels) {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 11px;
  }

  body[data-page="team"] details.job-panel {
    padding: 7px 14px;
    border-radius: 13px;
  }

  body[data-page="team"] details.job-panel > summary h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  body[data-page="team"] details.job-panel > ul {
    gap: 6px;
    margin-bottom: 7px;
  }

  body[data-page="team"] details.job-panel li {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  body[data-page="team"] .job-skill-footer {
    margin-top: 11px;
    padding: 13px 14px;
    border-radius: 13px;
  }

  body[data-page="team"] details.job-skill-footer {
    padding: 7px 14px;
  }

  body[data-page="team"] details.job-skill-footer > summary {
    min-height: 48px;
  }

  body[data-page="team"] .job-skill-footer strong {
    font-size: 1rem;
  }

  body[data-page="team"] .job-skill-footer p {
    margin-top: 6px;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  body[data-page="team"] .job-skill-tags {
    gap: 6px;
    margin-top: 9px;
  }

  body[data-page="team"] .job-skill-tags span {
    min-height: 27px;
    padding-inline: 9px;
    font-size: 0.73rem;
  }
}

@media (max-width: 520px) {
  body[data-page="team"] .jobs-swipe-section > .job-carousel-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dots {
    gap: 3px;
    padding: 3px;
    border-radius: 16px;
  }

  body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-dot {
    min-height: 52px;
    padding: 6px 4px;
    border-radius: 12px;
    font-size: 0.8rem;
  }

  body[data-page="team"] .jobs-swipe-section > .job-carousel-controls .swipe-control {
    display: none;
  }

  body[data-page="team"] .jobs-swipe-topbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-page="team"] .jobs-swipe-topbar :is(.jobs-apply-pill, .jobs-whatsapp-pill) {
    min-width: 0;
    min-height: 58px;
    padding: 8px;
    gap: 6px;
    border-radius: 14px;
  }

  body[data-page="team"] .jobs-swipe-topbar .job-pill-icon {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }

  body[data-page="team"] .jobs-swipe-topbar .job-pill-copy > span {
    font-size: 0.74rem;
  }

  body[data-page="team"] .job-card {
    border-radius: 20px;
  }
}

@media (max-width: 359px) {
  body[data-page="team"] .page-hero .hero-chip:nth-child(2) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="team"] .jobs-swipe-section > .job-carousel-controls :is(.swipe-dot, .swipe-control),
  body[data-page="team"] .career-about-summary::after {
    transition: none;
  }
}
