/* ============================================================
   ebpol1 — Code Of Ethics & Policy Section
   Namespace  : ebpol1
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* 1. Variables & Colors */
.ebpol1 {
  /* Section */
  --ebpol1-bg:            #ffffff;
  --ebpol1-text:          #333333;
  --ebpol1-title:         #204A7B;
  --ebpol1-border:        #204A7B;

  /* Card */
  --ebpol1-card-bg:       #f5f6f8;
  --ebpol1-card-label:    #204A7B;
  --ebpol1-card-text:     #444444;
  --ebpol1-card-border:   #204A7B;

  /* Padding */
  --ebpol1-padding-top:    3rem;
  --ebpol1-padding-bottom: 3rem;
}

/* 2. Reset inside namespace */
.ebpol1 *,
.ebpol1 *::before,
.ebpol1 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Styles — Mobile */
.ebpol1 {
  font-family: "El Messiri", sans-serif;
  background: var(--ebpol1-bg);
  color: var(--ebpol1-text);
  padding-top: var(--ebpol1-padding-top);
  padding-bottom: var(--ebpol1-padding-bottom);
  direction: ltr;
}

.ebpol1__container {
  width: 92%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── Block base ── */
.ebpol1__block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ebpol1__block-title {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 700;
  color: var(--ebpol1-title);
  line-height: 1.25;
}

.ebpol1__block-title--upper {
  text-transform: uppercase;
}

.ebpol1__block-desc {
  font-size: clamp(0.85rem, 3vw, 0.95rem);
  line-height: 1.75;
  color: var(--ebpol1-text);
}

/* ── Block 1: Ethics — text + single circle image ── */
.ebpol1__block--ethics {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.ebpol1__block-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ebpol1__img-circle {
  width: 12rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 0.2rem solid var(--ebpol1-border);
  box-shadow: 0 0.25rem 1.5rem rgba(0,0,0,.15);
  align-self: center;
}

.ebpol1__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Block 2: Responsibility — cards grid ── */
.ebpol1__cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.ebpol1__card {
  background: var(--ebpol1-card-bg);
  border-left: 0.25rem solid var(--ebpol1-card-border);
  padding: 0.85rem 1rem;
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  line-height: 1.65;
  color: var(--ebpol1-card-text);
}

.ebpol1__card--full {
  grid-column: 1 / -1;
}

.ebpol1__card-label {
  font-weight: 700;
  color: var(--ebpol1-card-label);
}

/* ── Block 3: Respect — prose items ── */
.ebpol1__prose {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ebpol1__prose-item {
  font-size: clamp(0.85rem, 3vw, 0.95rem);
  line-height: 1.75;
  color: var(--ebpol1-text);
}

/* 4. Breakpoints */
@media (min-width: 481px) {
  .ebpol1__cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 769px) {
 

  .ebpol1__block-text {
    flex: 1 1 auto;
  }

  .ebpol1__img-circle {
    width: 14rem;
    align-self: center;
  }
}

@media (min-width: 1025px) {
  .ebpol1__container {
    width: 88%;
    max-width: 75rem;
  }
 .ebpol1__block--ethics {
    flex-direction: row;
    align-items: center;
  }

}

@media (min-width: 1281px) {
  .ebpol1__container {
    width: 82%;
  }
}

@media (min-width: 1441px) {
  .ebpol1__container {
    width: 75%;
  }
}