:root {
  /* Navy / Amber / Teal — logo brand palette (aligned with style.css) */
  --ptg-teal: #019fa2;
  --ptg-teal-soft: #E6F4F2;
  --ptg-navy: #14213D;
  --ptg-navy-soft: #E8EAF0;
  --ptg-gold: #fc8f0c;
  --ptg-gold-soft: #FFF4E0;
  --primary: #14213D;
  --secondary: #fc8f0c;
  --white: #ffffff;
  --border: #E5E5E5;
  --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);
  /* Match theme style.css — never override with Karla/Bricolage */
  --font_mona: "Mona Sans", sans-serif;
  --font_playfair: "Playfair Display", serif;
  --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: var(--font_mona);
  --font-body: var(--font_mona);
}

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

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

body {
  margin: 0;
  font-family: var(--font_mona);
  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-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:not(.select2-search__field),
.ptg-field select:not(.select2-hidden-accessible) {
  width: 100%;
  border: 1px solid var(--ptg-line);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  outline: none;
  background: #fff;
}

/* Select2 multi inline search must NOT inherit .ptg-field input chrome (double border). */
.ptg-field .select2-container .select2-search__field,
.ptg-select-wrap .select2-container .select2-search__field,
.select2-container--default .select2-search--inline .select2-search__field {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* 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:not(.select2-search__field):focus,
.ptg-field select:not(.select2-hidden-accessible):focus {
  border-color: var(--ptg-teal);
  box-shadow: 0 0 0 3px rgba(1, 159, 162, 0.12);
}

.ptg-field.is-invalid input:not(.select2-search__field),
.ptg-field.is-invalid select:not(.select2-hidden-accessible),
.ptg-field input.is-invalid:not(.select2-search__field),
.ptg-field select.is-invalid:not(.select2-hidden-accessible) {
  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;
}

/* Label + “(Can't find? Add manually)” beside name — full text, no ellipsis cut. */
.ptg-field__head {
  display: flex;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
  min-width: 0;
}

.ptg-field__head>label {
  margin-bottom: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.ptg-field__head .ptg-other-toggle {
  flex: 0 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-size: 0.72rem !important;
}

/* 3-col rows that carry Other links stay 1-col until wide — so link never clips. */
@media (min-width: 680px) {
  .ptg-portal-form .ptg-field-row--3:has(.ptg-field__head) {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .ptg-portal-form .ptg-field-row--3:has(.ptg-field__head) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Terms (left) + reCAPTCHA robot (right) on one row. */
.ptg-consent-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 1.1rem;
  flex-wrap: wrap;
  margin: 0.25rem 0 0.65rem;
}

.ptg-consent-row .ptg-check {
  flex: 1 1 180px;
  margin: 0;
  max-width: 100%;
}

.ptg-consent-row .ptg-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin: 0.15rem 0 0;
}

.ptg-consent-row .ptg-check>span {
  flex: 1 1 auto;
  min-width: 0;
}

.ptg-consent-row .ptg-field--captcha {
  flex: 0 0 auto;
  margin: 0;
  max-width: 100%;
  line-height: 0;
}

/* Long Select2 labels must not blow out grid columns (signup Degree Level, Board, School…). */
.ptg-field-row>.ptg-field {
  min-width: 0;
  max-width: 100%;
}

.ptg-select-wrap {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.ptg-field .select2-container,
.ptg-select-wrap .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}

.ptg-field .select2-container .select2-selection--single .select2-selection__rendered,
.ptg-select-wrap .select2-container .select2-selection--single .select2-selection__rendered {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/*
 * Single Select2: search types in the main field (not a second empty box in the dropdown).
 * PtgPublicCascade.bindInlineSearch moves .select2-search--dropdown into the selection on open.
 */
.select2-container--default .select2-selection--single.ptg-select2-searching {
  position: relative !important;
}
.select2-container--default .select2-selection--single.ptg-select2-searching .select2-selection__rendered {
  visibility: hidden !important;
  color: transparent !important;
}
.select2-container--default .select2-selection--single .ptg-select2-sel-search {
  position: absolute !important;
  left: 0 !important;
  right: 2.35rem !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 0.85rem !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 2;
}
.select2-container--default .select2-selection--single.select2-selection--clearable .ptg-select2-sel-search {
  right: 3.5rem !important;
}
.select2-container--default .select2-selection--single .ptg-select2-sel-search .select2-search__field {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.3 !important;
  color: #14213D !important;
}
.select2-container--default .select2-selection--single .ptg-select2-sel-search .select2-search__field::placeholder {
  color: #94A3B8 !important;
  opacity: 1;
}
/* Dropdown only lists results once search lives in the selection. */
.select2-dropdown .select2-search--dropdown.ptg-select2-sel-search {
  display: none !important;
}

.select2-container--default .select2-results__option {
  white-space: normal;
  word-break: break-word;
}

@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(--secondary, var(--ptg-gold));
  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(--secondary, var(--ptg-gold));
  border-bottom-color: var(--secondary, var(--ptg-gold));
}

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

.ptg-steps-bar li.is-done {
  color: var(--secondary, var(--ptg-gold));
  border-bottom-color: rgba(252, 143, 12, 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(--secondary, var(--ptg-gold));
  color: var(--secondary, var(--ptg-gold));
  box-shadow: 0 0 0 3px rgba(252, 143, 12, 0.14);
}

.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(--secondary, var(--ptg-gold));
  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(--secondary, var(--ptg-gold));
  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:not(.select2-search__field),
.ptg-portal-form .ptg-field select:not(.ptg-select2):not(.select2-hidden-accessible) {
  border-radius: 14px;
  border-color: var(--ptg-line);
}

.ptg-portal-form .ptg-field input:not(.select2-search__field):focus,
.ptg-portal-form .ptg-field select:not(.ptg-select2):not(.select2-hidden-accessible):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%);
}

@media (min-width: 900px) {
  .ptg-portal--signup .ptg-portal__shell {
    height: min(560px, calc(100vh - 3.5rem));
    max-height: calc(100vh - 3.5rem);
    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;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

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

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

@media (min-width: 900px) {
  .ptg-portal--signin .ptg-portal__shell {
    height: min(560px, calc(100vh - 3.5rem));
    max-height: calc(100vh - 3.5rem);
    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;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

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

/* 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-y: 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) {

  /*
   * ONE scrollport only (html/body). Nested .ptg-portal + .form-pane overflow:auto
   * fought the page scrollbar and froze mid-scroll on long signup forms.
   */
  html.ptg-portal-html,
  html.ptg-portal-html body.ptg-portal-body {
    height: auto !important;
    min-height: 100%;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  html.ptg-portal-html .ptg-portal,
  html.ptg-portal-html .ptg-portal--split,
  html.ptg-portal-html .ptg-portal--signup,
  html.ptg-portal-html .ptg-portal--signin {
    height: auto !important;
    min-height: 100vh;
    max-height: none !important;
    overflow: visible !important;
    place-items: start center;
    align-content: start;
    padding: 0.75rem 0.85rem 1.75rem;
    touch-action: pan-y;
  }

  html.ptg-portal-html .ptg-portal__shell,
  html.ptg-portal-html .ptg-portal--signup .ptg-portal__shell,
  html.ptg-portal-html .ptg-portal--signin .ptg-portal__shell {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  html.ptg-portal-html .ptg-portal__form-pane,
  html.ptg-portal-html .ptg-portal--signup .ptg-portal__form-pane,
  html.ptg-portal-html .ptg-portal--signin .ptg-portal__form-pane {
    padding: 1.15rem 1.2rem 1.5rem !important;
    overflow: visible !important;
    max-height: none !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto;
  }

  html.ptg-portal-html .ptg-portal__body {
    overflow: visible !important;
    max-height: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  /* Signup mobile: kill horizontal bleed (Create Account cut off / orange strip). */
  html.ptg-portal-html .ptg-portal__orbit,
  html.ptg-portal-html .ptg-portal__ring,
  html.ptg-portal-html .ptg-portal__blob,
  html.ptg-portal-html .ptg-portal__spark {
    display: none !important;
  }

  html.ptg-portal-html .ptg-portal-form,
  html.ptg-portal-html .ptg-portal-form .ptg-field,
  html.ptg-portal-html .ptg-portal-form .ptg-field-row,
  html.ptg-portal-html .ptg-portal-form .ptg-select-wrap {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  html.ptg-portal-html .ptg-portal-form .theme-btn.theme-btn--block,
  html.ptg-portal-html .ptg-portal-form .theme-btn.button-bg-secondary.theme-btn--block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  html.ptg-portal-html .ptg-portal-form .theme-btn .text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html.ptg-portal-html .ptg-field__head {
    flex-wrap: wrap;
  }

  html.ptg-portal-html .ptg-field__head .ptg-other-toggle {
    font-size: 0.7rem !important;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
  }

  /* Mobile: stack Terms + captcha tight — no space-between gap / no clipped robot. */
  html.ptg-portal-html .ptg-consent-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin: 0.15rem 0 0.55rem;
  }

  html.ptg-portal-html .ptg-consent-row .ptg-check {
    flex: 0 0 auto;
    width: 100%;
  }

  html.ptg-portal-html .ptg-consent-row .ptg-field--captcha {
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    overflow: visible;
    height: auto;
  }

  html.ptg-portal-html .ptg-portal-form .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
    /* Native widget ~304×78 — collapse leftover layout after scale */
    width: 304px;
    height: 78px;
    margin: 0 0 calc(78px * -0.08) 0;
    overflow: visible;
  }

  @media (max-width: 360px) {
    html.ptg-portal-html .ptg-portal-form .g-recaptcha {
      transform: scale(0.82);
      margin-bottom: calc(78px * -0.18);
    }
  }

  @media (min-width: 640px) {
    html.ptg-portal-html .ptg-consent-row {
      flex-direction: row;
      align-items: center;
      flex-wrap: nowrap;
      gap: 0.85rem 1.1rem;
    }

    html.ptg-portal-html .ptg-consent-row .ptg-check {
      flex: 1 1 auto;
      width: auto;
    }

    html.ptg-portal-html .ptg-consent-row .ptg-field--captcha {
      align-self: center;
    }

    html.ptg-portal-html .ptg-portal-form .g-recaptcha {
      transform: none;
      width: auto;
      height: auto;
      margin: 0;
    }
  }
}

/* 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);
}

@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: var(--font_mona);
  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);
}

/* Desktop card height only — never apply on mobile (nested/max-height freezes page scroll). */
@media (min-width: 900px) {

  .ptg-portal--signin .ptg-portal__shell,
  .ptg-portal--signup .ptg-portal__shell {
    height: min(680px, calc(100vh - 2.5rem));
    min-height: min(560px, calc(100vh - 2.5rem));
    max-height: calc(100vh - 2rem);
  }
}

.ptg-portal__form-pane {
  background: #fff;
}

@media (max-width: 899px) {
  .ptg-portal__form-pane .ptg-portal__body {
    margin-block: 0;
  }
}

.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;
}

/* Auth / portal: same website theme-btn (secondary + arrow) as header CTAs */
.ptg-portal-form .theme-btn.theme-btn--block,
.ptg-inst-modal .theme-btn.theme-btn--block {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
}

.ptg-portal-form .theme-btn.is-busy,
.ptg-inst-modal .theme-btn.is-busy {
  pointer-events: none;
  opacity: 0.88;
}

.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:not(.select2-search__field),
.ptg-portal-form .ptg-field select:not(.ptg-select2):not(.select2-hidden-accessible) {
  border-radius: 12px;
  min-height: 46px;
  border-color: #e4ddd6;
  background: #fff;
}

.ptg-portal-form .ptg-field input:not(.select2-search__field):focus,
.ptg-portal-form .ptg-field select:not(.ptg-select2):not(.select2-hidden-accessible):focus {
  border-color: #fc8f0c !important;
  box-shadow: 0 0 0 3px rgba(252, 143, 12, 0.18) !important;
}

/* Fully clip Select2-enhanced native <select> (single + multi). Incomplete hide
   leaves a second visible control under Grade / Semester multi-selects. */
.ptg-portal-form .ptg-field select.select2-hidden-accessible,
.ptg-portal-form select.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  min-height: 0 !important;
  width: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  background: transparent !important;
  box-shadow: none !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-auth-password-link,
.ptg-portal-form .ptg-legal-note a,
.ptg-portal-form .ptg-auth__meta a {
  color: var(--secondary, var(--ptg-gold));
}

/* “Add it manually” Other toggles — navy/black (not washed orange) */
.ptg-portal-form .ptg-other-toggle.ptg-link-btn,
.ptg-portal-form button.ptg-other-toggle {
  color: #14213D !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.ptg-portal-form .ptg-other-toggle.ptg-link-btn:hover,
.ptg-portal-form button.ptg-other-toggle:hover {
  color: #000 !important;
}

.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;
}

/*
 * Mobile side drawer: light cream/white bg — theme used --secondary (orange) for all
 * link text (mismatched). Match desktop header: navy text, orange hover / + expand.
 */
.side-info {
  background: #fff !important;
  border-left: 1px solid rgba(20, 33, 61, 0.08);
}

.mobile-menu.mean-container .mean-nav ul li a {
  color: #14213D !important;
  font-weight: 600 !important;
}

.mobile-menu.mean-container .mean-nav ul li a:hover,
.mobile-menu.mean-container .mean-nav ul li a:focus {
  color: #fc8f0c !important;
}

.mobile-menu.mean-container .mean-nav ul li a.mean-expand {
  color: #fc8f0c !important;
}

.mobile-menu.mean-container .mean-nav ul li li a {
  color: #475569 !important;
  font-weight: 500 !important;
}

.mobile-menu.mean-container .mean-nav ul li li a:hover {
  color: #fc8f0c !important;
}

/* Space above Information (blurb removed) + theme Mona fonts */
.side-info .mobile-menu.side-info__item {
  margin-bottom: 1.75rem;
}

.side-info .offset-widget-box {
  margin-top: 0.5rem;
  padding-top: 0.35rem;
}

.side-info .offset-widget-box .title {
  font-family: var(--font_mona, "Mona Sans", sans-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #14213D !important;
  margin-bottom: 1rem !important;
}

.side-info .offset-widget-box .title::after {
  background: #fc8f0c;
  width: 28px;
  height: 2px;
}

.side-info .contact-meta .contact-item {
  margin-bottom: 0.65rem;
}

.side-info .contact-meta .contact-item .text,
.side-info .contact-meta .contact-item .text a,
.side-info .contact-meta .contact-item .text button {
  font-family: var(--font_mona, "Mona Sans", sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  text-decoration: none !important;
}

.side-info .contact-meta .contact-item .text a:hover,
.side-info .contact-meta .contact-item .text button:hover {
  color: #fc8f0c !important;
}

.side-info .offset-widget-box+.offset-widget-box {
  margin-top: 1.75rem;
}

/*
 * Header CTA hierarchy:
 *   Institution = theme-btn primary (navy) + arrow
 *   Sign in / Sign up = theme-btn secondary (orange) + arrow
 * Keep nav readable; only prevent flex overflow.
 */
.header-area-1-inner {
  display: flex;
  height: 102px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-area-1-inner .left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.header-area-1 .header-logo {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

/* Nav links centered in the header bar (logo left, CTAs right) */
.header-area-1 .header-nav {
  min-width: 0;
  position: absolute;
  left: 27%;
  right: 30%;
  overflow: hidden;
  transform: none;
  z-index: 2;
}

.header-area-1 .header-nav .main-menu > ul {
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
}

.header-area-1 .header-nav .main-menu > ul > li {
  flex: 0 0 auto;
}

.header-area-1 .header-nav .main-menu > ul > li > a {
  padding: 10px 0 !important;
  font-size: 14px;
}

@media only screen and (max-width: 1199px) {
  .header-area-1 .header-nav {
    position: static;
    right: auto;
    overflow: visible;
    left: auto;
    transform: none;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1499px) {
  .header-area-1 .header-nav .main-menu > ul {
    gap: 4px;
  }

  .header-area-1 .header-nav .main-menu > ul > li > a {
    padding: 8px 0 !important;
    font-size: 13px;
  }

  .header-area-1 .header-right {
    gap: 4px;
  }

  .header-area-1 .ptg-header-inst-btn.theme-btn,
  .header-area-1 .ptg-header-auth-btn.theme-btn {
    gap: 6px !important;
    padding: 3px 3px 3px 9px !important;
  }

  .header-area-1 .ptg-header-inst-btn .text,
  .header-area-1 .ptg-header-auth-btn .text {
    font-size: 12px !important;
  }

  .header-area-1 .ptg-header-inst-btn .icon,
  .header-area-1 .ptg-header-auth-btn .icon {
    width: 34px;
    height: 34px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .header-area-1 .header-nav {
    left: 20%;
    right: 25%;
  }

  .header-area-1 .header-nav .main-menu > ul {
    gap: 20px;
  }

  .header-area-1 .header-nav .main-menu > ul > li > a {
    font-size: 12px;
  }

  .header-area-1 .header-logo img {
    max-width: 180px;
  }

  .header-area-1 .ptg-header-inst-btn.theme-btn,
  .header-area-1 .ptg-header-auth-btn.theme-btn {
    gap: 4px !important;
    padding: 2px 2px 2px 7px !important;
  }

  .header-area-1 .ptg-header-inst-btn .text,
  .header-area-1 .ptg-header-auth-btn .text {
    font-size: 11px !important;
  }

  .header-area-1 .ptg-header-inst-btn .icon,
  .header-area-1 .ptg-header-auth-btn .icon {
    width: 30px;
    height: 30px;
  }
}

@media only screen and (min-width: 1400px) {
  .header-area-1 .header-nav {
    left: 22%;
    right: 25%;
  }

  .header-area-1 .header-nav .main-menu > ul {
    justify-content: center;
    gap: 18px;
  }

  .header-area-1 .header-nav .main-menu > ul > li > a {
    padding: 10px 0 !important;
    font-size: 15px;
  }
}

.header-area-1 .main-menu>ul {
  gap: 16px;
}

.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: 15px;
  font-weight: 600;
  /* theme default 37px padding = huge gap under menu + dropdown far below */
  padding: 12px 0 !important;
}

.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);
}

.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);
  z-index: 50;
}

.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-area-1-inner .header-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 58%;
  position: relative;
  z-index: 5;
  margin-left: 0 !important;
}

/*
 * Scroll-down hide: theme-btn bottoms were peeking at the viewport top because
 * translateY(-100%) matched header box height only — CTAs sat slightly taller.
 * Extra offset + overflow/opacity so Institution / Sign-in never stay cut-visible.
 */
.header-main.header-sticky.transformed {
  transform: translate3d(0, calc(-100% - 56px), 0) !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.header-area-1.header-inner:has(.header-main.transformed) {
  transform: translate3d(0, calc(-100% - 56px), 0) !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.header-area-1.header-inner:has(.header-main.transformed) .header-main.transformed {
  transform: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.header-area-1.header-inner:has(.header-main.sticky-header) {
  opacity: 1 !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

/* Always visible: Sign in/up before hamburger. Theme hides `.header-button` ≤575px — force back. */
.header-area-1 .header-button.header-button--auth,
.header-area .header-button.header-button--auth {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.header-area-1-inner .header-offcanvas {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* —— Responsive: same theme-btn design, only scale size (keep text + arrow) —— */
@media only screen and (max-width: 1199px) {
  .header-area-1 .header-logo img {
    height: 52px !important;
    max-width: min(168px, 40vw) !important;
  }

  .header-area-1-inner .header-right {
    max-width: 54%;
    gap: 6px;
  }

  .header-area-1 .header-button.header-button--auth {
    gap: 0;
  }

  .header-area-1 .ptg-header-auth-btn.theme-btn,
  .header-area-1 .header-button--auth>.theme-btn {
    width: auto !important;
    max-width: 100%;
    gap: 10px !important;
    padding: 3px 3px 3px 12px !important;
  }

  .header-area-1 .ptg-header-auth-btn .text,
  .header-area-1 .header-button--auth>.theme-btn .text {
    font-size: 12px !important;
  }

  .header-area-1 .ptg-header-auth-btn .icon,
  .header-area-1 .header-button--auth>.theme-btn .icon {
    width: 34px;
    height: 34px;
  }

  .header-area-1 .side-toggle {
    width: 36px !important;
    height: 36px !important;
  }
}

@media only screen and (max-width: 767px) {
  .header-area-1 .header-logo img {
    height: 44px !important;
    max-width: min(120px, 34vw) !important;
  }

  .header-area-1-inner {
    height: 64px;
    gap: 8px;
  }

  .header-area-1-inner .header-right {
    max-width: 62%;
    gap: 5px;
  }

  .header-area-1 .ptg-header-auth-btn.theme-btn,
  .header-area-1 .header-button--auth>.theme-btn {
    gap: 6px !important;
    padding: 2px 2px 2px 8px !important;
  }

  .header-area-1 .ptg-header-auth-btn .text,
  .header-area-1 .header-button--auth>.theme-btn .text {
    font-size: 11px !important;
  }

  .header-area-1 .ptg-header-auth-btn .icon,
  .header-area-1 .header-button--auth>.theme-btn .icon {
    width: 28px;
    height: 28px;
  }

  .header-area-1 .ptg-header-auth-btn .icon svg,
  .header-area-1 .header-button--auth>.theme-btn .icon svg {
    width: 10px;
    height: 10px;
  }

  .header-area-1 .side-toggle {
    width: 34px !important;
    height: 34px !important;
  }
}

@media only screen and (max-width: 420px) {
  .header-area-1 .header-logo img {
    height: 40px !important;
    max-width: min(100px, 30vw) !important;
  }

  .header-area-1-inner {
    height: 58px;
    gap: 6px;
  }

  .header-area-1-inner .header-right {
    max-width: 64%;
    gap: 4px;
  }

  .header-area-1 .ptg-header-auth-btn.theme-btn,
  .header-area-1 .header-button--auth>.theme-btn {
    gap: 4px !important;
    padding: 2px 2px 2px 6px !important;
  }

  .header-area-1 .ptg-header-auth-btn .text,
  .header-area-1 .header-button--auth>.theme-btn .text {
    font-size: 10px !important;
  }

  .header-area-1 .ptg-header-auth-btn .icon,
  .header-area-1 .header-button--auth>.theme-btn .icon {
    width: 26px;
    height: 26px;
  }

  .header-area-1 .side-toggle {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Institution = full theme-btn (primary); only layout tweaks here */
.ptg-header-inst-btn {
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Sign in / Sign up group — leave theme-btn defaults alone */
.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: 1500px) {
  .header-area-1-inner .left {
    gap: 20px;
  }

  .header-area-1 .main-menu>ul {
    gap: 12px;
  }

  .header-area-1 .main-menu>ul>li>a {
    font-size: 14px;
  }

  .header-button--auth {
    gap: 10px;
  }
}

@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: 16px;
  }

  .header-area-1 .main-menu>ul {
    gap: 10px;
  }

  .header-area-1 .main-menu>ul>li>a {
    font-size: 13.5px;
  }

  .header-button--auth {
    gap: 8px;
  }
}

@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;
}


.ptg-faq-band .faq1__wrap {
  border-top-color: rgba(1, 159, 162, .2);
}

.ptg-faq-band .faq1__item {
  border-color: rgba(20, 33, 61, .1);
  box-shadow: 0 12px 30px rgba(20, 33, 61, .06);
}

.ptg-faq-band .faq1__item:has(.show) {
  border-color: rgba(1, 159, 162, .35);
  box-shadow: 0 16px 36px rgba(20, 33, 61, .1);
}

.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);
}

/* FAQ: Get In Touch only — no cream/white widget behind button */
.faq1__widget {
  max-width: 100% !important;
  width: auto;
  display: inline-flex !important;
  align-items: center;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.faq1__widget .faq1__contact-main {
  display: none !important;
}

.faq1__widget .theme-btn {
  margin: 0 !important;
}

/* 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;
}

/* ========== Logo path roadmap (Learn → Achieve) ========== */
/* Our path sits between Events (cream) and FAQ (cream) — must be white so bands alternate. */
.ptg-roadmap {
  background:
    radial-gradient(ellipse 70% 50% at 12% 20%, rgba(252, 143, 12, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 88% 75%, rgba(1, 159, 162, 0.08), transparent 50%),
    #fff;
  overflow: hidden;
}

.ptg-roadmap__lead {
  max-width: 36rem;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5B6B7C;
}

.ptg-roadmap__stage {
  position: relative;
  margin-top: 2.25rem;
  padding: 1.25rem 0.5rem 0.5rem;
}

.ptg-roadmap__path {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 18px;
  width: 96%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.ptg-roadmap__traveler {
  fill: #fc8f0c;
  stroke: #fff;
  stroke-width: 2.5;
  filter: drop-shadow(0 4px 10px rgba(252, 143, 12, 0.45));
}

.ptg-roadmap__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  min-height: 260px;
  align-items: center;
}

.ptg-roadmap__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  --float-y: -10px;
}

.ptg-roadmap__node--up {
  --float-y: -14px;
  align-self: start;
  padding-top: 0.35rem;
}

.ptg-roadmap__node--down {
  --float-y: 14px;
  align-self: end;
  padding-bottom: 0.35rem;
}

.ptg-roadmap__hit {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 9.5rem;
  animation: ptgRoadmapFloat 3.2s ease-in-out infinite;
  animation-delay: calc(var(--node-i, 0) * 0.28s);
}

.ptg-roadmap__node--down .ptg-roadmap__hit {
  animation-name: ptgRoadmapFloatDown;
}

@keyframes ptgRoadmapFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(var(--float-y));
  }
}

@keyframes ptgRoadmapFloatDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(var(--float-y));
  }
}

.ptg-roadmap__orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 3px solid var(--node-color, #fc8f0c);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--node-color, #fc8f0c) 16%, transparent),
    0 14px 28px rgba(20, 33, 61, 0.12);
  color: var(--node-color, #fc8f0c);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ptg-roadmap__orb .material-symbols-outlined {
  font-size: 1.7rem;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.ptg-roadmap__index {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94A3B8;
}

.ptg-roadmap__label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #14213D;
  line-height: 1.15;
}

.ptg-roadmap__node.is-active .ptg-roadmap__orb {
  transform: scale(1.08);
  background: var(--node-color, #fc8f0c);
  color: #fff;
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--node-color, #fc8f0c) 22%, transparent),
    0 16px 32px rgba(20, 33, 61, 0.18);
}

.ptg-roadmap__node.is-active .ptg-roadmap__label {
  color: var(--node-color, #fc8f0c);
}

.ptg-roadmap__caption {
  margin: 1.35rem auto 0;
  max-width: 34rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5B6B7C;
  min-height: 2.8em;
}

/* Mobile: no horizontal scroll — vertical timeline (same 5 steps, one screen width) */
@media (max-width: 991px) {
  .ptg-roadmap__path {
    display: none;
  }

  .ptg-roadmap__stage {
    margin-top: 1.5rem;
    padding: 0.25rem 0 0;
  }

  .ptg-roadmap__nodes {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 0;
    overflow: visible;
  }

  .ptg-roadmap__node {
    flex: none;
    width: 100%;
    align-self: stretch !important;
    padding: 0 !important;
    position: relative;
  }

  .ptg-roadmap__node+.ptg-roadmap__node::before {
    content: "";
    position: absolute;
    left: 31px;
    top: -2px;
    width: 0;
    height: 14px;
    border-left: 3px dotted rgba(20, 33, 61, 0.28);
  }

  .ptg-roadmap__hit {
    flex-direction: row;
    align-items: center;
    text-align: left;
    max-width: none;
    width: 100%;
    gap: 0.85rem;
    padding: 0.65rem 0.35rem;
    animation: none !important;
  }

  .ptg-roadmap__node--down .ptg-roadmap__hit {
    animation: none !important;
  }

  .ptg-roadmap__orb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .ptg-roadmap__orb .material-symbols-outlined {
    font-size: 1.4rem;
  }

  .ptg-roadmap__index {
    min-width: 1.5rem;
  }

  .ptg-roadmap__label {
    font-size: 1rem;
    text-align: left;
  }

  .ptg-roadmap__caption {
    margin-top: 1rem;
    text-align: left;
    padding: 0 0.35rem;
  }
}

@media (max-width: 575px) {
  .ptg-roadmap__node+.ptg-roadmap__node::before {
    left: 28px;
  }

  .ptg-roadmap__orb {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptg-roadmap__hit {
    animation: none !important;
  }
}

/* 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-primary {
  background: var(--primary, #14213D) !important;
  border-color: transparent !important;
}

.theme-btn.button-bg-primary .text {
  color: #fff !important;
}

.theme-btn.button-bg-primary .icon {
  background: #fff !important;
}

.theme-btn.button-bg-primary .icon svg path {
  fill: var(--secondary, #fc8f0c) !important;
}

.theme-btn.button-bg-primary:hover,
.theme-btn.button-bg-primary:focus-visible {
  background: var(--secondary, #fc8f0c) !important;
  border-color: var(--secondary, #fc8f0c) !important;
  opacity: 1;
}

.theme-btn.button-bg-primary:hover::before,
.theme-btn.button-bg-primary:focus-visible::before {
  background: var(--secondary, #fc8f0c) !important;
}

.theme-btn.button-bg-primary:hover .text,
.theme-btn.button-bg-primary:focus-visible .text {
  color: #fff !important;
}

.theme-btn.button-bg-primary:hover .icon,
.theme-btn.button-bg-primary:focus-visible .icon {
  background: #fff !important;
}

.theme-btn.button-bg-primary:hover .icon svg path,
.theme-btn.button-bg-primary:focus-visible .icon svg path {
  fill: var(--primary, #14213D) !important;
}

.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/hero-contests.jpg');
  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: 108px 0 40px;
    min-height: 0;
    text-align: center;
  }

  .ptg-cx-hero--theme .ptg-cx-hero__cta {
    margin-inline: auto;
  }

  .ptg-cx-hero--theme .ptg-cx-hero__title {
    font-size: clamp(1.35rem, 5.6vw, 1.85rem);
    line-height: 1.25;
  }
}

@media (max-width: 575px) {
  .ptg-cx-hero.ptg-cx-hero--theme {
    padding: 96px 0 32px;
  }
}

/* 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--sm {
  min-height: 0;
  padding: 12px 8px 20px;
}

.ptg-empty-state__art {
  width: min(520px, 88vw);
  margin: 0 auto 20px;
  line-height: 0;
  background: transparent;
}

.ptg-empty-state--sm .ptg-empty-state__art {
  width: min(140px, 42vw);
  margin: 0 auto 10px;
}

.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;
}

.ptg-empty-state--sm .ptg-empty-state__gif {
  max-width: 140px;
}

.ptg-empty-state--sm .ptg-empty-state__title {
  font-size: 1.05rem;
}

.ptg-empty-state--sm .ptg-empty-state__text {
  font-size: 14px;
  max-width: 36ch;
}

.ptg-empty-state--sm .ptg-empty-state__cta {
  margin-top: 12px;
}

@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 — full-bleed L→R image (blank navy left + human right in asset); UI overlay */
.ptg-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* header-inner clearance — crumbs must sit fully below fixed header */
  padding: 168px 0 32px;
  min-height: 360px;
  background: #14213D;
  border-bottom: none;
}

.ptg-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ptg-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Keep copy readable over photo (esp. mobile where crop shows the person). */
.ptg-page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg,
      rgba(20, 33, 61, 0.88) 0%,
      rgba(20, 33, 61, 0.72) 38%,
      rgba(20, 33, 61, 0.28) 68%,
      rgba(20, 33, 61, 0.12) 100%);
}

.ptg-page-hero__shell {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ptg-page-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 38rem;
  padding: 8px 0 4px;
  color: #fff;
}

.ptg-page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
}

.ptg-page-hero__crumbs a {
  color: rgba(255, 255, 255, 0.88);
  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(255, 255, 255, 0.35);
  font-weight: 500;
  user-select: none;
}

.ptg-page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #019fa2;
  background: transparent;
  border: 0;
  padding: 0;
}

.ptg-page-hero__title,
.ptg-page-hero h1.ptg-page-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff !important;
}

.ptg-page-hero__title span {
  color: #ffffff !important;
  display: inline;
}

.ptg-page-hero__lead {
  margin: 0;
  max-width: 34rem;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.ptg-page-hero__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fc8f0c;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(252, 143, 12, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ptg-page-hero__cta:hover {
  background: #019fa2;
  color: #fff;
  transform: translateY(-1px);
}

.ptg-page-hero__cta .material-symbols-outlined {
  font-size: 18px;
}

.ptg-page-hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ptg-page-hero__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.ptg-page-hero__feature:first-child {
  padding-left: 0;
}

.ptg-page-hero__feature:last-child {
  border-right: 0;
  padding-right: 0;
}

.ptg-page-hero__feature-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #019fa2;
  color: #fff;
}

.ptg-page-hero__feature-icon .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.ptg-page-hero__feature-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ptg-page-hero__feature-body strong {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.ptg-page-hero__feature-body span {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1199px) {
  .ptg-page-hero {
    padding: 140px 0 28px;
    min-height: 320px;
  }

  .ptg-page-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .ptg-page-hero__feature {
    border-right: 0;
    padding: 0;
  }

  .ptg-page-hero__feature:nth-child(2n) {
    border-right: 0;
  }

  .ptg-page-hero__feature:nth-child(-n+2) {
    padding-bottom: 0;
  }
}

@media (max-width: 991px) {
  .ptg-page-hero {
    /* Fixed header ~78px (logo 56) + safe gap — was short / copy under header */
    padding: 108px 0 28px;
    min-height: 0;
    text-align: center;
  }

  .ptg-page-hero__media::after {
    background: linear-gradient(180deg,
        rgba(20, 33, 61, 0.92) 0%,
        rgba(20, 33, 61, 0.82) 45%,
        rgba(20, 33, 61, 0.7) 100%);
  }

  .ptg-page-hero__media img {
    object-position: 58% center;
  }

  .ptg-page-hero__copy {
    max-width: none;
    width: 100%;
    margin-inline: auto;
    align-items: center;
    padding: 4px 0 8px;
  }

  .ptg-page-hero__crumbs {
    justify-content: center;
    margin-bottom: 10px;
  }

  .ptg-page-hero__title,
  .ptg-page-hero h1.ptg-page-hero__title {
    font-size: clamp(1.35rem, 5.6vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .ptg-page-hero__lead {
    font-size: 13px;
    line-height: 1.5;
    max-width: 36rem;
  }

  .ptg-page-hero__cta {
    align-self: center;
    margin-inline: auto;
  }

  .ptg-page-hero__features {
    width: 100%;
    margin-top: 16px;
    padding-top: 14px;
    text-align: left;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .ptg-page-hero__feature {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .ptg-page-hero {
    padding: 96px 0 24px;
  }

  .ptg-page-hero__features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ptg-page-hero__feature-body strong {
    font-size: 13px;
  }

  .ptg-page-hero__feature-body span {
    font-size: 12px;
  }
}

.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;
}

/* Assessments page — feature strip (theme colours, responsive) */
.ptg-assess-features {
  padding-top: 8px;
  padding-bottom: 8px;
  background: #fff;
}

.ptg-assess-features__card {
  height: 100%;
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  background: #F4F1DE;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ptg-assess-features__card:hover {
  border-color: rgba(1, 159, 162, 0.35);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.ptg-assess-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-size: 26px;
  color: #019fa2;
  background: rgba(1, 159, 162, 0.12);
}

.ptg-assess-features__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #14213D;
  letter-spacing: -0.02em;
}

.ptg-assess-features__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5B6B7C;
}

@media (max-width: 575px) {
  .ptg-assess-features__card {
    padding: 16px 14px;
  }

  .ptg-assess-features__title {
    font-size: 0.95rem;
  }
}

/* Coming soon — Assessments / Kalakriti split panel */
.ptg-soon {
  background: #fff;
}

.ptg-soon__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  padding: 28px 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ptg-soon__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.ptg-soon__art .ptg-soon__badge {
  position: absolute;
  top: 4%;
  left: 50%;
  z-index: 1;
  margin: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ptg-soon__art img {
  display: block;
  width: min(440px, 88vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 32px rgba(20, 33, 61, 0.14));
}

.ptg-assessment-empty-art {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  min-height: 340px;
  place-items: center;
  isolation: isolate;
}

.ptg-assessment-empty-art__glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 159, 162, .22), rgba(1, 159, 162, 0) 68%);
  filter: blur(2px);
}

.ptg-assessment-empty-art__orbit {
  position: absolute;
  border: 1px dashed rgba(1, 159, 162, .45);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.ptg-assessment-empty-art__orbit--one {
  width: 86%;
  height: 45%;
}

.ptg-assessment-empty-art__orbit--two {
  width: 66%;
  height: 74%;
  border-color: rgba(252, 143, 12, .4);
  transform: rotate(38deg);
}

.ptg-assessment-empty-art__card {
  position: relative;
  z-index: 1;
  width: min(290px, 76%);
  padding: 18px 20px 16px;
  border: 1px solid rgba(20, 33, 61, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 45px rgba(20, 33, 61, .16);
  transform: rotate(-4deg);
  animation: ptgAssessmentCardFloat 4.5s ease-in-out infinite;
}

.ptg-assessment-empty-art__card-top,
.ptg-assessment-empty-art__footer {
  display: flex;
  align-items: center;
}

.ptg-assessment-empty-art__card-top {
  gap: 5px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(20, 33, 61, .08);
}

.ptg-assessment-empty-art__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7e3e5;
}

.ptg-assessment-empty-art__dot:first-child {
  background: #fc8f0c;
}

.ptg-assessment-empty-art__label {
  margin-left: auto;
  color: #7a8795;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ptg-assessment-empty-art__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 22px auto 18px;
  place-items: center;
  border-radius: 16px;
  background: #e2f5f3;
  color: #019fa2;
}

.ptg-assessment-empty-art__icon .material-symbols-outlined {
  font-size: 31px;
}

.ptg-assessment-empty-art__line {
  display: block;
  height: 8px;
  margin-bottom: 9px;
  border-radius: 99px;
  background: #e7ecef;
}

.ptg-assessment-empty-art__line--long {
  width: 76%;
}

.ptg-assessment-empty-art__line--medium {
  width: 52%;
}

.ptg-assessment-empty-art__progress {
  height: 7px;
  margin: 17px 0 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf2f2;
}

.ptg-assessment-empty-art__progress span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #019fa2, #66d8d1);
  animation: ptgAssessmentProgress 3.2s ease-in-out infinite;
}

.ptg-assessment-empty-art__footer {
  justify-content: space-between;
  gap: 8px;
  color: #7a8795;
  font-size: 10px;
  font-weight: 700;
}

.ptg-assessment-empty-art__footer .material-symbols-outlined {
  color: #fc8f0c;
  font-size: 17px;
}

.ptg-assessment-empty-art__float {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 5px solid #f4f1de;
  border-radius: 15px;
  box-shadow: 0 12px 24px rgba(20, 33, 61, .14);
  color: #fff;
}

.ptg-assessment-empty-art__float .material-symbols-outlined {
  font-size: 21px;
}

.ptg-assessment-empty-art__float--teal {
  top: 16%;
  left: 9%;
  background: #019fa2;
  transform: rotate(-12deg);
  animation: ptgAssessmentTealFloat 4s ease-in-out infinite;
}

.ptg-assessment-empty-art__float--orange {
  right: 8%;
  bottom: 14%;
  background: #fc8f0c;
  transform: rotate(12deg);
  animation: ptgAssessmentOrangeFloat 4.2s ease-in-out infinite;
}

@keyframes ptgAssessmentCardFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-9px) rotate(-2deg); }
}

@keyframes ptgAssessmentProgress {
  0%, 100% { width: 42%; }
  50% { width: 78%; }
}

@keyframes ptgAssessmentTealFloat {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes ptgAssessmentOrangeFloat {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(9px) rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ptg-assessment-empty-art__card,
  .ptg-assessment-empty-art__progress span,
  .ptg-assessment-empty-art__float {
    animation: none;
  }
}

.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;
  text-align: center;
}

.ptg-soon__text {
  max-width: 34rem;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #5B6B7C;
  text-align: center;
}

.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;
  justify-content: 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(400px, 92vw);
  }

  .ptg-assessment-empty-art {
    min-height: 300px;
  }
}

/* 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 — same Mona Sans stack as Quick Links */
.footer1__widget--open .footer1__widget-title,
.footer1__widget .footer1__widget-title {
  font-family: var(--font_mona);
}

.footer1__open-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font_mona);
}

.footer1__open-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-family: var(--font_mona);
}

.footer1__open-list a:hover .footer1__open-title {
  color: var(--secondary, #fc8f0c);
}

.footer1__open-title {
  display: block;
  font-family: var(--font_mona);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0;
  color: var(--text2, #5B6B7C);
  transition: color 0.2s ease;
}

.footer1.bg-white .footer1__open-title {
  color: var(--text2, #5B6B7C);
}

.footer1__open-list a:hover .footer1__open-title {
  color: var(--secondary, #fc8f0c);
}

.footer1__open-meta {
  display: block;
  margin-top: 2px;
  font-family: var(--font_mona);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: rgba(20, 33, 61, 0.55);
}

.footer1__open-empty {
  font-family: var(--font_mona);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: var(--text2, #5B6B7C);
}

.footer1__open-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font_mona);
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  color: var(--ptg-teal, #019fa2);
  text-decoration: none;
}

.footer1__open-all:hover {
  color: var(--secondary, #fc8f0c);
}

.footer1.bg-white .footer1__links li a,
.footer1.bg-white .footer1__legal a,
.footer1.bg-white .footer1__newsletter-label,
.footer1.bg-white .footer1__desc,
.footer1.bg-white .footer1__contact-item,
.footer1.bg-white .footer1__contact-item a,
.footer1.bg-white .footer1__contact-item span {
  font-family: var(--font_mona);
}

/* 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;
}

/* ========== Theme CTA (auth / modal — mirrors style.css when that sheet is absent) ========== */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border, #E5E5E5);
  border-radius: 6px;
  padding: 3px 3px 3px 20px;
  background: transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: max-content;
  cursor: pointer;
  font: inherit;
  transition: all 0.3s ease;
}

.theme-btn::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  /* Must stay behind label/icon — z-index:0 covered hover text sitewide */
  z-index: -1;
}

.theme-btn:hover {
  border-color: transparent;
}

.theme-btn:hover::before {
  top: 0;
  background: var(--secondary, #fc8f0c);
}

.theme-btn:hover .text {
  color: var(--white, #fff);
}

.theme-btn:hover .icon {
  background: var(--white, #fff);
  color: var(--primary, #14213D);
}

.theme-btn:hover .icon i,
.theme-btn:hover .icon svg {
  transform: rotate(45deg);
}

.theme-btn:hover .icon i path,
.theme-btn:hover .icon svg path {
  fill: var(--primary, #14213D);
}

.theme-btn .text {
  font-family: var(--font_mona, var(--font-body));
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: capitalize;
  color: var(--primary, #14213D);
  white-space: nowrap;
  transition: color 0.4s;
  position: relative;
  z-index: 1;
}

.theme-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--secondary, #fc8f0c);
  color: var(--white, #fff);
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.4s, color 0.4s;
  position: relative;
  z-index: 1;
}

.theme-btn .icon i,
.theme-btn .icon svg {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotate(0deg);
}

.theme-btn .icon i path,
.theme-btn .icon svg path {
  fill: var(--white, #fff);
}

.theme-btn--block,
.theme-btn--full {
  width: 100%;
  gap: 0;
}

.theme-btn.button-bg-primary,
.theme-btn.button-bg-secondary {
  width: fit-content;
  border: 1px solid transparent;
}

.theme-btn.button-bg-primary {
  background: var(--primary, #14213D);
}

.theme-btn.button-bg-secondary {
  background: var(--secondary, #fc8f0c);
}

.theme-btn.button-bg-primary.theme-btn--block,
.theme-btn.button-bg-primary.theme-btn--full,
.theme-btn.button-bg-secondary.theme-btn--block,
.theme-btn.button-bg-secondary.theme-btn--full {
  width: 100%;
}

.theme-btn.button-bg-primary .text,
.theme-btn.button-bg-secondary .text {
  color: var(--white, #fff);
}

.theme-btn.button-bg-primary .icon,
.theme-btn.button-bg-secondary .icon {
  background: var(--white, #fff);
}

.theme-btn.button-bg-primary .icon svg path {
  fill: var(--secondary, #fc8f0c);
}

.theme-btn.button-bg-secondary .icon svg path {
  fill: var(--primary, #14213D);
}

.theme-btn.button-bg-primary:hover {
  transform: translateY(-3px);
  opacity: 0.95;
  background: var(--secondary, #fc8f0c);
  border-color: transparent;
}

.theme-btn.button-bg-primary:hover .text {
  color: var(--white, #fff);
}

.theme-btn.button-bg-primary:hover::before {
  background: var(--secondary, #fc8f0c);
}

.theme-btn.button-bg-primary:hover .icon {
  background: var(--white, #fff);
}

.theme-btn.button-bg-primary:hover .icon svg path {
  fill: var(--primary, #14213D);
}

.theme-btn.button-bg-secondary:hover {
  transform: translateY(-3px);
  opacity: 0.9;
  border: 1px solid var(--white, #fff);
  background: var(--white, #fff);
}

.theme-btn.button-bg-secondary:hover .text {
  color: var(--primary, #14213D);
}

.theme-btn.button-bg-secondary:hover::before {
  background: var(--white, #fff);
}

.theme-btn.button-bg-secondary:hover .icon {
  background: var(--secondary, #fc8f0c);
  color: var(--white, #fff);
}

.theme-btn.button-bg-secondary:hover .icon svg path {
  fill: var(--white, #fff);
}

/* Footer — Coming Soon dual-phone app mockup (transparent PNG; store URLs empty) */
.ptg-app-soon {
  margin-top: 8px;
  max-width: 280px;
  background: transparent;
}

.ptg-app-soon__img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ptg-app-soon__badge {
  margin: 10px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary, #fc8f0c);
  line-height: 1.2;
}

.ptg-app-soon__note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary, #14213D);
}

.footer1.bg-white .ptg-app-soon__note {
  color: var(--primary, #14213D);
}

.footer1.bg-white .ptg-app-soon__badge {
  color: var(--secondary, #fc8f0c);
}

.theme-btn:disabled,
.theme-btn.is-busy {
  pointer-events: none;
  opacity: 0.88;
  transform: none;
}

/*----------------------------------------*/
/* Home — thin theme helpers only (use hero1 / category2 / about2 / fact2)
----------------------------------------*/
/* Home hero: clear CTA/tags + no spill onto chips */
.ptg-home-hero {
  padding-bottom: 40px !important;
  overflow: hidden;
}

.ptg-home-hero .hero1__content {
  padding-bottom: 8px;
}

.ptg-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 22px 0 16px;
}

.ptg-hero-cta .theme-btn {
  margin: 0;
  align-self: center;
}

.ptg-home-hero .hero1__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 0;
}

.ptg-hero-tag-btn {
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

@media (max-width: 575px) {
  .ptg-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ptg-hero-cta .theme-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Person on original rounded orange shape — stay inside hero */
.ptg-home-hero .hero1__thumb {
  max-width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 20px;
}

.ptg-home-hero .hero1__bg-shape {
  border-radius: 20px;
  overflow: hidden;
  z-index: 0;
}

.ptg-home-hero .hero1__image.ptg-hero-person {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}

.ptg-home-hero .hero1__image.ptg-hero-person img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 22px rgba(20, 33, 61, 0.14));
}

@media (max-width: 991px) {
  .ptg-home-hero {
    padding-bottom: 36px !important;
  }

  .ptg-home-hero .hero1__image.ptg-hero-person img {
    max-height: 420px;
  }
}

/* Value chips — inside hero, on cream background */
.ptg-home-chips--in-hero {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: transparent;
}

.ptg-home-chips--in-hero .ptg-home-chip-card {
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px;
  min-height: 100%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.06);
}

.ptg-home-chips--in-hero .category2__card-icon {
  width: 48px;
  height: 48px;
}

.ptg-home-chips--in-hero .category2__card-content {
  min-width: 0;
  flex: 1 1 auto;
}

.ptg-home-chips--in-hero .category2__card-name {
  margin-bottom: 6px;
  line-height: 1.3;
}

.ptg-home-chips--in-hero .category2__card-learners {
  display: block;
  white-space: normal;
  line-height: 1.45;
  text-transform: none;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .ptg-home-chips--in-hero {
    margin-top: 12px;
  }
}

.ptg-home-facts.fact2__counters {
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  align-items: stretch;
  justify-content: stretch;
}

.ptg-home-facts .fact2__counter {
  width: auto !important;
  text-align: left;
  min-width: 0;
}

.ptg-home-facts .fact2__counter::after {
  display: none !important;
}

.ptg-home-facts .fact2__counter-icon {
  margin-bottom: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--bg2, #F8F6F0);
  color: var(--primary, #14213D);
  flex-shrink: 0;
}

.ptg-home-facts .fact2__counter-icon .material-symbols-outlined {
  font-size: 24px;
}

.ptg-home-facts__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ptg-home-facts__head .fact2__counter-number {
  margin-bottom: 0;
}

.ptg-home-facts__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text2, #5B6B7C);
  line-height: 1.4;
}

@media (max-width: 991px) {
  .ptg-home-facts.fact2__counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }
}

@media (max-width: 420px) {
  .ptg-home-facts .fact2__counter-icon {
    width: 42px;
    height: 42px;
  }

  .ptg-home-facts .fact2__counter-icon .material-symbols-outlined {
    font-size: 20px;
  }

  .ptg-home-facts .fact2__counter-number {
    font-size: 22px !important;
  }
}

/* About PTGLOBALEDU — stop stretched/squashed thumbs on mobile */
.about2 .about2__left,
.about2 .about2__right {
  max-width: 100%;
}

.about2 .about2__left .main-img,
.about2 .about2__right .main-img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

@media (max-width: 991px) {

  .about2 .about2__left,
  .about2 .about2__right {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .about2 .about2__right {
    margin-top: 0;
  }

  .about2 .row {
    --bs-gutter-y: 1.75rem;
  }
}

@media (max-width: 575px) {

  .about2 .about2__left,
  .about2 .about2__right {
    max-width: 100%;
  }
}

/* Homepage refresh: editorial carousel, outcome-led about section and footer polish. */
.ptg-modern-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(9.2rem, 6vw, 5.5rem) 0 2.25rem;
  background: #fff;
}

.ptg-modern-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(1, 159, 162, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 159, 162, .08) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.ptg-modern-hero>.container {
  position: relative;
  z-index: 1;
}

.ptg-modern-hero__glow {
  position: absolute;
  z-index: 0;
  top: 8%;
  right: 12%;
  width: min(38rem, 55vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 159, 162, .18), rgba(1, 159, 162, 0) 68%);
  filter: blur(2px);
  animation: ptg-glow-drift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.ptg-modern-hero__slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, .85fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  min-height: 38rem;
}

.ptg-modern-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 39rem;
}

.ptg-modern-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  color: var(--ptg-teal);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ptg-modern-hero__eyebrow span {
  width: 2rem;
  height: 2px;
  background: currentColor;
}

.ptg-modern-hero h1 {
  max-width: 38rem;
  margin: 0;
  color: var(--ptg-navy);
  font-size: clamp(2.6rem, 5.3vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}

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

.ptg-modern-hero__slide--gold h1 em {
  color: var(--ptg-gold);
}

.ptg-modern-hero__slide--navy h1 em {
  color: var(--ptg-navy);
  text-decoration: underline;
  text-decoration-color: var(--ptg-gold);
  text-decoration-thickness: .12em;
  text-underline-offset: .08em;
}

.ptg-modern-hero__copy p {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: var(--ptg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ptg-modern-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2rem;
}

.ptg-modern-hero__primary {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  background: var(--ptg-navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(20, 33, 61, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ptg-modern-hero__primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(20, 33, 61, .24);
}

.ptg-modern-hero__primary span {
  color: var(--ptg-gold);
  font-size: 1.25rem;
}

.ptg-modern-hero__secondary {
  color: var(--ptg-navy);
  font-size: .9rem;
  font-weight: 800;
  border-bottom: 1px solid var(--ptg-navy);
}

.ptg-modern-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3rem;
  color: var(--ptg-muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ptg-modern-hero__meta strong {
  margin-right: .25rem;
  color: var(--ptg-gold);
}

.ptg-modern-hero__visual {
  position: relative;
  min-height: 31rem;
  display: grid;
  place-items: center;
}

.ptg-modern-hero__ring {
  position: absolute;
  width: min(29rem, 90%);
  aspect-ratio: 1;
  border: 1px solid rgba(1, 159, 162, .3);
  border-radius: 48% 52% 55% 45%;
  transform: rotate(12deg);
  animation: ptg-ring-spin 16s linear infinite;
}

.ptg-modern-hero__ring::before,
.ptg-modern-hero__ring::after {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px dashed rgba(252, 143, 12, .38);
  border-radius: 52% 48% 45% 55%;
  transform: rotate(35deg);
}

.ptg-modern-hero__ring::after {
  inset: 3.2rem;
  border: 0;
  background: radial-gradient(circle, rgba(252, 143, 12, .16) 0 2px, transparent 3px);
  background-size: 1.15rem 1.15rem;
  opacity: .7;
}

.ptg-modern-hero__visual img {
  position: relative;
  z-index: 1;
  width: min(35rem, 95%);
  height: min(31rem, 100%);
  max-height: 31rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 1.5rem 1.5rem rgba(20, 33, 61, .2));
  animation: ptg-hero-float 5s ease-in-out infinite;
}

.ptg-modern-hero__float {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .55rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 28px rgba(20, 33, 61, .12);
  backdrop-filter: blur(8px);
  color: var(--ptg-navy);
}

.ptg-modern-hero__float .material-symbols-outlined {
  grid-row: span 2;
  color: var(--ptg-teal);
  font-size: 1.4rem;
}

.ptg-modern-hero__float strong,
.ptg-modern-hero__float small {
  font-size: .7rem;
  line-height: 1.2;
}

.ptg-modern-hero__float small {
  color: var(--ptg-muted);
}

.ptg-modern-hero__float--top {
  top: 12%;
  right: 0;
}

.ptg-modern-hero__float--bottom {
  bottom: 8%;
  left: 0;
}

.ptg-modern-hero__float--bottom .material-symbols-outlined {
  color: var(--ptg-gold);
}

.ptg-modern-hero__cursor {
  position: absolute;
  right: 12%;
  bottom: 8%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .85rem;
  border: 1px solid rgba(1, 159, 162, .25);
  border-radius: 999px;
  background: #fff;
  color: var(--ptg-navy);
  box-shadow: 0 12px 25px rgba(20, 33, 61, .14);
  font-size: .72rem;
  font-weight: 800;
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ptg-modern-hero__cursor .material-symbols-outlined {
  color: var(--ptg-teal);
  font-size: 1.25rem;
  animation: ptg-cursor-nudge 1.8s ease-in-out infinite;
}

.ptg-modern-hero__cursor:hover {
  color: var(--ptg-teal);
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 16px 30px rgba(20, 33, 61, .2);
}

.ptg-modern-hero__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.ptg-modern-hero__controls button {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--ptg-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ptg-navy);
}

.ptg-modern-hero__controls button:hover {
  background: var(--ptg-navy);
  color: #fff;
}

.ptg-hero-pagination {
  display: flex;
  gap: .35rem;
}

.ptg-hero-pagination .swiper-pagination-bullet {
  width: 1.6rem;
  height: 3px;
  margin: 0 !important;
  border-radius: 0;
  background: var(--ptg-navy);
  opacity: .2;
}

.ptg-hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--ptg-teal);
}

.ptg-modern-hero .ptg-home-chips--in-hero {
  margin-top: 1rem;
}

@keyframes ptg-hero-float {

  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes ptg-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ptg-glow-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-2rem, 1.5rem, 0) scale(1.08);
  }
}

.ptg-modern-about {
  overflow: hidden;
  background: #fff;
}

.ptg-modern-about__grid {
  display: grid;
  grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.ptg-modern-about__visual {
  position: relative;
  padding: 1.4rem 0 0 1.4rem;
}

.ptg-modern-about__visual::before {
  content: "";
  position: absolute;
  inset: 0 1.4rem 1.4rem 0;
  border: 2px solid var(--ptg-gold);
  border-radius: 1.5rem;
  transform: rotate(-4deg);
}

.ptg-modern-about__visual img {
  position: relative;
  width: 100%;
  max-height: 29rem;
  object-fit: cover;
  border-radius: 1.5rem;
}

.ptg-modern-about__label {
  position: absolute;
  z-index: 2;
  top: .2rem;
  left: 1.8rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: var(--ptg-navy);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ptg-modern-about__stamp {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  border-radius: 1rem;
  background: var(--ptg-teal);
  color: #fff;
  box-shadow: 0 12px 24px rgba(1, 159, 162, .25);
  font-size: .78rem;
  line-height: 1.2;
}

.ptg-modern-about__stamp .material-symbols-outlined {
  font-size: 1.8rem;
}

.ptg-modern-about__copy {
  max-width: 39rem;
}

.ptg-modern-about__copy h2 {
  margin: .8rem 0 1rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
}

.ptg-modern-about__copy h2 span {
  color: var(--ptg-teal);
}

.ptg-modern-about__copy>p {
  max-width: 33rem;
  color: var(--ptg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.ptg-modern-about__pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.6rem;
}

.ptg-modern-about__pillar {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--ptg-line);
  border-radius: .8rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ptg-modern-about__pillar:hover {
  border-color: var(--ptg-teal);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(20, 33, 61, .08);
}

.ptg-modern-about__pillar>.material-symbols-outlined {
  flex: 0 0 auto;
  color: var(--ptg-teal);
}

.ptg-modern-about__pillar>span:nth-child(2) {
  min-width: 0;
}

.ptg-modern-about__pillar strong,
.ptg-modern-about__pillar small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ptg-modern-about__pillar strong {
  color: var(--ptg-navy);
  font-size: .78rem;
}

.ptg-modern-about__pillar small {
  color: var(--ptg-muted);
  font-size: .68rem;
}

.ptg-modern-about__pillar b {
  margin-left: auto;
  color: var(--ptg-gold);
}

.ptg-modern-about__link {
  display: inline-flex;
  gap: .8rem;
  margin-top: 1.6rem;
  color: var(--ptg-navy);
  font-weight: 800;
  border-bottom: 2px solid var(--ptg-gold);
}

@media (max-width: 991px) {
  .ptg-modern-hero__slide {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1rem;
  }

  .ptg-modern-hero__visual {
    min-height: 22rem;
  }

  .ptg-modern-about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ptg-modern-about__visual {
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .ptg-modern-hero {
    padding-top: 6.25rem;
  }

  .ptg-modern-hero h1 {
    font-size: 2.7rem;
  }

  .ptg-modern-hero__meta {
    margin-top: 2rem;
    gap: .7rem;
    font-size: .62rem;
  }

  .ptg-modern-hero__visual {
    min-height: 18rem;
  }

  .ptg-modern-hero__visual img {
    height: 19rem;
    max-height: 19rem;
  }

  .ptg-modern-hero__float--top {
    right: -.2rem;
  }

  .ptg-modern-hero__float--bottom {
    left: -.2rem;
  }

  .ptg-modern-hero__cursor {
    right: 0;
    bottom: 5%;
  }

  .ptg-modern-hero__controls {
    position: relative;
    justify-content: center;
    padding-top: .75rem;
  }

  .ptg-modern-about__pillars {
    grid-template-columns: 1fr;
  }

  .ptg-modern-about__stamp {
    right: -.4rem;
  }
}

@keyframes ptg-cursor-nudge {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(3px, -3px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .ptg-modern-hero__visual img,
  .ptg-modern-hero__ring::before,
  .ptg-modern-hero__glow,
  .ptg-modern-hero__cursor .material-symbols-outlined {
    animation: none;
  }
}


button.category2__card.ptg-home-pillar-card {
  background: var(--white, #fff);
  cursor: pointer;
}

.ptg-home-embassy-tabs .nav-link {
  border: 1px solid var(--border, #E5E5E5);
  border-radius: 6px;
  background: #fff;
  color: var(--primary, #14213D);
  font-weight: 700;
  padding: 10px 18px;
}

.ptg-home-embassy-tabs .nav-link.active {
  background: var(--primary, #14213D);
  border-color: var(--primary, #14213D);
  color: #fff;
}

.ptg-home-embassy-label {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--primary, #14213D);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.ptg-home-embassy-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* PTGLOBALEDU footer — editorial mega-footer */
.ptg-mega-footer {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(1, 159, 162, .28), transparent 25rem),
    radial-gradient(circle at 8% 100%, rgba(252, 143, 12, .12), transparent 22rem),
    #14213d !important;
  color: rgba(255, 255, 255, .76);
}

.ptg-mega-footer::before {
  content: "PTGLOBALEDU";
  position: absolute;
  top: 3rem;
  right: 1rem;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  font-weight: 900;
  line-height: .7;
  letter-spacing: -.12em;
  white-space: nowrap;
  transform: scaleX(.85);
  transform-origin: right top;
  pointer-events: none;
}

.ptg-mega-footer .footer1__bg {
  display: none;
}

.ptg-mega-footer .container {
  position: relative;
  z-index: 1;
}

.ptg-footer-launch {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.ptg-footer-kicker {
  display: block;
  margin-bottom: 1rem;
  color: #66d8d1;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ptg-footer-launch h2 {
  max-width: 39rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.ptg-footer-launch h2 em {
  color: #fc8f0c;
  font-style: normal;
}

.ptg-footer-launch p {
  max-width: 31rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 1rem;
  line-height: 1.6;
}

.ptg-footer-launch__action {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex: 0 0 auto;
  padding: .85rem 1rem .85rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ptg-footer-launch__actions {
  display: flex;
  min-width: min(100%, 20rem);
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
}

.ptg-footer-launch__newsletter-label {
  margin: 0 0 .45rem;
  color: #fc8f0c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ptg-footer-launch__newsletter .footer1__form--compact {
  gap: .55rem;
}

.ptg-footer-launch__newsletter .footer1__input-wrap {
  min-height: 3rem;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
}

.ptg-footer-launch__newsletter .footer1__input-wrap input {
  color: #fff;
}

.ptg-footer-launch__newsletter .footer1__input-wrap input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.ptg-footer-launch__newsletter .theme-btn {
  min-height: 3rem;
}

.ptg-footer-launch__action .material-symbols-outlined {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #fc8f0c;
  color: #14213d;
  font-size: 1rem;
}

.ptg-footer-launch__action:hover {
  border-color: #fc8f0c;
  background: rgba(252, 143, 12, .12);
  color: #fff;
  transform: translateY(-3px);
}

.ptg-mega-footer .footer1__main {
  display: grid;
  grid-template-columns: minmax(13rem, 1.35fr) repeat(2, minmax(9rem, .8fr)) minmax(15rem, 1.1fr);
  align-items: start;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

.ptg-mega-footer .footer1__widget {
  min-width: 0;
  max-width: none;
}

.ptg-mega-footer .footer1__widget-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ptg-mega-footer .footer1__widget-title::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: #fc8f0c;
}

.ptg-mega-footer .footer1__logo img {
  display: block;
  width: auto;
  height: 3.5rem;
  max-width: 13rem;
  object-fit: contain;
}

.ptg-mega-footer .footer1__logo {
  margin: 0 0 1.25rem !important;
}

.ptg-mega-footer .footer1__logo a {
  display: inline-flex;
  align-items: center;
  min-height: 3.8rem;
  padding: .45rem .8rem;
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.ptg-mega-footer .footer1__desc {
  max-width: 19rem;
  margin: 0 0 1.25rem;
  font-size: .92rem;
  line-height: 1.6;
}

.ptg-mega-footer .footer1__contact-item {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ptg-mega-footer .footer1__contact-item a,
.ptg-mega-footer .footer1__contact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ptg-mega-footer .footer1__desc,
.ptg-mega-footer .footer1__contact-item,
.ptg-mega-footer .footer1__contact-item a,
.ptg-mega-footer .footer1__contact-item span {
  color: rgba(255, 255, 255, .68) !important;
}

.ptg-mega-footer .footer1__contact-item svg path {
  fill: #66d8d1;
}

.ptg-mega-footer .ptg-footer-social-wrap {
  margin-top: 1.4rem;
}

.ptg-mega-footer .ptg-footer-social {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
}

.ptg-mega-footer .ptg-footer-social__btn {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(102, 216, 209, .45);
  border-radius: 50%;
  background: rgba(102, 216, 209, .14);
  color: #fff;
  line-height: 0;
  box-sizing: border-box;
}

.ptg-mega-footer .ptg-footer-social__btn svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.ptg-mega-footer .ptg-footer-social__btn svg path {
  fill: currentColor;
}

.ptg-mega-footer .ptg-footer-social__btn:hover {
  color: #14213d;
  background: #66d8d1;
  border-color: #66d8d1;
  transform: translateY(-3px);
}

.ptg-mega-footer .ptg-footer-social__btn--facebook:hover {
  color: #fff !important;
  background: #1877f2 !important;
  border-color: #1877f2 !important;
}

.ptg-mega-footer .ptg-footer-social__btn--instagram:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af) !important;
  border-color: transparent !important;
}

.ptg-mega-footer .ptg-footer-social__btn--twitter:hover {
  color: #fff !important;
  background: #14171a !important;
  border-color: #14171a !important;
}

.ptg-mega-footer .ptg-footer-social__btn--youtube:hover {
  color: #fff !important;
  background: #ff0000 !important;
  border-color: #ff0000 !important;
}

.ptg-mega-footer .ptg-footer-social__btn--linkedin:hover {
  color: #fff !important;
  background: #0a66c2 !important;
  border-color: #0a66c2 !important;
}

.ptg-mega-footer .footer1__links li a,
.ptg-mega-footer .footer1__open-title,
.ptg-mega-footer .footer1__open-meta {
  color: rgba(255, 255, 255, .7) !important;
}

.ptg-mega-footer .footer1__links li a:hover,
.ptg-mega-footer .footer1__open-list a:hover .footer1__open-title,
.ptg-mega-footer .footer1__open-all {
  color: #66d8d1 !important;
}

.ptg-mega-footer .footer1__links li a {
  position: relative;
  padding-left: 1rem;
}

.ptg-mega-footer .footer1__links li a::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: #fc8f0c;
  opacity: .8;
}

.ptg-mega-footer .footer1__widget--app {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.ptg-mega-footer .footer1__widget--app::before {
  display: none;
}

.ptg-mega-footer .footer1__widget--app .footer1__app-newsletter {
  display: none;
}

.ptg-mega-footer .footer1__widget--app .footer1__widget-title {
  white-space: nowrap;
}

.ptg-mega-footer .ptg-app-soon {
  width: min(100%, 15rem);
  max-width: 15rem;
  margin: 0;
}

.ptg-mega-footer .ptg-app-soon__img {
  width: 100%;
  max-height: 10rem;
  object-fit: contain;
  object-position: left center;
}

.ptg-mega-footer .ptg-app-soon__badge {
  text-align: left;
}

.ptg-mega-footer .ptg-app-soon__note {
  color: rgba(255, 255, 255, .6);
  text-align: left;
}

.ptg-mega-footer .footer1__newsletter-label {
  color: #fc8f0c !important;
}

.ptg-mega-footer .footer1__form--compact .footer1__input-wrap {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
}

.ptg-mega-footer .footer1__form--compact .footer1__input-wrap input {
  color: #fff;
}

.ptg-mega-footer .footer1__form--compact .footer1__input-wrap input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.ptg-mega-footer .footer1__form--compact .footer1__input-wrap .icon svg path {
  fill: #66d8d1;
}

.ptg-mega-footer .footer1__bottom {
  border-top-color: rgba(255, 255, 255, .16);
}

.ptg-mega-footer .footer1__bottom .copyright,
.ptg-mega-footer .footer1__legal a,
.ptg-mega-footer .footer1__legal-sep {
  color: rgba(255, 255, 255, .52) !important;
}

.ptg-mega-footer .footer1__legal a:hover {
  color: #fc8f0c !important;
}

@media (max-width: 991px) {
  .ptg-mega-footer .footer1__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptg-mega-footer .footer1__widget--app {
    padding-left: 0;
    border-left: 0;
  }

  .ptg-mega-footer .footer1__widget--app .footer1__widget-title {
    white-space: normal;
  }
}

@media (max-width: 575px) {
  .ptg-footer-launch {
    align-items: flex-start;
    flex-direction: column;
  }

  .ptg-mega-footer::before {
    top: 2rem;
    right: -3rem;
    font-size: 5rem;
    opacity: .7;
  }

  .ptg-footer-launch__copy,
  .ptg-footer-launch__actions {
    width: 100%;
  }

  .ptg-footer-launch h2 {
    max-width: 18rem;
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .ptg-footer-launch p {
    max-width: 100%;
    font-size: .92rem;
  }

  .ptg-footer-launch__newsletter .footer1__form--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: .5rem;
  }

  .ptg-footer-launch__newsletter .footer1__input-wrap {
    width: auto;
    min-width: 0;
  }

  .ptg-footer-launch__newsletter .footer1__input-wrap input {
    min-width: 0;
    padding: .8rem .75rem;
    font-size: .82rem;
  }

  .ptg-footer-launch__newsletter .theme-btn {
    width: auto;
    min-width: 5.5rem;
    justify-content: center;
    gap: .45rem;
    padding: .65rem .7rem;
  }

  .ptg-footer-launch__newsletter .theme-btn .icon {
    width: 1.65rem;
    height: 1.65rem;
  }

  .ptg-mega-footer .footer1__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .ptg-mega-footer .footer1__bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .ptg-mega-footer .footer1__legal {
    justify-content: center;
    gap: .35rem .6rem;
    text-align: center;
  }
}

/* Header CTA hover contrast - keep labels readable over theme transitions. */
.header-area-1 .ptg-header-inst-btn.theme-btn:hover .text,
.header-area-1 .ptg-header-inst-btn.theme-btn:focus-visible .text,
.header-area-1 .ptg-header-auth-btn.theme-btn:hover .text,
.header-area-1 .ptg-header-auth-btn.theme-btn:focus-visible .text,
.header-area-1 .ptg-header-auth-btn.theme-btn:hover .text a,
.header-area-1 .ptg-header-auth-btn.theme-btn:focus-visible .text a {
  color: #fff !important;
}

.header-area-1 .ptg-header-auth-btn.theme-btn .text a:hover,
.header-area-1 .ptg-header-auth-btn.theme-btn .text a:focus-visible {
  color: #fff !important;
}

.header-area-1 .ptg-header-inst-btn.theme-btn:hover .icon svg path,
.header-area-1 .ptg-header-inst-btn.theme-btn:focus-visible .icon svg path {
  fill: #14213D !important;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .header-area-1 .header-nav .main-menu > ul {
    gap: 16px;
  }

  .header-area-1 .header-nav .main-menu > ul > li > a {
    font-size: 13px !important;
  }

  .header-area-1 .ptg-header-inst-btn.theme-btn,
  .header-area-1 .ptg-header-auth-btn.theme-btn {
    gap: 7px !important;
    padding: 3px 3px 3px 10px !important;
  }

  .header-area-1 .ptg-header-inst-btn .text,
  .header-area-1 .ptg-header-auth-btn .text {
    font-size: 12px !important;
  }

  .header-area-1 .ptg-header-inst-btn .icon,
  .header-area-1 .ptg-header-auth-btn .icon {
    width: 34px;
    height: 34px;
  }
}

.header-area-1 .ptg-header-auth-btn.theme-btn:hover .icon svg path,
.header-area-1 .ptg-header-auth-btn.theme-btn:focus-visible .icon svg path {
  fill: #14213D !important;
}

.header-area-1 .ptg-header-inst-btn.theme-btn .icon {
  position: relative;
  z-index: 2;
  visibility: visible !important;
  opacity: 1 !important;
}

.header-area-1 .ptg-header-inst-btn.theme-btn .icon svg,
.header-area-1 .ptg-header-inst-btn.theme-btn .icon svg path {
  visibility: visible !important;
  opacity: 1 !important;
}

.header-area-1 .ptg-header-inst-btn.theme-btn:hover .icon svg path,
.header-area-1 .ptg-header-inst-btn.theme-btn:focus-visible .icon svg path {
  fill: #14213D !important;
}

.header-area-1 .ptg-header-inst-btn.theme-btn .text,
.header-area-1 .ptg-header-auth-btn.theme-btn .text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: nowrap;
}

.header-area-1 .ptg-header-auth-btn.theme-btn .text a {
  display: inline-block;
  min-width: max-content;
  color: #fff !important;
  font-size: inherit !important;
  line-height: 1;
  visibility: visible !important;
  opacity: 1 !important;
}

.header-area-1 .ptg-header-auth-btn.theme-btn .icon {
  position: relative;
  z-index: 2;
  visibility: visible !important;
  opacity: 1 !important;
}

.header-area-1 .ptg-header-auth-btn.theme-btn .icon svg,
.header-area-1 .ptg-header-auth-btn.theme-btn .icon svg path {
  visibility: visible !important;
  opacity: 1 !important;
}

.header-area-1 .ptg-header-auth-btn.theme-btn:hover .icon svg path,
.header-area-1 .ptg-header-auth-btn.theme-btn:focus-visible .icon svg path {
  fill: #14213D !important;
}