/*
 * Add-on for the React pages (2026-11 landing page). The new landing page is
 * the home page, so the article list (/feed) drops the old "Discover Great
 * Deals" banner and gets a plain heading instead (inserted by site.v1.js).
 */
.homePage_banner { display: none !important; }

.ld_feedHead { margin: 4px 0 18px; }
.ld_feedHead_back { display: inline-block; font-size: 14px; color: #c2502f; text-decoration: none; margin-bottom: 6px; }
.ld_feedHead_back:hover { text-decoration: underline; }
.ld_feedHead h1 { font-size: 24px; line-height: 1.3; font-weight: 700; margin: 0 0 4px; padding-left: 12px; border-left: 4px solid #f0775b; color: #222; }
.ld_feedHead p { margin: 0; padding-left: 16px; font-size: 15px; color: #666; line-height: 1.6; }
@media screen and (max-width: 600px) {
  .ld_feedHead { margin: 4px 2px 14px; }
  .ld_feedHead h1 { font-size: 21px; }
}

/*
 * Theme: the same look as the landing page (font, light grey page, white
 * cards with a thin border and rounded corners, orange buttons). Only colours,
 * borders, corners and type change: the layout of the React pages stays as it is.
 * Selectors start with "html" because the bundle injects its own <style> tags
 * after this file, and those win any tie.
 */
html body {
  background: #f2f2f2;
  font-family: "Helvetica Neue", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* white cards */
html .homePage_postItem,
html .post_article,
html .post_comment,
html .post_sidebar {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}
html .homePage_postItem,
html .post_sidebar { overflow: hidden; }
@media screen and (min-width: 1024px) {
  html .post_toolbar_body { border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; }
}

/* phones: a small gap at the sides so the cards' corners show, like the landing page */
@media screen and (max-width: 659px) {
  html .homePage_postList { padding-left: 10px; padding-right: 10px; box-sizing: border-box; }
  html .post_article,
  html .post_comment,
  html .post_sidebar { width: auto; margin-left: 10px; margin-right: 10px; }
}

/* article list */
html .homePage_postItem_title { color: #222; font-weight: 600; }
html .homePage_postItem_cover { border-radius: 6px; overflow: hidden; }

/* article */
html .post_title { color: #222; }
html .rceEditor_blockStyle_greyBg > .public-DraftStyleDefault-block { border-radius: 8px; }
html .galleryBlock_item .imageWrapper { border-radius: 6px; overflow: hidden; }
html .iframeBlock iframe { border-radius: 8px; }
html .post_sidebar_item img,
html .post_sidebar_item .imageWrapper { border-radius: 6px; overflow: hidden; }

/* group-buy block and its button: orange, like the landing page's "交押金预订" */
html .groupBuyBlock .mediaCard { border: 1px solid #e6e6e6; border-radius: 8px; box-shadow: none; }
html .mediaCard_linkButton { background: #e8684b; border-color: #e8684b; color: #fff; border-radius: 6px; font-weight: 600; }
html .mediaCard_linkButton .buttonContent { color: #fff; }
html .mediaCard_linkButton:hover { background: #d85a3e; border-color: #d85a3e; }
