@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

.path-local-pcl-portals {
  --pcl-seagames-primary: #8c1f47;
  --pcl-seagames-dark: #400d25;
  --pcl-seagames-mid: #731f4d;
  --pcl-seagames-soft: #f2d9d0;
  --pcl-seagames-white: #ffffff;
}

.pcl-seagames-landing,
.pcl-central-bank {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.pcl-seagames-hero,
.pcl-central-bank-hero {
  background: linear-gradient(135deg, var(--pcl-seagames-primary), var(--pcl-seagames-dark));
  border-radius: 28px;
  color: var(--pcl-seagames-white);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(64, 13, 37, 0.24);
}

.pcl-sunshine-hero {
  background: linear-gradient(135deg, #f6b31a, #ff7f1f);
  color: #371109;
}

.pcl-sunshine .pcl-central-bank-eyebrow,
.pcl-sunshine .pcl-central-bank-lead,
.pcl-sunshine .pcl-central-bank-hero h1 {
  color: #371109;
}

.pcl-sunshine .pcl-central-bank-nav a,
.pcl-sunshine .pcl-central-bank-back {
  background: #ff7f1f;
  color: #fff;
}

.pcl-kfc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e4002b, #7a0016);
  min-height: min(72vh, 760px);
  padding: 0;
}

html body#page-local-pcl_portals-index.path-local-pcl-portals.pcl-kfc-route {
  position: relative;
  background-image: url('/local/pcl_portals/pix/seagames/kfc/kfc-bg.png') !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-color: transparent !important;
}

html body#page-local-pcl_portals-index.path-local-pcl-portals.pcl-kfc-route::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: -1;
}

.pcl-kfc-hero__bg,
.pcl-kfc-poster,
.pcl-kfc-poster__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pcl-kfc-hero__bg {
  object-fit: cover;
  opacity: 0.5;
}

.pcl-kfc-poster {
  z-index: 1;
}

.pcl-kfc-poster__video {
  display: block;
  object-fit: cover;
}

.pcl-kfc-hero-media {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.25rem;
  justify-items: center;
}

.pcl-kfc-logo {
  width: 160px;
  max-width: 40%;
  height: auto;
  background: #fff;
  border-radius: 18px;
  padding: 0.65rem 0.8rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.pcl-kfc-carousel {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.08);
  max-width: min(960px, 100%);
  margin-top: 1.25rem;
}

.pcl-kfc-carousel-track {
  display: flex;
  width: 300%;
  animation: pcl-kfc-carousel 18s infinite;
}

.pcl-kfc-slide {
  flex: 0 0 33.3333%;
  margin: 0;
}

.pcl-kfc-slide img {
  display: block;
  width: 100%;
  height: min(42vh, 380px);
  object-fit: cover;
}

@keyframes pcl-kfc-carousel {
  0%, 27% { transform: translateX(0); }
  33%, 60% { transform: translateX(-33.3333%); }
  66%, 93% { transform: translateX(-66.6666%); }
  100% { transform: translateX(0); }
}

.pcl-seagames-eyebrow,
.pcl-central-bank-eyebrow,
.pcl-seagames-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.pcl-seagames-lead,
.pcl-central-bank-lead {
  max-width: 64rem;
  font-size: 1.05rem;
}

.pcl-seagames-grid,
.pcl-central-bank-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pcl-seagames-card,
.pcl-central-bank-panel,
.pcl-central-bank-section {
  background: #fff;
  border-radius: 22px;
  color: #2b1320;
  box-shadow: 0 18px 45px rgba(64, 13, 37, 0.12);
}

.pcl-seagames-card,
.pcl-central-bank-panel {
  padding: 1.4rem;
}

.pcl-central-bank-section {
  margin-top: 1.25rem;
  padding: 1.6rem;
}

.pcl-central-bank-section h2,
.pcl-central-bank-section h3,
.pcl-central-bank-section p,
.pcl-central-bank-section li {
  color: #2b1320;
}

.pcl-seagames-pill,
.pcl-central-bank-back,
.pcl-central-bank-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.pcl-seagames-pill,
.pcl-central-bank-nav a,
.pcl-central-bank-back {
  background: var(--pcl-seagames-primary);
  color: #fff;
}

.pcl-kfc .pcl-central-bank-nav a {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  text-shadow: 0 0 2.5px rgba(255, 255, 255, 0.8) !important;
}

.pcl-kfc .pcl-central-bank-nav a:hover,
.pcl-kfc .pcl-central-bank-nav a:focus {
  color: #ffd700;
  text-decoration: none;
}

.pcl-kfc-scoreboard-tabs {
  margin-top: 1rem;
}

.pcl-kfc-scoreboard-tabs .nav-tabs {
  border-bottom: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pcl-kfc-scoreboard-tabs .nav-link {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
}

.pcl-kfc-scoreboard-tabs .nav-link.active {
  background: #fff;
  color: #7a0016;
}

.pcl-kfc-scoreboard-tabcontent {
  margin-top: 1rem;
}

.pcl-kfc-scoreboard-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(64, 13, 37, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.pcl-kfc-scoreboard-loading {
  max-width: min(260px, 100%);
  height: auto;
  display: block;
}

.pcl-seagames-pill-muted {
  background: rgba(140, 31, 71, 0.12);
  color: var(--pcl-seagames-primary);
}

.pcl-seagames-status,
.pcl-seagames-note {
  color: #6b4456;
  margin-top: 0.8rem;
}

.pcl-central-bank-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pcl-central-bank-rules {
  margin: 0;
  padding-left: 1.25rem;
}

.pcl-central-bank-rules li + li {
  margin-top: 0.6rem;
}

.pcl-central-bank-footer {
  margin-top: 1.5rem;
}

.pcl-central-bank-footer-image {
  display: block;
  width: min(100%, 1000px);
  height: auto;
  margin: 0 auto 1rem;
}

.pcl-central-bank-scoreboard-tabs {
  margin-top: 1rem;
}

.pcl-central-bank-scoreboard-tabs .nav-tabs {
  border-bottom: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pcl-central-bank-scoreboard-tabs .nav-link {
  border: 0;
  border-radius: 999px;
  background: rgba(140, 31, 71, 0.14);
  color: #4b2435;
  font-weight: 700;
}

.pcl-central-bank-scoreboard-tabs .nav-link.active {
  background: var(--pcl-seagames-primary);
  color: #fff;
}

.pcl-central-bank-scoreboard-tabcontent {
  margin-top: 1rem;
}

.pcl-central-bank-scoreboard-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(64, 13, 37, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  text-align: center;
}

.pcl-central-bank-scoreboard-card--rules {
  justify-content: flex-start;
  text-align: left;
}

.pcl-central-bank-scoreboard-loading {
  max-width: min(260px, 100%);
  height: auto;
  display: block;
}

.pcl-central-bank-scoreboard-loading-text {
  margin-top: 0.75rem;
  color: #6b4456;
  font-weight: 600;
}

.pcl-sunshine-scoreboard-tabs .nav-link {
  background: #ffb31a;
  color: #371109;
}

.pcl-sunshine-scoreboard-tabs .nav-link.active {
  background: linear-gradient(135deg, #ff7f1f, #f28b00);
  color: #fff;
}

.pcl-sunshine-scoreboard-tabs .pcl-central-bank-scoreboard-card {
  box-shadow: 0 16px 36px rgba(55, 17, 9, 0.12);
}

.pcl-kfc-intro {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem auto 0;
  max-width: 1180px;
  padding: 0 1.25rem;
  text-align: center;
}

.pcl-kfc-intro .pcl-central-bank-eyebrow {
  color: #8c1f47;
}

.pcl-kfc-intro h1 {
  margin: 0;
  color: #2b1320;
}

.pcl-kfc-intro .pcl-central-bank-lead {
  margin: 0 auto;
  color: #4b2435;
  max-width: 760px;
}

.pcl-kfc-intro .pcl-kfc-nav {
  justify-content: center;
  margin-top: 0;
}

.pcl-kfc-giveaway-banner {
  display: block;
  width: 100%;
  border-radius: 18px;
  margin: 0 0 1.25rem;
  box-shadow: 0 18px 36px rgba(122, 0, 22, 0.18);
}

.pcl-kfc-games-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pcl-kfc-game-card {
  overflow: hidden;
  border-radius: 20px;
  background: #ff0024;
  color: #fff;
  box-shadow: 0 18px 40px rgba(122, 0, 22, 0.2);
}

.pcl-kfc-game-card__image {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  background: #fff;
}

.pcl-kfc-game-card__body {
  padding: 1rem 1rem 1.2rem;
}

.pcl-kfc-game-card__body h3 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.pcl-kfc-game-card__body p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.pcl-kfc-game-card .pcl-central-bank-back {
  background: #fff;
  color: #d20022;
}

/* ── Inter-school Championship parity page ────────────────────── */
.pcl-isc-page {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.pcl-isc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.pcl-isc-fixed-bg {
  display: none;
}

.pcl-isc-hero {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0;
  padding: 0 1rem 0;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.pcl-isc-brand {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0;
  padding: 1.1rem 1rem;
  min-height: 170px;
  align-items: center;
  box-shadow: none;
}

.pcl-isc-brand__logo {
  width: min(690px, 68vw);
  height: auto;
}

.pcl-isc-stage {
  position: relative;
  min-height: 540px;
  margin-top: 0;
  overflow: hidden;
  background: transparent;
}

.pcl-isc-stage__badge {
  position: absolute;
  top: 2.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  min-width: 150px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #3d8e2f;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 18px rgba(33, 95, 22, 0.18);
  text-decoration: none;
  line-height: 1;
}

.pcl-isc-stage__mark {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(430px, 36vw);
  display: none;
}

.pcl-isc-stage__hero {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pcl-isc-tabs {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem;
  margin-top: -1.45rem;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.pcl-isc-tabs,
.pcl-isc-tabcard {
  font-family: "Nunito", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pcl-isc-tabcard__title {
  font-family: "Fredoka", "Nunito", "Poppins", system-ui, sans-serif;
}

.pcl-isc-tabcard {
  min-height: 104px;
  padding: 0.9rem 1.2rem 0.82rem;
  border-radius: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  box-shadow: 0 18px 34px rgba(27, 53, 82, 0.12);
  transition: transform 140ms ease, box-shadow 140ms ease;
  color: #11253f;
  grid-column: span 4;
}

.pcl-isc-tabcard:hover,
.pcl-isc-tabcard:focus {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(27, 53, 82, 0.18);
  text-decoration: none;
}

.pcl-isc-tabcard.is-active {
  outline: 3px solid rgba(18, 38, 63, 0.12);
  outline-offset: 0;
}

.pcl-isc-tabcard__title {
  display: block;
  font-size: 1.26rem;
  line-height: 1.05;
  font-weight: 800;
}

.pcl-isc-tabcard__subtitle {
  display: block;
  font-size: 0.84rem;
  line-height: 1.2;
  opacity: 0.78;
}

.pcl-isc-card--home { background: linear-gradient(135deg, #64B5F6 0%, #FFF8E1 100%); }
.pcl-isc-card--table { background: linear-gradient(135deg, #FF8A80 0%, #F5F7FA 100%); }
.pcl-isc-card--rules { background: linear-gradient(135deg, #FFD54F 0%, #FFAB91 100%); }
.pcl-isc-card--about { background: linear-gradient(135deg, #90CAF9 0%, #E3F2FD 100%); }
.pcl-isc-card--hof { background: linear-gradient(135deg, #E3F2FD 0%, #FFF8E1 100%); }

.pcl-isc-tabcard:nth-child(4),
.pcl-isc-tabcard:nth-child(5) {
  grid-column: span 5;
}

.pcl-isc-tabcard:nth-child(4) {
  grid-column: 2 / span 5;
}

.pcl-isc-tabcard:nth-child(5) {
  grid-column: 7 / span 5;
}

.pcl-isc-panels {
  margin-top: 1.75rem;
  padding: 0 1rem 3rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.pcl-isc-page .pcl-isc-panel {
  display: none;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(46, 78, 114, 0.10);
  padding: 1.15rem 1rem 1rem;
  scroll-margin-top: 160px;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.pcl-isc-page .pcl-isc-panel.is-active {
  display: block;
}

.pcl-isc-panel[hidden] {
  display: none !important;
}

.pcl-isc-carousel {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 18px;
}

.pcl-isc-carousel__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.pcl-isc-carousel__track {
  display: flex;
  width: 100%;
  min-width: 0;
  transform: translateX(0);
  transition: transform 420ms ease;
  will-change: transform;
}

.pcl-isc-slide {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(24, 54, 84, 0.12);
}

.pcl-isc-slide__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.pcl-isc-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 54, 84, 0.18);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
  font-family: "Fredoka", "Nunito", "Poppins", system-ui, sans-serif;
}

.pcl-isc-carousel__control span {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transform: translateY(-0.04rem);
}

.pcl-isc-carousel__control:hover,
.pcl-isc-carousel__control:focus {
  transform: translateY(-50%) scale(1.03);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(24, 54, 84, 0.22);
}

.pcl-isc-carousel__control--prev {
  left: 1rem;
}

.pcl-isc-carousel__control--next {
  right: 1rem;
}

.pcl-isc-carousel__control[hidden] {
  display: none !important;
}

.pcl-isc-slide__caption {
  text-align: center;
  padding: 0.85rem 1rem 1rem;
}

.pcl-isc-slide__caption h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #20364d;
}

.pcl-isc-slide__caption p {
  margin: 0;
  color: #2c81b3;
}

.pcl-isc-table-panel,
.pcl-isc-rules,
.pcl-isc-about,
.pcl-isc-hof {
  display: grid;
  gap: 1rem;
}

#rules.pcl-isc-panel {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#about.pcl-isc-panel {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.rules-wrapper,
.pcl-isc-rules-wrapper {
  position: relative;
  padding: 0.9rem 0 1.5rem;
}

.rules-block,
.pcl-isc-rules-block {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 28px;
  padding: 1.9rem 2rem 1.6rem;
  box-shadow: 0 18px 42px rgba(46, 78, 114, 0.12);
}

.rules-block h3,
.pcl-isc-rules-title {
  margin: 0 0 1.55rem;
  text-align: center;
  font-family: "Fredoka", "Nunito", "Poppins", system-ui, sans-serif;
  font-size: clamp(2rem, 2.6vw, 2.55rem);
  font-weight: 800;
  color: #1a3f8f;
  line-height: 1.05;
}

.rules-section + .rules-section,
.pcl-isc-rules-section + .pcl-isc-rules-section {
  margin-top: 1.55rem;
}

.rules-section h5,
.pcl-isc-rules-section h5 {
  margin: 0;
}

.rules-section__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  font-family: "Fredoka", "Nunito", "Poppins", system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.7vw, 1.5rem);
  font-weight: 800;
  color: #2452a7;
}

.rules-section__title::before {
  content: "";
  flex: 0 0 6px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd500 0%, #ffcf0d 100%);
}

.rules-section ul,
.pcl-isc-rules-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-section li + li,
.pcl-isc-rules-section li + li {
  margin-top: 0.7rem;
}

.rules-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 0.8rem;
}

.rules-list__item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 48px;
  padding: 0.65rem 0.95rem;
  border-radius: 18px;
  background: #f5f9ff;
  border: 2px solid #dbe6f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #2477a3;
  font-family: "Nunito", "Poppins", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.35;
}

.rules-list__star {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-1px);
}

.rules-sticker,
.pcl-isc-rules-sticker {
  position: absolute;
  top: 0.2rem;
  width: min(190px, 16vw);
  pointer-events: none;
  z-index: 0;
}

.rules-sticker img,
.pcl-isc-rules-sticker img {
  display: block;
  width: 100%;
  height: auto;
}

.rules-sticker.left,
.pcl-isc-rules-sticker--left {
  left: 0;
  transform: translateX(-28%);
}

.rules-sticker.right,
.pcl-isc-rules-sticker--right {
  right: 0;
  transform: translateX(28%);
}

.pcl-isc-table-toolbar {
  display: grid;
  gap: 0.45rem;
  align-items: center;
  grid-template-columns: 1fr minmax(240px, 320px);
}

.pcl-isc-table-toolbar--hof {
  grid-template-columns: 1fr minmax(240px, 320px);
}

.pcl-isc-table-toolbar__label {
  font-weight: 600;
  color: #20364d;
}

.pcl-isc-table-toolbar__search {
  border-radius: 999px;
}

.pcl-isc-data-table thead th {
  font-weight: 700;
  color: #20364d;
}

.pcl-isc-empty-state {
  text-align: center;
  color: #51697f;
  padding: 2rem 1rem !important;
}

.pcl-isc-empty-state__loading,
.pcl-isc-empty-state__footer {
  color: #6c7f90;
  margin-bottom: 0.35rem;
}

.pcl-isc-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #51697f;
  font-size: 0.95rem;
}

.pcl-isc-table-footer__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pcl-isc-table-footer__btn {
  border: 0;
  background: #eff6ff;
  color: #2452a7;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
}

.pcl-isc-table-footer__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pcl-isc-table-footer__status {
  margin-left: auto;
}

.pcl-isc-table-footer--hof {
  margin-top: 1rem;
}

.pcl-isc-detail-row td {
  background: #f7fbff;
  padding: 1rem !important;
}

.pcl-isc-table-detail {
  display: grid;
  gap: 0.75rem;
}

.student-toggle.btn.btn-link {
  padding: 0;
  border: 0;
  font-weight: 700;
  color: #2452a7;
  text-decoration: none;
}

.student-toggle.btn.btn-link:hover,
.student-toggle.btn.btn-link:focus {
  color: #173b79;
  text-decoration: none;
}

.student-toggle[aria-expanded="true"] span {
  display: inline-block;
  transform: translateY(-1px);
}

.pcl-isc-rules-grid,
.pcl-isc-about-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcl-isc-rules-grid--stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcl-isc-prize-card,
.pcl-isc-copy-card,
.pcl-isc-about-card,
.pcl-isc-about__intro {
  background: #fff;
  border-radius: 20px;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 26px rgba(24, 54, 84, 0.10);
}

.pcl-isc-about-stack {
  display: grid;
  gap: 1rem;
  padding: 0.25rem 0 0.9rem;
}

.pcl-isc-about-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcl-isc-about-grid--dream-benefits {
  align-items: stretch;
}

.pcl-isc-about-pill {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 28px;
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: 0 18px 42px rgba(46, 78, 114, 0.10);
  backdrop-filter: blur(6px);
  height: 100%;
}

.pcl-isc-about-pill--intro {
  background: linear-gradient(180deg, #8dc0ea 0%, #b6c9eb 100%);
}

.pcl-isc-about-pill--video {
  display: flex;
  align-items: center;
}

.pcl-isc-about-pill--dream,
.pcl-isc-about-pill--wide {
  display: flex;
  flex-direction: column;
}

.pcl-isc-about-video {
  width: 100%;
}

.pcl-isc-about-pill__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.7rem;
  font-family: "Fredoka", "Nunito", "Poppins", system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.7vw, 1.55rem);
  font-weight: 800;
  color: #2452a7;
}

.pcl-isc-about-pill__title::before {
  content: "";
  flex: 0 0 6px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd500 0%, #ffcf0d 100%);
}

.pcl-isc-about-pill p {
  margin: 0;
  color: #2477a3;
  font-family: "Nunito", "Poppins", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.pcl-isc-about-pill p + p {
  margin-top: 0.65rem;
}

.pcl-isc-about-pill--dream {
  min-height: 100%;
}

.pcl-isc-about-pill--intro p {
  color: #ffffff;
  font-size: clamp(1.05rem, 1.25vw, 1.15rem);
}

.pcl-isc-about-pill--intro .pcl-isc-about-pill__title {
  color: #163a78;
}

.pcl-isc-about-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pcl-isc-about-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.2rem 0;
  color: #2477a3;
  font-family: "Nunito", "Poppins", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.pcl-isc-about-list__bullet {
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 0.7;
  color: #2f83ad;
  transform: translateY(0.05rem);
}

.pcl-isc-about-pill--wide {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.97);
}

.pcl-isc-about-pill--wide .pcl-isc-about-pill__title {
  margin-bottom: 1.25rem;
}

.pcl-isc-about-pill--wide .pcl-isc-about-list {
  gap: 0.4rem;
}

.pcl-isc-prize-card__image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.9rem;
  border-radius: 14px;
}

.pcl-isc-prize-card h3,
.pcl-isc-copy-card h3,
.pcl-isc-about-card h3,
.pcl-isc-about__intro h2,
.pcl-isc-hof h2,
.pcl-isc-rules h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: #20364d;
}

.pcl-isc-prize-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #324e65;
}

.pcl-isc-copy-card p,
.pcl-isc-about-card p,
.pcl-isc-about__intro p {
  margin: 0;
  color: #324e65;
  line-height: 1.6;
}

.pcl-isc-about-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
  .pcl-isc-fixed-bg {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 58px;
    height: calc(100vh - 58px);
    background-image: var(--isc-stage-bg);
    background-repeat: no-repeat;
    background-position: center 34%;
    background-size: cover;
    background-attachment: scroll;
    filter: blur(7px) saturate(112%);
    transform: scale(1.06);
    opacity: 0.95;
    z-index: 0;
    pointer-events: none;
  }

  .pcl-isc-fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(205, 235, 218, 0.78) 0%, rgba(255, 255, 255, 0.56) 35%, rgba(255, 236, 210, 0.60) 100%);
  }

  .pcl-isc-shell {
    position: relative;
    z-index: 1;
  }

  .pcl-isc-brand {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 0 0 22px 22px;
    padding: 1rem 0.85rem 0.95rem;
    min-height: 138px;
  }

  .pcl-isc-brand__logo {
    width: min(320px, 74vw);
  }

  .pcl-isc-stage {
    min-height: 440px;
  }

  .pcl-isc-stage__mark {
    display: block;
    top: 19%;
    width: min(315px, 74vw);
  }

  .pcl-isc-stage__badge {
    top: 1.5rem;
    min-width: 126px;
    padding: 0.55rem 0.85rem;
    font-size: 0.96rem;
  }

  .pcl-isc-tabs,
  .pcl-isc-rules-grid,
  .pcl-isc-about-grid,
  .pcl-isc-about-row {
    grid-template-columns: 1fr;
  }

  .pcl-isc-about-grid--dream-benefits {
    grid-template-columns: 1fr;
  }

  .pcl-isc-tabcard,
  .pcl-isc-tabcard:nth-child(4),
  .pcl-isc-tabcard:nth-child(5) {
    grid-column: auto;
  }

  .pcl-isc-rules-block {
    padding: 1.35rem 1rem 1.4rem;
  }

  .pcl-isc-rules-title {
    font-size: 1.75rem;
  }

  .pcl-isc-rules-sticker {
    display: none;
  }

  .pcl-isc-table-toolbar,
  .pcl-isc-table-toolbar--hof {
    grid-template-columns: 1fr;
  }

  .pcl-isc-panels {
    margin-top: 1.25rem;
  }
}

body.pcl-isc-route #page-header {
  display: none !important;
}

body.path-local-pcl-portals.pagelayout-frontpage #page-header {
  display: none !important;
}

body.pcl-isc-route #page,
body.path-local-pcl-portals.pagelayout-frontpage #page {
  padding-top: 0 !important;
}

body.pcl-isc-route #topofscroll,
body.path-local-pcl-portals.pagelayout-frontpage #topofscroll {
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  .pcl-isc-fixed-bg {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 58px;
    height: calc(100vh - 58px);
    background-image: var(--isc-stage-bg);
    background-repeat: no-repeat;
    background-position: center 36%;
    background-size: cover;
    background-attachment: scroll;
    filter: blur(8px) saturate(112%);
    transform: scale(1.08);
    opacity: 0.95;
    z-index: 0;
    pointer-events: none;
  }

  .pcl-isc-fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(205, 235, 218, 0.85) 0%, rgba(255, 255, 255, 0.52) 34%, rgba(255, 236, 210, 0.55) 100%);
  }

  .pcl-isc-page {
    min-height: calc(100vh - 80px);
  }

  .pcl-isc-brand {
    padding: 1.35rem 1rem 1.2rem;
    min-height: 168px;
  }

  .pcl-isc-stage {
    min-height: 560px;
  }

  .pcl-isc-stage__mark {
    display: block;
    top: 22%;
    width: min(410px, 32vw);
  }

  .pcl-isc-stage__badge {
    top: 3rem;
    min-width: 136px;
    padding: 0.62rem 0.95rem;
    font-size: 1rem;
  }

  .pcl-isc-tabs {
    width: 100%;
    margin: -1.45rem 0 0;
    padding: 0 1rem;
    gap: 1rem;
  }
}
