body.home-dark {
  --home-ink: #f8f6ef;
  --home-muted: #d0cec3;
  --home-surface: #222220;
  --home-panel: #2b2b28;
  --home-line: #ffffff38;
  background: var(--home-surface);
  color: var(--home-ink);
}
.home-dark :is(.age-section, .home-locations, .team-strip, .home-projects, .home-support) {
  background: var(--home-surface);
  border-block-start: 1px solid var(--home-line);
}
.home-dark #continut .eyebrow,
.home-dark :is(.home-stages .fine-print, .stages-heading-link > span, .method-cycle i) {
  color: var(--y);
}
.home-dark :is(.home-section-head, .method-content, .home-story, .location-home-layout > div, .home-support) p:not(.eyebrow),
.home-dark :is(.home-location-list small, .placement-note, #age-drag-hint) {
  color: var(--home-muted);
}
.home-dark :is(.story-year, .method-cycle) { border-color: var(--home-line); }
.home-dark .story-year { border-inline-start-color: var(--y); }
.home-dark .method-cycle-arrow { color: var(--y); }
.home-dark #gaseste-grupa :is(.age-answer, .age-locations .start-action) {
  background: var(--home-panel);
  color: var(--home-ink);
  border-color: var(--home-line);
}
.home-dark #gaseste-grupa .age-locations .action-slot { color: var(--y); }
.home-dark #gaseste-grupa .age-locations .start-action:is(:hover, :focus-visible) {
  background: #38382f;
  border-color: var(--y);
}
.home-dark #gaseste-grupa input::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--y) var(--age-progress,25%), #ffffff42 0);
}
.home-dark #gaseste-grupa input::-moz-range-track {
  background: linear-gradient(to right, var(--y) var(--age-progress,25%), #ffffff42 0);
}
.home-dark #gaseste-grupa input::-webkit-slider-thumb { background: var(--y); border-color: var(--home-surface); }
.home-dark #gaseste-grupa input::-moz-range-thumb { background: var(--y); border-color: var(--home-surface); }
.home-dark :is(#gaseste-grupa .age-enrol, .home-support .start-action, .home-kit-finale .start-action) {
  color: var(--home-surface);
  background: var(--y);
  border-color: var(--y);
}
.home-dark :is(#gaseste-grupa .age-enrol, .home-support .start-action, .home-kit-finale .start-action):is(:hover, :focus-visible) {
  color: var(--home-surface);
  background: #ffe47b;
}
.home-dark .start-action:focus-visible { outline-color: var(--y); }
.home-dark :is(.home-projects, .home-news) .project-rows > a {
  background: var(--home-panel);
  color: var(--home-ink);
  border-color: var(--home-line);
}
.home-dark :is(.home-projects, .home-news) .project-rows > a:is(:hover, :focus-visible) {
  background: #33332e;
  color: var(--y);
}
.home-dark .project-rows :is(small, strong i, .project-mark) { color: var(--y); }
.home-dark .project-rows > a > span:not(.project-mark) { color: var(--home-muted); }
.home-dark .project-controls .start-step--previous { color: var(--y); border: 1px solid var(--home-line); }

.home-dark :is(.age-section, .home-locations, .team-strip, .home-projects, .home-support) { border-block-start: 0; }
.home-dark #gaseste-grupa .age-layout { align-items: center; gap: clamp(24px, 5vw, 74px); }
.home-dark #gaseste-grupa .age-question .age-enrol { width: fit-content; margin-top: 20px; }
.home-dark #gaseste-grupa .age-answer .placement-note {
  font-size: 12px;
  line-height: 1.55;
  margin-top: 14px;
  padding-top: 12px;
  border-color: var(--home-line);
}
@media (min-width: 761px) {
  .home-dark #gaseste-grupa .age-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .home-dark #gaseste-grupa .age-locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-dark #gaseste-grupa .age-locations .action-label { padding-inline: 6px; white-space: nowrap; }
  .home-dark #gaseste-grupa .age-locations .action-slot { width: 24px; flex-basis: 24px; }
}
.home-dark .home-locations a[href="/locatii/"] .action-label {
  font-size: clamp(11px, 1.65vw, 16px);
  padding-inline: 9px;
  white-space: nowrap;
}
.team-strip-heading { width: fit-content; max-width: 100%; }
.home-dark .team-strip-heading .team-strip-ages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font: 550 clamp(12px, 2vw, 20px)/1.3 StartDisplay, sans-serif;
  letter-spacing: .04em;
}
.home-dark .home-staff .staff-grid h3 { font-size: min(8.05cqi, 24px); }
.home-dark .home-support .start-action .action-label { font-size: clamp(17px, 2.2vw, 23px); }
.home-dark .home-news .project-rows .erasmus-card-identity > .erasmus-funding { max-width: min(90%, 195px); }

@media(max-width:760px) {
  .site-dark .home-news .journal-blog-link { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .site-dark .home-news .journal-blog-link a.start-action {
    width: 100%; box-sizing: border-box; justify-content: space-between;
    border: 1px solid var(--site-yellow); color: var(--site-yellow); background: transparent;
  }
  .site-dark .home-news .journal-blog-link a:is(:active,:focus-visible,:hover) {
    box-shadow: 0 0 12px #f9d34245;
  }
}
