.kg-image-card img {
    width: 100%;
    height: auto;
}

/* feature image 跟內文文字同寬 */
.gh-article-image { grid-column: main; }

/* footer bar：只留一行文字，置中 */
.gh-footer-bar {
  display: flex;
  justify-content: center;
}
.gh-footer-logo,
.gh-footer-menu,
.gh-footer-copyright {
  display: none;
}
.gh-footer-bar::after {
  content: "© 2026. All rights reserved.";
  color: rgba(0,0,0,0.5);
  font-size: 13px;
}

/* Hide featured feeds (only the direct-child small-card list next to the hero;
   NOT the .gh-featured "精選" section, which reuses the same gh-featured-feed class
   nested deeper) */
.gh-header-right > .gh-featured-feed {
  display: none !important;
}

/* highlight / bold 樣式 */
mark {
  background: transparent;
  color: inherit;
  padding: 0 2px;
  background-image: linear-gradient(120deg, #FFE58A 0%, #FFD84D 100%);
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 88%;
}
.gh-content strong {
  text-decoration: underline;
  text-decoration-color: #FF1A75;
  text-decoration-thickness: 3px;
  text-decoration-skip-ink: none;
  text-underline-offset: 4px;
}

/* 首頁右側 note / 系列 側欄 */
.note-sidebar-block { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.note-sidebar-block h3 { font-size: 13px; font-style: italic; font-weight: 700; letter-spacing: 0.04em; color: #000; margin: 0 0 8px; text-transform: uppercase; }
.note-card-image { display: none; }
.note-card {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  line-height: 1.5;
}
.note-card:first-child { border-top: none; padding-top: 0; }
.note-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note-card-body { flex: 1; min-width: 0; }
.note-date { display: block; font-size: 11px; color: rgba(0,0,0,0.4); margin-bottom: 2px; }
.note-title-link { color: inherit; text-decoration: none; }
.note-title-link:hover { opacity: 0.7; }
.note-title-link strong { display: block; margin-bottom: 4px; }
.note-card p { margin: 0; color: rgba(0,0,0,0.65); }
.note-more { color: inherit; font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* 編輯按鈕跟分享按鈕同款外框風格 */
.gh-button-edit {
  background: transparent;
  border: 1px solid var(--color-border);
  color: inherit;
}
.gh-button-edit:hover {
  background: rgba(0,0,0,0.05);
}
