/* =========================================================
   dumaguete.uk — content.css
   About, Contact, Corrections, Advertise, Add-business.
   Long-form reading: generous measure, clear hierarchy,
   no decoration competing with the words.
   ========================================================= */

.page--content {
  display: flex;
  flex-direction: column;
}

/* ---------- Head ---------- */
.ct-head {
  padding: 28px 0 20px;
  margin-bottom: 24px;
}
.ct-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}
.ct-lede {
  margin: 0;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Body ---------- */
.ct-body {
  max-width: 66ch;
  padding-bottom: 40px;
}
.ct-body p {
  margin: 0 0 1.15em;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.ct-body h2 {
  margin: 2em 0 0.7em;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.ct-body h2:first-child { margin-top: 0; }
.ct-body h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
}
.ct-body ul,
.ct-body ol {
  margin: 0 0 1.3em;
  padding-left: 22px;
}
.ct-body li {
  margin-bottom: 0.55em;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.ct-body li strong { color: var(--ink); }
.ct-body a { color: var(--accent); }
.ct-body strong { color: var(--ink); font-weight: 600; }

/* ---------- Callout ---------- */
.ct-note {
  margin: 1.6em 0;
  padding: 14px 16px;
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
}
.ct-note p { margin: 0 0 0.5em; font-size: 0.9rem; }
.ct-note p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.ct-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2em;
}
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: filter 0.15s var(--ease), background 0.15s var(--ease);
}
.ct-btn:hover { background: var(--surface-alt); filter: none; text-decoration: none; }
/* A button inside the form grid would otherwise stretch to the full
   column, turning a short label into a wide band of colour. */
.ct-form > .ct-btn,
.ct-form > button.ct-btn { justify-self: start; }
.ct-btn--ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
.ct-btn--ghost:hover { background: var(--surface-alt); filter: none; }

/* Body links are accent-coloured, which outranks .ct-btn on specificity.
   These restore each button's own text colour inside the article. */
.ct-body a.ct-btn { color: var(--ink); }
.ct-body a.ct-btn--ghost { color: var(--ink); }

/* ---------- Definition rows (Contact, pricing) ---------- */
.ct-rows {
  margin: 0 0 1.6em;
}
.ct-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 9px 0;
}
.ct-row__k {
  flex: 0 0 150px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.ct-row__v {
  flex: 1 1 220px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.ct-row__v small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- Pricing cards ---------- */
.ct-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 1.4em 0 1.8em;
}
.ct-plan {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px var(--shadow-a);
}
.ct-plan--featured { border-color: var(--accent); }
.ct-plan__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.ct-plan__price {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.ct-plan__price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.ct-plan ul {
  margin: 0;
  padding-left: 18px;
}
.ct-plan li {
  margin-bottom: 0.4em;
  font-size: 0.86rem;
  line-height: 1.5;
}

/* ---------- Forms ---------- */
.ct-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 1.4em 0 0;
}
.ct-field { display: grid; gap: 5px; }
.ct-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.ct-field__hint {
  font-weight: 400;
  color: var(--ink-faint);
}
.ct-input {
  width: 100%;
  padding: 10px 13px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s var(--ease);
}
.ct-input:focus { border-color: var(--accent); }
.ct-input--tall { resize: vertical; line-height: 1.55; }
.ct-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ct-sent {
  font-size: 0.86rem;
  color: var(--accent);
}

/* ---------- Narrow screens ---------- */
@media (max-width: 560px) {
  .ct-head { padding: 20px 0 16px; margin-bottom: 20px; }
  .ct-row__k { flex-basis: 100%; }
  .ct-cta .ct-btn { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================
   About — the standing claim, boxed softly at the top of the
   page. Barely-there lines, a gentle shadow, quietly proud.
   ========================================================= */
.about-claim {
  margin: 0 0 26px;
  padding: 7px;
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  border-radius: 16px;
  box-shadow: 0 10px 34px var(--shadow-a), 0 1px 2px var(--shadow-a);
}
.about-claim__hint {
  border-bottom: 1px dotted var(--ink-faint);
  cursor: help;
}
.about-line {
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1em;
}
.about-claim__count {
  display: block;
  margin-top: 8px;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-faint);
}
@media (min-width: 620px) {
  .about-claim { padding: 7px; font-size: 1.2rem; }
  .about-claim__count { font-size: 0.64rem; }
}

/* ---------- Ad placement picker (advertise.html) ---------- */
.adv-placement {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  margin-top: 4px;
}
.adv-slot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}
.adv-slot:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

/* Inline checkbox field (auto-renew) */
.ct-field--check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.ct-field--check input { margin-top: 3px; flex: none; }
.ct-field--check .ct-field__label { font-weight: 400; color: var(--ink-soft); }
.ct-field--check:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

/* Sign-in prompt under a form that needs an account */
.ct-signin {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Save-this-place on generated place pages. */
.ct-save {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  font: inherit; font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ct-save.is-on { color: #8A6D00; border-color: color-mix(in srgb, #C9A227 45%, var(--line)); background: color-mix(in srgb, #C9A227 10%, var(--surface)); }
.ct-save:hover { border-color: var(--accent); }
