:root {
  --navy: #102942;
  --navy-dark: #071827;
  --red: #a71922;
  --gold: #d9b566;
  --soft: #eef4fb;
  --paper: #ffffff;
  --ink: #17202a;
  --muted: #627083;
  --line: rgba(16, 41, 66, 0.14);
  --shadow: 0 24px 70px rgba(7, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #eef4fb;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: #fff;
  background: rgba(7, 24, 39, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  padding: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: calc(96vh - 79px);
  padding: clamp(38px, 5vw, 72px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(125deg, #071827 0%, #123a5a 48%, #a71922 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("kendeng1.jpg") left bottom / min(68vw, 860px) auto no-repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 820px;
}


.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow{
	margin: 0 0 12px;
	color: var(--gold);
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5vw, 4.95rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #071827;
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(217, 181, 102, 0.26);
}

.hero-cta {
  min-height: 58px;
  padding: 17px 28px;
  color: var(--navy-dark) !important;
  background: var(--gold) !important;
  box-shadow: 0 18px 42px rgba(217, 181, 102, 0.34);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.button.full {
  width: 100%;
}

.hero-media {
  margin: 0;
  justify-self: center;
}

.hero-media img {
  width: min(420px, 100%);
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 24px clamp(18px, 4vw, 46px);
  background: #fff;
}

.info-icon {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.info-item p {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 700;
}

.info-item strong {
  font-size: 1.06rem;
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  background: var(--soft);
}

.split p:not(.section-kicker),
.section-heading + p {
  color: var(--muted);
  line-height: 1.75;
}

.agenda-panel {
  display: grid;
  gap: 14px;
}

.agenda-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.agenda-row span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.agenda-row p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.participant {
  background: #fff;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rule-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 41, 66, 0.08);
}

.rule-card span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(217, 181, 102, 0.3);
  font-weight: 800;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.rule-card a {
  color: var(--red);
  font-weight: 800;
}

.cta-section {
  justify-content: space-between;
  padding: clamp(38px, 5vw, 64px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
}

.public-content {
  background: #fff;
}

.news-home {
  background: var(--soft);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 41, 66, 0.08);
}

.content-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: 8px;
  object-fit: cover;
}

.content-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.content-card p {
  color: var(--muted);
  line-height: 1.65;
}

.detail-page {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.detail-article {
  max-width: 900px;
  margin: 0 auto;
}

.detail-article h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.detail-image {
  width: 100%;
  max-height: 460px;
  margin-bottom: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.detail-meta {
  color: var(--muted);
  font-weight: 700;
}

.rich-content {
  color: #263443;
  font-size: 1.02rem;
  line-height: 1.8;
}

.rich-content img {
  max-width: 100%;
  height: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #071827;
}

.site-footer p {
  margin: 0;
}

.registration-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(7, 24, 39, 0.95), rgba(18, 58, 90, 0.86), rgba(167, 25, 34, 0.78)),
    url("kendeng1.jpg") left bottom / min(70vw, 880px) auto no-repeat fixed;
}

.registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 560px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(44px, 6vw, 86px) clamp(18px, 5vw, 72px);
}

.registration-intro {
  color: #fff;
}

.registration-intro h1 {
  font-size: clamp(2.2rem, 5vw, 5.4rem);
}

.registration-intro p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.mini-detail {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-detail strong {
  color: var(--gold);
}

.mini-detail span {
  color: rgba(255, 255, 255, 0.84);
}

.payment-box {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(217, 181, 102, 0.34);
  border-radius: 8px;
  background: rgba(7, 24, 39, 0.44);
}

.payment-box p,
.payment-box span,
.payment-box small {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.payment-box strong,
.payment-box b {
  color: #fff;
  font-size: 1.16rem;
}

.payment-box b {
  color: var(--gold);
}

.form-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 41, 66, 0.18);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

input:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(217, 181, 102, 0.26);
}

.file-field small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.notice {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 8px;
  line-height: 1.6;
}

.notice p {
  margin: 8px 0 0;
}

.notice ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.notice.success {
  color: #123d25;
  background: #e9f8ef;
}

.notice.error {
  color: #6d151a;
  background: #fff0f1;
}

.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark), #123a5a 56%, var(--red));
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.login-card {
  width: min(100%, 430px);
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: contain;
}

.login-card h1 {
  margin-bottom: 12px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 2rem;
}

.login-copy {
  color: var(--muted);
  line-height: 1.65;
}

.admin-page {
  min-height: 100vh;
  font-size: 0.92rem;
  background: #eef4fb;
}

.admin-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: 280px;
  min-height: 100vh;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  padding: 24px 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 24, 39, 0.98), rgba(16, 41, 66, 0.98)),
    url("kendeng1.jpg") left bottom / 320px auto no-repeat;
  box-shadow: 12px 0 34px rgba(7, 24, 39, 0.16);
}

.admin-brand-toggle {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.admin-brand-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.admin-header .brand {
  align-items: center;
  padding: 10px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  font-weight: 800;
}

.admin-nav a:not(.button) {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.nav-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav a:not(.button):hover,
.admin-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-nav a.active {
  box-shadow: inset 4px 0 0 var(--gold);
}

.nav-group {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-group-label {
  padding: 0 14px 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-export {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--navy-dark);
  background: var(--gold);
}

.admin-shell {
  margin-left: 280px;
  padding: clamp(22px, 3vw, 38px);
  transition: margin-left 0.22s ease;
}

.admin-header {
  transition: width 0.22s ease, padding 0.22s ease;
}

.admin-sidebar-collapsed .admin-header {
  width: 86px;
  padding-inline: 14px;
}

.admin-sidebar-collapsed .admin-shell {
  margin-left: 86px;
}

.admin-sidebar-collapsed .admin-header .brand span,
.admin-sidebar-collapsed .admin-nav .nav-text,
.admin-sidebar-collapsed .nav-group-label {
  display: none;
}

.admin-sidebar-collapsed .admin-nav a:not(.button) {
  justify-content: center;
  min-height: 42px;
  padding-inline: 8px;
}

.admin-sidebar-collapsed .nav-icon {
  width: 22px;
  height: 22px;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-title h1 {
  max-width: 920px;
  margin-bottom: 10px;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.1;
}

.admin-title p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stats article,
.admin-stats a {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 41, 66, 0.07);
}

.admin-stats a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(16, 41, 66, 0.12);
}

.admin-stats span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  color: var(--navy);
  font-size: 1.8rem;
}

.dashboard-grid a {
  color: #fff;
  border: 0;
  overflow: hidden;
}

.dashboard-grid a span,
.dashboard-grid a strong {
  color: #fff;
}

.dashboard-grid a span {
  opacity: 0.88;
}

.stat-card-blue {
  background: linear-gradient(135deg, #123a5a, #0f6099) !important;
}

.stat-card-red {
  background: linear-gradient(135deg, #a71922, #d33a45) !important;
}

.stat-card-gold {
  background: linear-gradient(135deg, #b88723, #d9b566) !important;
}

.stat-card-green {
  background: linear-gradient(135deg, #126036, #1f9a5c) !important;
}

.table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 41, 66, 0.08);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

th,
td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #f7fafc;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: #263443;
  line-height: 1.5;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.table-link {
  color: var(--red);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill.pending {
  color: #8a5208;
  background: #fff2d4;
}

.status-pill.verified {
  color: #126036;
  background: #dff7e9;
}

.inline-form {
  display: block;
}

.verify-button {
  min-height: 38px;
  padding: 9px 14px;
  color: #fff;
  background: #198754;
}

.unverify-button {
  min-height: 38px;
  padding: 9px 14px;
  color: #fff;
  background: #a71922;
}

.email-button {
  min-height: 38px;
  padding: 9px 14px;
  color: #071827;
  background: var(--gold);
}

.verified-by {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.empty-state {
  padding: 34px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 41, 66, 0.18);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

textarea.wysiwyg,
textarea.editor-fallback {
  display: block !important;
}

textarea.wysiwyg.editor-ready {
  display: none !important;
}

select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(217, 181, 102, 0.26);
}

.admin-form-card {
  display: none;
  margin-bottom: 24px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 41, 66, 0.08);
}

.admin-form-card.is-open {
  display: block;
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.add-button {
  min-height: 42px;
  padding: 10px 18px;
}

.admin-form-card h2 {
  margin-bottom: 18px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.12rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full-field {
  grid-column: 1 / -1;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding-top: 26px;
}

.check-row input {
  width: 20px;
  min-height: 20px;
}

.admin-cancel {
  color: var(--navy) !important;
  border-color: var(--line);
  background: #eef4fb;
}

.filter-form {
  width: min(100%, 360px);
}

.table-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.image-item {
  display: block;
  width: 140px;
}

.image-item img {
  width: 140px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.image-item button {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.link-button {
  border: 0;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.link-button.danger {
  color: #a71922;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  background: #eef4fb;
}

.icon-button.email {
  color: #071827;
  background: rgba(217, 181, 102, 0.32);
}

.icon-button.verify {
  color: #126036;
  background: #dff7e9;
}

.icon-button.unverify,
.icon-button.danger {
  color: #a71922;
  background: #fff0f1;
}

.icon-button.view {
  color: var(--navy);
  background: #f7fafc;
}

.icon-button.edit {
  color: #0f5f9c;
  background: #e9f4ff;
}

.action-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-form.compact-filter {
  width: min(100%, 260px);
}

.compact-filter label {
  gap: 5px;
  font-size: 0.82rem;
}

.compact-filter select {
  min-height: 40px;
  padding: 9px 11px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.permission-grid fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.permission-grid legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 800;
}

.permission-check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 600;
}

.permission-check input {
  width: 18px;
  min-height: 18px;
}

.preview-inline img {
  width: 220px;
  max-height: 140px;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  .admin-header {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header {
    padding: 16px 18px;
  }

  .admin-header .brand {
    width: 100%;
  }

  .admin-nav {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-nav a:not(.button) {
    flex: 0 0 auto;
  }

  .admin-shell {
    margin-left: 0;
  }

  .admin-sidebar-collapsed .admin-header {
    width: auto;
  }

  .admin-sidebar-collapsed .admin-shell {
    margin-left: 0;
  }

  .admin-sidebar-collapsed .admin-header .brand span,
  .admin-sidebar-collapsed .admin-nav .nav-text,
  .admin-sidebar-collapsed .nav-group-label {
    display: inline;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .registration-shell,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    justify-self: start;
  }

  .info-band,
  .rules-grid,
  .admin-stats,
  .dashboard-grid,
  .content-grid,
  .permission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: relative;
  }

  .brand {
    align-items: flex-start;
  }

  .main-nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .info-item,
  .agenda-row {
    align-items: flex-start;
  }
}
