/* Bob Wang Team — page end: back link, contact, footer (2026-11-25). One design on every page.
   New class names (ce-*, bf-*) so the older contact/footer rules in site.css, our-work*.css and page styles never touch them.
   Only the contact heading uses the serif; everything else is the sans. */

/* back link: last line of the page content, before contact */
html body .ce-back { padding-top: 8px; padding-bottom: 56px; }

/* contact: desktop two columns (heading + button | contact details), phone one column */
html body section.ce { background: #eef1f6; color: #14181f; border: 0; margin: 0; padding: 52px 0; }
html body .ce-wrap { display: flex; align-items: flex-start; gap: 40px 56px; }
html body .ce-wrap > .ce-main { flex: 0 0 260px; min-width: 0; }
html body .ce-wrap > .ce-lines { flex: 1 1 auto; min-width: 0; }  /* 11-25: fixed left column so the details sit close on wide screens */
/* heading + button only: heading lines up with the first contact row, button with the last */
/* .ce-hb holds heading + button; the button is as wide as the heading (Bob 11-25), capped for long headings */
html body .ce-hb { display: inline-flex; flex-direction: column; max-width: 100%; }

html body .ce-lines { align-content: start; }
html body section.ce h2 { font-family: var(--serif, "DM Serif Display", Georgia, serif); font-weight: 400; font-size: clamp(30px, 3vw, 38px); line-height: 1.15; letter-spacing: 0; color: #1a2849; margin: 0; text-transform: none; }
html body .ce-sub { margin: 14px 0 0; max-width: 520px; font-family: var(--sans, system-ui); font-size: 15.5px; line-height: 1.65; color: #4a4d55; }
html body .ce-cta { margin: 24px 0 0; }
html body .ce-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; box-sizing: border-box; background: transparent; color: #1a2849; border: 1px solid #1a2849; font-family: var(--sans, system-ui); font-size: 15px; font-weight: 400; letter-spacing: .02em; text-transform: none; text-decoration: none; white-space: nowrap; }
html[lang="en"] body .ce-btn { padding: 0 16px; font-size: 14.5px; letter-spacing: .01em; }
html body .ce-btn:hover { background: #1a2849; color: #fff; }
html body .ce-assist { margin: 14px 0 0; font-family: var(--sans, system-ui); font-size: 14.5px; line-height: 1.6; color: #4a4d55; }
html body .ce-assist a { color: #1a2849; text-decoration: none; border-bottom: 1px solid rgba(26,40,73,.35); }
html body .ce-assist a:hover { border-color: #1a2849; }

/* details: label | value grid; WeChat ID with a small copy action (no QR, Bob 11-25) */
html body .ce-lines { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 28px; row-gap: 14px; align-items: baseline; padding-top: 0; font-family: var(--sans, system-ui); }
html body .ce-line, html body .ce-wx { display: contents; text-decoration: none; color: inherit; }
html body .ce-l { display: block; font-family: var(--sans, system-ui); font-size: 13px; font-weight: 400; letter-spacing: .02em; text-transform: none; color: #6b6e76; }
html body .ce-v { display: block; font-family: var(--sans, system-ui); font-size: 17px; font-weight: 500; letter-spacing: .01em; line-height: 1.4; color: #1a2849; overflow-wrap: normal; white-space: nowrap; }
html body a.ce-line:hover .ce-v { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
html body .ce-wxv .ce-v { display: inline; margin-right: 16px; }
/* copy WeChat ID: a small text action, no box */
html[lang] body .ce-wx .copy-link:not(#_z) { display: inline; margin: 0 !important; padding: 0 !important; min-height: 0 !important; background: none; border: 0; border-bottom: 1px solid rgba(26,40,73,.35); border-radius: 0; color: #1a2849; font-family: var(--sans, system-ui); font-size: 13px !important; font-weight: 400; letter-spacing: .02em !important; text-transform: none; cursor: pointer; vertical-align: baseline; }
html[lang] body .ce-wx .copy-link:not(#_z):hover { background: none; color: #1a2849; border-color: #1a2849; }

@media (max-width: 860px) {
  html body .ce-wrap { flex-direction: column; gap: 32px; } html body .ce-wrap > .ce-main { flex-basis: auto; }
  html body .ce-lines { padding-top: 0; width: 100%; }
}
@media (max-width: 700px) {
  html body section.ce { padding: 44px 0; }
  html body section.ce h2 { font-size: 28px; }
  html body .ce-lines { column-gap: 20px; }
  html body .ce-v { font-size: 16px; }
}

/* footer */
html body footer.bf { background: #1a2849; color: rgba(248,244,237,.66); border: 0; margin: 0; padding: 28px 0 26px; font-family: var(--sans, system-ui); font-size: 12.5px; line-height: 1.6; }
html body .bf-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
html body .bf .fm-box { display: grid; place-items: center; width: 36px; height: 36px; box-sizing: border-box; border: 1px solid #d4b878; color: #f8f4ed; font-family: var(--serif, Georgia, serif); font-size: 15px; line-height: 1; }
html body .bf-links { display: flex; flex-wrap: wrap; gap: 4px 22px; position: static; }
html body .bf-links a { color: rgba(248,244,237,.88); text-decoration: none; font-family: var(--sans, system-ui); font-size: 12.5px; font-weight: 400; letter-spacing: .02em; text-transform: none; }
html body .bf-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
html body .bf-legal { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(248,244,237,.14); font-size: 12.5px; line-height: 1.7; letter-spacing: .01em; color: rgba(248,244,237,.66); }
html body .bf-legal .bf-ln { white-space: nowrap; }
html body .bf-legal i { font-style: normal; margin: 0 .55em; color: rgba(248,244,237,.38); }
@media (max-width: 700px) {
  html body .bf-legal { padding-right: 56px; font-size: 12px; letter-spacing: 0; }
  html body .bf-legal .bf-ln { white-space: normal; }
  html body .bf-legal br { display: none; }
  html body .bf-legal .bf-ln { display: block; }
  html body .bf-legal .bf-ln > i:last-child { display: none; }
}
html body .bf-legal b { font-weight: inherit; white-space: nowrap; }

/* listing pages: flat photos, matching the flat contact block (Bob 11-25) */
html body .lc-frame { box-shadow: none; }
html body section.ce h2 .ce-lat { letter-spacing: 0; }

/* 11-25 v2: the button is a quiet text link, so the heading leads and the two do not compete */
html body section.ce .ce-btn, html[lang="en"] body section.ce .ce-btn { display: inline-flex; width: auto; max-width: none; height: auto; min-height: 0; padding: 0 0 3px; background: none; border: 0; border-bottom: 1px solid rgba(26,40,73,.45); color: #1a2849; font-size: 15px; font-weight: 400; letter-spacing: .02em; align-self: flex-start; }
html body section.ce .ce-btn::after { content: "\2192"; margin-left: 8px; }
html body section.ce .ce-btn:hover { background: none; color: #1a2849; border-color: #1a2849; }
html body section.ce .ce-cta { margin-top: 20px; }
html body .phase1-context a { color: #1a2849; text-decoration: none; border-bottom: 1px solid rgba(26,40,73,.35); }

/* wide screens: contact details run across in a line (phone and email side by side), wrapping when needed (Bob 11-25) */
@media (min-width: 1100px) {
  html body .ce-lines { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 44px; padding-top: 10px; }
  html body .ce-line, html body .ce-wx { display: inline-flex; align-items: baseline; gap: 12px; }
  html body .ce-wx > .ce-wxv { display: inline-flex; align-items: baseline; }
  /* contact page: narrow right column keeps the aligned label | value grid */
  html body .ct-contact .ce-lines { display: grid; gap: 14px 28px; padding-top: 0; }
  html body .ct-contact .ce-line, html body .ct-contact .ce-wx { display: contents; }
}
