/* Hebrew text: no letter-spacing, clean Hebrew-capable font */
.he-ls0,.he-ls0 *{letter-spacing:0!important;text-transform:none!important}
.simcard-k,.about .kick,.kick,dt.he-ls0,b.he-ls0,small.he-ls0{font-family:Rubik,"Varela Round","Noto Sans Hebrew",Arial,sans-serif}
.simcard-k.he-ls0{font-size:13px;font-weight:500}

nav a[href="/emergency/"]::before{content:"";display:inline-block;width:1.05em;height:1.05em;margin-inline-end:.4em;vertical-align:-.14em;background:#ff7a63;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8l7.2 2.8v5.4c0 4.9-3.1 8.1-7.2 10.2-4.1-2.1-7.2-5.3-7.2-10.2V5.6z'/><path d='M8.6 12.2l2.4 2.4 4.6-4.9'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8l7.2 2.8v5.4c0 4.9-3.1 8.1-7.2 10.2-4.1-2.1-7.2-5.3-7.2-10.2V5.6z'/><path d='M8.6 12.2l2.4 2.4 4.6-4.9'/></svg>") center/contain no-repeat}

nav a[href="/emergency/"]{position:relative;color:#f3ecdc!important;background:rgba(196,70,50,.18);border:1px solid rgba(255,122,99,.55);border-radius:999px;padding:3px 11px!important;font-weight:500}
nav a[href="/emergency/"]:hover,nav a[href="/emergency/"]:focus-visible{background:rgba(196,70,50,.32)}
nav a[href="/emergency/"]::after{content:"";position:absolute;top:-2px;inset-inline-start:-2px;width:7px;height:7px;border-radius:50%;background:#ff4d3a;box-shadow:0 0 0 0 rgba(255,77,58,.6)}
@media(prefers-reduced-motion:no-preference){nav a[href="/emergency/"]::after{animation:emg-pulse 2.6s ease-out infinite}}
@keyframes emg-pulse{0%{box-shadow:0 0 0 0 rgba(255,77,58,.55)}70%,100%{box-shadow:0 0 0 7px rgba(255,77,58,0)}}
html.a11y-calm nav a[href="/emergency/"]::after{animation:none!important}

/* mobile top nav: compact wrap */
@media(max-width:719px){
 .site-top{flex-wrap:wrap;align-items:center;padding:8px 16px 4px;gap:0 12px;overflow-x:clip}
 .topright{display:contents}
 .site-top .brand{order:1;margin-inline-end:auto}
 .lang-switch{order:2}
 .lang-switch button{min-height:34px;min-width:44px;padding:4px 9px}
 .topnav{order:3;flex:1 1 100%;flex-wrap:wrap!important;white-space:normal!important;gap:0 11px!important;min-width:0;justify-content:flex-start}
 .topnav a{min-height:30px;font-size:12.5px;padding:3px 1px}
}

/* wordmark: SHAHAR PAYNE + red dot (logo option 1) */
header .brand,header>a:first-child[href="/"]{direction:ltr;unicode-bidi:isolate;font-family:Rubik,Arial,sans-serif;font-weight:800;letter-spacing:.14em;color:#efe3c8;font-size:15px;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:baseline}
header .brand:before{display:none}
header .brand:after,header>a:first-child[href="/"]:after{content:"";display:inline-block;width:.5em;height:.5em;border-radius:50%;background:#d63a2f;margin-inline-start:.22em;flex:none}

/* cork board behind the notes on the home page (was nearly black stripes) */
.iboard-inner{border:12px solid #4b3322!important;border-radius:12px!important;background-color:#b78a5a!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .22 0 0 0 0 .1 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23a)'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='turbulence' baseFrequency='.045' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .62 0 0 0 0 .38 0 0 0 .8 -.15'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23b)'/%3E%3C/svg%3E")!important;box-shadow:inset 0 0 50px #3a22108c,0 12px 32px #000a!important}
.inote.profile{cursor:pointer}
.inote.profile:focus-visible{outline:3px solid #ffd166;outline-offset:3px}
.inote.profile{position:relative;z-index:5}
.inote.profile a{position:relative;z-index:6}
