/* ATS Fristen-Radar — nutzt die Tokens aus ats-web.css */

.ats-fr-band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
}

.ats-fr-item { display: flex; flex-direction: column; gap: 2px; }

.ats-fr-date {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--ats-schwarz, #2B2B2A);
  font-variant-numeric: tabular-nums;
}

.ats-fr-item.is-next .ats-fr-date { font-weight: 600; }

.ats-fr-label { font-size: 13px; color: var(--ats-schwarz, #2B2B2A); }
.ats-fr-in    { font-size: 12px; opacity: .72; }

.ats-fr-ics {
  margin-left: auto;
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ats-schwarz, #2B2B2A);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.ats-fr-filter {
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ats-fr-filter legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ats-petrol-text, #3E6D74);
  margin-bottom: 10px;
}
.ats-fr-filter button {
  font: inherit;
  font-size: 14px;
  padding: 8px 18px;
  border: 1px solid var(--ats-border, #DAD4CB);
  border-radius: var(--ats-radius, 4px);
  background: transparent;
  color: var(--ats-schwarz, #2B2B2A);
  cursor: pointer;
}
.ats-fr-filter button.is-active {
  background: var(--ats-schwarz, #2B2B2A);
  border-color: var(--ats-schwarz, #2B2B2A);
  color: var(--ats-beige-hell, #F0ECE6);
}

.ats-fr-list { list-style: none; margin: 0; padding: 0; }

.ats-fr-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--ats-border, #DAD4CB);
}
.ats-fr-row:last-child { border-bottom: 1px solid var(--ats-border, #DAD4CB); }
.ats-fr-row time {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--ats-text-muted, #5C5A56);
}
.ats-fr-row h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; }
.ats-fr-row p  { margin: 0; font-size: 15px; color: var(--ats-text-muted, #5C5A56); }

.ats-fr-hint { font-size: 14px; color: var(--ats-text-muted, #5C5A56); }

@media (max-width: 600px) {
  .ats-fr-band { gap: 16px 24px; }
  .ats-fr-ics  { margin-left: 0; }
  .ats-fr-row  { grid-template-columns: 1fr; gap: 6px; }
}
