:root {
    --color-primary: #2563eb;
    --color-text: #172033;
    --color-muted: #64748b;
    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --container-width: 1200px;
    --radius: 16px;
    --shadow: 0 12px 32px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-background);
}
img { max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container-width)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.content-section { padding-block: 48px; }
.section-heading { margin-bottom: 28px; }
.section-heading h1, .entry-header h1 { margin-top: 0; }
.button, button.button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border: 0; border-radius: 10px;
    color: #fff; background: var(--color-primary); cursor: pointer;
}
.eyebrow { color: var(--color-primary); font-weight: 700; }
.entry-meta { color: var(--color-muted); font-size: .9rem; }
.entry-content { overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.post-card__image, .post-card__image img { display: block; width: 100%; }
.post-card__image img { aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__title { margin: 0 0 8px; font-size: 1.2rem; }
.post-card__title a { color: inherit; }
.text-link { font-weight: 700; }
.entry-thumbnail img { width: 100%; border-radius: var(--radius); }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-field { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
.search-submit { border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; background: var(--color-primary); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100%; max-width: none; }
