* + .tab-group {
  margin-top: 3rem !important;
}
h2 + .tab-group {
  margin-top: 3rem;
}

ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.tabs li {
  margin: 0;
  padding: 0;
}
ul.tabs a {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
  text-decoration: none;
  color: #006450;
  padding: 0.9ch 2ch 1ch 2ch;
  background: transparent;
  border: 1px solid #006450;
  border-radius: 32px;
  transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
}
ul.tabs a.active, ul.tabs a:hover, ul.tabs a:active, ul.tabs a:focus {
  text-decoration: none;
  color: #fff;
  background: #006450;
  outline: none;
}

.tab-panel {
  padding: 30px 0;
}
.tab-panel > div {
  overflow-x: hidden;
}

@media (max-width: 799px) {
  .acc ul.tabs {
    display: none;
  }
  .tab-group.acc {
    padding: 0;
  }
  .tab-group.acc .tab-panel {
    display: block !important;
    width: 100%;
    padding: 0;
  }
  .tab-group.acc .tab-panel input {
    display: none;
  }
  .tab-group.acc .tab-panel input + .acc-title {
    display: block;
    font-weight: 500;
    line-height: 1.35;
    padding: 0.8ch 40px 0.75ch 1ch;
    margin: 0 0 1rem 0;
    color: #006450;
    border: 1px solid #006450;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: background 0.25s ease-in-out, color 0.25s ease-in-out;
  }
  .tab-group.acc .tab-panel input + .acc-title:after {
    content: "+";
    display: block;
    font-size: 2.8rem;
    font-weight: 200;
    line-height: 1;
    position: absolute;
    top: calc(50% - 1px);
    right: 1ch;
    transform: translateY(-50%);
  }
  .tab-group.acc .tab-panel input + .acc-title:hover {
    color: #fff;
    background: #006450;
  }
  .tab-group.acc .tab-panel input + .acc-title svg {
    width: 13px;
  }
  .tab-group.acc .tab-panel input + .acc-title + .acc-panel {
    height: 0;
    visibility: hidden;
    padding: 0;
    position: relative;
    z-index: -1;
    transition: visibility 0.35s cubic-bezier(0.25, 0.5, 0.5, 1) 0.05s, height 0.35s cubic-bezier(0.25, 0.5, 0.5, 1) 0.05s, margin 0.35s cubic-bezier(0.25, 0.5, 0.5, 1) 0.05s;
  }
  .tab-group.acc .tab-panel input + .acc-title + .acc-panel > * {
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.82, -0.04, 1, 1);
  }
  .tab-group.acc .tab-panel input:checked + .acc-title {
    color: #fff;
    background: #006450;
  }
  .tab-group.acc .tab-panel input:checked + .acc-title + .acc-panel {
    height: auto;
    visibility: visible;
    margin-bottom: 10px;
    padding: 20px 0;
    opacity: 1;
    z-index: 1;
  }
  .tab-group.acc .tab-panel input:checked + .acc-title + .acc-panel > * {
    opacity: 1;
  }
  .tab-group.tabs .tab-panel > input,
  .tab-group.tabs .tab-panel > label {
    display: none;
  }
  .tab-group.tabs .tab-panel > div {
    animation: fadeIn 0.45s forwards 0.15s;
  }
  .tab-group.tabs .tab-panel.active {
    display: block;
  }
  .tab-group.tabs .tab-panel.active > div {
    animation: fadeIn 0.45s forwards 0.15s;
  }
}
@media (min-width: 800px) {
  .tab-panel > input,
  .tab-panel > label {
    display: none;
  }
  .tab-panel > div {
    animation: fadeIn 0.45s forwards 0.15s;
  }
  .tab-panel.active {
    display: block;
  }
  .tab-panel.active > div {
    animation: fadeIn 0.45s forwards 0.15s;
  }
}
.results-table .file {
  display: block;
  line-height: 1.2;
  padding: 12px 0;
  border-bottom: 1px solid rgba(178, 178, 178, 0.5);
}
.results-table .file span.date {
  opacity: 0.5;
}
.results-table .file span.title {
  font-weight: 500;
}
.results-table .file.trow a {
  display: block;
  text-align: center;
}
.results-table .file.trow a .icon {
  display: block;
  width: 36px;
  height: 36px;
  position: relative;
}
.results-table .file.trow a .icon svg {
  max-height: 32px;
}
.results-table .file.trow a .icon .circle {
  transition: fill 0.25s ease-in-out;
}
.results-table .file.trow a .icon .icon *,
.results-table .file.trow a .icon .icon {
  transition: 0.25s ease-in-out 0.005s;
}
.results-table .file.trow a:hover .icon svg path, .results-table .file.trow a:active .icon svg path, .results-table .file.trow a:focus .icon svg path {
  fill: #006450;
}
.results-table .file.trow a:hover .icon .icon *,
.results-table .file.trow a:hover .icon .icon, .results-table .file.trow a:active .icon .icon *,
.results-table .file.trow a:active .icon .icon, .results-table .file.trow a:focus .icon .icon *,
.results-table .file.trow a:focus .icon .icon {
  stroke: #fff;
}

.archived-year h4 {
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--18);
  font-weight: 500;
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #006450;
}
.archived-year + .archived-year {
  margin-top: 4rem;
}

@media (max-width: 799px) {
  .results-table .trow.head {
    display: none;
  }
  .results-table .trow.file .name span {
    display: block;
  }
  .results-table .trow.file .name span.title {
    font-size: var(--wp--preset--font-size--22);
    padding: 1ch 0;
  }
  .results-table .trow.file .results-files > span {
    display: block;
    padding: 10px 0;
  }
  .results-table .trow.file .results-files > span.empty {
    display: none;
  }
  .results-table .trow.file .results-files > span a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    text-align: left;
  }
  .results-table .trow.file .results-files > span .label {
    width: calc(100% - 51px);
  }
  .results-table .trow.file .results-files > span .icon {
    width: 36px;
  }
}
@media (min-width: 800px) {
  .results-table .trow:last-of-type {
    border-bottom: 1px solid #006450;
  }
  .results-table .trow.head, .results-table .trow.file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .results-table .trow.head .name, .results-table .trow.file .name {
    width: calc(100% - 300px);
    display: flex;
    flex-wrap: wrap;
    line-height: 1.35;
    padding-right: 20px;
  }
  .results-table .trow.head .name span, .results-table .trow.file .name span {
    display: block;
  }
  .results-table .trow.head .name span.date, .results-table .trow.file .name span.date {
    width: 130px;
    opacity: 1;
  }
  .results-table .trow.head .name span.title, .results-table .trow.file .name span.title {
    width: calc(100% - 130px);
  }
  .results-table .trow.head .results-files, .results-table .trow.file .results-files {
    width: 300px;
    display: flex;
    flex-wrap: wrap;
  }
  .results-table .trow.head .results-files > span, .results-table .trow.file .results-files > span {
    text-align: center;
  }
  .results-table .trow.head .results-files > span.cell, .results-table .trow.file .results-files > span.cell {
    flex: 1;
  }
  .results-table .trow.head .results-files > span a .icon, .results-table .trow.file .results-files > span a .icon {
    margin: 0 auto;
  }
  .results-table .trow.head .results-files > span .label, .results-table .trow.file .results-files > span .label {
    display: none;
  }
  .results-table .trow.head {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 4px 0 12px 0;
    color: #006450;
    border-bottom: 1px solid #006450;
  }
}
@media (min-width: 1100px) {
  .results-table .trow.head {
    font-size: 1.8rem;
  }
  .results-table .trow.head .name, .results-table .trow.file .name {
    width: calc(100% - 380px);
  }
  .results-table .trow.head .name span.date, .results-table .trow.file .name span.date {
    width: 170px;
  }
  .results-table .trow.head .name span.title, .results-table .trow.file .name span.title {
    width: calc(100% - 170px);
  }
  .results-table .trow.head .results-files, .results-table .trow.file .results-files {
    width: 380px;
  }
}
@media (min-width: 1300px) {
  .results-table .trow.head .name, .results-table .trow.file .name {
    width: calc(100% - 450px);
  }
  .results-table .trow.head .name span.date, .results-table .trow.file .name span.date {
    width: 200px;
  }
  .results-table .trow.head .name span.title, .results-table .trow.file .name span.title {
    width: calc(100% - 200px);
  }
  .results-table .trow.head .results-files, .results-table .trow.file .results-files {
    width: 450px;
  }
}
