@import url("https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Jua&display=swap");

:root {
  --ink: #171717;
  --muted: #696969;
  --line: #e8e4dc;
  --paper: #fffdfa;
  --surface: #ffffff;
  --soft: #f7f2ea;
  --coral: #ff7a68;
  --mint: #8fcfbd;
  --lemon: #f1cd63;
  --blue: #93b8da;
  --shadow: 0 22px 70px rgba(23, 23, 23, 0.08);
}

/* Keep admin-only controls hidden even when button styles set display values. */
[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Gowun Dodum", "NanumSquareRound", "Pretendard", "Segoe UI", "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  background:
    linear-gradient(90deg, rgba(232, 228, 220, 0.38) 1px, transparent 1px),
    linear-gradient(180deg, rgba(232, 228, 220, 0.38) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid rgba(232, 228, 220, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 400;
}

.brand-name {
  transform: translateY(1px);
}

.brand-flower {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 50% 50%, var(--lemon) 0 15%, transparent 16%),
    radial-gradient(circle at 50% 13%, #fff 0 19%, transparent 20%),
    radial-gradient(circle at 84% 38%, #fff 0 19%, transparent 20%),
    radial-gradient(circle at 72% 82%, #fff 0 19%, transparent 20%),
    radial-gradient(circle at 28% 82%, #fff 0 19%, transparent 20%),
    radial-gradient(circle at 16% 38%, #fff 0 19%, transparent 20%);
  filter: drop-shadow(0 1px 1px rgba(23, 23, 23, 0.32));
  transform: translateY(1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.auth-link {
  color: var(--coral);
}

.nav-links a.auth-link.admin-active {
  color: var(--mint);
}

.side-category {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1180px;
  margin: 18px auto -18px;
  padding: 0 32px;
}

.side-category p {
  display: none;
}

.side-category a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.side-category a:hover,
.side-category a:focus-visible,
.side-category a.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.rabbit-banner {
  position: fixed;
  top: clamp(378px, 57vh, 612px);
  right: clamp(-54px, 0.4vw, 8px);
  z-index: 7;
  display: block;
  width: clamp(330px, 19vw, 430px);
  transform: translateY(-50%);
  filter: drop-shadow(0 18px 28px rgba(23, 23, 23, 0.1));
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.rabbit-banner img {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleY(1);
  transform-origin: bottom center;
}

.rabbit-banner:hover,
.rabbit-banner:focus-visible {
  transform: translateY(-52%) scale(1.025);
  filter: drop-shadow(0 22px 34px rgba(23, 23, 23, 0.14));
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(560px, 1.28fr);
  gap: 58px;
  align-items: center;
  max-width: 1760px;
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: 64px 36px 48px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-size: 3.55rem;
  font-weight: 400;
  line-height: 1.05;
}

h2 {
  margin: 0;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  margin: 0;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

.hero-text {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.12);
}

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

.button.ghost {
  background: var(--surface);
}

.tiny-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tiny-line span {
  border-bottom: 2px solid rgba(143, 207, 189, 0.8);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-band,
.notes-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 32px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.split p:last-child {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-main {
  min-height: calc(100vh - 180px);
}

.compact-board {
  padding-top: 40px;
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 32px 36px;
}

.page-hero h1 {
  max-width: none;
}

.page-hero p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.library-section {
  background: var(--paper);
}

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

.section-heading p:last-child,
.section-heading-side p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading-side {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 16px;
}

.section-action {
  flex: 0 0 auto;
  min-width: 128px;
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
  margin-bottom: 14px;
}

.search-box {
  position: relative;
  display: block;
}

.search-box span {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-57%);
}

.search-box span::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: var(--muted);
  content: "";
  transform: rotate(45deg);
}

.search-box input,
.library-toolbar select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.search-box input {
  padding: 0 18px 0 44px;
}

.library-toolbar select {
  padding: 0 14px;
}

.search-box input:focus,
.library-toolbar select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(143, 207, 189, 0.22);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.filter-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-weight: 800;
}

.filter-tab:hover,
.filter-tab:focus-visible,
.filter-tab.active {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-tab.active {
  background: var(--lemon);
}

.resource-summary {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-summary #resource-count {
  color: var(--ink);
  font-weight: 900;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 23, 23, 0.28);
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.08);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  margin-bottom: 18px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-pill.guide {
  background: rgba(147, 184, 218, 0.22);
}

.category-pill.form {
  background: rgba(143, 207, 189, 0.22);
}

.category-pill.notice {
  background: rgba(255, 122, 104, 0.17);
}

.category-pill.image {
  background: rgba(241, 205, 99, 0.26);
}

.category-pill.template {
  background: rgba(169, 146, 204, 0.18);
}

.resource-date {
  color: var(--muted);
  font-size: 0.82rem;
}

.resource-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.resource-link {
  display: block;
}

.resource-link:hover h3,
.resource-link:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.resource-meta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.resource-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: "Jua", "Gowun Dodum", sans-serif;
  font-weight: 800;
}

.small-button:hover,
.small-button:focus-visible {
  border-color: var(--ink);
}

.small-button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.empty-state {
  margin: 38px 0 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.board-section {
  background: rgba(255, 255, 255, 0.56);
  border-top: 1px solid var(--line);
}

.compact-board .board-section {
  border-top: 0;
}

.board-inner {
  padding-top: 46px;
}

.login-inner {
  width: min(100%, 520px);
  margin: 0 auto;
  padding-top: 72px;
}

.login-form {
  margin-bottom: 0;
}

.login-form h1 {
  font-size: 2.7rem;
}

.login-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 104, 0.42);
  border-radius: 8px;
  background: rgba(255, 122, 104, 0.11);
  color: #9c392b;
  font-weight: 800;
}

.compact-board .board-inner {
  padding-top: 56px;
}

.board-form {
  display: grid;
  gap: 18px;
  margin-bottom: 52px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 44px rgba(23, 23, 23, 0.05);
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.writer-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
}

.board-form label {
  display: grid;
  gap: 8px;
}

.board-form label span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.board-form input,
.board-form select,
.board-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.board-form input,
.board-form select {
  height: 46px;
  padding: 0 14px;
}

.board-form input:focus,
.board-form select:focus,
.board-form textarea:focus,
.editor-field:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(143, 207, 189, 0.22);
}

.board-form textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
  font: inherit;
  line-height: 1.7;
}

.board-form label.wide {
  grid-column: 1 / -1;
}

.editor-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 234, 0.76);
}

.editor-toolbar select,
.editor-toolbar input[type="color"],
.tool-button {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.editor-toolbar select {
  min-width: 104px;
  padding: 0 10px;
}

.editor-toolbar input[type="color"] {
  width: 42px;
  padding: 4px;
}

.tool-button {
  min-width: 40px;
  padding: 0 10px;
  cursor: pointer;
  font-family: "Jua", "Gowun Dodum", sans-serif;
}

.tool-button:hover,
.tool-button:focus-visible {
  border-color: var(--ink);
}

.tool-button.italic {
  font-style: italic;
}

.tool-button.underline {
  text-decoration: underline;
}

.editor-field {
  min-height: 280px;
  padding: 22px;
  outline: none;
  line-height: 1.8;
}

.editor-field:empty::before {
  color: #aaa39a;
  content: attr(data-placeholder);
}

.writer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.writer-actions .button {
  width: auto;
}

.board-write-entry {
  display: flex;
  justify-content: flex-end;
  margin-top: 34px;
}

.board-write-entry .button {
  min-width: 118px;
}

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

.board-headline span {
  color: var(--muted);
}

.board-headline strong {
  color: var(--ink);
}

.board-list {
  display: grid;
  gap: 12px;
}

.board-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 72px;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.board-row h2 {
  font-size: 1.08rem;
}

.post-preview {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.post-link {
  display: block;
}

.post-link:hover h2,
.post-link:focus-visible h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.post-preview p,
.post-preview div {
  margin: 0 0 8px;
}

.post-preview ul,
.post-preview ol {
  margin: 8px 0 0;
  padding-left: 22px;
}

.board-row time {
  color: var(--muted);
  text-align: right;
  font-size: 0.9rem;
}

.board-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.delete-post {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-family: "Jua", "Gowun Dodum", sans-serif;
}

.delete-post:hover,
.delete-post:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.board-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.board-badge.notice {
  background: rgba(255, 122, 104, 0.17);
  color: #9c392b;
}

.board-badge.update {
  background: rgba(143, 207, 189, 0.22);
  color: #32695a;
}

.board-badge.note {
  background: rgba(241, 205, 99, 0.26);
  color: #755d13;
}

.board-badge.user {
  background: rgba(147, 184, 218, 0.22);
  color: #335d7a;
}

.post-detail,
.post-not-found {
  max-width: 920px;
}

.post-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
}

.post-detail-top .board-badge,
.post-detail-top .category-pill {
  display: none;
}

.post-detail h1,
.post-not-found h1 {
  max-width: none;
  margin: 0;
}

.post-detail-meta {
  margin-top: 16px;
  color: var(--muted);
}

.post-detail-body {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.95;
}

.post-detail-body p,
.post-detail-body div {
  margin: 0 0 16px;
}

.post-detail-body ul,
.post-detail-body ol {
  margin: 18px 0;
  padding-left: 26px;
}

.post-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.post-detail-actions[hidden] {
  display: none;
}

.button.danger {
  border-color: rgba(255, 122, 104, 0.48);
  background: rgba(255, 122, 104, 0.12);
  color: #9c392b;
}

.button.danger:hover,
.button.danger:focus-visible {
  border-color: #9c392b;
  background: rgba(255, 122, 104, 0.18);
}

.post-not-found p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: var(--muted);
}

.resource-detail-meta {
  max-width: 640px;
  margin-top: 30px;
}

.resource-detail-actions {
  margin-top: 34px;
  justify-content: flex-start;
}

.notes-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
}

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

.note-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.note-date {
  color: var(--coral);
  font-weight: 900;
}

.site-footer {
  display: none;
}

.resource-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 30px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.resource-dialog::backdrop {
  background: rgba(23, 23, 23, 0.32);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.dialog-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-dialog p:not(.dialog-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.dialog-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.dialog-meta div {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.dialog-meta dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.dialog-meta dd {
  margin: 8px 0 0;
  font-weight: 900;
}

.dialog-download {
  width: 100%;
}

@media (min-width: 1100px) {
  main {
    padding-right: 180px;
  }

  .site-footer {
    padding-right: 220px;
  }

  .side-category {
    position: fixed;
    top: 112px;
    right: 32px;
    z-index: 9;
    display: grid;
    width: 128px;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(232, 228, 220, 0.86);
    border-radius: 8px;
    background: rgba(255, 253, 250, 0.88);
    box-shadow: 0 16px 46px rgba(23, 23, 23, 0.07);
    backdrop-filter: blur(18px);
  }

  .side-category p {
    margin: 0 0 4px;
  }

  .side-category a {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 920px) {
  .rabbit-banner {
    display: none;
  }

  .site-header {
    padding: 0 24px;
  }

  .hero,
  .split,
  .notes-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.55rem;
  }

  .hero-visual {
    min-height: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .side-category {
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-bottom: -16px;
    padding: 0 18px;
  }

  .side-category p {
    width: 100%;
  }

  .side-category a {
    flex: 1 1 120px;
    justify-content: center;
  }

  .hero,
  .section-inner,
  .page-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .library-toolbar,
  .resource-grid,
  .dialog-meta,
  .board-form,
  .writer-grid,
  .board-row {
    grid-template-columns: 1fr;
  }

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

  .section-heading-side {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .board-row {
    gap: 10px;
  }

  .board-badge {
    width: max-content;
    padding: 0 12px;
  }

  .board-row time {
    text-align: left;
  }

  .board-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-meta {
    justify-items: start;
  }

  .writer-actions {
    flex-direction: column;
  }

  .writer-actions .button,
  .board-write-entry .button {
    width: 100%;
  }

  .board-write-entry {
    justify-content: stretch;
  }

  .site-footer {
    padding: 30px 18px;
  }
}

.side-category > p,
.post-detail-top #post-detail-tag,
.post-detail-top #resource-detail-category,
.site-footer {
  display: none !important;
}
