@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* ==========================================================
   base.css — reset + body + layout (main / section / inner)
   ========================================================== */
:root {
  --ebmnt1-layout-max-width: 1240px;
  --ebmnt1-layout-max-width-narrow: 820px;
  --ebmnt1-layout-main-gap: 5em;
  --ebmnt1-layout-inner-gap: 2em;
  --ebmnt1-layout-inner-width: calc(100% - 2em);

  --ebmnt1-body-bg: var(--ebmnt1-color-page-bg);
  --ebmnt1-body-text-color: var(--ebmnt1-color-text-soft);
  --ebmnt1-body-font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem);
  --ebmnt1-body-line-height: 1.7;
  --ebmnt1-scrollbar-thumb: var(--ebmnt1-color-secondary-to);
  --ebmnt1-selection-bg: var(--ebmnt1-color-primary);
  --ebmnt1-selection-text: var(--ebmnt1-color-white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "El Messiri", sans-serif;
  font-size: var(--ebmnt1-body-font-size);
  line-height: var(--ebmnt1-body-line-height);
  color: var(--ebmnt1-body-text-color);
  background-color: var(--ebmnt1-body-bg);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.ebmnt1-is-locked {
  overflow: hidden;
}

::selection {
  background-color: var(--ebmnt1-selection-bg);
  color: var(--ebmnt1-selection-text);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- main ---------- */
.ebmnt1-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ebmnt1-layout-main-gap);
  width: 100%;
}

/* ---------- master container ---------- */
.ebmnt1-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: clip;
}

/* ---------- inner container ---------- */
.ebmnt1-section__inner {
  width: var(--ebmnt1-layout-inner-width);
  max-width: var(--ebmnt1-layout-max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ebmnt1-layout-inner-gap);
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  :root {
    --ebmnt1-layout-main-gap: 6em;
  }
}
