/* Copyright (c) 2026 Transmin Limited. All rights reserved.
 * Authored body of /features/ and its subpages (features_pages.py).
 * Every rule is scoped under .cf-authored so nothing leaks into the
 * mirrored Google Sites chrome around it. */

.cf-authored {
  --cf-ink: #1c1c1c;
  --cf-muted: #555;
  --cf-line: #e2e2e2;
  --cf-paper: #fff;
  --cf-accent: #ce5c00;
  --cf-accent-ink: #9a4500;
  --cf-wash: #fdf3ea;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--cf-ink);
  font-size: 17px;
  line-height: 1.6;
  padding: 8px 0 56px;
}
.cf-authored *, .cf-authored *::before, .cf-authored *::after { box-sizing: border-box; }
.cf-authored .cf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.cf-authored a { color: var(--cf-accent-ink); }
.cf-authored a:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 3px; }
.cf-authored h2, .cf-authored h3 { color: var(--cf-accent); font-weight: 700; line-height: 1.25; }
.cf-authored h2 { font-size: 26px; margin: 0 0 10px; }
.cf-authored h3 { font-size: 19px; margin: 0 0 6px; }
.cf-authored p { margin: 0 0 12px; }

/* sub navigation between the feature pages */
.cf-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.cf-subnav a {
  text-decoration: none; font-size: 15px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--cf-line); background: var(--cf-paper); color: var(--cf-ink);
}
.cf-subnav a:hover { border-color: var(--cf-accent); color: var(--cf-accent-ink); }
.cf-subnav a[aria-current="page"] { background: var(--cf-accent); border-color: var(--cf-accent); color: #fff; }

.cf-intro { max-width: 820px; margin: 0 0 28px; }
.cf-wrap > .cf-intro:first-child { margin-top: 36px; }
.cf-lede { font-size: 21px; line-height: 1.55; color: #333; }
.cf-intro h2 { margin-top: 28px; }

/* buttons */
.cf-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cf-btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 11px 22px; border-radius: 6px; background: var(--cf-accent);
  color: #fff !important; border: 2px solid var(--cf-accent);
}
.cf-btn:hover { background: var(--cf-accent-ink); border-color: var(--cf-accent-ink); }
.cf-btn-line { background: transparent; color: var(--cf-accent-ink) !important; }
.cf-btn-line:hover { background: var(--cf-wash); }

/* screenshots */
.cf-shot { display: block; line-height: 0; }
.cf-shot img, .cf-card-img img {
  width: 100%; height: auto; display: block; background: #fff;
  border: 1px solid var(--cf-line); border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
}
.cf-shot:hover img { box-shadow: 0 14px 36px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .08); }
.cf-hero { margin: 0 0 56px; }
.cf-hero figcaption { color: var(--cf-muted); font-size: 14px; margin-top: 10px; }

/* alternating image + text rows */
.cf-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 44px; align-items: center; margin: 0 0 64px;
}
.cf-flip .cf-row-img { order: 2; }
.cf-row-text p { color: #333; }
.cf-ticks { list-style: none; padding: 0; margin: 10px 0 14px; }
.cf-ticks li { position: relative; padding-left: 26px; margin: 6px 0; }
.cf-ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px;
  border-left: 2.5px solid var(--cf-accent); border-bottom: 2.5px solid var(--cf-accent);
  transform: rotate(-45deg);
}
.cf-more { font-weight: 600; text-decoration: none; font-size: 15px; }
.cf-more:hover { text-decoration: underline; }
.cf-also { background: var(--cf-paper); border: 1px solid var(--cf-line); border-left: 4px solid var(--cf-accent);
  border-radius: 6px; padding: 20px 24px; margin: 0 0 32px; }
.cf-also h2 { font-size: 20px; }
.cf-rules { padding-left: 20px; columns: 2 300px; column-gap: 40px; }
.cf-rules li { margin: 0 0 8px; break-inside: avoid; }

/* hub: workflow strip */
.cf-flow { list-style: none; padding: 0; margin: 0 0 56px; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: cf; }
.cf-flow li { background: var(--cf-paper); border: 1px solid var(--cf-line); border-top: 4px solid var(--cf-accent);
  border-radius: 6px; padding: 14px 16px; counter-increment: cf; font-size: 15px; }
.cf-flow li b { display: block; color: var(--cf-ink); font-size: 16px; margin-bottom: 4px; }
.cf-flow li b::before { content: counter(cf) ". "; color: var(--cf-accent); }
.cf-flow li span { color: var(--cf-muted); }
.cf-authored .cf-h { font-size: 28px; margin: 0 0 20px; }

/* hub: feature cards */
.cf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 56px; }
.cf-card { display: block; text-decoration: none; color: inherit !important; background: var(--cf-paper);
  border: 1px solid var(--cf-line); border-radius: 10px; padding: 14px 14px 18px;
  transition: transform .15s ease, box-shadow .15s ease; }
.cf-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.cf-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; margin-bottom: 14px; }
.cf-card-img img { height: 100%; object-fit: cover; object-position: top left; box-shadow: none; border-radius: 6px; }
.cf-card p { color: var(--cf-muted); font-size: 15px; margin: 0; }
.cf-card h3::after { content: " \2192"; }

/* hub: more tools */
.cf-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 56px; }
.cf-tool .cf-shot { margin-bottom: 14px; }
.cf-tool .cf-shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.cf-tool p { font-size: 15px; color: #333; }

/* hub: benefits + everything */
.cf-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; margin: 0 0 56px; }
.cf-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.cf-group h3 { font-size: 17px; }
.cf-group ul { margin: 0 0 14px; padding-left: 18px; font-size: 15px; color: #333; }

/* hub: data-checking tools */
.cf-authored .cf-section-lede { max-width: 760px; color: #333; margin: -8px 0 24px; }
.cf-spot { background: var(--cf-wash); border: 1px solid #f3d6bd; border-left: 4px solid var(--cf-accent);
  border-radius: 8px; padding: 20px 24px; margin: 0 0 48px; max-width: 900px; }
.cf-spot h3 { font-size: 22px; }
.cf-spot p { margin: 0; color: #333; }

/* FAQ: quick facts, topics, questions */
.cf-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.cf-fact { background: var(--cf-paper); border: 1px solid var(--cf-line); border-top: 4px solid var(--cf-accent);
  border-radius: 8px; padding: 16px 18px; }
.cf-fact b { display: block; color: var(--cf-accent); font-size: 19px; margin-bottom: 4px; }
.cf-fact span { color: #333; font-size: 15px; }
.cf-topic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px;
  padding: 36px 0; border-top: 1px solid var(--cf-line); scroll-margin-top: 90px; }
.cf-topic-head p { color: var(--cf-muted); }
.cf-topic-pic { margin-top: 18px; }
.cf-q { background: var(--cf-paper); border: 1px solid var(--cf-line); border-radius: 8px; margin: 0 0 10px; }
.cf-q[open] { border-color: #f3d6bd; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.cf-q summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; position: relative;
  font-weight: 600; font-size: 17px; color: var(--cf-ink); }
.cf-q summary::-webkit-details-marker { display: none; }
.cf-q summary::after { content: "+"; position: absolute; right: 18px; top: 9px; font-size: 26px;
  font-weight: 400; color: var(--cf-accent); }
.cf-q[open] summary::after { content: "\2212"; }
.cf-q summary:hover { color: var(--cf-accent-ink); }
.cf-q summary:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 2px; border-radius: 8px; }
.cf-a { padding: 0 18px 8px; color: #333; }
.cf-a ul { padding-left: 20px; margin: 0 0 12px; }
.cf-a li { margin: 4px 0; }

/* closing call to action */
.cf-cta { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between;
  background: var(--cf-wash); border: 1px solid #f3d6bd; border-radius: 12px; padding: 28px 32px; margin-top: 24px; }
.cf-cta h2 { margin-bottom: 4px; }
.cf-cta p { margin: 0; color: #333; }
.cf-cta .cf-cta-buttons { margin-top: 0; }

@media (max-width: 960px) {
  .cf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-topic { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cf-topic-pic { display: none; }
  .cf-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .cf-authored { font-size: 16px; }
  .cf-lede { font-size: 18px; }
  .cf-row { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 44px; }
  .cf-flip .cf-row-img { order: 0; }
  .cf-cards, .cf-tools, .cf-groups, .cf-flow { grid-template-columns: minmax(0, 1fr); }
  .cf-cta { padding: 22px; }
}
