/* ============================================================
   BolEnglish: notice and diary samples (SEO wave B, 4 Dec 2026)
   Used by /notice-writing-format.html and /diary-entry-format.html
   (tools/wordlist-authoring/wb_ui.py: notice(), diary()).
   Builds on the tokens of /assets/course-landing.css (.page scope).
   ============================================================ */

/* a school notice: a box with the institution, NOTICE, date, heading, body and the writer */
.wf-notice{max-width:34rem;margin:6px auto 0;padding:18px 20px 16px;border:2px solid var(--ink,#1f1640);border-radius:4px;background:#fff;
  font-size:1rem;line-height:1.6;color:var(--ink,#1f1640);overflow-wrap:anywhere}
.wf-notice p{margin:0}
.wf-notice p+p{margin-top:8px}
.wf-org{text-align:center;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.wf-notice .wf-word{margin-top:2px;text-align:center;font-weight:700;letter-spacing:.12em;text-decoration:underline;text-underline-offset:3px}
.wf-notice .wf-date{font-size:.9375rem}
.wf-notice .wf-head{text-align:center;font-weight:700;text-transform:uppercase}
.wf-notice .wf-sign{margin-top:12px;font-weight:600}

/* a diary page: ruled lines, the day and date at the top, then "Dear Diary," */
.wf-diary{margin:6px 0 0;padding:16px 18px 14px 22px;border:1px solid #eadcb8;border-left:4px solid #e9a8c4;border-radius:10px;
  background:#fffdf6 repeating-linear-gradient(180deg,transparent 0 31px,#f1e7cc 31px 32px);
  font-size:1.0625rem;line-height:32px;color:#2b2140;overflow-wrap:anywhere}
.wf-diary p{margin:0}
.wf-diary p+p{margin-top:0}
.wf-day{font-weight:700;color:#5b21b6;display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 12px}
.wf-time{font-weight:600;color:#6b6890}
.wf-dear{font-style:italic}
.wf-dsign{text-align:right;font-style:italic;font-weight:600}

/* ============================================================
   SEO wave C (5 Dec 2026): stories, articles, speeches, essays,
   unseen passages, picture composition, school pages
   (tools/wordlist-authoring/wc_ui.py). Pages link ?v=2.
   ============================================================ */
/* a complete piece of writing: story, article, speech, essay */
.wf-text{margin:6px 0 0;padding:16px 18px;border:1px solid #efe9fd;border-left:3px solid var(--purple,#7c3aed);border-radius:10px;
  background:#fffdfa;font-size:1.0625rem;line-height:1.7;color:var(--ink,#1f1640);overflow-wrap:anywhere}
.wf-text p,.wf-passage p{margin:0}
.wf-text p+p,.wf-passage p+p{margin-top:12px}
.wf-text .wf-ttl,.wf-passage .wf-ttl{text-align:center;font-weight:700;font-size:1.1875rem;color:#3b1d8f}
.wf-text .wf-lbl{margin-top:2px;text-align:center;font-size:.9375rem;color:#6b6890}
.wf-text .wf-ttl+p:not(.wf-lbl),.wf-text .wf-lbl+p{margin-top:12px}
/* an unseen passage */
.wf-passage{margin:6px 0 0;padding:16px 18px;border:1px dashed rgba(124,58,237,.35);border-radius:12px;background:#fbf9ff;
  font-size:1.0625rem;line-height:1.75;color:var(--ink,#1f1640);overflow-wrap:anywhere}
.wf-passage .wf-ttl+p{margin-top:10px}
/* questions and answers */
.wf-qs{margin:12px 0 0;padding-left:1.5rem;line-height:1.6}
.wf-qs li+li{margin-top:6px}
.wf-ans{margin:12px 0 0;border:1px solid rgba(22,163,74,.25);border-radius:12px;background:#f6fdf8}
.wf-ans summary{cursor:pointer;padding:10px 14px;font-weight:700;color:#166534;min-height:44px;display:flex;align-items:center}
.wf-ans ol{margin:0;padding:0 14px 12px 2.2rem;line-height:1.6}
.wf-ans li+li{margin-top:6px}
/* a picture with a caption */
.wf-fig{margin:8px auto 0;max-width:28rem}
.wf-fig img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 1px 0 rgba(124,58,237,.12)}
.wf-fig figcaption{margin-top:6px;text-align:center;font-size:.875rem;color:#6b6890}
/* an outline / story map */
.wf-steps{list-style:none;counter-reset:wfs;margin:8px 0 0;padding:0;display:grid;gap:8px}
.wf-steps li{counter-increment:wfs;display:grid;grid-template-columns:2rem 1fr;gap:2px 10px;padding:10px 12px;border-radius:12px;
  background:#f7f2fe;border:1px solid rgba(124,58,237,.14);line-height:1.55}
.wf-steps li::before{content:counter(wfs);grid-row:span 2;display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;
  background:#7c3aed;color:#fff;font-weight:700}
.wf-steps b{color:#1f1640}
.wf-steps span{color:#4b4566}
/* a Hindi word inside running text */
.wl-hi.wf-in,.wl-rom.wf-in{display:inline}
.wl-rom.wf-in{margin-left:4px;font-size:.9375rem}

/* ============================================================
   SEO wave D (tools/wordlist-authoring/wd_ui.py): colour squares,
   short poems, riddles with hidden answers, group-discussion topics.
   Pages link ?v=3.
   ============================================================ */
/* a colour square in front of a colour name */
.wd-sw{display:inline-block;width:1.05em;height:1.05em;margin-right:8px;border-radius:4px;vertical-align:-.15em;
  box-shadow:inset 0 0 0 1px rgba(31,22,64,.25)}
/* a short poem: centred lines, a gap between stanzas */
.wd-poem{text-align:center}
.wd-poem p{line-height:1.75}
.wd-poem p+p{margin-top:14px}
.wd-words{margin:10px 0 0;font-size:.9375rem;line-height:1.7;color:#4b4566}
.wd-words b{color:#1f1640}
/* riddles: the answer is in a <details> under each riddle */
.wd-riddles{margin:8px 0 0;padding-left:1.6rem;display:grid;gap:10px}
.wd-riddles li{padding:10px 12px;border:1px solid rgba(124,58,237,.14);border-radius:12px;background:#fff}
.wd-riddles li::marker{font-weight:700;color:#7c3aed}
.wd-rq{margin:0;font-weight:600;color:#1f1640;line-height:1.55}
.wd-rans{margin:6px 0 0}
.wd-rans summary{cursor:pointer;display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;font-weight:700;color:#6d28d9}
.wd-rans p{margin:0;padding:2px 0 4px;color:#166534;line-height:1.6}
.wd-rans .wl-rom.wf-in{color:#4b4566}
/* group discussion: one topic, two points for and two against */
.wd-gd{margin:10px 0 0;padding:12px 14px;border:1px solid rgba(124,58,237,.14);border-radius:14px;background:#fff}
.wd-gd-t{margin:0 0 8px;font-weight:700;color:#1f1640;line-height:1.45;display:flex;gap:10px}
.wd-gd-t span{flex:none;display:grid;place-items:center;min-width:1.9rem;height:1.9rem;border-radius:999px;background:#f3f0ff;color:#6d28d9;font-size:.875rem}
.wd-gd-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wd-gd-cols>div{padding:8px 10px;border-radius:10px}
.wd-for{background:#f0fdf4}
.wd-against{background:#fff1f2}
.wd-gd-cols b{display:block;font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase}
.wd-for b{color:#166534}
.wd-against b{color:#9f1239}
.wd-gd-cols ul{margin:4px 0 0;padding-left:1.1rem;font-size:.9375rem;line-height:1.55}
.wd-gd-cols li+li{margin-top:4px}
@media (max-width:640px){.wd-gd-cols{grid-template-columns:1fr}}
@media (max-width:640px){.wd-poem{padding:14px 8px;font-size:1rem}.wd-poem p{line-height:1.65}}
