/*
Theme Name: Eventory
Theme URI: https://eventory.ma
Description: Eventory brand child theme for eventory.ma. Palette, typography and multilingual type handling from the Eventory visual identity guide.
Author: Eventory
Template: blocksy
Version: 1.0.0
Text Domain: eventory
*/

:root {
  --ev-olive: #686B3F;
  --ev-sage: #919D62;
  --ev-rose: #BA8783;
  --ev-cream: #F8F2E4;
  --ev-ink: #2E2E24;
  --ev-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ev-body: 'Montserrat', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--ev-cream);
  color: var(--ev-ink);
  font-family: var(--ev-body);
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.ev-display {
  font-family: var(--ev-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ev-olive);
}

a { color: var(--ev-olive); }
a:hover { color: var(--ev-sage); }

.wp-block-button__link,
.ev-btn {
  background-color: var(--ev-olive);
  color: var(--ev-cream);
  border-radius: 2px;
  font-family: var(--ev-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.95em 2.2em;
  transition: background-color 0.2s ease;
}
.wp-block-button__link:hover,
.ev-btn:hover { background-color: var(--ev-sage); color: var(--ev-cream); }

.is-style-outline > .wp-block-button__link {
  background-color: transparent;
  color: var(--ev-olive);
  border: 1px solid var(--ev-olive);
}

.ev-accent { color: var(--ev-rose); }

/* Arabic and Darija: naskh display, taller lines */
body.lang-ar, body.lang-ary { font-family: 'IBM Plex Sans Arabic', var(--ev-body); line-height: 1.95; }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4,
body.lang-ary h1, body.lang-ary h2, body.lang-ary h3, body.lang-ary h4 {
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  line-height: 1.45;
  letter-spacing: 0;
}

/* Tamazight: Tifinagh, left to right */
body.lang-zgh, body.lang-zgh h1, body.lang-zgh h2, body.lang-zgh h3, body.lang-zgh h4 {
  font-family: 'Noto Sans Tifinagh', var(--ev-body);
  letter-spacing: 0.02em;
}

/* The feather motif replaces floral or generic dividers */
.ev-feather-divider {
  display: block;
  width: 28px;
  height: 64px;
  margin: 2.5rem auto;
  opacity: 0.6;
}