/*
Theme Name: Yigal Maimon
Description: אתר יגאל מימון עם שיעורי נהיגה, תרגול תאוריה, תמרורים וסימולציות אינטראקטיביות.
Version: 1.1.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: yigal-maimon
*/

.brand > span, .primary-navigation li, .footer-brand, .footer-contact {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.ymas-page {
  padding-block: clamp(36px, 7vw, 76px);
  overflow-wrap: anywhere;
}

.ymas-page > article {
  max-inline-size: 76ch;
}

.ymas-page > article > h1,
.ymas-page > h1 {
  margin-block-end: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.ymas-page-content > * + *,
.ymas-entry + .ymas-entry {
  margin-block-start: 16px;
}

.ymas-page-content img {
  max-inline-size: 100%;
  block-size: auto;
}

.ymas-entry h2 {
  font-size: 1.4rem;
  margin-block-end: 6px;
}
