:root {
  --ink: #151515;
  --muted: #62666f;
  --line: #d9dde5;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --red: #d71920;
  --blue: #004990;
  --gold: #b8862b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", AppleSDGothicNeo, "Malgun Gothic", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.language-switcher button {
  min-height: 34px;
  padding: 0 10px;
  color: #3a3f48;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active,
.language-switcher button:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(0, 73, 144, 0.08), rgba(215, 25, 32, 0.06) 52%, rgba(184, 134, 43, 0.08)),
    #fff;
}

.compact-hero {
  grid-template-columns: minmax(0, 1fr) minmax(92px, 130px);
  gap: clamp(16px, 3vw, 34px);
  min-height: 15vh;
  padding: clamp(16px, 3vw, 30px) clamp(20px, 5vw, 72px);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: 0;
}

.compact-hero h1 {
  max-width: 860px;
  font-size: clamp(28px, 4vw, 48px);
}

.hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #343842;
  font-size: clamp(17px, 2vw, 22px);
}

.compact-hero p {
  max-width: 900px;
  margin-top: 8px;
  font-size: clamp(15px, 1.4vw, 18px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  background: #fff;
}

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

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: min(100%, 460px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(15, 20, 30, 0.16));
}

.compact-hero .hero-logo img {
  width: min(100%, 130px);
}

.compact-hero .hero-actions {
  margin-top: 18px;
}

.main-info-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  background: #101216;
  color: #fff;
  border-top: 0;
}

.info-lead h2 {
  color: #fff;
}

.info-lead p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

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

.info-panel {
  display: block;
  min-height: 170px;
  padding: 22px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.info-panel:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.info-panels .wide-panel {
  grid-column: span 3;
  min-height: 140px;
  background:
    linear-gradient(120deg, rgba(215, 25, 32, 0.24), rgba(0, 73, 144, 0.26)),
    rgba(255, 255, 255, 0.09);
}

.info-panels span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #f4c35b;
  font-size: 13px;
  font-weight: 900;
}

.info-panels h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}

.info-panels p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.board-page {
  min-height: calc(100vh - 96px);
  background: #fff;
}

.board-top-banner {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(0, 73, 144, 0.08), rgba(215, 25, 32, 0.06)),
    #f6f2e8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.board-top-banner img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.board-top-banner p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.board-top-banner h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.board-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px) 72px;
}

.board-sidebar {
  border-top: 3px solid #111;
}

.board-profile {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.board-profile img {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--soft);
  border-radius: 8px;
}

.board-profile strong {
  font-size: 20px;
}

.board-profile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.board-write-button {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  padding: 15px 18px;
  color: #fff;
  background: #4a4a4a;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.board-menu {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.board-menu a {
  display: flex;
  justify-content: space-between;
  padding: 13px 6px;
  color: #252932;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
  text-decoration: none;
}

.board-menu a::before {
  content: "□";
  color: #9aa1ad;
  margin-right: 8px;
}

.board-menu a.active,
.board-menu a:hover {
  color: var(--red);
}

.board-list-panel {
  min-width: 0;
}

.board-list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid #252932;
}

.board-list-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0;
}

.board-list-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.board-view-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.board-view-tools select {
  min-width: 104px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.board-table-wrap {
  overflow-x: auto;
}

.board-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.board-table th,
.board-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.board-table th {
  color: #3a3f48;
  font-size: 14px;
  font-weight: 900;
}

.board-table td {
  color: #4c5360;
  font-weight: 750;
}

.board-category {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 6px 10px;
  color: var(--red);
  background: rgba(215, 25, 32, 0.08);
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.board-title-link {
  color: #20242b;
  font-weight: 900;
  text-decoration: none;
}

.board-title-link:hover {
  color: var(--red);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--soft);
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: #fff;
  background: var(--ink);
  font-size: 14px;
}

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

.join-section {
  background: #fbfbfc;
}

.signup-form {
  max-width: 1100px;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: #2e323a;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd1dc;
  border-radius: 6px;
  font: inherit;
}

.proposal-textarea {
  width: 100%;
  min-height: 220px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd1dc;
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

input:focus,
select:focus,
.proposal-textarea:focus {
  outline: 3px solid rgba(0, 73, 144, 0.18);
  border-color: var(--blue);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  color: #343842;
  font-weight: 600;
}

.consent input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.submit-button {
  min-width: 180px;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 800;
}

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

.cards article {
  min-height: 160px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.cards p {
  margin: 0;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .section.split,
  .form-grid,
  .cards,
  .main-info-board,
  .info-panels,
  .purpose-grid,
  .kfood-news-list,
  .admin-stats,
  .admin-grid,
  .admin-hero,
  .info-grid,
  .board-shell,
  .board-top-banner,
  .write-shell,
  .write-fields {
    grid-template-columns: 1fr;
  }

  .info-panels .wide-panel {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    width: min(72vw, 300px);
  }

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

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-shell {
    padding-top: 24px;
  }

  .board-sidebar {
    border-top-width: 2px;
  }

  .board-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-top: 0;
  }

  .board-menu a {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .board-list-head,
  .board-view-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-top-banner img {
    width: 92px;
    height: 92px;
  }
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(0, 73, 144, 0.08), rgba(215, 25, 32, 0.06)),
    #fff;
}

.admin-login {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100vh;
  padding: 32px 20px;
  text-align: center;
}

.admin-login img {
  width: min(280px, 72vw);
  height: auto;
}

.admin-login h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: 0;
}

.admin-login p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 8px;
  color: var(--muted);
}

.admin-dashboard {
  padding: 34px clamp(20px, 5vw, 72px) 72px;
}

.admin-hero {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.admin-hero img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.admin-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
}

.admin-hero p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.admin-stats article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

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

.admin-panel {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-panel h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.admin-table-empty,
.admin-news-status {
  padding: 16px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  min-width: 760px;
}

.admin-news-status p {
  margin: 0;
}

.admin-news-status p + p {
  margin-top: 8px;
}

.section-summary {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.info-section {
  background: #fff;
}

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

.info-grid article {
  min-height: 170px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.info-grid p,
.info-list p,
.info-list li {
  color: var(--muted);
}

.info-list ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.info-list li + li {
  margin-top: 8px;
}

.committee-section {
  background: #fff;
}

.purpose-section {
  background:
    linear-gradient(120deg, rgba(0, 73, 144, 0.06), rgba(215, 25, 32, 0.04)),
    #fff;
}

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

.purpose-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.purpose-grid .purpose-lead {
  grid-column: 1 / -1;
  background: #101216;
  color: #fff;
}

.purpose-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: 0;
}

.purpose-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.purpose-grid p + p {
  margin-top: 12px;
}

.purpose-grid .purpose-lead p {
  color: rgba(255, 255, 255, 0.78);
}

.news-board {
  margin-top: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.news-board h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
}

.news-intro {
  margin: -4px 0 16px;
  color: var(--muted);
  font-weight: 800;
}

.news-history-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.news-history-picker {
  display: inline-flex;
  align-items: center;
  grid-template-columns: none;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.news-history-picker select {
  width: auto;
  min-height: 38px;
}

.kfood-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kfood-news-list a {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 142px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 8px;
}

.kfood-news-list a:hover {
  border-color: var(--blue);
  background: #fff;
}

.kfood-news-list .translated-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.original-title {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.kfood-news-list small {
  color: var(--muted);
  font-weight: 700;
}

.region-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.news-updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.write-page {
  background: #f7f8fa;
  min-height: calc(100vh - 72px);
}

.write-banner {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #e7e6d6;
  border-bottom: 1px solid #c9c8b8;
}

.write-banner img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
}

.write-banner h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
}

.write-banner p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #474a43;
  font-size: 18px;
}

.write-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px) 72px;
}

.editor-panel,
.write-options section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editor-panel {
  overflow: hidden;
}

.write-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 2px solid var(--ink);
}

.write-titlebar h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.write-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 28px 16px;
}

.post-title {
  width: calc(100% - 56px);
  margin: 0 28px 22px;
  min-height: 58px;
  background: #f1f3f6;
  border: 0;
  font-size: 20px;
}

.tool-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 20px;
  border-top: 1px solid var(--line);
}

.tool-row button,
.tool-row select {
  min-width: auto;
  min-height: 46px;
  padding: 0 12px;
  color: #4c515a;
  background: #fff;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 700;
}

.tool-row button:hover {
  background: #f1f3f6;
}

.primary-tools {
  min-height: 62px;
}

.format-tools {
  background: #fbfbfc;
}

.post-body {
  display: block;
  width: 100%;
  min-height: 390px;
  padding: 36px 32px;
  border: 0;
  border-top: 1px solid var(--line);
  resize: vertical;
  font: inherit;
  font-size: 18px;
}

.post-body:focus {
  outline: 3px solid rgba(0, 73, 144, 0.12);
}

.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #8b9099;
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
}

.attachment-list:empty {
  display: none;
}

.attachment-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  max-width: 320px;
  padding: 9px 10px;
  background: #f3f5f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.attachment-chip span {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-chip small {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.attachment-chip button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 32px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.embedded-media {
  margin: 18px 0;
}

.embedded-media img,
.embedded-media video {
  display: block;
  max-width: 100%;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.embedded-media figcaption,
.embedded-file small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.embedded-file {
  display: inline-grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px 14px;
  background: #f3f5f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.embedded-file a {
  color: var(--blue);
  font-weight: 900;
}

.embedded-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
}

.embedded-table th,
.embedded-table td {
  border: 1px solid var(--line);
}

.embedded-code {
  overflow-x: auto;
  padding: 16px;
  background: #101216;
  color: #fff;
  border-radius: 8px;
}

.write-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
}

.write-options {
  display: grid;
  align-content: start;
  gap: 16px;
}

.write-options section {
  padding: 20px;
}

.write-options h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.write-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #3c414a;
  font-weight: 700;
}

.write-options input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
}

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

@media (max-width: 980px) {
  .write-shell,
  .write-fields {
    grid-template-columns: 1fr;
  }

  .write-options {
    order: -1;
  }
}

@media (max-width: 680px) {
  .write-banner {
    grid-template-columns: 1fr;
  }

  .write-banner img {
    width: 92px;
    height: 92px;
  }

  .write-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-title {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
}

.info-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.sub-hero {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: clamp(42px, 7vw, 78px) clamp(20px, 5vw, 72px);
  background: linear-gradient(120deg, rgba(0, 73, 144, 0.08), rgba(215, 25, 32, 0.06)), #fff;
  border-bottom: 1px solid var(--line);
}

.sub-hero img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.sub-hero p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
}

.membership-rules {
  background: #fff;
}

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

.rule-grid article {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rule-grid h3 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: 0;
}

.rule-grid ul {
  margin: 0;
  padding-left: 20px;
}

.rule-grid li {
  color: #3a3f48;
  font-weight: 700;
}

.rule-grid li + li {
  margin-top: 9px;
}

.bank-account-box {
  margin-top: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bank-account-box h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.bank-account-box p {
  margin: 4px 0;
  color: #3a3f48;
  font-weight: 800;
}

@media (max-width: 820px) {
  .info-grid.three-up,
  .rule-grid,
  .sub-hero {
    grid-template-columns: 1fr;
  }

  .sub-hero img {
    width: 100px;
    height: 100px;
  }
}

.committee-block + .committee-block {
  margin-top: 34px;
}

.committee-block h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0;
}
