:root {
  --paper: #fbfaf7;
  --ink: #0f0f0e;
  --muted: #5f5b54;
  --hairline: #d8d1c6;
  --corner-line: #beb8af;
  --accent: #bd5537;
  --tag: #b8b36c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Pretendard", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

body.is-modal-open {
  animation: none;
  filter: none;
  overflow: hidden;
  transform: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 32px;
}

.wordmark {
  font-family: "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 37px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}

.guest-actions,
.member-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.guest-actions[hidden],
.member-actions[hidden] {
  display: none;
}

.intro-qna-link,
.board-link,
.instagram-link,
.inquiry-trigger,
.purchase-link,
.notification-trigger,
.login-link {
  color: #1a1918;
}

.intro-qna-link:hover,
.board-link:hover,
.instagram-link:hover,
.inquiry-trigger:hover,
.purchase-link:hover,
.notification-trigger:hover,
.login-link:hover {
  color: var(--accent);
}

.instagram-link {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.instagram-icon {
  display: block;
  width: 22px;
  height: 22px;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inquiry-menu {
  position: relative;
}

.inquiry-trigger {
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
  font-size: 12px;
}

.inquiry-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 86px;
  padding: 10px 0 8px;
  border: 1px solid var(--hairline);
  border-top: 8px solid transparent;
  background: rgba(255, 254, 250, 0.98);
  background-clip: padding-box;
  box-shadow: 0 12px 28px rgba(17, 16, 14, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.inquiry-dropdown a {
  padding: 8px 14px;
  color: #1a1918;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.inquiry-dropdown a:hover {
  color: var(--accent);
}

.inquiry-menu:hover .inquiry-dropdown,
.inquiry-menu:focus-within .inquiry-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.notification-menu {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.notification-trigger {
  display: inline-grid;
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.notification-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 254, 250, 0.96);
  border-radius: 999px;
  background: #c4563d;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transform: translate(20%, -20%);
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(17, 16, 14, 0.14);
}

.notification-badge[hidden] {
  display: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -16px;
  z-index: 40;
  width: 286px;
  padding: 18px;
  border: 1px solid var(--hairline);
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 18px 42px rgba(17, 16, 14, 0.12);
}

.notification-panel[hidden] {
  display: none;
}

.notification-panel::before {
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  background: rgba(255, 254, 250, 0.98);
  content: "";
  transform: rotate(45deg);
}

.notification-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.notification-head strong {
  font-size: 14px;
}

.notification-clear-all {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notification-clear-all:hover {
  color: #a94730;
}

.notification-list {
  display: grid;
  gap: 0;
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-color: rgba(92, 88, 82, 0.34) transparent;
  scrollbar-width: thin;
}

.notification-item {
  display: grid;
  gap: 5px;
  position: relative;
  padding: 13px 0;
  border-bottom: 1px solid rgba(216, 209, 198, 0.72);
  cursor: pointer;
}

.notification-item.is-unread::before {
  position: absolute;
  top: 17px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.notification-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.notification-item strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  padding-right: 14px;
  color: #1a1918;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-item time {
  color: rgba(92, 88, 82, 0.72);
  font-size: 10px;
}

.notification-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.notification-delete-button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(92, 88, 82, 0.72);
  cursor: pointer;
  font-size: 10px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notification-delete-button:hover {
  color: var(--accent);
}

.notification-empty {
  padding: 18px 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.notification-item:hover strong {
  color: var(--accent);
}

.notification-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100dvh;
  padding: 24px;
}

.notification-detail-modal[hidden] {
  display: none;
}

.notification-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 14, 0.24);
  backdrop-filter: blur(4px);
}

.notification-detail-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(500px, calc(100vw - 48px));
  max-height: min(680px, calc(100dvh - 64px));
  padding: 38px 40px 34px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 22px 58px rgba(25, 20, 16, 0.16);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.notification-detail-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.notification-detail-panel h2 {
  display: -webkit-box;
  max-height: 94px;
  margin: 0;
  overflow: hidden;
  color: #111;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.notification-detail-body {
  min-height: 0;
  margin: 18px -8px 0 0;
  padding-right: 8px;
  overflow-y: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  scrollbar-color: rgba(155, 147, 136, 0.7) transparent;
  scrollbar-width: thin;
  white-space: pre-line;
  word-break: break-word;
}

.notification-detail-time {
  margin-top: 22px;
  color: rgba(92, 88, 82, 0.72);
  font-size: 11px;
}

.notification-detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 30px;
}

.notification-detail-link,
.notification-detail-button {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.notification-detail-link {
  border: 1px solid var(--hairline);
  background: transparent;
  color: #1a1918;
}

.notification-detail-button {
  background: var(--accent);
  color: #fff;
}

.notification-detail-button.secondary {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
}

.notification-detail-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.notification-detail-button:hover {
  background: #a8462d;
}

.notification-detail-button.secondary:hover {
  background: rgba(194, 86, 55, 0.08);
}

.verification-resubmit-modal {
  position: fixed;
  inset: 0;
  z-index: 116;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100dvh;
  padding: 24px;
}

.verification-resubmit-modal[hidden] {
  display: none;
}

.verification-resubmit-panel {
  width: min(560px, calc(100vw - 48px));
}

.verification-resubmit-panel.is-complete {
  display: grid;
  min-height: 220px;
  place-items: center;
}

.verification-resubmit-complete {
  display: grid;
  gap: 24px;
  place-items: center;
  margin: 0;
  text-align: center;
}

.verification-resubmit-complete-text {
  margin: 0;
  color: #1a1918;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.verification-resubmit-complete[hidden] {
  display: none;
}

.verification-resubmit-reason {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}

.verification-resubmit-form {
  display: grid;
  min-height: 0;
}

.verification-resubmit-fields {
  display: grid;
  gap: 14px;
  max-height: min(360px, calc(100dvh - 360px));
  padding-right: 6px;
  overflow-y: auto;
  scrollbar-color: rgba(155, 147, 136, 0.7) transparent;
  scrollbar-width: thin;
}

.verification-resubmit-field {
  display: grid;
  gap: 8px;
  color: #1a1918;
  font-size: 12px;
  font-weight: 700;
}

.verification-resubmit-field input,
.verification-resubmit-field select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  outline: 0;
  background: transparent;
  color: #1a1918;
  font-size: 13px;
  font-weight: 500;
}

.verification-resubmit-field input[type="file"] {
  height: auto;
  padding: 12px;
}

.verification-resubmit-field input:focus,
.verification-resubmit-field select:focus {
  border-color: var(--accent);
}

.verification-resubmit-message {
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.verification-resubmit-form[aria-busy="true"] .notification-detail-button[type="submit"] {
  cursor: wait;
  opacity: 0.65;
}

.header-divider {
  width: 1px;
  height: 17px;
  background: var(--hairline);
}

.join-button {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 28px;
  background: #0c0c0b;
  color: #fff;
}

.member-nickname {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  color: #1a1918;
  text-overflow: ellipsis;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.member-nickname:hover {
  color: var(--accent);
}

.logout-button {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #0c0c0b;
  border-radius: 0;
  background: #0c0c0b;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.logout-button:hover {
  background: #0c0c0b;
  color: #fff;
}

.purchase-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  width: 100vw;
  height: 100dvh;
  place-items: center;
  padding: 24px;
}

.purchase-modal[hidden] {
  display: none;
}

.purchase-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 14, 0.24);
  backdrop-filter: blur(4px);
}

.purchase-modal-panel {
  position: relative;
  z-index: 1;
  width: min(470px, calc(100vw - 48px));
  padding: 46px 42px 38px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 22px 58px rgba(25, 20, 16, 0.16);
  text-align: center;
}

.purchase-modal-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.purchase-modal-panel p {
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.purchase-modal-button {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  height: 40px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.purchase-modal-button:hover {
  background: #a8462d;
}

.hero {
  position: relative;
  min-height: 488px;
  margin: 0 34px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(var(--corner-line), var(--corner-line)) left top / 210px 1px no-repeat,
    linear-gradient(var(--corner-line), var(--corner-line)) left top / 1px 118px no-repeat,
    linear-gradient(var(--corner-line), var(--corner-line)) right top / 210px 1px no-repeat,
    linear-gradient(var(--corner-line), var(--corner-line)) right top / 1px 118px no-repeat,
    linear-gradient(var(--corner-line), var(--corner-line)) left bottom / 1px 118px no-repeat,
    linear-gradient(var(--corner-line), var(--corner-line)) right bottom / 1px 118px no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10%;
  right: 6%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--paper) 0%,
      rgba(251, 250, 247, 0.98) 8%,
      rgba(251, 250, 247, 0.42) 20%,
      rgba(251, 250, 247, 0) 34%,
      rgba(251, 250, 247, 0) 70%,
      rgba(251, 250, 247, 0.26) 84%,
      rgba(251, 250, 247, 0.98) 96%,
      var(--paper) 100%
    ),
    linear-gradient(128deg, transparent 0 43%, rgba(93, 111, 110, 0.065) 43.2%, transparent 43.8%),
    linear-gradient(151deg, transparent 0 52%, rgba(93, 111, 110, 0.05) 52.2%, transparent 52.7%),
    repeating-linear-gradient(90deg, rgba(87, 104, 103, 0.075) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(87, 104, 103, 0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(87, 104, 103, 0.115) 0 2px, transparent 2px 192px),
    repeating-linear-gradient(0deg, rgba(87, 104, 103, 0.09) 0 2px, transparent 2px 176px),
    linear-gradient(180deg, rgba(244, 247, 244, 0.26), rgba(234, 238, 235, 0.13));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(690px, 50vw);
  padding-top: 90px;
  padding-left: 34px;
}

.hero h1 {
  margin: 0;
  font-family: "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  font-size: clamp(76px, 7.2vw, 111px);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #38342f;
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
}

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

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 216px;
  height: 53px;
  padding: 0 20px 0 30px;
  border: 1px solid #171716;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.button-outline {
  width: 236px;
}

.button span {
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.button-filled {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button-outline {
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.guide-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 216px;
  height: 53px;
  margin-top: 13px;
  padding: 0 20px 0 24px;
  border: 1px solid #171716;
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
}

.guide-button span {
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.guide-button:hover,
.button-outline:hover {
  background: rgba(255, 255, 255, 0.54);
}

.hero-image {
  position: absolute;
  z-index: 1;
  right: -34px;
  bottom: 0;
  width: min(832px, 58vw);
  height: 478px;
  object-fit: cover;
  object-position: right bottom;
  pointer-events: none;
}

.editorial-section {
  margin: 0 34px;
  padding: 12px 0 25px;
  border-bottom: 1px solid var(--hairline);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.section-heading h2,
.section-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-right: 6px;
  font-size: 12px;
}

.section-heading a span {
  font-size: 24px;
  line-height: 0.8;
}

.preview-carousel {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  margin-top: 7px;
}

.preview-arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #a6a4a0;
  color: #fff;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.preview-arrow[data-preview-direction="-1"] {
  grid-column: 1;
}

.preview-arrow[data-preview-direction="1"] {
  grid-column: 3;
}

.preview-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7 5 11 9 7 13' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  content: "";
  transform: translate(-50%, -50%);
}

.preview-arrow[data-preview-direction="-1"]::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.preview-arrow:hover {
  background: #8f8d89;
}

.preview-arrow:active {
  transform: scale(0.94);
}

.article-viewport {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.article-grid.is-empty {
  grid-template-columns: 1fr;
}

.work-preview-empty {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 54px 20px;
  border: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  word-break: keep-all;
}

.article-grid[data-loading="true"] {
  min-height: 214px;
}

.article-grid[data-loading="true"] .article-card > * {
  display: none;
}

.article-grid[data-loading="true"] .article-card {
  cursor: default;
  pointer-events: none;
}

.article-grid[data-loading="true"] .article-card::before,
.article-grid[data-loading="true"] .article-card::after {
  content: "";
  background: linear-gradient(
    100deg,
    #eeeae3 20%,
    #f8f6f1 50%,
    #eeeae3 80%
  );
  background-size: 220% 100%;
  animation: work-card-loading 1.25s ease-in-out infinite;
}

.article-grid[data-loading="true"] .article-card::before {
  display: block;
  width: 100%;
  height: 143px;
}

.article-grid[data-loading="true"] .article-card::after {
  display: block;
  width: 68%;
  height: 10px;
  margin-top: 12px;
  box-shadow:
    0 22px 0 #eeeae3,
    0 44px 0 #eeeae3;
}

@keyframes work-card-loading {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

.article-grid.is-moving-next {
  opacity: 0.72;
  transform: translateX(-14px);
}

.article-grid.is-moving-prev {
  opacity: 0.72;
  transform: translateX(14px);
}

.article-card {
  min-width: 0;
  cursor: pointer;
}

.article-card img {
  display: block;
  width: 100%;
  height: 143px;
  object-fit: cover;
}

.article-card h3 {
  margin: 12px 0 13px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card p.article-card-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  margin: 3px 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.article-card-author-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-card-author + h3 {
  margin-top: 0;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card .article-card-author {
  margin: 3px 0 7px;
}

.article-card .article-card-author + h3 {
  margin-top: 0;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 1px;
}

.article-card-meta time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card-counts {
  flex: 0 0 auto;
  color: var(--muted);
  text-align: right;
}

.article-card-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 620px;
  }

  .hero-copy {
    width: 100%;
    padding-left: 0;
  }

  .hero-lead {
    max-width: min(560px, 72vw);
  }

  .hero-image {
    width: 78vw;
    height: auto;
    opacity: 0.82;
  }

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

}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    padding-top: 56px;
  }

  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(100%, 640px);
    height: auto;
    margin: 24px auto 0;
    object-fit: contain;
    object-position: center bottom;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .wordmark {
    font-size: 30px;
  }

  .login-link {
    display: none;
  }

  .guest-actions,
  .member-actions,
  .header-actions {
    gap: 12px;
  }

  .member-nickname {
    max-width: 95px;
  }

  .hero,
  .editorial-section {
    margin-inline: 18px;
  }

  .editorial-section {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-copy {
    padding-top: 46px;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .button {
    width: 100%;
    padding-left: 24px;
  }

  .guide-button {
    width: 100%;
  }

  .hero-image {
    right: auto;
    width: 100%;
    margin-top: 20px;
  }

  .article-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .preview-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 9px;
  }

  .article-viewport,
  .article-card {
    width: 100%;
    min-width: 0;
  }

  .preview-arrow {
    width: 30px;
    height: 30px;
  }

  .article-card img {
    height: 210px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(54px, 17vw, 64px);
  }
}
