/* ==========================================================================
   Find Funeral Hong Kong — Quiet Guidance Desk Theme
   Design System: Quiet Desk (Trust & Authority + Editorial Reading)
   Tokens:
     - Canvas: #fbf6ef (Warm paper ground)
     - Surface: #f3ebe1 (Secondary surface, footer, badges)
     - Elevated: #fffcf8 (Card ground)
     - Text: #2c2825 (Charcoal body & headings)
     - Muted: #6b635c (Labels, captions, secondary copy; contrast 5.34:1)
     - Jade: #3d6b5e (Soft trust green — cues, active nav, controls)
     - Jade Hover: #2f564b (Deeper jade for hover / press)
     - Sage: #e8efe9 (Calm information wash)
     - Blush: #f7efe8 (Soft companion wash)
     - Border: #e5dbd0 (Soft dividers)
     - Clay: #a66b5a (Focus outline & notices)
   ========================================================================== */

:root {
  --ff-canvas: #fbf6ef;
  --ff-surface: #f3ebe1;
  --ff-elevated: #fffcf8;
  --ff-text: #2c2825;
  --ff-muted: #6b635c;
  --ff-jade: #3d6b5e;
  --ff-jade-hover: #2f564b;
  --ff-sage: #e8efe9;
  --ff-blush: #f7efe8;
  --ff-border: #e5dbd0;
  --ff-clay: #a66b5a;
  --ff-shadow-subtle: 0 4px 16px rgb(60 45 35 / 4%);
  --ff-shadow-card: 0 8px 24px rgb(60 45 35 / 6%);
  --ff-shadow-hover: 0 14px 36px rgb(60 45 35 / 11%);

  /* Casper variable overrides */
  --color-darkgrey: #2c2825;
  --color-midgrey: #6b635c;
  --color-lightgrey: #f3ebe1;
  --color-secondary-text: #6b635c;
  --color-border: #e5dbd0;
  --color-wash: #e8efe9;
  --ghost-accent-color: #3d6b5e;

  /* Typography */
  --font-sans: "Noto Sans HK", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti TC", "Songti SC", "STSong", "PMingLiU", Georgia, serif;
  --gh-font-heading: "Songti TC", "Songti SC", "STSong", Georgia, serif;
  --gh-font-body: "Noto Sans HK", "Noto Sans TC", system-ui, -apple-system, sans-serif;
}

/* Base Document & Accessibility Floor */
html {
  background-color: var(--ff-canvas);
  box-sizing: border-box;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background-color: var(--ff-canvas);
  color: var(--ff-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.viewport {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Visible Keyboard Focus (ui-ux-pro-max requirement) */
:focus-visible {
  outline: 2px solid var(--ff-jade);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header & Navigation */
#gh-head {
  background: var(--ff-canvas);
  border-bottom: 1px solid var(--ff-border);
  position: relative;
  z-index: 100;
  height: auto;
}

#gh-head .gh-head-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 68px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  grid-template-columns: none !important;
  gap: 24px;
}

#gh-head .gh-head-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  height: auto;
}

#gh-head .gh-head-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ff-text);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
}

#gh-head .gh-head-logo:hover {
  color: var(--ff-jade);
}

#gh-head .gh-head-menu {
  display: flex !important;
  align-items: center !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
}

#gh-head .gh-head-menu .nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

#gh-head .gh-head-menu .nav > li,
body:not(.is-dropdown-loaded) #gh-head .gh-head-menu .nav > li {
  margin: 0;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

#gh-head .gh-head-menu .nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  color: var(--ff-muted);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

#gh-head .gh-head-menu .nav a:hover {
  color: var(--ff-text);
  background-color: var(--ff-surface);
}

#gh-head .gh-head-menu .nav li.nav-current a {
  color: var(--ff-jade);
  font-weight: 600;
}

#gh-head .gh-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gh-search,
.gh-burger {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--ff-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.gh-search:hover,
.gh-burger:hover {
  background-color: var(--ff-surface);
  color: var(--ff-jade);
}

.gh-search svg {
  width: 20px;
  height: 20px;
}

/* Strictly hide forbidden and marketing chrome */
.site-description,
.site-header-content,
.gh-head-members,
.gh-powered-by,
.site-footer-social-links,
.footer-cta,
.gh-button-share,
.post-card-access,
.article-comments,
.gh-burger {
  display: none !important;
}

/* Home Section — Quiet Reading Desk */
.ff-home {
  padding: 48px 0 36px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ff-kicker {
  margin: 0 0 12px;
  color: var(--ff-jade);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ff-title {
  margin: 0 0 16px;
  max-width: 16em;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ff-text);
  word-break: break-word;
}

.ff-lede {
  margin: 0 0 32px;
  max-width: 40em; /* Measure under 80 characters */
  color: var(--ff-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Three Quiet Intro Icon Items */
.ff-intro-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
}

.ff-intro-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ff-surface);
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--ff-shadow-subtle);
  min-height: 56px;
}

.ff-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
}

.ff-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ff-jade);
}

.ff-item-text {
  font-size: 14.5px;
  color: var(--ff-text);
  line-height: 1.55;
  font-weight: 500;
}

/* Two-Path Cards */
.ff-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.ff-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--ff-border);
  background-color: #d9cfc4;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--ff-shadow-card);
  cursor: pointer;
  position: relative;
  /* Hover feedback without layout shift: no scale, no translate */
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.ff-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ff-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(44 40 37 / 18%) 0%, rgb(44 40 37 / 82%) 100%);
  z-index: 2;
  pointer-events: none;
}

.ff-card:hover {
  border-color: rgba(61, 107, 94, 0.45);
  box-shadow: var(--ff-shadow-hover);
}

.ff-card:focus-visible {
  outline: 3px solid var(--ff-jade);
  outline-offset: 4px;
}

.ff-card-urgent {
  background-image: linear-gradient(180deg, rgb(44 40 37 / 15%) 0%, rgb(44 40 37 / 80%) 100%), url("../images/quiet/path-urgent.webp");
}

.ff-card-plan {
  background-image: linear-gradient(180deg, rgb(44 40 37 / 12%) 0%, rgb(44 40 37 / 78%) 100%), url("../images/quiet/path-planning.webp");
}

.ff-card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  padding: 28px 28px 32px;
  position: relative;
  z-index: 3;
}

.ff-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  background-color: var(--ff-elevated);
  border: 1px solid var(--ff-border);
  box-shadow: 0 2px 10px rgb(44 40 37 / 22%);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.ff-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ff-jade);
}

.ff-card-title {
  margin: 0;
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgb(44 40 37 / 65%);
}

.ff-card-sub {
  margin: 0;
  display: block;
  font-family: var(--font-sans);
  color: rgba(255, 252, 248, 0.94);
  font-size: 0.98rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgb(44 40 37 / 65%);
}

/* Jade rail joint between the two paths */
.ff-rail-joint {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 64px;
  border-radius: 999px;
  background: var(--ff-jade);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 2px 10px rgb(60 45 35 / 16%);
  z-index: 2;
}

/* Posts Feed Section */
.inner.posts {
  max-width: 1200px;
  margin: 48px auto 60px;
  padding: 0;
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 560px));
  gap: 28px;
}

.post-card {
  max-width: 560px;
  background: var(--ff-elevated);
  border: 1px solid var(--ff-border);
  border-radius: 16px;
  box-shadow: var(--ff-shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  /* Hover without layout shift */
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.post-card:hover {
  border-color: rgba(61, 107, 94, 0.35);
  box-shadow: var(--ff-shadow-card);
}

.post-card-content {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-tags {
  margin-bottom: 8px;
}

.post-card-primary-tag {
  color: var(--ff-jade);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.post-card-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ff-text);
  letter-spacing: -0.01em;
}

.post-card-excerpt {
  margin: 0 0 16px;
  color: var(--ff-muted);
  font-size: 0.95rem;
  line-height: 1.68;
  max-width: 55ch;
}

.post-card-meta {
  margin-top: auto;
  color: var(--ff-muted);
  font-size: 0.85rem;
  display: flex;
  gap: 12px;
}

/* Reading Layout: Post & Page */
.article {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0 80px;
}

.article-header {
  max-width: 680px; /* Measure under 80 characters */
  margin: 24px auto 32px;
}

.article-tag {
  margin-bottom: 16px;
}

.sample-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ff-muted);
  background: var(--ff-surface);
  border: 1px solid var(--ff-border);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ff-text);
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  word-break: break-word;
}

.article-excerpt {
  color: var(--ff-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--ff-border);
  color: var(--ff-muted);
  font-size: 14px;
}

.byline-meta-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bull {
  color: var(--ff-border);
}

/* Article & Page Content — Quiet Reading Measure */
.gh-content {
  max-width: 680px; /* Optimal reading measure for Traditional Chinese */
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ff-text);
}

.gh-content p {
  margin: 0 0 1.6em;
  max-width: 680px;
  word-break: break-word;
}

.gh-content h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ff-text);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 2.2em 0 0.8em;
}

.gh-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ff-text);
  margin: 1.8em 0 0.6em;
}

.gh-content a {
  color: var(--ff-jade);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.16s ease;
}

.gh-content a:hover {
  color: var(--ff-jade-hover);
}

/* Figure, Infographic & Visual Components */
figure {
  margin: 28px 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

figure img,
.article-image img,
.gh-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-subtle);
  background-color: var(--ff-surface);
  object-fit: cover;
}

figcaption,
.ff-figure-caption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ff-muted);
  text-align: center;
  line-height: 1.5;
}

.ff-figure-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ff-muted);
  text-align: center;
  line-height: 1.5;
}

/* About Steps Infographic */
.ff-steps-infographic {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 28px 0 36px;
  width: 100%;
  box-sizing: border-box;
}

.ff-step-card {
  flex: 1;
  background: var(--ff-elevated);
  border: 1px solid var(--ff-border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--ff-shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.ff-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  background: var(--ff-surface);
  border: 1px solid var(--ff-border);
  flex-shrink: 0;
}

.ff-step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ff-jade);
}

.ff-step-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-jade);
  background: var(--ff-sage);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}

.ff-step-text {
  margin: 0 !important;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ff-text);
}

.ff-step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ff-border);
  flex-shrink: 0;
}

.ff-step-divider svg {
  width: 20px;
  height: 20px;
  stroke: var(--ff-border);
}

/* Envelope Infographic */
.ff-envelope-figure {
  margin: 28px 0 32px;
  width: 100%;
}

.ff-envelope-card {
  background: var(--ff-elevated);
  border: 1px solid var(--ff-border);
  border-radius: 18px;
  box-shadow: var(--ff-shadow-card);
  padding: 28px 24px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.ff-envelope-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.ff-env-zone {
  background: var(--ff-surface);
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
  box-sizing: border-box;
}

.ff-env-zone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ff-env-zone-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--ff-jade);
  flex-shrink: 0;
}

.ff-env-zone-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ff-jade);
  letter-spacing: 0.04em;
}

.ff-env-zone-desc {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ff-text);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--ff-surface);
  border-top: 1px solid var(--ff-border);
  color: var(--ff-muted);
  padding: 40px 0;
  margin-top: 60px;
}

.site-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer .copyright,
.site-footer .copyright a {
  color: var(--ff-muted);
  font-size: 14.5px;
  text-decoration: none;
}

.site-footer .copyright a:hover {
  color: var(--ff-text);
}

.site-footer-nav .nav {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-nav a {
  color: var(--ff-muted);
  font-size: 14.5px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer-nav a:hover {
  color: var(--ff-text);
}

/* Mobile viewport optimizations (max-width: 767px, e.g. 390px iPhone) */

@media (max-width: 767px) {
  html, body {
    max-width: 390px !important;
    margin: 0 !important;
  }

  .outer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #gh-head {
    padding: 0 18px !important;
  }

  #gh-head .gh-head-inner {
    padding: 12px 0 10px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    row-gap: 8px !important;
    column-gap: 12px !important;
    min-height: auto !important;
  }

  #gh-head .gh-head-brand {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
  }

  #gh-head .gh-head-actions {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    display: flex !important;
    align-items: center !important;
  }

  #gh-head .gh-head-logo {
    font-size: 15px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word;
  }

  #gh-head .gh-head-menu {
    grid-column: 1 / 3 !important;
    grid-row: 2 / 3 !important;
    width: 100% !important;
    border-top: 1px solid var(--ff-border);
    padding-top: 4px !important;
  }

  #gh-head .gh-head-menu .nav {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #gh-head .gh-head-menu .nav a {
    min-height: 44px;
    padding: 6px 12px;
    font-size: 14.5px;
  }

  .ff-home {
    padding: 24px 0 20px !important;
  }

  .ff-title {
    font-size: 1.75rem !important;
    line-height: 1.32 !important;
    max-width: 100% !important;
  }

  .ff-lede {
    font-size: 15px !important;
    line-height: 1.68 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  .ff-intro-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  .ff-intro-item {
    padding: 12px 14px !important;
    min-height: 50px !important;
  }

  .ff-rail {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .ff-rail-joint {
    display: none !important;
  }

  .ff-card {
    min-height: 260px !important;
    width: 100% !important;
  }

  .ff-card-copy {
    padding: 22px 20px 24px !important;
  }

  .ff-card-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 6px !important;
  }

  .ff-card-title {
    font-size: 1.38rem !important;
  }

  .ff-card-sub {
    font-size: 0.92rem !important;
  }

  .ff-steps-infographic {
    flex-direction: column !important;
    gap: 12px !important;
    margin: 20px 0 28px !important;
  }

  .ff-step-divider {
    display: none !important;
  }

  .ff-step-card {
    padding: 16px 16px !important;
    width: 100% !important;
  }

  .ff-envelope-figure {
    margin: 20px 0 24px !important;
  }

  .ff-envelope-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .ff-envelope-inner {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ff-env-zone {
    padding: 14px 14px !important;
    min-height: auto !important;
  }

  .inner.posts {
    margin: 32px auto 48px !important;
  }

  .post-feed {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .article {
    padding: 20px 20px 60px !important;
  }

  .article-header {
    margin: 16px auto 20px !important;
  }

  .article-title {
    font-size: 1.75rem !important;
    line-height: 1.32 !important;
  }

  .gh-content {
    font-size: 16px !important;
    line-height: 1.74 !important;
  }

  .site-footer {
    padding: 32px 0 !important;
  }

  .site-footer .inner {
    padding: 0 18px !important;
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }
}

/* Prefers Reduced Motion (ui-ux-pro-max requirement) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ff-card,
  .post-card {
    transition: none !important;
  }
}
