/* Polices hébergées sur le site (plus de requête Google Fonts bloquante) */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #120804;
  --panel: #2a0f05;
  --panel2: #3a1707;
  --orange: #ff8a1f;
  --orange2: #ffb23f;
  --red: #d23c0a;
  --text: #fff4e6;
  --muted: #d9a77a;
  --site-banner: url("../img/banner.jpg");
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  min-height: 100vh;
  overflow-x: hidden;
}
/* Fond fixe : une couche dédiée (fluide au défilement) à la place de "background-attachment: fixed", très coûteux */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(18, 8, 4, 0.78), rgba(18, 8, 4, 0.9)),
    var(--site-banner) center top / cover no-repeat;
  transform: translateZ(0);
}
a {
  color: inherit;
  text-decoration: none;
}
.glow {
  text-shadow: 0 0 18px rgba(255, 138, 31, 0.7);
}

/* NAV */
header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: linear-gradient(#0c0502, #1a0904);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 4px 24px rgba(255, 100, 0, 0.25);
}
.nav {
  width: 100%;
  max-width: none;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.logo-slot {
  width: 48px;
  height: 48px;
  border: 2px dashed var(--orange);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--orange);
  text-align: center;
  overflow: hidden;
}
.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand b {
  font-family: "Bebas Neue";
  font-size: 34px;
  line-height: 0.85;
  color: var(--orange2);
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(255, 138, 31, 0.8);
}
.online {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.2;
  flex: 0 0 auto;
}
.online i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}
.links {
  display: flex;
  gap: 0;
  margin-left: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 0 0 auto;
}
.links a {
  padding: 6px 12px;
  font-weight: 500;
  color: var(--orange2);
  border-left: 1px solid var(--red);
  font-size: 16px;
  transition: 0.2s;
}
.links a:first-child {
  border-left: 0;
}
.links a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--orange);
}
.staff-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font: 500 14px "Oswald";
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.5);
  flex: 0 0 auto;
}
.staff-btn:hover {
  filter: brightness(1.15);
}
.shop-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(255, 138, 31, 0.55);
  background: linear-gradient(120deg, rgba(58, 23, 7, 0.96), rgba(42, 15, 5, 0.84));
  box-shadow: 0 0 28px rgba(255, 100, 0, 0.14);
}
.shop-hero h2 {
  margin-bottom: 10px;
  color: var(--orange2);
  font-family: "Bebas Neue";
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: 1px;
}
.shop-hero p, .shop-note {
  max-width: 680px;
  color: var(--muted);
  text-transform: none;
  font-size: 16px;
}
.shop-cta {
  margin-top: 22px;
  display: inline-flex;
}
.shop-badge {
  flex: 0 0 auto;
  padding: 22px;
  border: 1px solid var(--orange);
  color: var(--orange2);
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
}
.shop-badge small {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}
.shop-features {
  margin-top: 20px;
}
.shop-features h4 {
  padding: 16px 16px 0;
  color: var(--orange2);
  font-size: 20px;
}
.shop-note {
  margin-top: 18px;
}
@media (max-width: 650px) {
  .shop-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .shop-badge {
    width: 100%;
  }
}

@media (max-width: 1450px) {
  .nav {
    gap: 10px;
    padding-inline: 12px;
  }
  .links a {
    padding-inline: 8px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 6px;
    padding-inline: 8px;
  }
  .brand {
    gap: 6px;
  }
  .brand b {
    font-size: 28px;
  }
  .logo-img {
    width: 48px;
    height: 48px;
  }
  .online {
    gap: 5px;
    font-size: 11px;
  }
  .links a {
    padding-inline: 5px;
    font-size: 12px;
  }
  .staff-btn {
    gap: 5px;
    padding-inline: 9px;
    font-size: 12px;
  }
}

/* HERO */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 20px;
  background:
    radial-gradient(
      ellipse at 50% 100%,
      rgba(255, 110, 0, 0.55),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 30%,
      rgba(210, 60, 10, 0.45),
      transparent 55%
    ),
    linear-gradient(#1d0a04, #4a1a06 70%, #a8420c);
}
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 10% 20%, #ffb23f, transparent),
    radial-gradient(2px 2px at 30% 70%, #ff8a1f, transparent),
    radial-gradient(1.5px 1.5px at 55% 35%, #ffd38a, transparent),
    radial-gradient(2px 2px at 75% 60%, #ff8a1f, transparent),
    radial-gradient(1.5px 1.5px at 90% 25%, #ffb23f, transparent),
    radial-gradient(2px 2px at 65% 85%, #ffd38a, transparent);
  background-size: 420px 420px;
  animation: rise 9s linear infinite;
  opacity: 0.8;
}
@keyframes rise {
  to {
    background-position: 0 -420px;
  }
}
.big {
  position: relative;
  font-family: "Bebas Neue";
  font-size: clamp(90px, 15vw, 190px);
  line-height: 0.82;
  background: linear-gradient(#fff, #e8d6c0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
  text-align: left;
}
.big .logo-slot {
  width: 100%;
  height: auto;
  min-height: 60px;
  margin-top: 14px;
  border-radius: 12px;
  padding: 6px;
  font-family: "Oswald";
  font-size: 11px;
  -webkit-text-fill-color: var(--orange);
}
.join {
  position: relative;
  text-align: center;
}
.join-box {
  display: inline-block;
  background: linear-gradient(135deg, #3a1204, #6b240a);
  border: 1px solid rgba(255, 138, 31, 0.5);
  border-radius: 18px;
  padding: 24px 40px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-family: "Bebas Neue";
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1;
  color: #fff;
}
.join-box svg {
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-right: 8px;
  fill: #fff;
}
.tag {
  display: block;
  width: max-content;
  margin: 22px auto 0;
  background: var(--orange);
  color: #3a1204;
  font-weight: 700;
  font-size: 26px;
  padding: 4px 18px;
  letter-spacing: 1px;
}
.join-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.join-links .tag {
  margin: 22px 0 0;
}
.join-links .tag img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  object-fit: contain;
  vertical-align: middle;
}
.tag.dark {
  background: rgba(40, 12, 4, 0.85);
  color: var(--orange2);
  margin-top: 22px;
  font-size: 24px;
}

/* CARDS */
main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 14px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: -30px;
  position: relative;
}
@media (max-width: 800px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 10px;
    overflow: visible;
  }
  .brand {
    min-width: 0;
  }
  .brand b {
    font-size: 26px;
  }
  .online {
    display: none;
  }
  .staff-btn {
    padding: 8px 10px;
    white-space: nowrap;
    font-size: 12px;
  }
  .links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    white-space: normal;
    border-top: 1px solid rgba(255, 138, 31, 0.25);
    padding-top: 6px;
  }
  .links a {
    flex: 1 1 auto;
    min-width: 25%;
    padding: 8px 6px;
    text-align: center;
    font-size: 12px;
    line-height: 1.15;
    border-left: 1px solid var(--red);
  }
  .links a:nth-child(4n + 1) {
    border-left: 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: linear-gradient(var(--panel2), var(--panel));
  border: 1px solid rgba(255, 138, 31, 0.35);
  box-shadow: 0 0 22px rgba(255, 100, 0, 0.18);
}
.card h2 {
  text-align: center;
  font-family: "Oswald";
  font-weight: 700;
  font-size: 26px;
  padding: 16px;
  border-bottom: 1px solid var(--red);
}
.card .body {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 20px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
section.sec {
  margin: 50px 0;
}
section.sec h3 {
  font-family: "Bebas Neue";
  font-size: 44px;
  color: var(--orange2);
  margin-bottom: 14px;
  text-shadow: 0 0 14px rgba(255, 138, 31, 0.5);
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.cards3 .card .body {
  min-height: 120px;
  color: var(--muted);
}
.cards3 .card .body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  white-space: normal;
  text-transform: none;
}
.news-image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-bottom: 1px solid var(--red);
}
.media-preview {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  align-items: stretch !important;
}
.media-embed {
  display: grid;
  gap: 12px;
  width: 100%;
}
.media-embed iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  background: #000;
}
.media-embed .tag {
  justify-self: center;
}
.links a.act {
  color: #fff;
  background: linear-gradient(transparent, rgba(255, 138, 31, 0.25));
  box-shadow: inset 0 -3px var(--orange);
}
.sec {
  min-height: 60vh;
  padding-top: 20px;
}
.pagehead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}
.rules-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.rules-portal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.rule-portal-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  padding: 24px;
  background: linear-gradient(var(--panel2), var(--panel));
  border: 1px solid rgba(255, 138, 31, 0.35);
  box-shadow: 0 0 18px rgba(255, 100, 0, 0.12);
  transition: transform 0.2s, border-color 0.2s;
}
.rule-portal-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}
.rule-portal-card span {
  font-size: 34px;
}
.rule-portal-card strong {
  color: var(--orange2);
  font: 28px "Bebas Neue";
}
.rule-portal-card small {
  color: var(--muted);
  font-size: 14px;
}
.rules-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.rules-subnav a {
  padding: 9px 14px;
  color: var(--text);
  background: rgba(255, 138, 31, 0.1);
  border: 1px solid rgba(255, 138, 31, 0.35);
}
.rules-page {
  display: grid;
  gap: 16px;
}
.rules-page .rule-card {
  margin-bottom: 0;
  scroll-margin-top: 20px;
}
.rules-index a,
.rules-sidebar a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 138, 31, 0.35);
  background: rgba(255, 138, 31, 0.08);
  transition: background 0.2s, border-color 0.2s;
}
.rules-index a {
  padding: 10px 16px;
  font-family: "Oswald";
  font-size: 15px;
}
.rules-index a:hover,
.rules-sidebar a:hover {
  background: rgba(255, 138, 31, 0.22);
  border-color: var(--orange);
}
.rules-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.rules-sidebar {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid rgba(255, 138, 31, 0.25);
}
.rules-sidebar strong {
  color: var(--orange2);
  font-family: "Oswald";
  margin-bottom: 4px;
}
.rules-sidebar a {
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
}
.rules-sidebar a:hover {
  color: var(--text);
  background: transparent;
}
.rule-category {
  scroll-margin-top: 20px;
  margin-bottom: 48px;
  padding: 24px;
  background: rgba(15, 15, 18, 0.62);
  border: 1px solid rgba(255, 138, 31, 0.3);
  border-top: 3px solid var(--orange);
  box-shadow: 0 0 22px rgba(255, 100, 0, 0.08);
}
.rule-category > h4 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  color: var(--orange2);
  font-family: "Bebas Neue";
  font-size: 34px;
  border-bottom: 1px solid var(--red);
}
.category-intro {
  margin: -4px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}
.rule-card {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: linear-gradient(var(--panel2), var(--panel));
  border: 1px solid rgba(255, 138, 31, 0.25);
  box-shadow: 0 0 14px rgba(255, 100, 0, 0.08);
  scroll-margin-top: 20px;
}
.rule-card:last-child {
  margin-bottom: 0;
}
.rule-card h5 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Oswald";
  font-size: 20px;
}
.rule-card ul {
  margin: 0;
  padding-left: 20px;
}
.rule-card li {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.55;
}
.rule-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-style: italic;
}
.rp-glossary {
  display: grid;
  gap: 12px;
  margin: 0;
}
.rp-glossary div {
  padding: 11px 13px;
  background: rgba(255, 138, 31, 0.06);
  border-left: 3px solid var(--orange);
}
.rp-glossary dt {
  color: var(--orange2);
  font-family: "Oswald";
  font-size: 16px;
}
.rp-glossary dd {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.penal-tables {
  display: grid;
  gap: 16px;
}
.penal-tables .rule-card {
  overflow-x: auto;
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sanction-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 13px;
}
.sanction-table th,
.sanction-table td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 138, 31, 0.15);
}
.sanction-table th {
  color: var(--orange2);
  font-family: "Oswald";
  font-weight: 400;
}
.sanction-table td:first-child {
  color: var(--text);
}
.penal-tables table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 13px;
}
.penal-tables th,
.penal-tables td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 138, 31, 0.15);
}
.penal-tables th {
  color: var(--orange2);
  font-family: "Oswald";
  font-weight: 400;
}
@media (max-width: 800px) {
  .rules-portal {
    grid-template-columns: 1fr;
  }
  .rule-portal-card {
    min-height: 140px;
    padding: 18px;
  }
  .rules-layout {
    grid-template-columns: 1fr;
  }
  .rules-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 8px;
    overflow-x: auto;
  }
  .rules-sidebar a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px;
    text-align: center;
    justify-content: center;
  }
  .rules-sidebar strong {
    grid-column: 1 / -1;
  }
}
footer {
  text-align: center;
  padding: 0 0 30px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--red);
  margin-top: 40px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
}
.footer-credit {
  margin: 0;
  text-align: right;
  font-size: 12px;
}
.footer-credit a {
  color: var(--muted);
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: var(--orange2);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

.footer-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 24px;
  object-fit: cover;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 138, 31, 0.45);
  border-radius: 6px;
  background: rgba(255, 138, 31, 0.08);
  color: var(--orange2);
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.footer-links img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  color: currentColor;
  object-fit: contain;
}
.footer-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--bg);
}

/* MODAL + PANEL */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 50;
  padding: 20px;
}
.overlay.on {
  display: grid;
}
.modal {
  background: linear-gradient(var(--panel2), var(--panel));
  border: 1px solid var(--orange);
  box-shadow: 0 0 40px rgba(255, 100, 0, 0.4);
  border-radius: 14px;
  padding: 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.modal h4 {
  font-family: "Bebas Neue";
  font-size: 34px;
  color: var(--orange2);
  margin-bottom: 8px;
}
.modal p {
  font-size: 13px;
  color: var(--muted);
  text-transform: none;
  margin-bottom: 18px;
  line-height: 1.5;
}
.modal .staff-btn {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 16px;
}
.ghost {
  background: none;
  border: 1px solid var(--red);
  color: var(--orange2);
  margin-top: 10px;
  box-shadow: none;
}
#panel {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  display: none;
  overflow: auto;
}
#panel.on {
  display: block;
}
.ptop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 2px solid var(--orange);
  background: #1a0904;
  flex-wrap: wrap;
}
.ptop b {
  font-family: "Bebas Neue";
  font-size: 30px;
  color: var(--orange2);
}
.ptop .who {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.pbody {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 66px);
}
@media (max-width: 800px) {
  .pbody {
    grid-template-columns: 1fr;
  }
}
.side {
  background: #190a04;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--red);
}
.side button {
  background: none;
  border: 0;
  color: var(--muted);
  text-align: left;
  padding: 10px 12px;
  font: 500 15px "Oswald";
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
}
.side button.act,
.side button:hover {
  background: var(--panel2);
  color: var(--orange2);
}
.pmain {
  padding: 24px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat {
  background: var(--panel);
  border: 1px solid rgba(255, 138, 31, 0.35);
  padding: 16px;
}
.stat small {
  color: var(--muted);
}
.stat div {
  font-family: "Bebas Neue";
  font-size: 40px;
  color: var(--orange2);
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tbl th,
.tbl td {
  padding: 10px;
  border-bottom: 1px solid #4a1d0a;
  text-align: left;
}
.tbl th {
  color: var(--orange2);
}
.note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  text-transform: none;
  border: 1px dashed var(--red);
  padding: 12px;
}

.loginwrap {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(255, 110, 0, 0.4),
    transparent 60%
  );
}
.loginwrap .modal {
  display: block;
}
a.staff-btn {
  text-decoration: none;
}
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 138, 31, 0.6));
}
.herol {
  position: relative;
  text-align: center;
}
.hero-logo {
  width: min(440px, 80vw);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.6));
}
.hero-name {
  font-family: "Bebas Neue";
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 138, 31, 0.8);
  margin-top: 6px;
}
.wide {
  display: block;
  width: 100%;
  margin-top: 30px;
  border: 1px solid rgba(255, 138, 31, 0.35);
  box-shadow: 0 0 22px rgba(255, 100, 0, 0.25);
}
.grid {
  margin-top: 20px;
}
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.gal img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 138, 31, 0.35);
  box-shadow: 0 0 18px rgba(255, 100, 0, 0.2);
}

.application-content {
  width: 100%;
  max-width: 980px;
  text-align: left;
  text-transform: none;
  line-height: 1.65;
}
.candidature-section .cards3 {
  display: block;
}
.application-card {
  overflow: hidden;
}
.application-card .body {
  display: block;
  min-height: 0;
  padding: clamp(22px, 4vw, 46px);
  text-align: left;
}
.application-content > p:first-of-type {
  font-size: 16px;
}
.application-content h2 {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 138, 31, 0.35);
}
.application-content h3 {
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 138, 31, 0.08);
}
.application-content h2,
.application-content h3 {
  text-align: left;
  color: var(--orange2);
  margin: 0 0 16px;
}
.application-content h2 {
  font-size: 28px;
}
.application-content .recruitment-title {
  font-family: "Bebas Neue";
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: 1.5px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 138, 31, 0.45);
}
.application-content h3 {
  font-family: "Oswald";
  font-size: 22px;
  margin-top: 28px;
}
.application-content p {
  margin-bottom: 14px;
}
.application-content ul,
.application-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 28px;
}
.application-content li {
  padding-left: 6px;
}
.application-content a {
  color: var(--orange2);
  overflow-wrap: anywhere;
  text-decoration: underline;
}
.application-content blockquote {
  background: rgba(0, 0, 0, 0.14);
  border-left: 3px solid var(--orange);
  color: var(--muted);
  margin: 12px 0;
  padding: 12px 16px;
}
@media (max-width: 600px) {
  .application-card .body {
    padding: 20px 16px;
  }
  .application-content h2 {
    font-size: 24px;
  }
  .application-content h3 {
    font-size: 19px;
  }
  .application-content ul,
  .application-content ol {
    padding-left: 24px;
  }
}
