/* Editorial — Tailwind CSS v4 theme, Hebrew / RTL.
   Put this in your main CSS file (instead of a bare @import "tailwindcss").
   In RTL use logical utilities: ms-* me-* ps-* pe-* start-* end-* text-start text-end. */
@import url("https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@500;700;900&family=David+Libre:wght@400;500;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #F6F1E7;
  --color-surface: #FFFDF8;
  --color-surface-2: #EDE5D3;
  --color-fg: #1C1917;
  --color-muted: #57534E;
  --color-primary: #1C1917;
  --color-on-primary: #F6F1E7;
  --color-accent: #B4441F;
  --color-on-accent: #FFFFFF;
  --color-line: #1C1917;
  --color-success: #3F6212;
  --color-warning: #92400E;
  --color-danger: #9F1239;

  --font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-sans: "David Libre", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "David Libre", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 97px;
  --text-h1: 69px;
  --text-h2: 49px;
  --text-h3: 35px;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-button: 0px;
  --radius-input: 0px;

  --shadow-card: none;
  --shadow-raised: none;
  --shadow-button: none;
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-sans);
    line-height: 1.7;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.05;
  }
  :focus-visible { outline: 3px solid #1C1917; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[1px] border-line rounded-lg shadow-card p-6
   button:  bg-primary text-on-primary rounded-button shadow-button px-5 min-h-11 font-semibold border-[1px] border-fg
   input:   bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
