/* ============================================================
   EBABU5 — About / Article Section
   Namespace  : ebabu5
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* 1. Variables & Colors */
.ebabu5 {
  /* Section */
  --ebabu5-bg:                  #ffffff;
  --ebabu5-text:                #2d2d2d;
  --ebabu5-title:               #111111;
  --ebabu5-border:              #204A7B;

  /* Main title */
  --ebabu5-main-title-text:     #1a2e5a;
  --ebabu5-main-title-line:     #204A7B;

  /* Block */
  --ebabu5-block-title:         #204A7B;
  --ebabu5-block-desc:          #3a3a3a;

  /* Highlight block */
  --ebabu5-highlight-bg:        #f0f4ff;
  --ebabu5-highlight-title:     #1a2e5a;
  --ebabu5-highlight-border:    #204A7B;

  /* Conclusion block */
  --ebabu5-conclusion-bg:       #f8f9fa;
  --ebabu5-conclusion-border:   #204A7B;

  /* List */
  --ebabu5-list-label:          #111111;
  --ebabu5-list-text:           #3a3a3a;
  --ebabu5-list-num:            #204A7B;

  /* Padding */
  --ebabu5-padding-top:         2.5rem;
  --ebabu5-padding-bottom:      2.5rem;
}

/* 2. Reset inside namespace */
.ebabu5 *,
.ebabu5 *::before,
.ebabu5 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Styles — Mobile */
.ebabu5 {
  font-family: "El Messiri", sans-serif;
  background: var(--ebabu5-bg);
  color: var(--ebabu5-text);
  padding-top: var(--ebabu5-padding-top);
  padding-bottom: var(--ebabu5-padding-bottom);
  direction: ltr;
}

.ebabu5__container {
  width: 92%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Main Title ── */
.ebabu5__main-title {
  font-size: clamp(1.2rem, 4.5vw, 1.9rem);
  font-weight: 700;
  color: var(--ebabu5-main-title-text);
  line-height: 1.3;
  padding-bottom: 0.75rem;
  border-bottom: 0.2rem solid var(--ebabu5-main-title-line);
}

/* ── Block ── */
.ebabu5__block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ebabu5__block-title {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 700;
  color: var(--ebabu5-block-title);
  line-height: 1.3;
}

.ebabu5__block-desc {
  font-size: clamp(0.82rem, 2.8vw, 0.93rem);
  line-height: 1.85;
  color: var(--ebabu5-block-desc);
}

/* ── Highlight Block ── */
.ebabu5__block--highlight {
  background: var(--ebabu5-highlight-bg);
  border-left: 0.3rem solid var(--ebabu5-highlight-border);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.ebabu5__block--highlight .ebabu5__block-title {
  color: var(--ebabu5-highlight-title);
}

/* ── Conclusion Block ── */
.ebabu5__block--conclusion {
  background: var(--ebabu5-conclusion-bg);
  border-top: 0.2rem solid var(--ebabu5-conclusion-border);
  padding: 1.5rem 1.25rem;
  border-radius: 0.5rem;
}

/* ── Numbered List ── */
.ebabu5__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: ebabu5-counter;
}

.ebabu5__list--numbered .ebabu5__list-item {
  counter-increment: ebabu5-counter;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: clamp(0.82rem, 2.8vw, 0.93rem);
  line-height: 1.8;
  color: var(--ebabu5-list-text);
}

.ebabu5__list--numbered .ebabu5__list-item::before {
  content: counter(ebabu5-counter) ".";
  color: var(--ebabu5-list-num);
  font-weight: 700;
  flex-shrink: 0;
  min-width: 1.4rem;
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
}

.ebabu5__list-label {
  font-weight: 700;
  color: var(--ebabu5-list-label);
  margin-right: 0.2rem;
}

/* 4. Breakpoints */
@media (min-width: 481px) {
  .ebabu5__container {
    gap: 2.25rem;
  }
}

@media (min-width: 769px) {
  .ebabu5__container {
    width: 88%;
    gap: 2.5rem;
  }

  .ebabu5__main-title {
    padding-bottom: 1rem;
  }
}

@media (min-width: 1025px) {
  .ebabu5__container {
    width: 80%;
    max-width: 62rem;
  }

  .ebabu5 {
    --ebabu5-padding-top:    4rem;
    --ebabu5-padding-bottom: 4rem;
  }
}

@media (min-width: 1281px) {
  .ebabu5__container {
    width: 72%;
  }
}

@media (min-width: 1441px) {
  .ebabu5__container {
    width: 65%;
    max-width: 68rem;
  }
}

@media (min-width: 1921px) {
  .ebabu5__container {
    width: 55%;
    max-width: 75rem;
  }
}