/* si-squad-widget-01 — every selector is scoped under the plugin root.
   The binding's colours arrive as inline custom properties on the root
   (--sisq-bar, --sisq-bar-text, --sisq-accent, --sisq-name), overriding the
   defaults. Sizes follow the old gmrsports.in players pages. */

.si-squad-widget-01 {
  --sisq-font: Manrope, manrope, system-ui, sans-serif;
  --sisq-bar: #ebebeb;
  --sisq-bar-text: #00020d;
  --sisq-accent: #f5a300;
  --sisq-name: #033059;
  --sisq-heading: #033059;
  --sisq-text: #00020d;
  --sisq-muted: #6b6b6b;
  --sisq-white: #fff;
  --sisq-tile: #f2f2f2;
  --sisq-card: rgb(0 2 13 / 1%);
  --sisq-card-alt: rgb(0 2 13 / 5%);
  --sisq-photo-alt: rgb(242 242 242 / 50%);
  --sisq-group-line: #f2f2f2;
  --sisq-group-line-phone: rgb(0 2 13 / 30%);
  --sisq-tile-line: #4f4f4f;
  --sisq-tile-shadow: 0 2px 8px -2px rgb(0 2 13 / 30%);
  --sisq-filter-bar: #f2f2f2;
  --sisq-filter-label: #4f4f4f;
  --sisq-filter-value: #00204e;
  --sisq-filter-divider: rgb(0 2 13 / 10%);
  --sisq-chevron: rgb(0 2 13 / 70%);
  --sisq-reset: rgb(0 2 13 / 60%);
  --sisq-reset-icon: rgb(0 2 13 / 50%);
  --sisq-sheet-head: #00327a;
  --sisq-sheet-accent: #f5a500;
  --sisq-sheet-apply-text: #033059;
  --sisq-option-text: #00327a;
  --sisq-option-line: rgb(0 50 122 / 20%);
  --sisq-option-hover: #da3832;
  /* Height the empty and error states hold, so the footer stays low. */
  --sisq-state-min-height: 60vh;

  /* The old site's container (540 / 720 / 960 / 1140 / 1400px by screen width;
     set below), less its 15px gutters. */
  --sisq-container: 100%;

  max-width: var(--sisq-container);
  margin: 0 auto;
  padding: 8px 0 16px;
  font-family: var(--sisq-font);
  color: var(--sisq-text);
}

.si-squad-widget-01,
.si-squad-widget-01 *,
.si-squad-widget-01 *::before,
.si-squad-widget-01 *::after {
  box-sizing: border-box;
}

.si-squad-widget-01 .sisq-icon {
  width: 16px;
  height: 16px;
}

/* ── Skill filter (cricket) ─────────────────────────────────────────────── */

.si-squad-widget-01 .sisq-filters {
  display: flex;
  align-items: stretch;
  min-height: 50px;
  margin-bottom: 15px;
  background: var(--sisq-filter-bar);
}

.si-squad-widget-01 .sisq-filter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 12px;
  width: 207px;
  padding: 5px 15px 5px 11px;
}

/* The divider stops short of the bar's top and bottom, as on the old page. */
.si-squad-widget-01 .sisq-filter::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  bottom: 5px;
  width: 1px;
  background: var(--sisq-filter-divider);
}

.si-squad-widget-01 .sisq-filter__label {
  grid-column: 1;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--sisq-filter-label);
}

.si-squad-widget-01 .sisq-filter__value {
  grid-column: 1;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--sisq-filter-value);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.si-squad-widget-01 .sisq-filter .sisq-icon--chevron-down {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  color: var(--sisq-chevron);
}

.si-squad-widget-01 .sisq-filter--open .sisq-icon--chevron-down {
  transform: rotate(180deg);
}

.si-squad-widget-01 .sisq-filter__button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.si-squad-widget-01 .sisq-filter__button:focus-visible {
  outline: 2px solid var(--sisq-option-text);
  outline-offset: -2px;
}

.si-squad-widget-01 .sisq-filter__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  padding: 0 7.5px;
  border-radius: 0 0 4px 4px;
  background: var(--sisq-filter-bar);
  box-shadow: 0 0 5px 3px rgb(0 2 13 / 25%);
}

.si-squad-widget-01 .sisq-filter__option {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: var(--sisq-option-text);
  cursor: pointer;
}

/* A faint line under each option, 90% wide and centred, as on the old page. */
.si-squad-widget-01 .sisq-filter__option::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 0;
  left: 5%;
  height: 1px;
  background: var(--sisq-option-line);
}

/* Hover, keyboard focus and a picked skill: red with white text. As on the
   old pages, "All" is not highlighted until a skill has been picked. */
.si-squad-widget-01 .sisq-filter__option:hover,
.si-squad-widget-01 .sisq-filter__option:focus-visible,
.si-squad-widget-01
  .sisq-filter:has(.sisq-filter__value--picked)
  .sisq-filter__option--selected {
  outline: none;
  background: var(--sisq-option-hover);
  color: var(--sisq-white);
}

.si-squad-widget-01 .sisq-filter__option:focus-visible {
  box-shadow: inset 0 0 0 2px var(--sisq-option-text);
}

.si-squad-widget-01 .sisq-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 30px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--sisq-reset);
  cursor: pointer;
}

.si-squad-widget-01 .sisq-reset .sisq-icon {
  width: 16px;
  height: 16px;
}

/* ── Groups ─────────────────────────────────────────────────────────────── */

/* Kabaddi and kho kho: a bold heading and a faint line under each group. */
.si-squad-widget-01 .sisq-group {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--sisq-group-line);
}

.si-squad-widget-01 .sisq-group__title {
  margin: 7.5px 0 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.4px;
  color: var(--sisq-heading);
}

.si-squad-widget-01 .sisq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.si-squad-widget-01 .sisq-grid > li {
  display: flex;
}

/* ── Card: shared ───────────────────────────────────────────────────────── */

.si-squad-widget-01 .sisq-card {
  position: relative;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.si-squad-widget-01 a.sisq-card:focus-visible {
  outline: 2px solid var(--sisq-accent);
  outline-offset: 2px;
}

.si-squad-widget-01 .sisq-card__photo {
  display: block;
  overflow: hidden;
}

.si-squad-widget-01 .sisq-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.si-squad-widget-01 .sisq-card__captain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
}

/* ── Card: photo-right (U.P. Yoddhas) and photo-left (Telugu Yoddhas) ──── */

.si-squad-widget-01--photo-right .sisq-card,
.si-squad-widget-01--photo-left .sisq-card {
  display: grid;
  background: var(--sisq-card);
}

/* The name, captain badge and photo are placed by the card's grid. */
.si-squad-widget-01 .sisq-card__main {
  display: contents;
}

/* 260 × 140: name top-left, 100px photo bottom-right 10px in from the edge
   (as the old page), 30px strip across. */
.si-squad-widget-01--photo-right .sisq-card {
  grid-template-areas: "name photo" "bar bar";
  grid-template-columns: 1fr 110px;
  grid-template-rows: 110px 30px;
}

/* 260 × 100: 100px photo on the left; name, then the strip, on the right. */
.si-squad-widget-01--photo-left .sisq-card {
  grid-template-areas: "photo name" "photo bar";
  grid-template-columns: 100px 1fr;
  grid-template-rows: 70px 30px;
  background: none;
}

.si-squad-widget-01--photo-right .sisq-card__name,
.si-squad-widget-01--photo-left .sisq-card__name {
  display: flex;
  grid-area: name;
  flex-direction: column;
  min-width: 0;
  padding: 7.5px 15px 0;
  color: var(--sisq-name);
  font-size: 18px;
  line-height: 25.2px;
  overflow-wrap: normal;
}

.si-squad-widget-01--photo-left .sisq-card__name {
  background: var(--sisq-card-alt);
  font-size: 14px;
  line-height: 19.6px;
}

.si-squad-widget-01 .sisq-card__first {
  font-weight: 700;
}

.si-squad-widget-01 .sisq-card__last {
  font-weight: 600;
}

.si-squad-widget-01--photo-right .sisq-card__photo,
.si-squad-widget-01--photo-left .sisq-card__photo {
  grid-area: photo;
  align-self: end;
  width: 100px;
  height: 100px;
}

.si-squad-widget-01--photo-right .sisq-card__photo {
  margin-right: 10px;
}

.si-squad-widget-01--photo-left .sisq-card__photo {
  background: var(--sisq-photo-alt);
}

.si-squad-widget-01--photo-right .sisq-card__captain,
.si-squad-widget-01--photo-left .sisq-card__captain {
  grid-area: name;
  justify-self: end;
  align-self: start;
  width: 20px;
  height: 20px;
  margin: 7.5px;
  background: var(--sisq-name);
  color: var(--sisq-white);
  font-size: 12px;
}

.si-squad-widget-01--photo-right .sisq-card__bar,
.si-squad-widget-01--photo-left .sisq-card__bar {
  display: flex;
  grid-area: bar;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background: var(--sisq-bar);
  color: var(--sisq-bar-text);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

/* U.P. Yoddhas: the strip turns the accent colour on hover. */
.si-squad-widget-01--photo-right a.sisq-card:hover .sisq-card__bar,
.si-squad-widget-01--photo-right a.sisq-card:focus-visible .sisq-card__bar {
  background: var(--sisq-accent);
}

.si-squad-widget-01--photo-right .sisq-icon--chevron,
.si-squad-widget-01--photo-left .sisq-icon--chevron {
  width: 16px;
  height: 16px;
}

/* ── Card: tile (Dubai / India Capitals) ────────────────────────────────── */

/* Regular heading with a grey rule running to the right edge. */
/* 43px from the last row to the next heading, 44px from a heading to its
   cards, as on the old pages. */
.si-squad-widget-01--tile .sisq-group {
  margin-bottom: 43px;
  padding-bottom: 0;
  border-bottom: 0;
}

.si-squad-widget-01--tile .sisq-group__title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 7.5px 0 22px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--sisq-text);
}

.si-squad-widget-01--tile .sisq-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sisq-tile-line);
}

.si-squad-widget-01--tile .sisq-grid {
  gap: 20px 15px;
}

/* 266 × 330: a 250px photo over an 80px name bar, rounded corners. */
.si-squad-widget-01--tile .sisq-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 7.5px;
  background: var(--sisq-tile);
}

.si-squad-widget-01--tile .sisq-card__photo {
  height: 250px;
}

.si-squad-widget-01--tile .sisq-card__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 18px 10px 10px;
  border-top: 2px solid var(--sisq-accent);
  background: var(--sisq-bar);
  box-shadow: var(--sisq-tile-shadow);
  color: var(--sisq-bar-text);
  text-align: center;
}

/* The role glyph in a 40px accent circle on the bar's top edge. */
.si-squad-widget-01--tile .sisq-card__role {
  position: absolute;
  top: -25px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sisq-accent);
  color: var(--sisq-text);
  transform: translateX(-50%);
}

.si-squad-widget-01--tile .sisq-card__role .sisq-icon {
  width: 18px;
  height: 18px;
}

.si-squad-widget-01--tile .sisq-card__name {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

.si-squad-widget-01--tile .sisq-card__captain {
  position: absolute;
  top: 7.5px;
  left: 10px;
  z-index: 1;
  width: 30px;
  height: 30px;
  background: var(--sisq-accent);
  color: var(--sisq-text);
  /* The old badge is a 12px icon-font glyph that fills its em box; a 15px
     bold letter is the same visible size. */
  font-size: 15px;
  font-weight: 700;
}

/* ── Phone filter bar and panel (below 768px) ───────────────────────────── */

/* As the old players pages on phones (mobile user agents): one 38px "Filter" bar with a filter and a
   reset icon; the filter icon opens a full-screen "Adjust Filters" panel
   (fields stacked, Apply / Reset at the bottom). Hidden from 768px. */
.si-squad-widget-01 .sisq-mfilter {
  display: none;
  align-items: center;
  height: 38px;
  background: var(--sisq-filter-bar);
}

.si-squad-widget-01 .sisq-mfilter__open,
.si-squad-widget-01 .sisq-mfilter__reset {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.si-squad-widget-01 .sisq-mfilter__open {
  flex: 1 1 auto;
  justify-content: space-between;
  min-width: 0;
  padding-left: 8px;
}

.si-squad-widget-01 .sisq-mfilter__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--sisq-filter-value);
}

.si-squad-widget-01 .sisq-mfilter .sisq-icon--filter {
  width: 24px;
  height: 14px;
  margin-right: 7.5px;
  color: var(--sisq-reset-icon);
}

.si-squad-widget-01 .sisq-mfilter__reset {
  flex: none;
  justify-content: center;
  width: 30px;
  color: var(--sisq-reset-icon);
}

.si-squad-widget-01 .sisq-mfilter__reset .sisq-icon {
  width: 16px;
  height: 16px;
}

.si-squad-widget-01 .sisq-mfilter__open:focus-visible,
.si-squad-widget-01 .sisq-mfilter__reset:focus-visible {
  outline: 2px solid var(--sisq-option-text);
  outline-offset: -2px;
}

.si-squad-widget-01 .sisq-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: var(--sisq-white);
}

.si-squad-widget-01 .sisq-sheet__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 7.5px;
  border-radius: 0 0 4px 4px;
  background: var(--sisq-sheet-head);
}

.si-squad-widget-01 .sisq-sheet__title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  color: var(--sisq-white);
}

.si-squad-widget-01 .sisq-sheet__cancel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--sisq-white);
  cursor: pointer;
}

.si-squad-widget-01 .sisq-sheet__cancel .sisq-icon {
  width: 12px;
  height: 12px;
  color: var(--sisq-sheet-accent);
}

.si-squad-widget-01 .sisq-sheet__body {
  flex: 1 1 auto;
  overflow-y: auto;
}

/* Each field: a 40px full-width row with a line under it; its list opens
   in place, pushing the next fields down. */
.si-squad-widget-01 .sisq-sheet .sisq-filter {
  width: 100%;
  min-height: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  padding: 0 15px;
  border-bottom: 1px solid var(--sisq-chevron);
}

/* Two 19.5px lines and the 1px line: 40px a row, as the old panel. */
.si-squad-widget-01 .sisq-sheet .sisq-filter__label,
.si-squad-widget-01 .sisq-sheet .sisq-filter__value {
  line-height: 19.5px;
}

.si-squad-widget-01 .sisq-sheet .sisq-filter::after {
  display: none;
}

.si-squad-widget-01 .sisq-sheet .sisq-filter__button {
  height: 40px;
}

.si-squad-widget-01 .sisq-sheet .sisq-filter .sisq-icon--chevron-down {
  display: block;
  align-self: center;
  width: 18px;
  height: 18px;
}

.si-squad-widget-01 .sisq-sheet .sisq-filter__menu {
  position: relative;
  top: auto;
  z-index: 1;
  grid-column: 1 / -1;
  width: auto;
  margin: 0 -15px;
  padding: 0 7.5px;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
}

.si-squad-widget-01 .sisq-sheet__foot {
  display: flex;
  flex: none;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  box-shadow: 0 1px 10px 1px rgb(0 2 13 / 30%);
}

.si-squad-widget-01 .sisq-sheet__apply,
.si-squad-widget-01 .sisq-sheet__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 140px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.si-squad-widget-01 .sisq-sheet__apply {
  background: var(--sisq-sheet-accent);
  color: var(--sisq-sheet-apply-text);
}

.si-squad-widget-01 .sisq-sheet__reset {
  background: var(--sisq-filter-bar);
  color: var(--sisq-chevron);
  font-weight: 400;
}

.si-squad-widget-01 .sisq-sheet__reset .sisq-icon {
  width: 16px;
  height: 16px;
}

.si-squad-widget-01 .sisq-sheet button:focus-visible {
  outline: 2px solid var(--sisq-option-text);
  outline-offset: -2px;
}

/* ── States ─────────────────────────────────────────────────────────────── */

.si-squad-widget-01 .sisq-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--sisq-state-min-height);
  margin: 0;
  font-size: 15px;
  color: var(--sisq-muted);
}

@media (prefers-reduced-motion: reduce) {
  .si-squad-widget-01 .sisq-card__bar {
    transition: none;
  }
}

/* ── Smaller screens ────────────────────────────────────────────────────── */

/* photo-right / photo-left (U.P. / Telugu Yoddhas): the old pages inset the
   groups 12.5px inside the column at every size, and show 4 cards a row only
   above 1200px. Tiles stay 4 a row down to 768px. */
.si-squad-widget-01--photo-right .sisq-group,
.si-squad-widget-01--photo-left .sisq-group {
  margin-inline: 12.5px;
  padding-bottom: 29px;
}

@media (min-width: 768px) {
  .si-squad-widget-01--photo-right .sisq-group__title,
  .si-squad-widget-01--photo-left .sisq-group__title {
    margin-bottom: 22.5px;
  }
}

/* 768–1200px: two cards a row, each 45% of the row plus its gutter
   (306px at 768px, 414px at 992px), left-aligned, as the old pages. */
@media (min-width: 768px) and (max-width: 1200px) {
  .si-squad-widget-01--photo-right .sisq-grid,
  .si-squad-widget-01--photo-left .sisq-grid {
    grid-template-columns: repeat(2, calc((100% + 15px) * 0.45));
    row-gap: 17.5px;
  }

  .si-squad-widget-01--photo-right .sisq-group,
  .si-squad-widget-01--photo-left .sisq-group {
    padding-bottom: 39px;
  }
}

@media (max-width: 767px) {
  .si-squad-widget-01 {
    --sisq-state-min-height: 50vh;
  }

  /* Phones: one player a row, every card style, stacked down the page. */
  .si-squad-widget-01 .sisq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  /* Phones: the old pages add a 30% grey rule under the faint one. */
  .si-squad-widget-01--photo-right .sisq-group,
  .si-squad-widget-01--photo-left .sisq-group {
    padding-bottom: 45px;
    border-bottom-color: var(--sisq-group-line-phone);
    box-shadow: inset 0 -1px 0 var(--sisq-group-line);
  }

  /* Tiles: a square photo as wide as the card, 50px between cards. */
  .si-squad-widget-01--tile .sisq-grid {
    gap: 50px;
  }

  .si-squad-widget-01--tile .sisq-group {
    margin-bottom: 68px;
  }

  .si-squad-widget-01--tile .sisq-card__photo {
    height: auto;
    aspect-ratio: 1;
  }

  /* One 38px filter bar: the 200px Skill field (no chevron, no divider)
     and the reset icon on the right, its text kept for screen readers. */
  .si-squad-widget-01 .sisq-filters {
    min-height: 38px;
  }

  .si-squad-widget-01 .sisq-filter {
    grid-template-columns: minmax(0, 1fr);
    width: 200px;
    padding: 0 7.5px;
  }

  .si-squad-widget-01 .sisq-filter::after,
  .si-squad-widget-01 .sisq-filter .sisq-icon--chevron-down {
    display: none;
  }

  .si-squad-widget-01 .sisq-filter__label,
  .si-squad-widget-01 .sisq-filter__value {
    line-height: 19.6px;
  }

  .si-squad-widget-01 .sisq-reset {
    justify-content: center;
    width: 30px;
    padding: 0;
    color: var(--sisq-reset-icon);
  }

  .si-squad-widget-01 .sisq-reset span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .si-squad-widget-01 .sisq-reset .sisq-icon {
    width: 14px;
    height: 14px;
  }

  /* Phones (mobile user agent, as the old pages decide): the one "Filter"
     bar instead of the dropdown. */
  .si-squad-widget-01.sisq--mobile-agent .sisq-filters {
    display: none;
  }

  .si-squad-widget-01.sisq--mobile-agent .sisq-mfilter {
    display: flex;
    margin-bottom: 15px;
  }
}

/* ── Page heading band (page_title …) ──────────────────────────────────── */

/* As the old team pages: a 75px band to the screen edges, the title in the
   plugin's column. The colour reaches the edges as a side-clipped shadow (the
   page does not widen); the image layer is sized to the screen in the browser
   (--page-head-left / --page-head-width, set by shared/page-head). */
.si-squad-widget-01 .sisq-page-head {
  --page-head-bg: #00327a;
  --page-head-color: #fff;
  --page-head-image: none;
  --page-head-left: 0px;
  /* 0 until sized to the screen in the browser: the colour shows first, never a cropped image. */
  --page-head-width: 0px;

  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 75px;
  margin: -8px 0 15px;
  padding: 20px 0;
  background: var(--page-head-bg);
  box-shadow: 0 0 0 100vmax var(--page-head-bg);
  clip-path: inset(0 -100vmax);
  color: var(--page-head-color);
}

.si-squad-widget-01 .sisq-page-head--cover::before,
.si-squad-widget-01 .sisq-page-head--pattern::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: var(--page-head-left);
  width: var(--page-head-width);
  background: var(--page-head-image) center / cover no-repeat;
}

/* Dubai Capitals: the pattern at the top-right at its own size. */
.si-squad-widget-01 .sisq-page-head--pattern::before {
  background-position: right top;
  background-size: auto;
}

.si-squad-widget-01 .sisq-page-head__title {
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-transform: capitalize;
}

/* The old site's container width by screen size. */
/* 576–767px: the old pages run the full width less 15px gutters (the
   site's global CSS gives that gap below 576px only). */
@media (min-width: 576px) and (max-width: 767px) {
  .si-squad-widget-01 {
    padding-inline: 15px;
  }
}

@media (min-width: 768px) {
  .si-squad-widget-01 {
    --sisq-container: 690px;
  }
}

@media (min-width: 992px) {
  .si-squad-widget-01 {
    --sisq-container: 930px;
  }
}

@media (min-width: 1200px) {
  .si-squad-widget-01 {
    --sisq-container: 1110px;
  }
}

@media (min-width: 1600px) {
  .si-squad-widget-01 {
    --sisq-container: 1370px;
  }
}

/* si-language-toggle-01: EN / हि switch. Colours come from the binding as
   inline custom properties on the root. */

.si-language-toggle-01 {
  --silt-text: #fff;
  --silt-track: #fff;
  --silt-knob: #f5a300;
  display: inline-flex;
  align-items: center;
}

.si-language-toggle-01 .silt-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 4px;
  color: var(--silt-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

/* The link's name, for screen readers only. */
.si-language-toggle-01 .silt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.si-language-toggle-01 .silt-toggle:focus-visible {
  outline: 2px solid var(--silt-text);
  outline-offset: 2px;
}

.si-language-toggle-01 .silt-track {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: 46px;
  height: 24px;
  border: 2px solid var(--silt-track);
  border-radius: 999px;
}

.si-language-toggle-01 .silt-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--silt-knob);
  transition: transform 0.2s ease;
}

/* On a Hindi page the knob sits on the हि side. */
.si-language-toggle-01--hi .silt-knob {
  transform: translateX(22px);
}

.si-language-toggle-01 .silt-toggle:hover .silt-knob {
  box-shadow: 0 0 0 3px rgb(255 255 255 / 25%);
}

@media (prefers-reduced-motion: reduce) {
  .si-language-toggle-01 .silt-knob {
    transition: none;
  }
}
