/* The rebuilt blog (public/site/blog -> render.ts) on the original WordPress theme (style.css: "far-away-10", as captured
   from blog.ekoloko.co.il): only what the static rebuild needs on top of it. */
.archive-list li { margin: 4px 0; direction: rtl; text-align: right; }
.pagetitle { text-align: right; }
#sidebar ul ul li { direction: rtl; text-align: right; }
.post[dir="rtl"] .entry, .post[dir="rtl"] .post-head { text-align: right; }
.entry img { max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid #ff9800; outline-offset: 2px; }
/* modern screens: the whole page zoomed (site.js sets --bz from the window: 1-1.6, ~1230 px wide on a 1920 screen; the
   media queries are the no-script fallback), so the original layout, art and text read like they did on a 2010 screen;
   plus floors for the small print and a line height that suits Hebrew */
:root { --bz: 1; }
@media (min-width: 1280px) { :root { --bz: 1.1; } }
@media (min-width: 1600px) { :root { --bz: 1.35; } }
@media (min-width: 1880px) { :root { --bz: 1.6; } }
/* the theme's pictures (render.ts BLOG_THEME): each through --t-<slot>, which a picture replaced in the studio (עיצוב הבלוג)
   overrides on <html style>; drawn at the original's size in CSS px, so a 2x picture lays out exactly the same, sharper */
/* Hebrew always in one sans face (owner 11-12: the menu tabs fell back to a serif Hebrew): the theme's fonts (Verdana,
   Georgia, Trebuchet, Century Gothic) have no Hebrew, so a device without Arial picked its own fallback. "EkoHebrew"
   covers the Hebrew letters only (unicode-range: Latin keeps the theme's faces): the device's Arial / Arial Hebrew when it
   has one (the look the blog had on Windows), else Arimo - Arial's metric twin, self-hosted, Hebrew subset, 11 KB WOFF2
   (fonts/arimo-hebrew.woff2, SIL OFL: fonts/arimo-OFL.txt). */
@font-face {
  font-family: 'EkoHebrew'; font-style: normal; font-weight: 400; font-display: swap;
  src: local('Arial'), local('ArialMT'), local('Arial Hebrew'), local('ArialHebrew'), url(fonts/arimo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'EkoHebrew'; font-style: normal; font-weight: 700; font-display: swap;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial Hebrew Bold'), local('ArialHebrew-Bold'), url(fonts/arimo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
:root {
  --t-body-bg: url(images/body-bg.jpg);
  --t-page-top-bg: url(images/page-top-bg.jpg);
  --t-vertical-line: url(images/vertical-line.jpg);
  --t-post-divider: url(images/post-divider.jpg);
  --t-pagemenu-inactive-bg: url(images/pagemenu-inactive-bg.jpg);
  --t-pagemenu-active-bg: url(images/pagemenu-active-bg.jpg);
  --t-calendar-icon: url(images/calendar-icon.gif);
  --t-category-icon: url(images/category-icon.jpg);
  --t-sidebar-list-icon: url(images/sidebar-list-icon.gif);
  --t-blockquote-bg: url(images/blockquote-bg.jpg);
  --t-rss-icon: url(images/rss-icon.jpg);
  --t-comment-post-icon: url(images/comment-post-icon.gif);
}
html { zoom: var(--bz); background: #ACD940 var(--t-body-bg) no-repeat center top; }
/* (the root's own background is not zoomed with it: sized to match, so the cream top of the art meets the page) */
html { background-size: 1474px auto; }
body { background: none; }
body { font-size: 14px; }
.post { font-size: 15px; }
.entry { line-height: 1.65; }
.entry p { margin: 0 0 .8em; }
#sidebar, #sidebar ul ul li { font-size: 14px; line-height: 1.5; }
small, .postmetadata, #footer { font-size: 12px; }
.postmetadata { height: auto; min-height: 28px; line-height: 1.8; }
.entry img { image-rendering: auto; }
/* ---- right-to-left (owner 2026-11-12): the blog reads as Hebrew. The columns stay where the original theme put them
   (posts on the left, the sidebar on the right: physical floats), everything inside reads right-to-left: text on the
   right, list markers and icons on the right, mixed Hebrew / Latin isolated. ---- */
body.blog { direction: rtl; }
#page, #content, #sidebar, .post, .post-head, .entry, h1, h2, h2.pagetitle, #header #headerimg .description, .postmetadata,
.narrowcolumn .postmetadata, #footer, #wp-calendar td { text-align: right; }
.post-head { float: right; }
.post-head h2, .post-head h2 a { unicode-bidi: plaintext; }
.entry p, .entry li, .entry div, .entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6, .entry td, .entry th, .entry blockquote { unicode-bidi: plaintext; }
.date { float: none; display: inline-block; padding: 0 20px 0 0; background-position: right center; direction: rtl; }
.author { margin-right: 10px; }
.category-icon { background-position: right center; padding: 5px 20px 5px 5px; }
.postmetadata { clear: both; }
html>body .entry ul { padding: 0 30px 0 0; }
html>body .entry ol { padding: 0 30px 0 0; }
#sidebar ul ul, #sidebar ul ol { margin: 5px 3px 0 0; }
#sidebar ul ul li, #sidebar ul ol li { margin: 0 25px 0 10px; padding: 0 15px 0 0; background-position: right center; }
#sidebar h2 { padding: 0 0 0 10px; text-align: right; }
#sidebar li a { unicode-bidi: isolate; }
#sidebar li { direction: rtl; }
.archive-list { padding: 0 22px 0 0; margin: 8px 0; }
.archive-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 6px 0; }
.archive-list li a { unicode-bidi: isolate; }
.archive-list li .date { flex: none; white-space: nowrap; color: #58540e; }
/* long titles wrap inside their column, never run out of it (owner 11-12, "השבוע שהיה"): the title takes the room the
   date leaves and may break anywhere it must; a sidebar item that wraps keeps its bullet on its first line (hanging) */
.archive-list li a { flex: 1 1 auto; min-width: 0; }
#content li, #sidebar li, #sidebar li a, .post-head h2, h2.pagetitle { overflow-wrap: anywhere; }
#sidebar ul ul li, #sidebar ul ol li { background-position: right 0 top 0.45em; }
h2.pagetitle { padding-right: 8px; }
.navigation { direction: rtl; overflow: hidden; }
.navigation a { unicode-bidi: isolate; }
#headerimg h1, h1 { text-align: left; }   /* the blog name sits where the original put it, over the header art */
#menu-bar { direction: ltr; }
.pagenav ul li a, .pagenav-home ul li a { direction: rtl; }

/* phones: the 770 px theme in one column */
@media (max-width: 800px) {
  html, body { overflow-x: hidden; }
  .entry, .post-head h2, .navigation { overflow-wrap: anywhere; }
  #headerimg h1 { margin-top: 20px !important; }
  #menu-bar { float: none; height: auto; display: flex; flex-wrap: wrap; }
  #menu-bar ul, #menu-bar li { float: none !important; display: inline-block; width: auto !important; position: static !important; }
  body { width: auto; background-size: 800px auto; }
  #content, #sidebar { float: none !important; width: auto !important; margin: 0 !important; padding: 8px 12px !important; }
  #headerimg h1 { font-size: 20px; }
  #body_wrap, #header, #headerimg, #page, #page-top, #page-body, #footer, #menu-bar { width: auto !important; }
  #page-top { display: none; }
  .post, .entry { font-size: 16px; }
  .post { margin-right: 0; }
  .post-head, .postmetadata, .navigation, .navigation div { width: auto !important; float: none !important; }
  .navigation div { margin: 4px 0; }
  .post-head h2 { font-size: 19px; line-height: 1.35; }
  #sidebar, #sidebar ul ul li { font-size: 15px; }
  small, .postmetadata, #footer { font-size: 13px; }
}
