/* NeWIC shared chrome — nav, footer, inner-page theme (matches Utama / Contoh 6) */
:root {
  --navy: #002060;
  --navy-mid: #0a2a4a;
  --navy-deep: #04111f;
  --blue: #0070c0;
  --blue-bright: #0070c0;
  --ink: #002060;
  --muted: #3a5470;
  --line: #cfdced;
  --paper: #e8eef6;
  --white: #ffffff;
  --accent: #c00000;
  --accent-deep: #9e0c24;
  --gold: #d4a800;
  --gold-bright: #e8c547;
  --soft: #dce6f2;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
}

body.page-newic,
body.page-light {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(0, 112, 192, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 10%, rgba(212, 168, 0, 0.1), transparent 50%),
    linear-gradient(180deg, #dce6f2 0%, #e8eef6 40%, #f2f6fb 100%);
}

/* —— Header —— */
.q-head {
  position: sticky;
  top: 0;
  z-index: 45;
  overflow: visible;
  padding: 10px 24px 12px;
  background: #002060;
  border-bottom: 3px solid #0070c0;
}
.q-head--flush { top: 0; }
.q-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  align-items: center;
  gap: 8px;
  max-width: 1180px;
  min-height: 88px;
  margin: 0 auto;
}
.q-nav-side {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.q-nav-side > a,
.q-nav-drop-btn {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 104px;
  padding: 6px 4px;
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.q-nav-side > a:hover,
.q-nav-side > a.is-current,
.q-nav-drop-btn:hover,
.q-nav-drop-btn.is-current,
.q-nav-drop.is-open .q-nav-drop-btn { color: #d4a800; }
.q-nav-side svg,
.q-nav-drop-btn svg {
  width: 24px;
  height: 24px;
  color: currentColor;
}
.q-nav-side small,
.q-nav-drop-btn small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  color: inherit;
}
.q-nav-drop {
  position: relative;
}
.q-nav-drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 80;
  min-width: 220px;
  max-width: min(260px, calc(100vw - 1.5rem));
  padding: 12px 10px;
  border: 1px solid rgba(212, 168, 0, 0.35);
  border-radius: 14px;
  background: linear-gradient(165deg, #001a4d 0%, #002060 55%, #00308a 100%);
  box-shadow: 0 18px 40px rgba(0, 16, 48, 0.45);
  transform: translateX(-50%);
}
.q-nav-drop-panel--end {
  left: auto;
  right: 0;
  transform: none;
}
.q-nav-drop-panel[hidden] { display: none !important; }
.q-nav-drop-title {
  margin: 0 8px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 168, 0, 0.28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c547;
}
.q-nav-drop-panel a,
.q-nav-drop-panel button.q-nav-drop-link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  color: #eef4fb;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.3;
  cursor: pointer;
}
.q-nav-drop-panel a:hover,
.q-nav-drop-panel a.is-on,
.q-nav-drop-panel button.q-nav-drop-link:hover {
  color: #002060;
  background: #e8c547;
}
.q-nav-drop-panel form {
  margin: 0;
}
.q-nav-drop-logout {
  color: #ffc9c9 !important;
}
.q-nav-drop-panel button.q-nav-drop-logout:hover {
  color: #7f1d1d !important;
  background: #fecaca;
}
.q-locale {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}
.q-locale a { color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.q-locale a.is-on { color: #d4a800; }
.q-crest {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  margin: 0 auto;
  text-decoration: none;
}
.q-crest img {
  display: block;
  width: 100%;
  height: auto;
}

/* —— Footer —— */
.q-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.q-foot {
  display: block;
  padding: 52px 8vw 28px;
  background: #002060;
  border-top: 3px solid #d4a800;
  font-size: 14px;
  color: #eef4fb;
  margin-top: 0;
}
.q-foot-shell {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.q-foot-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.35fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.q-foot .q-label {
  color: #d4a800;
  margin: 0 0 0.9rem;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.q-foot-logo {
  display: block;
  height: 48px;
  width: auto;
  margin: 0 0 0.85rem;
  object-fit: contain;
}
.q-foot-brand p {
  margin: 0;
  max-width: 26ch;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.92rem;
}
.q-foot nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.q-foot nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  border: 0;
  width: fit-content;
}
.q-foot nav a:hover {
  color: #d4a800;
}
.q-foot-col--contact {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.q-foot-col--contact .q-label { margin-bottom: 0.15rem; }
.q-foot-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 0;
}
.q-foot-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 0;
  background: none;
  color: #d4a800;
}
.q-foot-ico svg { width: 16px; height: 16px; display: block; }
.q-foot-row p {
  margin: 0;
  display: grid;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  font-weight: 500;
  font-size: 0.9rem;
}
.q-foot-row p strong {
  color: #fff;
  font-weight: 700;
}
.q-foot-row p span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}
.q-foot-row a {
  color: #ffe08a;
  text-decoration: none;
  font-weight: 700;
  width: fit-content;
}
.q-foot-row a:hover { text-decoration: underline; }
.q-map {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  margin: 0 0 1.5rem;
}
.q-map-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #001030;
}
.q-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.q-map-btn {
  display: inline-flex;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid #d4a800;
  color: #d4a800;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q-map-btn:hover {
  background: #d4a800;
  color: #002060;
}
.q-copy {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(215, 228, 242, 0.85);
  text-align: left;
}

/* —— Inner pages —— */
.page-newic .page-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2.8rem 0 2.5rem;
  margin-bottom: 0;
}
.page-newic .page-banner--center {
  text-align: center;
  padding: 3.2rem 0 2.8rem;
}
.page-newic .page-banner--center .page-banner-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.page-newic .page-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(0, 112, 192, 0.28), transparent 60%),
    linear-gradient(180deg, #001440 0%, #002060 55%, #003060 100%);
}
.page-newic .page-banner-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a800 20%, #d4a800 80%, transparent);
}
.page-newic .page-banner-eyebrow {
  color: #e8c547 !important;
  border-bottom: 2px solid #d4a800;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}
.page-newic .page-banner h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.page-newic .page-banner p {
  color: #ffffff;
  margin: 0.85rem auto 0;
  max-width: 38rem;
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 500;
}

/* —— Maklumat peserta (corporate info pages) —— */
.info-hub {
  background: #fff;
  border-bottom: 2px solid #002060;
}
.info-hub-inner {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 1.2rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}
.info-hub-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #002060;
}
.info-hub-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.info-hub-link {
  --hub-accent: #002060;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 7.8rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid color-mix(in srgb, var(--hub-accent) 55%, #002060);
  border-radius: 12px;
  background: #fff;
  color: #002060;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.info-hub-link--rules { --hub-accent: #c00000; }
.info-hub-link--guidelines { --hub-accent: #0070c0; }
.info-hub-link--programme { --hub-accent: #d4a800; }
.info-hub-link--faq { --hub-accent: #0a8f7a; }
.info-hub-link--contact { --hub-accent: #1f7a4d; }
.info-hub-link--account { --hub-accent: #002060; }
.info-hub-ico {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--hub-accent);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--hub-accent) 35%, transparent);
}
.info-hub-ico svg {
  width: 1rem;
  height: 1rem;
  display: block;
}
.info-hub-link:hover {
  border-color: var(--hub-accent);
  background: color-mix(in srgb, var(--hub-accent) 10%, #fff);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--hub-accent) 18%, transparent);
}
.info-hub-link.is-current {
  background: var(--hub-accent);
  border-color: var(--hub-accent);
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.28);
}
.info-hub-link.is-current .info-hub-ico {
  color: var(--hub-accent);
  background: #fff;
  box-shadow: none;
}

.page-banner-ico {
  --banner-ico: #d4a800;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: var(--banner-ico);
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--banner-ico) 35%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.page-banner-ico svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}
.page-banner-ico--rules { --banner-ico: #c00000; }
.page-banner-ico--guidelines { --banner-ico: #0070c0; }
.page-banner-ico--programme { --banner-ico: #d4a800; }
.page-banner-ico--faq { --banner-ico: #0a8f7a; }
.page-banner-ico--contact { --banner-ico: #1f7a4d; }
.page-banner-ico--account { --banner-ico: #002060; }

.q-nav-drop-link {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  width: auto;
  padding: 9px 12px;
  border-radius: 10px;
  color: #eef4fb;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.q-nav-drop-ico {
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #0070c0;
}
.q-nav-drop-ico svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}
.q-nav-drop-link--rules .q-nav-drop-ico { background: #c00000; }
.q-nav-drop-link--guidelines .q-nav-drop-ico { background: #0070c0; }
.q-nav-drop-link--programme .q-nav-drop-ico { background: #d4a800; color: #002060; }
.q-nav-drop-link--faq .q-nav-drop-ico { background: #0a8f7a; }
.q-nav-drop-link--contact .q-nav-drop-ico { background: #1f7a4d; }
.q-nav-drop-panel a.q-nav-drop-link:hover,
.q-nav-drop-panel a.q-nav-drop-link.is-on {
  color: #002060;
  background: #e8c547;
}
.q-nav-drop-panel a.q-nav-drop-link:hover .q-nav-drop-ico,
.q-nav-drop-panel a.q-nav-drop-link.is-on .q-nav-drop-ico {
  color: #002060;
  background: #fff;
}

.page-info .page-main {
  padding: 0;
  background: #eef2f8;
}
.page-info .inner-page.info-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.page-info .info-page {
  color: #12233f;
}
.info-stack {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
  justify-items: stretch;
}
.info-stack--narrow {
  max-width: 460px;
}
.info-empty {
  margin: 0;
  text-align: center;
  color: #12233f;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 2rem 1rem;
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
}

.info-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.info-rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: 0;
  padding: 1.25rem 1.3rem;
  background: #fff;
  border: 2px solid #002060;
  border-left: 6px solid #d4a800;
  border-radius: 14px;
  box-shadow: none;
}
.info-rules-num {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  background: #002060;
  color: #ffd54a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 8px;
}
.info-rules p {
  margin: 0.15rem 0 0;
  color: #12233f;
  line-height: 1.7;
  font-size: 1.08rem;
  font-weight: 500;
}
.info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.info-guides {
  display: grid;
  gap: 0.75rem;
}
.info-guide {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}
.info-guide:hover {
  border-color: #d4a800;
  background: #fffdf4;
  transform: none;
  box-shadow: none;
}
.info-guide-body strong {
  display: block;
  color: #002060;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.info-guide-body p {
  margin: 0;
  color: #12233f;
  line-height: 1.65;
  font-size: 1.02rem;
  font-weight: 500;
}
.info-guide-cta {
  color: #002060;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: #d4a800;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}

.info-programme {
  display: grid;
  gap: 1.5rem;
}
.info-programme-day {
  display: grid;
  gap: 0.55rem;
}
.info-programme-date {
  margin: 0;
  padding: 0.7rem 1rem;
  background: #002060;
  color: #fff;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.info-programme-rows {
  display: grid;
  gap: 0.55rem;
}
.info-programme-points {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.2rem;
  color: #12233f;
  line-height: 1.5;
}
.info-programme-points li {
  padding-left: 0.15rem;
}

.info-programme-item {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
  box-shadow: none;
}
.info-programme-when {
  display: grid;
  gap: 0.25rem;
  padding-right: 1rem;
  border-right: 3px solid #d4a800;
}
.info-programme-when strong {
  color: #002060;
  font-size: 1.02rem;
  font-weight: 800;
}
.info-programme-when span {
  color: #005a9e;
  font-size: 0.92rem;
  font-weight: 800;
}
.info-programme-body h3 {
  margin: 0 0 0.4rem;
  color: #002060;
  font-size: 1.18rem;
  font-weight: 800;
}
.info-programme-body p {
  margin: 0;
  color: #12233f;
  line-height: 1.65;
  font-size: 1.02rem;
  font-weight: 500;
}

.info-faq {
  display: grid;
  gap: 0.65rem;
}
.info-faq-item {
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
}
.info-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  color: #002060;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.45;
  position: relative;
  padding-right: 2.6rem;
}
.info-faq-item summary::-webkit-details-marker { display: none; }
.info-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #d4a800;
  font-weight: 800;
  font-size: 1.25rem;
}
.info-faq-item[open] summary::after { content: "–"; }
.info-faq-item[open] summary {
  background: #002060;
  color: #fff;
}
.info-faq-item[open] summary::after { color: #ffd54a; }
.info-faq-answer {
  padding: 1.1rem 1.25rem 1.3rem;
  color: #12233f;
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 500;
  background: #fff;
  border-top: 2px solid #002060;
}

.info-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-contact-card {
  background: #fff;
  border: 2px solid #002060;
  border-top: 6px solid #d4a800;
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: none;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}
.info-card-label {
  margin: 0 0 0.35rem;
  color: #002060;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.info-contact-card p {
  margin: 0;
  display: grid;
  gap: 0.2rem;
  color: #12233f;
  line-height: 1.5;
  font-size: 1.02rem;
  font-weight: 500;
}
.info-contact-card strong {
  color: #002060;
  font-size: 0.92rem;
  font-weight: 800;
}
.info-contact-card a {
  color: #005a9e;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
  font-size: 1.05rem;
}
.info-contact-card a:hover { text-decoration: underline; }
.info-contact-name {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: #002060 !important;
}
.info-contact-card .btn {
  margin-top: 0.55rem;
  justify-self: start;
}
.info-secretariat {
  gap: 0.85rem;
}
.info-secretariat-org {
  color: #4a5b74;
  font-weight: 600;
  font-size: 0.95rem;
}
.info-officers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.2rem;
}
.officer-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem 1.1rem;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 32, 96, 0.05);
}
.officer-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.officer-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: #002060;
  color: #fff;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.officer-name {
  display: block !important;
  margin: 0;
  color: #002060;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.32;
}
.officer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f8;
}
.officer-links a {
  width: auto !important;
  text-decoration: none;
}
.officer-tel {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  color: #005a9e !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
}
.officer-tel svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.officer-wa {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  background: #e8f6ee;
  color: #14663f !important;
  border: 1px solid #bfe3d0;
  border-radius: 999px;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}
.officer-wa:hover {
  background: #d8efe2;
  text-decoration: none !important;
}
.officer-wa svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.info-contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #002060;
  box-shadow: none;
}
.info-contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.info-auth {
  width: 100%;
  padding: 1.55rem 1.45rem 1.6rem;
  background: #fff;
  border: 2px solid #002060;
  border-top: 6px solid #d4a800;
  border-radius: 14px;
  box-shadow: none;
  text-align: center;
}
.info-auth .form-row {
  justify-items: stretch;
  text-align: center;
}
.info-auth .form-row.two {
  grid-template-columns: 1fr;
}
.info-auth label {
  color: #002060;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}
.info-auth input,
.info-auth select,
.info-auth textarea {
  border-radius: 10px;
  border: 2px solid #002060;
  color: #12233f;
  font-size: 1.02rem;
  font-weight: 500;
  text-align: center;
}
.info-auth .btn {
  width: 100%;
  background: #d4a800;
  color: #002060;
  font-weight: 800;
  border: 0;
  border-radius: 10px;
}
.info-auth .btn:hover {
  background: #0070c0;
  color: #fff;
}
.info-auth .meta {
  text-align: center;
  color: #12233f;
  font-size: 0.98rem;
  font-weight: 600;
}
.info-auth .meta a {
  color: #005a9e;
  font-weight: 800;
}
.info-auth .auth-notice {
  margin: 0 0 1.15rem;
  padding: 0.9rem 0.85rem;
  border-radius: 10px;
  background: #e8f7ef;
  border: 2px solid #1f7a4d;
  color: #0f3d28;
  text-align: center;
}
.info-auth .auth-notice strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b5c38;
}
.info-auth .auth-notice p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.info-auth .auth-notice--error {
  background: #fdecea;
  border-color: #c00000;
  color: #5c1010;
}
.info-auth .auth-notice--error strong {
  color: #c00000;
}
.info-auth .auth-notice--error ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
}
.info-auth .form-hint {
  margin: 0;
  color: #5a6a80;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.page-info .btn,
.page-info .btn-navy,
.page-info .btn-ghost,
.page-info .btn-ghost-dark {
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
}
.page-info .footer-cta {
  text-align: center;
}
.page-info .footer-cta-inner {
  justify-content: center;
  text-align: center;
}
.page-info .footer-cta .btn,
.page-info .footer-cta .btn-ghost {
  border-radius: 10px;
}

.page-newic .content-panel,
.page-newic .auth-panel,
.page-newic .faq-item,
.page-newic .contact-card,
.page-newic .table-panel,
.page-newic .corp-date-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 40px rgba(0, 32, 96, 0.1);
  backdrop-filter: blur(16px);
}

.page-newic .faq-item summary { color: #002060; font-weight: 700; }
.page-newic .faq-item[open] summary { color: #0070c0; }
.page-newic .auth-panel a,
.page-newic .content-panel a { color: #0070c0; }

.page-newic .btn,
.page-newic .btn-navy {
  background: #d4a800;
  color: #002060;
  border: none;
  font-weight: 800;
}
.page-newic .btn:hover,
.page-newic .btn-navy:hover {
  background: #0070c0;
  color: #fff;
}
.page-newic .btn-ghost,
.page-newic .btn-ghost-dark {
  background: transparent;
  color: #002060;
  border: 2px solid #002060;
}
.page-newic .btn-ghost:hover,
.page-newic .btn-ghost-dark:hover {
  background: #002060;
  color: #fff;
}

.page-newic .footer-cta {
  background:
    radial-gradient(ellipse 45% 80% at 85% 30%, rgba(212, 168, 0, 0.18), transparent 55%),
    linear-gradient(120deg, #001440, #002060 60%, #003a7a);
  border-bottom: 3px solid #d4a800;
}
.page-newic .footer-cta .btn:not(.btn-ghost) {
  background: #d4a800;
  color: #002060;
}
.page-newic .footer-cta .btn-ghost {
  background: transparent;
  border: 2px solid #d4a800;
  color: #fff;
}
.page-newic .footer-cta .btn-ghost:hover {
  background: #d4a800;
  color: #002060;
}

.page-newic .corp-table thead th {
  background: #002060;
}
.page-newic .guide-card,
.page-newic .programme-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(0, 32, 96, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 32, 96, 0.08);
}
.page-newic .guide-card:hover,
.page-newic .programme-item:hover {
  border-color: #d4a800;
  box-shadow: 0 18px 40px rgba(0, 32, 96, 0.12);
}
.page-newic .guide-card strong,
.page-newic .programme-body strong,
.page-newic .programme-when strong {
  color: #002060;
}
.page-newic .form-row input,
.page-newic .form-row select,
.page-newic .form-row textarea {
  border: 1px solid rgba(0, 32, 96, 0.22);
  border-radius: 10px;
}
.page-newic .form-row input:focus,
.page-newic .form-row select:focus,
.page-newic .form-row textarea:focus {
  outline: 2px solid #d4a800;
  border-color: #d4a800;
}

.page-newic .page-main {
  min-height: 40vh;
  padding-bottom: 2.5rem;
}

.q-faq-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.q-faq-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: #002060;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #d4a800;
}
.q-faq-more a:hover {
  background: #d4a800;
  color: #002060;
}

/* —— Gallery (NeWIC premium) —— */
.gallery-arena--newic {
  position: relative;
  margin: 0;
  padding: clamp(1.6rem, 4vw, 2.8rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 42% at 8% 12%, rgba(0, 112, 192, 0.28), transparent 58%),
    radial-gradient(ellipse 42% 38% at 92% 78%, rgba(212, 168, 0, 0.2), transparent 55%),
    linear-gradient(180deg, #001440 0%, #002060 42%, #0a2a4a 100%);
  color: #fff;
}
.gallery-arena--newic .gallery-aura {
  background:
    conic-gradient(from 200deg at 50% 50%,
      rgba(0, 112, 192, 0.14), transparent 28%,
      rgba(212, 168, 0, 0.12), transparent 58%,
      rgba(0, 112, 192, 0.1), transparent);
  opacity: 0.85;
}
.gallery-grid-glow {
  position: absolute;
  inset: 8% 6% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 0, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}
.gallery-arena--newic .gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, 17vw);
  gap: 1rem;
  margin-top: 0.4rem;
  position: relative;
  z-index: 2;
}
.gallery-arena--newic .gallery-tile {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #001030;
  grid-column: span 4;
  grid-row: span 2;
  isolation: isolate;
  box-shadow:
    0 20px 44px rgba(0, 16, 48, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.5s ease;
}
.gallery-arena--newic .gallery-tile--hero {
  grid-column: span 8;
  grid-row: span 3;
}
.gallery-arena--newic .gallery-tile--wide {
  grid-column: span 8;
  grid-row: span 2;
}
.gallery-arena--newic .gallery-tile--tall {
  grid-column: span 4;
  grid-row: span 3;
}
.gallery-arena--newic .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: saturate(1.05) contrast(1.04);
  will-change: transform;
}
.gallery-tile-frame {
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-tile-frame i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #d4a800;
  border-style: solid;
}
.gallery-tile-frame i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.gallery-tile-frame i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.gallery-tile-frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.gallery-tile-frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.gallery-tile-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #002060;
  background: #d4a800;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.gallery-arena--newic .gallery-tile-shade {
  background:
    linear-gradient(180deg, rgba(0, 20, 64, 0.05) 20%, rgba(0, 20, 64, 0.55) 68%, rgba(0, 16, 48, 0.92) 100%);
}
.gallery-tile-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, transparent 38%, transparent 62%, rgba(212, 168, 0, 0.12) 100%);
  opacity: 0.55;
  mix-blend-mode: soft-light;
  transition: opacity 0.4s ease;
}
.gallery-arena--newic .gallery-tile-meta {
  left: 1rem;
  right: 4.2rem;
  bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 32, 96, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  transform: translateY(10px);
  opacity: 0.92;
}
.gallery-arena--newic .gallery-tile-meta strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.gallery-arena--newic .gallery-tile-meta em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
}
.gallery-tile-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 32, 96, 0.55);
  border: 1px solid rgba(212, 168, 0, 0.65);
  color: #d4a800;
  transform: scale(0.86) translateY(8px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.35s ease, background 0.3s ease;
}
.gallery-tile-zoom svg { width: 18px; height: 18px; display: block; }

.gallery-arena--newic .gallery-tile:hover,
.gallery-arena--newic .gallery-tile:focus-visible {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(212, 168, 0, 0.7);
  box-shadow:
    0 28px 56px rgba(0, 16, 48, 0.55),
    0 0 0 1px rgba(212, 168, 0, 0.28),
    0 0 40px rgba(0, 112, 192, 0.18);
  outline: none;
}
.gallery-arena--newic .gallery-tile:hover img,
.gallery-arena--newic .gallery-tile:focus-visible img {
  transform: scale(1.14);
  filter: saturate(1.12) contrast(1.06);
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-frame,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-frame,
.gallery-arena--newic .gallery-tile:hover .gallery-tile-zoom,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-zoom {
  opacity: 1;
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-zoom,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-zoom {
  transform: scale(1) translateY(0);
  background: #d4a800;
  color: #002060;
  border-color: #d4a800;
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-meta,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-meta {
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(212, 168, 0, 0.45);
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-shine,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-shine {
  opacity: 0.9;
}

.gallery-arena--newic .gallery-lightbox {
  background: rgba(0, 16, 48, 0.9);
}
.gallery-arena--newic .gallery-lightbox-figure img {
  border: 1px solid rgba(212, 168, 0, 0.45);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.gallery-arena--newic .gallery-lightbox-close,
.gallery-arena--newic .gallery-lightbox-nav {
  border-color: rgba(212, 168, 0, 0.5);
  background: rgba(0, 32, 96, 0.65);
}
.gallery-arena--newic .gallery-lightbox-close:hover,
.gallery-arena--newic .gallery-lightbox-nav:hover {
  background: #d4a800;
  color: #002060;
  border-color: #d4a800;
}
.gallery-empty {
  margin: 3rem auto;
  max-width: 28rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}
.page-gallery .page-banner {
  margin-bottom: 0;
}
.page-gallery .footer-cta {
  margin-top: 0;
}

@media (max-width: 900px) {
  .q-head { top: 0; padding: 6px 6px 8px; }
  .q-head--flush { top: 0; }
  .q-nav { grid-template-columns: 1fr; min-height: 0; }
  .q-nav-side { flex-wrap: nowrap; justify-content: space-around; gap: 0; }
  .q-nav-side > a,
  .q-nav-drop-btn { width: 52px; padding: 4px 0; gap: 3px; }
  .q-nav-side svg,
  .q-nav-drop-btn svg { width: 18px; height: 18px; }
  .q-nav-side small,
  .q-nav-drop-btn small { font-size: 8px; letter-spacing: 0.02em; }
  .q-nav-drop {
    position: relative;
  }
  .q-nav-drop-panel {
    left: 0;
    right: auto;
    top: calc(100% + 8px);
    width: min(240px, calc(100vw - 1.25rem));
    min-width: 0;
    padding: 10px 8px;
    transform: none;
    z-index: 60;
  }
  .q-nav-drop-panel--end {
    left: auto;
    right: 0;
  }
  .q-nav-drop-title {
    margin: 0 6px 6px;
    font-size: 9px;
  }
  .q-nav-drop-link {
    padding: 8px 10px;
    font-size: 12px;
  }
  .q-crest { width: 118px; margin: 0 auto 4px; order: -1; }

  .q-foot-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
  .q-foot-brand { grid-column: 1 / -1; }
  .q-foot-col--contact { grid-column: 1 / -1; }
  .info-programme-item { grid-template-columns: 1fr; gap: 0.7rem; }
  .info-programme-when {
    border-right: 0;
    border-bottom: 2px solid #d4a800;
    padding-right: 0;
    padding-bottom: 0.65rem;
  }
  .info-contact { grid-template-columns: 1fr; }
  .info-officers { grid-template-columns: 1fr; }
  .info-guide { grid-template-columns: 1fr; gap: 0.7rem; }

  .gallery-arena--newic .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, 42vw);
    gap: 0.75rem;
  }
  .gallery-arena--newic .gallery-tile,
  .gallery-arena--newic .gallery-tile--hero,
  .gallery-arena--newic .gallery-tile--wide,
  .gallery-arena--newic .gallery-tile--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-arena--newic .gallery-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-tile-meta { right: 1rem; }
  .gallery-tile-zoom { display: none; }
}

@media (max-width: 560px) {
  .q-foot-inner { grid-template-columns: 1fr; }
  .q-foot-brand,
  .q-foot-col--contact { grid-column: auto; }
  .gallery-arena--newic .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(210px, 58vw);
  }
  .gallery-arena--newic .gallery-tile--hero {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* —— Participant portal —— */
.page-portal {
  --portal-bottom-nav-h: 0px;
}

.page-portal .page-main { padding: 0; }
.page-portal .footer-cta { display: none; }
.portal {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 70vh;
  background: #f4f7fb;
}
.portal-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 0.95rem 1.2rem;
  background: #001a4d;
  color: #eef4fb;
  border-right: 3px solid #d4a800;
}
.portal-id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 197, 71, 0.28);
}
.portal-id-mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #d4a800;
  color: #001a4d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.portal-id-copy {
  min-width: 0;
}
.portal-id p,
.portal-contact p,
.portal-nav-label {
  margin: 0 0 0.28rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c547;
}
.portal-id strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.2;
  word-break: break-word;
}
.portal-id small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  line-height: 1.3;
}
.portal-nav {
  display: grid;
  gap: 0.35rem;
}
.portal-nav-label {
  margin: 0.15rem 0.2rem 0.2rem;
}
.portal-nav a {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: #eef4fb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid transparent;
  position: relative;
}
.portal-nav a svg {
  width: 1.2rem;
  height: 1.2rem;
}
.portal-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.portal-nav a.is-on {
  background: rgba(232, 197, 71, 0.16);
  border-color: rgba(212, 168, 0, 0.5);
  color: #e8c547;
}
.portal-nav a.is-on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #d4a800;
}
.portal-contact {
  margin-top: auto;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  gap: 0.18rem;
}
.portal-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.portal-contact strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.portal-contact span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}
.portal-contact a:hover { color: #e8c547; }
.portal-contact-wa {
  margin-top: 0.2rem;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.18);
  color: #86efac !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.portal-logout button {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.portal-logout button:hover {
  border-color: #d4a800;
  color: #e8c547;
}
.back-row {
  margin: 0.35rem 0 0.15rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #002060;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  padding: 0.25rem 0;
}
.back-link:hover {
  color: #0070c0;
}
.portal-main {
  padding: 1.6rem 1.8rem 2.4rem;
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.portal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.portal-head h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.7rem;
  color: #002060;
}
.portal-head p { margin: 0; color: #4a6078; }
.portal-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0070c0;
}
.portal-head-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.portal-card {
  background: #fff;
  border: 1px solid rgba(0,32,96,0.1);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 32, 96, 0.05);
}
.portal-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  color: #002060;
}
.portal-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.portal-card-head h2 { margin: 0; }
.portal-card-head a {
  font-size: 13px;
  font-weight: 700;
  color: #0070c0;
  text-decoration: none;
}
.portal-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.portal-status-item {
  padding: 1.15rem 1rem 1.05rem;
  border: 1px solid rgba(0, 32, 96, 0.12);
  border-radius: 16px;
  background: #fff;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.4rem;
  box-shadow: 0 6px 18px rgba(0, 32, 96, 0.05);
}
.portal-status-item strong {
  color: #002060;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  word-break: break-word;
}
.portal-status-item p { margin: 0; font-size: 13px; color: #1e3a5f; }
.portal-status-item small { color: #5a7088; }
.status-stamp-wrap {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  background: transparent;
}
.status-stamp-wrap--inline {
  width: 148px;
  height: 148px;
}
.status-stamp {
  display: block;
  max-width: 168px;
  max-height: 168px;
  width: auto;
  height: auto;
  margin: 0 auto;
  background: transparent;
  mix-blend-mode: normal;
  filter: drop-shadow(0 4px 8px rgba(0, 32, 96, 0.12));
}
.status-stamp--sm {
  max-width: 148px;
  max-height: 148px;
  margin: 0 auto;
}
.letter-downloads {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}
.letter-downloads p {
  margin: 0;
  font-weight: 800;
  color: #002060;
}

.portal-project-cards {
  display: none;
}
.portal-project-card {
  border: 1px solid rgba(0, 32, 96, 0.12);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: #f8fbff;
  display: grid;
  gap: 0.55rem;
}
.portal-project-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}
.portal-project-card-head strong {
  color: #002060;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.portal-project-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #002060;
}
.portal-project-card-meta {
  margin: 0;
  color: #5a7088;
  font-size: 0.88rem;
}
.portal-project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.35rem;
}
.portal-project-card-actions .btn,
.portal-project-card-actions .btn-ghost-dark {
  flex: 1 1 auto;
  min-height: 44px;
  justify-content: center;
  text-align: center;
}

.portal-pager {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 32, 96, 0.1);
}
.portal-pager-meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a7088;
}
.portal-pager-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.portal-pager-btn,
.portal-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 32, 96, 0.16);
  background: #fff;
  color: #002060;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.portal-pager-btn.is-on,
.portal-pager-num.is-on {
  background: #002060;
  border-color: #002060;
  color: #fff;
}
.portal-pager-btn.is-off {
  opacity: 0.4;
  cursor: not-allowed;
}
.portal-pager-gap {
  color: #5a7088;
  padding: 0 0.15rem;
}

.tag--draf { background: #eef2f7; color: #334155; }
.tag--dihantar { background: #fff4d6; color: #8a6d00; }
.tag--diluluskan, .tag--hadir, .tag--selesai { background: #e4f6ea; color: #166534; }
.tag--ditolak, .tag--tidak_hadir { background: #fde8e8; color: #b42318; }
.tag--diproses { background: #e8f1ff; color: #1d4ed8; }
.tag--menunggu_juri { background: #e8f1ff; color: #1d4ed8; }
.tag--perlu_kemas_kini { background: #ffe8d1; color: #b45309; }
.tag--tidak_terpilih { background: #fde8e8; color: #b42318; }
.portal-status-item .tag,
.portal-project-card .tag,
.portal-project-table .tag { white-space: nowrap; }
/* Kad dalam baris yang sama diregang ke tinggi kad tertinggi (cth. kad berstem); jangan biar tag ikut meregang. */
.portal-status-item { align-content: center; }
.portal-status-item .tag { align-self: start; justify-self: center; }
.portal-project-table .corp-table { width: 100%; }
.portal-project-table .corp-table th,
.portal-project-table .corp-table td { vertical-align: middle; }
.portal-project-table .corp-table tbody tr:nth-child(even) td { background: #f7f9fc; }
.portal-project-table .corp-table tbody tr:hover td { background: #edf3fb; }
/* Garisan grid seperti jadual */
.portal-project-table .corp-table { border-collapse: collapse; }
.portal-project-table .corp-table tbody td { border-top: 1px solid rgba(0, 32, 96, 0.16); }
.portal-project-table .corp-table tbody td + td { border-left: 1px solid rgba(0, 32, 96, 0.16); }
.portal-project-table .corp-table thead th + th { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.portal-project-table .col-project { width: auto; }
.portal-project-table .project-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #002060;
  font-weight: 700;
  line-height: 1.35;
}
.portal-project-table .project-ref {
  display: block;
  margin-top: 0.2rem;
  color: #5a7088;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.portal-project-table .col-category { width: 9.5rem; }
.portal-project-table .col-status { width: 1%; white-space: nowrap; text-align: center; }
.portal-project-table .col-status .tag { min-width: 9.75rem; text-align: center; }
.portal-project-table .col-actions { width: 1%; white-space: nowrap; text-align: center; }
.portal-project-table .table-actions { justify-content: center; gap: 0.45rem; }
.portal-project-table .corp-table thead th { text-align: center; }
.portal-project-table .btn-mini {
  display: inline-block;
  padding: 0.36rem 0.9rem;
  border: 1.5px solid #002060;
  border-radius: 999px;
  background: #fff;
  color: #002060;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.portal-project-table .btn-mini:hover { background: #002060; color: #fff; }
.portal-project-table .btn-mini--solid { background: #002060; color: #fff; }
.portal-project-table .btn-mini--solid:hover { background: #0070c0; border-color: #0070c0; }
.portal-poster-guide {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(212, 168, 0, 0.55);
  border-radius: 12px;
  background: #fffaf0;
  color: #002060;
}
.portal-poster-guide h3 { margin: 0 0 0.45rem; font-size: 0.95rem; }
.portal-poster-guide ol { margin: 0; padding-left: 1.25rem; font-size: 0.9rem; line-height: 1.6; }
.portal-project-table .btn-mini--gold,
.portal-project-card-actions .btn-gold { background: #d4a800; border-color: #d4a800; color: #002060; }
.portal-project-table .btn-mini--gold:hover,
.portal-project-card-actions .btn-gold:hover { background: #e8c547; border-color: #e8c547; color: #002060; }
.btn-text {
  background: none;
  border: 0;
  color: #b42318;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
}

.dossier {
  display: grid;
  border: 1px solid rgba(0, 32, 96, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.dossier-row {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.82rem 1.05rem;
  border-bottom: 1px solid rgba(0, 32, 96, 0.08);
  align-items: start;
  background: #fff;
}
.dossier-row:nth-child(odd) { background: #f7f9fc; }
.dossier-row:last-child { border-bottom: 0; }
.dossier-row dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7088;
  padding-top: 0.12rem;
}
.dossier-row dd {
  margin: 0;
  color: #002060;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
}
.dossier-abstract {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid #d4a800;
  background: #f8fbff;
  border-radius: 0 12px 12px 0;
}
.dossier-abstract h3 {
  margin: 0 0 0.4rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0070c0;
}
.dossier-abstract p {
  margin: 0;
  color: #24364a;
  line-height: 1.65;
  white-space: pre-wrap;
}

.roster-group + .roster-group {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 32, 96, 0.1);
}
.roster-group h3 {
  margin: 0 0 0.7rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0070c0;
}
.roster-list {
  display: grid;
  gap: 0.65rem;
}
.roster-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(0, 32, 96, 0.1);
  border-radius: 12px;
  background: #f8fbff;
}
.roster-item--mentor {
  background: #fffaf0;
  border-color: rgba(212, 168, 0, 0.38);
}
.roster-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #002060;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.roster-item--mentor .roster-avatar {
  background: #d4a800;
  color: #002060;
}
.roster-name {
  margin: 0;
  font-size: 1.02rem;
  color: #002060;
  font-weight: 700;
}
.roster-meta {
  margin: 0.28rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  color: #4a6078;
  font-size: 0.84rem;
}
.roster-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #e8f1ff;
  color: #002060;
}
.roster-badge--leader {
  background: #002060;
  color: #fff;
}
.roster-badge--mentor {
  background: #d4a800;
  color: #002060;
}
.roster-contacts {
  display: grid;
  gap: 0.18rem;
  text-align: right;
  font-size: 0.84rem;
  color: #4a6078;
  line-height: 1.4;
}
.roster-empty {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(0, 32, 96, 0.22);
  border-radius: 12px;
  color: #5a7088;
  font-size: 0.9rem;
  background: #fbfcfe;
}

.portal-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .page-portal {
    --portal-bottom-nav-h: 3.75rem;
  }

  .page-portal .back-row {
    display: none;
  }

  .page-portal .portal-side {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-bottom: 2px solid #d4a800;
  }

  .page-portal .portal-id {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .page-portal .portal-id p,
  .page-portal .portal-id-mark,
  .page-portal .portal-nav-label {
    display: none;
  }

  .page-portal .portal-id strong {
    font-size: 0.95rem;
  }

  .page-portal .portal-id small {
    display: none;
  }

  .portal { grid-template-columns: 1fr; }
  .portal-side {
    border-right: 0;
    border-bottom: 3px solid #d4a800;
  }
  .portal-main {
    padding: 0.85rem 0.85rem calc(var(--portal-bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.35rem);
    min-width: 0;
    overflow-x: clip;
  }
  .portal-head {
    flex-direction: column;
    align-items: stretch;
  }
  .portal-head .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .page-portal .portal-head .btn-ghost-dark {
    display: none;
  }
  .portal-status-grid {
    grid-template-columns: 1fr;
  }
  .portal-project-cards {
    display: grid;
    gap: 0.75rem;
  }
  .portal-project-table {
    display: none;
  }
  .dossier-row {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }
  .roster-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .roster-contacts {
    grid-column: 2;
    text-align: left;
  }

  .page-portal .q-foot {
    display: none;
  }

  .portal-side .portal-nav,
  .portal-side .portal-contact {
    display: none;
  }

  .page-portal .portal-id {
    flex: 1;
    min-width: 0;
  }

  .page-portal .portal-logout {
    flex-shrink: 0;
  }

  .page-portal .portal-logout button {
    width: auto;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }

  .portal-bottom-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: #002060;
    border-top: 3px solid #d4a800;
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 32, 96, 0.18);
  }

  .portal-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 52px;
    padding: 0.25rem 0.15rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
  }

  .portal-bottom-nav a svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .portal-bottom-nav a.is-on,
  .portal-bottom-nav a:hover {
    color: #e8c547;
  }

  .portal-bottom-logout {
    margin: 0;
  }

  .portal-bottom-logout button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    min-height: 52px;
    padding: 0.25rem 0.15rem;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
  }

  .portal-bottom-logout svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .portal-bottom-logout button:hover {
    color: #fecaca;
  }
}

/* —— Category showcase —— */
.page-category .page-main {
  padding: 0;
  background: transparent;
}
.page-category .cat-stage {
  padding: 2.6rem 0 3.5rem;
}
.cat-hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.cat-hero-photo,
.cat-hero-veil,
.cat-hero-frame {
  position: absolute;
  inset: 0;
}
.cat-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08) brightness(0.58);
}
.cat-hero-veil {
  background:
    radial-gradient(ellipse 55% 70% at 82% 50%, rgba(212, 168, 0, 0.16), transparent 58%),
    linear-gradient(90deg, rgba(4, 17, 31, 0.88) 0%, rgba(4, 17, 31, 0.62) 46%, rgba(4, 17, 31, 0.42) 100%);
}
.cat-hero-frame i {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(232, 197, 71, 0.7);
  pointer-events: none;
}
.cat-hero-frame i:nth-child(1) { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.cat-hero-frame i:nth-child(2) { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.cat-hero-frame i:nth-child(3) { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.cat-hero-frame i:nth-child(4) { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.cat-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.2rem;
  align-items: center;
  padding: 4.6rem 0 4.2rem;
}
.cat-hero-copy {
  max-width: 36rem;
}
.cat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8c547;
}
.cat-kicker em {
  font-style: normal;
  color: #fff;
  border: 1px solid rgba(232, 197, 71, 0.55);
  background: rgba(212, 168, 0, 0.16);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  letter-spacing: 0.12em;
}
.cat-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.cat-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.cat-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}
.cat-chip.is-live {
  border-color: rgba(80, 210, 140, 0.55);
  background: rgba(40, 140, 90, 0.28);
}
.cat-chip.is-off {
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 0.75;
}
.cat-hero-cta { margin-top: 1.45rem; }
.cat-hero-ghost {
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
}
.cat-hero-ghost:hover {
  background: #fff !important;
  color: #002060 !important;
}
.cat-hero .btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.cat-dossier {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.35rem 1.4rem 0.55rem;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 42%, rgba(0, 32, 96, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 28px 60px rgba(0, 8, 28, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
}
.cat-dossier::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -48px;
  top: -62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.38), rgba(232, 197, 71, 0.08) 46%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cat-dossier::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  left: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 192, 0.35), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.cat-dossier-sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.08) 18%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%);
}
.cat-dossier-kicker,
.cat-dossier ul {
  position: relative;
  z-index: 1;
}
.cat-dossier-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8c547;
}
.cat-dossier ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-dossier li {
  padding: 1.05rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.cat-dossier li span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.cat-dossier strong {
  display: block;
  margin-top: 0.32rem;
  font-family: var(--display);
  font-size: 1.72rem;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}
.cat-dossier strong small {
  display: inline;
  margin-left: 0.35rem;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.cat-dossier em {
  display: block;
  margin-top: 0.32rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.45;
}
.cat-meter {
  display: block;
  margin-top: 0.75rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.cat-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b88800, #e8c547 55%, #ffe38a);
  box-shadow: 0 0 12px rgba(232, 197, 71, 0.65);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cat-dossier {
    background: rgba(8, 24, 52, 0.86);
  }
}
.cat-path { margin-top: 0; }
.cat-more { margin-top: 2.8rem; }
.cat-path-head { margin-bottom: 1.25rem; }
.cat-path-head h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #002060;
}
.cat-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cat-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.2rem 1.15rem;
  border-radius: 20px;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(0, 32, 96, 0.08);
}
.cat-steps li:nth-child(1) {
  background: #fff3cc;
  border-color: #d4a800;
}
.cat-steps li:nth-child(2) {
  background: #d7ebf8;
  border-color: #0070c0;
}
.cat-steps li:nth-child(3) {
  background: #d9e2f2;
  border-color: #002060;
}
.cat-steps b {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
}
.cat-steps li:nth-child(1) b { background: #d4a800; color: #002060; }
.cat-steps li:nth-child(2) b { background: #0070c0; }
.cat-steps li:nth-child(3) b { background: #002060; }
.cat-steps strong {
  display: block;
  color: #002060;
  font-size: 1.02rem;
}
.cat-steps p {
  margin: 0.35rem 0 0;
  color: #3a5470;
  font-size: 0.92rem;
  line-height: 1.5;
}
.cat-path-cta { margin-top: 1.4rem; }
.cat-more-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}
.cat-more-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #04111f;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(6, 26, 46, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cat-more-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 197, 71, 0.5);
}
.cat-more-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cat-more-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.86);
  transition: transform 0.5s ease;
}
.cat-more-card:hover img { transform: scale(1.05); }
.cat-more-media em {
  position: absolute;
  left: 0.7rem;
  bottom: 0.65rem;
  z-index: 1;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #e8c547;
}
.cat-more-body {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem 1rem;
  background: linear-gradient(180deg, #0a2a4a, #04111f);
}
.cat-more-body strong { font-size: 0.92rem; line-height: 1.25; }
.cat-more-body small { color: rgba(255, 255, 255, 0.72); font-size: 0.78rem; }

@media (max-width: 980px) {
  .cat-hero-grid,
  .cat-steps,
  .cat-more-grid {
    grid-template-columns: 1fr;
  }
  .cat-hero { min-height: 0; align-items: stretch; }
  .cat-hero-grid { padding: 3.2rem 0 2.2rem; gap: 1.4rem; }
  .cat-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cat-hero-frame i { display: none; }
  .cat-dossier strong { font-size: 1.45rem; }
}

/* Borang pendaftaran — dossier, tersusun */
.page-portal .portal-card--dossier {
  background: #f7f3ea;
  border: 1px solid #d4c7ae;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.1);
  padding: 0;
  overflow: visible;
}

.page-portal .form-steps-note {
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #e4d8c2;
  border-radius: 10px 10px 0 0;
  background: #fffdf8;
  color: #3d4f6a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-portal .form-steps--rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0.85rem 0.65rem 0.9rem;
  background: #0b1f3a;
  border-bottom: 0;
}

.page-portal .form-steps--rail .wizard-mobile-progress {
  display: none;
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  padding: 0 0.5rem;
  color: #e8d7a3;
  background: transparent;
  font-size: 0.8rem;
  text-align: center;
}

.page-portal .form-steps--rail .form-step {
  position: relative;
  min-height: 0;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
}

.page-portal .form-steps--rail .form-step:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  min-width: 0.6rem;
  height: 1px;
  margin-left: 0.15rem;
  background: rgba(201, 162, 39, 0.38);
}

.page-portal .form-steps--rail .form-step span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-portal .form-steps--rail .form-step em {
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
  background: transparent;
  color: #e8d7a3;
  font-size: 0.72rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
}

.page-portal .form-steps--rail .form-step.is-done {
  color: rgba(255, 255, 255, 0.92);
}

.page-portal .form-steps--rail .form-step.is-done em {
  background: #e8d7a3;
  border-color: #e8d7a3;
  color: #0b1f3a;
}

.page-portal .form-steps--rail .form-step.is-done:not(:last-child)::after {
  background: #c9a227;
}

.page-portal .form-steps--rail .form-step.is-active {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.page-portal .form-steps--rail .form-step.is-active em {
  background: #c9a227;
  border-color: #c9a227;
  color: #0b1f3a;
}

.page-portal .form-steps--rail .form-step:hover {
  color: #fff;
}

.page-portal .form--dossier {
  max-width: none;
  gap: 1.35rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: linear-gradient(90deg, #c9a227 0 5px, transparent 5px);
}

.page-portal .form--dossier .form-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.page-portal .form--dossier .form-section::before {
  display: none;
}

.page-portal .form--dossier .form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 0 0 0.85rem;
  border: 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.55);
  background: transparent;
}

.page-portal .form--dossier .form-section-head > span {
  position: static;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #0b1f3a;
  box-shadow: none;
  color: #c9a227;
  font-size: 0.82rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.page-portal .form--dossier .form-section-head > div {
  min-width: 0;
  flex: 1;
}

.page-portal .form--dossier .form-section-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b1f3a;
  line-height: 1.2;
}

.page-portal .form--dossier .form-section-head p {
  max-width: 38rem;
  margin: 0.28rem 0 0;
  color: #5c4e38;
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-portal .form--dossier .form-section-body {
  padding: 0;
  gap: 1rem;
}

.page-portal .form--dossier .form-cluster {
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid #e0d5c0;
  border-radius: 8px;
  background: #fffdf8;
  gap: 0.9rem;
}

.page-portal .form--dossier .form-cluster legend {
  padding: 0 0.25rem;
  margin: 0 0 0.1rem;
  font-size: 0.68rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6d1f;
}

.page-portal .form--dossier .form-row.two {
  gap: 1.1rem 1.25rem;
}

.page-portal .form--dossier label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #0b1f3a;
}

.page-portal .form--dossier .form-row input,
.page-portal .form--dossier .form-row select,
.page-portal .form--dossier .form-row textarea {
  border: 1px solid #ddd2bc;
  border-radius: 12px;
  background: #fff;
  padding: 0.78rem 0.95rem;
  box-shadow: none;
}

.page-portal .form--dossier .form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230b1f3a' stroke-linecap='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.95rem;
  padding-right: 2.4rem;
}

.page-portal .form--dossier .form-row input:hover,
.page-portal .form--dossier .form-row select:hover,
.page-portal .form--dossier .form-row textarea:hover {
  border-color: #c9b48a;
}

.page-portal .form--dossier .form-row input:focus,
.page-portal .form--dossier .form-row select:focus,
.page-portal .form--dossier .form-row textarea:focus {
  outline: 0;
  border-color: #c9a227;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.page-portal .form--dossier .wizard-subhead {
  padding: 0.15rem 0.15rem 0;
}

.page-portal .form--dossier .member-block {
  border: 1px solid #e0d5c0;
  border-left: 4px solid #0b1f3a;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 1rem 1.05rem;
}

.page-portal .form--dossier .member-block--foldable {
  padding: 0;
}

.page-portal .form--dossier .member-block--mentor {
  border-left-color: #c9a227;
  background: #fffdf7;
}

.page-portal .form--dossier .member-block-summary {
  background: transparent;
  padding: 0.9rem 1.05rem;
}

.page-portal .form--dossier .member-block-body {
  padding: 0 1.05rem 1.05rem;
}

.page-portal .form--dossier .wizard-summary {
  border: 1px solid #e0d5c0;
  border-radius: 8px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.page-portal .form--dossier .check-card {
  align-items: flex-start;
  border: 1px solid #e0d5c0;
  border-left: 4px solid #c9a227;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.page-portal .form--dossier .check-card:has(:checked) {
  background: #fff8e6;
  border-color: #c9a227;
  color: #0b1f3a;
  box-shadow: none;
}

.page-portal .form--dossier .form-actions--wizard {
  margin-top: 0.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #d4c7ae;
}

@media (max-width: 700px) {
  .page-portal .form-steps-note {
    padding: 0.7rem 0.95rem;
    font-size: 0.82rem;
  }

  .page-portal .form-steps--rail {
    padding: 0.7rem 0.4rem 0.85rem;
  }

  .page-portal .form-steps--rail .wizard-mobile-progress {
    display: block;
  }

  .page-portal .form-steps--rail .form-step {
    justify-content: center;
    padding: 0.2rem 0.25rem;
    gap: 0;
  }

  .page-portal .form-steps--rail .form-step span {
    display: none;
  }

  .page-portal .form-steps--rail .form-step:not(:last-child)::after {
    margin-left: 0.35rem;
  }

  .page-portal .form-steps--rail .form-step em {
    font-size: 0.72rem;
  }

  .page-portal .form--dossier {
    padding: 1rem 0.9rem 1.2rem;
    gap: 1.1rem;
  }

  .page-portal .form--dossier .form-cluster,
  .page-portal .form--dossier .member-block {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .page-portal .form--dossier .form-section-head h3 {
    font-size: 1.12rem;
  }

  .page-portal .form--dossier .form-row.two {
    gap: 0.85rem;
  }
}

/* Pautan Tukar Kata Laluan di jalur atas portal (telefon sahaja; desktop guna menu sisi) */
.portal-pass-link {
  display: none;
}

@media (max-width: 900px) {
  .page-portal .portal-pass-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    min-height: 36px;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
  }

  .page-portal .portal-pass-link svg {
    width: 1rem;
    height: 1rem;
  }

  .page-portal .portal-pass-link:hover {
    border-color: #d4a800;
    color: #e8c547;
  }
}

@media (max-width: 360px) {
  .page-portal .portal-pass-link span {
    display: none;
  }
}
