/* Thai IVF Journey's colours: calm, warm and natural, not clinical. A sage-olive green (#4f6b3a) as the primary
   (links, buttons, focus, the active sidebar item), a terracotta accent (#c9714c) for lines and edges only, with a
   deeper terracotta (#a4472a) where it is text, and warm cream neutrals. Accepted answers use a bluer pine green
   (#2f6a52), always with their badge, so they don't read as an ordinary link. Nothing here is close to Thai IVF
   Guide's teal (#0f6f66) or to Thailand IVF Answers' blue-teal header.
   Contrast on the page background (#fbfaf5): text 13:1, muted 6.1:1, faint 5.3:1, sage-olive 5.8:1, terracotta
   text 5.7:1, pine 6.1:1; white on the sage-olive 6.0:1 (7.5:1 on hover); sage-olive on its soft tint 5.1:1;
   every topic colour 5.4:1 or more.
   Only the skins' variables are set (as sites/example-qa does): --dq-… for discourse, and Bootstrap's and
   --basic-… so the colours hold if the skin changes. */
:root {
    --tij-sage: #4f6b3a;
    --tij-sage-rgb: 79, 107, 58;
    --tij-sage-hover: #435c31;
    --tij-sage-soft: #e9eee0;
    --tij-terracotta: #c9714c;     /* lines and edges only, never text */
    --tij-terracotta-text: #a4472a;
    --tij-ink: #2b2f27;
    --tij-muted: #5a5f52;
    --tij-faint: #646a5e;
    --tij-bg: #fbfaf5;
    --tij-cream-1: #f3f1e8;
    --tij-cream-2: #ebe8dc;
    --tij-line: #e4e0d2;
    --tij-line-strong: #d2cdbb;
    --tij-pine: #2f6a52;
    --tij-pine-rgb: 47, 106, 82;
    --tij-pine-soft: #e7f1ec;
    --tij-focus: rgba(79, 107, 58, 0.75);
}

/* discourse skin (public/static/discourse/discourse.css). */
:root {
    --dq-text: var(--tij-ink);
    --dq-muted: var(--tij-muted);
    --dq-faint: var(--tij-faint);
    --dq-line: var(--tij-line);
    --dq-line-strong: var(--tij-line-strong);
    --dq-soft: #f2f5ec;           /* a paler tint of the logo's green */
    --dq-hover: var(--tij-sage-soft); /* the logo tile's light green: active and hovered menu items */
    --dq-bg: var(--tij-bg);
    --dq-link: var(--tij-sage);
    --dq-accent: var(--tij-sage);
    --dq-accent-hover: var(--tij-sage-hover);
    --dq-focus: var(--tij-focus);
    --dq-success: var(--tij-pine);
    --dq-success-soft: var(--tij-pine-soft);
    --c-title-bar: var(--tij-sage-soft);
    /* Topic colours (categories' tone: 0-5 are used): calm earth and garden tones. */
    --c-tone-0: var(--tij-sage);
    --c-tone-1: var(--tij-terracotta-text);
    --c-tone-2: #3d6680;
    --c-tone-3: #6e5585;
    --c-tone-4: #80621a;
    --c-tone-5: #6b4f3a;
    --c-tone-6: #3f6a6a;
    --c-tone-7: #9a3f36;
    --c-tone-8: #5a5f52;
    --c-tone-9: var(--tij-pine);
}
.dq-header { border-bottom: 3px solid var(--tij-terracotta); }

/* answer skin (Bootstrap), if the site ever switches to it. */
:root, [data-bs-theme=light] {
    --bs-primary: var(--tij-sage);
    --bs-primary-rgb: var(--tij-sage-rgb);
    --bs-primary-text-emphasis: var(--tij-sage-hover);
    --bs-primary-bg-subtle: var(--tij-sage-soft);
    --bs-link-color: var(--tij-sage);
    --bs-link-color-rgb: var(--tij-sage-rgb);
    --bs-link-hover-color: var(--tij-sage-hover);
    --bs-link-hover-color-rgb: 67, 92, 49;
    --bs-success: var(--tij-pine);
    --bs-success-rgb: var(--tij-pine-rgb);
    --bs-success-bg-subtle: var(--tij-pine-soft);
    --bs-focus-ring-color: var(--tij-focus);
    --bs-body-color: var(--tij-ink);
    --bs-body-color-rgb: 43, 47, 39;
    --bs-emphasis-color: var(--tij-ink);
    --bs-secondary-color: var(--tij-muted);
    --bs-body-bg: var(--tij-bg);
    --bs-body-bg-rgb: 251, 250, 245;
    --bs-border-color: var(--tij-line);
    --bs-gray-100: var(--tij-cream-1);
    --bs-gray-200: var(--tij-cream-2);
    --bs-secondary-bg: var(--tij-cream-2);
    --bs-tertiary-bg: var(--tij-cream-1);
    --qa-primary-hover: var(--tij-sage-hover);
    --qa-focus-border: var(--tij-sage);
    --qa-focus-ring: var(--tij-focus);
    --qa-tag-bg: var(--tij-cream-2);
    --qa-tag-text: var(--tij-muted);
}

/* basic skin (public/static/basic/basic.css). */
:root {
    --basic-text: var(--tij-ink);
    --basic-muted: var(--tij-muted);
    --basic-line: var(--tij-line-strong);
    --basic-bg: var(--tij-bg);
    --basic-soft: var(--tij-cream-1);
    --basic-link: var(--tij-sage);
    --basic-link-hover: var(--tij-sage-hover);
    --basic-on-link: #fff;
    --basic-header-rule: var(--tij-terracotta);
    --basic-focus: var(--tij-sage);
    --basic-success: var(--tij-pine);
    --basic-header-rule-width: 3px;
}
