/* Isolated demo child theme. ChaosBuzz controls and photo layouts remain native. */
:root {
  --hf-green: #52786f;
  --hf-green-deep: #2d5148;
  --hf-brass: #bc9364;
  --hf-cream: #f8f5ef;
  --hf-ink: #293832;
  --hf-muted: #626f66;
  --hf-line: #e3e4d9;
}
body {
  background: var(--hf-cream);
  color: var(--hf-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.hf-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
#header { background: var(--hf-cream); box-shadow: none; }
.hf-demo-bar { background: var(--hf-green-deep); color: #fff; }
.hf-demo-bar__inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hf-demo-bar a { color: #fff; font-size: 13px; text-decoration: none; }
.hf-demo-label { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .01em; }
.hf-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #e0c49f; flex: none; }
.hf-demo-bar p { margin: 0; color: #e0e9e2; font-size: 12px; }
.hf-demo-bar p span { margin-inline: 8px; }
.hf-demo-dashboard { font-weight: 650; white-space: nowrap; }
.hf-demo-dashboard span { margin-left: 7px; }
.hf-store-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--hf-line); }
.hf-brand { display: inline-flex; gap: 14px; align-items: center; color: var(--hf-green-deep); text-decoration: none; }
.hf-brand-mark { flex: none; color: var(--hf-green); }
.hf-brand strong { display: block; color: var(--hf-green-deep); font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.hf-brand small { display: block; margin-top: 5px; color: var(--hf-muted); font-size: 11px; letter-spacing: .06em; }
.hf-store-nav { display: flex; gap: 24px; align-items: center; }
.hf-store-nav a { color: var(--hf-green-deep); font-size: 13px; font-weight: 650; text-decoration: none; }
.hf-store-nav__journal { padding: 9px 0; border-bottom: 1px solid var(--hf-brass); }
.hf-store-nav .hf-store-nav__dashboard { border: 1px solid #c5d1c5; border-radius: 6px; padding: 10px 16px; }
.hf-demo-note { padding-block: 15px; }
.hf-demo-note p { margin: 0; color: var(--hf-muted); font-size: 12px; line-height: 1.7; text-align: center; }
.hf-demo-bar a:hover, .hf-store-nav a:hover, .hf-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hf-brand:hover { color: var(--hf-green-deep); }
.hf-demo-bar a:focus-visible, .hf-store-header a:focus-visible, .hf-footer a:focus-visible { outline: 3px solid var(--hf-brass); outline-offset: 5px; }
#wrapper { background: var(--hf-cream); padding-top: 0; padding-bottom: 0; }
#wrapper .columns-container { max-width: 1120px; }
#content.mkf-page { padding: 0; margin: 0; }
#mkf-root {
  --mkf-ink: #293832;
  --mkf-muted: #69776d;
  --mkf-line: #e0e5dd;
  --mkf-soft: #f1f4ed;
  --mkf-card: #fff;
  --mkf-radius: 14px;
  --mkf-shadow: 0 2px 4px #2d514805, 0 12px 30px -22px #2d514829;
  max-width: 760px;
  margin: 16px auto 64px;
}
#mkf-root .mkf-cover__title { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 30px; letter-spacing: -.025em; }
#mkf-root .mkf-cover__sub { font-size: 13px; line-height: 1.6; }
#mkf-root .mkf-cover.mkf-cover--photo { padding-top: 174px; align-items: flex-start; }
#mkf-root .mkf-cover, #mkf-root .mkf-post { border-color: var(--mkf-line); }
#mkf-root .mkf-feed { gap: 28px; }
#mkf-root .mkf-avatar { border-radius: 12px; }
#mkf-root .mkf-avatar--lg { border-radius: 18px; }
#mkf-root .mkf-post__author { font-size: 15px; font-weight: 700; }
#mkf-root .mkf-post__text { font-size: 16px; line-height: 1.7; }
#mkf-root .mkf-post__sub { font-size: 12px; }
#mkf-root .mkf-comment-form__notice { color: var(--hf-muted); }
#mkf-root .mkf-comment__badge, #mkf-root .mkf-comment-form__send { background: var(--hf-green); color: #fff; }
#footer { padding: 0; background: #edf0e8; border-top: 1px solid var(--hf-line); color: var(--hf-muted); }
.hf-footer { padding-block: 38px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 48px; }
.hf-footer strong { font: 24px/1.3 Georgia, "Times New Roman", serif; color: var(--hf-green-deep); }
.hf-footer p { margin: 7px 0 0; font-size: 12px; line-height: 1.7; }
.hf-footer nav { display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: start; justify-content: end; }
.hf-footer a { color: var(--hf-green-deep); font-size: 12px; text-decoration: none; }
.hf-footer .hf-footer__note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #d9e0d5; }
@media (max-width: 760px) {
  .hf-shell { width: calc(100% - 32px); }
  .hf-demo-bar__inner { gap: 8px 18px; flex-wrap: wrap; padding-block: 12px; }
  .hf-demo-bar p { order: 3; width: 100%; font-size: 11px; }
  .hf-demo-bar a { font-size: 12px; }
  .hf-store-header { min-height: 100px; gap: 18px; }
  .hf-brand strong { font-size: 24px; }
  .hf-brand small { font-size: 10px; letter-spacing: .01em; }
  .hf-brand-mark { width: 39px; height: 39px; }
  .hf-store-nav { gap: 0; }
  .hf-store-nav .hf-store-nav__dashboard { display: none; }
  .hf-demo-note { padding-block: 12px; }
  .hf-demo-note p { font-size: 11px; text-align: left; }
  #mkf-root { margin-top: 10px; margin-bottom: 40px; }
  #mkf-root .mkf-cover__title { font-size: 25px; }
  .hf-footer { grid-template-columns: 1fr; padding-block: 28px; gap: 20px; }
  .hf-footer nav { justify-content: start; }
}
@media (max-width: 575px) {
  /* The native mobile cover is 120px tall; keep wrapped titles on the white card. */
  #mkf-root .mkf-cover.mkf-cover--photo { padding-top: 144px; align-items: flex-start; gap: 14px; }
}
@media (max-width: 390px) {
  .hf-brand { gap: 10px; }
  .hf-brand strong { font-size: 22px; }
  .hf-store-nav a { font-size: 12px; }
}
