/* Feature posts (22 Nov 2026, redone the same day). Shafi on the first version: "buggy", "weird format", and "what i
   wanted was to expand the center of the blog for the feature ... notice how the blog is just so small in center in
   normal ones?". So a feature post is the normal article (parts/article.php: heading, byline, prose with the service
   aside, author card, Read next) with a wider centre: the header and body run as wide as the site header (--wrap), the
   text column fills the space beside a 300px aside, and every block in the text is the width of the text. Printed for
   every blog post since 22 Nov 2026 (functions.php; Shafi: "make it for all blogs as default"). Colours and faces are
   the site's own (rythium.css). */

.feat { --f-accent: var(--red, #c00000); --f-accent-text: var(--red-text, #a80000); --f-surface: #f4f5f7; --f-line: var(--hair, #dcdfe3); }

/* The wider centre */
.post-head.feat .wrap { max-width: var(--wrap, 1240px); }
.post-head.feat h1 { max-width: 22em; }
.post-body.feat .wrap { max-width: var(--wrap, 1240px); }
/* Two columns only where the base article has two (v6.css turns it into one column at 980px and below). */
@media (min-width: 981px) { .post-body.feat .wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; } }
@media (min-width: 981px) and (max-width: 1100px) { .post-body.feat .wrap { grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; } }
.feat .prose { max-width: none; }

/* The guide's blocks, the width of the text */
.feat .prose .ulg-tlabel { font: 600 14px/1 var(--label) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--f-accent-text) !important; margin: 0 0 16px !important; }

.feat .prose .ulg-brief { background: var(--f-surface); border-top: 4px solid var(--ink); padding: 28px 32px 12px; margin: 0 0 1.2em; }
.feat .prose .ulg-brief ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.feat .prose .ulg-brief li { font-size: 18px; line-height: 1.5; padding: 10px 0 10px 22px; margin: 0; position: relative; }
.feat .prose .ulg-brief li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 3px; background: var(--f-accent); }
.feat .prose .ulg-brief b, .feat .prose .ulg-brief strong { color: var(--f-accent-text); } /* "bold can be red" (Shafi, 22 Nov) */

.feat .prose .ulg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: .4em 0 1.4em; }
.feat .prose .ulg-pair > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.feat .prose .ulg-pair p { font-size: 19px; }
.feat .prose .ulg-quote { margin: .6em 0 1.5em; padding: 6px 0 6px 28px; border-left: 6px solid var(--f-accent); }
.feat .prose .ulg-quote p { font: 600 26px/1.35 var(--display) !important; letter-spacing: -.015em; color: var(--ink) !important; margin: 0 !important; }
.feat .prose .ulg-note { background: var(--f-surface); padding: 20px 24px; border-left: 4px solid var(--ink); font-size: 19px !important; }

.feat .prose .ulg-fig { margin: 1.8em 0 2em; }
.feat .prose .ulg-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--f-line); background: #fff; }
.feat .prose .ulg-fig figcaption { font: 400 16px/1.5 var(--text); color: var(--mute); margin-top: 14px; }
.feat .prose .ulg-fig figcaption b { color: var(--ink); }

.feat .prose .ulg-table { margin: 1.6em 0 1.9em; overflow-x: auto; }
.feat .prose .ulg-table table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--ink); }
.feat .prose .ulg-table th { text-align: left; font: 600 14px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
  padding: 14px 20px 12px 0; border-bottom: 1px solid var(--f-line); }
.feat .prose .ulg-table td { vertical-align: top; font: 400 17px/1.5 var(--text); color: var(--ink-2); padding: 15px 20px 15px 0; border-bottom: 1px solid var(--f-line); }
.feat .prose .ulg-table td:first-child { width: 26%; }
.feat .prose .ulg-table td b { color: var(--ink); font-weight: 600; }
.feat .prose .ulg-compare td:first-child { width: 18%; }

.feat .prose .ulg-letter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; margin: 1.7em 0 2em; align-items: start; }
.feat .prose .ulg-sheet { background: #fff; border: 1px solid var(--f-line); box-shadow: 0 18px 40px rgb(0 0 0 / .07); padding: 32px 34px; }
.feat .prose .ulg-sheet p, .feat .prose .ulg-sheet td, .feat .prose .ulg-sheet th { font: 400 16px/1.5 var(--text) !important; color: var(--ink-2) !important; }
.feat .prose .ulg-lh { font: 600 13px/1 var(--label) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--mute) !important; margin-bottom: 24px !important; }
.feat .prose .ulg-ln { position: relative; padding-left: 40px; margin: 0 0 16px !important; }
.feat .prose .ulg-ln i { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--f-accent); color: #fff;
  font: 600 15px/26px var(--label); font-style: normal; text-align: center; }
.feat .prose .ulg-sched table { width: 100%; border-collapse: collapse; }
.feat .prose .ulg-sched th, .feat .prose .ulg-sched td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--f-line); font-size: 14px !important; }
.feat .prose .ulg-sig { margin-top: 26px !important; padding-top: 14px; border-top: 1px solid var(--f-line); color: var(--mute) !important; }

.feat .prose .ulg-notes { margin: 0 0 1.2em; padding: 0; list-style: none; counter-reset: n; }
.feat .prose .ulg-notes li { counter-increment: n; position: relative; padding: 12px 0 12px 40px; margin: 0; border-bottom: 1px solid var(--f-line); font-size: 17px; line-height: 1.5; }
.feat .prose .ulg-notes li::marker { content: none; }
.feat .prose .ulg-notes li::before { content: counter(n); position: absolute; left: 0; top: 13px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--f-accent); color: var(--f-accent-text); font: 600 14px/22px var(--label); text-align: center; box-sizing: border-box; }

.feat .prose .ulg-moves { list-style: none; margin: .4em 0 1em; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: m; }
.feat .prose .ulg-moves li { counter-increment: m; background: var(--f-surface); padding: 22px 22px 20px; margin: 0; font-size: 17px; line-height: 1.5; }
.feat .prose .ulg-moves li::marker { content: none; }
.feat .prose .ulg-moves li::before { content: counter(m, decimal-leading-zero); display: block; font: 600 22px/1 var(--label); color: var(--f-accent-text); margin-bottom: 12px; }
.feat .prose .ulg-moves b { display: block; font: 700 19px/1.3 var(--display); margin-bottom: 6px; }

.feat .prose .ulg-faq { border-top: 3px solid var(--ink); }
.feat .prose .ulg-faq h3 { font: 600 21px/1.35 var(--display); margin: 0; padding: 22px 0 8px; border-top: 1px solid var(--f-line); }
.feat .prose .ulg-faq h3:first-child { border-top: 0; }
.feat .prose .ulg-faq p { margin-bottom: 18px; }
.feat .prose .ulg-q { border-bottom: 1px solid var(--f-line); }
.feat .prose .ulg-q summary { cursor: pointer; list-style: none; font: 600 21px/1.35 var(--display); color: var(--ink); padding: 20px 40px 20px 0; position: relative; }
.feat .prose .ulg-q summary::-webkit-details-marker { display: none; }
.feat .prose .ulg-q summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--text); color: var(--f-accent); }
.feat .prose .ulg-q[open] summary::after { content: "\2212"; }

.feat .prose img { max-width: 100%; height: auto; }

@media (max-width: 720px) {
  .feat .prose .ulg-brief { padding: 22px 18px 8px; }
  .feat .prose .ulg-brief ul, .feat .prose .ulg-pair, .feat .prose .ulg-letter { grid-template-columns: 1fr; gap: 18px; }
  .feat .prose .ulg-moves { grid-template-columns: 1fr; }
  .feat .prose .ulg-table table { min-width: 620px; }
  .feat .prose .ulg-sheet { padding: 22px 18px; }
}
