/* Scribe — Template 4 (Article). Loaded by single-scribe-layout4.php (bump ?v= there on every change).
   Values are Simploy Design System tokens; the theme already loads brandon-grotesque (Adobe Fonts),
   Font Awesome and the seam-band pattern. Everything is scoped under .scribe-t4-page because app.css
   sets a{color:#fff}, li{list-style:none}, p{margin:0 !important} and section{padding:64px 0} globally. */

.scribe-t4-page {
  --verdancy: #02a64d; --evergreen: #0a6433; --limelight: #89c641; --mist: #e3e3e1;
  --shadow: #414142; --meadow: #118341; --sunburst-site: #e8e629; --textbox: #eeeeee; --title-gray: #5d5d5d;
  font-family: "brandon-grotesque", sans-serif; color: var(--shadow);
  overflow-x: hidden;
}
.scribe-t4-page p { margin: 0 !important; }
.scribe-t4-page a { color: var(--meadow); font-family: "brandon-grotesque", sans-serif !important; }
.scribe-t4-page h1, .scribe-t4-page h2, .scribe-t4-page h3 { font-family: "brandon-grotesque", sans-serif; }

.scribe-t4 {
  max-width: 760px; margin: 0 auto; padding: 64px 24px 0;           /* sp-8 */
  font-size: 18px; line-height: 1.5;                                 /* body-copy */
}
.scribe-t4 > * + * { margin-top: 48px; }                             /* sp-7 between blocks */

/* 1. Header */
.t4-head { margin-top: 0; }
.t4-mark-link { display: inline-block; margin-bottom: 32px; line-height: 0; }
.scribe-t4 .t4-mark { display: block; width: 200px !important; max-width: 60vw; height: auto; }
.t4-cat { color: var(--verdancy); font-weight: 900; font-size: 19px; line-height: 1.5; text-transform: uppercase; }
.t4-title { margin: 12px 0 16px; font-weight: 900; font-size: 40px; line-height: 1.2; color: var(--shadow); text-wrap: balance; text-transform: none; letter-spacing: 0; }
.scribe-t4 .t4-dek { margin: 0 0 24px !important; font-size: 20px; line-height: 1.5; }   /* intro-copy */
.t4-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 16px; line-height: 1.5;
  padding-bottom: 32px; border-bottom: 1px solid var(--mist); }
.t4-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--verdancy); flex: none; }

/* 2. Featured image */
.t4-feat { margin: 32px 0 0; }
.t4-feat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; } /* radius-box */

/* 3. Key takeaways (RoundedBox) */
.t4-take { background: var(--textbox); border-radius: 20px; padding: 20px 35px 24px; }
.t4-take h2 { margin: 0 0 8px; font-weight: 900; font-size: 22px; line-height: 1.5; text-transform: uppercase; color: var(--shadow); } /* column-head */
.t4-take ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.t4-take li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; list-style: none; font-size: 18px; line-height: 1.5; }
.t4-take li img { width: 24px; height: auto; margin-top: 4px; }
.t4-take__text { font-size: 18px; line-height: 1.5; }
.scribe-t4 .t4-take__text p + p { margin-top: 12px !important; }
.t4-take__text ul, .t4-take__text ol { margin: 8px 0 0; padding-left: 1.25em; }
.t4-take__text li { list-style: disc; }
.t4-take__text ol li { list-style: decimal; }
.t4-take__text strong { font-weight: 900; }

/* 4. Body */
.scribe-t4 .t4-body p, .scribe-t4 .t4-body > div { margin: 0 0 24px !important; }
.t4-body > :last-child { margin-bottom: 0 !important; }
.t4-body h2, .t4-body h3, .t4-body h4 { margin: 48px 0 8px; font-weight: 900; font-size: 24px; line-height: 1.5; text-transform: uppercase; color: var(--shadow); } /* card-title */
.t4-body > h2:first-child, .t4-body > h3:first-child { margin-top: 0; }
.t4-body a { color: var(--meadow); text-decoration: underline; text-underline-offset: 3px; }
.t4-body ul, .t4-body ol { margin: 0 0 24px; padding-left: 1.25em; }
.t4-body ul li { list-style: disc; }
.t4-body ol li { list-style: decimal; }
.t4-body li { font-size: 18px; margin-bottom: 6px; }
.t4-body strong, .t4-body b { font-weight: 900; }
.t4-body img { max-width: 100%; height: auto; border-radius: 20px; }
.t4-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.t4-body td, .t4-body th { border-bottom: 1px solid var(--mist); padding: 10px 8px; text-align: left; vertical-align: top; }

/* Pull quote: Limelight disc holding the quote mark, no border */
.t4-quote { margin: 32px 0; padding: 0; border: 0; display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.t4-quote__disc { width: 48px; height: 48px; border-radius: 50%; background: var(--limelight);
  display: grid; place-items: center; color: var(--shadow); font-size: 20px; }
.scribe-t4 .t4-quote p { margin: 0 !important; font-size: 20px; line-height: 1.4; }       /* quote-copy */

/* 5. How Simploy helps */
.t4-how { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.t4-how img { width: 120px; height: auto; }
.t4-how h2 { margin: 0 0 4px; font-weight: 900; font-size: 22px; line-height: 1.5; text-transform: uppercase; color: var(--evergreen); }
.t4-how p { font-size: 18px; line-height: 1.5; }

/* 6. Call to action */
.t4-cta { background: var(--evergreen); color: #fff; border-radius: 20px; padding: 48px 40px; display: grid; gap: 16px; justify-items: start; }
.t4-cta h2 { margin: 0; font-weight: 900; font-size: 32px; line-height: 1.2; text-transform: uppercase; color: #fff; text-wrap: balance; }
.t4-cta p { font-size: 20px; line-height: 1.5; color: #fff; }
.t4-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.t4-cta__tel { color: #fff; font-size: 18px; }
.t4-cta__tel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.t4-btn { display: inline-block; background: var(--sunburst-site); border: 1px solid var(--sunburst-site); color: var(--evergreen) !important;
  border-radius: 8px; padding: 10px 32px; font-size: 16px; font-weight: 400; line-height: 1.5; text-decoration: none; letter-spacing: 0; transition: all 300ms ease; } /* radius-control */
.t4-btn:hover { background: var(--limelight); border-color: var(--limelight); color: #fff !important; }
.t4-btn:focus-visible, .t4-cta a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }                       /* focus-on-dark */

/* Closing Scribe mark */
.t4-close-link { display: block; width: 160px; margin: 48px auto 64px; line-height: 0; }
.scribe-t4 .t4-close { display: block; width: 160px !important; height: auto; }

/* 7. More from the Scribe (seam band, then InsightCards) */
.t4-band { margin: 0; }
.t4-more { max-width: 1140px; margin: 0 auto; padding: 64px 24px; }
.t4-more > h2 { margin: 0 0 32px; font-weight: 900; font-size: 40px; line-height: 1.2; text-transform: uppercase; color: var(--shadow); } /* section-title */
.t4-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.t4-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0, 0, 0, .175); border-radius: 30px; overflow: hidden;
  text-decoration: none; color: var(--shadow) !important; box-shadow: none; transition: border-color 300ms ease; }           /* radius-card */
.t4-card:hover { border-color: var(--verdancy); }
.t4-card:focus-visible { outline: 3px solid var(--shadow); outline-offset: 2px; }
.t4-card__img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center; }
.t4-card__img--blank { display: grid; place-items: center; background: var(--verdancy); }
.t4-card__img--blank img { width: 160px; height: auto; }
.t4-card__body { display: block; padding: 20px 25px 0; flex: 1; }
.t4-card__cat { display: block; margin: 0 0 6px; color: var(--verdancy); font-weight: 900; font-size: 18px; line-height: 1.5; text-transform: uppercase; }
.t4-card__title { display: block; font-weight: 900; font-size: 20px; line-height: 1.2; color: var(--title-gray); }
.t4-card__foot { display: flex; align-items: center; gap: 10px; padding: 16px 25px 22px; font-size: 16px; line-height: 1.5; }

/* Phone */
@media (max-width: 767px) {
  .scribe-t4 { padding: 40px 24px 0; }
  .scribe-t4 > * + * { margin-top: 40px; }
  .t4-title { font-size: 32px; }
  .t4-take { padding: 20px 24px; }
  .t4-cta { padding: 32px 24px; }
  .t4-cta h2 { font-size: 26px; }
  .t4-cta__row { flex-direction: column; align-items: flex-start; }
  .t4-how { grid-template-columns: 80px 1fr; gap: 16px; }
  .t4-how img { width: 80px; }
  .t4-more { padding: 48px 24px; }
  .t4-more > h2 { font-size: 32px; }
  .t4-cards { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .t4-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .t4-btn, .t4-card { transition: none; } }

/* "How Simploy helps" link to the category's service page (internal linking, Nov 2026) */
.t4-how p.t4-how__link { font-size: 18px; margin-top: 10px !important; }
.t4-how__link a { font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.t4-how__link a:hover, .t4-how__link a:focus-visible { color: var(--evergreen); }
