/* Customer voices page (/blog/voice): Google reviews and handwritten letters, quoted in full.
   Shared parts (header, footer, headings, buttons, the closing call) come from styles.css. */
body.aikikaku-sale-voice { margin: 0; color: var(--ink); background-color: var(--paper) !important; font-family: var(--sans); font-size: 1rem; font-weight: 400; line-height: 1.9; }
/* SANGO prints a global link colour after the enqueued stylesheets. */
body.aikikaku-sale-voice a { color: inherit; }
body.aikikaku-sale-voice .button--dark { color: var(--white); }
body.aikikaku-sale-voice .closing-help { color: var(--muted); }
body.aikikaku-sale-voice.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.aikikaku-sale-voice.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.aikikaku-sale-voice.admin-bar .site-header { top: 0; } }
body.aikikaku-sale-voice .site-header::after { content: ""; position: absolute; left: clamp(24px,4vw,68px); right: clamp(24px,4vw,68px); bottom: 0; height: 1px; background: var(--line); }
.voice-main { overflow-x: hidden; overflow-x: clip; }
.voice-main a:focus-visible, .voice-main summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

/* Hero: the title, where the words come from, and a way into each group. */
.voice-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); align-items: center; gap: clamp(44px,7vw,100px); width: min(100%,1360px); margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(24px,5vw,72px) clamp(64px,7vw,96px); }
.voice-hero-copy { min-width: 0; }
.voice-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; margin-bottom: 40px; color: var(--muted); font-size: .75rem; }
.voice-breadcrumb a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; }
.voice-breadcrumb a:hover { text-decoration-color: currentColor; }
.voice-hero .eyebrow { margin-bottom: 18px; }
.voice-hero h1 { margin: 0; font-size: clamp(2.25rem,4vw,3.75rem); font-weight: 600; line-height: 1.5; letter-spacing: .08em; }
.voice-hero-lead { max-width: 33em; word-break: auto-phrase; margin: 26px 0 34px; font-family: var(--serif); font-size: clamp(1rem,1.2vw,1.1875rem); line-height: 2.1; letter-spacing: .04em; }
.voice-rating-box { display: grid; justify-items: start; gap: 6px; padding: 20px 24px 14px; border: 1px solid var(--line); border-radius: 22px 22px 6px 6px; background: var(--white); }
.voice-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; line-height: 1.6; }
.voice-rating strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.voice-rating-count { color: var(--muted); font-size: .875rem; }
.voice-rating-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: .875rem; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.voice-rating-link:hover { text-decoration-color: currentColor; }
.voice-rating-link span { color: var(--orange); }
.voice-jump { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.voice-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px 8px 22px; border: 1px solid var(--ink); border-radius: 40px; font-family: var(--serif); font-weight: 600; letter-spacing: .04em; transition: background .2s ease; }
.voice-jump a:hover { background: var(--white); }
.voice-jump small { color: var(--muted); font-family: var(--sans); font-size: .8125rem; font-weight: 400; }
.voice-jump span { color: var(--orange); font-weight: 400; }
.voice-hero-image { overflow: hidden; aspect-ratio: 1; margin: 0; border-radius: 44% 42% 20% 27% / 28% 33% 18% 25%; background: var(--paper-deep); }
.voice-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* The source label and stars: the page's own gold, not Google's artwork. The fill width follows the rating. */
.voice-source { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); font-size: .8125rem; letter-spacing: .04em; white-space: nowrap; }
.voice-source--direct { border-color: #d9c79c; background: #fbf5e6; }
.voice-stars { position: relative; display: inline-block; color: var(--line); font-size: 1rem; letter-spacing: .1em; line-height: 1; white-space: nowrap; }
.voice-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--sun); }

/* Groups: heading on the left, a short lead on the right, then the voices one under another. */
.voice-group > .section-shell { padding-top: 100px; padding-bottom: 100px; }
.voice-group--sell > .section-shell { position: relative; }
.voice-group--sell > .section-shell::before { content: ""; position: absolute; top: 0; left: clamp(24px,5vw,72px); right: clamp(24px,5vw,72px); height: 1px; background: var(--line); }
.voice-group--buy { background: #eeeee3; border-radius: 50% 50% 0 0 / 38px 38px 0 0; }
.voice-split { display: grid; grid-template-columns: minmax(max-content,.85fr) minmax(0,1.15fr); gap: 9%; align-items: end; margin-bottom: 52px; }
.voice-split-lead { margin: 0 0 6px; word-break: auto-phrase; color: var(--muted); line-height: 2.05; }
.voice-count { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.voice-list { border-top: 1px solid var(--line); }
.voice-item { display: grid; grid-template-columns: minmax(0,250px) minmax(0,1fr); gap: 20px clamp(32px,5vw,72px); padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
/* The label and source stay in view beside a long review. */
.voice-item-meta { position: sticky; top: 130px; align-self: start; min-width: 0; }
.voice-item-label { margin: 0 0 14px; font-size: 1.125rem; font-weight: 600; line-height: 1.75; letter-spacing: .03em; }
.voice-item-source { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.voice-item-name { margin: 14px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.voice-item-body { min-width: 0; max-width: 46em; }
.voice-item-text p { margin: 0; font-family: var(--serif); font-size: 1.0625rem; line-height: 2.05; letter-spacing: .02em; overflow-wrap: anywhere; }
.voice-item-text p + p { margin-top: .9em; }
.voice-letters { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.voice-letter { display: grid; justify-items: start; gap: 8px; width: 150px; }
.voice-letter img { display: block; width: 150px; height: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 6px 16px rgba(48,59,53,.08); transition: transform .2s ease; }
.voice-letter span { color: var(--muted); font-size: .8125rem; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.voice-letter:hover img { transform: translateY(-2px); }
.voice-letter:hover span { color: var(--ink); text-decoration-color: currentColor; }
.voice-reply { margin-top: 26px; border-top: 1px dashed var(--line); }
.voice-reply summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 2px; color: var(--muted); font-size: .9375rem; cursor: pointer; list-style: none; }
.voice-reply summary::-webkit-details-marker { display: none; }
.voice-reply summary:hover { color: var(--ink); }
.voice-reply summary small { font-size: .8125rem; }
.voice-reply-icon { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.voice-reply-icon::before,
.voice-reply-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; background: var(--ink); transform: translate(-50%,-50%); transition: transform .2s ease; }
.voice-reply-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.voice-reply[open] .voice-reply-icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.voice-reply-text { margin: 4px 0 6px; padding: 20px 24px; border-left: 3px solid var(--line); border-radius: 0 6px 6px 0; background: rgba(255,254,249,.7); }
.voice-reply-text p { margin: 0; color: var(--ink); font-size: .9375rem; line-height: 2; }
.voice-reply-text p + p { margin-top: .6em; }
.voice-links { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; }
.voice-note { max-width: 46em; margin: 40px 0 0; color: var(--muted); font-size: .875rem; line-height: 2; }

/* The closing call follows the green-grey of the buyers' group. */
.voice-main .closing::before { background: #eeeee3; }

/* Phone bar (as on the appraisal and article pages). It leaves once the closing call shows. */
.consult-bar { display: none; }
@media (max-width: 860px) {
  body.aikikaku-sale-voice .consult-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 19; display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr); gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(247,246,239,.97); box-shadow: 0 -6px 18px rgba(48,59,53,.06); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  body.aikikaku-sale-voice .consult-bar.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
  body.aikikaku-sale-voice .consult-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 999px; font-size: 1rem; letter-spacing: .04em; white-space: nowrap; }
  body.aikikaku-sale-voice .consult-bar__tel { border: 1px solid var(--ink); background: var(--white); }
  body.aikikaku-sale-voice .consult-bar__main { background: var(--ink); color: var(--white); }
  body.aikikaku-sale-voice .consult-bar__main span { color: var(--sun); }
}
body.aikikaku-sale-voice .consult-bar[hidden] { display: none; }

@media (max-width: 960px) {
  .voice-item { grid-template-columns: minmax(0,1fr); padding: 36px 0; }
  .voice-item-meta { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .voice-item-label { flex: 1 1 100%; margin-bottom: 0; }
  .voice-item-name { margin: 0; }
}
@media (max-width: 860px) {
  .voice-hero { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .voice-hero-image { grid-row: 1; width: min(100%,600px); aspect-ratio: 1.8; }
  .voice-hero-copy { grid-row: 2; }
  .voice-split { grid-template-columns: minmax(0,1fr); gap: 20px; margin-bottom: 36px; }
}
@media (max-width: 700px) {
  .voice-hero { gap: 18px; padding: 16px 24px 48px; }
  .voice-hero-image { aspect-ratio: 2.1; border-radius: 34px 40px 16px 22px / 30px 36px 16px 20px; }
  .voice-hero-image img { object-position: 50% 58%; }
  .voice-breadcrumb { margin-bottom: 12px; }
  .voice-hero .eyebrow { margin-bottom: 8px; font-size: .75rem; letter-spacing: .08em; }
  .voice-hero h1 { font-size: 2rem; letter-spacing: .06em; }
  .voice-hero-lead { margin: 12px 0 22px; font-size: 1rem; line-height: 2; letter-spacing: .02em; }
  .voice-rating-box { padding: 16px 18px 10px; }
  .voice-jump { display: grid; gap: 10px; }
  .voice-jump a { justify-content: space-between; width: 100%; box-sizing: border-box; }
  .voice-jump small { margin-left: auto; }
  .voice-group > .section-shell { padding-top: 72px; padding-bottom: 72px; }
  .voice-group--buy { border-radius: 50% 50% 0 0 / 24px 24px 0 0; }
  .voice-item { padding: 30px 0; }
  .voice-item-label { font-size: 1.0625rem; }
  .voice-item-text p { font-size: 1rem; line-height: 2; letter-spacing: .01em; }
  .voice-letter, .voice-letter img { width: 128px; }
  .voice-reply-text { padding: 16px 16px 16px 18px; }
  .voice-links { display: grid; gap: 6px; }
  .voice-links .text-link { justify-content: space-between; }
  .voice-count { margin-left: 10px; padding-left: 10px; }
}
@media print {
  .voice-reply-text { display: block !important; }
  .consult-bar { display: none !important; }
}
