:root {
  /* Navy / Amber / Teal — logo brand palette */
  --ptg-teal: #019fa2;
  --ptg-teal-soft: #E6F4F2;
  --ptg-navy: #14213D;
  --ptg-navy-soft: #E8EAF0;
  --ptg-gold: #fc8f0c;
  --ptg-gold-soft: #FFF4E0;
  --ptg-ink: #14213D;
  --ptg-muted: #5B6B7C;
  --ptg-line: #E5E5E5;
  --ptg-paper: #FFFFFF;
  --ptg-canvas: #F4F1DE;
  --ptg-shadow: 0 12px 32px rgba(20, 33, 61, 0.08);
  --role-w: 0px;
  --mod-w: 72px;
  --mod-w-open: 240px;
  --rails-w: var(--mod-w);
  --topbar-h: 72px;
  --ptg-gutter: clamp(1.35rem, 3.2vw, 3rem);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ptg-ink);
  background: var(--ptg-canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: clip;
}

h1, h2, h3, h4,
.ptg-brand,
.ptg-footer__brand,
.ptg-section-title h2,
.ptg-hero-row h1,
.ptg-tile strong,
.ptg-slide__body h3,
.ptg-opp-card h3,
.ptg-module__head h2,
.ptg-level-card h3,
.ptg-cta-band h2,
.ptg-page-hero h1,
.ptg-legal h1,
.ptg-portal__name,
.ptg-portal-form h1,
.ptg-btn {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.ptg-opp-card h3,
.ptg-slide__body h3,
.ptg-module__head h2,
.ptg-section-title h2,
.ptg-level-card h3,
.ptg-page-hero h1,
.ptg-brand {
  color: var(--ptg-navy);
}

.ptg-opp-card p,
.ptg-module__head p,
.ptg-tile,
.ptg-chip,
.ptg-field label,
.ptg-field input,
.ptg-field select,
.ptg-tab-hint,
.ptg-legal-note,
.ptg-auth__foot,
.ptg-portal-form__lead,
.ptg-view-all {
  font-family: var(--font-body);
}

.ptg-hero-row h1 em { color: var(--ptg-teal); font-style: normal; }


body.ptg-modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.ptg-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--ptg-gutter);
  box-sizing: border-box;
}

/* ========== Dual RIGHT rails ========== */
.ptg-rails {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: row;
  background: #fff;
  border-left: 1px solid var(--ptg-line);
  box-shadow: -4px 0 24px rgba(17, 24, 39, 0.05);
}

.ptg-rail--modules {
  width: var(--mod-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--ptg-line);
  padding: 0.65rem 0.35rem 0.55rem;
  overflow: hidden;
  transition: width 0.22s ease;
  background: #fff;
}

.ptg-rail--modules:hover,
.ptg-rail--modules.is-peek,
.ptg-rail--modules.is-pinned {
  width: var(--mod-w-open);
  align-items: stretch;
}

/* Pinned: content shifts — never hide under sidebar */
body.ptg-rail-pinned {
  --rails-w: var(--mod-w-open);
}

body.ptg-rail-pinned .ptg-rail--modules {
  width: var(--mod-w-open);
  align-items: stretch;
}

.ptg-rail-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--ptg-teal);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  margin: 0.35rem auto 0.85rem;
  box-shadow: 0 8px 18px rgba(1, 159, 162, 0.35);
  flex-shrink: 0;
}

.ptg-rail-login {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: var(--ptg-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 1;
  min-width: 0;
  box-shadow: 0 8px 18px rgba(1, 159, 162, 0.28);
  transition: background 0.15s ease, transform 0.15s ease, width 0.22s ease, padding 0.22s ease, border-radius 0.22s ease;
  text-decoration: none;
  overflow: hidden;
  padding: 0;
}

.ptg-rail-login:hover {
  background: #0c635c;
  transform: translateY(-1px);
}

.ptg-rail-login__text {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ptg-rail-login svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ptg-rail-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ptg-line);
}

.ptg-rail-pin {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--ptg-line);
  background: #fff;
  color: var(--ptg-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ptg-rail-pin:hover,
.ptg-rail--modules.is-pinned .ptg-rail-pin {
  background: var(--ptg-teal-soft);
  border-color: var(--ptg-teal);
  color: var(--ptg-teal);
}

.ptg-rail-pin svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ptg-rail-pin__close { display: none; }
.ptg-rail--modules.is-pinned .ptg-rail-pin__open { display: none; }
.ptg-rail--modules.is-pinned .ptg-rail-pin__close { display: block; }

.ptg-rail--modules:hover .ptg-rail-foot,
.ptg-rail--modules.is-peek .ptg-rail-foot,
.ptg-rail--modules.is-pinned .ptg-rail-foot {
  flex-direction: row;
  justify-content: flex-start;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  gap: 0.45rem;
}

.ptg-rail--modules:hover .ptg-rail-pin,
.ptg-rail--modules.is-peek .ptg-rail-pin,
.ptg-rail--modules.is-pinned .ptg-rail-pin {
  margin: 0;
}

.ptg-rail--modules:hover .ptg-rail-login,
.ptg-rail--modules.is-peek .ptg-rail-login,
.ptg-rail--modules.is-pinned .ptg-rail-login {
  margin: 0;
  width: auto;
  flex: 1;
  padding: 0 0.7rem;
  border-radius: 999px;
}

.ptg-rail--modules:hover .ptg-rail-login__text,
.ptg-rail--modules.is-peek .ptg-rail-login__text,
.ptg-rail--modules.is-pinned .ptg-rail-login__text {
  display: inline;
}

.ptg-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  overflow-y: auto;
  flex: 1;
}

.ptg-rail-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.65rem 0.45rem;
  border-radius: 12px;
  color: #4B5563;
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.ptg-rail--modules:hover .ptg-rail-link,
.ptg-rail--modules.is-peek .ptg-rail-link,
.ptg-rail--modules.is-pinned .ptg-rail-link {
  justify-content: flex-start;
  padding-left: 0.7rem;
}

.ptg-rail-link:hover {
  background: var(--ptg-teal-soft);
  color: var(--ptg-teal);
}

.ptg-rail-link.is-active {
  background: var(--ptg-navy-soft);
  color: var(--ptg-navy);
}

.ptg-rail-link svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ptg-rail-link span {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.15s ease;
}

.ptg-rail--modules:hover .ptg-rail-link span,
.ptg-rail--modules.is-peek .ptg-rail-link span,
.ptg-rail--modules.is-pinned .ptg-rail-link span {
  opacity: 1;
  max-width: 140px;
}

/* Pinned state handled above via --rails-w */

.ptg-rail-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
  z-index: 80;
}

.ptg-rail-backdrop.is-open { display: block; }

/* ========== Shell ========== */
.ptg-shell {
  margin-right: var(--rails-w);
  transition: margin-right 0.22s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ptg-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ptg-line);
  display: flex;
  align-items: center;
}

.ptg-topbar__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--ptg-gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
}

.ptg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ptg-navy);
}

.ptg-brand__logo,
.ptg-brand img {
  width: auto;
  height: 44px;
  max-width: min(280px, 70vw);
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  display: block;
}

.ptg-search {
  justify-self: stretch;
  width: min(100%, 380px);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #F8FAFC;
  border: 1px solid var(--ptg-line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ptg-search:focus-within {
  background: #fff;
  border-color: rgba(1, 159, 162, 0.45);
  box-shadow: 0 0 0 3px rgba(1, 159, 162, 0.12);
}

.ptg-search svg {
  flex-shrink: 0;
  color: #94A3B8;
}

.ptg-search:focus-within svg {
  color: var(--ptg-teal);
}

.ptg-search input {
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--ptg-navy);
  background: transparent;
  line-height: 1.3;
}

.ptg-search input::placeholder {
  color: #94A3B8;
}

.ptg-search input::-webkit-search-decoration,
.ptg-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.ptg-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ptg-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ptg-line);
  background: #fff;
}

.ptg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 10px;
  padding: 0.62rem 1.15rem;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ptg-btn:hover { transform: translateY(-1px); }

.ptg-btn--primary {
  background: var(--ptg-gold, #fc8f0c);
  color: #fff;
  box-shadow: 0 8px 18px rgba(252, 143, 12, 0.28);
}

.ptg-btn--primary:hover { background: var(--ptg-navy, #14213D); color: #fff; }

.ptg-btn--ghost {
  background: #fff;
  border-color: var(--ptg-line);
  color: var(--ptg-navy);
}

.ptg-btn--navy {
  background: var(--ptg-navy);
  color: #fff;
}

.ptg-btn--gold {
  background: var(--ptg-gold);
  color: #1a1304;
}

.ptg-btn--block { width: 100%; }
.ptg-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.78rem; border-radius: 8px; }

.ptg-main {
  flex: 1;
  padding: 0 var(--ptg-gutter) 2rem;
  min-width: 0;
}

.ptg-main .ptg-container {
  padding-inline: 0;
}

/* ========== Hero ========== */
.ptg-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 1.75rem 0 1.1rem;
}

.ptg-hero-row h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ptg-ink);
}

.ptg-hero-row h1 em {
  font-style: normal;
  color: var(--ptg-teal);
}

.ptg-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #F3E8FF, #E0E7FF);
  color: #5B21B6;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ========== Module tiles (pastel) ========== */
.ptg-tiles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(108px, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
}

.ptg-tile {
  scroll-snap-align: start;
  border-radius: 16px;
  padding: 1rem 0.65rem 0.9rem;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.ptg-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--ptg-shadow);
}

.ptg-tile img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.ptg-tile strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ptg-ink);
}

.ptg-tile--teal { background: #E6F4F2; }
.ptg-tile--navy { background: #E8EAF0; }
.ptg-tile--gold { background: #FFF4E0; }
.ptg-tile--mint { background: #F0F3F7; }
.ptg-tile--lilac { background: #F5F0EE; }
.ptg-tile--peach { background: #FFF4E0; }
.ptg-tile--sky { background: #E6F4F2; }

/* ========== Featured slider ========== */
.ptg-featured {
  margin: 0.5rem 0 1.75rem;
  position: relative;
}

.ptg-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
}

.ptg-section-title::before {
  content: "";
  width: 4px;
  height: 1.15rem;
  border-radius: 4px;
  background: var(--ptg-teal);
}

.ptg-section-title h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ptg-ink);
}

.ptg-slider {
  position: relative;
}

.ptg-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, calc((100% - 3rem) / 4));
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 0.85rem;
  -webkit-overflow-scrolling: touch;
}

.ptg-slider__track::-webkit-scrollbar { height: 0; }

.ptg-slide {
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ptg-line);
  box-shadow: var(--ptg-shadow);
  transition: transform 0.18s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.ptg-slide:hover { transform: translateY(-4px); }

.ptg-slide__media {
  aspect-ratio: 3 / 4;
  max-height: 210px;
  background: center/cover no-repeat;
  position: relative;
}

.ptg-slide__tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(255,255,255,0.95);
  color: var(--ptg-teal);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 7px;
}

.ptg-slide__body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.ptg-slide__body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ptg-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ptg-line);
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.1);
  display: grid;
  place-items: center;
  z-index: 2;
  color: #374151;
  font-size: 1.1rem;
}

.ptg-slider__nav--prev { left: -8px; }
.ptg-slider__nav--next { right: -8px; }

.ptg-slider__nav:hover {
  background: var(--ptg-teal);
  color: #fff;
  border-color: var(--ptg-teal);
}

/* ========== Module rows ========== */
.ptg-module {
  margin-bottom: 1.75rem;
}

.ptg-module__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.ptg-module__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.ptg-module__head p {
  margin: 0.2rem 0 0;
  color: var(--ptg-muted);
  font-size: 0.88rem;
}

.ptg-view-all {
  color: var(--ptg-teal);
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.ptg-view-all:hover { text-decoration: underline; }

.ptg-card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, calc((100% - 2.7rem) / 4));
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scroll-snap-type: x mandatory;
}

.ptg-card-row::-webkit-scrollbar { height: 5px; }
.ptg-card-row::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.ptg-opp-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.ptg-opp-card:hover {
  box-shadow: var(--ptg-shadow);
  transform: translateY(-3px);
}

.ptg-opp-card__media {
  aspect-ratio: 16 / 10;
  background: center/cover no-repeat;
  position: relative;
}

.ptg-opp-card__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: #fff;
  color: var(--ptg-teal);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
}

.ptg-opp-card__body { padding: 0.85rem 0.9rem 1rem; }

.ptg-opp-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.ptg-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: var(--ptg-teal-soft);
  color: var(--ptg-teal);
}

.ptg-chip--navy {
  background: var(--ptg-navy-soft);
  color: var(--ptg-navy);
}

.ptg-chip--gold {
  background: var(--ptg-gold-soft);
  color: #8A6E12;
}

.ptg-opp-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ptg-opp-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ptg-muted);
}

/* Extra PTG blocks */
.ptg-levels {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .ptg-levels { grid-template-columns: repeat(3, 1fr); }
}

.ptg-level-card {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 14px;
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
}

.ptg-level-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  opacity: 0.5;
}

.ptg-level-card--1::after { background: #99F6E4; }
.ptg-level-card--2::after { background: #BFDBFE; }
.ptg-level-card--3::after { background: #FDE68A; }

.ptg-level-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ptg-navy);
  position: relative;
}

.ptg-level-card p {
  margin: 0;
  color: var(--ptg-muted);
  font-size: 0.88rem;
  position: relative;
}

.ptg-cta-band {
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  background:
    linear-gradient(120deg, rgba(1, 159, 162, 0.92), rgba(20, 33, 61, 0.88)),
    center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ptg-cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.ptg-cta-band p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.92rem;
  max-width: 36rem;
}

/* Legacy listing hero rules removed — live styles are `.ptg-page-hero` below (fixed-header clearance). */

.ptg-eyebrow {
  color: var(--ptg-teal);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ptg-section { padding: 1.35rem 0 2rem; }

.ptg-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.9rem;
}

.ptg-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ptg-muted);
  background: #fff;
  border: 1px dashed var(--ptg-line);
  border-radius: 14px;
}

.ptg-step {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 14px;
  padding: 1.1rem;
}

.ptg-step h3 { margin: 0.3rem 0; color: var(--ptg-navy); }
.ptg-step p { margin: 0; color: var(--ptg-muted); font-size: 0.9rem; }

/* Footer */
.ptg-footer {
  position: relative;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.84);
  background: var(--ptg-navy);
  padding: 0 0 1.4rem;
  overflow: hidden;
}

.ptg-footer__wave {
  height: 52px;
  background: var(--ptg-canvas);
  clip-path: ellipse(70% 100% at 50% 0%);
  margin-bottom: 1.5rem;
}

.ptg-footer__inner { position: relative; z-index: 1; }

.ptg-footer__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1.15rem 1.25rem;
  margin-bottom: 1.35rem;
  border-radius: 22px 14px 28px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ptg-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 40rem;
}

.ptg-footer__logo {
  width: auto;
  height: 52px;
  max-width: 300px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  flex-shrink: 0;
}

.ptg-footer__brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.ptg-footer__hero p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.ptg-footer__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

@media (min-width: 768px) {
  .ptg-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.ptg-footer h4 {
  margin: 0 0 0.65rem;
  color: var(--ptg-gold);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ptg-footer a {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.ptg-footer a:hover { color: #F6E7A8; }

.ptg-footer__logout { margin: 0 0 0.4rem; }
.ptg-footer__logout button {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.ptg-footer__logout button:hover { color: #F6E7A8; }

.ptg-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.95rem;
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.ptg-link-btn {
  color: var(--ptg-teal);
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* Auth modal (keep) */
.ptg-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ptg-modal.is-open { display: flex; }

.ptg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.ptg-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 680px);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
  animation: ptgPop 0.28s ease;
}

@media (min-width: 860px) {
  .ptg-modal__dialog { grid-template-columns: 0.95fr 1.05fr; }
}

@keyframes ptgPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.ptg-modal__visual {
  display: none;
  position: relative;
  background: center/cover no-repeat;
  color: #fff;
  min-height: 100%;
}

@media (min-width: 860px) {
  .ptg-modal__visual { display: block; }
}

.ptg-modal__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.7), rgba(1, 159, 162, 0.55));
}

.ptg-modal__visual-copy {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
}

.ptg-modal__visual-copy h3 {
  margin: 0.4rem 0;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
}

.ptg-modal__visual-copy p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
}

.ptg-modal__panel {
  padding: 1.35rem 1.35rem 1.5rem;
  overflow-y: auto;
  max-height: min(92vh, 680px);
}

.ptg-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--ptg-line);
  background: #fff;
  z-index: 2;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ptg-muted);
}

.ptg-modal__panel h2 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ptg-navy);
}

.ptg-modal__panel > .ptg-modal__lead {
  margin: 0 0 1rem;
  color: var(--ptg-muted);
  font-size: 0.9rem;
}

.ptg-role-grid { display: grid; gap: 0.65rem; margin-bottom: 0.5rem; }

.ptg-role-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--ptg-line);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ptg-role-card:hover,
.ptg-role-card.is-active {
  border-color: var(--ptg-teal);
  box-shadow: 0 0 0 3px rgba(1, 159, 162, 0.12);
}

.ptg-role-card strong {
  display: block;
  color: var(--ptg-navy);
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.ptg-role-card span { color: var(--ptg-muted); font-size: 0.82rem; }

.ptg-field { margin-bottom: 0.8rem; }

.ptg-field label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  color: var(--ptg-navy);
}

.ptg-field label em,
.ptg-check label em {
  color: #DC2626;
  font-style: normal;
  font-weight: 700;
}

.ptg-field input,
.ptg-field select {
  width: 100%;
  border: 1px solid var(--ptg-line);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  outline: none;
  background: #fff;
}

/* Password show/hide eye (auto-wrapped by ptg-password-toggle.js) */
.ptg-password-wrap {
  position: relative;
  display: block;
}

.ptg-password-wrap > input {
  width: 100%;
  padding-right: 2.75rem;
}

.ptg-password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ptg-muted, #6b7280);
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.ptg-password-toggle:hover,
.ptg-password-toggle:focus-visible {
  color: var(--ptg-navy, #16254A);
  background: rgba(22, 37, 74, 0.06);
  outline: none;
}

.ptg-password-toggle[aria-pressed="true"] {
  color: var(--ptg-teal, #019fa2);
}

.ptg-field input:focus,
.ptg-field select:focus {
  border-color: var(--ptg-teal);
  box-shadow: 0 0 0 3px rgba(1, 159, 162, 0.12);
}

.ptg-field.is-invalid input,
.ptg-field.is-invalid select,
.ptg-field input.is-invalid,
.ptg-field select.is-invalid {
  border-color: #DC2626;
}

.ptg-field.is-invalid .select2-container .select2-selection--single,
.select2-container .select2-selection--single.ptg-select-invalid {
  border-color: #DC2626 !important;
}

.ptg-field-error {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #DC2626;
  line-height: 1.35;
}

.ptg-check.is-invalid {
  outline: 1px solid rgba(220, 38, 38, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.ptg-field-row { display: grid; gap: 0.65rem; }

@media (min-width: 520px) {
  .ptg-field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 680px) {
  .ptg-field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.ptg-auth__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0.9rem;
  font-size: 0.82rem;
}

.ptg-auth__meta a { color: var(--ptg-teal); font-weight: 700; }

.ptg-social {
  margin: 0 0 1.15rem;
}
.ptg-social__row {
  display: grid;
  gap: 0.65rem;
}
.ptg-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--ptg-line);
  background: #fff;
  color: var(--ptg-navy);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.ptg-social__btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  color: var(--ptg-navy);
  text-decoration: none;
}
.ptg-social__btn svg { flex-shrink: 0; }
.ptg-social__btn--facebook svg path { fill: #1877F2; }
.ptg-social__hint {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(252, 163, 17, 0.1);
  color: #9a4b36;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}
.ptg-social__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.15rem;
  color: var(--ptg-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ptg-social__divider::before,
.ptg-social__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ptg-line);
}
.ptg-social__divider span { white-space: nowrap; }

.ptg-auth__foot {
  margin-top: 0.95rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ptg-muted);
}

.ptg-auth__foot button {
  color: var(--ptg-navy);
  font-weight: 800;
  background: none;
  border: 0;
  padding: 0;
}

.ptg-auth-pane { display: none; }
.ptg-auth-pane.is-active { display: block; }
.ptg-role-fields { display: none; }
.ptg-role-fields.is-visible { display: block; }

.ptg-kicker {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #F6E7A8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Mobile: rails as drawer from right */
@media (max-width: 991px) {
  :root { --ptg-gutter: clamp(1.1rem, 4.5vw, 1.75rem); }

  .ptg-shell { margin-right: 0; }

  .ptg-rails {
    transform: translateX(100%);
    transition: transform 0.22s ease;
    width: auto;
  }

  .ptg-rails.is-open { transform: translateX(0); }

  .ptg-rail--modules {
    width: 210px !important;
    align-items: stretch;
  }

  .ptg-rail--modules .ptg-rail-foot {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    gap: 0.45rem;
  }

  .ptg-rail--modules .ptg-rail-login {
    width: auto;
    flex: 1;
    padding: 0 0.7rem;
    border-radius: 999px;
  }

  .ptg-rail--modules .ptg-rail-login__text {
    display: inline;
  }

  .ptg-rail--modules .ptg-rail-link {
    justify-content: flex-start;
    padding-left: 0.7rem;
  }

  .ptg-rail--modules .ptg-rail-link span {
    opacity: 1;
    max-width: 140px;
  }

  .ptg-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ptg-search {
    display: flex;
    width: 100%;
    max-width: none;
    padding: 0.4rem 0.8rem;
  }
  .ptg-topbar__inner {
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
  }
  .ptg-topbar__inner > div:first-child {
    min-width: 0;
  }
  .ptg-brand span {
    display: none;
  }
  .ptg-slider__nav { display: none; }
}

/* ========== Full-page auth ========== */
.ptg-auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 20%, rgba(1, 159, 162, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(20, 33, 61, 0.1), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(201, 162, 39, 0.08), transparent 25%),
    #F3F5F8;
}

.ptg-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  position: relative;
}

.ptg-auth-page__home {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-weight: 700;
  color: var(--ptg-navy);
  font-size: 0.9rem;
  z-index: 2;
}

.ptg-auth-shell {
  width: min(980px, 100%);
  min-height: min(640px, 92vh);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.16);
}

@media (min-width: 900px) {
  .ptg-auth-shell { grid-template-columns: 0.95fr 1.05fr; }
}

.ptg-auth-carousel {
  position: relative;
  background:
    linear-gradient(165deg, #14213D 0%, #14213D 55%, #fc8f0c 100%);
  color: #fff;
  padding: 1.35rem 1.25rem 1.5rem;
  display: none;
  flex-direction: column;
  min-height: 560px;
}

@media (min-width: 900px) {
  .ptg-auth-carousel { display: flex; }
}

.ptg-auth-carousel__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.ptg-auth-carousel__brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
}

.ptg-auth-carousel__slides {
  position: relative;
  flex: 1;
}

.ptg-auth-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  display: flex;
  flex-direction: column;
}

.ptg-auth-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ptg-auth-carousel__frame {
  flex: 1;
  border-radius: 16px;
  background: #fff center/cover no-repeat;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  min-height: 260px;
}

.ptg-auth-carousel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0.65rem;
}

.ptg-auth-carousel__tags span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.ptg-auth-carousel__copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.ptg-auth-carousel__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.ptg-auth-carousel__dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.ptg-auth-carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}

.ptg-auth-carousel__dots button.is-active {
  width: 22px;
  background: var(--ptg-gold);
}

.ptg-auth-form-wrap {
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  align-items: center;
}

.ptg-auth-form {
  width: min(420px, 100%);
  margin-inline: auto;
}

.ptg-auth-form h1 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ptg-navy);
  letter-spacing: -0.02em;
}

.ptg-auth-form__lead {
  margin: 0 0 1.1rem;
  color: var(--ptg-muted);
  font-size: 0.9rem;
}

.ptg-steps-bar {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 1.15rem;
}

.ptg-steps-bar--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
}

.ptg-steps-bar--4 li {
  font-size: 0.65rem;
  padding: 0.4rem 0.15rem;
  gap: 0.25rem;
}

.ptg-steps-bar--4 li span {
  width: 18px;
  height: 18px;
  font-size: 0.62rem;
  flex-shrink: 0;
}

.ptg-steps-bar li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9CA3AF;
  padding: 0.45rem 0.25rem;
  border-bottom: 2px solid #E5E7EB;
}

.ptg-steps-bar li span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #E5E7EB;
  color: #6B7280;
  font-size: 0.68rem;
}

.ptg-steps-bar li.is-active {
  color: var(--ptg-teal);
  border-bottom-color: var(--ptg-teal);
}

.ptg-steps-bar li.is-active span,
.ptg-steps-bar li.is-done span {
  background: var(--ptg-teal);
  color: #fff;
}

.ptg-steps-bar li.is-done {
  color: var(--ptg-teal);
  border-bottom-color: rgba(1, 159, 162, 0.35);
}

.ptg-flow-step { display: none; }
.ptg-flow-step.is-active { display: block; animation: ptgPop 0.25s ease; }

.ptg-flow-label {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--ptg-muted);
  font-weight: 600;
}

.ptg-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

@media (min-width: 520px) {
  .ptg-tabs { grid-template-columns: repeat(3, 1fr); }
}

.ptg-tab {
  border: 1px solid var(--ptg-line);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: #4B5563;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ptg-tab.is-active {
  border-color: var(--ptg-teal);
  color: var(--ptg-teal);
  box-shadow: 0 0 0 3px rgba(1, 159, 162, 0.12);
}

.ptg-tab-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--ptg-muted);
}

.ptg-flow-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.ptg-legal-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--ptg-muted);
  line-height: 1.45;
}

.ptg-legal-note a {
  color: var(--ptg-teal);
  font-weight: 700;
}

.ptg-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.35rem 0 0.85rem;
  color: #9CA3AF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ptg-or::before,
.ptg-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ptg-line);
}

.ptg-auth-password-link {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
}

.ptg-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ptg-muted);
}

.ptg-check a {
  color: var(--ptg-teal);
  font-weight: 700;
}

.ptg-auth__foot a {
  color: var(--ptg-navy);
  font-weight: 800;
}

/* Legal pages */
.ptg-legal {
  padding: 1.75rem 0 2.5rem;
  background: #fff;
}

.ptg-legal h1 {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--ptg-navy);
}

.ptg-legal__meta {
  margin: 0 0 1.5rem;
  color: var(--ptg-muted);
  font-size: 0.88rem;
}

.ptg-legal__body {
  max-width: 720px;
}

.ptg-legal__body h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ptg-ink);
  font-weight: 800;
}

.ptg-legal__body p {
  margin: 0 0 0.65rem;
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.65;
}

.ptg-legal__also {
  margin-top: 1.75rem;
  font-weight: 600;
}

.ptg-legal__also a {
  color: var(--ptg-teal);
  font-weight: 800;
}

/* ========== Unique auth portal (orbit / curve — not Unstop split) ========== */
.ptg-portal-body {
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 60% at 8% 18%, rgba(20, 33, 61, 0.12), transparent 52%),
    radial-gradient(ellipse 70% 50% at 92% 82%, rgba(252, 143, 12, 0.14), transparent 48%),
    radial-gradient(circle at 72% 12%, rgba(1, 159, 162, 0.1), transparent 30%),
    #F4F1DE;
  color: var(--ptg-ink);
}

.ptg-portal {
  min-height: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0.75rem 1rem;
  position: relative;
  overflow: hidden;
}

.ptg-portal__orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ptg-portal__ring {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border: 14px solid rgba(20, 33, 61, 0.16);
  border-radius: 50%;
  top: -12%;
  right: -8%;
  transform: rotate(-28deg);
}

.ptg-portal__spark {
  position: absolute;
  top: 12%;
  right: 14%;
  width: 14px;
  height: 14px;
  background: var(--ptg-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(252, 163, 17, 0.28), 18px -10px 0 -2px var(--ptg-gold);
}

.ptg-portal__blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%;
  filter: blur(2px);
  opacity: 0.45;
}

.ptg-portal__blob--teal {
  width: 180px; height: 160px;
  background: var(--ptg-teal);
  left: -40px; bottom: 8%;
  opacity: 0.12;
}

.ptg-portal__blob--navy {
  width: 220px; height: 200px;
  background: var(--ptg-navy);
  right: -50px; bottom: -30px;
  opacity: 0.1;
}

.ptg-portal__blob--gold {
  width: 90px; height: 90px;
  background: var(--ptg-gold);
  left: 18%; top: 18%;
  opacity: 0.16;
  border-radius: 50%;
}

.ptg-portal__back {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ptg-navy);
  font-size: 0.9rem;
}

.ptg-portal__card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 36px 18px 42px 22px;
  box-shadow:
    0 24px 60px rgba(20, 33, 61, 0.14),
    0 0 0 1px rgba(1, 159, 162, 0.08);
  overflow: hidden;
  padding: 0 1.35rem 1.4rem;
}

.ptg-portal__wave {
  height: 10px;
  margin: 0 -1.35rem 1.1rem;
  background: linear-gradient(90deg, var(--ptg-teal) 0%, var(--ptg-navy) 55%, var(--ptg-gold) 100%);
  clip-path: ellipse(75% 100% at 50% 0%);
}

.ptg-portal__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ptg-portal__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.ptg-portal__name {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ptg-navy);
  line-height: 1.1;
}

.ptg-portal__tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ptg-teal);
  margin-top: 0.15rem;
}

.ptg-portal__highlights {
  position: relative;
  min-height: 3.1rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 16px 28px 16px 28px;
  background: var(--ptg-teal-soft);
  border: 1px solid rgba(1, 159, 162, 0.15);
}

.ptg-portal__highlights p {
  margin: 0;
  position: absolute;
  inset: 0.7rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ptg-navy);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ptg-portal__highlights p.is-active {
  opacity: 1;
  transform: none;
  position: relative;
  inset: auto;
}

.ptg-portal-form h1 {
  margin: 0 0 0.3rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ptg-navy);
}

.ptg-portal-form__lead {
  margin: 0 0 1rem;
  color: var(--ptg-muted);
  font-size: 0.92rem;
}

.ptg-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--ptg-navy-soft);
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.ptg-seg__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.62rem 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ptg-navy);
}

.ptg-seg__btn.is-active {
  background: var(--ptg-gold, #fc8f0c);
  color: #fff;
  box-shadow: 0 6px 14px rgba(252, 143, 12, 0.28);
}

.ptg-portal-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.ptg-portal-form .ptg-field input,
.ptg-portal-form .ptg-field select {
  border-radius: 14px;
  border-color: var(--ptg-line);
}

.ptg-portal-form .ptg-field input:focus,
.ptg-portal-form .ptg-field select:focus {
  border-color: var(--ptg-gold, #fc8f0c);
  box-shadow: 0 0 0 3px rgba(252, 143, 12, 0.18);
}

.ptg-portal-form .ptg-btn {
  border-radius: 14px;
}

.ptg-opp-card__badge {
  border-left: 3px solid var(--ptg-gold);
  color: var(--ptg-navy);
}

.ptg-slide__tag {
  border-bottom: 2px solid var(--ptg-gold);
  color: var(--ptg-navy);
}

.ptg-rail-add { background: var(--ptg-teal); }

/* Home Spotlight covers (theme-matched assets) */
.ptg-slide--visual {
  min-height: 0;
  border: 0;
  overflow: hidden;
  border-radius: 16px;
}

.ptg-slide--visual .ptg-slide__media {
  aspect-ratio: 3 / 4;
  max-height: none;
  min-height: 260px;
  position: relative;
  background-color: #14213D;
  background-size: cover;
  background-position: center;
}

.ptg-slide__caption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(20, 33, 61, 0.9);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
}

.ptg-opp-card--compact .ptg-opp-card__body {
  padding: 0.7rem 0.8rem 0.85rem;
}

.ptg-opp-card--compact h3 {
  margin: 0;
  font-size: 0.95rem;
  -webkit-line-clamp: 1;
}

.ptg-opp-card--compact .ptg-opp-card__media {
  aspect-ratio: 16 / 11;
}

.ptg-media-card {
  display: block;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ptg-line);
  background: #fff;
  min-width: 240px;
  aspect-ratio: 16 / 10;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ptg-media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ptg-shadow);
}

.ptg-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ptg-card-row--media {
  grid-auto-columns: minmax(240px, calc((100% - 2.7rem) / 4));
}

.ptg-module__head h2 { margin: 0; }
.ptg-module { margin-bottom: 1.35rem; }

/* ========== Auth horizontal split: promo slider + form ========== */
.ptg-portal--split {
  padding: 1rem;
  perspective: 1400px;
}

.ptg-portal__shell {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  height: min(480px, calc(100vh - 4rem));
  max-height: calc(100vh - 4rem);
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  /* Without this, the implicit row sizes to its tallest child's full (unclipped)
     content height on a long form — the shell's own overflow:hidden then clips
     the excess instead of letting the form-pane's own overflow-y:auto scroll it. */
  grid-template-rows: minmax(0, 1fr);
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 28px 70px rgba(20, 33, 61, 0.16),
    0 0 0 1px rgba(1, 159, 162, 0.08);
}

@media (min-width: 900px) {
  .ptg-portal__shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

/* Sign-up only: image 30% · form 70% (custom theme — no Bootstrap) */
.ptg-portal--signup .ptg-portal__shell {
  width: min(1120px, 100%);
  height: min(560px, calc(100vh - 3.5rem));
  max-height: calc(100vh - 3.5rem);
}

@media (min-width: 900px) {
  .ptg-portal--signup .ptg-portal__shell {
    grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  }

  .ptg-portal--signup .ptg-portal-promo--visual .ptg-portal-promo__slide {
    padding: 0;
  }

  .ptg-portal--signup .ptg-portal-promo--visual .ptg-portal-promo__slide img {
    max-width: none;
    max-height: none;
  }

  .ptg-portal--signup .ptg-portal__form-pane {
    padding: 1.35rem 1.75rem 1.5rem;
  }
}

@media (max-width: 899px) {
  .ptg-portal--signup .ptg-portal-promo,
  .ptg-portal--signup .ptg-portal-promo--visual {
    display: none !important;
  }

  .ptg-portal--signup .ptg-portal__shell {
    width: min(640px, 100%);
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .ptg-portal--signup .ptg-portal__form-pane {
    width: 100%;
    padding: 1.15rem 1.2rem 1.3rem;
  }
}

/* Sign-in only: form 70% left · image 30% right */
.ptg-portal--signin .ptg-portal__shell {
  width: min(1120px, 100%);
  height: min(560px, calc(100vh - 3.5rem));
  max-height: calc(100vh - 3.5rem);
}

@media (min-width: 900px) {
  .ptg-portal--signin .ptg-portal__shell {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
  }

  .ptg-portal--signin .ptg-portal__form-pane {
    order: 1;
    padding: 1.35rem 1.75rem 1.5rem;
  }

  .ptg-portal--signin .ptg-portal-promo--visual {
    order: 2;
    border-radius: 0 0 0 5.5rem;
  }

  .ptg-portal--signin .ptg-portal-promo--visual .ptg-portal-promo__slide {
    padding: 0;
  }

  .ptg-portal--signin .ptg-portal-promo--visual .ptg-portal-promo__slide img {
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 899px) {
  .ptg-portal--signin .ptg-portal-promo,
  .ptg-portal--signin .ptg-portal-promo--visual {
    display: none !important;
  }

  .ptg-portal--signin .ptg-portal__shell {
    width: min(640px, 100%);
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .ptg-portal--signin .ptg-portal__form-pane {
    width: 100%;
    padding: 1.15rem 1.2rem 1.3rem;
  }
}

/* Card swipe between sign-in ↔ sign-up */
.ptg-portal__shell {
  transform-origin: center center;
  backface-visibility: hidden;
}

.ptg-portal__shell.is-swipe-out-left {
  animation: ptgAuthSwipeOutLeft 0.38s ease forwards;
}

.ptg-portal__shell.is-swipe-out-right {
  animation: ptgAuthSwipeOutRight 0.38s ease forwards;
}

.ptg-portal__shell.is-swipe-in-left {
  animation: ptgAuthSwipeInLeft 0.42s ease both;
}

.ptg-portal__shell.is-swipe-in-right {
  animation: ptgAuthSwipeInRight 0.42s ease both;
}

@keyframes ptgAuthSwipeOutLeft {
  from { transform: translateX(0) rotateY(0); opacity: 1; }
  to { transform: translateX(-42%) rotateY(12deg); opacity: 0; }
}

@keyframes ptgAuthSwipeOutRight {
  from { transform: translateX(0) rotateY(0); opacity: 1; }
  to { transform: translateX(42%) rotateY(-12deg); opacity: 0; }
}

@keyframes ptgAuthSwipeInLeft {
  from { transform: translateX(42%) rotateY(-12deg); opacity: 0; }
  to { transform: translateX(0) rotateY(0); opacity: 1; }
}

@keyframes ptgAuthSwipeInRight {
  from { transform: translateX(-42%) rotateY(12deg); opacity: 0; }
  to { transform: translateX(0) rotateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ptg-portal__shell.is-swipe-out-left,
  .ptg-portal__shell.is-swipe-out-right,
  .ptg-portal__shell.is-swipe-in-left,
  .ptg-portal__shell.is-swipe-in-right {
    animation: none;
  }
}

.ptg-portal-promo {
  display: none;
  flex-direction: column;
  padding: 1.25rem 1.2rem 1.1rem;
  background: linear-gradient(160deg, #14213D 0%, #14213D 58%, #fc8f0c 100%);
  color: #fff;
  position: relative;
  min-height: 0;
}

@media (min-width: 900px) {
  .ptg-portal-promo { display: flex; }
}

.ptg-portal-promo__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 0.95rem;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.ptg-portal-promo__brand img {
  width: auto;
  height: 48px;
  max-width: 280px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  display: block;
}

.ptg-portal-promo__stage {
  position: relative;
  flex: 1;
}

.ptg-portal-promo__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.ptg-portal-promo__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ptg-portal-promo__frame {
  flex: 1;
  min-height: 240px;
  border-radius: 22px 14px 26px 16px;
  background: #fff center/cover no-repeat;
  border: 4px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.ptg-portal-promo__copy {
  margin-top: 0.95rem;
}

.ptg-portal-promo__kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ptg-gold);
  margin-bottom: 0.35rem;
}

.ptg-portal-promo__copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.ptg-portal-promo__copy p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ptg-portal-promo__plan {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.ptg-portal-promo__plan li {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
}

.ptg-portal-promo__dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.ptg-portal-promo__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
}

.ptg-portal-promo__dots button.is-active {
  width: 22px;
  background: var(--ptg-gold);
}

.ptg-portal__form-pane {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1.15rem 1.25rem 1.25rem;
  background: #fff;
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.ptg-portal__form-pane::-webkit-scrollbar {
  width: 6px;
}

.ptg-portal__form-pane::-webkit-scrollbar-thumb {
  background: #c5d0db;
  border-radius: 999px;
}

.ptg-portal__form-pane .ptg-portal__body {
  width: 100%;
  max-width: 700px;
  /* max-width: 420px; */
  margin-block: auto;
  padding: 0.1rem 0 0.35rem;
}

.ptg-portal-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.ptg-portal-brand-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ptg-navy);
}

.ptg-portal-brand-row__logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.ptg-portal-brand-row__logo img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 420px) {
  .ptg-portal-brand-row__title { font-size: 1.25rem; }
  .ptg-portal-brand-row__logo img { height: 42px; }
}

.ptg-portal-form .ptg-field {
  margin-bottom: 0.62rem;
}

.ptg-portal-form h1 {
  font-size: 1.35rem;
}

.ptg-portal-form__lead {
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
}

.ptg-portal-form .ptg-steps-bar {
  margin-bottom: 0.85rem;
}

.ptg-portal-form .ptg-seg {
  margin-bottom: 0.5rem;
}

.ptg-portal-form .ptg-tab-hint {
  margin-bottom: 0.75rem;
}

.ptg-portal-form .ptg-btn--block {
  margin-top: 0.15rem;
}

.ptg-portal-form .ptg-flow-actions {
  margin-top: 0.55rem;
}

.ptg-portal-form .ptg-auth__foot {
  margin-top: 0.85rem;
}

@media (max-width: 899px) {
  .ptg-portal-body,
  .ptg-portal {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }
  .ptg-portal__shell {
    height: auto;
    max-height: none;
  }
  .ptg-portal__form-pane {
    padding: 1.15rem 1.2rem 1.3rem;
    overflow: visible;
  }
}

/* Promo: full-bleed theme panels (Dusk Blue + Soft Coral art) */
.ptg-portal-promo--visual {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #14213D;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

@media (min-width: 900px) {
  .ptg-portal-promo--visual {
    display: flex;
    border-radius: 0 0 5.5rem 0;
    z-index: 3;
  }
}

.ptg-portal-promo--visual .ptg-portal-promo__brand,
.ptg-portal-promo--visual .ptg-portal-promo__dots {
  z-index: 4;
}

.ptg-portal-promo--visual .ptg-portal-promo__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #14213D;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  z-index: 2;
}

.ptg-portal-promo--visual .ptg-portal-promo__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.55s ease;
  will-change: transform;
}

.ptg-portal-promo--visual .ptg-portal-promo__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
  inset: auto;
  display: block;
  padding: 0;
  background: #14213D;
  overflow: hidden;
  box-sizing: border-box;
}

.ptg-portal-promo--visual .ptg-portal-promo__slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #14213D;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: normal;
  filter: none;
}

.ptg-portal-promo--visual .ptg-portal-promo__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 33, 61, 0.12) 0%, rgba(20, 33, 61, 0.28) 100%);
}

.ptg-portal-promo--visual .ptg-portal-promo__dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  margin: 0;
  z-index: 3;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

/* ========== Custom bubble cursor (keeps native pointer) ========== */
.ptg-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ptg-cursor.is-on { opacity: 1; }

.ptg-cursor__orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(1, 159, 162, 0.14);
  border: 2px solid var(--ptg-teal);
  box-shadow: 0 0 0 4px rgba(1, 159, 162, 0.06);
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ptg-cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ptg-navy);
  opacity: 0.55;
  will-change: transform;
}

.ptg-cursor__dot:nth-child(2) { width: 7px; height: 7px; background: var(--ptg-teal); opacity: 0.7; }
.ptg-cursor__dot:nth-child(3) { width: 5px; height: 5px; background: var(--ptg-navy); opacity: 0.5; }
.ptg-cursor__dot:nth-child(4) { width: 4px; height: 4px; background: var(--ptg-gold); opacity: 0.75; }
.ptg-cursor__dot:nth-child(5) { width: 3px; height: 3px; background: var(--ptg-teal); opacity: 0.4; }

.ptg-cursor.is-hover .ptg-cursor__orb {
  width: 44px;
  height: 44px;
  background: rgba(1, 159, 162, 0.12);
  border-color: var(--ptg-teal);
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.16);
}

.ptg-cursor.is-down .ptg-cursor__orb {
  width: 18px;
  height: 18px;
  background: rgba(1, 159, 162, 0.35);
  border-color: var(--ptg-navy);
}

/* Text / select highlight = brand orange */
.ptg-has-cursor ::selection {
  background: rgba(252, 143, 12, 0.35);
  color: #14213D;
}

.ptg-has-cursor ::-moz-selection {
  background: rgba(252, 143, 12, 0.35);
  color: #14213D;
}

@media (pointer: coarse), (max-width: 991px) {
  .ptg-cursor { display: none !important; }
}

@media (min-width: 1400px) {
  .ptg-slider__track {
    grid-auto-columns: minmax(240px, calc((100% - 4rem) / 5));
  }
  .ptg-card-row,
  .ptg-card-row--media {
    grid-auto-columns: minmax(260px, calc((100% - 3.6rem) / 5));
  }
  .ptg-search { width: min(100%, 520px); }
}

@media (min-width: 1800px) {
  .ptg-slider__track {
    grid-auto-columns: minmax(260px, calc((100% - 5rem) / 6));
  }
  .ptg-card-row,
  .ptg-card-row--media {
    grid-auto-columns: minmax(280px, calc((100% - 4.5rem) / 6));
  }
}

/* Quiz Arena detail cards (no images) */
.ptg-quiz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .ptg-quiz-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
  .ptg-quiz-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1800px) {
  .ptg-quiz-grid { grid-template-columns: repeat(5, 1fr); }
}

.ptg-quiz-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

.ptg-quiz-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ptg-teal), var(--ptg-navy));
}

.ptg-quiz-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ptg-shadow);
  border-color: rgba(1, 159, 162, 0.35);
}

.ptg-quiz-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.ptg-quiz-card__code {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ptg-teal);
}

.ptg-quiz-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ptg-navy);
  line-height: 1.3;
}

.ptg-quiz-card__audience {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--ptg-muted);
  font-weight: 500;
}

.ptg-quiz-card__facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--ptg-canvas);
  display: grid;
  gap: 0.35rem;
}

.ptg-quiz-card__facts li {
  font-size: 0.84rem;
  color: var(--ptg-ink);
}

.ptg-quiz-card__facts strong {
  color: var(--ptg-navy);
  font-weight: 700;
  margin-right: 0.35rem;
}

.ptg-quiz-card__cta {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ptg-teal);
}

.ptg-quiz-card--assess::before {
  background: linear-gradient(180deg, var(--ptg-gold), var(--ptg-teal));
}

.ptg-quiz-card--assess .ptg-quiz-card__code {
  color: #8A6E12;
}

.ptg-module__head p {
  margin: 0.25rem 0 0;
}

.ptg-campaign__tag {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--ptg-gold-soft);
  color: #8A6E12;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

/* Season tracks — same home palette, bento layout */
.ptg-plaza {
  margin: 0.5rem 0 1.75rem;
  padding: 0;
  background: transparent;
}

.ptg-plaza__grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .ptg-plaza__grid {
    grid-template-columns: 1.7fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 320px;
  }
  .ptg-plaza__hero {
    grid-row: 1 / span 2;
  }
}

.ptg-plaza__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  padding: 1.25rem 1.25rem 1.3rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ptg-line);
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.05);
  position: relative;
  overflow: hidden;
}

.ptg-plaza__hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ptg-teal), var(--ptg-navy));
}

@media (min-width: 720px) {
  .ptg-plaza__hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.ptg-plaza__hero-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--ptg-navy);
  line-height: 1.2;
}

.ptg-plaza__hero-copy p {
  margin: 0 0 0.85rem;
  color: var(--ptg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 36rem;
}

.ptg-plaza__ticks {
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ptg-plaza__ticks li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--ptg-teal-soft);
  color: var(--ptg-teal);
  font-size: 0.75rem;
  font-weight: 700;
}

.ptg-plaza__orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 170px;
}

.ptg-plaza__ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, #fff 44%, transparent 45%),
    conic-gradient(var(--ptg-teal) 0 72%, var(--ptg-navy-soft) 72% 100%);
  box-shadow: 0 0 0 8px var(--ptg-gold-soft);
}

.ptg-plaza__ring strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ptg-navy);
}

.ptg-plaza__ring span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ptg-muted);
}

.ptg-plaza__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.ptg-plaza__pills em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--ptg-navy-soft);
  color: var(--ptg-navy);
}

.ptg-plaza__tile {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 16px;
  min-height: 0;
  border: 1px solid var(--ptg-line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ptg-plaza__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--ptg-shadow);
}

.ptg-plaza__tile--hub {
  background: var(--ptg-navy-soft);
  color: var(--ptg-ink);
}

.ptg-plaza__tile--path {
  background: var(--ptg-gold-soft);
  color: var(--ptg-ink);
}

.ptg-plaza__kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--ptg-teal);
}

.ptg-plaza__tile--path .ptg-plaza__kicker {
  color: #8A6E12;
}

.ptg-plaza__tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ptg-navy);
}

.ptg-plaza__tile p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ptg-muted);
}

.ptg-plaza__go {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ptg-teal);
}

.ptg-plaza__tile--path .ptg-plaza__go {
  color: #8A6E12;
}

.ptg-plaza__steps {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}

.ptg-plaza__steps b {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--ptg-navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.ptg-plaza__steps i {
  flex: 1;
  height: 2px;
  background: rgba(201, 162, 39, 0.45);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Quiz Arena listing */
.ptg-arena {
  padding: 1.15rem 0 2.25rem;
}

.ptg-arena__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
}

.ptg-arena__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ptg-navy);
}

.ptg-arena__head p {
  margin: 0.15rem 0 0;
  color: var(--ptg-muted);
  font-size: 0.9rem;
}

.ptg-arena__count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ptg-teal);
}

.ptg-arena__filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 14px;
}

@media (min-width: 800px) {
  .ptg-arena__filters {
    grid-template-columns: minmax(12rem, 1.6fr) repeat(3, minmax(8rem, 0.8fr)) auto;
    align-items: center;
  }
}

.ptg-arena__filters select,
.ptg-arena__search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--ptg-line);
  border-radius: 10px;
  background: var(--ptg-canvas);
  padding: 0 0.8rem;
  color: var(--ptg-ink);
}

.ptg-arena__filters select:focus,
.ptg-arena__search input:focus {
  outline: 2px solid rgba(1, 159, 162, 0.35);
  border-color: var(--ptg-teal);
}

.ptg-arena__reset {
  height: 42px;
  padding: 0 0.95rem;
  border: 0;
  background: transparent;
  color: var(--ptg-navy);
  font-weight: 700;
  font-size: 0.88rem;
}

.ptg-arena__reset:hover { color: var(--ptg-teal); }

.ptg-arena__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ptg-muted);
  background: #fff;
  border: 1px dashed var(--ptg-line);
  border-radius: 14px;
}

.ptg-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
}

.ptg-pager button {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--ptg-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ptg-navy);
  font-weight: 700;
  font-size: 0.88rem;
}

.ptg-pager button:hover:not(:disabled) {
  border-color: var(--ptg-teal);
  color: var(--ptg-teal);
}

.ptg-pager button.is-active {
  background: var(--ptg-navy);
  border-color: var(--ptg-navy);
  color: #fff;
}

.ptg-pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}





/* Quiz contest engine */
.ptg-flash { padding: 0.75rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.ptg-flash--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ptg-flash--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ptg-muted { color: var(--ptg-muted); }
.ptg-quiz-panel { background: #fff; border: 1px solid var(--ptg-line); border-radius: 16px; padding: 1.25rem 1.35rem; }
.ptg-quiz-form .ptg-field { display: block; margin-bottom: 0.85rem; }
.ptg-quiz-form .ptg-field span { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--ptg-navy); }
.ptg-quiz-form select, .ptg-quiz-form input { width: 100%; min-height: 42px; border: 1px solid var(--ptg-line); border-radius: 10px; padding: 0.45rem 0.75rem; }
.ptg-level-grid { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ptg-level-grid { grid-template-columns: repeat(3, 1fr); } }
.ptg-level-card { border: 1px solid var(--ptg-line); border-radius: 14px; padding: 1rem; background: #fafbfc; }
.ptg-level-card h4 { margin: 0.25rem 0 0.35rem; }
.ptg-table-wrap { overflow-x: auto; }
.ptg-table { width: 100%; border-collapse: collapse; }
.ptg-table th, .ptg-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--ptg-line); text-align: left; font-size: 0.9rem; }
.ptg-table th { color: var(--ptg-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.ptg-quiz-play__bar { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.ptg-quiz-nav { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1rem; }
.ptg-rail-login-form { margin: 0; }
.ptg-rail-login-form .ptg-rail-login { width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left; }
.ptg-cert { border: 2px solid var(--ptg-navy); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; background: linear-gradient(180deg, #fff 0%, #f4fbf9 100%); }
.ptg-cert__brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: 0.08em; color: var(--ptg-teal); }
.ptg-cert h1 { font-size: 1.35rem; margin: 0.75rem 0; }
.ptg-cert h2 { font-size: 1.8rem; margin: 0.35rem 0 0.75rem; color: var(--ptg-navy); }
.ptg-cert__line { color: var(--ptg-muted); margin: 0.35rem 0; }
.ptg-cert__meta { margin-top: 1.25rem; font-weight: 700; }
.ptg-cert__verify, .ptg-cert__id { font-size: 0.78rem; color: var(--ptg-muted); word-break: break-all; }
@media print {
  .ptg-rails, .ptg-topbar, .ptg-footer, .ptg-btn, .ptg-rail-backdrop, .ptg-deed-page__actions, .ptg-deed-page__banner { display: none !important; }
  .ptg-shell { margin: 0 !important; }
  .ptg-main { padding: 0 !important; }
  .ptg-deed { box-shadow: none !important; }
  .ptg-deed__frame { border-width: 2px !important; }
}

/* ===== Quiz Arena (contest details + leaderboard) ===== */
.ptg-topbar__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  width: min(100%, 28rem);
  justify-content: flex-end;
}
.ptg-topbar__end .ptg-search {
  flex: 1;
  width: auto;
  min-width: 0;
  max-width: none;
}
.ptg-account { position: relative; }
.ptg-userchip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--ptg-line);
  background: #fff;
  color: var(--ptg-navy);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  max-width: 16rem;
  appearance: none;
  cursor: pointer;
}
.ptg-userchip:hover,
.ptg-account.is-open .ptg-userchip {
  border-color: rgba(1, 159, 162, 0.45);
  background: #f4fbfa;
}
.ptg-userchip__caret {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.ptg-account.is-open .ptg-userchip__caret { transform: rotate(180deg); }
.ptg-account__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 13.75rem;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(20, 48, 79, 0.12);
  padding: 0.4rem;
  z-index: 80;
  animation: ptg-menu-in 0.16s ease;
}
@keyframes ptg-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.ptg-account__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--ptg-ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}
.ptg-account__item:hover {
  background: var(--ptg-teal-soft);
  color: var(--ptg-navy);
}
.ptg-account__item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ptg-account form { margin: 0; }
.ptg-userchip__avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #14213D;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.ptg-userchip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ptg-userchip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ptg-flash--warn {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
  line-height: 1.5;
}

.ptg-arena-hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.25rem 1.9rem;
  margin-inline: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ptg-line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, #E6F4F2 0%, #F8FAFC 55%, #fff 100%);
}
.ptg-arena-hero--compact { padding: 1.35rem 1.25rem 1.45rem; }
.ptg-arena-hero.has-banner {
  color: #fff;
  min-height: 280px;
  border: 0;
  background: transparent;
  padding: 2rem 1.25rem 2.25rem;
}
.ptg-arena-hero__media {
  position: absolute;
  inset: 0;
  background-image: var(--arena-banner);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.ptg-arena-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 28, 48, 0.82), rgba(1, 159, 162, 0.45));
  opacity: 0;
  pointer-events: none;
}
.ptg-arena-hero.has-banner .ptg-arena-hero__shade { opacity: 1; }
.ptg-arena-hero.has-banner .ptg-arena-lead,
.ptg-arena-hero.has-banner .ptg-arena-chip { color: #e8f5f3; }
.ptg-arena-hero.has-banner h1 { color: #fff; }
.ptg-arena-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  max-width: none;
}
.ptg-arena-hero--compact .ptg-arena-hero__inner { grid-template-columns: 1fr; }
.ptg-arena-hero__copy { width: 100%; min-width: 0; }
.ptg-arena-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}
.ptg-arena-kicker span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ptg-teal);
  background: rgba(1, 159, 162, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}
.ptg-arena-hero.has-banner .ptg-arena-kicker span {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.ptg-arena-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  color: var(--ptg-navy);
  max-width: none;
}
.ptg-arena-lead {
  margin: 0.75rem 0 0;
  color: var(--ptg-muted);
  font-size: 1.02rem;
  max-width: 42rem;
  line-height: 1.55;
}
.ptg-arena-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.ptg-arena-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--ptg-line);
  background: rgba(255,255,255,0.8);
  color: var(--ptg-navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
}
.ptg-arena-chip--live {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.ptg-arena-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.ptg-arena-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
  width: 100%;
}
.ptg-arena-meta--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ptg-arena-meta .ptg-arena-stat {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}
.ptg-arena-hero.has-banner .ptg-arena-meta .ptg-arena-stat {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(8px);
}
.ptg-arena-hero__card {
  display: none;
}
.ptg-arena-stat span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  opacity: 0.7;
}
.ptg-arena-stat strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.98rem;
}

.ptg-arena-stack {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
}
.ptg-arena-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
}
.ptg-arena-panel {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
}
.ptg-promo-video {
  position: relative;
  width: 100%;
  margin-top: 0.85rem;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}
.ptg-promo-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ptg-arena-panel--action { border-color: rgba(1, 159, 162, 0.28); box-shadow: 0 10px 30px rgba(1, 159, 162, 0.06); }
.ptg-arena-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.ptg-arena-panel h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ptg-navy);
}
.ptg-arena-prose {
  margin-top: 0.75rem;
  color: var(--ptg-muted);
  line-height: 1.65;
}
.ptg-arena-note { color: var(--ptg-muted); margin: 0 0 0.85rem; }
.ptg-arena-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.ptg-arena-info {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  padding: 1rem;
}
.ptg-arena-info__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #14213D;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.ptg-arena-info h3 { margin: 0 0 0.45rem; font-size: 1rem; color: var(--ptg-navy); }
.ptg-arena-info p, .ptg-arena-info li { color: var(--ptg-muted); font-size: 0.9rem; line-height: 1.5; }
.ptg-arena-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.ptg-arena-info li { display: grid; gap: 0.1rem; }
.ptg-arena-info li span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; }
.ptg-arena-info li strong { color: var(--ptg-navy); font-size: 0.9rem; }
.ptg-key-dates {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .ptg-key-dates { grid-template-columns: 1fr 1fr; }
}
.ptg-key-dates li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ptg-line);
  border-radius: 12px;
  background: #f8fafc;
}
.ptg-key-dates span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: var(--ptg-muted);
}
.ptg-key-dates strong { color: var(--ptg-navy); font-size: 0.95rem; }
.ptg-page-table {
  width: 100%;
  margin-top: 0.85rem;
  border-collapse: collapse;
}
.ptg-page-table th,
.ptg-page-table td {
  border: 1px solid var(--ptg-line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.ptg-page-table th {
  background: #f6f3ee;
  color: var(--ptg-navy);
  font-size: 0.78rem;
}
.ptg-page-table td { color: var(--ptg-muted); font-size: 0.9rem; }
.ptg-reader-level { margin: 0.85rem 0 0.35rem; font-size: 1rem; color: var(--ptg-navy); }
.ptg-fee-list { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.ptg-fee-list li { margin: 0.2rem 0; }
.ptg-reader__back { color: var(--ptg-navy); font-weight: 700; text-decoration: none; }
.ptg-reader__frame {
  width: 100%;
  height: min(78vh, 900px);
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  background: #fff;
}
.ptg-reader__image {
  max-width: 100%;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
}

.ptg-arena-levels { display: grid; gap: 0.7rem; margin-top: 0.9rem; }
.ptg-arena-path-note {
  margin: 0 0 0.25rem;
  color: var(--ptg-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.ptg-arena-path-note strong { color: var(--ptg-navy); }
.ptg-arena-path-note__meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.84rem;
}
.ptg-arena-level {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--ptg-line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: #f8fafc;
}
.ptg-arena-level.is-open {
  background: #E6F4F2;
  border-color: #C5D0DC;
}
.ptg-arena-level.is-passed,
.ptg-arena-level.is-done {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.ptg-arena-level.is-failed {
  background: #FFF4E0;
  border-color: #F0C4B6;
  opacity: 1;
}
.ptg-arena-level.is-locked {
  background: #f1f5f9;
  border-color: #e2e8f0;
  opacity: 1;
}
.ptg-arena-level__index {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #94a3b8;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
}
.ptg-arena-level.is-open .ptg-arena-level__index { background: #14213D; }
.ptg-arena-level.is-passed .ptg-arena-level__index,
.ptg-arena-level.is-done .ptg-arena-level__index { background: #047857; }
.ptg-arena-level.is-failed .ptg-arena-level__index { background: #fc8f0c; }
.ptg-arena-level.is-locked .ptg-arena-level__index { background: #94a3b8; }
.ptg-arena-level__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.ptg-arena-level h3 { margin: 0; font-size: 1rem; color: var(--ptg-navy); }
.ptg-arena-level p { margin: 0.2rem 0 0; color: var(--ptg-muted); font-size: 0.86rem; }
.ptg-arena-level__score { font-weight: 700; }
.ptg-arena-level__score.is-pass { color: #047857 !important; }
.ptg-arena-level__score.is-fail { color: #9a3412 !important; }
.ptg-arena-level__lock-reason {
  margin-top: 0.35rem !important;
  color: #64748b !important;
  font-size: 0.84rem !important;
  line-height: 1.45;
}
.ptg-arena-status {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ptg-arena-status--pass { background: #d1fae5; color: #065f46; }
.ptg-arena-status--fail { background: #FFF4E0; color: #9a3412; border: 1px solid #F0C4B6; }
.ptg-arena-status--open { background: #E6F4F2; color: #14213D; }
.ptg-arena-status--lock { background: #e2e8f0; color: #475569; }
.ptg-arena-lock {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ptg-arena-podium { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.ptg-arena-podium--row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ptg-arena-podium__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--ptg-line);
}
.ptg-arena-podium__item.is-1 { background: linear-gradient(90deg, #fff7d6, #fff); border-color: #fde68a; }
.ptg-arena-podium__item.is-2 { background: linear-gradient(90deg, #f1f5f9, #fff); }
.ptg-arena-podium__item.is-3 { background: linear-gradient(90deg, #fff1e8, #fff); border-color: #fdba74; }
.ptg-arena-podium__rank {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  background: var(--ptg-navy);
  color: #fff;
}
.ptg-arena-podium__item strong { display: block; color: var(--ptg-navy); font-size: 0.92rem; }
.ptg-arena-podium__item small { color: var(--ptg-muted); }
.ptg-arena-podium__item em { font-style: normal; font-weight: 800; color: #14213D; }

.ptg-arena-empty {
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed var(--ptg-line);
  color: var(--ptg-muted);
  font-size: 0.9rem;
}
.ptg-arena-empty--lg { text-align: center; padding: 2rem 1rem; }
.ptg-arena-panel--tips ul { margin: 0.65rem 0 0; padding-left: 1.1rem; color: var(--ptg-muted); line-height: 1.55; }
.ptg-link-btn {
  border: 0;
  background: transparent;
  color: var(--ptg-teal);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
}

.ptg-arena-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  width: 100%;
  max-width: none;
}
.ptg-arena-filters .ptg-field { margin: 0; }
.ptg-arena-board-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.ptg-arena-trophy {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 18px;
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}
.ptg-arena-trophy.is-1 { border-color: #f59e0b; background: linear-gradient(180deg, #fffbeb, #fff); }
.ptg-arena-trophy.is-2 { border-color: #94a3b8; background: linear-gradient(180deg, #f8fafc, #fff); }
.ptg-arena-trophy.is-3 { border-color: #fb923c; background: linear-gradient(180deg, #fff7ed, #fff); }
.ptg-arena-trophy__rank {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--ptg-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}
.ptg-arena-trophy h3 { margin: 0.65rem 0 0.2rem; color: var(--ptg-navy); font-size: 1.05rem; }
.ptg-arena-trophy p { margin: 0; color: var(--ptg-muted); font-size: 0.86rem; }
.ptg-arena-trophy__meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  font-weight: 800;
  color: #14213D;
}
.ptg-table--board th { white-space: nowrap; }
.ptg-table--board tr.is-top td { background: #f0fdfa; }
.ptg-table--compact td { padding: 0.45rem 0.55rem; font-size: 0.84rem; }
.ptg-arena-rankpill {
  display: inline-flex;
  min-width: 2.2rem;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
  font-weight: 800;
  font-size: 0.78rem;
}

/* Full-width exam player — stays inside shell gutters (sidebar-safe) */
.ptg-arena {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.ptg-exam {
  padding: 0.85rem 0 1.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ptg-exam__frame {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ptg-exam__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
}
.ptg-exam__toolbar-copy { min-width: 0; flex: 1; }
.ptg-exam__toolbar-copy h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ptg-navy);
  line-height: 1.25;
}
.ptg-exam__toolbar-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ptg-exam__save {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ptg-muted);
  min-width: 4.5rem;
  text-align: right;
}
.ptg-exam__save.is-ok { color: #047857; }
.ptg-exam__save.is-pending { color: #b45309; }
.ptg-exam__save.is-err { color: #b91c1c; }
.ptg-exam__shell {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.ptg-exam__palette {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  padding: 0.95rem;
  position: sticky;
  top: calc(var(--topbar-h) + 0.75rem);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: calc(100vh - var(--topbar-h) - 1.5rem);
  overflow-y: auto;
}
.ptg-exam__palette-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  color: var(--ptg-navy);
  font-size: 0.9rem;
}
.ptg-exam__palette-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}
.ptg-exam__qbtn {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--ptg-line);
  background: #f8fafc;
  color: var(--ptg-navy);
  font-weight: 800;
  font-size: 0.82rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ptg-exam__qbtn:hover { border-color: #94a3b8; }
.ptg-exam__qbtn.is-current {
  background: #14213D;
  border-color: #14213D;
  color: #fff;
}
.ptg-exam__qbtn.is-answered:not(.is-current) {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.ptg-exam__legend {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid var(--ptg-line);
  color: var(--ptg-muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.ptg-exam__legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ptg-exam__legend span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid var(--ptg-line);
  background: #f8fafc;
}
.ptg-exam__legend .is-current { background: #14213D; border-color: #14213D; }
.ptg-exam__legend .is-answered { background: #ecfdf5; border-color: #a7f3d0; }
.ptg-exam__legend .is-todo { background: #f8fafc; border-color: #cbd5e1; }
.ptg-exam__summary {
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: #E6F4F2;
  border: 1px solid #E5E5E5;
}
.ptg-exam__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ptg-muted);
  font-weight: 600;
}
.ptg-exam__summary-row strong {
  color: var(--ptg-navy);
  font-size: 0.88rem;
  font-weight: 800;
}
.ptg-exam__notes {
  margin-top: auto;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFF4E0 0%, #fff 70%);
  border: 1px solid #F0C4B6;
}
.ptg-exam__notes h3 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9a3412;
}
.ptg-exam__notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.ptg-exam__notes li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #5B6B7C;
  font-weight: 500;
}
.ptg-exam__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fc8f0c;
}
.ptg-exam__hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ptg-muted);
}
.ptg-exam__stage {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.25rem;
}
.ptg-exam__card { margin: 0; }
.ptg-exam__qmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}
.ptg-exam__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #E6F4F2;
  color: #14213D;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ptg-exam__marks {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ptg-muted);
}
.ptg-exam__card h2 {
  margin: 0;
  font-size: clamp(1.12rem, 2.1vw, 1.4rem);
  line-height: 1.45;
  color: var(--ptg-navy);
  font-weight: 750;
}
.ptg-exam__note {
  margin: 0 0 0.85rem;
  color: var(--ptg-muted);
  font-size: 0.88rem;
}
.ptg-exam__empty {
  margin: 0.5rem 0 0;
  color: var(--ptg-muted);
}
.ptg-quiz-answer {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.15rem;
}
.ptg-quiz-option {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border: 1.5px solid var(--ptg-line);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.ptg-quiz-option:hover {
  border-color: #94a3b8;
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.06);
}
.ptg-quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ptg-quiz-option__key {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #F1F5F9;
  color: var(--ptg-navy);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.ptg-quiz-option__img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: 8px;
}
.ptg-quiz-option__text {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ptg-ink);
  padding-top: 0.15rem;
}
.ptg-quiz-option.is-selected {
  border-color: #14213D;
  background: #F4F1DE;
  box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.12);
}
.ptg-quiz-option.is-selected .ptg-quiz-option__key {
  background: #14213D;
  color: #fff;
}
.ptg-quiz-field {
  display: grid;
  gap: 0.4rem;
}
.ptg-quiz-field > span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ptg-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ptg-quiz-field--match {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--ptg-line);
  border-radius: 12px;
  background: #fafbfc;
}
.ptg-quiz-match-left {
  font-weight: 700;
  color: var(--ptg-navy);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.95rem !important;
}
.ptg-quiz-input {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--ptg-line);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  background: #fff;
  color: var(--ptg-ink);
  font-size: 1rem;
}
.ptg-quiz-input:focus {
  outline: none;
  border-color: #14213D;
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.12);
}
.ptg-quiz-input--area {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.ptg-quiz-order { display: grid; gap: 0.55rem; }
.ptg-quiz-order__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--ptg-line);
  border-radius: 12px;
  background: #fff;
}
.ptg-quiz-order__num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #E6F4F2;
  color: #14213D;
  font-weight: 800;
  font-size: 0.8rem;
}
.ptg-quiz-order__text { font-weight: 600; color: var(--ptg-ink); }
.ptg-quiz-order__actions { display: flex; gap: 0.35rem; }
.ptg-quiz-order__btn {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--ptg-line);
  background: #f8fafc;
  color: var(--ptg-navy);
  font-weight: 800;
}
.ptg-quiz-order__btn:hover { background: #E6F4F2; }
.ptg-quiz-media { display: grid; gap: 0.85rem; margin-bottom: 0.85rem; }
.ptg-quiz-media__item img,
.ptg-quiz-media__item video {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  background: #0f172a0a;
  border: 1px solid var(--ptg-line);
}
.ptg-quiz-media__item audio { width: 100%; }
.ptg-quiz-nav {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ptg-line);
}
.ptg-quiz-nav__spacer { flex: 1; min-width: 0.5rem; }
.ptg-timer {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ptg-navy);
  background: #E6F4F2;
  border: 1px solid var(--ptg-line);
  border-radius: 12px;
  padding: 0.45rem 0.9rem;
  min-width: 5.5rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.ptg-timer.is-urgent {
  background: #FFF4E0;
  border-color: #fc8f0c;
  color: #9a3412;
}
.ptg-quiz-progress {
  height: 8px;
  background: #e8eef5;
  border-radius: 99px;
  overflow: hidden;
}
.ptg-quiz-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #14213D, #fc8f0c);
  transition: width .2s ease;
}

/* ===== Contest leaderboard ===== */
.ptg-board {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1rem 0 2rem;
  display: grid;
  gap: 1.1rem;
}
.ptg-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
}
.ptg-board__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ptg-muted);
}
.ptg-board__head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--ptg-navy);
  line-height: 1.2;
}
.ptg-board__lead {
  margin: 0.45rem 0 0;
  color: var(--ptg-muted);
  font-size: 0.95rem;
  max-width: 42rem;
}
.ptg-board__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ptg-board__filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 16rem));
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 14px;
}
.ptg-board__filter {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}
.ptg-board__filter span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ptg-muted);
}
.ptg-board__filter select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--ptg-line);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  background: #fff;
  color: var(--ptg-ink);
  font: inherit;
}
.ptg-board__filter select:focus {
  outline: none;
  border-color: #14213D;
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.12);
}
.ptg-board__empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: #fff;
  border: 1px dashed var(--ptg-line);
  border-radius: 16px;
}
.ptg-board__empty strong {
  display: block;
  color: var(--ptg-navy);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.ptg-board__empty p {
  margin: 0;
  color: var(--ptg-muted);
}
.ptg-board__podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}
.ptg-board__podium-card {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  padding: 1.15rem 1rem 1.2rem;
  text-align: center;
  min-width: 0;
}
.ptg-board__podium-card.is-1 {
  border-color: #fc8f0c;
  background: linear-gradient(180deg, #FFF4E0 0%, #fff 55%);
  padding-top: 1.45rem;
  padding-bottom: 1.45rem;
  box-shadow: 0 14px 28px rgba(252, 163, 17, 0.12);
}
.ptg-board__podium-card.is-2 {
  border-color: #C5D0DC;
  background: linear-gradient(180deg, #E6F4F2 0%, #fff 60%);
}
.ptg-board__podium-card.is-3 {
  border-color: #E5E5E5;
  background: linear-gradient(180deg, #F4F1DE 0%, #fff 60%);
}
.ptg-board__medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #14213D;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ptg-board__podium-card.is-1 .ptg-board__medal { background: #fc8f0c; }
.ptg-board__podium-card h2 {
  margin: 0.7rem 0 0.2rem;
  font-size: 1.08rem;
  color: var(--ptg-navy);
  word-break: break-word;
}
.ptg-board__podium-card > p {
  margin: 0;
  color: var(--ptg-muted);
  font-size: 0.86rem;
}
.ptg-board__podium-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.85rem 0 0.7rem;
  font-size: 0.82rem;
  color: var(--ptg-muted);
}
.ptg-board__podium-stats strong {
  color: var(--ptg-navy);
  font-size: 0.95rem;
}
.ptg-board__badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
}
.ptg-board__badge--mute {
  background: #E6F4F2;
  color: #5B6B7C;
}
.ptg-board__table-card {
  background: #fff;
  border: 1px solid var(--ptg-line);
  border-radius: 16px;
  overflow: hidden;
}
.ptg-board__table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--ptg-line);
  background: #F8FAFC;
}
.ptg-board__table-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--ptg-navy);
}
.ptg-board__table-head span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ptg-muted);
}
.ptg-board__table {
  margin: 0;
}
.ptg-board__table th,
.ptg-board__table td {
  padding: 0.8rem 1rem;
  vertical-align: middle;
}
.ptg-board__table th {
  background: #fff;
  border-bottom: 1px solid var(--ptg-line);
}
.ptg-board__table tr.is-top td {
  background: #F8FAFC;
}
.ptg-board__rank {
  display: inline-flex;
  min-width: 2.4rem;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #E6F4F2;
  color: var(--ptg-navy);
  font-weight: 800;
  font-size: 0.8rem;
}
.ptg-board__rank.is-1 { background: #FFF4E0; color: #9a3412; }
.ptg-board__rank.is-2 { background: #E8EAF0; color: #14213D; }
.ptg-board__rank.is-3 { background: #F4F1DE; color: #475569; }
.ptg-board__status {
  display: inline-flex;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #E6F4F2;
  color: #5B6B7C;
  font-size: 0.72rem;
  font-weight: 800;
}
.ptg-board__status.is-pass {
  background: #ecfdf5;
  color: #047857;
}

@media (max-width: 980px) {
  .ptg-arena-hero__inner,
  .ptg-arena-info-grid,
  .ptg-arena-board-top,
  .ptg-arena-bottom,
  .ptg-arena-meta,
  .ptg-arena-meta--3,
  .ptg-exam__shell { grid-template-columns: 1fr; }
  .ptg-exam__palette { position: static; }
  .ptg-exam__palette-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .ptg-quiz-field--match { grid-template-columns: 1fr; }
  .ptg-board__podium { grid-template-columns: 1fr; }
  .ptg-board__podium-card.is-1 { order: -1; }
  .ptg-board__filters { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ptg-topbar__end .ptg-search { display: none; }
  .ptg-topbar__end { width: auto; }
  .ptg-userchip__name { display: none; }
  .ptg-arena-level { grid-template-columns: auto 1fr; }
  .ptg-arena-level__action { grid-column: 2; }
  .ptg-arena-filters { grid-template-columns: 1fr; }
  .ptg-arena-cta .ptg-btn { width: 100%; justify-content: center; }
  .ptg-exam__palette-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ptg-arena-meta { grid-template-columns: 1fr 1fr; }
  .ptg-exam__toolbar { padding: 0.9rem 1rem; }
  .ptg-exam__stage { padding: 1rem; }
  .ptg-quiz-nav__spacer { display: none; }
  .ptg-quiz-nav .ptg-btn { flex: 1 1 auto; justify-content: center; }
}

/* ===== Student profile ===== */
.ptg-studio-banner {
  position: relative;
  overflow: hidden;
  margin-inline: calc(-1 * var(--ptg-gutter));
  padding: 2.1rem var(--ptg-gutter) 2.2rem;
  width: calc(100% + (2 * var(--ptg-gutter)));
  max-width: none;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 8% 20%, rgba(201, 162, 39, 0.16), transparent 34%),
    radial-gradient(circle at 92% 80%, rgba(1, 159, 162, 0.22), transparent 42%),
    linear-gradient(118deg, #0e3a5a 0%, #1b4f8a 46%, #14213D 100%);
  color: #fff;
}
.ptg-studio-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: ptg-menu-in 0.35s ease;
}
.ptg-studio-mark {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #14304f;
  background: #f4e7b4;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}
.ptg-studio-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ptg-studio-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.12;
}
.ptg-studio-banner p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  max-width: 40rem;
}
.ptg-studio-shell {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.ptg-studio-nav {
  position: sticky;
  top: calc(var(--topbar-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.15rem;
}
.ptg-studio-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  color: var(--ptg-muted);
  font-weight: 600;
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
}
.ptg-studio-nav a:hover { color: var(--ptg-navy); background: #eef6f5; }
.ptg-studio-nav a.is-active {
  color: var(--ptg-navy);
  background: #e7f4f2;
  border-left-color: var(--ptg-teal);
}
.ptg-studio-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ptg-studio-nav em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ptg-teal);
}
.ptg-studio-panel__head {
  margin-bottom: 1.15rem;
}
.ptg-studio-panel__head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ptg-navy);
}
.ptg-studio-panel__head p {
  margin: 0.3rem 0 0;
  color: var(--ptg-muted);
}
.ptg-studio-sub {
  margin: 1.5rem 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ptg-teal);
}
.ptg-studio-sub:first-of-type { margin-top: 0; }
.ptg-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  border-top: 1px solid var(--ptg-line);
}
.ptg-kv > div {
  display: grid;
  grid-template-columns: 8.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ptg-line);
}
.ptg-kv dt {
  margin: 0;
  color: var(--ptg-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.12rem;
}
.ptg-kv dd {
  margin: 0;
  color: var(--ptg-navy);
  font-weight: 600;
  word-break: break-word;
}
.ptg-kv--wide { grid-column: 1 / -1; }
.ptg-studio-empty {
  margin: 0;
  color: var(--ptg-muted);
  padding: 1.25rem 0;
}
.ptg-studio-empty a { color: var(--ptg-teal); font-weight: 700; }
.ptg-table__sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--ptg-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
@media (max-width: 860px) {
  .ptg-studio-shell { grid-template-columns: 1fr; }
  .ptg-studio-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    border-bottom: 1px solid var(--ptg-line);
    margin-bottom: 0.35rem;
  }
  .ptg-studio-nav a {
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .ptg-studio-nav a.is-active {
    border-bottom-color: var(--ptg-teal);
    background: transparent;
  }
  .ptg-kv { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ptg-studio-banner__inner { align-items: flex-start; }
  .ptg-studio-mark { width: 3.6rem; height: 3.6rem; font-size: 1.05rem; }
  .ptg-kv > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ===== Certificate deed ===== */
.ptg-deed-page {
  padding: 1.5rem 0 2.5rem;
}
.ptg-deed-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}
.ptg-deed-page__banner {
  width: min(100%, 52rem);
  text-align: center;
}
.ptg-deed-page__banner p {
  margin: 0.45rem 0 0;
  color: var(--ptg-muted);
}
.ptg-deed-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: min(100%, 52rem);
}
.ptg-deed {
  width: min(100%, 52rem);
  margin-inline: auto;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 39, 0.12), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(1, 159, 162, 0.1), transparent 32%),
    #fff;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(20, 48, 79, 0.12);
}
.ptg-deed__frame {
  margin: 0.85rem;
  padding: 1.5rem 1.6rem 1.35rem;
  border: 2px solid #1b4f8a;
  outline: 1px solid #c9a227;
  outline-offset: 5px;
  position: relative;
}
.ptg-deed__frame::before,
.ptg-deed__frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #14213D;
}
.ptg-deed__frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.ptg-deed__frame::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.ptg-deed__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ptg-line);
}
.ptg-deed__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.ptg-deed__brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ptg-line);
}
.ptg-deed__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ptg-navy);
  letter-spacing: 0.04em;
}
.ptg-deed__brand span {
  display: block;
  color: var(--ptg-muted);
  font-size: 0.82rem;
  margin-top: 0.1rem;
}
.ptg-deed__contact {
  display: grid;
  gap: 0.15rem;
  text-align: right;
  color: var(--ptg-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.ptg-deed__title {
  text-align: center;
  padding: 1.25rem 0 0.35rem;
}
.ptg-deed__eyebrow {
  margin: 0;
  color: var(--ptg-teal);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.ptg-deed__title h1 {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: var(--ptg-navy);
}
.ptg-deed__seal-line {
  margin: 0;
  color: var(--ptg-muted);
  font-size: 0.9rem;
}
.ptg-deed__block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--ptg-line);
}
.ptg-deed__block h2 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ptg-teal);
}
.ptg-deed__block dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
}
.ptg-deed__block dl > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: baseline;
}
.ptg-deed__block dt {
  margin: 0;
  color: var(--ptg-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ptg-deed__block dd {
  margin: 0;
  color: var(--ptg-navy);
  font-weight: 600;
  font-size: 0.92rem;
}
.ptg-deed__person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}
.ptg-deed__campus {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 92px;
}
.ptg-deed__campus img {
  max-width: 92px;
  max-height: 72px;
  object-fit: contain;
}
.ptg-deed__name {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--ptg-navy) !important;
}
.ptg-deed__foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(20, 33, 61, 0.18);
  display: grid;
  gap: 0.75rem;
}
.ptg-deed__signoff p {
  margin: 0.2rem 0;
  color: var(--ptg-muted);
  font-size: 0.88rem;
}
.ptg-deed__ids p {
  margin: 0.2rem 0;
  font-size: 0.78rem;
  color: var(--ptg-muted);
  word-break: break-all;
}
.ptg-deed__verify {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.ptg-deed.is-landscape .ptg-deed__frame {
  max-width: 1100px;
}
.ptg-deed[style*="--deed-bg"] .ptg-deed__frame {
  background-image: var(--deed-bg);
  background-size: cover;
  background-position: center;
}
.ptg-deed[style*="--deed-bg"] .ptg-deed__frame > * {
  position: relative;
  z-index: 1;
}
.ptg-deed__qr--svg {
  width: 120px;
  height: 120px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ptg-deed__qr--svg svg {
  width: 100%;
  height: 100%;
}
.ptg-deed__ids span {
  display: inline-block;
  min-width: 6.5rem;
  font-weight: 800;
  color: var(--ptg-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}
.ptg-deed__motto {
  margin: 0.35rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ptg-navy);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .ptg-deed__head { flex-direction: column; }
  .ptg-deed__contact { text-align: left; }
  .ptg-deed__block dl,
  .ptg-deed__block dl > div { grid-template-columns: 1fr; }
  .ptg-deed__frame { margin: 0.55rem; padding: 1.1rem; }
}

/* Phase 2 Slice 1 — upload contest UI */
.ptg-contest-action-slot {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}
.ptg-upload-stack {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}
.ptg-upload-panel .ptg-arena-panel__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ptg-line);
}
.ptg-arena-chip--warn {
  background: rgba(252, 163, 17, 0.14);
  color: #9a4b36;
}
.ptg-upload-materials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.ptg-upload-materials li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--ptg-line);
  border-radius: 12px;
  background: #f8fafc;
}
.ptg-upload-materials strong { display: block; color: var(--ptg-navy); }
.ptg-upload-materials .ptg-muted { display: block; font-size: 0.82rem; margin-top: 0.2rem; }
.ptg-material-lock {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a4b36;
  background: rgba(252, 163, 17, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.ptg-upload-rules {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.85rem 0.85rem 1.35rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--ptg-line);
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}
.ptg-upload-rules li + li { margin-top: 0.25rem; }
.ptg-upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 148px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  padding: 1.35rem 1.25rem;
  cursor: pointer;
  text-align: center;
  color: #64748b;
}
.ptg-upload-drop:hover {
  border-color: #fc8f0c;
  background: #fff;
}
.ptg-upload-drop strong { color: var(--ptg-navy); font-size: 1rem; }
.ptg-upload-drop input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.ptg-upload-form {
  position: relative;
  display: grid;
  gap: 0.35rem;
}
.ptg-upload-filename {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.88rem;
  color: #475569;
}
.ptg-upload-form .ptg-field-error {
  margin: 0 0 0.5rem;
}
.ptg-upload-form .ptg-btn {
  margin-top: 0.35rem;
  justify-self: start;
}
.ptg-upload-note { margin-top: 0.75rem; font-size: 0.85rem; }
.ptg-upload-status {
  margin-top: 1.15rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--ptg-line);
  background: rgba(20, 33, 61, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ptg-upload-panel .ptg-arena-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--ptg-line);
}
.ptg-btn--sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
@media (max-width: 900px) {
  .ptg-arena-stack { gap: 1.15rem; }
  .ptg-upload-stack,
  .ptg-contest-action-slot { gap: 1.1rem; }
}
@media (max-width: 640px) {
  .ptg-upload-materials li { flex-direction: column; align-items: flex-start; }
}

/* Sign in / Sign up — cream canvas + .COM orange primary */
.ptg-portal-body {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(20, 33, 61, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(252, 143, 12, 0.14), transparent 50%),
    #F4F1DE;
}
.ptg-portal__shell {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(20, 33, 61, 0.14), 0 0 0 1px rgba(20, 33, 61, 0.06);
}
.ptg-portal--signin .ptg-portal__shell,
.ptg-portal--signup .ptg-portal__shell {
  height: auto;
  min-height: min(680px, calc(100vh - 2.5rem));
  max-height: calc(100vh - 2rem);
}
.ptg-portal__form-pane {
  background: #fff;
}
.ptg-portal-form h1 {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: #14213D;
}
.ptg-portal-form .ptg-btn--primary {
  background: #fc8f0c !important;
  color: #fff !important;
  min-height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(252, 143, 12, 0.28);
}
.ptg-portal-form .ptg-btn--primary:hover {
  background: #14213D !important;
  color: #fff !important;
}
.ptg-portal-form .ptg-seg {
  background: #F4F1DE;
  border-radius: 14px;
}
.ptg-portal-form .ptg-seg__btn.is-active {
  background: #fc8f0c !important;
  color: #fff !important;
  box-shadow: none;
}
.ptg-portal-form .ptg-field input,
.ptg-portal-form .ptg-field select {
  border-radius: 12px;
  min-height: 46px;
  border-color: #e4ddd6;
  background: #fff;
}
.ptg-portal-form .ptg-field input:focus,
.ptg-portal-form .ptg-field select:focus {
  border-color: #fc8f0c !important;
  box-shadow: 0 0 0 3px rgba(252, 143, 12, 0.18) !important;
}
.ptg-portal-form .ptg-steps-bar li.is-active { color: #fc8f0c; border-bottom-color: #fc8f0c; }
.ptg-portal-form .ptg-steps-bar li.is-active span,
.ptg-portal-form .ptg-steps-bar li.is-done span { background: #fc8f0c; color: #fff; }
.ptg-portal-form .ptg-auth__foot a,
.ptg-portal-form .ptg-link-btn,
.ptg-portal-form .ptg-legal-note a { color: #019fa2; }
.ptg-portal__back { color: #14213D; }
.ptg-portal-promo--visual {
  background: #14213D;
  box-shadow: inset 0 0 0 1px rgba(252, 143, 12, 0.35);
}
.ptg-portal-promo--visual .ptg-portal-promo__dots button.is-active {
  background: #fc8f0c;
}

/* A.75 — public header / footer chrome (keep theme markup; CSS-only polish) */
.header-top__offer-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.header-top__offer-link:hover {
  color: inherit;
  opacity: 0.92;
  text-decoration: none;
}
.header-top__offer-link span {
  color: var(--secondary, #fc8f0c);
  font-weight: 600;
}
.header-area-1 .header-logo {
  width: auto;
  flex-shrink: 0;
  margin-top: 0;
}
.header-area-1 .header-logo a {
  display: inline-flex;
  align-items: center;
}
.header-area-1 .header-logo img,
.offset-logo img,
.offset-logo-footer img {
  width: auto !important;
  height: 78px;
  max-width: none;
  object-fit: contain;
  display: block;
}
.footer1__logo img {
  width: auto !important;
  height: 96px;
  max-width: min(280px, 100%);
  object-fit: contain;
  display: block;
}
.offset-logo { width: auto; }

.header-area-1-inner {
  height: 102px;
}
.header-area-1-inner .left {
  gap: 36px;
  min-width: 0;
  flex: 1 1 auto;
}
.header-area-1 .header-nav {
  min-width: 0;
}
.header-area-1 .main-menu > ul {
  gap: 18px;
}
.header-area-1 .main-menu > ul > li {
  position: relative;
}
.header-area-1 .main-menu > ul > li > a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  /* theme default 37px padding = huge gap under menu + dropdown far below */
  padding: 12px 0 !important;
}
/* Theme dropdown arrow — FA solid needs weight 900 */
.header-area-1 .main-menu li.menu-item-has-children > a:after {
  content: "\f107";
  font-family: var(--font_awesome, "Font Awesome 6 Free");
  font-weight: 900;
  font-size: 12px;
  margin-inline-start: 6px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}
.header-area-1 .main-menu > ul > li.menu-item-has-children:hover > a:after {
  transform: rotate(180deg);
}
/* Global Expose dropdown — tight under label, no big empty hover gap */
.header-area-1 .main-menu ul.dp-menu {
  top: 100%;
  inset-inline-start: 0;
  margin-top: 0;
  padding: 8px 0;
  width: 240px;
  border-radius: 10px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.12);
}
.header-area-1 .main-menu ul.dp-menu::before {
  height: 6px;
  top: -6px;
}
.header-area-1 .main-menu ul.dp-menu li {
  padding: 0 8px;
}
.header-area-1 .main-menu ul.dp-menu li a {
  padding: 10px 12px !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #14213D;
}
.header-area-1 .main-menu ul.dp-menu li a:hover {
  background: #FFF8EE;
  letter-spacing: 0;
}

.header-button--auth {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
/* Theme button + Sign in / Sign up links inside — full theme hover + arrow */
.ptg-header-auth-btn {
  cursor: default;
}
.ptg-header-auth-btn .text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ptg-header-auth-btn .text a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}
.ptg-header-auth-btn .text a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ptg-header-auth-sep {
  opacity: 0.75;
  user-select: none;
  pointer-events: none;
}

@media only screen and (max-width: 1399px) {
  .header-area-1 .header-logo img { height: 68px; }
  .header-area-1-inner { height: 92px; }
  .header-area-1-inner .left { gap: 24px; }
  .header-area-1 .main-menu > ul { gap: 12px; }
  .header-area-1 .main-menu > ul > li > a { font-size: 15px; }
}
@media only screen and (max-width: 1199px) {
  .header-area-1 .header-logo img,
  .offset-logo img,
  .offset-logo-footer img { height: 56px; }
  .footer1__logo img { height: 72px; }
  .header-area-1-inner { height: 78px; }
}
/* Instagram ↔ footer gap */
.instagram.bg2 .instagram__wrap.section-padding {
  padding-bottom: 40px;
}
.footer1.site-footer .footer1__main {
  padding-top: 48px;
}
.footer1__app-newsletter {
  margin-bottom: 1.25rem;
}
.footer1__newsletter-label {
  margin-bottom: 12px;
  color: #14213D;
  font-weight: 600;
}
.footer1__form--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.footer1__form--compact .footer1__input-wrap {
  position: relative;
  flex: 1 1 160px;
  min-width: 0;
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
.footer1__form--compact .footer1__input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #14213D;
  font-size: 14px;
  padding: 12px 42px 12px 14px;
}
.footer1__form--compact .footer1__input-wrap input::placeholder {
  color: rgba(20, 33, 61, 0.45);
}
.footer1__form--compact .footer1__input-wrap .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 0;
}
.footer1__form--compact .footer1__input-wrap .icon svg path {
  fill: #14213D;
  opacity: 0.55;
}
.footer1__form--compact .theme-btn.button-bg-secondary {
  flex: 0 0 auto;
  align-self: stretch;
  background: var(--secondary, #fc8f0c) !important;
  border: 1px solid transparent !important;
  color: #fff;
}
.footer1__form--compact .theme-btn.button-bg-secondary .text {
  color: #fff !important;
}
.footer1__form--compact .theme-btn.button-bg-secondary .icon {
  background: #fff !important;
}
.footer1__form--compact .theme-btn.button-bg-secondary .icon svg path {
  fill: #14213D !important;
}
.footer1__form--compact .theme-btn.button-bg-secondary:hover,
.footer1__form--compact .theme-btn.button-bg-secondary:focus-visible {
  background: #14213D !important;
  border-color: #14213D !important;
  opacity: 1;
  transform: translateY(-2px);
}
.footer1__form--compact .theme-btn.button-bg-secondary:hover::before,
.footer1__form--compact .theme-btn.button-bg-secondary:focus-visible::before {
  background: #14213D !important;
}
.footer1__form--compact .theme-btn.button-bg-secondary:hover .text,
.footer1__form--compact .theme-btn.button-bg-secondary:focus-visible .text {
  color: #fff !important;
}
.footer1__form--compact .theme-btn.button-bg-secondary:hover .icon,
.footer1__form--compact .theme-btn.button-bg-secondary:focus-visible .icon {
  background: #fc8f0c !important;
}
.footer1__form--compact .theme-btn.button-bg-secondary:hover .icon svg path,
.footer1__form--compact .theme-btn.button-bg-secondary:focus-visible .icon svg path {
  fill: #14213D !important;
}
.footer1.bg-white .footer1__contact-item {
  color: #14213D;
}
.footer1.bg-white .footer1__contact-item a,
.footer1.bg-white .footer1__contact-item span {
  color: #14213D;
  text-decoration: none;
}
.footer1.bg-white .footer1__contact-item a:hover {
  color: var(--secondary, #fc8f0c);
}
.footer1.bg-white .footer1__contact-item svg {
  flex-shrink: 0;
}
.footer1.bg-white .footer1__contact-item svg path {
  fill: #14213D;
}
.footer1.bg-white .footer1__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.footer1__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
}
.footer1.bg-white .footer1__legal a {
  color: #14213D;
  text-decoration: none;
  opacity: 1;
}
.footer1.bg-white .footer1__legal a:hover {
  color: var(--secondary, #fc8f0c);
  text-decoration: underline;
}
.footer1__legal-sep {
  color: #14213D;
  opacity: 0.35;
  font-size: 15px;
}
@media (max-width: 767px) {
  .footer1.bg-white .footer1__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer1__legal {
    justify-content: center;
    text-align: center;
  }
  .footer1__logo img { height: 64px; }
}

/* Homepage — CTAs + offer tiles + contests (A.76) */
.ptg-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 22px 0 8px;
}
.ptg-home-offer {
  background: #fff;
}
.ptg-home-offer__lead {
  max-width: 560px;
  margin: 12px auto 0;
  color: #555;
}
.ptg-home-offer__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid rgba(20, 33, 61, 0.1);
  background: #fffaf4;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ptg-home-offer__card:hover {
  border-color: rgba(252, 163, 17, 0.55);
  box-shadow: 0 14px 32px rgba(20, 33, 61, 0.08);
  transform: translateY(-3px);
  color: inherit;
}
.ptg-home-offer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--secondary, #fc8f0c);
  color: #14213D;
}
.ptg-home-offer__icon .material-symbols-outlined {
  font-size: 26px;
}
.ptg-home-offer__name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #14213D;
}
.ptg-home-offer__blurb {
  margin: 0 0 18px;
  flex: 1;
  color: #555;
  line-height: 1.5;
  font-size: 14px;
}
.ptg-home-offer__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #14213D;
}
.ptg-home-offer__more .material-symbols-outlined {
  font-size: 18px;
}
.ptg-home-offer__card:hover .ptg-home-offer__more {
  color: var(--secondary, #fc8f0c);
}
.ptg-home-offer__secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.ptg-home-offer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 61, 0.1);
  background: #fff;
  text-decoration: none;
  color: #14213D;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ptg-home-offer__link:hover {
  border-color: rgba(252, 163, 17, 0.5);
  background: #fffaf4;
  color: #14213D;
}
.ptg-home-offer__link .material-symbols-outlined {
  font-size: 22px;
  color: var(--secondary, #fc8f0c);
}
.ptg-home-offer__link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ptg-home-offer__link-text strong {
  font-size: 14px;
  font-weight: 700;
}
.ptg-home-offer__link-text small {
  font-size: 12px;
  color: #666;
}
.ptg-home-offer__link.is-soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 767px) {
  .ptg-home-offer__secondary {
    grid-template-columns: 1fr;
  }
}
.ptg-home-contests__lead {
  max-width: 640px;
  margin: 12px 0 0;
  color: #555;
}
.ptg-home-contests__empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed rgba(20, 33, 61, 0.18);
  border-radius: 12px;
}
/* Auto-scroll slider: equal-height contest cards */
.ptg-home-contests__slider .swiper-slide {
  height: auto;
  display: flex;
}
.ptg-home-contests__slider .ptg-cx-card {
  width: 100%;
  height: 100%;
}
/* FAQ1: title → lead paragraph → contact (no contest links) */
.faq1__right {
  justify-content: flex-start;
  height: auto;
  gap: 18px;
}
.faq1__right .section-top {
  margin-bottom: 0;
}
.ptg-faq-side-lead {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
}
.ptg-faq-side-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ptg-faq-side-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #14213D;
}
.ptg-faq-side-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary, #fc8f0c);
}
.faq1__widget {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq1__widget:not(:has(.faq1__contact-main)) .theme-btn {
  margin-top: 6px;
}
.faq1__contact-main {
  margin-bottom: 0 !important;
  flex-wrap: wrap;
  gap: 12px 20px;
}
/* Never show an empty white contact strip above Get In Touch */
.faq1__contact-main:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}
.faq1__contact-main .item,
.faq1__contact-main .item a {
  color: #14213D !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.faq1__contact-main .item a:hover {
  color: var(--secondary, #fc8f0c) !important;
}
.faq1__widget .theme-btn {
  margin: 12px;
}
/* FAQ Get In Touch — hover must stay readable on cream widget */
.faq1__widget .theme-btn.button-bg-secondary:hover,
.faq1__widget .theme-btn.button-bg-secondary:focus-visible {
  background: #14213D !important;
  border-color: #14213D !important;
  opacity: 1;
}
.faq1__widget .theme-btn.button-bg-secondary:hover::before,
.faq1__widget .theme-btn.button-bg-secondary:focus-visible::before {
  background: #14213D !important;
}
.faq1__widget .theme-btn.button-bg-secondary:hover .text,
.faq1__widget .theme-btn.button-bg-secondary:focus-visible .text {
  color: #fff !important;
}
.faq1__widget .theme-btn.button-bg-secondary:hover .icon,
.faq1__widget .theme-btn.button-bg-secondary:focus-visible .icon {
  background: #fc8f0c !important;
}
.faq1__widget .theme-btn.button-bg-secondary:hover .icon svg path,
.faq1__widget .theme-btn.button-bg-secondary:focus-visible .icon svg path {
  fill: #14213D !important;
}

/* How it works — steps left, video right */
.ptg-journey__steps {
  display: grid;
  gap: 12px;
  height: 100%;
}
.ptg-journey__steps .learning-process1__badge {
  margin-bottom: 14px;
}
.ptg-journey__video {
  height: 100%;
  min-height: 420px;
  max-height: none;
  background: #14213D;
}
.ptg-journey__video video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  background: #14213D;
}
@media (max-width: 991px) {
  .ptg-journey__video,
  .ptg-journey__video video {
    min-height: 260px;
  }
}
/* Homepage Blog & News — equal card height/width */
.ptg-home-blogs__grid > [class*="col-"] {
  display: flex;
}
.ptg-home-blogs__grid .blog2__card {
  width: 100%;
  height: 100%;
}
.ptg-home-blogs__grid .blog2__thumb {
  aspect-ratio: 410 / 240;
  height: auto;
}
.ptg-home-blogs__grid .blog2__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ptg-home-blogs__grid .blog2__title {
  min-height: 2.4em;
}
.ptg-home-blogs__grid .blog2__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ptg-find-contest-recs {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.ptg-find-contest-rec {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(20, 33, 61, 0.1);
  background: #fff;
  text-decoration: none;
  color: #14213D;
}
.ptg-find-contest-rec:hover {
  border-color: rgba(252, 163, 17, 0.55);
  color: #14213D;
}
.ptg-find-contest-rec__type {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary, #fc8f0c);
}
.ptg-find-contest-rec strong {
  font-size: 15px;
}
.ptg-find-contest-rec span:last-child {
  font-size: 13px;
  color: #666;
}
.ptg-find-contest-recs__empty {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}
.ptg-home-pillar-card .category2__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ptg-home-pillar-card .material-symbols-outlined {
  font-size: 28px;
  color: inherit;
}
.ptg-home-pillar-card .category2__card-learners {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
  white-space: normal;
}
.courses1__thumb img.is-fallback {
  object-fit: contain;
  background: #f4f1de;
}
.ptg-home-types {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
}
.ptg-home-types__title {
  font-size: 18px;
  font-weight: 600;
  color: #14213D;
  margin: 0 0 14px;
}
.ptg-home-types__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ptg-home-types__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.12);
  color: #14213D;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.ptg-home-types__chip:hover {
  border-color: var(--secondary, #fc8f0c);
  color: #14213D;
}
.ptg-home-types__chip .material-symbols-outlined {
  font-size: 18px;
}
.ptg-home-types__chip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 999px;
}
.ptg-home-faq-lead {
  margin: 14px 0 22px;
  color: #555;
}

/* ========== Final logo brand lock (EDU #019fa2 · .COM #fc8f0c · Navy #14213D) ========== */
:root {
  --primary: #14213D;
  --secondary: #fc8f0c;
  --teal: #019fa2;
  --orange: #fc8f0c;
  --ptg-com: #fc8f0c;
  --ptg-edu: #019fa2;
}
.theme-btn.button-bg-secondary {
  background: #fc8f0c !important;
  border-color: transparent !important;
}
.theme-btn.button-bg-secondary .text {
  color: #fff !important;
}
.theme-btn.button-bg-secondary .icon {
  background: #fff !important;
}
.theme-btn.button-bg-secondary .icon svg path {
  fill: #14213D !important;
}
.theme-btn.button-bg-secondary:hover,
.theme-btn.button-bg-secondary:focus-visible {
  background: #14213D !important;
  border-color: #14213D !important;
  opacity: 1;
}
.theme-btn.button-bg-secondary:hover::before,
.theme-btn.button-bg-secondary:focus-visible::before {
  background: #14213D !important;
}
.theme-btn.button-bg-secondary:hover .text,
.theme-btn.button-bg-secondary:focus-visible .text {
  color: #fff !important;
}
.theme-btn.button-bg-secondary:hover .icon,
.theme-btn.button-bg-secondary:focus-visible .icon {
  background: #fc8f0c !important;
}
.theme-btn.button-bg-secondary:hover .icon svg path,
.theme-btn.button-bg-secondary:focus-visible .icon svg path {
  fill: #14213D !important;
}
.btn-primary {
  background-color: #fc8f0c !important;
  border-color: #fc8f0c !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #14213D !important;
  border-color: #14213D !important;
  color: #fff !important;
}

/* Homepage section band order: cream ↔ white after hero */
.bg2 {
  background-color: var(--bg2, #F4F1DE) !important;
}
.bg-white {
  background-color: #fff !important;
}
/* Contests slider sits on cream — keep card/CTA contrast */
.ptg-home-contests.bg2 .theme-btn.bg-transparent {
  background: transparent !important;
}

/* One primary CTA color on card action buttons */
.ptg-cx-card__btn,
.ptg-cx-card__btn--open,
.ptg-cx-card__btn--upcoming,
.ptg-cx-card__btn--closed,
.ptg-cx-card__btn--live {
  background: #fc8f0c !important;
  border-color: #fc8f0c !important;
  color: #fff !important;
}
.ptg-cx-card__btn:hover,
.ptg-cx-card__btn--open:hover,
.ptg-cx-card__btn--upcoming:hover,
.ptg-cx-card__btn--closed:hover,
.ptg-cx-card__btn--live:hover {
  background: #14213D !important;
  border-color: #14213D !important;
  color: #fff !important;
}
.ptg-cx-card__link:hover {
  color: #fc8f0c !important;
}

/* Equal card grids (gallery / country / blog) */
.ptg-equal-cards > [class*="col-"] {
  display: flex;
}
.ptg-equal-cards .ptg-cx-card,
.ptg-equal-cards .blog2__card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ptg-equal-cards .ptg-cx-card__body,
.ptg-equal-cards .blog2__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.ptg-equal-cards .ptg-cx-card__footer {
  margin-top: auto;
}
.ptg-equal-cards .ptg-cx-card__thumb {
  aspect-ratio: 16 / 10;
}
.ptg-art-card .blog2__thumb img.is-fallback {
  object-fit: contain;
  padding: 18%;
  background: #fff;
}
.ptg-blog-cards .blog2__thumb {
  aspect-ratio: 410 / 240;
  overflow: hidden;
}
.ptg-blog-cards .blog2__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ptg-blog-cards .blog2__title {
  min-height: 2.4em;
}
.ptg-blog-cards .blog2__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Home blog row — same equal card sizing */
.ptg-home-blogs__grid > [class*="col-"] {
  display: flex;
}
.ptg-home-blogs__grid .blog2__card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ptg-home-blogs__grid .blog2__thumb {
  aspect-ratio: 410 / 240;
}
.ptg-home-blogs__grid .blog2__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ptg-home-blogs__grid .blog2__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Detail / listing primary fills stay on .COM orange */
.btn-two.v10 {
  border-color: #fc8f0c !important;
}
.btn-two.v10::after {
  background-color: #fc8f0c !important;
}
.btn-two.v10 .btn-icon {
  color: #fc8f0c !important;
}
.btn-two.v10:hover .btn-text {
  color: #fc8f0c !important;
}
.btn-two.v10:hover .btn-icon {
  border-color: #fc8f0c !important;
  background-color: #fc8f0c !important;
  color: #fff !important;
}

/* Gallery filter active = primary orange */
.ptg-gallery-filter__pill.is-active {
  background: #fc8f0c !important;
  border-color: #fc8f0c !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(252, 143, 12, 0.28) !important;
}

/* Auth portal — cream canvas, navy→orange side panel, white form box */
.ptg-portal-body {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(20, 33, 61, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(252, 143, 12, 0.16), transparent 50%),
    radial-gradient(circle at 78% 18%, rgba(1, 159, 162, 0.08), transparent 28%),
    #F4F1DE !important;
}
.ptg-portal__shell {
  background: #fff !important;
  box-shadow:
    0 28px 70px rgba(20, 33, 61, 0.14),
    0 0 0 1px rgba(20, 33, 61, 0.06) !important;
}
.ptg-portal-promo,
.ptg-portal-promo--visual {
  background: linear-gradient(165deg, #14213D 0%, #14213D 55%, #fc8f0c 100%) !important;
}
.ptg-portal-promo--visual .ptg-portal-promo__frame,
.ptg-portal-promo--visual .ptg-portal-promo__slide {
  background: linear-gradient(165deg, #14213D 0%, #1a2d4f 50%, #b86a12 100%) !important;
}
.ptg-portal-promo--visual .ptg-portal-promo__slide::after {
  background: linear-gradient(180deg, rgba(20, 33, 61, 0.08) 0%, rgba(252, 143, 12, 0.22) 100%) !important;
}
.ptg-portal-promo--visual .ptg-portal-promo__dots button.is-active {
  background: #fc8f0c !important;
}
.ptg-portal__form-pane {
  background: #fff !important;
}
.ptg-portal__wave {
  background: linear-gradient(90deg, #019fa2 0%, #14213D 50%, #fc8f0c 100%) !important;
}

/* ========== Legal docs — sticky TOC + scroll panel ========== */
.ptg-legal-doc__grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}
.ptg-legal-doc__aside {
  position: sticky;
  top: 110px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #F4F1DE;
  border: 1px solid rgba(20, 33, 61, 0.08);
}
.ptg-legal-doc__aside-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #019fa2;
}
.ptg-legal-doc__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ptg-legal-doc__nav-link {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #14213D;
  text-decoration: none;
  line-height: 1.35;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.ptg-legal-doc__nav-link:hover {
  background: rgba(252, 143, 12, 0.14);
  color: #14213D;
  transform: translateX(2px);
}
.ptg-legal-doc__nav-link.is-active {
  background: #fc8f0c;
  color: #fff;
}
.ptg-legal-doc__related {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 33, 61, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ptg-legal-doc__related-link {
  font-size: 13px;
  font-weight: 700;
  color: #019fa2;
  text-decoration: none;
}
.ptg-legal-doc__related-link:hover {
  color: #fc8f0c;
}
.ptg-legal-doc__panel {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding: 8px 18px 28px 8px;
  border-radius: 18px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  background: #fff;
  scroll-behavior: smooth;
}
.ptg-legal-doc__panel::-webkit-scrollbar {
  width: 8px;
}
.ptg-legal-doc__panel::-webkit-scrollbar-thumb {
  background: rgba(20, 33, 61, 0.22);
  border-radius: 999px;
}
.ptg-legal-doc__updated {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: #5B6B7C;
}
.ptg-legal-doc__section {
  padding: 6px 0 22px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  scroll-margin-top: 12px;
}
.ptg-legal-doc__section:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.ptg-legal-doc__section h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #14213D;
  letter-spacing: -0.02em;
}
.ptg-legal-doc__section p,
.ptg-legal-doc__section li {
  margin: 0 0 10px;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}
.ptg-legal-doc__section ul {
  margin: 0 0 12px;
  padding-left: 1.15rem;
}
.ptg-legal-doc__section a {
  color: #fc8f0c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ptg-legal-doc__section a:hover {
  color: #14213D;
}
@media (max-width: 991px) {
  .ptg-legal-doc__grid {
    grid-template-columns: 1fr;
  }
  .ptg-legal-doc__aside {
    position: relative;
    top: 0;
  }
  .ptg-legal-doc__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ptg-legal-doc__panel {
    max-height: none;
    overflow: visible;
    padding: 4px 0 0;
    border: 0;
  }
}

/* ========== Contact — existing info list + direct/follow ========== */
/* Contests listing hero — navy + .COM orange, quiz art (distinct from breadcrumb pages) */
/* Contests listing hero — keep layout; cream/theme wash (not flat navy) */
.ptg-cx-hero.ptg-cx-hero--theme {
  padding: 168px 0 72px;
  min-height: 360px;
  background-color: #F4F1DE;
  background-image:
    linear-gradient(115deg, rgba(244, 241, 222, 0.92) 0%, rgba(244, 241, 222, 0.78) 42%, rgba(20, 33, 61, 0.48) 100%),
    url('../img/spot-quiz.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ptg-cx-hero--theme .ptg-cx-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 88% 40%, rgba(252, 143, 12, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 50% at 12% 80%, rgba(1, 159, 162, 0.12), transparent 55%);
  z-index: 0;
}
.ptg-cx-hero--theme .ptg-cx-hero__title {
  color: #14213D;
}
.ptg-cx-hero--theme .ptg-cx-hero__lead {
  color: #5B6B7C;
}
.ptg-cx-hero--theme .ptg-cx-hero__lead strong {
  color: #14213D;
}
.ptg-cx-hero--theme .container {
  z-index: 1;
}
.ptg-cx-hero--theme .ptg-cx-hero__eyebrow {
  color: #fc8f0c;
  background: rgba(252, 143, 12, 0.14);
  border: 1px solid rgba(252, 143, 12, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.08em;
}
.ptg-cx-hero--theme .ptg-cx-hero__title span {
  color: #fc8f0c;
}
@media (max-width: 991px) {
  .ptg-cx-hero.ptg-cx-hero--theme {
    padding: 136px 0 56px;
    min-height: 300px;
    text-align: center;
  }
  .ptg-cx-hero--theme .ptg-cx-hero__cta {
    margin-inline: auto;
  }
}

/* Shared empty state — large theme human + text only (no box / no bg) */
.ptg-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 420px;
  padding: 48px 16px 64px;
  margin: 0 auto;
  background: transparent;
  border: 0;
}
.ptg-empty-state__art {
  width: min(520px, 88vw);
  margin: 0 auto 20px;
  line-height: 0;
  background: transparent;
}
.ptg-empty-state__gif {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  background: transparent;
  animation: ptgEmptyBob 2.8s ease-in-out infinite;
}
@keyframes ptgEmptyBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .ptg-empty-state__gif { animation: none; }
}
@media (max-width: 575px) {
  .ptg-empty-state__art { width: min(360px, 92vw); }
}
.ptg-empty-state__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #14213D;
  letter-spacing: -0.02em;
}
.ptg-empty-state__text {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.55;
  color: #5B6B7C;
}
.ptg-empty-state__cta {
  margin-top: 20px;
}

/* Page heroes — cream wash; top pad clears fixed `.header-area-1.header-inner` */
.ptg-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* header-top (~36) + main (~100 logo) + gap — crumbs must sit below fixed header */
  padding: 168px 0 40px;
  min-height: 300px;
  background-color: #F4F1DE;
  border-bottom: none;
  background-image:
    linear-gradient(
      105deg,
      rgba(244, 241, 222, 0.97) 0%,
      rgba(244, 241, 222, 0.9) 38%,
      rgba(244, 241, 222, 0.55) 62%,
      rgba(20, 33, 61, 0.35) 100%
    ),
    var(--ptg-hero-image);
  background-size: cover;
  background-position: center right;
}
.ptg-page-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 58% at 92% 28%, rgba(252, 143, 12, 0.16), transparent 58%),
    radial-gradient(ellipse 42% 48% at 6% 78%, rgba(1, 159, 162, 0.08), transparent 52%);
  z-index: 0;
}
.ptg-page-hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.45) 100%);
}
.ptg-page-hero__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 8px;
}
.ptg-page-hero__copy {
  max-width: 36rem;
}
.ptg-page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #7A8796;
}
.ptg-page-hero__crumbs a {
  color: #14213D;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ptg-page-hero__crumbs a:hover { color: #fc8f0c; }
.ptg-page-hero__crumbs .is-current { color: #019fa2; font-weight: 700; }
.ptg-page-hero__sep {
  color: rgba(91, 107, 124, 0.45);
  font-weight: 500;
  user-select: none;
}
.ptg-page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fc8f0c;
  background: rgba(252, 143, 12, 0.12);
  border: 1px solid rgba(252, 143, 12, 0.28);
}
.ptg-page-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #14213D;
}
.ptg-page-hero__title span {
  color: #fc8f0c;
  display: inline;
}
.ptg-page-hero__lead {
  margin: 0;
  max-width: 30rem;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5B6B7C;
}
.ptg-page-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fc8f0c;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(252, 143, 12, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}
.ptg-page-hero__cta:hover {
  background: #14213D;
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 991px) {
  .ptg-page-hero {
    /* header-top hidden on <lg; main ~80–90 */
    padding: 118px 0 36px;
    min-height: 280px;
    text-align: center;
    background-position: center;
    background-image:
      linear-gradient(
        180deg,
        rgba(244, 241, 222, 0.96) 0%,
        rgba(244, 241, 222, 0.88) 55%,
        rgba(20, 33, 61, 0.28) 100%
      ),
      var(--ptg-hero-image);
  }
  .ptg-page-hero__shell { padding-top: 4px; }
  .ptg-page-hero__copy { max-width: none; margin-inline: auto; }
  .ptg-page-hero__crumbs { justify-content: center; }
  .ptg-page-hero__lead { margin-inline: auto; }
  .ptg-page-hero__cta { margin-inline: auto; }
}
.ptg-cx-hero--theme .ptg-cx-hero__visual { display: none !important; }

.ptg-contact .getintouch1__info-list {
  margin-bottom: 22px;
}
.ptg-contact .getintouch1__info-icon {
  color: #fff;
}
.ptg-contact .getintouch1__info-icon .material-symbols-outlined {
  font-size: 22px;
  color: #fff;
}
.ptg-contact .getintouch1__info-icon--teal {
  background-color: #019fa2;
}
.ptg-contact .getintouch1__info-icon--navy {
  background-color: #14213D;
}
.ptg-contact .getintouch1__info-text a {
  word-break: break-word;
}
.ptg-contact__follow {
  margin-top: 8px;
  padding-top: 8px;
}
.ptg-contact__follow-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14213D;
}
.ptg-contact__follow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ptg-contact__social {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.12);
  color: #14213D;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.ptg-contact__social:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 12px 22px rgba(20, 33, 61, 0.14);
}
.ptg-contact__social--instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
  border-color: transparent;
}
.ptg-contact__social--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}
.ptg-contact__social--twitter:hover {
  background: #14171A;
  border-color: #14171A;
}
.ptg-contact__social--youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}
.ptg-contact .getintouch1__form-card {
  border-radius: 20px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.08);
}
.ptg-contact .map {
  display: none !important;
}

/* Coming soon — Assessments / Kalakriti split panel */
.ptg-soon {
  background: #fff;
}
.ptg-soon__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px 48px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  background:
    radial-gradient(ellipse 45% 55% at 12% 30%, rgba(1, 159, 162, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 50% at 92% 70%, rgba(252, 143, 12, 0.12), transparent 55%),
    #F4F1DE;
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.06);
}
.ptg-soon__art {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.ptg-soon__art img {
  display: block;
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(20, 33, 61, 0.14));
}
.ptg-soon__copy {
  max-width: 34rem;
}
.ptg-soon__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fc8f0c;
  background: rgba(252, 143, 12, 0.14);
  border: 1px solid rgba(252, 143, 12, 0.35);
}
.ptg-soon__title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #14213D;
}
.ptg-soon__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: #5B6B7C;
}
.ptg-soon__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ptg-soon__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #14213D;
}
.ptg-soon__list .material-symbols-outlined {
  color: #019fa2;
  font-size: 22px;
  flex-shrink: 0;
}
.ptg-soon__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.ptg-soon__link {
  font-weight: 700;
  font-size: 14px;
  color: #14213D;
  text-decoration: none;
}
.ptg-soon__link:hover {
  color: #fc8f0c;
}
@media (max-width: 991px) {
  .ptg-soon__panel {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }
  .ptg-soon__copy {
    max-width: none;
  }
  .ptg-soon__list li {
    justify-content: center;
    text-align: left;
  }
  .ptg-soon__actions {
    justify-content: center;
  }
  .ptg-soon__art img {
    width: min(320px, 78vw);
  }
}

/* Home testimonials mosaic � original layout + quote auto-scroll */
.ptg-home-testimonials__mosaic {
  margin-top: 8px;
}
.ptg-home-tquotes {
  height: 100%;
}
.ptg-home-tquotes .swiper-wrapper {
  align-items: stretch;
}
.ptg-home-tquotes .swiper-slide {
  height: auto;
}
.ptg-home-tquotes .testimonial1__card {
  min-height: 100%;
}
.ptg-home-testimonials__media {
  min-height: 280px;
}
.ptg-home-testimonials__media .testimonial1__img-card {
  height: 100%;
  min-height: 280px;
}
.ptg-home-testimonials__media .testimonial1__img-card .main-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@media (max-width: 991px) {
  .ptg-home-testimonials__media {
    min-height: 220px;
  }
  .ptg-home-testimonials__media .testimonial1__img-card {
    min-height: 220px;
  }
}

/* Footer � Open now contests */
.footer1__open-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer1__open-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.footer1__open-list a:hover .footer1__open-title {
  color: #fc8f0c;
}
.footer1__open-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: #14213D;
  transition: color 0.2s ease;
}
.footer1__open-meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(20, 33, 61, 0.62);
}
.footer1__open-empty {
  font-size: 13px;
  color: rgba(20, 33, 61, 0.55);
  line-height: 1.4;
}
.footer1__open-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #019fa2;
  text-decoration: none;
}
.footer1__open-all:hover {
  color: #fc8f0c;
}

/* Sitewide selection + scrollbar = brand orange #fc8f0c */
::selection {
  background: rgba(252, 143, 12, 0.35);
  color: #14213D;
}
::-moz-selection {
  background: rgba(252, 143, 12, 0.35);
  color: #14213D;
}
html {
  scrollbar-color: #fc8f0c #F4F1DE;
  scrollbar-width: thin;
}
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-track {
  background: #F4F1DE;
}
html::-webkit-scrollbar-thumb {
  background: #fc8f0c;
  border-radius: 8px;
  border: 2px solid #F4F1DE;
}
html::-webkit-scrollbar-thumb:hover {
  background: #e07d08;
}

/* Footer social — own class (avoids theme .footer1__social flex-end clash) */
.ptg-footer-social-wrap {
  margin-top: 18px;
}
.ptg-footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.ptg-footer-social__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 159, 162, 0.1);
  border: 1px solid rgba(1, 159, 162, 0.28);
  color: #14213D;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ptg-footer-social__btn svg {
  display: block;
  flex-shrink: 0;
}
.ptg-footer-social__btn svg path {
  fill: currentColor;
}
.ptg-footer-social__btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: #019fa2;
  border-color: #019fa2;
}
.ptg-footer-social__btn--facebook:hover { background: #1877F2; border-color: #1877F2; }
.ptg-footer-social__btn--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); border-color: transparent; }
.ptg-footer-social__btn--twitter:hover { background: #14171A; border-color: #14171A; }
.ptg-footer-social__btn--youtube:hover { background: #FF0000; border-color: #FF0000; }
.ptg-footer-social__btn--linkedin:hover { background: #0A66C2; border-color: #0A66C2; }

.ptg-contact__follow--under-form {
  margin-top: 22px;
  padding-top: 4px;
}
.ptg-contact__social--linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}
