/* Blot: plugin CSS (KaTeX, etc.) is injected on the next line — do not remove */
@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_AMS-Regular.woff2?version=0cdd387c) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_AMS-Regular.woff?version=30da91e8) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_AMS-Regular.ttf?version=68534840) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Caligraphic-Bold.woff2?version=de7701e4) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Caligraphic-Bold.woff?version=1ae6bd74) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Caligraphic-Bold.ttf?version=07d8e303) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Caligraphic-Regular.woff2?version=5d53e70a) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Caligraphic-Regular.woff?version=3398dd02) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Caligraphic-Regular.ttf?version=ed0b7437) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Fraktur-Bold.woff2?version=74444efd) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Fraktur-Bold.woff?version=9be7ceb8) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Fraktur-Bold.ttf?version=9163df9c) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Fraktur-Regular.woff2?version=51814d27) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Fraktur-Regular.woff?version=5e28753b) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Fraktur-Regular.ttf?version=1e6f9579) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Bold.woff2?version=0f60d1b8) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Bold.woff?version=c76c5d69) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Bold.ttf?version=138ac28d) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-BoldItalic.woff2?version=99cd42a3) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-BoldItalic.woff?version=a6f7ec0d) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-BoldItalic.ttf?version=70ee1f64) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Italic.woff2?version=97479ca6) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Italic.woff?version=f1d6ef86) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Italic.ttf?version=0d85ae7c) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Regular.woff2?version=c2342cd8) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Regular.woff?version=c6368d87) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Main-Regular.ttf?version=d0332f52) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Math-BoldItalic.woff2?version=dc47344d) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Math-BoldItalic.woff?version=850c0af5) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Math-BoldItalic.ttf?version=f9377ab0) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Math-Italic.woff2?version=7af58c5e) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Math-Italic.woff?version=8a8d2445) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Math-Italic.ttf?version=08ce98e5) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Bold.woff2?version=e99ae511) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Bold.woff?version=ece03cfd) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Bold.ttf?version=1ece03f7) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Italic.woff2?version=00b26ac8) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Italic.woff?version=91ee6750) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Italic.ttf?version=3931dd81) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Regular.woff2?version=68e8c73e) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Regular.woff?version=11e4dc8a) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_SansSerif-Regular.ttf?version=f36ea897) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Script-Regular.woff2?version=036d4e95) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Script-Regular.woff?version=d96cdf2b) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Script-Regular.ttf?version=1c67f068) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size1-Regular.woff2?version=6b47c401) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size1-Regular.woff?version=c943cc98) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size1-Regular.ttf?version=95b6d2f1) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size2-Regular.woff2?version=d04c5421) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size2-Regular.woff?version=2014c523) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size2-Regular.ttf?version=a6b2099f) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size3-Regular.woff2?version=73d59127) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size3-Regular.woff?version=6ab6b62e) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size3-Regular.ttf?version=500e04d5) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size4-Regular.woff2?version=a4af7d41) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size4-Regular.woff?version=99f9c675) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Size4-Regular.ttf?version=c647367d) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(https://cdn.blot.im/plugins/katex/files/KaTeX_Typewriter-Regular.woff2?version=71d517d6) format("woff2"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Typewriter-Regular.woff?version=e14fed02) format("woff"),url(https://cdn.blot.im/plugins/katex/files/KaTeX_Typewriter-Regular.ttf?version=f01f3e87) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,math,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.19.1"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.katex-newline{display:block}.katex .katex-base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .katex-base,.katex .katex-strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .katex-vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .katex-thinbox{display:inline-flex;flex-direction:row;max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .katex-hdashline,.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-rule,.katex .katex-underline .underline-line,.katex .mfrac .frac-line{min-height:1px}.katex .mspace{display:inline-block}.katex .katex-smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.katex-inner,.katex .llap>.katex-inner,.katex .rlap>.katex-inner{position:absolute}.katex .clap>.katex-fix,.katex .llap>.katex-fix,.katex .rlap>.katex-fix{display:inline-block}.katex .llap>.katex-inner{right:0}.katex .clap>.katex-inner,.katex .rlap>.katex-inner{left:0}.katex .clap>.katex-inner>span{margin-left:-50%;margin-right:50%}.katex .katex-rule{border:0 solid;display:inline-block;position:relative}.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .katex-hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.katex-root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .katex-sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .katex-sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .katex-sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .katex-sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .katex-sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .katex-sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .katex-sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .katex-sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .katex-sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .katex-sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .katex-sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .katex-sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .katex-sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .katex-sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .katex-sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .katex-sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .katex-sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .katex-sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .katex-sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .katex-sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .katex-sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .katex-sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .katex-sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .katex-sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .katex-sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .katex-sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .katex-sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .katex-sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .katex-sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .katex-sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .katex-sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .katex-sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .katex-sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .katex-sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .katex-sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .katex-sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .katex-sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .katex-sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .katex-sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .katex-sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .katex-sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .katex-sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .katex-sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .katex-sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .katex-sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .katex-sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .katex-sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .katex-sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .katex-sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .katex-sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .katex-sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .katex-sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .katex-sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .katex-sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .katex-sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .katex-sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .katex-sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .katex-sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .katex-sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .katex-sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .katex-sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .katex-sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .katex-sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .katex-sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .katex-sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .katex-sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .katex-sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .katex-sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .katex-sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .katex-sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .katex-sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .katex-sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .katex-sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .katex-sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .katex-sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .katex-sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .katex-sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .katex-sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .katex-sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .katex-sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .katex-sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .katex-sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .katex-sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .katex-sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .katex-sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .katex-sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .katex-sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .katex-sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .katex-sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .katex-sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .katex-sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .katex-sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .katex-sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .katex-sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .katex-sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .katex-sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .katex-sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .katex-sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .katex-sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .katex-sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .katex-sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .katex-sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .katex-sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .katex-sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .katex-sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .katex-sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .katex-sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .katex-sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .katex-sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .katex-sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .katex-sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .katex-sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .katex-sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .katex-sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .katex-sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .katex-sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .katex-sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .katex-sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .katex-sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .katex-sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .katex-sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .katex-accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .katex-accent .accent-body{position:relative}.katex .katex-accent .accent-body:not(.accent-full){width:0}.katex .katex-overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .katex-stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .katex-stretchy:after,.katex .katex-stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .katex-sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .reflectbox{display:inline-block;transform:scaleX(-1)}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.katex-tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.katex-tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .thinbox{display:inline-flex;flex-direction:row;max-width:0;width:0}.katex .hdashline,.katex .hline,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .smash{display:inline;line-height:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11{font-size:1em}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}/*

TWEETS

This plugin replaces bare text urls to
twitter with an embedded tweet. The CSS
below is used to style the raw blockquote
while the embed loads. When the embed is
ready the blockquote is hidden.

*/

blockquote.twitter-tweet {
  display: block;
  width: 500px;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 1em 0;
  border-radius: 5px;
  border: 1px solid #E1E8ED;
  padding: 32px 16px 32px;
  background: #fff;
  color: #aaa;
  font: normal 12px / 1.33 "Helvetica Neue", sans-serif;
}

blockquote.twitter-tweet p {
  color: rgb(41, 47, 51);
  font: inherit;
  margin: 36px 0 12px;
}/*

VIDEO EMBEDS

This plugin replaces bare text urls to
videos with an embedded player. The CSS
below ensures the wrapping which makes
the player fully responsive renders correctly

*/

.videoContainer {
  position: relative;
  height: 0;
  overflow: hidden;
}

.videoContainer.fourthree {
  padding-bottom: 70%;
}

.videoContainer.widescreen {
  padding-bottom: 56.25%;
}

.videoContainer iframe,
.videoContainer object,
.videoContainer embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0!important
}

/* Dark theme – warm charcoal base, earthy field-work accents (ochre, clay, moss) */
:root {
  --bg: #0f0e0c;
  --bg-elevated: #181614;
  --border: #3a3530;
  --text: #d4cfc7;
  --text-heading: #e4dfd6;
  --text-heading-bright: #f2efe8;
  --text-muted: #9a9288;
  --accent: #7a9b7c;
  --accent-dim: #5a7a5c;
  --accent-orange: #c9926b;
  --accent-orange-rgb: 201, 146, 107;
  /* Secondary CTA (lost-item help, etc.) — sky blue, black label for contrast */
  --action-blue: #5a9fd4;
  --action-blue-rgb: 90, 159, 212;
  /* Subtle link colors for dark mode (underline kept); top menu uses --text/--accent only */
  --link: #9eb8b5;
  --link-visited: #8fa9a6;
  --link-hover: #b5cfcb;
  --link-active: #c4a898;
  /*
   * Warm brown panel palette — maps the tan / paper / walnut feel of the legacy
   * WordPress detecting.us theme into dark-theme surfaces (cards, collaboration grid).
   * Use for home credentials, future brown-accent sections, etc.
   */
  --brown-panel-top: #2c2520;
  --brown-panel-bottom: #221c18;
  --brown-panel-border: rgba(196, 168, 130, 0.38);
  --brown-card: #3a332b;
  --brown-card-hover: #454039;
  --brown-card-border: rgba(196, 168, 130, 0.42);
  --brown-card-shade: rgba(45, 38, 32, 0.65);
  /* Home collaboration tiles: fixed square-ish footprint (fits 854×340 DoA logo at min column width) */
  --credentials-card-height-home: 9rem;
  /* Right-floated body images (.img-accent, .img-float-right): one system site-wide */
  --post-img-float-pct: 42%;
  --post-img-float-max: 300px;
  /* Desktop: markdown ![](…) auto-float and figure.post-inline — cap width for magazine-style wrap */
  --post-img-auto-float-max: 420px;
}

/* Accent color for emphasis – H1 highlights, outcome labels, callouts; adjust --accent-orange in :root */
.accent {
  color: var(--accent-orange);
}
/* Override collapse-details strong styling so .accent labels stay orange */
.collapse-details .accent,
.collapse-details .accent strong {
  color: var(--accent-orange);
}

/*! normalize.css v2.0.1 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/*
 * Corrects `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

/*
 * Corrects `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/*
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/*
 * Addresses styling for `hidden` attribute not present in IE 8/9.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/*
 * 1. Sets default font family to sans-serif.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/*
 * Removes default margin.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/*
 * Addresses `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/*
 * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
 * Safari 5, and Chrome.
 */

h1 {
    font-size: 2em;
}

/*
 * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/*
 * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/*
 * Addresses styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/*
 * Addresses styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}


/*
 * Corrects font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*
 * Sets consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/*
 * Addresses inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/*
 * Prevents `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/*
 * Removes border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
    height: auto;
}

/*
 * Corrects overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/*
 * Addresses margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

figcaption,
.post-body figure figcaption {
  display: none !important;
}
/* Prevent any theme/Blot caption from displaying img alt as visible text */
.post-body img + [class*="caption"],
.post-body figure .caption,
.post-body .wp-caption-text {
  display: none !important;
}
.post-body img::after {
  content: none !important;
}

/* Guide / reference articles: visible captions + tidy illustration blocks */
.post-body figure.guide-figure {
  margin: 1.75rem 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-body figure.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.post-body figure.guide-figure figcaption {
  display: block !important;
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.post-body .guide-figure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
  align-items: stretch;
}

.post-body .guide-figure-row figure.guide-figure {
  margin: 0;
  height: 100%;
}

@media screen and (max-width: 720px) {
  .post-body .guide-figure-row {
    grid-template-columns: 1fr;
  }
}

/* Magazine-style inset: image + visible caption as one floated unit (desktop).
   Use <figure class="post-inline">…</figcaption></figure> for a single inset beside prose.
   For multi-photo grids, use <section class="photo-inline-gallery"> and <figure class="photo-grid__figure"> — not post-inline. */
@media screen and (min-width: 769px) {
  .post:not(.post--glossary) .post-body:not(.post-body--home-lead) figure.post-inline {
    float: right;
    clear: right;
    max-width: min(48%, var(--post-img-auto-float-max));
    margin: 0.15rem 0 1rem 1.25rem;
    padding: 0;
    border: 0;
    background: none;
  }

  .post:not(.post--glossary) .post-body:not(.post-body--home-lead) figure.post-inline.post-inline--wide {
    float: none;
    clear: both;
    max-width: 100%;
    margin: 1.35rem 0 1.5rem;
  }

  .post-body figure.post-inline img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
  }

  .post-body figure.post-inline.post-inline--wide img {
    max-height: none;
  }

  .post-body figure.post-inline figcaption {
    display: block !important;
    margin-top: 0.5rem;
    padding: 0 0.1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted);
    font-style: normal;
    text-align: left;
  }
}

/* Magazine inset frame: floated post-inline figures (same pattern as markdown ![](…) articles) */
.post-body figure.post-inline img,
.post-body .photo-inline-gallery figure img {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.14);
}

@media screen and (max-width: 768px) {
  .post-body figure.post-inline {
    float: none;
    clear: both;
    max-width: 100%;
    margin: 1.15rem 0 1.25rem;
  }

  .post-body figure.post-inline img {
    margin-left: auto;
    margin-right: auto;
  }

  .post-body figure.post-inline figcaption {
    display: block !important;
    margin-top: 0.45rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
  }
}

/* ==========================================================================
   Forms
   ========================================================================== */

/*
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/*
 * 1. Corrects color not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/*
 * 1. Corrects font family not being inherited in all browsers.
 * 2. Corrects font size not being inherited in all browsers.
 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

/*
 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/*
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Corrects inability to style clickable `input` types in iOS.
 * 3. Improves usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    appearance: button;
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/*
 * Re-set default cursor for disabled elements.
 */

button[disabled],
input[disabled] {
    cursor: default;
}

/*
 * 1. Addresses box sizing set to `content-box` in IE 8/9.
 * 2. Removes excess padding in IE 8/9.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/*
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    appearance: textfield;
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/*
 * Removes inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
 * Removes inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE 8/9.
 * 2. Improves readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/*
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Clearfix */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.hidden {
  display: none;
}

/* Spacing – vertical rhythm */
.highlight, .post h1, h2, h3, h4, h5, h6, p, .post-body ul, .dates, .bio li, video, pre ::before {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* Base: min-height (not height) on the root — height:100% pins html to the viewport so map+scrim
   backgrounds on html only paint one screen; scrolled area then shows undimmed map. */
html, body {
  min-height: 100%;
}

body {
  font-size: 18px;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  /* Map + scrim live on html (Phase 1); body stays clear so nothing double-paints. */
  background-color: transparent;
  background-image: none;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

/* Profile */

.profile #wrapper {
  margin: 0 auto;
  text-align: left;
  padding: 20px 16px 25px;  /* match #wrapper so H1 aligns across page types */
}

.profile #avatar {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-bottom: 1em;
  border-radius: 40px;
}

.profile h4 {
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 400;
  line-height: 22px;
}

.bio p:first-child {
  margin-top: 0;
}

/* TL;DR – hero/lead paragraph for skimmability (margin-top 0 so .post header margin-bottom sets gap) */
.post-body .tldr,
.tldr {
  font-size: 1.15em;
  line-height: 1.55;
  color: var(--text-heading-bright);
  margin-top: 0;
  margin-bottom: 1.25em;
  padding-left: 1em;
  border-left: 3px solid var(--accent-orange);
}

/* TL;DR notice banner – full-width box at top of services-tldr page */
.tldr-notice-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 1.5em;
  padding: 1.25em 1.5em;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  box-sizing: border-box;
}
.tldr-notice-banner__text {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.5;
  color: var(--text);
}
.tldr-notice-banner__text a {
  color: var(--accent-orange);
  text-decoration: underline;
  font-weight: 600;
}
.tldr-notice-banner__text a:hover {
  color: var(--text-heading-bright);
}
.tldr-notice-banner__btn {
  margin-top: 0;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .tldr-notice-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .tldr-notice-banner__btn {
    align-self: center;
  }
}

/* Services page: "In a hurry?" CTA – shrink-wraps to button, floats right, copy wraps */
.services-tldr-cta {
  float: right;
  clear: right;
  margin: 0 0 1em 1.5em;
  width: fit-content;
  max-width: 220px;
  padding: 0.5em 0.75em;
  font-size: 0.85em;
  line-height: 1.35;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.services-tldr-cta__label {
  display: block;
  font-size: inherit;
  color: var(--text-muted);
  margin-bottom: 0.25em;
  text-align: center;
}
.services-tldr-cta__link {
  display: inline-block;
  font-weight: 500;
  font-size: inherit;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  text-decoration: none;
}
.services-tldr-cta__link:hover {
  color: var(--text-heading-bright) !important;
  -webkit-text-fill-color: var(--text-heading-bright) !important;
}
.services-tldr-cta__link.accent,
.services-tldr-cta__link.accent:hover {
  color: var(--accent-orange) !important;
  -webkit-text-fill-color: var(--accent-orange) !important;
}

/* Services page: small table of contents (B2B / DTC sections) */
.services-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1.5em;
  margin: 1.25em 0 1.5em;
  padding: 1em 1.25em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1em;
}

.services-toc a {
  font-weight: 600;
  color: var(--accent-orange);
  text-decoration: none;
}

.services-toc a:hover {
  text-decoration: underline;
}

.bio li {
  list-style-position: outside;
}

.person-photo {
  display: block;
  float: right;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 0 1em 1.5em;
  border-radius: 4px;
}

/* People page: Canadian Syllabics O (ᐅ) as list bullet, orange to match fold-downs */
.person-photo + ul {
  list-style: none;
  padding-left: 0;
}
.person-photo + ul li {
  position: relative;
  padding-left: 1.5em;
}
.person-photo + ul li::before {
  content: "\1405";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-size: 0.9em;
}

/* Canadian Syllabics O (ᐅ) list bullet – reusable */
.syllabics-list {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0.75em 0;
}
.syllabics-list li {
  list-style: none !important;
  list-style-type: none !important;
  position: relative;
  padding-left: 1.5em;
  margin: 0.35em 0;
}
.syllabics-list li::marker {
  content: "";
}
.syllabics-list li::before {
  content: "\1405";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--accent-orange);
  font-size: 0.95em;
}

/* Small LinkedIn icon to the right of person name on About / People */
.person-linkedin {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: middle;
  color: var(--link);
  text-decoration: none;
}
.person-linkedin:hover {
  color: var(--link-hover);
}
.person-linkedin svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Clear after each person's block so next name doesn't sit beside previous photo */
.bio ul + p {
  clear: both;
}

/* Site header: logo left, nav right, bottom-aligned */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14.4px;  /* 20% more than 12px */
  background: var(--bg);
  padding: 14px 22px;  /* tighter vertical; keeps nav readable */
  margin: 0 auto;
  z-index: 100;
}

.site-header .site-name {
  color-scheme: light; /* prevent Chrome auto dark mode from mangling logo */
  color: var(--accent-orange);
  font-size: clamp(14px, 2.8vw, 16.25px);
  line-height: 1.3;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(22rem, 100%);
}

.site-header .site-name:hover {
  color: var(--accent-orange);
  box-shadow: none;
}

.site-name-brand {
  display: block;
  hyphens: auto;
  overflow-wrap: anywhere;
}

nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

nav.main-nav .main-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14.4px; /* 20% more than 12px */
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav .main-nav__list > li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

nav.main-nav .main-nav__list > li > a {
  display: inline-block;
}

nav.main-nav .main-nav__list > li > .main-nav__parent-label {
  display: inline-block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 0.008em;
  cursor: default;
  user-select: none;
}

nav.main-nav a {
  color: var(--text);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 0.008em;
}

/* Get in touch = orange button in nav (same as .btn-contact but inline, no top margin) */
nav.main-nav a.btn-contact.main-nav__cta {
  margin-top: 0;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.25;
}

nav.main-nav a.btn-contact.main-nav__cta:hover {
  background: var(--accent-orange) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent !important;
  filter: brightness(1.1);
}

nav.main-nav a.btn-contact.main-nav__cta:active,
nav.main-nav a.btn-contact.main-nav__cta:focus-visible {
  background: var(--accent-orange) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Lost-item help = blue CTA in nav (same footprint as Contact) */
nav.main-nav a.btn-action-blue.main-nav__cta {
  margin-top: 0;
  padding: 7px 14px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

nav.main-nav a.btn-action-blue.main-nav__cta:hover {
  background: var(--action-blue) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: transparent !important;
  filter: brightness(1.1);
}

nav.main-nav a.btn-action-blue.main-nav__cta:active,
nav.main-nav a.btn-action-blue.main-nav__cta:focus-visible {
  background: var(--action-blue) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Primary nav dropdowns (mirrors former WordPress / Extra menu hierarchy) */
nav.main-nav .main-nav__sub {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 260px;
  max-width: min(340px, calc(100vw - 32px));
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 200;
}

/* Invisible strip above the panel so the pointer can cross from the parent link without leaving the <li> hover zone */
nav.main-nav .main-nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

nav.main-nav .main-nav__item--has-sub:hover > .main-nav__sub,
nav.main-nav .main-nav__item--has-sub:focus-within > .main-nav__sub {
  display: block;
}

nav.main-nav .main-nav__sub li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

nav.main-nav .main-nav__sub a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
  border-radius: 0;
  white-space: normal;
}

nav.main-nav .main-nav__sub a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-heading-bright);
}

nav.main-nav .main-nav__sub-section {
  margin: 6px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--border);
}

nav.main-nav .main-nav__sub-heading {
  display: block;
  padding: 0 14px 4px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: default;
}

nav.main-nav .main-nav__item--has-sub > a::after,
nav.main-nav .main-nav__item--has-sub > .main-nav__parent-label::after {
  content: "▾";
  display: inline-block;
  margin-left: 5px;
  font-size: 15px;
  opacity: 0.65;
  vertical-align: middle;
}

@media (max-width: 760px) {
  header.site-header nav.main-nav > ul.main-nav__list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
  }

  header.site-header nav.main-nav > ul.main-nav__list > li {
    width: auto !important;
    display: block !important;
  }

  nav.main-nav .main-nav__sub::before {
    display: none;
  }

  nav.main-nav {
    width: 100%;
  }

  nav.main-nav .main-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
  }

  nav.main-nav .main-nav__list > li {
    width: auto;
  }

  nav.main-nav .main-nav__list > li > a,
  nav.main-nav .main-nav__list > li > .main-nav__parent-label {
    font-size: 14px;
    line-height: 1.2;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
  }

  /* Do not reuse the gray nav-pill for Contact: .btn-contact uses black text on orange elsewhere;
     grouping it above made the CTA black-on-dark on phones. */
  nav.main-nav a.btn-contact.main-nav__cta {
    font-size: 14px;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--accent-orange) !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    color-scheme: light;
  }

  nav.main-nav a.btn-action-blue.main-nav__cta {
    font-size: 15px;
    line-height: 1.35;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--action-blue) !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    color-scheme: light;
  }

  nav.main-nav .main-nav__sub {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    margin-top: 4px;
    padding: 4px 0 8px 10px;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
  }

  nav.main-nav .main-nav__item--has-sub:hover > .main-nav__sub,
  nav.main-nav .main-nav__item--has-sub:focus-within > .main-nav__sub {
    display: block;
  }

  nav.main-nav .main-nav__sub a {
    font-size: 15px;
    padding: 7px 10px;
  }

  nav.main-nav .main-nav__item--has-sub > a::after,
  nav.main-nav .main-nav__item--has-sub > .main-nav__parent-label::after {
    content: "▾";
    font-size: 12px;
    opacity: 0.7;
  }
}

nav.main-nav a.cta {
  background: var(--accent-dim);
  color: var(--text);
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  text-decoration: none;
}

nav.main-nav a.cta:hover {
  background: var(--accent);
  color: var(--bg);
  margin-left: 12px;
}

#wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px 16px 25px;  /* top 20% less: 25→20; tighter side insets (25→16) */
}

.home #avatar {
  float: right;
  width: 40px;
  height: 40px;
}

/* Typography */

p {
  line-height: 1.7;
  orphans: 2;
  widows: 2;
}

li {
  line-height: 1.7; /* match body p for consistent rhythm */
  margin-bottom: 0.92em; /* ~30% wider than body line gap (1.7 - 1) * 1.3 */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading-bright);
}

h1 {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.5;
}

h2 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-heading-bright);
  padding-left: 12px;
  border-left: 3px solid var(--accent-orange);
}

h4, h5, h6 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
h4 {
  color: var(--text-heading-bright);
}

p.small {
  font-size: 14px;
  display: block;
}

code.highlighter-rouge {
  background-color: var(--bg-elevated);
  border-radius: 5px;
  display: inline-block;
  padding: 5px 8px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.35;
  font-style: normal;
  border: 1px solid var(--border);
}

/* Links */

a {
  text-decoration: none;
  color: var(--text);
}

#footer a, #post-nav a, p a, .post-body a {
  color: var(--link);
  text-decoration: underline;
}
#footer a:visited, #post-nav a:visited, p a:visited, .post-body a:visited {
  color: var(--link-visited);
}
#footer a:hover, #post-nav a:hover, p a:hover, .post-body a:hover {
  color: var(--link-hover);
}
#footer a:active, #post-nav a:active, p a:active, .post-body a:active {
  color: var(--link-active);
}

nav.main-nav a {
  color: var(--text);
  font-weight: 500;
}
nav.main-nav a:hover {
  color: var(--accent);
}

nav.main-nav .main-nav__parent-label:hover,
nav.main-nav .main-nav__parent-label:focus-visible {
  color: var(--accent);
}

.site-header a.site-name,
.site-header a.site-name:hover {
  box-shadow: none;
  color: var(--accent-orange);
}


ul  { margin:0; padding:0; }
li  { list-style-type:circle; list-style-position:outside;}

/* Post */

/* Slightly open letter-spacing on desktop so body text doesn’t feel tight */
/* Reset zeroes ol/ul padding (see minified reset); restore gutter on both list types in prose */
.post-body ul,
.post-body ol {
  padding-left: 1.75em;
  margin: 0.65em 0 1em;
  box-sizing: border-box;
}

.post-body li {
  margin-top: 0;
  margin-bottom: 0.92em; /* gap between bullets ~30% wider than body line spacing */
  padding-left: 0.35em;
  padding-right: 0;
  list-style-position: outside;
}

.post-body ul > li {
  list-style-type: circle !important;
}

/* Grids that use <ul> for semantics must not inherit prose list gutters/bullets */
.post-body ul.credentials-block__grid {
  padding-left: 0;
  list-style: none;
}

.post-body ul.credentials-block__grid > li {
  list-style: none !important;
  list-style-type: none !important;
  margin-bottom: 0;
  padding-left: 0;
}

.post-body ol > li {
  list-style-type: decimal !important;
}

.post-body li:last-child {
  margin-bottom: 1.5em;
}

/* Home page: rhetorical question stack (no bullets) */
.question-stack,
.post-body .question-stack {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}
.question-stack li,
.post-body .question-stack li {
  margin-bottom: 0.5em;
  padding-left: 0;
  list-style: none !important;
}

/* Stacked project-type cards (e.g. /archaeology/): same shell as .say-reality-card, different labels */
.post-body .project-type-stack {
  margin: 0.85em 0 1.35em;
}

.post-body .project-type-stack .project-type-card:last-child {
  margin-bottom: 0;
}

.post-body .project-type-card__type,
.post-body .project-type-card__scope {
  margin: 0;
}

.post-body .project-type-card__type {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.45;
}

.post-body .project-type-card__scope {
  color: var(--text);
}

.post-body .project-type-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.35em;
}

.post-body .project-type-card__scope .project-type-card__label {
  color: var(--text-muted);
}

.post-body .project-type-scope-note {
  margin: 1.15em 0 0;
  padding: 0.85rem 1rem;
  max-width: 42rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--accent-orange);
}

b, strong {
  font-weight: 600;
  color: var(--text-heading-bright);
  text-decoration: none;
}
/* Bold inside links: inherit link color and underline so it still reads as a link */
a strong, a b {
  color: inherit;
  text-decoration: inherit;
}
/* No italic/emphasis: em and i render as normal text (project preference) */
em, i {
  font-style: normal;
}

/* Pre-footer CTA – Get in touch link above footer (sitewide) */
.pre-footer-cta {
  text-align: center;
  margin: 2.5em 0 1.5em;
}

/* Breadcrumb row height follows content; home clears crumbs so this collapses (no dead 4rem gap). */
.title-block {
  display: flex;
  flex-direction: column;
}
.title-block > .breadcrumbs,
.title-block > .breadcrumbs-spacer,
.title-block > .title-block__lead-row {
  flex: 0 0 auto;
  min-height: 0;
  margin-bottom: 0.35rem;
}
.title-block > .title-block__lead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}
.title-block > .title-block__lead-row .breadcrumbs {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}
.title-block > .title-block__lead-row .post-share {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
  align-self: flex-end;
}
.title-block > .title-block__top {
  flex: 0 0 auto;
  min-height: 4rem;
  margin-bottom: 0.5rem;
}
.title-block > .breadcrumbs {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.title-block > .title-block__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0 1rem;
}
/* Breadcrumbs on own row so they align with H1 (same as post pages); avatar stays row 1. */
.title-block > .title-block__top .breadcrumbs {
  flex: 1 1 100%;
  width: 100%;
  margin-bottom: 0;
  margin-top: 0.25em;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.profile-avatar-link {
  flex-shrink: 0;
}
.profile-avatar-img,
.title-block__top #avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: block;
}
.title-block > header {
  margin-top: 0;
}

/* List header: H1 and h4 only (avatar is in title-block__top); left-aligned to match other pages. */
.profile header.h-card {
  margin-bottom: 3.5em;
}
.profile header.h-card .p-name,
.profile header.h-card h1 {
  margin-top: 0;
  margin-bottom: 0;
}
.profile header.h-card h4 {
  margin-top: 0.35em;
  margin-bottom: 0;
}

/* Breadcrumbs – above H1, left-aligned "up only" path (no current page; H1 is below). */
.breadcrumbs {
  font-size: 13px;
  line-height: 1.2;
  min-height: 1.2em;
  margin-bottom: 0.125em;
  text-align: left;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--text);
}
.breadcrumbs a:visited {
  color: var(--text-muted);
}
.breadcrumbs__current {
  color: var(--text-muted);
  opacity: 0.85;
}
.breadcrumbs__sep {
  color: var(--text-muted);
  opacity: 0.7;
  margin: 0 0.25em;
  pointer-events: none;
}

/* Drill-down / learn more links – block, right-aligned for flow off page */
.post-body a.drill-down,
a.drill-down {
  display: block;
  margin-top: 0.75em;
  margin-bottom: 0;
  text-align: right;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95em;
}
.post-body a.drill-down::after,
a.drill-down::after {
  content: " →";
  color: var(--accent-orange);
  font-size: 1em;
}
.post-body a.drill-down:hover,
.post-body a.drill-down:focus,
a.drill-down:hover,
a.drill-down:focus {
  color: var(--accent-orange);
  text-decoration: none;
}
.post-body a.drill-down:hover::after,
.post-body a.drill-down:focus::after,
a.drill-down:hover::after,
a.drill-down:focus::after {
  color: var(--text-heading-bright);
}

/* Collapsible sections – details/summary, e.g. “Click for specifics” (generic fold) */
.collapse-details {
  margin: 0.75em 0 1em;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.collapse-details summary {
  padding: 0.6em 0.9em;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.45;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  list-style: none;
  user-select: none;
  background: var(--bg-elevated);
  transition: background 0.15s ease, color 0.15s ease;
}
.collapse-details summary::-webkit-details-marker,
.collapse-details summary::marker {
  display: none;
}
.collapse-details summary::before {
  content: "▸ ";
  display: inline-block;
  width: 1em;
  transition: transform 0.2s ease;
}
.collapse-details[open] summary::before {
  transform: rotate(90deg);
}
.collapse-details summary:hover,
.collapse-details summary:focus {
  color: var(--link-hover);
  background: var(--bg-elevated);
  filter: brightness(1.08);
}
/*
 * Content area: works whether the engine outputs direct children (p, ul, ol)
 * or wraps everything in one div. No content-specific selectors.
 */
.collapse-details {
  hyphens: none;
}
.collapse-details > *:not(summary) {
  padding-left: 1.75em;
  padding-right: 0.75em;
  margin: 0;
  border: none;
}
.collapse-details > *:not(summary):first-of-type {
  padding-top: 0.6em;
  border-top: 1px solid var(--border);
}
/* No top border when first content element is a heading – avoids extra line under section label */
.collapse-details > h3:first-of-type,
.collapse-details > h4:first-of-type {
  border-top: none;
}
.collapse-details > *:not(summary):last-of-type {
  padding-bottom: 1em;
}
/* Paragraphs: same spacing whether direct children or inside a wrapper div */
.collapse-details p,
.collapse-details li {
  line-height: 1.6;
  letter-spacing: normal;
}
.collapse-details > p,
.collapse-details > ul,
.collapse-details > ol,
.collapse-details > div > p,
.collapse-details > div > ul,
.collapse-details > div > ol {
  margin-top: 0.75em;
  margin-bottom: 0.5em;
}
.collapse-details > p:first-of-type,
.collapse-details > ul:first-of-type,
.collapse-details > ol:first-of-type,
.collapse-details > div > p:first-child,
.collapse-details > div > ul:first-child,
.collapse-details > div > ol:first-child {
  margin-top: 0.5em;
}
.collapse-details > p:last-of-type,
.collapse-details > div > p:last-child {
  margin-bottom: 0;
}
/* Lists: bullets/numbers visible and spaced (anywhere inside content) */
.collapse-details ul,
.collapse-details ol {
  padding-left: 1.25em;
  list-style-position: outside;
}
.collapse-details ul {
  list-style-type: disc;
}
.collapse-details ol {
  list-style-type: decimal;
}
.collapse-details li {
  margin-bottom: 0.35em;
  padding-left: 0.25em;
}
/* Bold subheads in expand areas (paragraph that is only <strong> – make them read like subheads) */
.collapse-details p strong {
  display: inline;
}
.collapse-details p strong:first-child {
  display: inline-block;
  margin-top: 0.75em;
  font-size: 1.05em;
  font-weight: 600;
  color: var(--text-heading);
}
.collapse-details p strong:first-child:first-of-type,
.collapse-details > div > p:first-child strong:first-child {
  margin-top: 0;
}
/* Canadian Syllabics O (ᐅ) before H4s in collapse sections – orange, aligned with text, modest size */
.collapse-details h4::before {
  content: "\1405";
  color: var(--accent-orange);
  font-size: 0.8em;
  margin-right: 0.4em;
  vertical-align: middle;
}

/* Invitation at end of each collapse: smaller font, comfortable space above, right-aligned */
.collapse-cta {
  margin-top: 1.5em;
  font-size: 0.9em;
  text-align: right;
}

/* Services overview – skimmable category list with seamless drill-down */
.services-list {
  display: grid;
  gap: 1.5em;
  margin: 1.5em 0;
}
.services-category {
  padding: 1.25em 0;
  border-bottom: 1px solid var(--border);
}
.services-category:last-of-type {
  border-bottom: none;
}
.services-category__title {
  margin: 0 0 0.35em;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-heading);
}
.services-category__title a {
  color: inherit;
  text-decoration: none;
}
.services-category__title a:hover,
.services-category__title a:focus {
  color: var(--text-heading-bright);
  text-decoration: underline;
}
.services-category__desc {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.55;
  color: var(--text);
}
.services-list .drill-down {
  margin-top: 0.6em;
  margin-bottom: 0;
}

.post header {
  text-align: left;
}

.post header h1 {
  margin: 0;
}

.post header h1,
.post header h2.headline {
  text-align: left;
}

/* Consistent H1: left-aligned site-wide (pages, hubs, articles) */
#wrapper h1,
main h1,
.post-body h1 {
  text-align: left;
}

/* Post body: make subheadings (H2–H4) clearly read as headings – size, weight, spacing */
.post-body h2 {
  font-size: var(--step-h2);
  font-weight: 700;
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  line-height: 1.25;
}
.post-body h3 {
  font-size: var(--step-h3);
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
  line-height: 1.3;
  padding-left: 12px;
  border-left: 3px solid var(--accent-orange);
}
.post-body h4 {
  font-size: var(--step-h4);
  font-weight: 700;
  margin-top: 1.25em;
  margin-bottom: 0.35em;
  line-height: 1.3;
  color: var(--text-heading-bright);
}

blockquote {
  clear: both; /* avoid callout frame overlapping nearby floated images */
  padding: 1em 1em 1em 15px;
  border-left: 2px solid var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1em 0;
  opacity: 0.9;
  font-style: italic;
  color: var(--text-muted);
}

blockquote.blockquote-center {
  text-align: center;
  border-left: none;
  border-right: none;
}

blockquote.blockquote-right {
  text-align: right;
  border-left: none;
  border-right: 2px solid var(--border);
}

/* Simulated email example – email-client look (header + body) */
.post-body .simulated-email {
  clear: both;
  margin: 1.25em 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-style: normal;
}
.post-body .simulated-email__header {
  padding: 0.65em 1em;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.15);
}
.post-body .simulated-email__header div + div {
  margin-top: 0.2em;
}
.post-body .simulated-email__body {
  padding: 1em 1.25em;
  font-style: normal;
  color: var(--text);
}
.post-body .simulated-email__body p {
  margin: 0.6em 0;
}
.post-body .simulated-email__body p:first-child {
  margin-top: 0;
}
.post-body .simulated-email__body p:last-child {
  margin-bottom: 0;
}

/* Client testimonials / quotes – palette gray */
.client-quote,
blockquote.client-quote {
  clear: both;
  color: var(--text-muted);
}
.client-quote p,
.client-quote blockquote {
  color: inherit;
}

/* Key takeaways block – below tldr, between opening and deeper dive; H3 in orange */
.post-body .key-takeaways {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  background: var(--bg-elevated);
  border-radius: 6px;
  border-left: 3px solid var(--accent-orange);
}
.post-body .key-takeaways h3 {
  color: var(--accent-orange);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75em;
  border-left: none;
  padding-left: 0;
}
.post-body .key-takeaways ul {
  margin: 0;
  padding-left: 1.25em;
}
.post-body .key-takeaways li {
  margin-bottom: 0.5em;
}
.post-body .key-takeaways li:last-child {
  margin-bottom: 0;
}

/* Disclaimer block – match body line-height for readability */
.post-body .post-disclaimer {
  line-height: 1.7;
}

/* Detectorist says / Reality pair cards (e.g. shitdetectoristssay); shared shell with .project-type-card */
.post-body .detectorist-say-lede {
  margin: 0 0 1.35em;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text-heading-bright);
}
.post-body .say-reality-card,
.post-body .project-type-card {
  clear: both;
  margin: 0 0 1rem;
  padding: 1rem 1.15rem 1.05rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--accent-orange);
  line-height: 1.65;
}
.post-body .say-reality-card__says,
.post-body .say-reality-card__reality {
  margin: 0;
}
.post-body .say-reality-card__says {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.post-body .say-reality-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.35em;
}
.post-body .say-reality-card__reality .say-reality-card__label {
  color: var(--text-muted);
}
.post-body .say-reality-interlude {
  margin: 1.35em 0 1rem;
  padding: 0.65em 1em;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  background: var(--bg-elevated);
  border-radius: 6px;
  border: 1px dashed var(--border);
}

/* Source links block at end of service pages: smaller and muted */
.source-links,
.post-body .source-links {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Song/lyrics callout – verse lines with clear attribution below */
.post-body .lyrics-callout,
blockquote.lyrics-callout {
  clear: both;
  margin: 1.5em 0;
  padding: 1.25em 1.5em;
  border-left: 4px solid var(--border);
  background: var(--bg-elevated);
  font-style: normal;
}
.post-body .lyrics-callout .lyrics-callout__verse,
blockquote.lyrics-callout .lyrics-callout__verse {
  margin: 0;
  line-height: 1.7;
  color: var(--accent-orange);
}
.post-body .lyrics-callout .lyrics-callout__attribution,
blockquote.lyrics-callout .lyrics-callout__attribution {
  margin: 0.75em 0 0;
  padding-top: 0.5em;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Accent callout – orange border and emphasis (e.g. key insight in article body). Line-height matches body copy. */
.post-body .callout-accent,
blockquote.callout-accent {
  clear: both;
  border-left: 4px solid var(--accent-orange);
  color: var(--accent-orange);
  font-style: normal;
  line-height: 1.7;
  margin: 1em 0;
  padding: 1em 1em 1em 1.25em;
}
.post-body .callout-accent p,
blockquote.callout-accent p {
  margin: 0;
  line-height: inherit;
}

/* Dictionary entry – blockquote with headword, pronunciation, etymology, definition */
.post-body blockquote.dictionary-entry,
blockquote.dictionary-entry {
  clear: both;
  margin: 1.5em 0;
  padding: 1.25em 1.5em;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-orange);
  background: var(--bg-elevated);
  font-style: normal;
  opacity: 1;
  color: var(--text);
}
.dictionary-entry__headword {
  margin: 0 0 0.25em;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading-bright);
}
.dictionary-entry__pos {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.95em;
}
.dictionary-entry__pronunciation {
  margin: 0 0 0.5em;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.dictionary-entry__etymology {
  margin: 0 0 0.75em;
  font-size: 0.9rem;
  color: var(--text);
}
.dictionary-entry__definition {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

/* Update callout – date/context for revised posts (orange accent, text only, no graphic) */
.post-body .update-callout {
  clear: both;
  border-left: 4px solid var(--accent-orange);
  background: var(--bg-elevated);
  /* Keep callout inner spacing visually even (top ~= bottom). */
  padding: 1em 1.25em;
  margin: 1.5em 0;
  color: var(--text);
  position: relative;
}
.update-callout p {
  margin: 0.5em 0;
}
.update-callout p:first-child {
  margin-top: 0;
}
.update-callout p:last-child {
  margin-bottom: 0;
}

hr {
  display: block;
  border: none;
  height: 1px;
  margin: 1em 0;
  background: radial-gradient(circle at 100% 50%, var(--accent-orange) 3px, transparent 3px),
              var(--border);
}
/* When hr directly follows a heading: tight to heading, underline effect */
.post-body h1 + hr,
.post-body h2 + hr,
.post-body h3 + hr,
.post-body h4 + hr,
.post-body h5 + hr,
.post-body h6 + hr,
h1 + hr, h2 + hr, h3 + hr, h4 + hr, h5 + hr, h6 + hr {
  margin-top: 0.125em;
  margin-bottom: 1em;
}

span.separator {
  display: block;
  margin: 42px 0 48px 0;
  width: 100%;
}

span.divider {
  display: block;
  width: 100%;
  background-color: var(--border);
  height: 1px;
  margin: 0 auto;
}

span.separator:last-child {
  display: none;
}

span.code { font-family: Menlo, Monaco, Courier; background-color: var(--bg-elevated); color: var(--text-muted); font-size: 14px; border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; }

pre {
  font-family: "Source Code Pro", Menlo, Monaco, monospace;
  white-space: pre-wrap;
  padding: 20px;
  background: var(--bg-elevated);
  overflow: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.5em;
  font-weight: 500;
  color: var(--text);
}

table {
  width: 100%;
  margin: 40px 0;
  border-collapse: collapse;
  font-size: 1.05rem;
  line-height: 1.5em;
}

th,td {
  text-align: left;
  padding-right: 20px;
  vertical-align: top;
}

table td,td {
  border-spacing: none;
  border-style: solid;
  padding: 10px 15px;
  border-width: 1px 0 0 0;
}

tr>td {
  border-top: 1px solid var(--border);
}

tr:nth-child(odd)>td {
  background: var(--bg-elevated);
}

thead th, th {
  text-align: left;
  padding: 10px 15px;
  height: 20px;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  cursor: default;
  white-space: nowrap;
}

img {
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
}

/* Right-floated inset images — same geometry as .img-accent (tune vars on :root only). */
.post-body img.img-float-right {
  float: right;
  clear: right;
  display: block;
  width: var(--post-img-float-pct);
  max-width: var(--post-img-float-max);
  height: auto;
  max-height: none;
  margin: 0 0 1em 1.5em;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

/* Full-width image (e.g. chart/illustration that needs to be readable) */
.post-body img.img-full-width {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 5px;
}

/* Centered image in content column (block, auto margins) */
.post-body img.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Accent / break images — right-floated, text wraps left; clear:right stacks consecutive accents */
.post-body img.img-accent {
  float: right;
  clear: right;
  display: block;
  width: var(--post-img-float-pct);
  max-width: var(--post-img-float-max);
  height: auto;
  max-height: none;
  margin: 0 0 1em 1.5em;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

/* Opt-in: left-floated accent (e.g. home) */
.post-body img.img-accent.img-accent--left {
  float: left;
  clear: left;
  margin: 0 1.5em 1em 0;
}

/* Keep floated images inside their section so the next section doesn’t wrap into a prior float */
.post-body section:not(.photo-inline-gallery) {
  display: flow-root;
}

/* Archaeology lab photos: stacked on narrow viewports; two-up on desktop */
.post-body--home-lead .home-audience--archaeology .home-arch-lab-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.1rem;
  width: 100%;
}

.post-body--home-lead .home-audience--archaeology .home-arch-lab-row .home-arch-lab {
  float: none;
  clear: both;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

@media screen and (min-width: 769px) {
  .post-body--home-lead .home-audience--archaeology .home-arch-lab-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: stretch;
  }
}

video {
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
}

/* Wistia (and similar) embeds: full width of article column, 16:9 aspect ratio */
.post-body iframe.wistia_embed {
  display: block;
  width: 100%;
  height: 56.25vw; /* 16:9 based on viewport width */
  max-height: 506px; /* cap at ~900px content width equivalent */
  min-height: 250px;
  margin: 1em 0;
  border-radius: 5px;
}

/* YouTube / video embeds: full column width, 16:9 (use with .videoContainer.widescreen or .youtube-embed) */
.post-body .youtube-embed,
.post-body .videoContainer {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.25rem 0;
  height: 0;
  overflow: hidden;
  display: block;
  clear: both;
  box-sizing: border-box;
  border-radius: 10px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-body .youtube-embed,
.post-body .videoContainer.widescreen {
  padding-bottom: 56.25%;
}

.post-body .youtube-embed iframe,
.post-body .videoContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0;
}

@supports (aspect-ratio: 16 / 9) {
  .post-body .youtube-embed,
  .post-body .videoContainer.widescreen {
    height: auto;
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }

  .post-body .youtube-embed iframe,
  .post-body .videoContainer.widescreen iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

.post-body .video-embed-caption {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

/*=========================================
Post List
=========================================== */


#post-list li,
#guide-hub-list li {
  list-style-type: none;
}

#post-list li:last-child,
#guide-hub-list li:last-child {
  margin-bottom: 0;
}

/* Article index (/page/1): only <li> children under <ul> (valid HTML). Row dividers here instead of invalid <span> siblings. */
.post-list--excerpts {
  padding-left: 0;
  margin: 0;
}

.post-list--excerpts > li {
  margin: 0;
  padding: 0 0 2.25em;
  border-bottom: 1px solid var(--border);
}

.post-list--excerpts > li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.post-list--excerpts .post-list__item {
  margin-bottom: 0;
}

/* Wrapped by .template-listing--excerpts (entries + tagged): BuzzMaven-style excerpt list, not bordered “cards” */

#post-list h2,
#guide-hub-list h2 {
  margin-top: 0;
  line-height: 1.35;
}

.post-list__item {
  margin-bottom: 2.5em;
}

.post-list__item--has-thumb {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25em;
  align-items: start;
}

.post-list__item--has-thumb .post-list__content {
  min-width: 0;
}

.post-list__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 5px;
  background: var(--bg-elevated);
}

.post-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.post-list__item header {
  margin-bottom: 0.35em;
}

.post-list__title {
  margin: 0;
  font-size: 1.15em;
  line-height: 1.35;
}

.post-list__title a {
  color: var(--text-heading-bright);
  text-decoration: none;
}

.post-list__title a:hover,
.post-list__title a:focus {
  color: var(--accent-orange);
  text-decoration: underline;
}

.post-list__date,
.post-list__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.post-list__meta a {
  color: var(--text-muted);
  text-decoration: none;
}
.post-list__meta a:hover {
  color: var(--accent-orange);
}

/* Visually hide titleTag HTML until footer script copies plain text into the list link (avoids nested headings in <a>). */
.post-list__title-placeholder {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-list__dates,
.post-list__dates time {
  font-size: inherit;
  color: inherit;
}

.article-meta__label {
  font-weight: 500;
  margin-right: 0.2em;
}

.article-meta__sep {
  margin: 0 0.15em;
}

.post-list__summary {
  margin: 0.5em 0 0.75em;
  font-size: 0.95em;
  line-height: 1.55;
  color: var(--text);
}

#post-list .drill-down,
#guide-hub-list .drill-down {
  margin-top: 0;
}

/* Footer */

/* Post hero – mobile: full width; desktop: float right ~half column, text wraps (matches home lead photo rhythm). */
.post-hero,
.post-body .post-hero {
  clear: both;
  display: block;
  margin: 0.5em 0 1.5em;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.post-hero__img,
.post-body .post-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

/* Optional hero rotation (YAML Heroimagerotate / heroimagerotate, any truthy value): 90° CCW for tall artifacts */
.post-hero.post-hero--rotate-ccw90,
.post-body .post-hero.post-hero--rotate-ccw90 {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-hero__img.post-hero__img--rotate-ccw90,
.post-body .post-hero__img.post-hero__img--rotate-ccw90 {
  transform: rotate(-90deg);
  transform-origin: center center;
  width: auto;
  max-width: min(100%, 520px);
  height: auto;
  max-height: min(80vh, 560px);
  object-fit: contain;
}

@media screen and (min-width: 769px) {
  .post-body .post-hero {
    float: right;
    clear: none;
    width: 50%;
    max-width: min(50%, 430px);
    margin: 0.2rem 0 0.85rem 1.1rem;
    overflow: visible;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.26);
    background: rgba(0, 0, 0, 0.18);
  }

  .post-body .post-hero__img {
    width: 100%;
    height: auto;
    max-height: min(72vh, 520px);
    object-fit: contain;
    object-position: center top;
    border-radius: 9px;
  }

  .post-body .post-hero.post-hero--rotate-ccw90 .post-hero__img--rotate-ccw90 {
    width: auto;
    max-width: min(100%, 480px);
    max-height: min(68vh, 520px);
  }

  .post-body .post-hero.post-hero--rotate-ccw90 {
    min-height: min(48vh, 400px);
  }

  /* Contain floated hero + default body image floats without footer overlap */
  article.post .post-body::after {
    content: "";
    display: table;
    clear: both;
  }

  .post-body:not(.post-body--home-lead) img.img-float-right {
    max-width: min(50%, 430px);
    max-height: min(70vh, 480px);
    object-fit: contain;
    object-position: center top;
  }

  .post-body:not(.post-body--home-lead) img.img-accent {
    max-width: min(50%, 430px);
    max-height: min(52vh, 340px);
    object-fit: contain;
    object-position: center top;
  }
}

.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 25px;
  padding-top: 40px;
  padding-bottom: 60px;
  border-top: none;
  text-align: center;
}

/* Partner certification badges: services page only (moved from footer). */
.certification-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25em 2em;
  margin: 3em 0 2em;
  padding-top: 2em;
  border-top: 1px solid var(--border);
}
.certification-badge {
  display: block;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.certification-badge:hover {
  opacity: 1;
}
.certification-badge img {
  display: block;
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em 1.5em;
  margin-bottom: 1.5em;
  font-size: 17px;
}
.site-footer__nav a {
  color: var(--link);
  text-decoration: underline;
}
.site-footer__nav a:visited {
  color: var(--link-visited);
}
.site-footer__nav a:hover {
  color: var(--link-hover);
}
.site-footer__nav a:active {
  color: var(--link-active);
}

/* Footer social: dark panel, merged heading row, two columns (logo + URL per cell). */
.site-footer__social {
  --site-footer-social-bg: rgba(8, 7, 6, 0.92);
  --site-footer-social-edge: rgba(255, 255, 255, 0.1);
  --site-footer-social-text: #f2efe8;
  --site-footer-social-muted: #c9c2b6;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--site-footer-social-bg);
  color: var(--site-footer-social-text);
  border: 1px solid var(--site-footer-social-edge);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.site-footer__social-heading {
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--site-footer-social-text);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--site-footer-social-edge);
  font-family: inherit;
}
.site-footer__social-channels td {
  padding: 0;
  vertical-align: top;
}
.site-footer__social-cell {
  width: 50%;
  border-right: 1px solid var(--site-footer-social-edge);
}
.site-footer__social-cell:last-child {
  border-right: none;
}
.site-footer__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0.85rem 0.65rem 1rem;
  color: var(--site-footer-social-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.15em;
}
.site-footer__social-link:visited {
  color: #bfb8ab;
}
.site-footer__social-link:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}
.site-footer__social-link:active {
  color: #fff;
}
.site-footer__social-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--site-footer-social-text);
}
.site-footer__social-link-text {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(0.65rem, 2.4vw, 0.8125rem);
  line-height: 1.35;
  word-break: break-all;
  hyphens: auto;
}
.site-footer__social-svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

@media screen and (max-width: 520px) {
  /*
   * Stack Facebook / Instagram on narrow viewports. Use block layout for the whole table so the
   * dark panel stays full width and centered; display:flex on <tr> alone often shrinks the row
   * inside the table grid and leaves the block visually left-shifted on mobile.
   */
  .site-footer__social {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .site-footer__social tbody {
    display: block;
    width: 100%;
  }
  .site-footer__social > tbody > tr:first-child {
    display: block;
    width: 100%;
  }
  .site-footer__social > tbody > tr:first-child > th {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  tr.site-footer__social-channels {
    display: block;
    width: 100%;
  }
  tr.site-footer__social-channels .site-footer__social-cell {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-right: none;
    border-bottom: 1px solid var(--site-footer-social-edge);
  }
  tr.site-footer__social-channels .site-footer__social-cell:last-child {
    border-bottom: none;
  }
  .site-footer__social-link {
    padding: 0.95rem 0.85rem 1.05rem;
  }
  .site-footer__social-link-text {
    font-size: 0.7rem;
    line-height: 1.4;
  }
}

/* Sitewide footer callout: field-practice reminder for detectorists (boxed, distinct from legal/footer links). */
.site-footer__notice {
  text-align: left;
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 4px solid var(--accent-orange);
  background: linear-gradient(
    165deg,
    rgba(var(--accent-orange-rgb), 0.12) 0%,
    var(--bg-elevated) 42%
  );
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.site-footer__notice-inner {
  padding: 1.15rem 1.35rem 1.35rem;
}

.site-footer__notice-heading {
  margin: 0 0 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange);
  line-height: 1.35;
}

.site-footer__notice-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 0.9em;
}

.site-footer__notice-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .site-footer__notice-inner {
    padding: 1rem 1rem 1.2rem;
  }
}

.site-footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.site-footer__copy a {
  color: var(--link);
  text-decoration: underline;
}
.site-footer__copy a:visited {
  color: var(--link-visited);
}
.site-footer__copy a:hover {
  color: var(--link-hover);
}
.site-footer__copy a:active {
  color: var(--link-active);
}

.site-footer__links {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0.5em 0 0;
}

.site-footer__links a {
  color: var(--link);
  text-decoration: underline;
}
.site-footer__links a:visited {
  color: var(--link-visited);
}
.site-footer__links a:hover {
  color: var(--link-hover);
}
.site-footer__links a:active {
  color: var(--link-active);
}

footer #wrapper {
  margin: 0 auto;
  text-align: center;
  padding: 35px 0 80px 0;
}

/* Consent banner: fixed bar at bottom; GTM reads cookie and dataLayer events for Consent Mode */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}
.consent-banner[hidden] {
  display: none !important;
}
.consent-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
}
.consent-banner__text a {
  color: var(--text-heading-bright);
  text-decoration: underline;
}
.consent-banner__actions {
  display: flex;
  gap: 0.75rem;
}
.consent-banner__btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
}
.consent-banner__btn:hover {
  background: var(--border);
  color: var(--text-heading-bright);
}
.consent-banner__btn--accept {
  background: var(--text-heading-bright);
  color: var(--bg);
  border-color: var(--text-heading-bright);
}
.consent-banner__btn--accept:hover {
  filter: brightness(1.1);
}
@media (max-width: 480px) {
  .consent-banner {
    flex-direction: column;
    text-align: center;
  }
}

#footer {
  text-align: center;
}

#footer a {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

#footer li {
  display: inline;
  padding: 0 10px;
}

#post-meta {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 60px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

#post-meta div span {
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

#post-meta div span.dark {
  color: var(--text);
  font-weight: bold;
}

#post-meta div {
  float: left;
}
#post-meta .post-meta__author-line {
  display: flex;
  align-items: center;
  gap: 0.25em;
}
#post-meta .post-meta__author-line a:first-child {
  color: inherit;
  text-decoration: none;
}
#post-meta .post-meta__author-line a:first-child:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Post Page */
#header {
  border-bottom: 1px solid var(--border);
}

.post {
  margin: 0;
}

/* Equal spacing: header → tldr (sitewide). Title-block handles space above H1. */
.title-block + .tldr,
.title-block + .post-body,
.title-block + section {
  margin-top: 0;
}
.post header {
  margin-top: 0;
  margin-bottom: 1.25em;
}
.post header h1 {
  margin-top: 0;
}
.post header h1:first-child {
  margin-top: 0;
}
.tldr,
.post-body .tldr {
  margin-top: 0;
}

/* Post Navigation */
#post-nav {
  text-align: center;
  padding-top: 24px;
  margin-top: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  overflow: hidden;
}

#post-nav a {
  color: var(--accent-orange);
  text-decoration: none;
  padding: 0.5em 0.75em;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
#post-nav a:hover,
#post-nav a:focus {
  color: var(--text-heading-bright);
  background: rgba(252, 176, 52, 0.15);
}
#post-nav a:visited {
  color: var(--accent-orange);
}

#post-nav span {
  position: relative;
}

#post-nav span.prev {
  float: left;
}

#post-nav span.next {
  float: right;
}

#post-nav span .arrow {
  position: relative;
  padding: 0 0.15em;
  font-weight: 700;
}

#post-meta img.avatar {
  height: 36px;
  width: 36px;
  float: left;
  margin-right: 15px;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--border);
  border-radius: 50%;
}

/* Others */

.dates {
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  text-transform: uppercase;
  padding-top: 5px;
}

h2.headline {
  margin-top: 0;
  margin-bottom: 0;
}

/* Article byline: author name with LinkedIn icon immediately to the right, just below date */
.article-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0.5em 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.article-byline__author {
  font-weight: 500;
  color: var(--text);
}
.article-byline__linkedin {
  color: var(--text-muted);
  text-decoration: none;
  flex-shrink: 0;
}
.article-byline__linkedin:hover {
  color: var(--accent-orange);
}
.article-byline__linkedin svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Article meta – date and tags on one line; both small */
.article-meta,
.article-tags {
  margin: 0.35em 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.article-meta .dates,
.article-meta time,
.article-meta a {
  font-size: inherit;
}
.article-tags:empty {
  display: none;
}
.article-meta a,
.article-tags a {
  color: var(--text-muted);
  text-decoration: none;
}
.article-meta a:hover,
.article-tags a:hover {
  color: var(--accent-orange);
}

/* Form */

#search input.field {
  width: 270px;
  height: 34px;
  font-size: 13px;
  font-weight: 400;
  padding-left: 12px;
  border: 2px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  margin-top: 20px;
  border-radius: 17px;
  appearance: none;
  -webkit-appearance: none;
}

/* Media Queries */

/* Post hero and accent images: tighter margins on narrow screens */
@media screen and (max-width: 768px) {
  /* Post list: stacked layout on mobile – title, full-width thumb, summary */
  .post-list__item--has-thumb {
    display: flex;
    flex-direction: column;
  }
  .post-list__item--has-thumb .post-list__content {
    display: contents;
  }
  .post-list__item--has-thumb header {
    order: 1;
  }
  .post-list__item--has-thumb .post-list__thumb {
    order: 2;
    width: 100%;
    margin: 0.375em 0 0.5em;
  }
  .post-list__item--has-thumb .post-list__summary {
    order: 3;
  }
  .post-list__item--has-thumb .drill-down {
    order: 4;
  }

  .post-hero,
  .post-body .post-hero {
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 0.5em 0 0.625em;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 6px;
    overflow: hidden;
  }

  .post-hero.post-hero--rotate-ccw90,
  .post-body .post-hero.post-hero--rotate-ccw90 {
    overflow: visible;
  }

  .post-body .post-hero__img {
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }

  .post-body .post-hero__img.post-hero__img--rotate-ccw90 {
    max-height: min(75vh, 520px);
    border-radius: 6px;
  }
  .post-body img.img-float-right,
  .post-body img.img-accent {
    float: none;
    clear: none;
    display: block;
    width: min(100%, var(--post-img-float-max));
    max-width: var(--post-img-float-max);
    height: auto;
    max-height: none;
    margin: 0.75em 0;
    margin-left: auto;
    margin-right: 0;
    object-fit: contain;
  }

  .post-body img.img-accent.img-accent--left {
    margin-left: 0;
    margin-right: auto;
  }

  .person-photo {
    float: none;
    margin: 0 0 0.5em 0;
  }
}

/* Very narrow: logo centered above centered menu */
@media screen and (max-width: 480px) {
  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 12px 16px 10px;
  }

  nav.main-nav {
    justify-content: center;
  }
}

@media screen and (max-width: 540px) {

  footer #wrapper {
    padding: 35px 0 60px 0;
  }

  .profile #wrapper {
    margin: 0 auto;
    text-align: left;
    padding: 20px 25px 25px;
  }

  #post-meta {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 60px;
  }

  .post {
    margin: 0 0 40px 0;  /* no top margin so title-block H1 stays aligned */
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 19px;
  }

}

/*
  IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru>
*/

.hljs {
  display: block;
  overflow-x: auto;
  /*padding: 0.5em;*/
  background: #272b2d;
  color: #d0d0d0;
  -webkit-text-size-adjust: none;
}

.hljs-shebang,
.hljs-comment {
  color: #777279;
}

.hljs-keyword,
.hljs-tag,
.tex .hljs-command,
.hljs-request,
.hljs-status,
.clojure .hljs-attribute {
  color: #ebde68;
}

.hljs-sub .hljs-keyword,
.method,
.hljs-list .hljs-title,
.nginx .hljs-title {
  color: #ffffb6;
}

.hljs-string,
.hljs-tag .hljs-value,
.hljs-cdata,
.hljs-filter .hljs-argument,
.hljs-attr_selector,
.apache .hljs-cbracket,
.hljs-date,
.coffeescript .hljs-attribute {
  color: #c1ef65;
}

.hljs-subst {
  color: #daefa3;
}

.hljs-regexp {
  color: #e9c062;
}

.hljs-title,
.hljs-sub .hljs-identifier,
.hljs-pi,
.hljs-decorator,
.tex .hljs-special,
.hljs-type,
.hljs-constant,
.smalltalk .hljs-class,
.hljs-doctag,
.nginx .hljs-built_in {
  color: #c1ef65;
}

.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.hljs-number,
.hljs-variable,
.vbscript,
.hljs-literal,
.hljs-name {
  color: #77bcd7;
}

.css .hljs-tag {
  color: #96cbfe;
}

.css .hljs-rule .hljs-property,
.css .hljs-id {
  color: #ffffb6;
}

.css .hljs-class {
  color: #fff;
}

.hljs-hexcolor {
  color: #c6c5fe;
}

.hljs-number {
  color:#77bcd7;
}

.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata {
  opacity: 0.7;
}


/* Blot changes */


.videoContainer {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 0;
  overflow: hidden;
  display: block;
  box-sizing: border-box;
}

.videoContainer.fourthree {
  padding-bottom: 70%;
}

.videoContainer.widescreen {
  padding-bottom: 56.25%;
}

.videoContainer iframe,
.videoContainer object,
.videoContainer embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0!important
}

/* Booking embed: light panel so Google’s iframe is readable on dark theme */
.booking-embed {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  background: #f6f8fa;
  color: #24292f;
  border-radius: 0;
  padding: 40px;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.booking-embed iframe {
  display: block;
  margin: 0 auto;
  max-width: var(--content-max);
  width: 100%;
  border-radius: 8px;
  min-height: 80vh;
  height: 800px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.booking-embed .booking-fallback {
  margin-top: 1em;
  text-align: center;
  font-size: 0.9rem;
  color: #57606a;
}

.booking-embed .booking-fallback a {
  color: #0969da;
}

.booking-embed .booking-fallback a:hover {
  color: #0550ae;
}

/* Parking map (ParkMe) – large, responsive on all devices */
.parking-map {
  width: 100%;
  max-width: 100%;
  margin: 1.5em 0 1em;
}

.parking-map iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  height: 70vh;
  max-height: 700px;
  border: 1px solid var(--border, #ccc);
  border-radius: 8px;
  background: var(--bg-elevated, #fff);
}

@media (max-width: 768px) {
  .parking-map iframe {
    min-height: 350px;
    height: 65vh;
    max-height: 500px;
  }
}

.parking-map__credit {
  font-size: 12px;
  color: var(--text-muted, #666);
  text-align: right;
  margin: 0.5em 0 0;
}

.parking-map__credit a {
  color: var(--text-muted, #666) !important;
  text-decoration: none;
}

.parking-map__credit a:hover {
  text-decoration: underline;
}

/* Contact form (Basin) – site styling; on-page so fonts inherit from the theme */
.wp-form-container {
  font-family: var(--font-body);
  max-width: 700px;
  margin: 1em auto 1.5em;
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

.wp-form-container h2 {
  font-family: var(--font-heading);
  font-size: var(--step-h3);
  margin: 0 0 12px;
  color: var(--text-heading-bright);
  font-weight: 700;
  line-height: 1.3;
}

.wp-form-lead {
  font-family: var(--font-body);
  font-size: var(--step-small);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.wp-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.wp-form-row label {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.wp-form-row input[type="text"],
.wp-form-row input[type="email"],
.wp-form-row input[type="url"],
.wp-form-row textarea {
  font-family: var(--font-body);
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
}

.wp-form-row input::placeholder,
.wp-form-row textarea::placeholder {
  color: var(--text-muted);
}

.wp-form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.wp-form-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.wp-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wp-form-container .w-form-done,
.wp-form-container .w-form-fail {
  font-family: var(--font-body);
  margin-top: 1em;
  padding: 12px 14px;
  border-radius: 6px;
  line-height: 1.45;
}

.wp-form-container .w-form-done {
  background: rgba(36, 197, 164, 0.12);
  border: 1px solid rgba(36, 197, 164, 0.35);
  color: var(--text);
}

.wp-form-container .w-form-fail {
  background: rgba(229, 83, 75, 0.12);
  border: 1px solid rgba(229, 83, 75, 0.35);
  color: var(--text);
}

.wp-submit {
  background: var(--accent-orange);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  color-scheme: light;
}

.wp-submit:hover {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  filter: brightness(1.1);
}

.wp-required {
  color: var(--accent-orange);
  margin-left: 4px;
}

.wp-error {
  color: #e5534b;
  font-size: 13px;
  margin-top: 6px;
}

[data-basin-captcha] {
  display: block;
}

.wp-alert-icon {
  color: var(--accent-orange);
  margin-right: 0.35em;
}

/* Orange CTA buttons – black text. Chrome “Force dark mode” (flags) can still show white text; not fixable via CSS. */
.post-body a.btn-contact,
#wrapper a.btn-contact,
a.btn-contact,
.btn-contact {
  display: inline-block;
  margin-top: 2em;
  background: var(--accent-orange);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: none;
  color-scheme: light;
}

.post-body a.btn-contact:hover,
#wrapper a.btn-contact:hover,
a.btn-contact:hover,
.btn-contact:hover {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  filter: brightness(1.1);
}

/* Blue CTA — same shape as .btn-contact, distinct action color */
.post-body a.btn-action-blue,
#wrapper a.btn-action-blue,
a.btn-action-blue,
.btn-action-blue {
  display: inline-block;
  margin-top: 2em;
  background: var(--action-blue);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: none;
  color-scheme: light;
}

.post-body a.btn-action-blue:hover,
#wrapper a.btn-action-blue:hover,
a.btn-action-blue:hover,
.btn-action-blue:hover {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  filter: brightness(1.1);
}

/* Article share (Facebook): top row beside breadcrumbs on posts; href from data-share-url in footer.html */
.post-share {
  text-align: right;
}

.post-share__facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #1877f2;
  box-shadow: none;
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: nowrap;
  vertical-align: middle;
}

.post-share__on {
  font-weight: 500;
  font-size: 0.88em;
  opacity: 0.92;
}

.post-share__facebook:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  filter: brightness(1.08);
}

.post-share__facebook:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.post-share__facebook:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Fixed px size so mobile root font / flex never scales the glyph like a hero image */
.post-share .post-share__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  overflow: hidden;
}

.post-share .post-share__svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block;
  flex-shrink: 0;
}

@media screen and (max-width: 520px) {
  .post-share__facebook {
    font-size: 0.875rem;
    padding: 8px 14px;
    gap: 0.35rem;
  }

  .post-share .post-share__icon {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
  }

  .post-share .post-share__svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
}

@media (prefers-color-scheme: dark) {
  .post-share__facebook,
  .post-share__facebook:hover,
  .post-share__facebook:visited {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

/*
 * CTAs / banner actions: system UI stack reads smoother than Poppins semibold at ~14–16px on
 * saturated fills; grayscale AA avoids “fuzzy” subpixel color fringes on orange/blue.
 */
.post-body a.btn-contact,
#wrapper a.btn-contact,
a.btn-contact,
.btn-contact,
.post-body a.btn-action-blue,
#wrapper a.btn-action-blue,
a.btn-action-blue,
.btn-action-blue,
nav.main-nav a.btn-contact.main-nav__cta,
nav.main-nav a.btn-action-blue.main-nav__cta,
.wp-submit,
.consent-banner__btn {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force orange buttons to keep black text when OS/browser uses dark mode */
@media (prefers-color-scheme: dark) {
  .wp-submit,
  .wp-submit:hover,
  .post-body a.btn-contact,
  .post-body a.btn-contact:hover,
  #wrapper a.btn-contact,
  #wrapper a.btn-contact:hover,
  a.btn-contact,
  a.btn-contact:hover,
  nav.main-nav a.btn-contact.main-nav__cta,
  nav.main-nav a.btn-contact.main-nav__cta:hover,
  .post-body a.btn-action-blue,
  .post-body a.btn-action-blue:hover,
  #wrapper a.btn-action-blue,
  #wrapper a.btn-action-blue:hover,
  a.btn-action-blue,
  a.btn-action-blue:hover,
  nav.main-nav a.btn-action-blue.main-nav__cta,
  nav.main-nav a.btn-action-blue.main-nav__cta:hover {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
}

/* Detecting.US light polish: clearer hierarchy and spacing */
body {
  line-height: 1.65;
}

#wrapper {
  max-width: var(--content-max);
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

.main-nav .main-nav__list {
  gap: 10px;
}

.main-nav a {
  border-radius: 6px;
  padding: 8px 10px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.post .p-name,
.h-card .p-name {
  line-height: 1.2;
  letter-spacing: normal;
}

.post-body p,
.post-body li {
  font-size: 1.06rem;
}

/* Do not upscale past intrinsic dimensions (legacy WP thumbs stay sharp like old theme). */
.post-body img {
  border-radius: 8px;
  margin: 1rem auto;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Post images: block flow by default so several images in a row don’t float and
   strand the next paragraph in a narrow column beside them.
   Use class img-float-right or img-accent when you want body text to wrap an image. */
.post-body p:has(> img:not(:only-child)):not(.glossary-media) {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

/* Hard override: migrated image paragraphs should never render as boxed cards. */
.post-body p:has(> img):not(.glossary-media),
.post-body p:has(> a > img):not(.glossary-media) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.post:not(.post--glossary) .post-body p:has(> img):not(.glossary-media) > img:not(.img-float-right):not(.img-accent):not(.home-lead__photo),
.post:not(.post--glossary) .post-body p:has(> a > img):not(.glossary-media) > a > img:not(.img-float-right):not(.img-accent):not(.home-lead__photo) {
  float: none;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: none;
  margin: 1rem auto;
  object-fit: contain;
  object-position: center;
}

/*
 * Desktop: solitary body images (markdown ![](…)) float right ~half column so lists and
 * paragraphs wrap like the home lead photo. Opt out: .img-full-width, .img-center,
 * .img-float-right, .img-accent. Home page (.post-body--home-lead) unchanged.
 *
 * Use :only-of-type (not :only-child): leading/trailing whitespace in <p> becomes a text
 * node, so <img> is no longer :only-child and rules would never match (Blot/Markdown).
 */
@media screen and (min-width: 769px) {
  .post:not(.post--glossary) .post-body:not(.post-body--home-lead) p:has(> img:only-of-type) > img:not(.img-full-width):not(.img-center):not(.img-float-right):not(.img-accent):not(.home-lead__photo),
  .post:not(.post--glossary) .post-body:not(.post-body--home-lead) p:has(> a:only-of-type > img:only-of-type) > a > img:not(.img-full-width):not(.img-center):not(.img-float-right):not(.img-accent):not(.home-lead__photo) {
    float: right;
    clear: right;
    display: block;
    width: auto;
    max-width: min(50%, var(--post-img-auto-float-max));
    max-height: min(70vh, 480px);
    margin: 0.2rem 0 0.85rem 1.1rem;
    object-fit: contain;
    object-position: center top;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    background: rgba(0, 0, 0, 0.14);
  }

  .post:not(.post--glossary) .post-body:not(.post-body--home-lead) p:has(> a:only-of-type > img:only-of-type) > a {
    float: right;
    clear: right;
    display: block;
    max-width: min(50%, var(--post-img-auto-float-max));
    margin: 0.2rem 0 0.85rem 1.1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.14);
  }

  .post:not(.post--glossary) .post-body:not(.post-body--home-lead) p:has(> a:only-of-type > img:only-of-type) > a > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 480px);
    margin: 0;
    object-fit: contain;
    object-position: center top;
    border-radius: 9px;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
}

.post-list-item,
.post-list li {
  margin-bottom: 0.9rem;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  #wrapper {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ------------------------------------------------------------------
   Expert Editorial Redesign (Phase 1) — MOLA-adjacent type + earthy palette
   ------------------------------------------------------------------ */

:root {
  --bg: #0f0e0c;
  --bg-elevated: #181614;
  --border: #3a3530;
  --text: #d4cfc7;
  --text-heading: #e4dfd6;
  --text-heading-bright: #f2efe8;
  --text-muted: #9a9288;
  --accent: #7a9b7c;
  --accent-dim: #5a7a5c;
  --accent-orange: #c9926b;
  --accent-orange-rgb: 201, 146, 107;
  --action-blue: #5a9fd4;
  --action-blue-rgb: 90, 159, 212;
  --link: #9eb8b5;
  --link-visited: #8fa9a6;
  --link-hover: #b5cfcb;
  /* Negative = shift map image up so top edge (paper margin) is clipped; tune without re-export. */
  --map-bg-offset-y: -200px;
  /* Desktop main column (main#wrapper, footer). Mobile uses calc(100% - 20px) below 761px. */
  --content-max: 1080px;
}

/*
 * Map + scrim on `html` so every layer shares the same root painting area. Previously the map
 * was on html while gradients lived on body — different boxes/sizing produced a bright horizontal
 * band where the map showed with little scrim. Orange tints use numeric RGBA (gradient parser).
 * Map: `ky-vert.webp` — vertical KY slice, repeat-y only (no side-by-side columns). Tune the map
 * layer’s background-size (e.g. min(100%, 720px) auto) if you want a fixed display width.
 * min-height on html (see Base) must allow the root to grow with content so scrim covers full scroll.
 * ≤760px: map layer omitted so the asset is not requested (see mobile block below).
 */
html {
  min-height: 100%;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, rgba(201, 146, 107, 0.1) 0%, rgba(201, 146, 107, 0.03) 14%, transparent 34%),
    radial-gradient(1100px 380px at 8% -8%, rgba(201, 146, 107, 0.12), transparent 46%),
    radial-gradient(880px 300px at 96% -4%, rgba(122, 155, 124, 0.07), transparent 44%),
    linear-gradient(
      180deg,
      rgba(15, 14, 12, 0.82) 0%,
      rgba(15, 14, 12, 0.72) 45%,
      rgba(15, 14, 12, 0.8) 100%
    ),
    url("https://cdn.blot.im/blog_66831bca0c874c6281f4446d572c37d5/folder/v-05ba3c46/_assets/ky-vert.webp");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
  background-position: 0 0, 0 0, 0 0, 0 0, center var(--map-bg-offset-y);
  background-size:
    100% 100%,
    auto,
    auto,
    100% 100%,
    auto;
  background-attachment: scroll;
}

body {
  /* Baseline overridden later via --step-body (18px / 1.7 / neutral tracking). */
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: normal;
  min-height: 100%;
  background: transparent;
}

body.page-home,
body:has(.post-body--home-lead) {
  background: transparent;
}

/* Narrow viewports: scrim only — no ky-vert.webp (saves decode + bandwidth; main column covers most of the screen). */
@media (max-width: 760px) {
  html {
    background-image:
      linear-gradient(to bottom, rgba(201, 146, 107, 0.09) 0%, rgba(201, 146, 107, 0.025) 14%, transparent 34%),
      radial-gradient(1100px 380px at 8% -8%, rgba(201, 146, 107, 0.1), transparent 46%),
      radial-gradient(880px 300px at 96% -4%, rgba(122, 155, 124, 0.06), transparent 44%),
      linear-gradient(
        180deg,
        rgba(15, 14, 12, 0.88) 0%,
        rgba(15, 14, 12, 0.8) 45%,
        rgba(15, 14, 12, 0.86) 100%
      );
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-size:
      100% 100%,
      auto,
      auto,
      100% 100%;
  }

  body,
  body.page-home,
  body:has(.post-body--home-lead) {
    background: transparent;
  }
}

/* Type stack: Inter H1; Poppins body + subheads; ABeeZee blockquotes (EOF). */
h2, h3, h4, h5, h6,
.post-list__title,
.template-listing__title {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

h1,
.post .p-name,
.profile .title-block header.h-card .p-name {
  font-family: var(--font-h1);
}

nav.main-nav,
.site-footer,
.site-footer__nav,
button,
input,
textarea,
select,
.breadcrumbs,
.article-meta {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

#wrapper {
  max-width: var(--content-max);
  padding: 16px 28px 34px;
}

/* Main column only (not footer’s legacy section#wrapper): solid surface so type stays legible on the map. */
main#wrapper {
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(24, 22, 20, 0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.42);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.96);
}

nav.main-nav a {
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
}

nav.main-nav a:hover {
  color: var(--accent);
}

nav.main-nav a.btn-contact.main-nav__cta,
nav.main-nav a.btn-action-blue.main-nav__cta {
  letter-spacing: normal;
}

h1 {
  font-size: clamp(2.05rem, 3.1vw, 2.55rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: normal;
}

h2 {
  font-size: clamp(1.58rem, 2.3vw, 1.95rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: normal;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.38rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  border-left-color: var(--accent-orange);
}

.post-body p,
.post-body li {
  font-size: 1.07rem;
}

.post-body p {
  margin-bottom: 0.8em;
}

.post header {
  margin-bottom: 1em;
}

.article-meta {
  margin-top: 0.45em;
  font-size: 0.78rem;
  letter-spacing: normal;
}

.post-list__item {
  padding-bottom: 1.4em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.4em;
}

.post-list__item:last-child {
  border-bottom: none;
}

/*
 * Article index (/page/1, /tagged/…) and Guides hub: shared excerpt list chrome.
 * ul#post-list and ul#guide-hub-list use .post-list--excerpts with dividers on each li.
 */
#post-list.post-list--excerpts .post-list__item,
#guide-hub-list.post-list--excerpts .post-list__item {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

#post-list.post-list--excerpts .post-list__item:last-child,
#guide-hub-list.post-list--excerpts .post-list__item:last-child {
  border-bottom: none;
}

/* Profile listing pages (/page/1, /tagged/…): hub header — matches BuzzMaven-style Articles index (see buzzmaven.com/page/1). */
.profile .title-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.profile .title-block header.h-card .p-name {
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  letter-spacing: normal;
  line-height: 1.2;
}

.profile .title-block header.h-card .p-role {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 52ch;
}

.profile .title-block header.h-card .article-index-note {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.profile .title-block header.h-card .article-index-note a {
  color: var(--link);
}

.profile .title-block header.h-card .article-index-note a:hover {
  color: var(--link-hover);
}

/* Listing pages only: .profile wraps entries.html / tagged.html — not single-post entry.html */
.profile #wrapper > .title-block header.h-card {
  margin-bottom: 0;
}

/* Thumbnail + excerpt list sits inside template-listing (same structure as BuzzMaven Marfa-style index). */
.template-listing.template-listing--excerpts {
  margin-top: 0;
}

/* Desktop: explicit thumbnail column so excerpt list never “loses” the image column next to text. */
@media (min-width: 769px) {
  #post-list.post-list--excerpts .post-list__item--has-thumb,
  #guide-hub-list.post-list--excerpts .post-list__item--has-thumb {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 1.25em;
    align-items: start;
  }

  #post-list.post-list--excerpts .post-list__thumb,
  #guide-hub-list.post-list--excerpts .post-list__thumb {
    width: 100%;
  }

  #post-list.post-list--excerpts .post-list__thumb img,
  #guide-hub-list.post-list--excerpts .post-list__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Guides hub: title-only row (coming soon) still matches article list title color */
#guide-hub-list .post-list__item--soon .post-list__title {
  color: var(--text-heading-bright);
}

.post-list__title {
  font-size: 1.28rem;
}

.post-list__summary {
  font-size: 0.98rem;
  color: var(--text);
}

.expert-intro {
  margin: 0 0 2.25em;
  padding: 0 0 0 1rem;
  border: none;
  border-left: 3px solid var(--accent-orange);
  background: transparent;
  border-radius: 0;
}

.expert-intro__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.expert-intro__lead {
  margin: 0.5em 0 0.55em;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-heading-bright);
}

.expert-intro__summary {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 52ch;
}

.template-header {
  margin: 0 0 1.25em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid var(--border);
}

.template-header h1 {
  margin: 0;
}

.template-header p {
  margin: 0.4em 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.template-listing__item {
  padding: 0.7em 0 0.95em;
  border-bottom: 1px solid var(--border);
}

.template-listing__item:last-child {
  border-bottom: none;
}

.template-listing__meta {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.template-listing__title {
  margin: 0.2em 0 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.template-listing__title a {
  color: var(--text-heading-bright);
  text-decoration: none;
}

.template-listing__title a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.pre-footer-cta {
  margin-top: 2.1em;
}

@media (max-width: 760px) {
  #wrapper {
    padding: 12px 16px 28px;
  }

  main#wrapper {
    width: calc(100% - 20px);
    max-width: 900px;
  }

  nav.main-nav a {
    font-size: 14px;
  }

  h1 {
    font-size: 1.72rem;
  }

  .post-list__title {
    font-size: 1.16rem;
  }
}

/* Focus, selection, anchor offset (minimal usability) */
:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
}

::selection {
  background: rgba(var(--accent-orange-rgb), 0.28);
  color: inherit;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  scroll-margin-top: 4.5rem;
}

button:focus-visible {
  outline-offset: 2px;
}

/* Home: Collaboration / Appearances logo grid (legacy WP sidebar) */
.credentials-block {
  margin: 1.35rem 0 2rem;
  padding: 1.25rem 1.35rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.credentials-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.credentials-block__grid > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credentials-block__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.post-body .credentials-block__link,
.post-body .credentials-block__link:visited {
  color: inherit;
  text-decoration: none;
}

.post-body .credentials-block__link:hover,
.post-body .credentials-block__link:focus-visible {
  border-color: rgba(var(--accent-orange-rgb), 0.55);
  background: rgba(255, 255, 255, 1);
  color: inherit;
}

.credentials-block__link img {
  display: block;
  max-width: 100%;
  max-height: 4.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset;
  filter: brightness(1.02);
}

.credentials-block__link img.credentials-block__img--on-dark {
  background: rgba(255, 255, 255, 0.96);
}

.credentials-block__link:hover img,
.credentials-block__link:focus-visible img {
  filter: brightness(1.08);
}

/* Clears floated inset images before a heading + credentials grid (reusable on any page). */
.post-body-outreach {
  clear: both;
  display: flow-root;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Inline CTA row: spacing without .btn-contact’s default top margin doubling gaps */
.post-body .post-body-cta {
  clear: both;
  margin: 1.1rem 0 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-body .post-body-cta a.btn-contact {
  margin-top: 0;
}

/* Stronger accent-orange emphasis for primary inquiry (e.g. /archaeology/) */
.post-body .post-body-cta--emphasis-orange a.btn-contact {
  box-shadow:
    0 0 0 2px rgba(var(--accent-orange-rgb), 0.6),
    0 0 0 5px rgba(var(--accent-orange-rgb), 0.18),
    0 8px 26px rgba(0, 0, 0, 0.32);
}

.post-body .post-body-cta--emphasis-orange a.btn-contact:hover,
.post-body .post-body-cta--emphasis-orange a.btn-contact:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--accent-orange-rgb), 0.85),
    0 0 0 5px rgba(var(--accent-orange-rgb), 0.25),
    0 10px 30px rgba(0, 0, 0, 0.36);
  filter: brightness(1.08);
}

/*
 * Photo grids: multi-image sections (archaeology page, etc.).
 * Use photo-grid__figure — not post-inline (post-inline always floats beside prose on desktop).
 */
.post-body .photo-inline-gallery {
  clear: both;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media screen and (min-width: 560px) {
  .post-body .photo-inline-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

@media screen and (min-width: 1000px) {
  .post-body .photo-inline-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-body .photo-inline-gallery > figure,
.post-body .photo-inline-gallery > .photo-grid__figure {
  float: none;
  clear: none;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.post-body .photo-inline-gallery figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.post-body .photo-inline-gallery > h2 {
  grid-column: 1 / -1;
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--text-heading);
}

/*
 * Standalone credentials grid (e.g. /archaeology/): stable columns, full width, no float interaction.
 */
.credentials-block--standalone {
  clear: both;
  display: flow-root;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* Own formatting context so logo grid never shares a line with prior .img-accent floats */
  float: none;
}

.credentials-block--standalone .credentials-block__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  align-items: stretch;
}

.credentials-block--standalone .credentials-block__grid > li {
  display: flex;
  min-width: 0;
}

.credentials-block--standalone .credentials-block__link {
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  min-height: 6.25rem;
}

.credentials-block--standalone .credentials-block__link img {
  max-height: 5rem;
}

@media screen and (max-width: 900px) {
  .credentials-block--standalone .credentials-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 520px) {
  .credentials-block--standalone .credentials-block__grid {
    grid-template-columns: 1fr;
  }

  .credentials-block--standalone .credentials-block__link {
    min-height: 5.75rem;
  }
}

/*
 * Home only: collaboration logo grid reads as discrete “cards” on a brown field
 * (legacy detecting.us palette, adapted for this dark theme).
 */
.post-body--home-lead .credentials-block {
  background: linear-gradient(
    165deg,
    var(--brown-panel-top) 0%,
    var(--brown-panel-bottom) 55%
  );
  border: 1px solid var(--brown-panel-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.post-body--home-lead .credentials-block__grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  align-items: stretch;
}

.post-body--home-lead .credentials-block__grid > li {
  display: flex;
  min-width: 0;
}

.post-body--home-lead .credentials-block__link {
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  min-height: var(--credentials-card-height-home);
  height: var(--credentials-card-height-home);
  max-height: var(--credentials-card-height-home);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.post-body--home-lead .credentials-block__link:hover,
.post-body--home-lead .credentials-block__link:focus-visible {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(var(--accent-orange-rgb), 0.55);
}

/* Override global 4.5rem cap so each logo scales to the shared card (object-fit contain). */
.post-body--home-lead .credentials-block__link img {
  max-width: 100%;
  max-height: calc(var(--credentials-card-height-home) - 2.1rem);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  /* Give every logo the same white plate so all marks stand out. */
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset;
}

.post-body--home-lead .credentials-block__link img.credentials-block__img--on-dark {
  /* Keep same treatment for consistency across all credential logos. */
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 520px) {
  .credentials-block__grid {
    grid-template-columns: 1fr;
  }

  .post-body--home-lead .credentials-block__link {
    min-height: 8rem;
    height: 8rem;
    max-height: 8rem;
  }

  .post-body--home-lead .credentials-block__link img {
    max-height: calc(8rem - 2.1rem);
  }
}

/* Home: lead photo ~half the text column. No fixed aspect-ratio — a square box + object-fit:contain
   was shrinking non-square portraits inside a letterboxed strip. */
.post-body--home-lead img.home-lead__photo {
  float: right;
  box-sizing: border-box;
  width: 50%;
  max-width: min(50%, 430px);
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  margin: 0.15rem 0 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.26);
}

/* Home: contextual photo under opening graf — half column like lead photo, float left so next heading wraps */
.post-body--home-lead img.home-lead__embed-photo {
  clear: both;
  float: left;
  box-sizing: border-box;
  width: 50%;
  max-width: min(50%, 430px);
  height: auto;
  margin: 0.65rem 1.1rem 0.75rem 0;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
}

/* Home: full-width image in the article column (e.g. Ninety Six photo after intro blockquote) */
.post-body--home-lead img.home-fullwidth-photo {
  clear: both;
  float: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0.85rem 0 1rem;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* Home: audience panels — clear split between property owners and archaeology */
.post-body--home-lead .home-audience {
  clear: both;
  margin: 1.5rem 0;
  padding: 1.25rem 1.3rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-sizing: border-box;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.post-body--home-lead .home-audience--owners {
  margin-top: 1.25rem;
  border-left: 4px solid var(--accent-orange);
  background: linear-gradient(
    165deg,
    rgba(var(--accent-orange-rgb), 0.09) 0%,
    var(--bg-elevated) 42%
  );
}

.post-body--home-lead .home-audience--archaeology {
  border-left: 4px solid var(--action-blue);
  background: linear-gradient(
    165deg,
    rgba(var(--action-blue-rgb), 0.08) 0%,
    var(--bg-elevated) 42%
  );
}

.post-body--home-lead .home-audience > h3:first-of-type {
  margin-top: 0;
}

/* Home: lost-jewelry CTA — bordered box with photo + copy */
.post-body--home-lead .home-lost-jewelry {
  clear: both;
  margin: 1.75rem 0 0.5rem;
}

.post-body--home-lead .home-lost-jewelry__box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 1.5rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 4px solid var(--accent-orange);
  background: linear-gradient(
    165deg,
    rgba(var(--accent-orange-rgb), 0.1) 0%,
    var(--bg-elevated) 45%
  );
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.post-body--home-lead .home-lost-jewelry__photo {
  flex: 0 0 auto;
  width: min(42%, 220px);
  max-width: 220px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
}

.post-body--home-lead .home-lost-jewelry__body {
  flex: 1 1 16rem;
  min-width: min(100%, 12rem);
}

.post-body--home-lead .home-lost-jewelry__title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-heading-bright);
}

.post-body--home-lead .home-lost-jewelry__text {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

.post-body--home-lead .home-lost-jewelry__text a {
  color: var(--link);
}

.post-body--home-lead .home-lost-jewelry__text a:hover {
  color: var(--link-hover);
}

.post-body--home-lead .home-lost-jewelry .btn-action-blue {
  margin-top: 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  padding: 0.65rem 1.35rem;
  letter-spacing: 0.03em;
  border-radius: 8px;
}

@media (max-width: 520px) {
  .post-body--home-lead .home-lost-jewelry__box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .post-body--home-lead .home-lost-jewelry__photo {
    width: min(200px, 72%);
    max-width: 200px;
  }
}

/* When Ninety Six (etc.) embed precedes audience panel, let heading + copy run beside the image */
.post-body--home-lead .home-page-scope > img.home-lead__embed-photo + .home-audience > h3:first-of-type,
.post-body--home-lead .home-page-scope > img.home-lead__embed-photo + h3 {
  clear: none;
  margin-top: 0.55rem;
}

.post-body--home-lead > h2:first-of-type {
  clear: both;
  margin-top: 1.75rem;
}

@media (max-width: 480px) {
  .post-body--home-lead img.home-lead__photo {
    float: none;
    display: block;
    width: min(88%, 320px);
    max-width: 320px;
    margin: 0 auto 1rem;
  }

  .post-body--home-lead img.home-lead__embed-photo {
    float: none;
    display: block;
    width: min(88%, 320px);
    max-width: 320px;
    margin: 0.65rem auto 0.75rem;
  }

  .post-body--home-lead .home-page-scope > img.home-lead__embed-photo + .home-audience > h3:first-of-type,
  .post-body--home-lead .home-page-scope > img.home-lead__embed-photo + h3 {
    clear: both;
    margin-top: 0.65rem;
  }

  .post-body--home-lead .home-audience--owners {
    margin-top: 0.65rem;
  }

  .post-body--home-lead > h2:first-of-type {
    margin-top: 0.5rem;
  }
}

/* Jargon glossary: headwords match live detecting.us markup (<strong class="jargon-term">) */
.post--glossary .post-body .jargon-term {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.08em;
  color: var(--text-heading-bright);
  letter-spacing: 0.02em;
}

.post--glossary .post-body {
  /* Reduce eye travel for long lists */
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* Give each definition a readable “card” block */
.post--glossary .post-body #glossary-entries ~ p {
  margin: 0.65rem 0;
  padding: 0.7rem 0.85rem;
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.post--glossary .post-body #glossary-entries ~ p:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(var(--accent-orange-rgb), 0.22);
}

.post--glossary .post-body #glossary-entries ~ p a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.post--glossary .post-body img.alignright {
  float: right;
  margin: 0 0 1rem 1.25rem;
  max-width: 38%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Ensure the glossary returns to full-width after media callouts */
.post--glossary .post-body p.glossary-media + p {
  clear: both;
}

@media (max-width: 640px) {
  .post--glossary .post-body {
    max-width: none;
  }

  .post--glossary .post-body img.alignright {
    float: none;
    display: block;
    max-width: 260px;
    margin: 0 auto 0.75rem;
  }
}

/* KY laws page: tall hero + dense Q&A — don't float hero (avoids lede + first .law-qa colliding in a narrow column) */
@media screen and (min-width: 769px) {
  .post--ky-laws .post-body > .post-hero {
    float: none;
    clear: both;
    width: 100%;
    max-width: min(40rem, 100%);
    margin: 0.35rem auto 1.2rem;
  }

  .post--ky-laws .post-body > .post-hero .post-hero__img {
    max-height: min(50vh, 420px);
    object-position: center;
  }
}

/* KY laws page: Q&A boxes + status chips */
.post--ky-laws .post-body .law-qa {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.post--ky-laws .post-body .law-qa--nested {
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.07);
}

.post--ky-laws .post-body .law-qa > h2,
.post--ky-laws .post-body .law-qa > h3 {
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.01em;
  border: 0;
  background: none;
  border-radius: 0;
}

.post--ky-laws .post-body .law-qa > h2 + p.law-status,
.post--ky-laws .post-body .law-qa > h3 + p.law-status {
  margin-top: 0.35rem;
}

.post--ky-laws .post-body .law-qa--nested > h3 {
  font-size: 1.02rem;
  margin: 0 0 0.45rem;
}

.post--ky-laws .post-body .law-qa__answer {
  margin-top: 0.75rem;
}

.post--ky-laws .post-body .law-qa__answer > p:first-child {
  margin-top: 0;
}

.post--ky-laws .post-body .law-qa__answer > p:last-child {
  margin-bottom: 0;
}

.post--ky-laws .post-body .law-qa__lead {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.post--ky-laws .post-body p.law-status {
  display: inline-block;
  max-width: 100%;
  margin: 0.4rem 0 0.85rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: normal;
  text-wrap: balance;
}

.post--ky-laws .post-body p.law-status--no {
  color: #ffd9d9;
  background: rgba(181, 47, 47, 0.28);
  border: 1px solid rgba(242, 84, 84, 0.5);
}

.post--ky-laws .post-body p.law-status--yes {
  color: #d9ffe8;
  background: rgba(42, 130, 77, 0.3);
  border: 1px solid rgba(93, 207, 133, 0.5);
}

.post--ky-laws .post-body p.law-status--neutral {
  color: #ece8df;
  background: rgba(120, 118, 110, 0.25);
  border: 1px solid rgba(173, 169, 156, 0.42);
}

/* QR / deck landing: stacked outbound links (e.g. /links/) */
.post-body .link-hub {
  margin: 1.35rem 0 0;
}

.post-body .link-hub__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: min(28rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-body .link-hub__list > li {
  margin: 0;
  padding: 0;
}

.post-body .link-hub__list a.btn-action-blue {
  display: block;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
  text-align: center;
}

/* Lost ring / rental-intercept guide: spaced image blocks, gallery grid */
.post--lost-ring .post-body hr {
  margin: 1.85rem 0;
}

.post--lost-ring .post-body p:has(> img:only-of-type),
.post--lost-ring .post-body p:has(> a:only-of-type > img:only-of-type) {
  margin-top: 1.35rem;
  margin-bottom: 1.35rem;
}

.post--lost-ring .post-body p:has(> img:only-of-type) > img,
.post--lost-ring .post-body p:has(> a:only-of-type > img:only-of-type) > a > img {
  margin-top: 0;
  margin-bottom: 0;
}

.post--lost-ring .post-body p:has(> img:only-of-type) + p,
.post--lost-ring .post-body p:has(> a:only-of-type > img:only-of-type) + p {
  margin-top: 0.35rem;
}

.post--lost-ring .post-body p:has(> img:only-of-type) + p:has(> em:only-of-type),
.post--lost-ring .post-body p:has(> a:only-of-type > img:only-of-type) + p:has(> em:only-of-type) {
  margin-bottom: 1.35rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.post--lost-ring .lost-ring-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 12px 14px;
  margin: 2rem 0 0;
  padding: 1.1rem 1.15rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-sizing: border-box;
}

.post--lost-ring .lost-ring-gallery img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  border-radius: 6px;
}

@media (max-width: 520px) {
  .post--lost-ring .lost-ring-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0.85rem 0.75rem 1rem;
  }
}

/* Guides: Symptom → Fix → Reason (ASCII flow) */
.post-body pre.flow {
  margin: 1rem 0 1.35rem;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: auto;
  line-height: 1.6;
  color: var(--text);
}

.post-body pre.flow code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
  color: inherit;
}

/* Flat hub-link navigation: keep desktop nav in one line. */
@media (min-width: 761px) {
  .site-header {
    flex-wrap: nowrap;
  }

  nav.main-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  nav.main-nav .main-nav__list {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
  }

  nav.main-nav a,
  nav.main-nav a.btn-contact.main-nav__cta,
  nav.main-nav a.btn-action-blue.main-nav__cta {
    font-size: 17px;
    line-height: 1.7;
    white-space: nowrap;
    padding: 7px 9px;
  }
}

/* Mid-width desktop: keep nav readable without clipping when many items are nowrap */
@media (min-width: 761px) and (max-width: 1180px) {
  nav.main-nav .main-nav__list {
    gap: 4px;
  }

  nav.main-nav a,
  nav.main-nav a.btn-contact.main-nav__cta,
  nav.main-nav a.btn-action-blue.main-nav__cta {
    font-size: 15px;
    line-height: 1.35;
    padding: 6px 8px;
  }
}

/* Desktop nav micro-spacing: add ~25% more space between "Fun" and "Lost Item?" only. */
@media (min-width: 761px) {
  nav.main-nav .main-nav__list > li:has(> a.btn-action-blue.main-nav__cta) {
    margin-left: 1.5px;
  }
}

/* Guaranteed home-only backdrop and panel styling (driven by home.md wrapper). */
.home-page-scope {
  position: relative;
  z-index: 0;
}

.home-page-scope > *:not(.home-page-bg) {
  position: relative;
  z-index: 1;
}

/* Decorative full-viewport layer from home.md; keep empty while home photo is off. */
.home-page-scope .home-page-bg {
  display: none;
}

.home-page-scope .credentials-block {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16) !important;
}

.home-page-scope .credentials-block__link {
  background: rgba(255, 255, 255, 0.99) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

.home-page-scope .credentials-block__link:hover,
.home-page-scope .credentials-block__link:focus-visible {
  background: #fff !important;
}

.home-page-scope .credentials-block__link img,
.home-page-scope .credentials-block__link img.credentials-block__img--on-dark {
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.55rem !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset !important;
}

/* Deterministic home targeting: article for Link:/ renders data-schema-url="/" */
body:has(article[data-schema-url="/"]) {
  background-image:
    linear-gradient(to bottom, rgba(var(--accent-orange-rgb), 0.1) 0%, rgba(var(--accent-orange-rgb), 0.03) 14%, transparent 34%),
    radial-gradient(1100px 380px at 8% -8%, rgba(var(--accent-orange-rgb), 0.12), transparent 46%),
    radial-gradient(880px 300px at 96% -4%, rgba(122, 155, 124, 0.07), transparent 44%);
  background-repeat: no-repeat;
}

/* Home credentials cards: force white panel tiles and white logo plates */
body:has(article[data-schema-url="/"]) .credentials-block__link {
  background: rgba(255, 255, 255, 0.99) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

body:has(article[data-schema-url="/"]) .credentials-block__link:hover,
body:has(article[data-schema-url="/"]) .credentials-block__link:focus-visible {
  background: #fff !important;
}

body:has(article[data-schema-url="/"]) .credentials-block__link img,
body:has(article[data-schema-url="/"]) .credentials-block__link img.credentials-block__img--on-dark {
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.55rem !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset !important;
}

/* Home H1: high-contrast; Inter for clearer display lettering on the hero title. */
article[data-schema-url="/"] h1.p-name,
.home-page-scope h1.p-name {
  color: #ffffff !important;
  opacity: 1 !important;
  font-family: var(--font-h1) !important;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2 !important;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.82),
    0 1px 0 rgba(0, 0, 0, 0.65),
    0 0 1px rgba(255, 255, 255, 0.32);
  -webkit-text-stroke: 0.35px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Typography — Poppins body/subheads; Inter H1; ABeeZee quotes
   --------------------------------------------------------------------------
   Keep these rules near EOF so they win over earlier legacy declarations.
   ========================================================================== */
:root {
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-h1: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-quote: "ABeeZee", Georgia, "Times New Roman", serif;

  /* Body + heading steps — bumped one level (Jun 2026 readability pass). */
  --step-body: 1.125rem;
  --step-small: 0.875rem;
  /* Article titles: strong but not hero-banner huge (was hitting ~43px on wide screens). */
  --step-h1: clamp(1.875rem, 2.5vw, 2.35rem);
  /* Section headings sat within a few px of h1, so every section read like a new article.
     Stepped down so h1 > h2 > h3 > h4 > body is visible at a glance (Sep 2026). */
  --step-h2: clamp(1.45rem, 1.9vw, 1.75rem);
  --step-h3: clamp(1.25rem, 1.55vw, 1.4rem);
  --step-h4: clamp(1.125rem, 1.3vw, 1.2rem);
}

body,
p,
li,
input,
textarea,
select,
button {
  font-family: var(--font-body);
}

body {
  font-size: var(--step-body);
  line-height: 1.7;
  letter-spacing: normal;
}

h2, h3, h4, h5, h6,
.post-list__title,
.template-listing__title {
  font-family: var(--font-heading);
  color: var(--text-heading-bright);
}

h1,
.post .p-name,
.profile .title-block header.h-card .p-name {
  font-family: var(--font-h1);
  color: var(--text-heading-bright);
}

h1 {
  font-size: var(--step-h1);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h2 {
  font-size: var(--step-h2);
  line-height: 1.2;
  letter-spacing: normal;
  font-weight: 700;
}

h3 {
  font-size: var(--step-h3);
  line-height: 1.2;
  letter-spacing: normal;
  font-weight: 700;
}

h4, h5, h6 {
  font-size: var(--step-h4);
  line-height: 1.2;
  letter-spacing: normal;
  font-weight: 700;
}

.post-body blockquote {
  clear: both;
}

.post-body blockquote,
.post-body blockquote p {
  font-family: var(--font-quote);
  line-height: 1.7;
  letter-spacing: normal;
}

.post-body p,
.post-body li {
  font-size: var(--step-body);
  line-height: 1.7;
  letter-spacing: normal;
}

/* Navigation + utility text remain sans and slightly compact. */
nav.main-nav,
nav.main-nav a,
nav.main-nav .main-nav__parent-label,
nav.main-nav .main-nav__sub a,
.breadcrumbs,
.article-meta,
.article-byline,
.dates,
.site-footer,
.site-footer__nav,
.site-footer__copy {
  font-family: var(--font-body);
  letter-spacing: normal;
}

nav.main-nav a,
nav.main-nav .main-nav__parent-label {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

nav.main-nav .main-nav__sub a {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

nav.main-nav a.btn-contact.main-nav__cta,
nav.main-nav a.btn-action-blue.main-nav__cta {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.article-meta,
.article-byline,
.dates,
.breadcrumbs {
  font-size: var(--step-small);
}

.profile .title-block header.h-card .p-name {
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: normal;
}

/* --------------------------------------------------------------------------
   Headlines: win over any stale Blot/Cloudflare copy of old CSS (Source Serif).
   If DevTools still shows the wrong font-family, hard-refresh or purge CDN.
   -------------------------------------------------------------------------- */
article.post header h1.p-name,
.post header h1.p-name,
article h1.p-name,
h1.p-name {
  font-family: var(--font-h1) !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
