.tab-group {
  margin-bottom: var(--wp--preset--spacing--normal) !important;
}
* + .tab-group {
  margin-top: var(--wp--preset--spacing--normal) !important;
}
.tab-group + .btn {
  margin-top: -2rem !important;
}
.tab-group + div,
.tab-group + .tab-group,
.tab-group + p,
.tab-group + h2,
.tab-group + h3,
.tab-group + h4,
.tab-group + h5,
.tab-group + h6 {
  margin-top: var(--wp--preset--spacing--normal) !important;
}
.tab-group.vert {
  border-bottom: none;
}
.tab-group.vert > .acf-innerblocks-container {
  display: flex;
  flex-wrap: wrap;
}

ul.tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 2.5rem 0;
  padding: 3px;
  background: #EAEAEA;
  border-radius: 55px;
  position: relative;
}
ul.tabs li {
  margin: 0;
  padding: 0 0.7rem 0 0;
  position: relative;
  z-index: 2;
}
ul.tabs a {
  display: inline-flex;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-15);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 1.35ch 3rem;
  color: #fff;
  background: #5C068C;
  border: 1px solid #5C068C;
  border-radius: 15rem;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s cubic-bezier(0.4, 0, 0.2, 1), border 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  color: #101820 !important;
  background: transparent;
  border-color: transparent;
  transition: color 0.25s ease-in-out, background 0.25s ease-in-out !important;
}
ul.tabs a:hover, ul.tabs a:active, ul.tabs a:focus {
  background: #9063CD;
  border-color: transparent;
}
ul.tabs a[href^=http]:not([href*="potterandmooreplc.luminated.co.uk"]):not([href*="creightonsplc.com"]):not([href*="potterandmooreplc.com"]):not([href*="www.potterandmooreplc.com"]):not([href*="www.creightonsplc.com"]):after, ul.tabs a[target=_blank]:after {
  content: "";
  background-color: currentColor;
  width: 16px;
  height: 16px;
  margin: -2px -3px 0 12px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4213 9.38932V14.6834C14.4213 15.1515 14.2354 15.6003 13.9045 15.9313C13.5735 16.2622 13.1247 16.4481 12.6566 16.4481H2.95074C2.48271 16.4481 2.03385 16.2622 1.70291 15.9313C1.37196 15.6003 1.18604 15.1515 1.18604 14.6834V4.97755C1.18604 4.50952 1.37196 4.06066 1.70291 3.72972C2.03385 3.39877 2.48271 3.21284 2.95074 3.21284H8.24486' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.8916 1.44814H16.1857V6.74225' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.50619 9.12796L16.1862 1.44814' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-size: cover;
}
ul.tabs a.active, ul.tabs a:hover, ul.tabs a:active, ul.tabs a:focus {
  color: #fff !important;
  background: #101820;
  outline: none;
}
ul.tabs.fw li {
  display: flex;
  align-items: stretch;
  flex-grow: 1;
  flex-basis: 0;
}
ul.tabs.fw li a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vert ul.tabs {
  display: flex;
  flex-direction: column;
  width: calc(35% - 30px);
  margin: 0 30px 0 0;
  padding: 0;
  border: none;
  box-shadow: none;
}
.vert ul.tabs li {
  width: 100%;
  margin: 0 0 5px 0;
}
.vert ul.tabs a {
  padding: 1.7ch 1rem;
  box-shadow: none;
}
@media (min-width: 750px) {
  .vert .tab-panel {
    width: 65%;
  }
}
@media (min-width: 1024px) {
  .vert ul.tabs {
    width: 180px;
  }
  .vert .tab-panel {
    width: calc(100% - 215px);
  }
}

@media (max-width: 749px) {
  .acc ul.tabs {
    display: none;
  }
}
.tab-panel > div {
  overflow-x: hidden;
}

@media (max-width: 749px) {
  .tab-group.acc {
    padding: 0;
  }
  .tab-group.acc .tab-panel {
    display: block !important;
    width: 100%;
    padding: 0;
  }
  .tab-group.acc .tab-panel + .tab-panel {
    margin-top: 1rem !important;
  }
  .tab-group.acc .tab-panel > input {
    display: none;
  }
  .tab-group.acc .tab-panel > input + .acc-title {
    display: block;
    font-family: var(--wp--preset--font-family--secondary);
    line-height: 1.35;
    padding: 12px 42px 11px 14px;
    margin: 0;
    color: #101820;
    background: linear-gradient(to bottom right, rgba(144, 99, 205, 0.1) 0%, rgba(193, 167, 226, 0.2) 100%);
    border: 1px solid rgba(193, 167, 226, 0.2);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease-in-out;
  }
  .tab-group.acc .tab-panel > input + .acc-title:after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    cursor: pointer;
    background-color: #5C068C;
    mask: url(../../../assets/images/theme/acc-plus.svg) no-repeat center/contain;
    position: absolute;
    top: calc(50% - 8px);
    right: 12px;
  }
  .tab-group.acc .tab-panel > input + .acc-title:hover {
    color: #5C068C;
  }
  .tab-group.acc .tab-panel > input + .acc-title span {
    display: block;
  }
  .tab-group.acc .tab-panel > input + .acc-title strong {
    font-size: var(--wp--preset--font-size--font-16);
    font-weight: 300;
    color: #5C068C;
  }
  .tab-group.acc .tab-panel > input + .acc-title + .acc-panel {
    height: 0;
    visibility: hidden;
    padding: 0;
    border: 1px solid transparent;
    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, padding 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 + .acc-title + .acc-panel .wp-block-columns:first-child {
    margin-top: 0;
  }
  .tab-group.acc .tab-panel > input + .acc-title + .acc-panel .wp-block-columns:last-child {
    margin-bottom: 0;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title:after {
    mask: url(../../../assets/images/theme/acc-minus.svg) no-repeat center/contain;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title + .acc-panel {
    height: auto;
    visibility: visible;
    padding: 25px 0 5px 0;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title + .acc-panel > div {
    padding: 0 20px;
    border-left: 1px solid #C1A7E2;
    border-right: 1px solid #C1A7E2;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title + .acc-panel > * {
    opacity: 1;
  }
  .tab-group.acc .tab-group.acc .tab-panel > input + .acc-title {
    font-size: var(--wp--preset--font-size--font-15);
    font-weight: 400;
    padding: 10px 42px 10px 14px;
    background: #EAEAEA;
    border: none;
    border-radius: 0;
  }
  .tab-group.acc .tab-group.acc .tab-panel > input + .acc-title:after {
    width: 12px;
    height: 12px;
    top: calc(50% - 5px);
  }
  .tab-group.acc .tab-group.acc .tab-panel > input:checked + .acc-title {
    font-weight: 600;
    color: #5C068C;
  }
  .is-style-no-border.tab-group.acc .tab-panel > input:checked + .acc-title + .acc-panel > div {
    border: none;
    padding-left: 0;
    padding-right: 0;
  }
  .tab-group.tabs .tab-panel > input,
  .tab-group.tabs .tab-panel > label {
    display: none;
  }
  .tab-group.tabs .tab-panel > div {
    opacity: 0;
    animation: fadeIn 0.45s forwards 0.15s;
  }
  .tab-group.tabs .tab-panel.active {
    display: block;
  }
}
@media (min-width: 750px) {
  .tab-panel > input,
  .tab-panel > label {
    display: none;
  }
  .tab-panel > div {
    animation: fadeIn 0.45s forwards 0.15s;
    opacity: 0;
  }
  .tab-panel.active {
    display: block;
  }
}
.page-id-55 .tab-panel > div {
  overflow-x: visible;
}

.tab-group .results-acc ul.tabs {
  padding: 0;
  background: linear-gradient(to bottom right, rgba(144, 99, 205, 0.1) 0%, rgba(193, 167, 226, 0.2) 100%);
  border-radius: 0;
}
.tab-group .results-acc ul.tabs li {
  padding: 0;
}
.tab-group .results-acc ul.tabs li:last-child {
  margin-left: auto;
}
.tab-group .results-acc ul.tabs a {
  font-weight: 500;
  padding: 1.35ch 1.2rem;
  background: transparent;
  border-radius: 0;
  transition: color 0.25s ease-in-out, font-weight 0.25s ease-in-out !important;
}
.tab-group .results-acc ul.tabs a.active, .tab-group .results-acc ul.tabs a:hover, .tab-group .results-acc ul.tabs a:active, .tab-group .results-acc ul.tabs a:focus {
  font-weight: 600;
  color: #5C068C !important;
  background: transparent;
  outline: none;
}

.results-table {
  padding: 1.5rem 0 0 0;
}
.results-table .file {
  display: block;
  line-height: 1.45;
}
.results-table .file .name {
  font-family: var(--wp--preset--font-family--secondary);
  padding: 0 0 1.5rem 0;
  border-bottom: 1px solid #101820;
}
.results-table .file .name span {
  display: block;
}
.results-table .file .name span.date {
  font-size: var(--wp--preset--font-size--font-16);
  padding: 0 0 0.8rem 0;
}
.results-table .file .name span.title {
  font-size: var(--wp--preset--font-size--font-20);
  font-weight: 500;
  color: #101820;
}
@media (min-width: 782px) {
  .results-table .file .name {
    display: flex;
    gap: 2rem;
    margin: 0 0 1.5ch 0;
    padding: 0 0 1.2rem 0;
  }
  .results-table .file .name span {
    display: block;
  }
  .results-table .file .name span.date {
    width: 120px;
    font-size: var(--wp--preset--font-size--font-17);
    padding: 0.2ch 0 0 0;
  }
  .results-table .file .name span.title {
    width: calc(100% - 140px);
  }
}
.results-table .file .results-files {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0 4.5rem 0;
}
.results-table .file .results-files a {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  color: #4B4D4F;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.075rem;
  text-underline-position: under;
  transition: text-decoration 0.25s ease-in-out, color 0.25s ease-in-out;
}
.results-table .file .results-files a:hover, .results-table .file .results-files a:active, .results-table .file .results-files a:focus {
  color: #5C068C;
  text-decoration: underline;
}
.results-table .file .results-files .icon svg {
  width: 26px;
  height: 26px;
}
.results-table .file .results-files .empty {
  display: none;
}
@media (min-width: 540px) {
  .results-table .file .results-files {
    flex-direction: row;
    gap: 3.5rem;
  }
}
@media (min-width: 782px) {
  .results-table .file .results-files {
    margin: 0 0 4.5rem 0;
  }
}

.archived-year {
  padding: 1.5rem 0 0 0;
}
.archived-year > h4 {
  color: #5C068C;
}
.archived-year .results-table {
  padding: 0;
}

@media (min-width: 820px) and (max-width: 1023px) {
  .results-table {
    padding-bottom: 18.5%;
  }
}
