/* Additions to the design: booking calendar, blog & text pages, front-end editing (admins only). */

/* ---------- Booking calendar (Request an audit, step 2) ---------- */
.bk__hint { margin-top: 6px; font-size: 13px; line-height: 19px; color: var(--muted); max-width: 560px; }
.bk__ui { margin-top: 18px; display: grid; gap: 20px; }
.bk__sub { font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.bk__days .inq-option, .bk__times .inq-option { min-width: 64px; justify-content: center; text-transform: capitalize; }
.bk__times .inq-option { min-width: 72px; font-variant-numeric: tabular-nums; }
.bk__status { font-size: 14px; line-height: 21px; color: var(--muted); }
.bk__chosen { font-size: 15px; line-height: 22px; color: var(--ink); font-weight: 500; }
.bk__chosen::before { content: "✓ "; color: var(--brown, #9a5922); }
.bk__skip { margin-top: -4px; }
.bk__skip .inq-option { color: var(--muted); }

/* ---------- Blog & text pages (same type scale and grid as the design) ---------- */
.tp { padding-top: 168px; padding-bottom: 120px; }
.tp__head { max-width: 920px; }
.tp__head .pill { margin-bottom: 24px; }
.tp__lede { margin-top: 24px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--muted); }
.tp__meta { margin-top: 20px; font-size: 13px; line-height: 20px; color: var(--muted); }
.tp__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tp__cats a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink); text-decoration: none; }
.tp__cats a[aria-current="page"], .tp__cats a:hover { border-color: var(--ink); }
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 56px; }
@media (max-width: 1023px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tp { padding-top: 132px; } }
@media (max-width: 639px) { .tp-grid { grid-template-columns: minmax(0, 1fr); } .tp { padding-top: 112px; padding-bottom: 80px; } }
.tp-card { display: grid; gap: 14px; align-content: start; color: inherit; text-decoration: none; }
.tp-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #f1efec; }
.tp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tp-card:hover .tp-card__img img { transform: scale(1.03); }
.tp-card__cat { font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tp-card__t { font-size: 22px; line-height: 28px; letter-spacing: -.01em; }
.tp-card__x { font-size: 14px; line-height: 21px; color: var(--muted); }
.tp-empty { margin-top: 48px; color: var(--muted); }
.tp-cover { margin-top: 48px; aspect-ratio: 21 / 9; overflow: hidden; background: #f1efec; }
.tp-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; margin-top: 56px; font-size: 17px; line-height: 28px; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 28px; line-height: 34px; letter-spacing: -.01em; font-weight: 400; }
.prose h3 { margin-top: 1.6em; font-size: 21px; line-height: 28px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--brown, #9a5922); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--line); color: var(--muted); }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose code { font-size: .9em; background: #f4f2ef; padding: 1px 5px; }
.tp-back { margin-top: 64px; }

/* ---------- Front-end editing (visible to signed-in admins only) ---------- */
.dsch-ed-bar { position: fixed; left: 16px; bottom: 16px; z-index: 2147483000; display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; background: #1c140d; color: #fff; font: 500 13px/18px "Host Grotesk", system-ui, sans-serif; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.dsch-ed-bar__btn { padding: 6px 10px; background: #fff; color: #1c140d; border: 0; font: inherit; cursor: pointer; }
.dsch-ed-bar__btn[aria-pressed="true"] { background: #e8a66f; }
.dsch-ed-bar__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dsch-ed-bar__hint { color: #cbbfb3; max-width: 260px; }
@media (max-width: 639px) { .dsch-ed-bar__hint { display: none; } }
.dsch-editing [data-i18n]:hover, .dsch-editing [data-edit-img]:hover { outline: 1px dashed #c6613f; outline-offset: 3px; }
.dsch-ed-pen { position: absolute; z-index: 2147483001; display: none; align-items: center; justify-content: center; width: 28px; height: 28px;
  border: 0; border-radius: 50%; background: #c6613f; color: #fff; font: 15px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.dsch-ed-active { outline: 2px solid #c6613f !important; outline-offset: 4px; background: rgba(198, 97, 63, .05); cursor: text; }
.dsch-ed-tools { position: absolute; z-index: 2147483002; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: #1c140d; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.dsch-ed-tools button, .dsch-ed-modal button { padding: 6px 10px; border: 0; background: #3a2c20; color: #fff; font: 500 13px/18px "Host Grotesk", system-ui, sans-serif; cursor: pointer; }
.dsch-ed-tools .dsch-ed-b { font-weight: 700; }
.dsch-ed-tools .dsch-ed-i { font-style: italic; }
.dsch-ed-tools .dsch-ed-save, .dsch-ed-modal .dsch-ed-save { background: #c6613f; }
.dsch-ed-tools .dsch-ed-reset, .dsch-ed-modal .dsch-ed-reset { background: transparent; color: #cbbfb3; text-decoration: underline; }
.dsch-ed-toast { position: fixed; right: 16px; bottom: 16px; z-index: 2147483003; padding: 12px 16px; background: #1c140d; color: #fff; font: 500 14px/20px "Host Grotesk", system-ui, sans-serif; transition: opacity .4s; }
.dsch-ed-toast.is-bad { background: #a33a2f; }
.dsch-ed-toast.is-out { opacity: 0; }
.dsch-ed-modal { position: fixed; inset: 0; z-index: 2147483002; display: grid; place-items: center; padding: 16px; background: rgba(20, 14, 9, .55); }
.dsch-ed-modal__box { width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; gap: 16px; padding: 20px; background: #fff; color: #1c140d;
  font: 14px/20px "Host Grotesk", system-ui, sans-serif; }
.dsch-ed-modal__head, .dsch-ed-modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dsch-ed-modal .dsch-ed-x { background: #eee; color: #1c140d; }
.dsch-ed-cur img { max-height: 220px; width: auto; max-width: 100%; display: block; background: #f4f2ef; }
.dsch-ed-alt { display: grid; gap: 6px; }
.dsch-ed-alt input { padding: 8px 10px; border: 1px solid #ccc; font: inherit; }
.dsch-ed-upload { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px dashed #c6613f; cursor: pointer; justify-self: start; }
.dsch-ed-upload input { display: none; }
.dsch-ed-upload.is-busy { opacity: .5; pointer-events: none; }
.dsch-ed-sub { font-weight: 600; }
.dsch-ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.dsch-ed-modal .dsch-ed-thumb { padding: 0; aspect-ratio: 1; background: #f4f2ef; border: 2px solid transparent; overflow: hidden; }
.dsch-ed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dsch-ed-modal .dsch-ed-thumb.is-sel { border-color: #c6613f; }
.dsch-ed-bar__btn--ghost { background: transparent; color: #fff; border: 1px solid #6b5a4a; }
.dsch-ed-grid--bg { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (max-width: 639px) { .bk__days .inq-option, .bk__times .inq-option { min-width: 0; } }
