.elementor-7991 .elementor-element.elementor-element-1bfc457{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;--gap:5px 5px;--row-gap:5px;--column-gap:5px;--flex-wrap:wrap;--align-content:flex-start;}.elementor-7991 .elementor-element.elementor-element-4f01cb9{--display:flex;}/* Start custom CSS *//* Headings */
.africa-title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #e09c00;
  margin-bottom: 5px;
}
.africa-subtitle {
  text-align: center;
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}
.undiscovered-subtext {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #222;
}

/* Grid layout */
.africa-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Country block */
.country-box {
  text-align: center;
  width: 30%;
  min-width: 140px;
}

/* Flag style */
.country-box img {
  width: 100px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 5px;
}
.country-box:hover img {
  transform: scale(1.07);
}

/* Country name + capital */
.country-box strong {
  display: block;
  font-size: 18px;
  margin-top: 10px;
  color: #000;
}
.country-box span {
  font-size: 16px;
  color: #333;
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
  .country-box {
    width: 45%;
  }
  .country-box strong {
    font-size: 17px;
  }
  .country-box span {
    font-size: 15px;
  }
  .africa-title {
    font-size: 24px;
  }
}/* End custom CSS */