/* ArmaTech Careers – styled to match armatech.se (Open Sans, navy/black, red #B20000). */
.atc {
  --atc-red: #b20000;
  --atc-navy: #0c131e;
  --atc-panel: #282828;
  --atc-line: #1e2733;
  --atc-line-2: #2e3744;
  --atc-text: #ffffff;
  --atc-soft: #f1f1f1;
  --atc-muted: #c8c8c8;
  font-family: "Open Sans", sans-serif;
  color: var(--atc-text);
  background: #000;
  padding: 32px 24px 48px;
  box-sizing: border-box;
  text-align: left;
}
.atc *, .atc *::before, .atc *::after { box-sizing: border-box; }
.atc [hidden] { display: none !important; }
.atc p { margin: 0; }

/* Reset theme styles on our own buttons and lists */
.atc button {
  font-family: inherit;
  margin: 0;
  min-height: 0;
  height: auto;
  line-height: 1.4;
  text-shadow: none;
  box-shadow: none;
  border-radius: 0;
  letter-spacing: normal;
  white-space: normal;
  cursor: pointer;
}
.atc ul.atc-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.atc ul.atc-jobs > li { margin: 0; padding: 0; }

/* No open positions */
.atc-none { max-width: 1200px; margin: 0 auto; background: var(--atc-navy); border-left: 3px solid var(--atc-red); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.atc .atc-none-title { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--atc-text); text-transform: none; letter-spacing: normal; }
.atc .atc-none-text { max-width: 720px; font-size: 16px; line-height: 1.65; color: var(--atc-soft); }
.atc-none .atc-btn { margin-top: 8px; }
@media (max-width: 600px) { .atc-none { padding: 24px; } }

.atc-top { max-width: 1200px; margin: 0 auto 24px; }
.atc .atc-heading { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--atc-text); text-align: left; text-transform: none; letter-spacing: normal; }
.atc-layout { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }

/* Filters */
.atc-filters { flex: 0 1 300px; max-width: 100%; background: var(--atc-panel); padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.atc-filters-head { display: flex; justify-content: space-between; align-items: center; }
.atc .atc-h2 { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--atc-text); }
.atc .atc-clear { background: none; border: 0; padding: 8px 4px; min-height: 44px; color: var(--atc-text); font-size: 13px; font-weight: 600; text-decoration: underline; text-transform: uppercase; }
.atc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.atc .atc-legend { padding: 0; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--atc-muted); }
.atc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.atc .atc-pill {
  background: transparent; color: var(--atc-text); border: 1px solid rgba(255,255,255,.45);
  padding: 0 14px; min-height: 40px; font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .03em;
}
.atc .atc-pill:hover { border-color: #fff; }
.atc .atc-pill[aria-pressed="true"] { background: var(--atc-red); border-color: var(--atc-red); font-weight: 700; }
.atc .atc-pill.is-zero { color: #9a9a9a; border-style: dashed; border-color: #5a5a5a; }
.atc .atc-n { opacity: .75; }
.atc .atc-hint { margin-top: 10px; font-size: 13px; color: var(--atc-muted); }

/* Results */
.atc-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.atc .atc-count { font-size: 15px; color: var(--atc-muted); }
.atc .atc-count strong { color: var(--atc-text); font-size: 17px; }

.atc-empty { background: var(--atc-navy); border: 1px dashed #4a5260; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.atc .atc-empty-title { font-size: 20px; font-weight: 700; }
.atc-empty p { color: var(--atc-muted); }

.atc-job { background: var(--atc-navy); border: 1px solid var(--atc-line); border-left: 3px solid var(--atc-line); }
.atc-job.is-open { border-color: var(--atc-red); }
.atc .atc-toggle {
  width: 100%; background: none; border: 0; text-align: left; padding: 20px 24px; min-height: 44px;
  display: flex; align-items: center; gap: 16px; color: var(--atc-text); text-transform: none; font-weight: 400;
}
.atc .atc-toggle:focus-visible, .atc .atc-pill:focus-visible, .atc .atc-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.atc-head { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.atc-title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.atc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--atc-muted); text-transform: uppercase; letter-spacing: .04em; }
.atc-dot { color: var(--atc-red); }
.atc-chev { flex: none; transition: transform .2s ease; }
.atc-job.is-open .atc-chev { transform: rotate(180deg); }

.atc-panel { padding: 0 24px 24px; border-top: 1px solid var(--atc-line-2); }
.atc-panel-inner { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 20px; }
.atc-body { flex: 999 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.atc .atc-summary { font-size: 15px; line-height: 1.65; color: var(--atc-soft); }
.atc .atc-h3 { margin: 8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--atc-text); }
.atc ul.atc-list { margin: 0; padding-left: 20px; list-style: disc; font-size: 15px; line-height: 1.55; color: var(--atc-soft); }
.atc ul.atc-list li { margin: 0 0 6px; }

.atc-facts { flex: 1 1 220px; align-self: flex-start; background: #000; border: 1px solid var(--atc-line-2); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.atc-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 14px; }
.atc-facts dt { color: var(--atc-muted); font-weight: 400; margin: 0; }
.atc-facts dd { margin: 0; font-weight: 600; }
.atc .atc-note { font-size: 13px; color: var(--atc-muted); line-height: 1.45; }

.atc a.atc-btn, .atc button.atc-btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 22px;
  background: var(--atc-red); color: #fff; border: 0; font-weight: 700; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
}
.atc a.atc-btn:hover, .atc button.atc-btn:hover { background: #8f0000; color: #fff; }
.atc .atc-apply { width: 100%; }

.atc-spont { margin-top: 16px; background: var(--atc-navy); padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.atc-spont > div { flex: 1 1 320px; }
.atc .atc-spont-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.atc-spont p { color: var(--atc-soft); font-size: 15px; }

@media (max-width: 900px) {
  .atc-filters { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .atc { padding: 24px 16px 40px; }
  .atc .atc-toggle { padding: 16px; }
  .atc-panel { padding: 0 16px 16px; }
}
