/* Islah story: a workshop job sheet. Paper top with an example receipt, a three-column parts table, a dark bench band with three phone pictures, a status strip, then plain columns. Chromium 67 safe: no flex gap, clamp, min, max, inset, padding-inline, aspect-ratio or gradient text. */
@font-face { font-family: 'Isl UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
body.page-islah {
  --bg: #f6f3ea; --surface: #ffffff; --raised: #ebe5d3;
  --text: #17201d; --text-2: #3b4642; --muted: #3b4642;
  --accent: #1f5a55; --accent-ink: #ffffff; --accent-soft: rgba(31,90,85,.12);
  --hair: rgba(23,32,29,.16); --hair-2: rgba(23,32,29,.36);
  --bar: #f6f3ea; --head: 'Isl UI', 'Segoe UI', Arial, sans-serif; --body: 'Isl UI', 'Segoe UI', Arial, sans-serif;
}
.page-islah .wrap { max-width: 1080px; }
.page-islah p { line-height: 1.7; }
.page-islah h1, .page-islah h2, .page-islah h3 { font-weight: 700; letter-spacing: -.01em; }
.page-islah h2 { font-size: 29px; line-height: 1.22; }
.page-islah h3 { font-size: 18px; line-height: 1.3; }
.page-islah a { text-underline-offset: 3px; }
.page-islah .btn { line-height: 1.35; }

/* Top: words left, an example receipt on ruled paper right */
.isl-top { padding: 36px 0 48px; background: #ebe5d3; border-bottom: 3px solid #17201d; }
.isl-top .crumb { margin-bottom: 26px; font-size: 14px; }
.isl-top .story-app { margin-bottom: 22px; }
.isl-top-cols { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; margin: 0 -14px; }
.isl-top-main { width: 58%; padding: 0 14px; box-sizing: border-box; }
.isl-top-side { width: 42%; padding: 0 14px; box-sizing: border-box; }
.isl-top h1 { font-size: 40px; line-height: 1.14; }
.isl-lead { margin-top: 16px; font-size: 18px; color: var(--text-2); }
.isl-sheet { padding: 20px 22px 18px; background: #fffef9; border: 1px solid #b8ae92; border-top: 8px solid #b36b2c; box-shadow: 4px 5px 0 rgba(23,32,29,.16); }
.isl-sheet-tag { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #8a4f1c; }
.isl-sheet-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.isl-lines { margin: 0; padding: 0; }
.isl-lines > div { display: -webkit-flex; display: flex; border-bottom: 1px dashed #b8ae92; }
.isl-lines dt { width: 42%; padding: 7px 10px 7px 0; box-sizing: border-box; font-size: 15px; color: var(--text-2); }
.isl-lines dd { width: 58%; margin: 0; padding: 7px 0; box-sizing: border-box; font-size: 16px; font-weight: 700; font-family: 'Courier New', Courier, monospace; }
.isl-sheet-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* The guide: three-column parts table */
.isl-guide { padding: 52px 0 40px; }
.isl-head { max-width: 780px; margin-bottom: 26px; }
.isl-head p { margin-top: 12px; color: var(--text-2); }
.isl-table { border: 2px solid #17201d; background: #ffffff; }
.isl-tr { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; border-bottom: 1px solid var(--hair-2); }
.isl-tr:last-child { border-bottom: 0; }
.isl-th { background: #17201d; color: #f6f3ea; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.isl-c1, .isl-c2, .isl-c3 { box-sizing: border-box; padding: 16px 18px; }
.isl-th .isl-c1, .isl-th .isl-c2, .isl-th .isl-c3 { padding: 11px 18px; }
.isl-c1 { width: 20%; background: #f6f3ea; border-right: 1px solid var(--hair-2); }
.isl-c2 { width: 46%; border-right: 1px solid var(--hair-2); }
.isl-c3 { width: 34%; background: #eef5f2; }
.isl-th .isl-c1, .isl-th .isl-c2 { background: #17201d; border-right: 1px solid #3b4642; }
.isl-th .isl-c3 { background: #1f5a55; }
.isl-c1 h3 { margin: 0; font-size: 17px; }
.isl-c2 p, .isl-c3 p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.6; }
.isl-c2 p:last-child, .isl-c3 p:last-child { margin-bottom: 0; }
.isl-note { max-width: 780px; margin: 18px 0 0; font-size: 15px; color: var(--text-2); }

/* The app: dark bench band with three phone pictures */
.isl-app { padding: 48px 0 44px; background: #17201d; color: #f1ede1; }
.isl-app h2 { color: #ffffff; }
.isl-head-light p { color: #d4d0c3; }
.isl-app strong { color: #ffffff; }
.isl-shots { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 8px -14px 0; }
.isl-shot { width: 33.3333%; padding: 0 14px 10px; box-sizing: border-box; }
.isl-shot img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 14px; }
.isl-cap { margin: 0; font-size: 15px; line-height: 1.55; color: #d4d0c3; }

/* The status strip and four notes */
.isl-how { padding: 48px 0 28px; }
.isl-how-intro { margin: 10px 0 14px; color: var(--text-2); }
.isl-chips { list-style: none; margin: 0 0 30px; padding: 0; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; counter-reset: islchip; }
.isl-chips li { counter-increment: islchip; margin: 0 10px 10px 0; padding: 8px 16px 8px 14px; font-size: 16px; font-weight: 700; background: #ffffff; border: 2px solid #1f5a55; border-radius: 999px; }
.isl-chips li:before { content: counter(islchip); display: inline-block; width: 22px; height: 22px; margin-right: 8px; line-height: 22px; text-align: center; font-size: 13px; color: #ffffff; background: #1f5a55; border-radius: 50%; }
.isl-chips li:last-child { border-color: #8a4f1c; }
.isl-chips li:last-child:before { background: #8a4f1c; }
.isl-two { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -12px; }
.isl-two > div { width: 50%; padding: 0 12px 22px; box-sizing: border-box; }
.isl-two h3 { margin-bottom: 8px; padding-top: 10px; border-top: 4px solid #b36b2c; }
.isl-two p { margin: 0; }

/* Where it stops */
.isl-stop { padding: 28px 0 36px; }
.isl-stop h2 { margin-bottom: 4px; }
.isl-cols { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 22px -12px 0; }
.isl-cols > div { width: 50%; padding: 0 12px 20px; box-sizing: border-box; }
.isl-cols h3 { margin-bottom: 10px; }
.isl-cols ul { margin: 0; padding: 0 0 0 20px; }
.isl-cols li { margin: 0 0 8px; line-height: 1.6; }
.isl-cols p { margin: 0 0 10px; }

/* Sources */
.isl-srcs { padding: 36px 0; background: #ebe5d3; border-top: 1px solid #b8ae92; border-bottom: 1px solid #b8ae92; }
.isl-src-grid { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -10px; }
.isl-src-grid > div { width: 50%; padding: 0 10px 8px; box-sizing: border-box; }
.isl-src-card { height: 100%; box-sizing: border-box; padding: 20px 22px; background: #ffffff; border-top: 5px solid #1f5a55; }
.isl-src-card h3 { margin-bottom: 8px; }
.isl-src-card p { margin: 0 0 10px; font-size: 16px; }

/* End */
.isl-end { padding: 44px 0 60px; }
.isl-end-box { padding: 28px 30px; background: #1f5a55; color: #f4f7f5; border-radius: 4px; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; }
.isl-end-box > div:first-child { width: 58%; padding-right: 20px; box-sizing: border-box; }
.isl-end-box h2 { color: #ffffff; font-size: 26px; }
.isl-end-box p { margin: 8px 0 0; color: #e3ece9; }
.isl-end-box a { color: #ffe2b8; }
.isl-end-box .btn, .isl-end-box .btn:hover { background: #ffffff; color: #17201d; border-color: #ffffff; text-decoration: none; }
.isl-end-actions { width: 42%; text-align: right; }
.isl-end-actions .btn { margin: 4px 0 4px 8px; }
.isl-end-actions a.isl-all { display: inline-block; margin: 10px 0 0 8px; }

@media (max-width: 820px) {
  .isl-top-main, .isl-top-side { width: 100%; }
  .isl-top-side { margin-top: 24px; }
  .isl-top h1 { font-size: 32px; }
  .isl-th { display: none; }
  .isl-c1, .isl-c2, .isl-c3 { width: 100%; border-right: 0; }
  .isl-c1 { padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
  .isl-c3:before { content: 'In Islah'; display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1f5a55; }
  .isl-shot, .isl-two > div, .isl-cols > div, .isl-src-grid > div { width: 100%; }
  .isl-shot { padding-bottom: 22px; }
  .isl-end-box > div:first-child, .isl-end-actions { width: 100%; text-align: left; padding-right: 0; }
  .isl-end-actions { margin-top: 14px; }
  .isl-end-actions .btn, .isl-end-actions a.isl-all { margin-left: 0; margin-right: 8px; }
  .page-islah h2 { font-size: 25px; }
}
