/* ===== Diego Bio (Enfold-safe CSS) ===== */

.ds-bio{
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}

/* two-column layout using floats (old-school, Enfold-friendly) */
.ds-bio__photo{
  float: left;
  width: 360px;
  margin-right: 28px;
}

.ds-bio__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.10);
  box-sizing: border-box;
}

.ds-bio__content{
  overflow: hidden; /* keeps text column aligned next to float */
}

.ds-bio__title{
  margin: 0 0 14px;
  font-size: 34px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.ds-bio__content p{
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 16px;
}

/* button */
.ds-btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: #e00000 !important;
  color: #ffffff !important; /* fixes gray text */
}

.ds-btn:hover{
  opacity: .92;
  color: #ffffff !important;
}

/* remove any captions that might appear */
.wp-caption-text,
.avia-image-container .wp-caption-text,
.avia-image-container figcaption,
.avia-caption,
.caption,
figcaption{
  display: none !important;
}

/* clearfix */
.ds-clear{
  clear: both;
}

/* mobile: stack photo above text */
@media (max-width: 820px){
  .ds-bio__photo{
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 0 0 18px 0;
  }

  .ds-bio__title{
    font-size: 30px;
  }
}
