/* ============================================================================
   Inspiring Wishes — "Wish Wall" (iws-theme 1.0.0, 2026-11-15)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Stitch direction C (user pick 2026-11-15): a night-sky pinboard — night
   indigo masthead under saffron moon phases, a masonry wall of photo pins
   (headline under the photo, never on it), solid magenta / saffron colour
   pins, a violet topics band, a magenta newsletter band. Noto Serif Display
   over Albert Sans; violet #6D28D9 is the one body-link hue.
   ========================================================================= */

/* --- Topic fills: --fill + the text colour that passes on it ------------------- */

.iws-t-lifestyle { --fill: var(--t-lifestyle); --on-fill: #FFFFFF; --on-fill-muted: #DDD6FE; }
.iws-t-spirit    { --fill: var(--t-spirit);    --on-fill: #FFFFFF; --on-fill-muted: #FBCFE8; }
.iws-t-mind      { --fill: var(--t-mind);      --on-fill: #FFFFFF; --on-fill-muted: #CCFBF1; }
.iws-t-events    { --fill: var(--t-events);    --on-fill: var(--mn-ink); --on-fill-muted: var(--mn-ink); }
.iws-t-quotes    { --fill: var(--t-quotes);    --on-fill: #FFFFFF; --on-fill-muted: #C7D2FE; }
.iws-t-none, .iws-t- { --fill: var(--mn-mast); --on-fill: #FFFFFF; --on-fill-muted: var(--mn-on-mast-muted); }

/* --- Base ------------------------------------------------------------------- */

html { overflow-x: clip; background: var(--mn-paper); }
body {
    background: var(--mn-paper);
    color: var(--mn-ink);
    font-family: var(--mn-text);
    font-size: var(--mn-size-body);
    line-height: var(--mn-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--mn-display); font-weight: 600; color: var(--mn-head); line-height: var(--mn-lh-head); letter-spacing: -0.005em; }
a { color: var(--mn-blue); }
a:hover { color: var(--mn-blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--mn-blue); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--mn-text); }
::selection { background: var(--mn-sun); color: var(--mn-ink); }

.site-container { max-width: none; margin: 0; padding: 0; }
.iws-wrap { max-width: var(--mn-page-max); margin-left: auto; margin-right: auto; padding-left: var(--mn-gutter); padding-right: var(--mn-gutter); box-sizing: border-box; }
.site-main { padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.iws-home.site-main { padding-bottom: 0; }

.iws-skip-link { position: absolute; left: -9999px; top: 0; background: var(--mn-sun); color: var(--mn-ink); padding: 0.75rem 1rem; z-index: 2000; font-weight: 700; }
.iws-skip-link:focus { left: 1rem; top: 1rem; }

.iws-label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mn-meta); }
.iws-meta { color: var(--mn-meta); }

/* Eyebrow section label: saffron dot + small caps (the Wish Wall head). */
.iws-eyebrow { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-family: var(--mn-text); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mn-ink); line-height: 1.3; }
.iws-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--mn-sun); }

.iws-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 2rem; border-radius: var(--mn-radius); background: var(--mn-blue); color: #FFFFFF; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.iws-button:hover { background: var(--mn-blue-dark); color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.2em; }

/* --- Moon-phase strip (masthead top, footer top, newsletter band) ---------------- */

.iws-moons { display: flex; justify-content: center; align-items: center; gap: 14px; height: 30px; color: var(--mn-sun); }
.iws-moons svg { display: block; flex: none; }
.iws-masthead > .iws-moons { background: var(--mn-mast-deep); }

/* --- Masthead: solid night indigo --------------------------------------------- */

.iws-masthead { position: relative; z-index: 100; background: var(--mn-mast); color: var(--mn-on-mast); }
.iws-nameplate { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.iws-brand { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.iws-brand-h1 { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.iws-wordmark { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; text-decoration: none; color: var(--mn-on-mast); }
.iws-wordmark:hover { color: #FFFFFF; }
.iws-wordmark, .iws-wordmark:hover, .iws-footer a.iws-footer-word, .iws-footer a.iws-footer-word:hover { text-decoration: none; }
.iws-wordmark:focus-visible { outline-color: var(--mn-sun); }
.iws-wordmark-text { display: inline-flex; align-items: flex-start; gap: 0.3rem; font-family: var(--mn-display); font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.95rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.005em; white-space: nowrap; }
.iws-crescent { flex: none; margin-top: 0.1em; color: var(--mn-sun); }
.iws-tagline { display: block; margin-top: 0.3rem; font-family: var(--mn-text); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.01em; color: var(--mn-on-mast-muted); white-space: nowrap; }

.iws-nav-wrap { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.iws-masthead .main-navigation { display: flex; background: none; padding: 0; margin: 0; }
.iws-masthead .primary-menu, .iws-masthead .main-navigation ul.primary-menu { display: flex; align-items: center; flex-wrap: nowrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.iws-masthead .main-navigation a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.95rem; position: relative; white-space: nowrap; font-family: var(--mn-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: 0; color: var(--mn-on-mast); text-decoration: none; }
.iws-masthead .main-navigation a::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 6px; height: 2px; background: var(--mn-sun); opacity: 0; }
.iws-masthead .main-navigation a:hover { color: #FFFFFF; }
.iws-masthead .main-navigation a:hover::after { opacity: 0.7; }
.iws-masthead .main-navigation .current-cat > a { color: var(--mn-sun); }
.iws-masthead .main-navigation .current-cat > a::after { opacity: 1; }
.iws-masthead .main-navigation a:focus-visible { outline-color: var(--mn-sun); }
.iws-masthead .main-navigation .iws-drawer-label, .iws-masthead .main-navigation .iws-drawer-sub { display: none; }

.iws-tools { gap: 0.25rem; }
.iws-masthead .mobile-search-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; align-items: center; justify-content: center; color: var(--mn-on-mast); background: transparent; border-radius: var(--mn-pill); }
.iws-masthead .mobile-search-toggle svg { color: var(--mn-on-mast); }
.iws-masthead .mobile-search-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.iws-masthead .mobile-search-toggle:focus-visible, .iws-masthead .mobile-menu-toggle:focus-visible { outline-color: var(--mn-sun); }
.iws-masthead .mobile-menu-toggle { display: none; }
.iws-masthead .hamburger-line { background: var(--mn-on-mast); }
.iws-masthead .mobile-menu-toggle.active .hamburger-line { background: var(--mn-ink); }

.iws-masthead .mobile-search-form { background: var(--mn-mast-deep); }
.iws-masthead .mobile-search-form input[type="search"] { border: 0; border-radius: var(--mn-radius); background: #FFFFFF; min-height: 48px; padding: 0 1.1rem; font-size: 1rem; color: var(--mn-ink); }
.iws-masthead .mobile-search-form button[type="submit"] { background: var(--mn-sun); color: var(--mn-ink); font-weight: 700; border-radius: var(--mn-radius); min-height: 48px; padding: 0 1.4rem; }
.iws-masthead .mobile-search-close { width: 44px; height: 44px; color: #FFFFFF; }
@media (min-width: 1101px) {
    .iws-masthead .mobile-search-form { position: absolute; top: 100%; left: 0; right: 0; padding: 0.9rem 0; transform: none; transition: none; box-shadow: 0 10px 24px rgba(30, 27, 75, 0.25); z-index: 99; }
    .iws-masthead .mobile-search-form form { max-width: 44rem; }
}

/* --- Frames ------------------------------------------------------------------- */

.iws-frame { display: block; overflow: hidden; background: var(--mn-rule-soft); }
.iws-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.iws-r-16x9 { aspect-ratio: 16 / 9; }
.iws-r-3x2 { aspect-ratio: 3 / 2; }
.iws-r-4x3 { aspect-ratio: 4 / 3; }
.iws-r-1x1 { aspect-ratio: 1 / 1; }
.iws-r-4x5 { aspect-ratio: 4 / 5; }
.iws-r-3x4 { aspect-ratio: 3 / 4; }
.iws-frame-empty { display: block; width: 100%; height: 100%; min-height: 100%; background: var(--mn-tint); }

/* --- The wall (masonry) --------------------------------------------------------
   Without JS: a plain grid. iws_wall_script() deals the pins into
   .iws-wall-col columns (shortest first) and adds .is-dealt. */

.iws-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; align-items: start; }
.iws-wall-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iws-wall.is-dealt { display: flex; align-items: flex-start; gap: 1.75rem; }
.iws-wall-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1.75rem; }

.iws-pin { display: flex; flex-direction: column; min-width: 0; background: var(--mn-sheet); border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); overflow: hidden; box-shadow: var(--mn-shadow); transition: box-shadow 0.18s ease, transform 0.18s ease; }
.iws-pin:hover { box-shadow: var(--mn-shadow-hover); transform: translateY(-2px); }
.iws-pin-body { padding: 1.1rem 1.35rem 1.35rem; }
.iws-pin-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.55rem; font-size: 0.875rem; line-height: 1.3; color: var(--mn-meta); }
.iws-pin-meta time { flex: none; margin-left: auto; font-variant-numeric: tabular-nums; }
.iws-pin-meta time:first-child { margin-left: 0; }
.iws-pin-kicker { display: inline-flex; align-items: center; min-height: 28px; font-weight: 700; color: var(--mn-blue); text-decoration: none; }
.iws-pin-kicker:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.iws-pin-title { margin: 0; font-size: clamp(1.2rem, 1.12rem + 0.3vw, 1.4rem); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.iws-pin-title a { color: var(--mn-ink); text-decoration: none; }
.iws-pin-title a:hover { color: var(--mn-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.iws-pin-sum { margin: 0.6rem 0 0; font-size: 1rem; line-height: 1.55; color: var(--mn-meta); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Colour pin: a solid topic card, no photo. */
.iws-pin-color { justify-content: center; padding: 1.6rem 1.5rem 1.5rem; background: var(--fill); color: var(--on-fill); border: 0; }
.iws-pin-color-label { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.iws-pin-color-label svg { flex: none; color: var(--mn-sun); }
.iws-t-events .iws-pin-color-label svg { color: var(--mn-ink); }
.iws-pin-color-label a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-decoration: none; }
.iws-pin-color-label a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.iws-pin-color-title { margin: 0; font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.95rem); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.iws-pin-color-title a { color: var(--on-fill); text-decoration: none; }
.iws-pin-color-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.iws-pin-color-sum { margin: 0.9rem 0 1.1rem; font-size: 1rem; line-height: 1.6; color: var(--on-fill); }
.iws-pin-color-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 700; color: var(--on-fill); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.iws-pin-color-link:hover { color: var(--on-fill); text-decoration-thickness: 2px; }
.iws-pin-color a:focus-visible { outline-color: var(--on-fill); }

/* --- Front: wall sections ---------------------------------------------------------- */

.iws-wall-section { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.iws-wall-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 1.5rem; }
.iws-wall-note { margin: 0; font-size: 0.9375rem; color: var(--mn-meta); }
.iws-more { display: flex; justify-content: center; margin: 2.75rem 0 0; }

/* --- Front: topics band (solid violet) ---------------------------------------------- */

.iws-topic-band { background: var(--mn-violet); color: #FFFFFF; padding: clamp(2.75rem, 5vw, 4rem) 0; }
.iws-band-title { margin: 0 0 1.75rem; color: #FFFFFF; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 600; line-height: 1.1; }
.iws-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.iws-tiles li { margin: 0; min-width: 0; }
.iws-tile { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 0.95rem; height: 100%; padding: 1.1rem; box-sizing: border-box; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--mn-radius); background: rgba(255, 255, 255, 0.08); color: #FFFFFF; text-decoration: none; transition: background-color 0.18s ease; }
.iws-tile:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; text-decoration: none; }
.iws-tile:hover .iws-tile-count, .iws-tile:hover .iws-tile-line { text-decoration: none; }
.iws-tile:focus-visible { outline: 3px solid var(--mn-sun); outline-offset: 3px; }
.iws-tile-photo { grid-row: 1 / 3; display: block; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--fill); box-shadow: 0 0 0 3px var(--mn-sun); }
.iws-tile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.iws-tile-name { align-self: end; font-family: var(--mn-display); font-size: 1.3125rem; font-weight: 600; line-height: 1.15; }
.iws-tile:hover .iws-tile-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.iws-tile-count { align-self: start; margin-top: 0.2rem; font-size: 0.875rem; color: #DDD6FE; }
.iws-tile-line { grid-column: 1 / -1; margin-top: 0.9rem; font-size: 0.9375rem; line-height: 1.45; color: #FFFFFF; }

/* --- Newsletter band (solid magenta) ------------------------------------------------ */

.iws-band-news { background: var(--mn-orange); color: #FFFFFF; padding: clamp(2.75rem, 5vw, 4rem) 0; }
.iws-band-news-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.75rem 3rem; align-items: center; }
.iws-band-news .iws-moons { justify-content: flex-start; height: auto; margin: 0 0 1.1rem; }
.iws-band-news-title { margin: 0 0 0.75rem; color: #FFFFFF; font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.875rem); font-weight: 600; line-height: 1.08; text-wrap: balance; }
.iws-band-news-text p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: #FFFFFF; }
.iws-band-news .newsletter-form { display: flex; flex-direction: row; align-items: stretch; gap: 0.75rem; }
.iws-band-news .newsletter-form input[type="email"] { width: auto; margin: 0; }
.iws-band-news input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0 1.25rem; border: 0; border-radius: var(--mn-radius); background: #FFFFFF; font-size: 1.0625rem; color: var(--mn-ink); }
.iws-band-news button { flex: none; min-height: 56px; padding: 0 1.75rem; border: 0; border-radius: var(--mn-radius); background: var(--mn-sun); color: var(--mn-ink); font-size: 1.0625rem; font-weight: 700; cursor: pointer; }
.iws-band-news button:hover { background: #FBBF24; }
.iws-band-news :focus-visible { outline-color: #FFFFFF; }
.iws-band-news .newsletter-message { background: #FFFFFF; color: var(--mn-ink); }
.iws-news-points { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 700; color: #FFFFFF; }
.iws-news-points li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.iws-news-points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mn-sun); }

/* --- Two columns: main + sidebar ------------------------------------------------------ */

.iws-columns { display: grid; grid-template-columns: minmax(0, 1fr) var(--mn-sidebar); gap: 0 var(--mn-side-gap); align-items: start; }
.iws-aside { min-width: 0; }

/* --- Sidebar ------------------------------------------------------------------------------- */

.iws-side { display: flex; flex-direction: column; gap: 2rem; }
.iws-side-block { padding: 1.4rem 1.4rem 1rem; background: var(--mn-sheet); border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); }
.iws-side-title { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.9rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--mn-rule); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.iws-side-title::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--mn-sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

.iws-numbered { list-style: none; margin: 0; padding: 0; }
.iws-numbered li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.5rem; align-items: start; padding: 0.7rem 0; border-top: 1px solid var(--mn-rule-soft); }
.iws-numbered li:first-child { border-top: 0; padding-top: 0.2rem; }
.iws-num { font-family: var(--mn-display); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--mn-orange); font-variant-numeric: lining-nums tabular-nums; }
.iws-numbered a { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--mn-ink); text-decoration: none; }
.iws-numbered a:hover { color: var(--mn-blue); text-decoration: underline; text-underline-offset: 0.18em; }

.iws-topics { list-style: none; margin: 0; padding: 0; }
.iws-topics li { border-bottom: 1px solid var(--mn-rule-soft); }
.iws-topics li:last-child { border-bottom: 0; }
.iws-topics a { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; color: var(--mn-ink); text-decoration: none; font-weight: 600; }
.iws-topics a:hover .iws-topic-name { color: var(--mn-blue); text-decoration: underline; text-underline-offset: 0.2em; }
.iws-chip { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--fill); }
.iws-topic-name { flex: 1 1 auto; }
.iws-topic-count { min-width: 2.25rem; padding: 0.1rem 0.5rem; border-radius: var(--mn-pill); background: var(--mn-rule-soft); font-size: 0.875rem; color: var(--mn-ink); text-align: center; font-variant-numeric: tabular-nums; }

/* Newsletter card: solid magenta, saffron button. */
.iws-news { padding: 1.6rem 1.5rem 1.4rem; background: var(--mn-orange); border-radius: var(--mn-radius); color: #FFFFFF; }
.iws-news .iws-label { color: #FBCFE8; }
.iws-news-title { margin: 0.45rem 0 0.55rem; font-size: 1.55rem; font-weight: 600; line-height: 1.15; color: #FFFFFF; }
.iws-news-text { margin: 0 0 1rem; font-size: 1rem; line-height: 1.55; color: #FFFFFF; }
.iws-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.iws-news input[type="email"] { min-height: 50px; padding: 0 1.1rem; border: 0; border-radius: var(--mn-radius); background: #FFFFFF; font-size: 1rem; color: var(--mn-ink); }
.iws-news button { min-height: 50px; border: 0; border-radius: var(--mn-radius); background: var(--mn-sun); color: var(--mn-ink); font-size: 1.0625rem; font-weight: 700; cursor: pointer; }
.iws-news button:hover { background: #FBBF24; }
.iws-news :focus-visible { outline-color: #FFFFFF; }
.iws-news-note { margin: 0.8rem 0 0; font-size: 0.875rem; color: #FBCFE8; }
.newsletter-message { margin-top: 0.75rem; padding: 0.6rem 0.9rem; border-radius: var(--mn-radius); font-size: 0.9375rem; }
.newsletter-message.success { background: #E4F2E5; color: #1B5E20; }
.newsletter-message.error { background: #FDE8EF; color: #881337; }

.iws-side-search .search-form, .iws-archive-search .search-form { display: flex; gap: 0.5rem; }
.iws-side-search .search-field, .iws-archive-search .search-field { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 1rem; border: 2px solid var(--mn-rule); border-radius: var(--mn-radius); background: #FFFFFF; font-size: 1rem; color: var(--mn-ink); }
.iws-side-search .search-field:focus, .iws-archive-search .search-field:focus { border-color: var(--mn-blue); }
.iws-side-search .search-submit, .iws-archive-search .search-submit { min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: var(--mn-radius); background: var(--mn-blue); color: #FFFFFF; font-weight: 700; cursor: pointer; }
.iws-side-search .search-submit:hover, .iws-archive-search .search-submit:hover { background: var(--mn-blue-dark); }
.iws-archive-search .search-form { max-width: 34rem; margin-top: 1rem; }

/* Ad frame the theme places (sidebar): labelled, reserved. */
.iws-ad { display: flex; flex-direction: column; align-items: center; padding: 0.7rem 0.75rem 0.9rem; background: var(--mn-sheet); border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); }
.iws-ad::before { content: "Advertisement"; display: block; margin-bottom: 0.5rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mn-meta); }
.iws-ad-side { min-height: 290px; box-sizing: border-box; }
.iws-ad .code-block { margin: 0 !important; max-width: 100%; }
.iws-ad-placeholder { display: flex; align-items: center; justify-content: center; width: 280px; max-width: 100%; height: 250px; border: 1px dashed var(--mn-rule); color: var(--mn-meta); font-size: 0.8125rem; text-align: center; padding: 1rem; box-sizing: border-box; }

/* --- Breadcrumb (shared) -------------------------------------------------------------------- */

.iws-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.55rem; margin: 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.iws-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.iws-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.iws-breadcrumb .sep { opacity: 0.6; }
.iws-breadcrumb a:focus-visible { outline-color: currentColor; }

/* --- Single ----------------------------------------------------------------------------------- */

.iws-article-head { padding-top: clamp(1rem, 2vw, 1.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.iws-article-head > * { max-width: 62rem; }
.iws-article-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.1rem; margin: 0 0 0.9rem; }
.iws-article-head .iws-breadcrumb { color: var(--mn-meta); }
.iws-article-head .iws-breadcrumb a.iws-article-kicker { position: relative; min-height: 32px; color: var(--on-fill); text-decoration: none; }
.iws-article-head .iws-breadcrumb a.iws-article-kicker::after { content: ""; position: absolute; inset: -6px 0; } /* 44px tap target */
.iws-article-head .iws-breadcrumb a.iws-article-kicker:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.iws-article-head .iws-breadcrumb a.iws-article-kicker:focus-visible { outline-color: var(--fill); }
.iws-article-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; margin: 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mn-meta); font-variant-numeric: tabular-nums; }
.iws-article-kicker { display: inline-flex; align-items: center; padding: 0.25rem 0.65rem; border-radius: var(--mn-radius); background: var(--fill); color: var(--on-fill); }
.iws-article-title { margin: 0; color: var(--mn-ink); font-size: var(--mn-title); font-weight: 600; line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.iws-article-dek { margin: 1.1rem 0 0; max-width: 48rem; font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.55; color: var(--mn-meta); }

.iws-single .iws-columns { padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--mn-rule); }
.iws-article-cover { margin: 0 0 2rem; }
.iws-article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--mn-radius); }

.iws-article .entry-content { font-size: var(--mn-size-body); line-height: var(--mn-lh-body); color: var(--mn-ink); }
.iws-article .entry-content > * { max-width: 100%; }
.iws-article .entry-content p { text-wrap: pretty; }
.iws-article .entry-content h2 { display: flex; align-items: baseline; gap: 0.6rem; margin: 3rem 0 1rem; padding: 0 !important; border: 0; font-size: var(--mn-h2); font-weight: 600; line-height: 1.18; color: var(--mn-ink); scroll-margin-top: 1.5rem; text-wrap: balance; }
.iws-article .entry-content h2::before { content: ""; flex: none; width: 0.55em; height: 0.55em; transform: translateY(-0.05em); background: var(--mn-sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.iws-article .entry-content h2::after { display: none; }
.iws-article .entry-content h3 { margin: 2rem 0 0.75rem; font-size: var(--mn-h3); font-weight: 600; color: var(--mn-ink); scroll-margin-top: 1.5rem; }
.iws-article .entry-content h4, .iws-article .entry-content h5, .iws-article .entry-content h6 { font-family: var(--mn-display); font-weight: 600; color: var(--mn-ink); }
.iws-article .entry-content a { color: var(--mn-blue); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.iws-article .entry-content a:hover { color: var(--mn-blue-dark); text-decoration-thickness: 2px; }
.iws-article .entry-content strong { font-weight: 700; color: var(--mn-ink); }
.iws-article .entry-content figure { margin: 2.25rem 0; }
.iws-article .entry-content figure img, .iws-article .entry-content p > img { display: block; height: auto; border: 0; border-radius: var(--mn-radius); box-shadow: none; background: var(--mn-rule-soft); }
.iws-article .entry-content figcaption { font-style: normal; text-align: left; font-size: 0.9375rem; line-height: 1.5; color: var(--mn-meta); padding-top: 0.55rem; }
.iws-article .entry-content ol, .iws-article .entry-content ul { padding-left: 1.5rem; }
.iws-article .entry-content li { margin-bottom: 0.5rem; }
.iws-article .entry-content li::marker { color: var(--mn-blue); font-weight: 700; }
.iws-article .entry-content blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border: 0; border-left: 6px solid var(--mn-orange); background: var(--mn-sheet); border-radius: 0 var(--mn-radius) var(--mn-radius) 0; font-family: var(--mn-display); font-size: 1.25rem; font-style: normal; line-height: 1.5; color: var(--mn-ink); }
.iws-article .entry-content blockquote p { margin: 0; }
.iws-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.iws-article .entry-content hr { border: 0; border-top: 1px solid var(--mn-rule); }

/* Table of contents if a post carries one (nav.toc). */
.iws-article .entry-content .toc { margin: 2rem 0; padding: 1.25rem 1.5rem 0.75rem; background: var(--mn-violet); color: #FFFFFF; border-radius: var(--mn-radius); }
.iws-article .entry-content .toc h2 { margin: 0 0 0.6rem; font-family: var(--mn-text); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; }
.iws-article .entry-content .toc h2::before { display: none; }
.iws-article .entry-content .toc ul, .iws-article .entry-content .toc ol { margin: 0; padding-left: 1.25rem; }
.iws-article .entry-content .toc li::marker { color: var(--mn-sun); }
.iws-article .entry-content .toc a { color: #FFFFFF; text-decoration: none; font-weight: 600; }
.iws-article .entry-content .toc a:hover { text-decoration: underline; }

/* Tables: indigo head row, horizontal scroll on phones. */
.table-scroll { overflow-x: auto; margin: 1.75rem 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); background: #FFFFFF; }
.table-scroll table { min-width: 560px; margin: 0; }
.iws-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95em; font-variant-numeric: tabular-nums; }
.iws-article .entry-content th { background: var(--mn-mast); color: #FFFFFF; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; }
.iws-article .entry-content td, .iws-article .entry-content th { border-bottom: 1px solid var(--mn-rule); padding: 0.75rem 0.95rem; vertical-align: top; min-width: 9rem; }
.iws-article .entry-content tr:nth-child(even) td { background: var(--mn-tint); }
.iws-article .entry-content td:first-child, .iws-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; }
.iws-article .entry-content td:first-child { background: #FFFFFF; font-weight: 700; }
.iws-article .entry-content tr:nth-child(even) td:first-child { background: var(--mn-tint); }
.iws-article .entry-content th:first-child { background: var(--mn-mast); }
.entry-content .table-scroll.is-overflow:not(.at-end) {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 2rem 0; }
.page-links .iws-label { margin-right: 0.5rem; }
.page-links a, .page-links .post-page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border: 2px solid var(--mn-blue); border-radius: var(--mn-radius); background: #FFFFFF; color: var(--mn-blue); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.page-links a:hover { background: var(--mn-tint); }
.page-links .post-page-numbers.current { background: var(--mn-violet); border-color: var(--mn-violet); color: #FFFFFF; }

.iws-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin: 2.5rem 0 0; padding: 1.1rem 0; border-top: 1px solid var(--mn-rule); border-bottom: 1px solid var(--mn-rule); }
.iws-share .iws-label { margin-right: 0.5rem; color: var(--mn-ink); }
.iws-share a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--mn-blue); border-radius: var(--mn-radius); font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.iws-share a:hover { background: var(--mn-blue); color: #FFFFFF; }

/* Section head (Keep reading, 404 Latest): serif name + saffron star, link right. */
.iws-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 1.5rem; }
.iws-head-name { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.1; }
.iws-head-name::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--mn-sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.iws-head-side { display: flex; align-items: center; gap: 1rem; margin: 0; }
.iws-head-count { font-size: 0.875rem; color: var(--mn-meta); }
.iws-head-link { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; font-weight: 700; text-decoration: none; }
.iws-head-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.iws-related.related-posts { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 5vw, 4.5rem); background: transparent; border-top: 1px solid var(--mn-rule); }
.iws-related .iws-related-title { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.5rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.1; letter-spacing: 0; text-align: left; color: var(--mn-ink); }
.iws-related .iws-related-title::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--mn-sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.iws-related .iws-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.iws-related .related-post-item { border-radius: var(--mn-radius); box-shadow: var(--mn-shadow); }
.iws-related .related-post-item:hover { transform: translateY(-2px); box-shadow: var(--mn-shadow-hover); }
.iws-related-more { display: flex; justify-content: center; margin: 2.25rem 0 0; }
.iws-related .iws-pin-title { font-size: 1.2rem; }

.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--mn-h3); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; padding: 1.25rem; background: var(--mn-sheet); border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as, .comments-area .must-log-in { color: var(--mn-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--mn-radius); border: 2px solid var(--mn-rule); background: #FFFFFF; color: var(--mn-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--mn-blue); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--mn-blue) !important; border: none; border-radius: var(--mn-radius) !important; color: #FFFFFF !important; font-weight: 700; min-height: 48px; padding: 0 1.6rem; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--mn-blue-dark) !important; }
.comments-area .comment-body { background: #FFFFFF; border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form-cookies-consent input { flex: 0 0 auto; margin: 0.3rem 0 0; }
.comment-form-cookies-consent label { margin: 0; }

/* --- Archive: solid topic masthead band -------------------------------------------------------- */

.iws-archive-head { background: var(--fill); color: var(--on-fill); }
.iws-archive-head-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2.5rem; padding-top: clamp(1rem, 2.5vw, 1.75rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.iws-archive-head-text { flex: 1 1 auto; min-width: 0; }
.iws-archive-head .iws-breadcrumb { color: var(--on-fill-muted); }
.iws-archive-kicker { margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.iws-archive-title { margin: 0.1rem 0 0; color: inherit; font-size: clamp(2.6rem, 1.7rem + 3.2vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.015em; }
.iws-archive-page { font-size: 0.45em; letter-spacing: 0; }
.iws-archive-dek { margin: 0.9rem 0 0; max-width: 48ch; font-size: 1.1875rem; line-height: 1.5; }
.iws-archive-count { margin: 0.75rem 0 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-fill-muted); }
.iws-archive-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; max-width: 30rem; }
.iws-archive-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid currentColor; border-radius: var(--mn-pill); color: var(--on-fill); font-size: 0.9375rem; font-weight: 700; text-decoration: none; }
.iws-archive-chips a:hover { background: var(--on-fill); color: var(--fill); }
.iws-archive-chips a:focus-visible { outline-color: var(--on-fill); }
.iws-archive .iws-columns { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.iws-empty { color: var(--mn-meta); }

.iws-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin: 2.5rem 0 0; }
.iws-pager .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.iws-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border: 1px solid var(--mn-rule); border-radius: var(--mn-radius); background: #FFFFFF; color: var(--mn-ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.iws-pager a.page-numbers:hover { border-color: var(--mn-blue); color: var(--mn-blue); }
.iws-pager .page-numbers.current { background: var(--mn-violet); border-color: var(--mn-violet); color: #FFFFFF; }
.iws-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; color: var(--mn-meta); }
.iws-pager-count { margin: 0; font-size: 0.9375rem; color: var(--mn-meta); }

/* --- Static pages, 404 ----------------------------------------------------------------------------- */

.iws-page { max-width: 820px; padding-top: clamp(1.75rem, 3vw, 2.75rem); }
.iws-page-head { margin: 0 0 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--mn-rule); }
.iws-page .iws-article-title, .iws-404 .iws-article-title { color: var(--mn-ink); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.iws-page .iws-article-meta { display: flex; margin: 0.9rem 0 0; }
.iws-page .entry-content { font-size: var(--mn-size-body); line-height: var(--mn-lh-body); }
.iws-page .entry-content h2 { margin: 2.5rem 0 0.9rem; font-size: var(--mn-h2); }
.iws-page .entry-content h3 { margin: 2rem 0 0.75rem; font-size: var(--mn-h3); }
.iws-page .entry-content a { text-decoration: underline; text-underline-offset: 0.18em; }
.iws-404 .iws-page-head { padding-top: clamp(1.75rem, 3vw, 2.75rem); max-width: 44rem; }
.iws-404 .iws-topics { margin-top: 1.25rem; max-width: 30rem; }
.iws-404 .iws-latest { padding-top: 1rem; padding-bottom: 1rem; }

/* --- Footer: solid night indigo under the moon row ----------------------------------------------------- */

.iws-footer { margin-top: 0; padding: 0 0 1.5rem; background: var(--mn-footer); color: var(--mn-on-footer); }
.iws-footer > .iws-moons { background: var(--mn-mast-deep); margin-bottom: 2.5rem; }
.iws-footer a { color: var(--mn-on-footer); text-decoration: none; }
.iws-footer a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.2em; }
.iws-footer a:focus-visible { outline-color: var(--mn-sun); }
.iws-footer-id { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.iws-footer-word { display: inline-flex; }
.iws-logo-footer.iws-wordmark-text { font-size: 1.75rem; color: #FFFFFF; }
.iws-footer-owner { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--mn-on-footer-muted); }
.iws-footer-owner strong { color: #FFFFFF; font-weight: 700; }
.iws-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; padding: 1.75rem 0; }
.iws-fhead { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mn-sun); }
.iws-flist { list-style: none; margin: 0; padding: 0; }
.iws-flist li { margin: 0; }
.iws-flist a { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.9375rem; }
.iws-colophon { margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.875rem; color: var(--mn-on-footer-muted); }
.iws-footer-note { color: var(--mn-on-footer-muted); }

/* --- Responsive ---------------------------------------------------------------------------------------- */

@media (max-width: 1240px) {
    .iws-masthead .main-navigation a { padding: 0 0.65rem; font-size: 1.0625rem; }
    .iws-masthead .main-navigation a::after { left: 0.65rem; right: 0.65rem; }
    .iws-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    /* Masthead: wordmark left, search + menu right; topics move into the drawer. */
    .iws-nameplate { min-height: 0; padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .iws-masthead .mobile-menu-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; }
    .iws-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .iws-drawer-clip .main-navigation { position: absolute; display: block; pointer-events: auto; background: #FFFFFF; overflow-y: auto; padding: 0; max-width: none; }
    .iws-masthead .primary-menu, .iws-masthead .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .iws-masthead .main-navigation .primary-menu li { border-bottom: 1px solid var(--mn-rule); }
    .iws-masthead .main-navigation a { display: flex; min-height: 56px; margin: 0; padding: 0 1.5rem; font-size: 1.25rem; color: var(--mn-ink); }
    .iws-masthead .main-navigation a:hover, .iws-masthead .main-navigation .current-cat > a { background: var(--mn-tint); color: var(--mn-ink); box-shadow: inset 6px 0 0 var(--mn-sun); }
    .iws-masthead .main-navigation a::after { display: none; }
    .iws-masthead .main-navigation a:focus-visible { outline-color: var(--mn-blue); }
    .iws-masthead .main-navigation .iws-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--mn-rule); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mn-meta); }
    .iws-masthead .main-navigation .iws-drawer-sub { display: flex; align-items: center; justify-content: center; margin: 1.5rem; min-height: 52px; font-weight: 700; background: var(--mn-orange); color: #FFFFFF; border-radius: var(--mn-radius); text-decoration: none; }
    .iws-masthead .mobile-menu-toggle.active { position: fixed; top: 0.7rem; right: 0.75rem; z-index: 1002; }

    .iws-columns { grid-template-columns: minmax(0, 1fr); }
    .iws-aside { margin-top: 3rem; }
    .iws-aside .iws-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
    .iws-aside .iws-side-search, .iws-aside .iws-ad { grid-column: 1 / -1; }
    .iws-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iws-archive-head-inner { flex-direction: column; align-items: flex-start; }
    .iws-archive-chips { justify-content: flex-start; max-width: none; }
}

@media (max-width: 900px) {
    .iws-related .iws-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iws-band-news-inner { grid-template-columns: minmax(0, 1fr); }
    .iws-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iws-wall:not(.is-dealt) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .iws-wall, .iws-wall.is-dealt, .iws-wall-col { gap: 1rem; }
    .iws-wall:not(.is-dealt) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iws-pin-body { padding: 0.8rem 0.85rem 0.95rem; }
    .iws-pin-meta { flex-direction: column; align-items: flex-start; gap: 0.1rem; font-size: 0.8125rem; }
    .iws-pin-meta time { margin-left: 0; }
    .iws-pin-kicker { min-height: 24px; }
    .iws-pin-title { font-size: 1rem; line-height: 1.25; }
    .iws-pin-sum { display: none; }
    .iws-pin-color { padding: 1.1rem 1rem 1rem; }
    .iws-pin-color-label { font-size: 0.6875rem; letter-spacing: 0.1em; }
    .iws-pin-color-title { font-size: 1.125rem; }
    .iws-pin-color-link { font-size: 0.9375rem; white-space: nowrap; }
    .iws-pin-color-sum { display: none; }
    .iws-tiles { grid-template-columns: minmax(0, 1fr); }
    .iws-related .iws-related-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .iws-aside .iws-side { grid-template-columns: minmax(0, 1fr); }
    .iws-band-news .newsletter-form { flex-direction: column; }
    .iws-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .iws-share .iws-label { flex-basis: 100%; }
    .iws-tagline { display: none; }
    .iws-moons { gap: 10px; height: 26px; }
}

@media (max-width: 400px) {
    .iws-wordmark-text { font-size: 1.4rem; }
    .iws-tools { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .iws-pin:hover { transform: none; }
}

:root { --iws-stars-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='170'%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='14' cy='20' r='1.3'/%3E%3Ccircle cx='76' cy='56' r='1'/%3E%3Ccircle cx='150' cy='24' r='1.5'/%3E%3Ccircle cx='212' cy='74' r='1.1'/%3E%3Ccircle cx='42' cy='118' r='1.2'/%3E%3Ccircle cx='118' cy='140' r='.9'/%3E%3Ccircle cx='184' cy='126' r='1.4'/%3E%3Cpath d='M104 84l1.7 4.3 4.3 1.7-4.3 1.7-1.7 4.3-1.7-4.3-4.3-1.7 4.3-1.7z'/%3E%3Cpath d='M204 18l1.2 2.9 2.9 1.2-2.9 1.2-1.2 2.9-1.2-2.9-2.9-1.2 2.9-1.2z'/%3E%3C/g%3E%3C/svg%3E"); }
/* --- 1.0.4: night-sky treatment (user pick C, 2026-11-15) -----------------------------------
   A scatter of stars over the solid band + the masthead's moon phases set large
   on the right. Decorative only (aria-hidden); text never sits on an image. */
.iws-sky { position: relative; overflow: hidden; --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='170'%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='14' cy='20' r='1.3'/%3E%3Ccircle cx='76' cy='56' r='1'/%3E%3Ccircle cx='150' cy='24' r='1.5'/%3E%3Ccircle cx='212' cy='74' r='1.1'/%3E%3Ccircle cx='42' cy='118' r='1.2'/%3E%3Ccircle cx='118' cy='140' r='.9'/%3E%3Ccircle cx='184' cy='126' r='1.4'/%3E%3Cpath d='M104 84l1.7 4.3 4.3 1.7-4.3 1.7-1.7 4.3-1.7-4.3-4.3-1.7 4.3-1.7z'/%3E%3Cpath d='M204 18l1.2 2.9 2.9 1.2-2.9 1.2-1.2 2.9-1.2-2.9-2.9-1.2 2.9-1.2z'/%3E%3C/g%3E%3C/svg%3E"); --moon: var(--mn-sun); }
.iws-sky.iws-t-events { --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='170'%3E%3Cg fill='%231C1917'%3E%3Ccircle cx='14' cy='20' r='1.3'/%3E%3Ccircle cx='76' cy='56' r='1'/%3E%3Ccircle cx='150' cy='24' r='1.5'/%3E%3Ccircle cx='212' cy='74' r='1.1'/%3E%3Ccircle cx='42' cy='118' r='1.2'/%3E%3Ccircle cx='118' cy='140' r='.9'/%3E%3Ccircle cx='184' cy='126' r='1.4'/%3E%3Cpath d='M104 84l1.7 4.3 4.3 1.7-4.3 1.7-1.7 4.3-1.7-4.3-4.3-1.7 4.3-1.7z'/%3E%3Cpath d='M204 18l1.2 2.9 2.9 1.2-2.9 1.2-1.2 2.9-1.2-2.9-2.9-1.2 2.9-1.2z'/%3E%3C/g%3E%3C/svg%3E"); --moon: var(--mn-ink); }
.iws-sky::before { content: ""; position: absolute; inset: 0; background-image: var(--stars); background-size: 240px 170px; opacity: 0.4; pointer-events: none; }
.iws-sky > .iws-wrap { position: relative; z-index: 1; }
.iws-moons-lg { position: absolute; z-index: 1; top: 50%; right: max(var(--mn-gutter), calc((100vw - var(--mn-page-max)) / 2 + var(--mn-gutter))); transform: translateY(-50%); height: auto; gap: 14px; color: var(--moon); }
.iws-moons-lg svg { width: 34px; height: 34px; }
.iws-sky .iws-archive-head-inner { padding-top: clamp(1.25rem, 3vw, 2rem); padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
/* chips sit under the text now; the moons own the right side */
.iws-sky .iws-archive-head-inner { flex-direction: column; align-items: flex-start; }
.iws-sky .iws-archive-chips { justify-content: flex-start; max-width: none; margin-top: 0.4rem; }
.iws-sky .iws-archive-head-text { max-width: min(46rem, 60%); }
/* 404 head on night indigo */
.iws-404 .iws-archive-head { margin-bottom: 2rem; }
.iws-404 .iws-archive-search .search-field { border-color: transparent; }
.iws-404 .iws-archive-search .search-submit { background: var(--mn-sun); color: var(--mn-ink); }
.iws-404-topics .iws-topics { max-width: 30rem; }
/* newsletter band: the same stars behind it */
.iws-band-news { position: relative; overflow: hidden; }
.iws-band-news::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='170'%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='14' cy='20' r='1.3'/%3E%3Ccircle cx='76' cy='56' r='1'/%3E%3Ccircle cx='150' cy='24' r='1.5'/%3E%3Ccircle cx='212' cy='74' r='1.1'/%3E%3Ccircle cx='42' cy='118' r='1.2'/%3E%3Ccircle cx='118' cy='140' r='.9'/%3E%3Ccircle cx='184' cy='126' r='1.4'/%3E%3Cpath d='M104 84l1.7 4.3 4.3 1.7-4.3 1.7-1.7 4.3-1.7-4.3-4.3-1.7 4.3-1.7z'/%3E%3Cpath d='M204 18l1.2 2.9 2.9 1.2-2.9 1.2-1.2 2.9-1.2-2.9-2.9-1.2 2.9-1.2z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 240px 170px; opacity: 0.3; pointer-events: none; }
.iws-band-news > .iws-wrap { position: relative; z-index: 1; }
@media (max-width: 1100px) {
    .iws-moons-lg { top: 1.1rem; transform: none; }
    .iws-moons-lg svg { width: 22px; height: 22px; }
    .iws-sky .iws-archive-head-inner { padding-top: 3.25rem; }
    .iws-sky .iws-archive-head-text { max-width: none; }
}
@media (max-width: 640px) {
    .iws-moons-lg { right: auto; left: var(--mn-gutter); gap: 10px; }
    .iws-moons-lg svg { width: 18px; height: 18px; }
}

/* "Find your path" symbols (1.0.4): painted badges replace the photo thumbs. */
.iws-tile { grid-template-columns: 64px minmax(0, 1fr); background: #6730C0; border-color: rgba(255, 255, 255, 0.24); }
.iws-tile:hover { background: #7038CC; }
.iws-tile-sym { grid-row: 1 / 3; display: block; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.85), 0 6px 16px rgba(15, 10, 40, 0.35); transition: transform 0.2s ease; }
.iws-tile:hover .iws-tile-sym { transform: rotate(-6deg) scale(1.04); }
.iws-topic-band { position: relative; overflow: hidden; }
.iws-topic-band::before { content: ""; position: absolute; inset: 0; background-image: var(--iws-stars-w); background-size: 240px 170px; opacity: 0.25; pointer-events: none; }
.iws-topic-band > .iws-wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .iws-tile:hover .iws-tile-sym { transform: none; } }

/* 1.0.6 (QA 11-15): comments area sized by its content, not main.css's 500px
   content-visibility placeholder; no orphans in 2-column grids. */
.iws-single .comments-area { content-visibility: visible; contain-intrinsic-size: none; }
@media (max-width: 900px) and (min-width: 641px) {
    .iws-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 900px) and (min-width: 641px) {
    .iws-related .iws-related-grid > :nth-child(9) { display: none; }
}

/* --- 1.0.7: article head on its topic's night-sky band + the topic's painted
   badge on the right (user: the head "feels empty"). Text colour per fill. */
.iws-article-band { background: var(--fill); color: var(--on-fill); }
.iws-article-band .iws-article-head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: clamp(1.25rem, 2.5vw, 1.75rem); padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.iws-article-band .iws-article-head > * { max-width: none; }
.iws-article-head-text { flex: 1 1 auto; min-width: 0; max-width: 60rem; }
.iws-article-band .iws-breadcrumb, .iws-article-band .iws-article-meta { color: var(--on-fill-muted); }
.iws-article-band .iws-article-title { color: var(--on-fill); }
.iws-article-band .iws-article-dek { color: var(--on-fill); opacity: 0.92; }
.iws-article-band .iws-breadcrumb a.iws-article-kicker { background: transparent; color: var(--on-fill); box-shadow: inset 0 0 0 1.5px currentColor; }
.iws-article-band .iws-breadcrumb a.iws-article-kicker:focus-visible { outline-color: var(--on-fill); }
.iws-article-sym { flex: none; position: relative; z-index: 1; }
.iws-article-sym img { display: block; width: 168px; height: 168px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.9), 0 12px 32px rgba(15, 10, 40, 0.35); }
.iws-t-events .iws-article-sym img { box-shadow: 0 0 0 4px rgba(28, 25, 23, 0.85), 0 12px 32px rgba(15, 10, 40, 0.25); }
.iws-single .iws-columns { border-top: 0; }
@media (max-width: 900px) { .iws-article-sym img { width: 112px; height: 112px; } }
@media (max-width: 640px) { .iws-article-sym { display: none; } }
