/* about-fix.css — minimal overrides to tidy layout without touching legacy files */

/* 1) Stop the greeting block from clipping content and overlapping with following sections */
#about .greetingArea{
  height: auto !important; /* override fixed 260px */
  padding-top: 15px;
  /* remove noisy bg texture */
}

/* Ensure floats don't leak and cause titles below to overlap */
#about .greetingArea::after{
  content: "";
  display: block;
  clear: both;
}

/* 2) Safer layout: stack on mobile, side-by-side on wider screens */
#about .greetingArea .greeting-left,
#about .greetingArea .greeting-right{
  float: none !important;
  width: auto !important;
  margin: 0 0 12px 0 !important;
}

#about .greetingArea .greeting-right{
  text-align: right;
}

@media (min-width: 900px){
  #about .greetingArea{
    display: flex;
    gap: 20px;
  }
  #about .greetingArea .greeting-left{
    flex: 1 1 0%;
    margin: 0 !important;
  }
  #about .greetingArea .greeting-right{
    flex: 0 0 160px;
    text-align: left;
    margin: 0 !important;
  }
  #about .greetingArea .photo img{
    max-width: 100%;
    height: auto;
  }
}

/* 3) Make section titles start on a new row to avoid collision with floats above */
#about .ttl1,
#about .ttl2,
#about .ttl3,
#about .ttl4,
#about .ttl5,
#about .ttl6{
  clear: both;
  margin: 30px auto 10px auto;
}

/* 4) Optional: soften table borders a bit (keeps the existing look but less heavy) */
#about .dataArea table{
  border-color: #cfcfcf !important;
}
#about .dataArea table th{
  background: #f7f2e7 !important;
  border-color: #cfcfcf !important;
  color: #5a4636 !important;
}
#about .dataArea table td{
  border-color: #cfcfcf !important;
}
