/* Design Tokens */
:root {
  --ja-bg: #f8fafc;
  --ja-fg: #0f172a;
  --ja-muted: #475569;
  --ja-muted-foreground: #64748b;
  --ja-border: rgba(15, 23, 42, 0.1);
  --ja-panel: #ffffff;
  --ja-primary: #22c55e;
  --ja-primary-hover: #16a34a;
  --ja-accent: #0ea5e9;
  --ja-success: #16a34a;
  --ja-radius-md: 16px;
  --ja-radius-lg: 16px;
  --ja-hero-height: 420px;
  --ja-hero-content-offset: 108px;
  --ja-sidebar-width: 320px;
  --ja-layout-gap: 1.25rem;
  --ja-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --ja-shadow-hover: 0 18px 44px rgba(15, 23, 42, 0.12);
  --ja-focus: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Search-rekrytering: enforce main -> form stacking on all sub-desktop widths */
@media (max-width: 1280px) {
  .sr-page .sr-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "aside";
    gap: 24px;
  }

  .sr-page .sr-grid > .ja-jobdetail__main {
    grid-area: main;
    display: block;
    order: initial;
  }

  .sr-page .sr-grid > .sr-aside {
    grid-area: aside;
    display: block;
    order: initial;
    position: static;
    top: auto;
    margin-top: 0;
  }
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ja-fg);
  background: var(--ja-bg);
}

body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ja-hero-height);
  pointer-events: none;
}

body::before {
  z-index: 0;
  /* Senare: byt till background-image: url('/static/job_annons/hero.jpg'); + overlay */
  background:
    radial-gradient(1100px 360px at 16% 8%, rgba(34, 197, 94, 0.24), transparent 62%),
    radial-gradient(900px 380px at 88% 30%, rgba(59, 130, 246, 0.2), transparent 60%),
    radial-gradient(900px 320px at 48% 100%, rgba(15, 23, 42, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(3, 8, 24, 0.88) 0%, rgba(15, 23, 42, 0.62) 56%, rgba(30, 41, 59, 0.38) 100%);
}

body::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.64) 0%, rgba(2, 6, 23, 0.44) 50%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.34) 0%, rgba(2, 6, 23, 0.1) 40%, rgba(2, 6, 23, 0.3) 100%);
}

/* Hero is now rendered in-content via .ja-hero */
body::before,
body::after {
  display: none;
}

footer:not(.site-footer) {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ja-fg);
  padding: 1rem 2rem;
  backdrop-filter: blur(6px);
}

.ja-nav-wrap {
  position: relative;
  top: auto;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(0);
  transition: transform 0.2s ease;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
  border-bottom: 1px solid var(--ja-border);
}

body.nav-floating .ja-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.ja-nav-wrap.js-autohide-nav {
  opacity: 1;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.ja-nav-wrap.js-autohide-nav.is-nav-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.ja-nav-wrap.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.ja-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ja-nav-links-row {
  border-top: 1px solid rgba(26, 80, 44, 0.12);
  background: #5EAF6B1F;
}

.ja-nav-links-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.ja-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ja-nav-links a {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #1D2530;
  text-decoration: none;
}

.ja-nav-links a:hover,
.ja-nav-links a:focus-visible {
  color: #1A502C;
}

.ja-nav-search {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(29, 37, 48, 0.14);
  background: #fff;
}

.ja-nav-search__icon {
  width: 14px;
  height: 14px;
  border: 2px solid #64748b;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
}

.ja-nav-search__icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #64748b;
  border-radius: 2px;
  right: -5px;
  bottom: -2px;
  transform: rotate(40deg);
}

.ja-nav__brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--ja-fg);
  text-decoration: none;
}

.ja-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 9999px;
  border: 1px solid #49b170;
  background: #49b170;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.ja-nav__cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(210, 255, 220, 0.72) 0%,
    rgba(188, 245, 201, 0.46) 38%,
    rgba(188, 245, 201, 0.14) 72%,
    rgba(188, 245, 201, 0) 100%
  );
  transform: translateY(-50%);
  filter: blur(0.5px);
  box-shadow:
    0 0 18px rgba(188, 245, 201, 0.34),
    0 0 34px rgba(188, 245, 201, 0.24);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  animation: ja-nav-cta-streak 6.8s linear infinite;
}

.ja-nav__cta:hover {
  background: #3f9a61;
  border-color: #3f9a61;
}

.ja-nav__cta:focus-visible {
  outline: none;
  box-shadow: var(--ja-focus);
}

@keyframes ja-nav-cta-streak {
  0% {
    left: -18px;
    opacity: 0;
  }
  12% {
    opacity: 0.58;
  }
  82% {
    opacity: 0.56;
  }
  100% {
    left: calc(100% + 18px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ja-nav__cta::before {
    animation: none;
  }
}

.ja-nav__cta,
.ja-nav__cta:hover,
.ja-nav__cta:visited,
.ja-nav__cta:active,
.ja-nav__cta:focus-visible {
  color: #fff !important;
}

/* Hide base_2026 nav/header wrapper on job_annons pages only */
body:has(.ja-nav-wrap) > .page > input.menu-toggle,
body:has(.ja-nav-wrap) > .page > nav.navbar,
body:has(.ja-nav-wrap) > .page > .menu-overlay {
  display: none !important;
}

.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--ja-sidebar-width) 1fr;
  gap: var(--ja-layout-gap);
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto 2.25rem;
  min-height: calc(100vh - 200px);
}

body:has(.ja-nav-wrap) main.container {
  padding-top: 0;
  margin-top: 0;
}

body.page-home:has(.ja-nav-wrap) {
  padding-top: 0;
  margin-top: 0;
}

body:has(.ja-nav-wrap) .page {
  padding-top: 0;
}

body:has(.ja-nav-wrap) .layout {
  margin-top: 0;
}

body:has(.ja-nav-wrap) .layout > aside {
  margin-top: 0;
}

body:has(.ja-nav-wrap) .layout main {
  padding-top: 0;
}

.layout > aside {
  background: var(--ja-panel);
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius-lg);
  padding: 1.25rem;
  box-shadow: var(--ja-shadow-soft);
  margin-top: calc(var(--ja-hero-height) + 0.85rem);
  align-self: start;
}

@media (min-width: 1025px) {
  .layout > aside {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
  }

  .layout > aside form {
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: none;
  }

  .layout > aside form::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

.layout main {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding-top: calc(var(--ja-hero-height) + 0.5rem);
  padding-right: 56px;
  padding-left: 56px;
  padding-bottom: 0;
  color: var(--ja-fg);
  background: transparent;
}

.layout main > * {
  position: relative;
  z-index: 2;
}

.layout main > h1,
.layout main > h2 {
  position: absolute;
  top: calc(var(--ja-hero-content-offset) - 18px);
  left: 50%;
  margin: 0;
  width: min(760px, calc(100vw - 3rem));
  text-align: center;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 8px 24px rgba(2, 6, 23, 0.65), 0 2px 8px rgba(2, 6, 23, 0.55);
  transform: translateX(-50%) translateX(calc((var(--ja-sidebar-width) + var(--ja-layout-gap)) / -2));
}

.layout main > form {
  position: absolute;
  top: calc(var(--ja-hero-content-offset) + 70px);
  left: 50%;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  width: min(760px, calc(100vw - 3rem));
  max-width: none;
  margin: 0;
  transform: translateX(-50%) translateX(calc((var(--ja-sidebar-width) + var(--ja-layout-gap)) / -2));
}

.layout main > form input[type="text"] {
  flex: 1;
  min-width: 220px;
  height: 56px;
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius-md);
  padding: 0 0.9rem 0 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m21 21-4.35-4.35m1.6-5.4a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: 16px center;
  background-color: #fff;
  color: var(--ja-fg);
  box-shadow: var(--ja-shadow-soft);
}

.layout main > form input[type="text"]:focus {
  outline: none;
  border-color: var(--ja-primary);
  box-shadow: var(--ja-focus);
}

.layout main > form button,
.layout main > button {
  height: 56px;
  padding: 0 1.2rem;
  border-radius: var(--ja-radius-md);
  background: var(--ja-primary);
  color: #fff;
  font-weight: 600;
}

.layout main > form button:hover,
.layout main > button:hover {
  background: var(--ja-primary-hover);
}

.layout main > p:first-of-type {
  position: absolute;
  top: calc(var(--ja-hero-content-offset) + 142px);
  left: 50%;
  margin: 0;
  width: min(760px, calc(100vw - 3rem));
  text-align: center;
  color: rgba(248, 250, 252, 0.92);
  text-shadow: 0 2px 10px rgba(2, 6, 23, 0.6);
  transform: translateX(-50%) translateX(calc((var(--ja-sidebar-width) + var(--ja-layout-gap)) / -2));
}

.layout main > form:first-of-type button[type="submit"] {
  display: none;
}

.ja-nav + .ja-hero-wrap {
  margin-top: 0;
}

.ja-hero-wrap {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 32px;
  padding: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.56)),
    image-set(
      url("../static/job_annons/hero-crowd.webp") type("image/webp"),
      url("../static/job_annons/hero-crowd.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ja-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  background: transparent;
  text-align: center;
}

.ja-hero h2 {
  margin: 0 0 1rem;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 6px 18px rgba(2, 6, 23, 0.55);
}

body.page-home .ja-hero-wrap .ja-hero h2 {
  font-size: 48px;
}

.ja-hero .ja-hero-subtitle {
  margin: 0 0 1.25rem;
  font-size: 18px;
  color: #ffffffcc;
}

.ja-hero form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  width: min(760px, 100%);
  margin: 0 auto;
}

.ja-hero form input[type="text"] {
  flex: 1;
  min-width: 220px;
  height: 56px;
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius-md);
  padding: 0 0.9rem 0 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m21 21-4.35-4.35m1.6-5.4a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: 16px center;
  background-color: #fff;
  color: var(--ja-fg);
  box-shadow: var(--ja-shadow-soft);
}

.ja-hero form input[type="text"]:focus {
  outline: none;
  border-color: var(--ja-primary);
  box-shadow: var(--ja-focus);
}

.ja-hero form button[type="submit"] {
  display: none;
}

.ja-hero .ja-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
}

.ja-hero .ja-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(2, 6, 23, 0.42);
}

.ja-hero .ja-hero-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ja-primary);
}

.ja-hero .ja-hero-stat__icon svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: 0.85;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.ja-hero .ja-hero-stat__text {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
  body:has(.ja-nav-wrap) main.container {
    padding-top: 0;
  }

  body:has(#ja-filter-toggle:checked) {
    overflow: hidden;
  }


  .ja-hero .ja-hero-stats {
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .ja-hero-wrap {
    height: 384px;
  }

  .ja-hero {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}

footer:not(.site-footer) {
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid var(--ja-border);
  color: var(--ja-muted);
}

.filter-group {
  margin: 0;
  padding: 0 0 1rem;
  border: 0;
}

.filter-group + .filter-group {
  padding-top: 1rem;
  border-top: 1px solid var(--ja-border);
}

.filter-group legend {
  font-weight: 600;
  color: var(--ja-fg);
  margin-bottom: 0.65rem;
  padding: 0;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
  color: var(--ja-muted);
}

.filter-group input[type="checkbox"] {
  accent-color: var(--ja-primary);
}

.job-card {
  background: var(--ja-panel);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.job-card:hover {
  border-color: rgba(100, 116, 139, 0.34);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.job-card h3 {
  margin: 0 0 0.6rem;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1f2937;
}

.job-card p {
  margin: 0 0 1rem;
  color: #627084;
  line-height: 1.55;
  font-size: 15px;
}

.ja-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--ja-muted-foreground);
  font-size: 14px;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.ja-meta-location,
.ja-meta-published {
  position: relative;
  padding-left: 30px;
  background: transparent;
  border: 0;
  color: #627084;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  margin-right: 0;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.ja-meta-location::before,
.ja-meta-published::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  opacity: 0.92;
}

.ja-meta-location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.ja-meta-published::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.job-card > p:last-of-type {
  display: inline-block;
  margin: 0;
  padding-right: 0;
  line-height: 1.55;
  font-size: 14px;
  color: #627084;
}

.job-card hr {
  margin: 1.05rem 0 1.1rem;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.job-meta {
  font-size: 0.85rem;
  color: var(--ja-muted-foreground);
}

.job-card > span {
  padding: 0.28rem 0.72rem;
  background-color: #ecfdf3;
  border: 1px solid #b7e7cb;
  color: #4f9e6f;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.ja-job-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #f8fafc;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.9rem;
  margin-bottom: 0.65rem;
}

button {
  appearance: none;
  border: 1px solid transparent;
  background: var(--ja-primary);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--ja-radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  background: var(--ja-primary-hover);
}

button:focus-visible {
  outline: none;
  box-shadow: var(--ja-focus);
}

.pagination {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pagination a,
.pagination .disabled,
.pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.7rem;
  border-radius: var(--ja-radius-md);
  border: 1px solid var(--ja-border);
  background: #fff;
  text-decoration: none;
  color: var(--ja-muted);
  font-size: 0.88rem;
}

.pagination a:hover {
  border-color: #cbd5e1;
  color: var(--ja-fg);
}

.pagination .current {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
  font-weight: 600;
}

.pagination .disabled {
  opacity: 0.55;
}

@media (max-width: 480px) {
  .pagination {
    gap: 0.3rem;
  }

  .pagination a,
  .pagination .disabled,
  .pagination .current {
    padding: 0.32rem 0.52rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

.layout main .job-card {
  margin-top: 1rem;
}

.layout main .job-card,
.layout main .pagination,
.layout main .pagination a,
.layout main .pagination .current,
.layout main .pagination .disabled {
  color: var(--ja-fg);
}

.job-card a {
  color: #47b374;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 0 12px;
  float: right;
  margin: 0 -8px 0 0;
  line-height: 1.2;
}

.job-card a:hover {
  color: #3f9f66;
}

.job-card a::after {
  content: "→";
  font-weight: 600;
}

.job-card::after {
  content: "";
  display: table;
  clear: both;
}

.ja-logo {
  height: 40px;
  vertical-align: middle;
}

.ja-header-link {
  text-decoration: none;
  color: inherit;
}

.ja-detail-layout {
  display: flex;
  gap: 1.25rem;
  width: min(1200px, calc(100% - 3rem));
  margin: 2rem auto 2.25rem;
}

.ja-detail-main {
  flex: 7;
  padding-right: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--ja-border);
  border-radius: var(--ja-radius-lg);
  padding: 1.5rem;
}

.ja-detail-main h1 {
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.ja-detail-main p {
  color: var(--ja-muted);
}

.ja-detail-sidebar {
  flex: 3;
  display: grid;
  gap: 0.9rem;
}

.ja-detail-sidebar aside {
  margin: 0;
}

/* FILTER ACCORDION */
.layout > aside form {
  display: grid;
  gap: 0;
}

aside .ja-filter-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

aside .ja-filter-section + .ja-filter-section {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

aside .ja-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ja-fg);
  cursor: pointer;
  list-style: none;
}

aside .ja-filter-summary::-webkit-details-marker {
  display: none;
}

aside .ja-filter-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.75px solid var(--ja-muted-foreground);
  border-bottom: 1.75px solid var(--ja-muted-foreground);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

aside .ja-filter-section[open] .ja-filter-summary::after {
  transform: rotate(225deg);
}

aside .ja-filter-content {
  padding: 0.1rem 0.1rem 0.95rem;
  display: grid;
  gap: 0.6rem;
  border-top: 0;
}

aside .ja-filter-content label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.15rem;
  width: 100%;
  padding: 0.2rem 0.15rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ja-muted);
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.18s ease;
}

aside .ja-filter-content input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 17px;
  border: 2px solid var(--ja-primary);
  border-radius: 4px;
  background: #fff;
  accent-color: var(--ja-primary);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

aside .ja-filter-content input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.14s ease;
}

aside .ja-filter-content input[type="checkbox"]:hover {
  border-color: var(--ja-primary-hover);
}

aside .ja-filter-content input[type="checkbox"]:checked {
  background: var(--ja-primary);
  border-color: var(--ja-primary-hover);
}

aside .ja-filter-content input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}

aside .ja-filter-content input[type="checkbox"]:focus-visible {
  border-color: var(--ja-primary-hover);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

aside .ja-filter-content p {
  margin: 0;
  color: var(--ja-muted-foreground);
  font-size: 0.9rem;
}

aside .ja-filter-content label:hover {
  background: rgba(15, 23, 42, 0.035);
}

.layout > aside {
  padding: 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.layout > aside > form > button[type="submit"] {
  width: 100%;
  min-height: 42px;
  margin-top: 0.9rem;
  border-radius: 12px;
  border: 1px solid #49b170;
  background: #fff;
  color: #1A502C;
  font-weight: 600;
}

.layout > aside > form > button[type="submit"]:hover {
  background: #49b170;
  border-color: #49b170;
  color: #fff;
}

.ja-filter-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.ja-mobile-filterbar,
.ja-filter-overlay,
.ja-filter-drawer-header {
  display: none;
}

@media (min-width: 1025px) {
  .layout > aside {
    position: sticky;
    top: 16px;
  }
}

@media (max-width: 1024px) {
  .ja-nav-links-row {
    display: none;
  }

  .ja-nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .ja-mobile-filterbar {
    display: flex;
    justify-content: flex-start;
    width: min(980px, calc(100% - 2rem));
    margin: 14px auto;
    position: relative;
    z-index: 45;
  }

  .ja-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    color: var(--ja-fg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  }

  .ja-filter-btn::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto 1.75rem;
  }

  .layout > aside {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
    overflow: visible;
    margin: 0 auto;
    display: none;
    border-radius: 16px;
  }

  #ja-filter-toggle:checked ~ .layout > aside {
    display: block;
  }

  .layout main {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
  }

  .layout main .job-card {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .ja-hero {
    padding: 64px 20px 40px;
  }

  .ja-hero h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  body.page-home .ja-hero-wrap .ja-hero h2 {
    font-size: 32px;
  }

  .ja-hero .ja-hero-subtitle {
    max-width: 44ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
  }

  .ja-hero form {
    width: min(760px, 100%);
  }

  .job-card > span {
    white-space: normal;
  }

  .ja-filter-drawer-header {
    display: none;
  }
}

@media (max-width: 640px) {
  .ja-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 6, 23, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .ja-nav {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .ja-logo {
    height: 32px;
  }

  .ja-nav__cta {
    min-height: 38px;
    padding: 0 0.8rem;
    font-size: 14px;
  }

  .ja-mobile-filterbar {
    display: flex;
    justify-content: flex-start;
    width: calc(100% - 1rem);
    margin: 14px auto;
    position: relative;
    z-index: 45;
  }

  .ja-filter-btn {
    min-height: 38px;
    padding: 0 0.85rem;
  }

  .ja-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
  }

  .ja-filter-drawer-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ja-fg);
  }

  .ja-filter-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--ja-fg);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .layout {
    width: calc(100% - 1rem);
    margin-bottom: 1.25rem;
    z-index: auto;
  }

  .layout > aside {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: min(88vw, 360px);
    height: 100dvh;
    margin: 0;
    border-radius: 0 16px 16px 0;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: block;
  }

  #ja-filter-toggle:checked ~ .ja-mobile-filterbar {
    opacity: 0;
    pointer-events: none;
  }

  #ja-filter-toggle:checked ~ .ja-filter-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  #ja-filter-toggle:checked ~ .layout > aside {
    transform: translateX(0);
  }

  .ja-hero {
    padding: 52px 16px 30px;
  }

  .ja-hero h2 {
    font-size: 20px;
    line-height: 1.15;
  }

  body.page-home .ja-hero-wrap .ja-hero h2 {
    font-size: 28px;
  }

  .ja-hero .ja-hero-subtitle {
    font-size: 16px;
    max-width: 30ch;
  }

  .ja-hero form {
    width: 100%;
  }

  .ja-hero form input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 52px;
  }

  .ja-hero .ja-hero-stats {
    gap: 12px;
    justify-content: center;
  }

  .job-card {
    padding: 16px;
    border-radius: 14px;
  }

  .job-card h3 {
    font-size: 17px;
    line-height: 1.35;
  }

  .job-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .job-card > span {
    margin-bottom: 0.45rem;
  }

  .job-card a {
    float: none;
    margin: 0.65rem 0 0 auto;
    padding-right: 0;
  }

}

/* JOB DETAIL: 2026 LAYOUT */
.ja-jobdetail {
  color: #1f2937;
  padding-bottom: 48px;
}

.ja-jobdetail__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #7a8699;
  font-size: 14px;
  margin: 1rem 0 1.5rem;
}

.ja-jobdetail__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.ja-jobdetail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.ja-jobdetail .ja-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dce2ea;
  background: #f8faf8;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.ja-jobdetail__title {
  margin: 0;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #111827;
  text-align: left;
}

.ja-jobdetail__meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ja-jobdetail__metaItem {
  color: #6b7280;
  font-size: 16px;
  position: relative;
  padding-left: 34px;
  display: inline-flex;
  align-items: center;
}

.ja-jobdetail__metaItem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  opacity: 0.95;
}

.ja-jobdetail__metaItem:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360708b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='10' height='16' rx='1'/%3E%3Cpath d='M13 8h8v12h-8zM6 8h4M6 12h4M6 16h4M16 12h2M16 16h2'/%3E%3C/svg%3E");
}

.ja-jobdetail__metaItem:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360708b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.ja-jobdetail__metaItem:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360708b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.ja-jobdetail__metaItem + .ja-jobdetail__metaItem::before {
  content: "•";
  margin-right: 12px;
  color: #94a3b8;
}

.ja-jobdetail__intro {
  margin: 1.4rem 0 0;
  color: #374151;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  max-width: 72ch;
}

.ja-jobdetail .ja-divider {
  height: 1px;
  background: #e6e9ee;
  margin: 2rem 0;
}

.ja-jobdetail__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.ja-jobdetail__main {
  min-width: 0;
}

.ja-jobdetail__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 24px;
  margin-top: 0;
  padding-top: 0;
}

.ja-jobdetail__aside .ja-card:first-child {
  margin-top: 0;
}

.ja-jobdetail .ja-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e6e9ee;
}

.ja-jobdetail .ja-section__title {
  margin: 0 0 1rem;
  text-align: left;
  font-size: clamp(28px, 3vw, 40px);
  color: #111827;
}

.ja-jobdetail .ja-section__content {
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
}

.ja-jobdetail .ja-richtext {
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
}

.ja-jobdetail .ja-richtext p {
  margin: 0 0 1rem;
}

.ja-jobdetail .ja-richtext h2,
.ja-jobdetail .ja-richtext h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.ja-jobdetail .ja-richtext h2 {
  margin-top: 28px;
  margin-bottom: 14px;
}

.ja-jobdetail .ja-richtext h2:first-child {
  margin-top: 0;
}

.ja-jobdetail .ja-richtext h3 {
  margin: 28px 0 14px;
}

.ja-jobdetail .ja-richtext ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.ja-jobdetail .ja-richtext li {
  position: relative;
  padding-left: 34px;
}

.ja-jobdetail .ja-richtext li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #22c55e;
}

.ja-jobdetail .ja-richtext li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55em;
  width: 7px;
  height: 4px;
  border-left: 2px solid #22c55e;
  border-bottom: 2px solid #22c55e;
  transform: rotate(-45deg);
}

.ja-jobdetail .ja-richtext p > strong:only-child {
  display: block;
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
}

.ja-jobdetail .ja-section__content h2 {
  font-size: 18px;
  line-height: 1.35;
}

.ja-jobdetail .ja-section__content h3 {
  font-size: 16px;
  line-height: 1.4;
}

.ja-jobdetail .ja-section__content h4 {
  font-size: 15px;
  line-height: 1.45;
}

.ja-jobdetail .ja-checklist,
.ja-jobdetail .ja-section__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ja-jobdetail .ja-checklist__item,
.ja-jobdetail .ja-section__content li {
  position: relative;
  padding-left: 34px;
  color: #374151;
  font-size: 20px;
  line-height: 1.45;
}

.ja-jobdetail .ja-checklist__item::before,
.ja-jobdetail .ja-section__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #58b37a;
  background: #f2fbf6;
}

.ja-jobdetail .ja-checklist__item::after,
.ja-jobdetail .ja-section__content li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.35em + 4px);
  width: 6px;
  height: 10px;
  border: solid #58b37a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ja-jobdetail .ja-orgcard {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ja-jobdetail .ja-orgcard__logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #d7dce4;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ja-jobdetail .ja-orgcard__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ja-jobdetail .ja-orgcard__content {
  flex: 1;
  min-width: 0;
}

.ja-jobdetail .ja-orgcard__text {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.45;
}

.ja-jobdetail .ja-orgcard__meta {
  margin: 0.75rem 0 0;
  color: #6b7280;
  font-size: 16px;
}

.ja-jobdetail .ja-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
}

.ja-jobdetail .ja-card__header {
  padding: 18px 20px;
}

.ja-jobdetail .ja-card__header--green {
  background: #58b37a;
  color: #fff;
}

.ja-jobdetail .ja-card__title {
  margin: 0;
  text-align: left;
  font-size: 18px;
  font-weight: 400;
}

.ja-jobdetail .ja-card__body {
  padding: 18px;
}

.ja-jobdetail .ja-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 9999px;
  border: 0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.ja-jobdetail .ja-btn--primary {
  width: 100%;
  background: #f2a100;
  color: #fff;
}

.ja-jobdetail .ja-btn--primary:hover {
  background: #e59800;
}

.ja-jobdetail .ja-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.ja-jobdetail .ja-kv {
  margin-top: 18px;
}

.ja-jobdetail .ja-kv__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e9ee;
}

.ja-jobdetail .ja-kv__row:last-child {
  border-bottom: 0;
}

.ja-jobdetail .ja-kv__key {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
}

.ja-jobdetail .ja-kv__value {
  color: #000;
  font-weight: 400;
  font-size: 16px;
  text-transform: capitalize;
}

.ja-jobdetail .ja-contact {
  padding: 20px;
}

.ja-jobdetail .ja-contact__name {
  margin: 0.75rem 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.ja-jobdetail .ja-contact__email {
  margin: 0.45rem 0 0;
  color: #58b37a;
  font-size: 16px;
  line-height: 1.4;
}

.ja-jobdetail .ja-contact__phone {
  margin: 0.45rem 0 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.4;
}

.ja-jobdetail .ja-share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ja-jobdetail .ja-share-mobile {
  display: none;
}

/* ===================================
   Search Rekrytering Contact Form
   =================================== */
.sr-aside .sr-contact-card {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  margin-right: 0;
  border: 2px solid rgba(73, 177, 112, 0.5);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(73, 177, 112, 0.16);
  padding: 22px;
}

.sr-grid {
  grid-template-columns: 1fr 550px;
}

@media (min-width: 1281px) {
  .sr-page .sr-aside {
    margin-top: 88px;
    align-items: flex-end;
  }
}

.sr-contact-card .ja-card__title {
  margin-bottom: 10px;
}

.sr-breadcrumb {
  margin: 16px 0 14px;
  color: #627084;
  font-size: 13px;
}

.sr-breadcrumb__link {
  color: inherit;
  text-decoration: none;
}

.sr-breadcrumb__link:hover {
  text-decoration: underline;
}

.sr-breadcrumb__sep {
  margin: 0 6px;
  color: #95a1b3;
}

.sr-breadcrumb__current {
  color: #627084;
}

.sr-hero__title {
  margin: 0;
  font-size: 36px;
}

.sr-hero__titleLine {
  display: block;
  color: inherit;
  font-size: 36px;
}

.sr-hero__titleAccent {
  display: block;
  color: #49b170;
  font: inherit;
  font-size: 36px;
}

@media (max-width: 1280px) {
  .sr-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "aside";
    gap: 24px;
  }

  .sr-page .sr-grid .ja-jobdetail__main {
    grid-area: main;
    order: initial;
    display: block;
  }

  .sr-page .sr-grid .sr-aside {
    grid-area: aside;
    order: initial;
    display: block;
    margin-top: 0;
    position: static;
    align-self: start;
  }

  .sr-page .sr-aside .sr-contact-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .sr-hero__title,
  .sr-hero__titleLine,
  .sr-hero__titleAccent {
    font-size: 30px;
  }
}

.sr-contact-card__lead {
  margin: 0 0 16px;
  color: #627084;
  line-height: 1.5;
  font-size: 15px;
}

.sr-page .sr-contact-card .sr-form {
  --sr-form-space-field: 14px;
  --sr-form-space-label: 6px;
  --sr-form-radius-field: 10px;
  --sr-form-border: rgba(29, 37, 48, 0.2);
  --sr-form-border-hover: rgba(29, 37, 48, 0.32);
  --sr-form-bg-field: #ffffff;
  --sr-form-text-field: #1d2530;
  --sr-form-placeholder: #94a3b8;
  --sr-form-focus-border: #49b170;
  --sr-form-focus-ring: rgba(73, 177, 112, 0.2);
  --sr-form-error: #b42318;
  --sr-form-btn-bg: #49b170;
  --sr-form-btn-bg-hover: #3f9a61;
  --sr-form-btn-border: #49b170;
  --sr-form-btn-border-hover: #3f9a61;
  display: grid;
  gap: var(--sr-form-space-field);
}

.sr-page .sr-contact-card .sr-form__field {
  display: grid;
  gap: var(--sr-form-space-label);
}

.sr-page .sr-contact-card .sr-form__field label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: #1d2530;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.sr-page .sr-contact-card .sr-form__req {
  color: var(--sr-form-error);
  line-height: 1;
}

.sr-page .sr-contact-card .sr-form__field input[type="text"],
.sr-page .sr-contact-card .sr-form__field input[type="email"],
.sr-page .sr-contact-card .sr-form__field input[type="url"],
.sr-page .sr-contact-card .sr-form__field input[type="tel"],
.sr-page .sr-contact-card .sr-form__field textarea {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--sr-form-radius-field);
  border: 1px solid var(--sr-form-border);
  background: var(--sr-form-bg-field);
  color: var(--sr-form-text-field);
  font-size: 15px;
  line-height: 1.35;
  outline: none;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.sr-page .sr-contact-card .sr-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.sr-page .sr-contact-card .sr-form__field input::placeholder,
.sr-page .sr-contact-card .sr-form__field textarea::placeholder {
  color: var(--sr-form-placeholder);
}

.sr-page .sr-contact-card .sr-form__field input:hover,
.sr-page .sr-contact-card .sr-form__field textarea:hover {
  border-color: var(--sr-form-border-hover);
}

.sr-page .sr-contact-card .sr-form__field input:focus,
.sr-page .sr-contact-card .sr-form__field textarea:focus {
  border-color: var(--sr-form-focus-border);
  box-shadow: 0 0 0 3px var(--sr-form-focus-ring);
}

.sr-page .sr-contact-card .sr-form .errorlist {
  margin: 0 0 2px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sr-form-error);
}

.sr-page .sr-contact-card .sr-form .errorlist + input,
.sr-page .sr-contact-card .sr-form .errorlist + textarea,
.sr-page .sr-contact-card .sr-form__field input[aria-invalid="true"],
.sr-page .sr-contact-card .sr-form__field textarea[aria-invalid="true"] {
  border-color: var(--sr-form-error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}

.sr-page .sr-contact-card .sr-form__submit {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border-radius: var(--sr-form-radius-field);
  background-color: var(--sr-form-btn-bg);
  border: 1px solid var(--sr-form-btn-border);
  color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sr-page .sr-contact-card .sr-form__submit:hover {
  background-color: var(--sr-form-btn-bg-hover);
  border-color: var(--sr-form-btn-border-hover);
}

.sr-page .sr-contact-card .sr-form__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(73, 177, 112, 0.22);
}

.sr-lead--note {
  margin-top: 24px;
  color: #627084;
  font-style: italic;
}

.ja-jobdetail .ja-section--share .ja-section__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.3;
}

.ja-jobdetail .ja-section--share .ja-section__title::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5 15.4 17.5M15.4 6.5 8.6 10.5'/%3E%3C/svg%3E");
}

.ja-jobdetail .ja-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d7dce4;
  color: #1f2937;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
}

.ja-jobdetail .ja-share__btn::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.ja-jobdetail .ja-share__btn:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M8 11v5M8 8v.01M12 16v-5M12 13a2 2 0 1 1 4 0v3'/%3E%3C/svg%3E");
}

.ja-jobdetail .ja-share__btn:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 5.9c-.7.3-1.5.5-2.3.6a4 4 0 0 0 1.8-2.2 8.1 8.1 0 0 1-2.6 1A4 4 0 0 0 12 8v.9A11.4 11.4 0 0 1 3 4.9a4 4 0 0 0 1.2 5.3 4 4 0 0 1-1.8-.5v.1a4 4 0 0 0 3.2 3.9 4 4 0 0 1-1.8.1 4 4 0 0 0 3.7 2.8A8.1 8.1 0 0 1 2 18.5 11.5 11.5 0 0 0 8.3 20c7.6 0 11.8-6.3 11.8-11.8v-.5A8.3 8.3 0 0 0 22 5.9Z'/%3E%3C/svg%3E");
}

.ja-jobdetail .ja-share__btn:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.ja-jobdetail .ja-backlink-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.ja-jobdetail .ja-backlink {
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.ja-jobdetail .ja-backlink::before {
  content: "←";
  font-size: 18px;
  line-height: 1;
}

.ja-jobdetail .ja-backlink {
  font-size: 18px;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .ja-jobdetail__layout {
    grid-template-columns: 1fr;
  }

  .ja-jobdetail__aside {
    position: static;
  }
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .ja-jobdetail__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    grid-template-areas:
      "header"
      "apply"
      "body"
      "contact"
      "share"
      "back";
  }

  .ja-jobdetail__main {
    display: contents;
  }

  .ja-jobdetail__header {
    grid-area: header;
  }

  .ja-jobdetail__intro {
    margin: 1rem 0 0;
  }

  .ja-jobdetail .ja-divider {
    margin: 12px 0 20px;
  }

  .ja-jobdetail__aside {
    display: contents;
    position: static;
    top: auto;
  }

  .ja-jobdetail__body {
    grid-area: body;
  }

  .ja-jobdetail__aside .ja-card:first-child .ja-card__header--green {
    display: none;
  }

  .ja-jobdetail__aside .ja-card:first-child {
    grid-area: apply;
    margin-top: 25px;
  }

  .ja-jobdetail__aside .ja-card:first-child .ja-card__body {
    padding-top: 0;
  }

  .ja-jobdetail__aside .ja-contact {
    grid-area: contact;
    margin-bottom: 8px;
  }

  .ja-jobdetail__aside .ja-share-mobile {
    display: block;
    grid-area: share;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid #e6e9ee;
  }

  .ja-jobdetail .ja-share-desktop {
    display: none;
  }

  .ja-jobdetail__aside .ja-backlink-wrap {
    grid-area: back;
  }

  .ja-jobdetail__aside .ja-card:first-child .ja-btn--primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
