﻿@import "./modules/kpds-tokens.css";
@import "./modules/kpds-form-controls.css";

.kpds {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  color: #111;
}

.kpds button,
.kpds input,
.kpds select,
.kpds a.kpds-cta,
.kpds a.kpds-page-btn {
  border-radius: 0 !important;
}

.kpds-gallery button,
.kpds-gallery input,
.kpds-gallery select,
.kpds-gallery a {
  border-radius: 0 !important;
}

.kpds button,
.kpds-gallery button,
.kpds a.kpds-cta,
.kpds a.kpds-page-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kpds button,
.kpds-gallery button {
  appearance: none;
  -webkit-appearance: none;
}

.kpds button:not(:disabled),
.kpds-gallery button:not(:disabled) {
  cursor: pointer;
}

.kpds button:disabled,
.kpds-gallery button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.kpds-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
  padding: 18px;
  background: #ddd;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.kpds-filter > * {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.kpds-filter__field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #e7e7e7;
  border-radius: 0;
  padding: 0 18px;
  min-height: 60px;
  position: relative;
}

.kpds-filter__icon {
  align-items: center;
  color: inherit;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  cursor: pointer;
}

.kpds-filter__field--search {
  flex: 1 1 300px;
  min-width: 230px;
  max-width: 350px;
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
}

.kpds-filter__field--search .kpds-filter__school,
.kpds-filter__field--search .kpds-gallery__school {
  color: #111;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  min-width: 0;
  text-transform: none;
}

.kpds-filter__school::placeholder {
  color: #111;
  opacity: 1;
}

.kpds-gallery__school::placeholder {
  color: #111;
  opacity: 1;
}

.kpds input::placeholder,
.kpds textarea::placeholder,
.kpds-gallery input::placeholder,
.kpds-gallery textarea::placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  opacity: 1;
}

.kpds-filter__search-btn,
.kpds-filter__clear,
.kpds-filter__calendar-btn {
  align-items: center;
  background: #E52823;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 60px;
}

.kpds-filter__search-btn i,
.kpds-filter__clear i,
.kpds-filter__calendar-btn i {
  font-size: 24px;
}

.kpds-filter__field--month {
  flex: 1 1 260px;
  min-width: 180px;
  max-width: 320px;
  width: 100%;
  justify-content: space-between;
  position: relative;
  padding-right: 54px;
}

.kpds-filter__field--month .kpds-filter__icon {
  font-size: 24px;
  pointer-events: auto;
  position: absolute;
  right: 20px;
  z-index: 2;
}

.kpds-filter__field--date {
  flex: 0 0 170px;
  min-width: 150px;
  max-width: 100%;
}

.kpds-filter__input {
  border: 0;
  outline: none;
  font: inherit;
  width: 100%;
  min-width: 132px;
  background: transparent;
  text-transform: none;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  line-height: 1.2;
}

.kpds-filter__month,
.kpds-gallery__month {
  width: 100%;
}

.kpds-filter__field--month .kpds-filter__input,
.kpds-month__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  border-radius: 0;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.kpds-filter__field--date .kpds-filter__input {
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

.kpds-filter__field--search .kpds-filter__input,
.kpds-filter__field--date .kpds-filter__input,
.kpds-filter__field--month .kpds-filter__input,
.kpds-cal-start-date,
.kpds-month__select {
  min-height: 60px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.kpds-filter__field--month .kpds-filter__input {
  cursor: pointer;
  padding-right: 28px;
}

.kpds-filter__school,
.kpds-gallery__school {
  width: 100%;
  text-transform: none;
  font-weight: 500;
}

.kpds-filter__from,
.kpds-filter__to,
.kpds-gallery__from,
.kpds-gallery__to {
  width: 100%;
  min-width: 0;
  text-transform: none;
  font-weight: 600;
}

.kpds-filter__search-btn {
  min-width: 68px;
  padding: 0;
}

.kpds-filter__clear {
  min-width: 68px;
  padding: 0;
}

.kpds-filter__calendar-btn {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 320px;
  padding: 0 28px;
  text-transform: uppercase;
}

.kpds-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 1 auto;
  min-width: 0;
}

.kpds-filter-align-left .kpds-filter {
  justify-content: flex-start;
}

.kpds-filter-align-left .kpds-controls {
  justify-content: flex-start;
}

.kpds-filter-align-center .kpds-filter {
  justify-content: center;
}

.kpds-filter-align-center .kpds-controls {
  justify-content: center;
}

.kpds-filter-align-right .kpds-filter {
  justify-content: flex-end;
}

.kpds-filter-align-right .kpds-controls {
  justify-content: flex-end;
}

.kpds-filter-align-between .kpds-filter {
  justify-content: space-between;
}

.kpds-filter-align-between .kpds-controls {
  margin-left: auto;
}

.kpds-controls__label {
  color: #111;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
  margin-right: 8px;
}

.kpds-toggle {
  border: 0;
  background: #E52823;
  color: #fff;
  min-height: 60px;
  min-width: 60px;
  padding: 0;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
}

.kpds-toggle i {
  font-size: 28px;
}

.kpds-modal-open {
  overflow: hidden;
}

.kpds-cal-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kpds-cal-modal[hidden] {
  display: none !important;
}

.kpds-cal-modal__dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0;
  padding: 20px;
  color: #111;
  position: relative;
}

.kpds-cal-modal__title {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
}

.kpds-cal-modal__intro {
  margin: 0 0 14px;
}

.kpds-cal-modal__schools {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.kpds-cal-modal__school {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.kpds-cal-modal__school span {
  flex: 1 1 220px;
  text-align: left;
}

.kpds-cal-modal__school-sub {
  margin-left: auto;
}

.kpds-cal-modal__school input {
  width: 18px;
  height: 18px;
}

.kpds-cal-school,
.kpds-cal-school-all {
  accent-color: #E52823;
}

.kpds-cal-modal__school--select-all {
  border-bottom: 1px solid #d1d5db;
  margin-bottom: 4px;
  padding-bottom: 8px;
}

.kpds-cal-modal__date-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.kpds-cal-start-date {
  width: 100%;
  max-width: 220px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
}

.kpds-cal-modal__note {
  margin: 10px 0 8px;
  opacity: 0.9;
}

.kpds-cal-modal__status {
  margin: 0 0 10px;
  min-height: 20px;
  color: #fca5a5;
  font-weight: 700;
}

.kpds-cal-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.kpds-cal-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kpds-cal-modal__cancel,
.kpds-cal-modal__subscribe,
.kpds-cal-modal__download {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.kpds-cal-modal__cancel {
  background: #f3f4f6;
  color: #111;
}

.kpds-cal-modal__subscribe {
  background: #111;
  color: #fff;
  text-transform: none;
}

.kpds-cal-modal__download {
  background: #E52823;
  color: #fff;
}

.kpds-cal-modal__school-sub,
.kpds-cal-modal__season-subscribe a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-transform: none;
}

.kpds-cal-modal__season-subscribe {
  padding-top: 16px;
}
.kpds-toggle:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.kpds-filter__input:focus-visible,
.kpds-filter__search-btn:focus-visible,
.kpds-filter__clear:focus-visible,
.kpds-filter__calendar-btn:focus-visible,
.kpds-month__select:focus-visible,
.kpds-cal-modal__close:focus-visible,
.kpds-cal-modal__cancel:focus-visible,
.kpds-cal-modal__subscribe:focus-visible,
.kpds-cal-modal__download:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

.kpds-toggle.is-active {
  background: #E52823;
  color: #fff;
}

@media (max-width: 1280px) {
  .kpds-controls {
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .kpds-controls {
    justify-content: flex-end;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .kpds--results.kpds--results-no-search .kpds-filter {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .kpds--results.kpds--results-no-search .kpds-filter__field--month {
    flex: 0 0 320px;
    min-width: 320px;
    max-width: 320px;
  }

  .kpds--results.kpds--results-no-search .kpds-filter__clear {
    flex: 0 0 68px;
    min-width: 68px;
  }

  .kpds--results.kpds--results-no-search .kpds-controls {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
    gap: 10px;
  }

  .kpds--results .kpds-controls__label {
    display: none;
  }

  .kpds-filter {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
  }

  .kpds-filter__field {
    min-height: 56px;
    padding: 0 14px;
  }

  .kpds-filter__field--search {
    flex: 1 1 190px;
    min-width: 180px;
    max-width: none;
  }

  .kpds-filter__field--month {
    flex: 1 1 190px;
    min-width: 170px;
    max-width: none;
    padding-right: 50px;
  }

  .kpds-filter__field--date {
    flex: 0 1 128px;
    min-width: 116px;
  }

  .kpds-filter__search-btn,
  .kpds-filter__clear,
  .kpds-toggle {
    min-height: 56px;
    min-width: 56px;
  }

  .kpds-filter__calendar-btn {
    min-height: 56px;
    flex: 0 1 340px;
    padding: 0 20px;
    white-space: nowrap;
  }

  .kpds-controls {
    margin-left: 0;
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .kpds-controls__label {
    margin-right: 6px;
    white-space: nowrap;
  }
}

.kpds-day__label {
display: block;
  align-items: center;
  justify-content: center;
  background: #3A1826;
  color: #fff;
  padding: 10px;
  border-radius: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: "Montserrat", sans-serif;
  line-height: 1;
  margin: 14px auto;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(20px, 2.6vw, 44px);
}

.kpds-day {
  background: #fff;
  padding: 14px;
  box-shadow: 0 0 0 1px #f2f2f2, 0 10px 26px #f2f2f2;
  border-radius: 0;
  margin-bottom: 18px;
}

.kpds-match {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0 0 14px 0;
  min-height: 74px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.kpds-match--fixture {
  --kpds-side-size: 150px;
  display: grid;
  grid-template-columns: var(--kpds-side-size) 1fr var(--kpds-side-size);
  border-radius: 0;
  background: #e3e3e3;
  min-height: var(--kpds-side-size);
}

.kpds-fixture-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  position: relative;
}

.kpds-fixture-side::before,
.kpds-fixture-side::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #D0AD6A;
}

.kpds-fixture-side--home::before {
  left: 0;
}

.kpds-fixture-side--home::after {
  right: 0;
}

.kpds-fixture-side--away::before {
  left: 0;
}

.kpds-fixture-side--away::after {
  right: 0;
}

.kpds-fixture-side__logo {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpds-fixture-side__name {
  display: none;
}

.kpds-fixture-side .kpds-team__img {
  max-width: 82px;
  max-height: 82px;
}

.kpds-fixture-main {
  background: #e3e3e3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 18px 24px;
}

.kpds-fixture-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding-bottom: 20px;
}

.kpds-fixture-delayed {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.kpds-fixture-school {
  font-size: clamp(24px, 2vw, 42px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  line-height: 1.05;
}

.kpds-fixture-time {
  font-size: clamp(24px, 2vw, 42px);
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.kpds-fixture-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  padding:5px;
}

.kpds-fixture-meta__item {
  display: inline-flex;
  align-items: center;
   padding:5px;
}

.kpds-fixture-meta__item + .kpds-fixture-meta__item::before {
  margin: 0 14px;
  opacity: .75;
}

.kpds-fixture-meta__link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.kpds-fixture-meta__link:hover,
.kpds-fixture-meta__link:focus-visible {
  text-decoration: none;
}

.kpds-watch-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.kpds-watch-sep {

}

.kpds-watch-link {
  color: inherit;
}

.kpds-watch-platform {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  padding:5px;
}

.kpds-watch-platform-name {
  line-height: 1;
}

.kpds-watch-platform .kpds-platform__img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 30px;
  max-width: 180px;
  object-fit: contain;
  aspect-ratio: auto;
}

.kpds-live-badge {
  margin-left: 0;
  background: #b10f1f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.kpds-live-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #00c853;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 14px;
}

.kpds-fixture-main .kpds-cta-row {
  justify-content: center;
}

.kpds-fixture-main .kpds-cta {
  background: #E52823;
  border-radius: 0;
  font-size: 16px;
  font-weight: 800;
  min-height: 0;
  padding: 12px 24px;
}



.kpds-fixture-meta .kpds-cta--calendar-inline {
  align-items: center;
  background: #E52823;
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 8px 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.kpds-fixture-meta .kpds-cta--calendar-inline i {
  font-size: 0.95em;
  line-height: 1;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.kpds-team {
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpds-team__logo {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpds-team__img {
  max-width: 42px;
  max-height: 42px;
  height: auto;
  width: auto;
}

.kpds-school-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kpds-school-link:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.kpds-team--home {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
}

.kpds-team--away {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

.kpds-gold {
  width: 6px;
  background: #D0AD6A;
}

.kpds-centre {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 10px;
  gap: 6px;
}

.kpds-centre__names {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kpds-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1.2;
  max-width: 40%;
  overflow-wrap: anywhere;
}

.kpds-time, .kpds-score {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
}

.kpds-score {
  color: #257153;
}

.kpds-result-scoreline {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}

.kpds-score-part {
  color: #111;
  font-weight: 800;
  line-height: 1;
}

.kpds-score-sep {
  color: #111;
  font-weight: 700;
  line-height: 1;
}

.kpds-score-part--high {
  color: #257153;
}

.kpds-score-part--low {
  color: #E52823;
}

.kpds-score-part--tie {
  color: #111;
}

.kpds-match--result-fixture {
  grid-template-columns: var(--kpds-side-size) 1fr var(--kpds-side-size);
}

.kpds-match--result-fixture .kpds-fixture-main--result {
  align-items: stretch;
  gap: 14px;
  justify-content: center;
  padding: 14px 28px;
}

.kpds-match--result-fixture .kpds-fixture-head--result {
  column-gap: 24px;
  min-height: 0;
  padding-bottom: 0;
}

.kpds-match--result-fixture .kpds-fixture-head--result .kpds-fixture-school {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 44px);
  font-weight: 800;
  justify-content: center;
  justify-self: center;
  line-height: 1.1;
  max-width: none;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.kpds-match--result-fixture .kpds-result-scoreline {
  color: #fff;
  font-size: clamp(24px, 2.2vw, 46px);
  font-weight: 800;
  justify-self: center;
  min-width: max-content;
}

.kpds-match--result-fixture .kpds-score-sep {
  color: #fff;
}

.kpds-match--result-fixture .kpds-fixture-main--result .kpds-cta,
.kpds-match--result-fixture .kpds-fixture-main--result .kpds-embed-toggle {
  border-radius: 999px !important;
}

.kpds-meta {
  font-size: 12px;
  opacity: .9;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.kpds-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.kpds-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 0;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.kpds-cta:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.kpds-embed-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.kpds-embed-toggle:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.kpds-highlight-embed {
  margin-top: 8px;
}

.kpds-highlight-embed iframe,
.kpds-highlight-embed video {
  width: 100%;
  max-width: 360px;
  min-height: 180px;
  border: 0;
  border-radius: 0;
}

.kpds-platform a {
  text-decoration: none;
  font-weight: 800;
}
.kpds-platform a:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.kpds-platform__img {
  max-height: 18px;
  width: auto;
  height: auto;
  display: inline-block;
}

.kpds-delayed {
  font-weight: 800;
}

.kpds-live {
  margin-left: 8px;
  font-weight: 900;
  font-size: 11px;
}

.kpds-live__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 0;
  margin-right: 6px;
  vertical-align: middle;
}

.kpds-view[hidden] {
  display: none !important;
}

.kpds-empty,
.kpds-month__empty {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 0;
  background: #f8fafc;
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-weight: 700;
}

.kpds--results .kpds-empty {
  text-align: center;
}

.kpds-load-more-wrap {
  margin: 16px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.kpds-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.18);
  background: #111;
  color: #fff;
  border-radius: 0;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.kpds-load-more-btn:disabled {
  opacity: .7;
  cursor: wait;
}

.kpds-load-more-status {
  min-height: 18px;
  font-size: 12px;
  font-weight: 700;
  color: #b42318;
}

.kpds-load-more-sentinel {
  width: 100%;
  height: 1px;
}

.kpds-pagination {
  margin: 14px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kpds-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.kpds-page-meta {
  font-size: 12px;
  font-weight: 800;
  opacity: .85;
}

/* Desktop enhancements */
@media (min-width: 768px) {
  .kpds-team { width: 110px; }
  .kpds-team__logo { width: 60px; height: 60px; }
  .kpds-team__img { max-width: 54px; max-height: 54px; }
  .kpds-name { font-size: 14px; }
  .kpds-time, .kpds-score { font-size: 14px; }
  .kpds-centre { padding: 14px 16px; }
  .kpds-match { min-height: 92px; }
  .kpds-match--fixture { max-height: 185px; }
}

@media (min-width: 1200px) {
  .kpds-match--fixture {
    --kpds-side-size: 150px;
    grid-template-columns: var(--kpds-side-size) 1fr var(--kpds-side-size);
    min-height: var(--kpds-side-size);
  }

  .kpds-fixture-side__logo {
    width: 96px;
    height: 96px;
  }

  .kpds-fixture-side .kpds-team__img {
    max-width: 90px;
    max-height: 90px;
  }

  .kpds-fixture-meta {
    flex-wrap: nowrap;
  }
}

.kpds-month__header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.kpds-month__select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.kpds-month__select-wrap::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
  color: #111;
  position: absolute;
  right: 18px;
  pointer-events: none;
}

.kpds-month__select {
  min-height: 60px;
  min-width: 220px;
  max-width: 100%;
  padding: 0 52px 0 18px;
  background: #e7e7e7;
  cursor: pointer;
}

.kpds-month__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: auto;
}

.kpds-month__row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.kpds-month__cell {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0;
  padding: 8px;
  min-height: 72px;
  font-size: 11px;
}

.kpds-month__cell--head {
  background: #111;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  min-height: auto;
}

.kpds-month__cell--empty {
  background: transparent;
  border: 0;
}

.kpds-month__date {
  font-weight: 900;
  margin-bottom: 6px;
}

.kpds-month__match {
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
}

.kpds-month__time {
  opacity: .75;
  font-weight: 900;
}

.kpds-month__more {
  font-weight: 900;
  opacity: .75;
}

.kpds-gallery {
  --kpds-gallery-columns: 3;
}

.kpds-gallery[data-columns="1"] {
  --kpds-gallery-columns: 1;
}

.kpds-gallery[data-columns="2"] {
  --kpds-gallery-columns: 2;
}

.kpds-gallery[data-columns="3"] {
  --kpds-gallery-columns: 3;
}

.kpds-gallery[data-columns="4"] {
  --kpds-gallery-columns: 4;
}

.kpds-gallery__grid {
  display: grid;
  grid-template-columns: repeat(var(--kpds-gallery-columns), minmax(0, 1fr));
  gap: 18px;
}

.kpds-gallery__month-section {
  margin-bottom: 18px;
}

.kpds-gallery__month-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  background: #3A1826;
  color: #fff;
  border: 1px solid #E52823;
  padding: 10px 18px;
  font-size: clamp(20px, 2.4vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kpds-gallery__card {
  position: relative;
  display: block;
  border: 3px solid #D0AD6A;
  background: #111;
  text-decoration: none;
  overflow: hidden;
}

.kpds-gallery__card--nolink {
  cursor: default;
}

.kpds-gallery__card-meta {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}

.kpds-gallery__school-name {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.kpds-gallery__gallery-url {
  font-size: 12px;
  opacity: 0.85;
  word-break: break-all;
}

.kpds-gallery__card-thumb {
  position: relative;
}

.kpds-gallery__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.kpds-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.kpds-gallery__overlay-btn {
  padding: 0.75rem 1.25rem;
  background: #E52823;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
}

.kpds-gallery__card:hover .kpds-gallery__img {
  opacity: 0.3;
}

.kpds-gallery__card:hover .kpds-gallery__overlay {
  opacity: 1;
}

.kpds-gallery__empty {
  margin: 12px 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-weight: 700;
}

@media (max-width: 600px) {
  .kpds-filter,
  .kpds-filter__field,
  .kpds-filter__input,
  .kpds-filter__search-btn,
  .kpds-filter__clear,
  .kpds-filter__calendar-btn,
  .kpds-controls,
  .kpds-toggle {
    border-radius: 0 !important;
  }

  .kpds-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 98px;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }

  .kpds-filter__field {
    min-width: 0;
    min-height: 78px;
    width: 100%;
    max-width: none;
    padding: 0 20px;
    justify-content: flex-start;
  }

  .kpds-filter__field--search {
    grid-column: 1;
    max-width: none;
  }

  .kpds-filter__field--month {
    grid-column: 1;
    padding-right: 58px;
  }

  .kpds-filter__field--date {
    grid-column: 1 / -1;
  }

  .kpds-filter__search-btn,
  .kpds-filter__clear {
    grid-column: 2;
    min-width: 98px;
    width: 98px;
    min-height: 78px;
    justify-content: center;
  }

  .kpds-filter__search-btn i,
  .kpds-filter__clear i {
    font-size: 42px;
  }

  .kpds-filter__calendar-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 86px;
    justify-content: center;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
  }

  .kpds-controls {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px 86px;
    gap: 12px;
    align-items: center;
    margin-left: 0;
    width: 100%;
    justify-content: initial;
  }

  .kpds-controls__label {
    width: auto;
    text-align: left;
    margin-right: 0;
    font-size: clamp(20px, 6.4vw, 34px);
    font-weight: 700;
    line-height: 1;
  }

  .kpds-toggle {
    width: 86px;
    min-width: 86px;
    min-height: 86px;
  }

  .kpds-toggle i {
    font-size: 34px;
  }

  .kpds-filter__field--search .kpds-filter__school,
  .kpds-filter__field--search .kpds-gallery__school {
    font-size: 22px;
    font-weight: 500;
  }

  .kpds-filter__input {
    font-size: 22px;
    font-weight: 500;
  }

  .kpds-filter__field--month .kpds-filter__input,
  .kpds-filter__field--date .kpds-filter__input,
  .kpds-month__select {
    font-size: 22px;
    min-height: 78px;
    font-weight: 500;
  }

  .kpds-filter__field--month .kpds-filter__icon {
    right: 18px;
    font-size: 36px;
  }
  .kpds-team {
    width: 56px;
  }
  .kpds-team__logo {
    width: 38px;
    height: 38px;
  }
  .kpds-team__img {
    max-width: 34px;
    max-height: 34px;
  }
  .kpds-centre {
    padding: 10px 8px;
  }
  .kpds-centre__names {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .kpds-name,
  .kpds-time,
  .kpds-score {
    max-width: 100%;
    font-size: 12px;
  }
  .kpds-month__row {
    min-width: 560px;
  }
  .kpds-gallery__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kpds-day__label {
   display: block;
    width: fit-content;
    max-width: 100%;
    min-height: 0;
    padding: 8px;
    font-size: 20px;
  }

  .kpds-day {
    padding: 10px;
  }

  .kpds-match--fixture {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .kpds-fixture-side {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 10px;
  }

  .kpds-fixture-side--away {
    flex-direction: row-reverse;
  }

  .kpds-fixture-side__name {
    color: #fff;
    display: block;
    flex: 1 1 auto;
    font-size: clamp(30px, 8.2vw, 62px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    text-align: left;
    text-transform: none;
    word-break: break-word;
    padding-left: 20px;

  }

  .kpds-fixture-side__logo {
    width: 86px;
    height: 86px;
    flex: 0 0 auto;
  }

  .kpds-fixture-side .kpds-team__img {
    max-width: 82px;
    max-height: 82px;
  }

  .kpds-fixture-main {
    padding: 18px 12px;
    gap: 12px;
    text-align: center;
    align-items: center;
  }

  .kpds-fixture-head {
    grid-template-columns: 1fr;
    gap: 6px;
    justify-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .kpds-fixture-head .kpds-fixture-school {
    display: none;
  }

  .kpds-fixture-school {
    font-size: 20px;
    text-align: center;
  }

  .kpds-fixture-time {
    font-size: clamp(56px, 14vw, 96px);
    line-height: 1;
    font-weight: 500;
    text-align: center;
  }

  .kpds-fixture-meta {
    font-size: 13px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    width: 100%;
  }

  .kpds-fixture-meta__item {
    display: flex;
    justify-content: center;
    padding: 0;
    width: 200px;
  }

  .kpds-fixture-meta__item + .kpds-fixture-meta__item::before {
    content: none;
  }

  .kpds-watch-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .kpds-watch-sep {
    margin: 0 8px;
    opacity: 0.8;
  }

  .kpds-watch-link {
    display: flex;
    justify-content: center;
    text-decoration: none;
    width: 100%;
  }

  .kpds-watch-platform {
    height: 44px;
    width: 100%;
    justify-content: center;
    padding: 0 16px;
  }

  .kpds-watch-platform .kpds-platform__img {
    max-height: 26px;
    max-width: 140px;
  }

  .kpds-fixture-meta .kpds-cta--calendar-inline {
    border-radius: 999px;
    height: 44px;
    width: 100%;
    padding: 0 20px;
    font-size: 14px;
    justify-content: center;
  }

  .kpds-fixture-main .kpds-cta-row {
    justify-content: center;
    width: 100%;
  }

  .kpds-fixture-main .kpds-cta,
  .kpds-fixture-main .kpds-embed-toggle,
  .kpds-fixture-meta .kpds-cta--calendar-inline {
    justify-content: center;
    text-align: center;
  }

  .kpds-live-badge {
    margin-left: 0;
    gap: 5px;
    font-size: 14px;
    padding: 10px 14px;
  }

  .kpds-live-badge::before {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .kpds-match--result-fixture {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .kpds-match--result-fixture .kpds-fixture-side {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 10px;
  }

  .kpds-match--result-fixture .kpds-fixture-side--away {
    flex-direction: row-reverse;
  }

  .kpds-match--result-fixture .kpds-fixture-side__name {
    color: #fff;
    display: block;
    flex: 1 1 auto;
    font-size: clamp(30px, 8.2vw, 62px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    text-align: left;
    text-transform: none;
    word-break: break-word;
    padding-left: 20px;
  }

  .kpds-match--result-fixture .kpds-fixture-side__logo {
    width: 86px;
    height: 86px;
    flex: 0 0 auto;
  }

  .kpds-match--result-fixture .kpds-fixture-side .kpds-team__img {
    max-width: 82px;
    max-height: 82px;
  }

  .kpds-match--result-fixture .kpds-fixture-main--result {
    align-items: center;
    padding: 18px 12px;
    gap: 12px;
    text-align: center;
  }

  .kpds-match--result-fixture .kpds-fixture-head--result {
    grid-template-columns: 1fr;
    gap: 6px;
    justify-items: center;
    text-align: center;
    padding-bottom: 0;
    width: 100%;
  }

  .kpds-match--result-fixture .kpds-fixture-head--result .kpds-fixture-school {
    display: none;
  }

  .kpds-match--result-fixture .kpds-result-scoreline {
    font-size: clamp(56px, 14vw, 96px);
    line-height: 1;
    font-weight: 500;
    text-align: center;
    gap: 10px;
  }

  .kpds-match--result-fixture .kpds-fixture-main--result .kpds-cta,
  .kpds-match--result-fixture .kpds-fixture-main--result .kpds-embed-toggle {
    border-radius: 999px !important;
    height: 44px;
    min-width: 160px;
    padding: 0 20px;
    font-size: 14px;
    justify-content: center;
  }
}

/ *   F o c u s   s t y l e   f o r   g a l l e r y   c a r d s   * /   . k p d s - g a l l e r y _ _ c a r d : f o c u s { o u t l i n e : 2 p x   s o l i d   # E 5 2 8 2 3 ; o u t l i n e - o f f s e t : 2 p x }  
 