/* ==========================================================================
   Our Footprint 2-Column Layout
   ========================================================================== */
.our-footprint {
  padding: 20px 0;
  max-width: 100%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Our Footprint Header Overrides
   ========================================================================== */

/* Header Container Spacing & Typography Defaults */
.our-footprint__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Section Label (OUR FOOTPRINT) */
.our-footprint__header .section__label {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #FFBE00;
    color: #FFBE00;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
    max-width: max-content;
    align-self: flex-start; /* Prevents flexbox stretching */
}

/* Section Title (Across Cambodia, Within Reach) */
.our-footprint__header .section__title {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.5rem, 1.14rem + 1.14vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #001E3F; /* Theme Dark Navy */
  margin: 0;
}

/* Section Description Wrapper & Inner Drupal Field Override */
.our-footprint__header .section__description {
  font-family: var(--font-body, sans-serif);
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4A5568;
}

/* Flatten Drupal inner field wrappers to prevent unexpected margins */
.our-footprint__header .section__description .field--name-field-description,
.our-footprint__header .section__description .field__item {
  margin: 0;
  padding: 0;
}

.our-footprint__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .our-footprint__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

/* Left Column Styling */
.our-footprint__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.our-footprint__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 2x2 Grid for Stat Cards on the left side */
/* Strip field wrapper influence so cards align in 2 columns */
.our-footprint__stats-grid .field__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.our-footprint__stats-grid .field__item {
  display: contents;
}

.our-footprint__stats-grid .grid-col {
  width: 100%;
}

.our-footprint .feature-card {
  @media (max-width: 500px) {
    height: 138px;
  }
}

/* Right Column Map Styling */
.our-footprint__right {
  width: 100%;
}

.our-footprint__map-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.our-footprint__map-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 600px;
}

.our-footprint .card .title {
    font-size: 1rem; /* 16px */
    margin-bottom: 12px;
    font-weight: normal;
}