:root {
  --primary: #5a864c;
  --primary-dark: #44663a;
  --primary-light: #74a666;
  --surface: #ffffff;
  --surface-muted: #f7f7f9;
  --line: #ececf1;
  --text: #151418;
  --text-muted: #7c7d85;
  --shadow-soft: 0 12px 40px rgba(15, 17, 21, 0.08);
  --hero: #5a864c;
  --hero-dark: #44663a;
  --shell-width: 460px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: AppleSDGothicNeo-Regular,HelveticaNeue,'Ã«â€šËœÃ«Ë†â€ÃªÂ³Â Ã«â€â€¢', NanumGothic, 'Ã«Ââ€¹Ã¬â€ºâ‚¬', Dotum, sans-serif;
  background: var(--surface-muted);
  color: var(--text);
}

.app-shell {
  max-width: var(--shell-width, 460px);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface);
  position: relative;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 0rem;
  padding: 0.3rem .5rem;
  padding-left: .13rem;
  border-bottom: 1px solid var(--line);
  /* position: sticky; */
  /* top: 0; */
  background: var(--hero);
  z-index: 20;
  color: white;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: inherit;
}

.brand strong {
  font-size: 1.2rem;
}

.logo {
  width:80px;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.icon-btn {
  border: none;
  background: none;
  padding: 0.35rem;
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  cursor: pointer;
  font-size:14px;
}

.icon-btn.ghost {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
}

.icon {
  position: relative;
  display: inline-flex;
}

.svg-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-bars {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.icon-bars::before,
.icon-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.icon-bars::before {
  top: -5px;
}

.icon-bars::after {
  top: 5px;
}

.icon-search {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 7px;
  background: currentColor;
  right: -4px;
  bottom: -2px;
  transform: rotate(45deg);
}

.icon-moon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.icon-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  margin-left: 4px;
}

.app-bar-actions {
  margin-left: auto;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.login-btn {
  border: 1px solid #04b942;
  background: #06c755;
  color: #fff;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0rem;
  font-size: .7rem;
}

.login-btn .line-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  object-fit: contain;
  margin-right: 0.25rem;
}

.search-strip {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface-muted);
  border-radius: 12px;
}

.search-input .prefix {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.search-input input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 0.95rem;
  outline: none;
}

.gallery-head {
  padding: 1.2rem 1rem 0.8rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-head h1 {
  margin: 0.2rem 0;
  font-size: 1.45rem;
}

.gallery-head .label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: -0.05em;
}

.gallery-head .meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.gallery-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pill-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.pill-btn.ghost {
  border-color: transparent;
  color: var(--text-muted);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
}

.info-cards article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: var(--surface-muted);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.info-cards strong {
  font-size: 1.2rem;
}

.info-cards .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
}

.best-panel {
  padding: 0rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.best-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .85rem;
}

.best-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.best-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.star-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 0.1rem 0.3rem;
  cursor: pointer;
  color: #f5b301;
  font-size: 0.9rem;
}

.best-count {
  color: #6c63ff;
  font-weight: 600;
  font-size: 0.8rem;
}

.subcat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0.7rem;
  /* border-top: 1px solid rgba(0, 0, 0, 0.06); */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  gap: 1rem;
}


.subcat-buttons {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.subcat-btn {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: #4c4c4c;
  cursor: pointer;
  /*transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;*/
  text-decoration: none;
}

.subcat-btn.active {
  background: var(--hero);
  color: #fff;
  border-color: var(--hero);
}

.subcat-more {
  border: 1px solid #4c4c4c;
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  background: linear-gradient(180deg, #4c4c4c, #1d1d1d);
  color: #fff;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

#more-best {
  background: var(--hero);
  color: white;
  border-color: var(--hero);
  font-size: 0.84rem;
}


.best-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.select-group {
  display: flex;
  gap: 0.4rem;
}

.select-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: #3a3a3a;
  cursor: pointer;
}

.view-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.view-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  color: #9d9d9d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view-btn.active {
  background: var(--hero);
  color: #fff;
}

.icon-list,
.icon-grid {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
}

.icon-grid {
  border-radius: 2px;
  position: relative;
}

.icon-grid::before,
.icon-grid::after {
  content: "";
  position: absolute;
  border-top: 2px solid currentColor;
  width: 100%;
  left: -2px;
}

.icon-grid::before {
  top: 4px;
}

.icon-grid::after {
  bottom: 4px;
}

.icon-list {
  border: none;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.icon-list::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  border-top: 2px solid currentColor;
}

.best-more-btn {
  border: 1px solid #4c4c4c;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(180deg, #444, #222);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.best-highlight {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-top: .2rem solid rgba(0, 0, 0, 0.05);
  border-bottom: .2rem solid rgba(0, 0, 0, 0.05);
  padding: 0.4rem 0.7rem;
}

.best-highlight p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  color: #333;
  letter-spacing: -0.05em;
}

.best-ad {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.92rem;
  color: #c02478;
}

.collapse-arrow {
  border: none;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.arrow-icon {
  width: 18px;
  height: 18px;
  color: #4c4c4c;
  transition: transform 0.2s ease;
  font-size:.5rem;
}

.collapse-arrow[aria-expanded="true"] .arrow-icon {
  transform: rotate(180deg);
}

.best-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: none;
  border-bottom: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, border 0.2s ease;
}

.best-list.expanded {
  max-height: 600px;
  border-bottom: 1px solid var(--line);
}

.best-item {
  padding: 0.5rem 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.title-text {
  font-size: 14px;
  letter-spacing: -0.05em;
  color: #333;
  display: inline-block;
  text-decoration: none;
}
.best-item:first-child {
  border-top: none;
}

.best-item-title {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.05em;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.badge.hot {
  background:rgba(90, 134, 76, 0.14);
  color: var(--hero);
}

.badge.ad {
  border: 1px solid #ff629c;
  color: #ff1f87;
  background: rgba(255, 119, 177, 0.08);
}
.tab-nav {
  display: flex;
  overflow-x: auto;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.tab-btn {
  border: none;
  background: var(--surface-muted);
  border-radius: 999px;
  padding: 0.45rem .8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.tab-btn.active {
  background: rgba(215, 25, 45, 0.15);
  color: var(--primary);
}

.filter-bar {
  padding: 0.3rem 1rem;
  display: flex;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.select-wrap {
  flex-shrink: 0;
  /* border: 1px solid var(--line); */
  /* border-radius: 12px; */
  padding: 0.2rem 0.5rem;
  background: var(--surface);
}

.select-wrap select {
  border: none;
  font-size: 0.9rem;
  background: transparent;
  outline: none;
}

.chip-group {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
}

.chip {
  border: 0px;
  background: transparent;
  /* border-radius: 999px; */
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: -0.05em;
}

.post-list {
  display: flex;
  flex-direction: column;
}

.post-list-heading {
  margin: 0.6rem 0.85rem 0.2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: -0.04rem;
}

.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-card-link:focus-visible,
.post-card-link:hover {
  background: rgba(0, 0, 0, 0.02);
}

.post-card-link.active {
  background: linear-gradient(90deg, rgba(90, 134, 76, 0.12), rgba(90, 134, 76, 0.04));
  border-left: 3px solid var(--hero);
  padding-left: calc(0.7rem - 3px);
}

.post-card-link:visited .title-text,
.post-card-link:visited .post-no {
  color: #919191;
}
.post-card-link.active .title-text,
.post-card-link.active .notice-title,
.post-card-link.active .post-no {
  color: var(--primary-dark);
  font-weight: 600;
}

.post-card-link:visited .notice-title {
  color:#333;
}

.post-card {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.post-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  display: none;
}

.post-card h3 {
  margin: 0.15rem 0;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: -0.05em;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0rem;
}

.post-card h3 .title-text {
  max-width: 78vw;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: none;
}

.post-card.notice-card {
  background: #f4faf0;
  padding: 0.8rem 0.7rem;
}

.notice-line {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  letter-spacing: -0.05em;
  color: #222;
}
.borderline {
  height:30px;
}
.notice-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  margin-right: 0.35rem;
  background: rgba(90, 134, 76, 0.14);
  color: var(--hero);
  padding: 0.18rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.notice-title {
  font-weight: 600;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
  letter-spacing: -0.05em;
  font-size: 0.73rem;
  color: var(--text-muted);
}

.new-icon {
  width: 14px;
  height: 14px;
  margin-left: 0.2rem;
  vertical-align: middle;
}

.inline-icon {
  width: 14px;
  height: 14px;
  margin-left: 0.2rem;
  vertical-align: middle;
  display: inline-block;
  color: var(--hero);
}

.comment-count {
  margin-left: 0.2rem;
  color: #fe6700;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0;
}

.read-panel {
  background: #fff;
}
.read-heading {
  padding: .5rem .85rem;
}
.read-heading .best-title-wrap h2 {
  font-size: 1.08rem;
  letter-spacing: -0.04rem;
}

.read-heading .read-category {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.read-heading-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.read-heading-actions button {
  border: 1px solid var(--line);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

.read-heading-actions .write-link,
.best-heading > .write-link {
  border-radius: 0px;
  padding: 0.4rem 0.8rem;
  width:75px;
  text-align:center;
  background: var(--hero);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.read-article {
  border-top: 3px solid var(--line);
  padding: 0.2rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.read-author-row {
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.read-author-row span {
  display: inline-flex;
  align-items: center;
}

.read-dot {
  color: rgba(0, 0, 0, 0.25);
}

.read-title {
  padding: 8px 0px 0px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.4;
  letter-spacing: -0.07rem;
  color: #111;
  font-weight: 600;
}

.read-stats-line {
  display: flex;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--text);
  letter-spacing: -0.05em;
}

.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.read-body {
  padding:1rem 0rem;
  font-size: 14px;
  margin-top:.2rem;
  line-height: 1.7;
  color: #222;
  white-space: normal;
  letter-spacing: -0.05em;
  border-top: 1px solid var(--line);
}

.comment-panel {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.05em;
  gap: 0rem;
}

.comment-toolbar {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.comment-nav-btn {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #121316;
  border-radius: 4px;
  padding: 0.42rem 0;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  text-decoration: none;
}

.comment-nav-btn.primary {
  background: var(--hero);
  color: #fff;
  border-color: var(--hero);
}

.comment-header {
  display: flex;
  flex-direction: row;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.85rem;
  justify-content: space-between;
}

.comment-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.comment-title span {
  color: #d7192d;
}

.comment-refresh {
  border: none;
  background: transparent;
  font-size: 0.95rem;
  cursor: pointer;
  color: #4a4c57;
}

.comment-filters {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.86rem;
  color: #4f4f4f;
}

.comment-action {
  border: none;
  background: transparent;
  font-size: 0.86rem;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.comment-action.active {
  font-weight: 600;
  color: var(--hero);
}

.comment-filters .divider {
  color: rgba(0, 0, 0, 0.25);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-item {
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comment-item.reply {
  background: #f2f6ff;
  padding-left: 1.5rem;
}

.comment-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.92rem;
  color: #222;
}

.comment-body p {
  margin: 0.05rem 0;
  font-size:13px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  line-height:1.5;
}
.comment-author strong {
  font-weight: 500;
}

.comment-date {
  color: #999;
  font-size: 12px;
  line-height:1.5;
  margin-top:1px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem 0.85rem;
}

.comment-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  min-height: 88px;
  padding: 0.6rem;
  font-size: 0.9rem;
  resize: vertical;
  font-family: inherit;
}

.comment-form textarea:focus {
  outline: none;
  border-color: #3f4c97;
}

.comment-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-count-hint {
  font-size: 0.82rem;
  color: #7b7b7b;
}

.comment-form-actions button {
  border: none;
  background: var(--hero);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.single-post-card {
  margin: 0.75rem 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.single-post-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.single-label {
  font-weight: 600;
  color: var(--hero);
}

.single-post-card h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.04rem;
}

.single-body {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.post-no {
  font-variant-numeric: tabular-nums;
}

.badge {
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge.notice {
  background: rgba(32, 86, 255, 0.12);
  color: #1d3ecf;
}

.badge.trip {
  background: rgba(11, 167, 111, 0.12);
  color: #0b976d;
}

.badge.story {
  background: rgba(255, 140, 0, 0.15);
  color: #b76300;
}

.badge.popular {
  background: rgba(215, 25, 45, 0.18);
  color: var(--primary);
}

.badge.mini {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #f4f4f4;
  color: #555;
}

.badge.mini.soft {
  background: rgba(227, 48, 47, 0.14);
  color: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Write form */
.write-panel {
  margin-top: 0rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-width: 1px 0;
  border-radius: 0;
  background: #fff;
}

.write-heading {
  padding: 0.45rem 0.85rem;
  border-bottom: 0px solid var(--line);
}

.write-heading .read-category {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.write-heading-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.write-heading-actions .ghost-btn {
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

.write-heading-actions .write-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  cursor: pointer;
  justify-content: center;
}

.write-heading-actions .write-count {
  font-size: 0.75rem;
  opacity: 0.8;
}

.write-action-btn {
  border-radius: 4px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}

.write-action-btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.write-action-btn.ghost {
  background: #f7f7f7;
}

.write-action-btn.large {
  min-width: 110px;
  font-size: 0.92rem;
  padding: 0.65rem 1.1rem;
}

.write-action-btn .count {
  font-size: 0.85rem;
  margin-left: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
}

.write-form {
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.93rem;
  line-height: 1;
}

.write-block {
  padding: 0rem 0rem;
  /* border-bottom: 1px solid var(--line); */
}

.write-form .write-block:first-child {
  border-top: 1px solid var(--line);
}

.write-form .write-block:last-child {
  border-bottom: none;
  padding: 1rem 0.8rem;
}

.body-block {
  padding: 0;
  border-bottom: none;
  font-size:0;
}

.body-block + .write-block {
  border-top: 0px solid var(--line);
}

.write-tabs.write-block {
  padding: 0.5rem 0.8rem;
}

.board-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tab-btn {
  border-radius: 1px;
  border: 1px solid transparent;
  background: var(--surface-muted);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #555;
}

.tab-btn.active {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.write-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.write-field input {
  border: 1px solid var(--line);
  border-radius: 0px;
  border-left:0px;
  border-right:0px;
  padding: 0.9rem 0.85rem;
  font-size: 16px;
}

.write-field input:focus,
.write-body-field:focus {
  outline: none;
  box-shadow: none;
}

#write-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #111;
}

.field-label {
  font-weight: 600;
  color: #333;
}

.editor-toolbar {
  border: 0px solid rgba(15, 23, 42, 0.1);
  border-left: 0;
  border-right: 0;
  padding: 0.25rem 0.85rem;
  background: #fbfbfd;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
}

.toolbar-group {
  display: inline-flex;
  gap: 0.2rem;
}

.editor-toolbar .toolbar-group select,
.editor-toolbar .toolbar-group input[type="color"],
.editor-toolbar .tool-btn {
  height: 32px;
  min-height: 32px;
}

.toolbar-group select {
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  background: linear-gradient(#ffffff, #f4f5f9);
  font-family: inherit;
  font-size: 0.82rem;
  color: #2c2c2c;
}

.toolbar-group input[type="color"] {
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: linear-gradient(#ffffff, #f4f5f9);
  padding: 2px;
  width: 40px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.toolbar-group input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 4px;
}

.toolbar-group input[type="color"]::-webkit-color-swatch {
  border-radius: 4px;
  border: none;
}

.toolbar-buttons {
  display: inline-flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.tool-btn {
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 6px;
  background: linear-gradient(#ffffff, #f2f3f7);
  padding: 0.25rem 0.5rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  min-width: 34px;
  height: 32px;
  color: #2a2a2a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tool-btn.wide {
  min-width: 54px;
}

.tool-btn.active {
  border-color: #f2c43c;
  background: linear-gradient(#fffbd2, #ffe34f);
  color: #1f1f1f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tool-btn.bold {
  font-weight: 700;
}

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

.tool-btn.underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.tool-btn.strike {
  text-decoration: line-through;
}

.tool-btn.highlight {
  background: linear-gradient(#fff59e, #ffe54f);
  color: #1f1f1f;
}

.tool-btn.link {
  position: relative;
}

.tool-btn.link::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 4px;
  margin-left: 4px;
  border-left: none;
  border-right: none;
}

.write-notices {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.write-notices .notice {
  font-weight: 500;
}

.write-notices .blue {
  color: #156dff;
}

.write-notices .red {
  color: #e3302f;
}

.write-notices .green {
  color: #1a9c4c;
}

.write-notices .purple {
  color: #7a45d6;
}

.write-body-field {
  width: 100%;
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  min-height: 280px;
  padding: 0.75rem 0.85rem;
  font-size: 14px;
  resize: vertical;
  letter-spacing: -0.03em;
  font-family: initial;
  line-height:1.5;
}

.editor-surface {
  white-space: pre-wrap;
  word-break: break-word;
  outline: none;
  min-height: 280px;
}

.editor-surface:empty:before {
  content: attr(data-placeholder);
  color: #9aa0a9;
}

.attach-toolbar {
  border: none;
  background: transparent;
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  justify-content: flex-start;
}

.attach-btn {
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.attach-btn.icon-only {
  width: 42px;
  height: 34px;
  min-width: 34px;
}

.attach-btn.icon-only img {
  display: block;
  width: 30px;
  height: 30px;
}

.ai-helper {
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ai-helper strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #333;
}

.ai-helper p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.ai-more-btn {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.write-guide-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #616161;
  font-size: 0.9rem;
}

.adult-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.1rem;
  padding: 0.5rem 0.8rem;
}

.adult-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #333;
}

.info-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  inset: 0;
  background: #d9d9d9;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.toggle-switch .slider::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}

.toggle-switch input:checked + .slider {
  background: var(--primary);
}

.toggle-switch input:checked + .slider::after {
  transform: translateX(24px);
}

.write-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0;
}

@media (max-width: 640px) {
  .write-panel {
    border-radius: 0;
    border: none;
  }

  .code-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .write-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .write-action-btn {
    flex: 1;
    text-align: center;
  }

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

  .write-actions .write-action-btn {
    width: 100%;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.2rem 0;
}

.page-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  color: #222;
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 480px) {
  .pagination {
    gap: 0.25rem;
    padding: 1rem 0;
  }

  .page-btn {
    font-size: 0.95rem;
    padding: 0.45rem 0.95rem;
    min-width: 42px;
  }
}

.bottom-cta {
  display: flex;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
  margin-top:0.5rem;
}

.cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cta-btn.ghost {
  border: 1px solid rgba(90, 134, 76, 0.4);
  color: #466336;
  background: #fff;
}

.cta-btn.primary {
  border: 1px solid var(--hero);
  background: var(--hero);
  color: #fff;
}

.bottom-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.scope-select {
  border: 1px solid rgba(90, 134, 76, 0.35);
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  color: #466336;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  cursor: pointer;
  font-weight: 600;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid rgba(90, 134, 76, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.search-field input {
  flex: 1;
  border: none;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  outline: none;
  background:#fff;
}

.search-submit {
  border: none;
  background: #ffffff;
  color: var(--hero);
  width: 48px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dc-footer {
  background: linear-gradient(180deg, #45653a, #304729);
  color: #dde6db;
  padding: 1rem 1rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
}

.footer-pills {
  display: flex;
  gap: 0.5rem;
}

.footer-pills button {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 40, 27, 0.35);
  color: inherit;
  border-radius: 12px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(220, 230, 215, 0.78);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  row-gap: 0.2rem;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.78;
}

.panel-grid {
  padding: 0 1rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface-muted);
}

.panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.panel h2 {
  margin: 0;
  font-size: 1rem;
}

.panel ul,
.panel ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.panel ul li,
.panel ol li {
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.app-footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  font-size: 0.85rem;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 30;
}

.nav-btn {
  border: none;
  background: transparent;
  padding: 0.45rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-btn.active {
  color: var(--primary);
}

.icon-home,
.icon-board,
.icon-notice,
.icon-my,
.icon-pencil {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-sizing: border-box;
}

.icon-home {
  border-radius: 0;
  transform: rotate(45deg);
  border-top: none;
  border-right: none;
}

.icon-board::after {
  content: "";
  position: absolute;
  inset: 4px 3px;
  border-top: 1px solid currentColor;
}

.icon-notice {
  border-radius: 50%;
}

.icon-my {
  border-radius: 50% 50% 40% 40%;
}

.icon-pencil {
  border-radius: 999px;
  transform: rotate(-45deg);
}

#refresh-btn.spinning {
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

.dark-mode {
  --surface: #111216;
  --surface-muted: #1a1b20;
  --line: #272932;
  --text: #f6f6f8;
  --text-muted: #9ea1a7;
}

.dark-mode .app-shell {
  box-shadow: none;
}

.dark-mode .info-cards article,
.dark-mode .panel {
  background: #18191f;
}

.dark-mode .chip,
.dark-mode .select-wrap,
.dark-mode .pill-btn {
  border-color: #353744;
}

.dark-mode .bottom-nav {
  background: #14151a;
}

@media (min-width: 600px) {
  .info-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-actions {
    flex-direction: row;
  }
}

.home-shell {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 0 2rem;
}

.home-hero {
  margin: 0.6rem 1rem 0;
  padding: 1.25rem 1.1rem 1.4rem;
  background: linear-gradient(135deg, #f2f6ed, #e6efe1);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(90, 134, 76, 0.18);
}

.hero-copy h1 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-copy .hero-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(90, 134, 76, 0.12);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
}

.hero-actions .cta-btn {
  flex: 1;
  height: 42px;
  border-radius: 6px;
  border: 1px solid rgba(90, 134, 76, 0.3);
}

.hero-actions .cta-btn.ghost {
  border-color: rgba(90, 134, 76, 0.35);
  color: var(--hero);
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  border: 1px solid rgba(90, 134, 76, 0.2);
  border-radius: 10px;
  padding: 0.7rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  background: #fff;
}

.hero-stats strong {
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(90, 134, 76, 0.12);
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.home-notice {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.notice-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.more-link {
  font-size: 0.82rem;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.notice-list li + li {
  border-top: 1px solid var(--line);
}

.notice-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  text-decoration: none;
  color: inherit;
}

.notice-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.notice-excerpt {
  grid-column: 1 / 3;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.notice-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.home-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.home-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-card-head h3 {
  margin: 0.25rem 0 0;
  font-size: 1rem;
}

.chip {
  font-size: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  line-height: 1.2;
}

.home-rate {
  padding: 0 1rem;
}

.rate-card {
  flex-direction: column;
  gap: 0.65rem;
}

.rate-footnote,
.weather-footnote {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rate-refresh {
  border: 1px solid rgba(90, 134, 76, 0.35);
  background: transparent;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  color: var(--primary-dark);
  cursor: pointer;
}

.rate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rate-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.rate-list li:first-child {
  border-top: none;
}

.rate-label {
  font-weight: 600;
  color: var(--text);
}

.rate-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.rate-value {
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.rate-change {
  font-size: 0.82rem;
  font-weight: 600;
}

.rate-change.up {
  color: #d9480f;
}

.rate-change.down {
  color: #0f7b57;
}

.home-weather {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem;
}

.weather-head {
  padding: 0;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.weather-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.weather-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.weather-city {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.weather-condition {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.weather-aqi {
  font-size: 0.75rem;
  background: rgba(90, 134, 76, 0.15);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-weight: 600;
}

.weather-temp {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.weather-temp small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.weather-minmax,
.weather-extra {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.home-banner {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.75rem;
}

.banner-card {
  border: 1px solid rgba(90, 134, 76, 0.25);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(90, 134, 76, 0.08), rgba(255, 255, 255, 0));
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.banner-card.secondary {
  background: linear-gradient(135deg, rgba(41, 54, 35, 0.9), rgba(41, 54, 35, 0.65));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.banner-card h3 {
  margin: 0;
  font-size: 1rem;
}

.banner-card p {
  margin: 0;
  font-size: 0.85rem;
  color: inherit;
}

.banner-card .cta-btn {
  margin-top: 0.3rem;
  width: fit-content;
  padding: 0 1.1rem;
  height: 36px;
  border-radius: 6px;
}

@media (min-width: 520px) {
  .home-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

