/* ==========================================================================
   FOOD MAROC — Design System
   Signature: the zellige eight-point star (khatem) used as mask, rule and mark.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --fm-ink:        #171412;
  --fm-ink-2:      #262019;
  --fm-ink-60:     rgba(23, 20, 18, .62);
  --fm-ink-30:     rgba(23, 20, 18, .28);
  --fm-paper:      #F7F1E6;
  --fm-sand:       #E8D8BE;
  --fm-terracotta: #B85C38;
  --fm-red:        #8E2F23;
  --fm-saffron:    #D99A25;
  --fm-olive:      #62613A;
  --fm-line:       rgba(23, 20, 18, .14);
  --fm-line-dark:  rgba(247, 241, 230, .18);

  /* Type */
  --fm-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --fm-body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fm-arabic:  "Cairo", "Karla", sans-serif;

  --fm-t-hero:  clamp(2.75rem, 7.5vw, 6.25rem);
  --fm-t-h1:    clamp(2.25rem, 5vw, 4rem);
  --fm-t-h2:    clamp(1.75rem, 3.6vw, 2.9rem);
  --fm-t-h3:    clamp(1.3rem, 2.2vw, 1.7rem);
  --fm-t-lead:  clamp(1.05rem, 1.5vw, 1.3rem);
  --fm-t-body:  1.0625rem;
  --fm-t-small: .875rem;
  --fm-t-label: .72rem;

  /* Space */
  --fm-s1: .5rem;   --fm-s2: 1rem;    --fm-s3: 1.5rem;
  --fm-s4: 2.5rem;  --fm-s5: 4rem;    --fm-s6: 6rem;
  --fm-s7: clamp(4rem, 10vw, 9rem);

  /* Layout */
  --fm-max:   1320px;
  --fm-text:  68ch;
  --fm-gutter: clamp(1.15rem, 4vw, 3.5rem);

  /* Motion */
  --fm-ease: cubic-bezier(.2, .7, .2, 1);
  --fm-dur:  .55s;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--fm-paper);
  color: var(--fm-ink);
  font-family: var(--fm-body);
  font-size: var(--fm-t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding-inline-start: 1.2em; }

:focus-visible {
  outline: 3px solid var(--fm-terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

.fm-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--fm-ink); color: var(--fm-paper); padding: .8rem 1.2rem;
}
.fm-skip:focus { left: 0; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--fm-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
h1 { font-size: var(--fm-t-h1); }
h2 { font-size: var(--fm-t-h2); }
h3 { font-size: var(--fm-t-h3); line-height: 1.2; }

.fm-label {
  font-family: var(--fm-body);
  font-size: var(--fm-t-label);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fm-terracotta);
}
.fm-lead { font-size: var(--fm-t-lead); line-height: 1.55; color: var(--fm-ink-60); }
.fm-serif-em { font-style: italic; font-variation-settings: "SOFT" 60, "WONK" 1; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.fm-wrap { width: 100%; max-width: var(--fm-max); margin-inline: auto; padding-inline: var(--fm-gutter); }
.fm-narrow { max-width: var(--fm-text); }
.fm-section { padding-block: var(--fm-s7); }
.fm-section--tight { padding-block: var(--fm-s5); }
.fm-dark { background: var(--fm-ink); color: var(--fm-paper); }
.fm-dark .fm-lead { color: rgba(247, 241, 230, .68); }
.fm-dark .fm-label { color: var(--fm-saffron); }
.fm-sand { background: var(--fm-sand); }

.fm-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--fm-s3);
  margin-bottom: var(--fm-s4);
}
.fm-head p { max-width: 46ch; }

/* --------------------------------------------------------------------------
   5. Signature — the zellige star
   -------------------------------------------------------------------------- */
.fm-star {
  width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: var(--fm-star-svg) center / contain no-repeat;
          mask: var(--fm-star-svg) center / contain no-repeat;
}
:root {
  --fm-star-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 61 25 88 14 77 41l27 9-27 9 11 27-27-11-11 25-11-25-27 11 11-27-27-9 27-9L13 14l27 11z' transform='translate(-2)'/%3E%3C/svg%3E");
}

/* Star rule: a hairline broken by a star. Used between sections. */
.fm-rule {
  display: flex; align-items: center; gap: var(--fm-s2);
  color: var(--fm-terracotta);
  margin-block: var(--fm-s4);
}
.fm-rule::before, .fm-rule::after {
  content: ""; height: 1px; flex: 1; background: var(--fm-line);
}
.fm-dark .fm-rule::before, .fm-dark .fm-rule::after { background: var(--fm-line-dark); }
.fm-rule .fm-star { font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.fm-btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.7em;
  font-size: var(--fm-t-label); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: var(--fm-terracotta); color: var(--fm-paper);
  border: 1px solid var(--fm-terracotta); border-radius: 999px;
  cursor: pointer;
  transition: background var(--fm-dur) var(--fm-ease), color var(--fm-dur) var(--fm-ease), transform .25s var(--fm-ease);
}
.fm-btn:hover { background: var(--fm-red); border-color: var(--fm-red); transform: translateY(-2px); }
.fm-btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.fm-btn--ghost:hover { background: currentColor; color: var(--fm-ink); transform: translateY(-2px); }
.fm-dark .fm-btn--ghost:hover { color: var(--fm-ink); }

/* Animated underline link */
.fm-ul {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .4s var(--fm-ease);
}
.fm-ul:hover, .fm-ul:focus-visible { background-size: 100% 1px; }

/* --------------------------------------------------------------------------
   7. Site header
   -------------------------------------------------------------------------- */
.fm-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--fm-paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fm-line);
}
.fm-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--fm-s3); min-height: 68px;
}
.fm-brand {
  font-family: var(--fm-display); font-size: 1.32rem; font-weight: 600;
  letter-spacing: -.01em; text-decoration: none; line-height: 1;
  display: inline-flex; align-items: baseline; gap: .45rem;
}
.fm-brand span { color: var(--fm-terracotta); }

.fm-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.fm-nav a {
  font-size: var(--fm-t-small); font-weight: 600; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
}
.fm-nav a:hover { color: var(--fm-terracotta); }
.fm-nav .current-menu-item > a { color: var(--fm-terracotta); }

.fm-burger {
  display: none; background: none; border: 0; padding: .6rem; cursor: pointer;
}
.fm-burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .3s var(--fm-ease), opacity .2s; }
.fm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .fm-burger { display: block; }
  .fm-nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--fm-paper); border-bottom: 1px solid var(--fm-line);
    max-height: 0; overflow: hidden; transition: max-height .45s var(--fm-ease);
  }
  .fm-nav[data-open="true"] { max-height: 80vh; overflow-y: auto; }
  .fm-nav ul { flex-direction: column; gap: 0; padding: var(--fm-s2) var(--fm-gutter) var(--fm-s4); }
  .fm-nav li { border-bottom: 1px solid var(--fm-line); }
  .fm-nav a { display: block; padding: 1rem 0; font-size: 1.05rem; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.fm-hero {
  position: relative;
  background: var(--fm-ink); color: var(--fm-paper);
  min-height: clamp(560px, 88vh, 900px);
  display: grid; align-items: end;
  overflow: hidden;
}
.fm-hero__media { position: absolute; inset: 0; }
.fm-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.fm-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(23,20,18,.94) 8%, rgba(23,20,18,.45) 52%, rgba(23,20,18,.72) 100%);
}
/* zellige veil — the signature, barely there */
.fm-hero__veil {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background: var(--fm-saffron);
  -webkit-mask: var(--fm-star-svg) 0 0 / 108px 108px repeat;
          mask: var(--fm-star-svg) 0 0 / 108px 108px repeat;
}
.fm-hero__inner { position: relative; z-index: 2; padding-block: var(--fm-s6) var(--fm-s5); }
.fm-hero h1 { font-size: var(--fm-t-hero); max-width: 15ch; margin-block: var(--fm-s2) var(--fm-s3); }
.fm-hero p { max-width: 52ch; color: rgba(247,241,230,.78); font-size: var(--fm-t-lead); }
.fm-hero__cta { display: flex; flex-wrap: wrap; gap: var(--fm-s2); margin-top: var(--fm-s4); }

/* --------------------------------------------------------------------------
   9. Recipe cards
   -------------------------------------------------------------------------- */
.fm-grid {
  display: grid; gap: var(--fm-s4) var(--fm-s3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.fm-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.fm-card { position: relative; display: flex; flex-direction: column; }
.fm-card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--fm-sand);
  border-radius: 3px;
}
.fm-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--fm-ease);
}
.fm-card:hover .fm-card__media img { transform: scale(1.05); }
/* star mark revealed on hover — the card echo of the signature */
.fm-card__mark {
  position: absolute; inset-inline-end: .7rem; inset-block-start: .7rem;
  width: 26px; height: 26px; color: var(--fm-paper);
  opacity: 0; transform: rotate(-25deg) scale(.7);
  transition: opacity .45s var(--fm-ease), transform .45s var(--fm-ease);
}
.fm-card:hover .fm-card__mark { opacity: .95; transform: rotate(0) scale(1); }

.fm-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-top: var(--fm-s2); font-size: var(--fm-t-label);
  letter-spacing: .14em; text-transform: uppercase; color: var(--fm-ink-60);
}
.fm-card__meta .fm-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.fm-card h3 { margin-top: .45rem; font-size: 1.28rem; }
.fm-card h3 a { text-decoration: none; }
.fm-card:hover h3 { color: var(--fm-terracotta); }
.fm-card p { margin-top: .5rem; font-size: .95rem; color: var(--fm-ink-60); }

/* Editorial feature card (first item, spans 2 cols on desktop) */
.fm-card--feature { grid-column: span 2; }
.fm-card--feature .fm-card__media { aspect-ratio: 16 / 9; }
.fm-card--feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
@media (max-width: 720px) { .fm-card--feature { grid-column: span 1; } }

/* --------------------------------------------------------------------------
   10. Dish index (Section 02) — a typographic list, not another card grid
   -------------------------------------------------------------------------- */
.fm-index { border-top: 1px solid var(--fm-line-dark); }
.fm-index__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--fm-s3);
  padding-block: clamp(1.1rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--fm-line-dark);
  text-decoration: none;
  transition: padding-inline .4s var(--fm-ease), color .3s var(--fm-ease);
}
.fm-index__row:hover { padding-inline-start: 1.1rem; color: var(--fm-saffron); }
.fm-index__name { font-family: var(--fm-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1; }
.fm-index__note { font-size: var(--fm-t-small); color: rgba(247,241,230,.6); max-width: 34ch; text-align: end; }
@media (max-width: 620px) { .fm-index__note { display: none; } }

/* --------------------------------------------------------------------------
   11. Ingredient chips
   -------------------------------------------------------------------------- */
.fm-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.fm-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border: 1px solid var(--fm-line); border-radius: 999px;
  font-size: var(--fm-t-small); text-decoration: none;
  transition: background .3s var(--fm-ease), border-color .3s var(--fm-ease);
}
.fm-chip:hover { background: var(--fm-terracotta); border-color: var(--fm-terracotta); color: var(--fm-paper); }
.fm-chip[aria-current="true"] { background: var(--fm-ink); border-color: var(--fm-ink); color: var(--fm-paper); }

/* --------------------------------------------------------------------------
   12. Single recipe
   -------------------------------------------------------------------------- */
.fm-crumbs { font-size: var(--fm-t-small); color: var(--fm-ink-60); padding-block: var(--fm-s3) 0; }
.fm-crumbs a { text-decoration: none; }
.fm-crumbs a:hover { color: var(--fm-terracotta); }
.fm-crumbs .sep { margin-inline: .5rem; opacity: .5; }

.fm-article { padding-block: var(--fm-s4) var(--fm-s6); }
.fm-article__head { max-width: 26ch; }
.fm-article h1 { margin-block: var(--fm-s2); }
.fm-article__hero { margin-block: var(--fm-s4); border-radius: 3px; overflow: hidden; }
.fm-article__hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.fm-prose { max-width: var(--fm-text); }
.fm-prose > * + * { margin-top: 1.15em; }
.fm-prose h2 { margin-top: 2.2em; }
.fm-prose h3 { margin-top: 1.8em; }
.fm-prose img { border-radius: 3px; margin-block: 1.8em; }
.fm-prose a { color: var(--fm-red); text-underline-offset: 3px; }
.fm-prose blockquote {
  border-inline-start: 2px solid var(--fm-terracotta);
  padding-inline-start: var(--fm-s3);
  font-family: var(--fm-display); font-size: 1.3rem; font-style: italic;
}

/* Stats bar */
.fm-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px; background: var(--fm-line);
  border: 1px solid var(--fm-line); border-radius: 3px; overflow: hidden;
  margin-block: var(--fm-s4);
}
.fm-stats div { background: var(--fm-paper); padding: 1.1rem 1.2rem; }
.fm-stats dt { font-size: var(--fm-t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fm-ink-60); }
.fm-stats dd { margin: .3rem 0 0; font-family: var(--fm-display); font-size: 1.35rem; }

/* Recipe card block */
.fm-recipe {
  border: 1px solid var(--fm-ink); border-radius: 4px;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  margin-block: var(--fm-s5);
  background: #fffdf8;
}
.fm-recipe__top { display: flex; flex-wrap: wrap; gap: var(--fm-s2); justify-content: space-between; align-items: flex-start; }
.fm-recipe__cols { display: grid; gap: var(--fm-s4); margin-top: var(--fm-s3); }
@media (min-width: 860px) { .fm-recipe__cols { grid-template-columns: 5fr 7fr; gap: var(--fm-s5); } }

.fm-ing { list-style: none; padding: 0; }
.fm-ing li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding-block: .55rem; border-bottom: 1px solid var(--fm-line);
}
.fm-ing li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; flex: none; background: var(--fm-terracotta);
  -webkit-mask: var(--fm-star-svg) center / contain no-repeat; mask: var(--fm-star-svg) center / contain no-repeat; }
.fm-ing .fm-ing__group { font-family: var(--fm-display); font-size: 1.05rem; border-bottom: 0; padding-top: 1.2rem; }
.fm-ing .fm-ing__group::before { display: none; }

.fm-steps { list-style: none; padding: 0; counter-reset: step; }
.fm-steps li { position: relative; padding-inline-start: 3rem; padding-block: 0 1.4rem; counter-increment: step; }
.fm-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; inset-inline-start: 0; top: .1em;
  font-family: var(--fm-display); font-size: 1.1rem; color: var(--fm-terracotta);
}

.fm-jump {
  display: inline-flex; gap: .6rem; align-items: center;
  font-size: var(--fm-t-label); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

.fm-faq details {
  border-bottom: 1px solid var(--fm-line); padding-block: 1.1rem;
}
.fm-faq summary { cursor: pointer; font-family: var(--fm-display); font-size: 1.15rem; list-style: none; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "+"; float: inline-end; color: var(--fm-terracotta); }
.fm-faq details[open] summary::after { content: "–"; }
.fm-faq p { margin-top: .8rem; color: var(--fm-ink-60); }

/* --------------------------------------------------------------------------
   13. Ads
   -------------------------------------------------------------------------- */
.fm-ad {
  margin-block: var(--fm-s5); text-align: center;
  min-height: 100px; /* reserve space: protects CLS */
}
.fm-ad__label {
  display: block; font-size: .65rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fm-ink-30); margin-bottom: .5rem;
}
.fm-ad--placeholder {
  border: 1px dashed var(--fm-line); border-radius: 3px;
  display: grid; place-items: center; color: var(--fm-ink-30);
  font-size: var(--fm-t-small); padding: 2rem;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.fm-footer { background: var(--fm-ink); color: var(--fm-paper); padding-block: var(--fm-s6) var(--fm-s4); }
.fm-footer a { text-decoration: none; }
.fm-footer__grid { display: grid; gap: var(--fm-s4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fm-footer__brand { grid-column: 1 / -1; max-width: 34ch; }
@media (min-width: 900px) { .fm-footer__brand { grid-column: span 2; } }
.fm-footer h4 { font-family: var(--fm-body); font-size: var(--fm-t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--fm-saffron); margin-bottom: var(--fm-s2); }
.fm-footer ul { list-style: none; padding: 0; }
.fm-footer li + li { margin-top: .55rem; }
.fm-footer li a { color: rgba(247,241,230,.72); font-size: .95rem; }
.fm-footer li a:hover { color: var(--fm-paper); }
.fm-news { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: var(--fm-s2); }
.fm-news input {
  flex: 1 1 190px; background: transparent; color: inherit;
  border: 1px solid var(--fm-line-dark); border-radius: 999px; padding: .8rem 1.2rem;
}
.fm-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--fm-s2); justify-content: space-between;
  margin-top: var(--fm-s5); padding-top: var(--fm-s3);
  border-top: 1px solid var(--fm-line-dark);
  font-size: var(--fm-t-small); color: rgba(247,241,230,.55);
}

/* --------------------------------------------------------------------------
   15. Pagination / misc
   -------------------------------------------------------------------------- */
.fm-pagination { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: var(--fm-s5); }
.fm-pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: .6rem;
  border: 1px solid var(--fm-line); border-radius: 999px; text-decoration: none; font-size: var(--fm-t-small);
}
.fm-pagination .current { background: var(--fm-ink); color: var(--fm-paper); border-color: var(--fm-ink); }

.fm-search { display: flex; gap: .5rem; }
.fm-search input {
  flex: 1; border: 1px solid var(--fm-line); border-radius: 999px;
  padding: .8rem 1.2rem; background: transparent;
}

/* --------------------------------------------------------------------------
   16. Motion — scroll reveal (CSS-driven, no JS library)
   -------------------------------------------------------------------------- */
.fm-reveal { opacity: 0; transform: translateY(24px); }
.fm-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--fm-ease), transform .8s var(--fm-ease);
}
.fm-reveal.is-in[data-delay="1"] { transition-delay: .08s; }
.fm-reveal.is-in[data-delay="2"] { transition-delay: .16s; }
.fm-reveal.is-in[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .fm-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Print — recipe only
   -------------------------------------------------------------------------- */
@media print {
  .fm-header, .fm-footer, .fm-ad, .fm-hero, .fm-related, .fm-crumbs, .fm-no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .fm-recipe { border: 0; padding: 0; }
  a[href]::after { content: ""; }
}

/* --------------------------------------------------------------------------
   18. RTL
   -------------------------------------------------------------------------- */
html[dir="rtl"] body { font-family: var(--fm-arabic); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .fm-brand, html[dir="rtl"] .fm-index__name, html[dir="rtl"] .fm-stats dd {
  font-family: var(--fm-arabic); font-weight: 700; letter-spacing: 0; line-height: 1.35;
}
html[dir="rtl"] .fm-label, html[dir="rtl"] .fm-btn { letter-spacing: 0; }
html[dir="rtl"] .fm-steps li::before { content: counter(step); }
