/* SOS Accounting 1.5.1: changes asked for by Samantha Green (16 Oct 2026).
   New file name on purpose: Cloudflare caches theme CSS and ignores ?ver=. */

/* 1. plain white page (dark mode keeps its own colours through --bg) */
body::before{background:var(--bg)}

/* 2. bigger header wave: deep green, then a leaf-green ribbon, then a pale-green ribbon */
header::after{bottom:-64px;height:66px;z-index:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 66' preserveAspectRatio='none'%3E%3Cpath fill='%23316a18' d='M0 0H1440V28C1200 8 1000 28 760 34C520 40 300 2 0 22Z'/%3E%3Cpath fill='%234caa26' d='M0 22C300 2 520 40 760 34C1000 28 1200 8 1440 28L1440 41C1200 21 1000 41 760 47C520 53 300 15 0 35Z'/%3E%3Cpath fill='%23bfecac' fill-opacity='.9' d='M0 35C300 15 520 53 760 47C1000 41 1200 21 1440 41L1440 54C1200 34 1000 54 760 60C520 66 300 28 0 48Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
header .wrap{position:relative;z-index:3}
@media(max-width:980px){header::after{bottom:-38px;height:40px}}

/* 3. drop-down menus: sit above the wave (it used to be drawn over the first item) and keep hover across the gap */
header nav{position:relative;z-index:4}
.menu-item-has-children>.sub-menu{z-index:8;top:calc(100% + 10px)}
.menu-item-has-children>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
@media(max-width:980px){.menu-item-has-children>.sub-menu{top:auto}.menu-item-has-children>.sub-menu::before{display:none}}

/* 4. each section of text sits in its own clearly defined box, joined by a small wave */
.entry .sos-box,.split{background:var(--card);border:2px solid var(--pale);border-top:6px solid var(--leaf);border-radius:22px;padding:clamp(22px,3.2vw,38px);box-shadow:0 12px 28px -18px #2e641755}
.entry .sos-box{margin:0 0 34px;position:relative}
.entry .sos-box>:first-child{margin-top:0}.entry .sos-box>:last-child{margin-bottom:0}
.entry .sos-box+.sos-box::before{content:"";position:absolute;left:50%;top:-30px;width:64px;height:18px;transform:translateX(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 18'%3E%3Cpath fill='none' stroke='%234caa26' stroke-width='3' stroke-linecap='round' d='M4 10C14 2 22 2 32 9S50 16 60 8'/%3E%3Cpath fill='none' stroke='%23bfecac' stroke-width='3' stroke-linecap='round' d='M4 15C14 8 22 8 32 14S50 18 60 13' opacity='.8'/%3E%3C/svg%3E") center/contain no-repeat}
.split{margin-bottom:34px}.split:last-child{margin-bottom:0}
.split .panel,.split .card{box-shadow:none}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .entry .sos-box,:root:not([data-theme="light"]) .split{border-color:var(--line)}}

/* 5. the sticky header keeps a thin wave while you scroll, so it does not cover the text */
header::after{transition:height .2s ease,bottom .2s ease}
header.sos-scrolled::after{bottom:-22px;height:24px}
