:root {
  --gold: #d98c11;
  --gold-strong: #c97905;
  --ink: #111216;
  --muted: #626772;
  --line: #e6e8ec;
  --soft: #f6f7f9;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 18, 22, 0.08);
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main > section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 8px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 185px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 60px);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a,
.text-link {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--gold-strong);
}

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

.ghost-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.ghost-button {
  color: var(--gold-strong);
  background: var(--white);
}

.solid-button {
  color: var(--white);
  background: var(--gold);
}

.ghost-button:hover,
.solid-button:hover {
  transform: translateY(-1px);
  border-color: var(--gold-strong);
}

.solid-button:hover {
  background: var(--gold-strong);
}

.large {
  min-height: 48px;
  padding-inline: 28px;
}

.compact {
  justify-self: start;
  margin-top: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(540px, 1.08fr);
  gap: clamp(30px, 4vw, 66px);
  max-width: var(--max);
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px);
  overflow: hidden;
}

.hero::after,
.about-band::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 49%, rgba(217, 140, 17, 0.78) 50% 51%, transparent 52%),
    linear-gradient(45deg, transparent 0 49%, rgba(17, 18, 22, 0.12) 50% 51%, transparent 52%);
  background-size: 160px 160px, 220px 220px;
  opacity: 0.55;
}

.hero::after {
  right: -120px;
  top: 20px;
  width: 340px;
  height: 420px;
}

.hero-copy {
  align-self: center;
}

.domain-line {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 3.45vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 680;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 26px;
  color: #2d3138;
  font-size: clamp(18px, 1.8vw, 22px);
}

.featured-story {
  align-self: center;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  min-height: 248px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.featured-story img {
  width: 100%;
  height: 100%;
  min-height: 248px;
  object-fit: cover;
}

.featured-content {
  padding: clamp(24px, 3vw, 34px);
}

.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featured-content h2,
.section-heading h2,
.admin-section h2,
.events-band h2,
.about-band h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.featured-content h2 {
  margin-bottom: 18px;
  font-size: clamp(23px, 2.05vw, 27px);
}

.featured-content p:not(.section-label) {
  margin: 0 0 22px;
  color: var(--muted);
}

.content-band {
  border-top: 1px solid var(--line);
  padding: 0 clamp(20px, 4vw, 48px);
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(28px, 4vw, 54px);
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 36px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-intro {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.split .section-heading {
  grid-column: 1 / -1;
  margin-bottom: -2px;
}

.news-layout {
  display: grid;
  gap: 0;
}

.focus-panel {
  align-self: start;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.focus-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.focus-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.focus-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  position: relative;
  padding-left: 18px;
  color: #333943;
  font-size: 14px;
}

.focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.news-item {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-item:not(.has-source) {
  background: linear-gradient(90deg, rgba(246, 247, 249, 0.78), transparent 58%);
}

.news-item.has-source h3 {
  transition: color 160ms ease;
}

.news-item.has-source:hover h3 {
  color: var(--gold-strong);
}

.news-item img {
  width: 112px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.news-item h3,
.video-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
}

.item-meta {
  margin: 0 0 5px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-item p,
.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.news-item time {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.source-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 800;
}

.videos-band {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 44px;
}

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

.youtube-library {
  display: grid;
  gap: 14px;
  width: 100%;
}

.youtube-player-frame {
  position: relative;
  width: 100%;
  max-width: 1120px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111216;
  border: 1px solid var(--line);
}

.youtube-player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-library-link {
  width: fit-content;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 750;
}

.youtube-library-link:hover {
  color: var(--ink);
}

.youtube-admin-workflow {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.youtube-admin-workflow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  padding: 1px;
  background: var(--line);
  list-style-position: inside;
}

.youtube-admin-workflow li {
  min-height: 136px;
  padding: 24px;
  background: var(--white);
}

.youtube-admin-workflow li strong,
.youtube-admin-workflow li span {
  display: block;
}

.youtube-admin-workflow li strong {
  margin: 10px 0 8px;
  color: var(--ink);
}

@media (max-width: 760px) {
  .youtube-admin-workflow ol {
    grid-template-columns: 1fr;
  }

  .youtube-admin-workflow li {
    min-height: 0;
  }
}

.video-card {
  min-width: 0;
}

.has-video-url {
  cursor: pointer;
}

.has-video-url:hover h3 {
  color: var(--gold-strong);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
  background: #d9dde3;
}

.video-card.is-pending .video-thumb img {
  filter: grayscale(0.18);
  opacity: 0.72;
}

.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(17, 18, 22, 0.25);
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--white);
}

.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  color: var(--white);
  background: rgba(17, 18, 22, 0.82);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 750;
}

.pending-badge {
  position: absolute;
  left: 10px;
  bottom: 8px;
  padding: 3px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 18, 22, 0.12);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.admin-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.admin-callout {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.admin-callout h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.admin-callout p {
  margin: 0 0 20px;
  color: var(--muted);
}

.admin-section p:not(.section-label),
.mission-copy p {
  max-width: 620px;
  color: var(--muted);
}

.about-contact {
  margin-top: 16px;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 800;
}

.upload-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.upload-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
}

.upload-form input {
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d9df;
  border-radius: 4px;
  font: inherit;
}

.upload-form input[type="file"] {
  padding-top: 11px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(30px, 5vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.mission-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mission-grid article {
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission-grid h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.mission-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.events-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 64px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

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

.event-item {
  min-width: 0;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.event-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
}

.event-item p:not(.item-meta) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.event-item .event-detail {
  margin-bottom: 10px;
  color: #343943;
  font-weight: 750;
}

.event-item .event-summary {
  margin-bottom: 16px;
}

.event-item span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #7a4d08;
  background: #fff3da;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.event-link {
  margin-top: 14px;
}

.about-band {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.about-band::before {
  left: -90px;
  bottom: -120px;
  width: 300px;
  height: 260px;
}

.accent-line {
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 14px;
  background: var(--gold);
}

.about-band p {
  margin: 0;
  color: #3d424b;
}

.collaboration-copy {
  display: grid;
  gap: 14px;
}

.collaboration-copy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collaboration-copy li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.collaboration-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  display: grid;
  grid-template-columns: 260px repeat(2, minmax(160px, 1fr)) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 32px clamp(20px, 4vw, 64px) 22px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 210px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 14px;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
}

.admin-page {
  background: #fbfbfc;
}

.admin-console {
  background: #fbfbfc;
}

.admin-header {
  position: sticky;
}

.admin-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) clamp(20px, 4vw, 48px);
  background:
    linear-gradient(135deg, transparent 0 49%, rgba(217, 140, 17, 0.28) 50% 51%, transparent 52%) right 20px top 20px / 190px 190px no-repeat,
    var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.05;
}

.admin-hero p:not(.domain-line) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.admin-auth {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr) auto;
  gap: 22px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 48px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-auth h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.admin-auth p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: #252a32;
  font-size: 13px;
  font-weight: 750;
}

.auth-form input {
  min-height: 42px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d9df;
  border-radius: 4px;
  font: inherit;
}

.auth-form .form-note {
  grid-column: 1 / -1;
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(24px, 4vw, 44px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.admin-panel {
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.record-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.manager-form {
  display: grid;
  gap: 16px;
}

.manager-form label {
  display: grid;
  gap: 8px;
  color: #252a32;
  font-size: 14px;
  font-weight: 750;
}

.manager-form input,
.manager-form textarea,
.manager-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d9df;
  border-radius: 4px;
  font: inherit;
}

.manager-form textarea {
  resize: vertical;
}

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

.manager-list {
  display: grid;
  gap: 14px;
}

.manager-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.manager-item img {
  width: 120px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.manager-item h3 {
  margin: 6px 0;
  font-size: 16px;
  line-height: 1.35;
}

.manager-item p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.manager-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.status-chip.published {
  color: #0f5a39;
  background: #e7f6ee;
}

.status-chip.draft {
  color: #7a4d08;
  background: #fff3da;
}

.manager-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #9d1d1d;
  background: #fff;
  border: 1px solid #e2b4b4;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.admin-guide {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 5vw, 70px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 4vw, 48px);
}

.admin-guide h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.admin-guide ol {
  margin: 0;
  padding-left: 22px;
  color: #343943;
}

.admin-guide li + li {
  margin-top: 10px;
}

.console-hero {
  padding-bottom: 34px;
}

.console-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.console-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.console-section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.console-section-heading p:not(.section-label),
.console-mode {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.dashboard-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 190px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.dashboard-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.dashboard-card p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-card .solid-button,
.dashboard-card .ghost-button {
  align-self: end;
  justify-self: start;
  margin-top: 6px;
}

.editor-panel {
  margin: 0 0 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.editor-heading h3 {
  margin: 0;
  font-size: 22px;
}

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

.console-form .span-2 {
  grid-column: 1 / -1;
}

.console-form label {
  display: grid;
  gap: 7px;
  color: #252a32;
  font-size: 14px;
  font-weight: 750;
}

.console-form input,
.console-form textarea,
.console-form select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d9df;
  border-radius: 4px;
  font: inherit;
}

.console-form textarea {
  resize: vertical;
}

.editor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-shell {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.content-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
}

.content-table th,
.content-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.content-table th {
  color: #343943;
  background: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content-table td {
  color: #252a32;
  font-size: 14px;
}

.content-table tr:last-child td {
  border-bottom: 0;
}

.content-table strong {
  display: block;
  max-width: 440px;
  font-size: 14px;
  line-height: 1.35;
}

.content-table small {
  display: block;
  max-width: 440px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.empty-table-cell {
  color: var(--muted);
  background: #fff;
}

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

.field-checklist span {
  min-height: 42px;
  padding: 10px 12px;
  color: #343943;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  main > section[id] {
    scroll-margin-top: 20px;
  }

  .brand img {
    width: 210px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 24px;
  }

  .hero,
  .split,
  .admin-section,
  .mission-band,
  .event-list,
  .admin-auth,
  .admin-grid,
  .admin-guide,
  .about-band {
    grid-template-columns: 1fr;
  }

  .auth-form {
    grid-template-columns: 1fr;
  }

  .featured-story {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .ghost-button,
  .header-actions .solid-button {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .news-item {
    grid-template-columns: 92px 1fr;
  }

  .news-item img {
    width: 92px;
  }

  .news-item time {
    grid-column: 2;
  }

  .video-grid,
  .event-list,
  .dashboard-grid,
  .field-checklist,
  .mission-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .console-section-heading,
  .editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-form {
    grid-template-columns: 1fr;
  }

  .form-row,
  .manager-item {
    grid-template-columns: 1fr;
  }

  .manager-item img {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
