/* =====================================================================
   OUR HOME DETAILS PAGE  (templates/website/home_details.html  ->  /home/<name>/)
   One home's page (Our Homes): photos, meal sponsorship + donation form.
   ===================================================================== */

.desc-content{
    overflow: hidden;
    max-height:130px;
    transition:max-height 1s ease-in-out;
}



.view-more-btn {
    border: none;
    background: none;
    color: #219fff;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-volume-btn {
    position: absolute;
    right: 15px;
    bottom: 15px;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.5);
    color: white;

    font-size: 20px;
    cursor: pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    z-index: 10;
}

.whatsapp-info{
    margin-top:8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .at-hero__badge {
    padding: 4px 8px;
    border-radius: 8px;
    max-width: 140px; /* Card width */
    gap: 4px;
  }

  .at-hero__badge-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .at-hero__badge-num {
    font-size: 14px;
    line-height: 1.1;
    display: block;
  }

  .at-hero__badge-lbl {
    font-size: 9px;
    line-height: 1.2;
    display: block;
  }

}

@media (max-width: 768px) {

  .box-btn-slider {
      width: 80% !important;
      margin: 0 auto;
  }

  .box-btn-slider .tf-btn {
      display: flex;
      justify-content: center;
      align-items: center;
  }

}


@media (max-width:991px){
    .feature-stack{
        grid-template-columns:repeat(2,1fr);
    }
}

.feature-stack{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}
@media (max-width:575px){

    .feature-stack{
        display:block;
        position:relative;
        padding-bottom:0px;
    }

    .feature-stack .at-feat-card{
        position:sticky;
        top:calc(var(--site-header-offset, 0px) + 16px);
        margin-bottom:18px;
        transition:.35s;
    }

    .feature-stack .at-feat-card:nth-child(1){
        z-index:1;
    }

    .feature-stack .at-feat-card:nth-child(2){
        z-index:2;
    }

    .feature-stack .at-feat-card:nth-child(3){
        z-index:3;
    }

    .feature-stack .at-feat-card:nth-child(4){
        z-index:4;
    }

}
