/* Homepage refinements, after the imported source and shared shell styles. */
.mb-page-home .serviceR .mb-service-icon{display:inline-block;width:56px;height:56px;object-fit:contain;margin:0 0 8px;vertical-align:middle}
.mb-page-home .phydiv .doctlist{width:100%;height:auto;min-height:340px;padding:20px}
.mb-page-home .phydiv .doctprof{gap:14px;align-items:flex-start}
.mb-page-home .phydiv .doctimg{position:relative;flex:0 0 100px;width:100px;padding-bottom:24px}
.mb-page-home .phydiv .doctimg a{display:block}
.mb-page-home .phydiv .doctimg img{display:block;width:100px;height:100px;max-width:none;object-fit:cover;object-position:center top;border-radius:6px}
.mb-page-home .phydiv .doctimg span{left:10px;top:85px}
.mb-page-home .phydiv .doctname{min-width:0;padding:0}
.mb-page-home .phydiv .doctname a{display:block;padding:0;line-height:1.4;font-size:18px;overflow-wrap:anywhere}
.mb-page-home .phydiv .doctname p{line-height:1.65;margin-top:8px}
.mb-page-home .phydiv .docdetails{margin-top:14px}
.mb-page-home .phydiv .docdetails p{line-height:1.85;margin-bottom:0}
.mb-page-home #contact{padding:56px 24px!important;background:#f3f7fb!important}
.mb-page-home #contact .aboutus-inner-wrap{width:100%;max-width:1200px;margin:0 auto;padding-top:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:48px}
.mb-page-home #contact .aboutus-inner-wrap>div{width:auto;max-width:none;padding:0;margin:0!important;min-width:0}
.mb-page-home #contact .pdp-h4{display:block;text-align:left;line-height:1.5;margin:0 0 12px;color:#245d8b}
.mb-page-home #contact .pdp-h4+h4{letter-spacing:3px;color:#8195a6;font-size:14px!important;font-weight:400;margin-bottom:20px}
.mb-page-home #contact .co>p{line-height:1.95!important;margin-bottom:24px}
.mb-page-home #contact .contact_button{margin-top:0;padding:12px 32px;background:#2372ba;border-radius:6px;box-shadow:0 4px 12px #2372ba20}
.mb-page-home #contact .aboutus-vid-wrap{width:100%;margin:0}
.mb-page-home #contact .vid-wrapper{height:auto;aspect-ratio:16/9;border-radius:12px;box-shadow:0 8px 24px #1d4c7520}
.mb-page-home #contact .vid-wrapper>a{height:100%}
.mb-page-home #contact .vid-wrapper .thumbnail{width:100%;height:100%;object-fit:cover}
.mb-page-home #contact .aboutus-video-caption{text-align:center;margin:12px 0 0}
.mb-page-home .index-contact-form-section{padding:48px 24px}
.mb-page-home .index-contact-form-wrap{max-width:1200px;gap:32px}
.mb-page-home .index-contact-video-link>.index-contact-video-cover{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:991px){.mb-page-home .index-contact-video-link{aspect-ratio:16/9;min-height:0}}
.mb-page-home .index-contact-form{border:1px solid #e1eaf2;box-shadow:0 8px 24px #1d4c7510}
.mb-page-home .index-contact-form-control{letter-spacing:normal;border:1px solid #dbe5ef;min-height:48px}
.mb-page-home .index-contact-form-control:focus{outline:2px solid #91bee3;outline-offset:1px}
.mb-page-home .index-contact-form-submit{background:#2372ba;min-height:48px}
@media(min-width:768px){.mb-page-home .phydiv .row>.col-md-4{display:flex}.mb-page-home .phydiv .doctlist{margin:0}}
@media(max-width:991px){.mb-page-home .phydiv .row>.col-md-4{flex:0 0 50%;max-width:50%}.mb-page-home #contact .aboutus-inner-wrap{gap:28px}.mb-page-home #contact .pdp-h4{font-size:24px!important}}
@media(max-width:767px){.mb-page-home .phydiv .row>.col-md-4{flex:0 0 100%;max-width:100%}.mb-page-home .phydiv .doctlist{min-height:0;padding:20px;margin:0}.mb-page-home #contact{padding:32px 20px!important}.mb-page-home #contact .aboutus-inner-wrap{grid-template-columns:minmax(0,1fr);gap:28px}.mb-page-home #contact .pdp-h4{font-size:23px!important}.mb-page-home .index-contact-form-section{padding:32px 20px}.mb-page-home .index-contact-form{padding:24px 20px}}

/* Reuse the article editor consultation form, retaining the homepage video layout. */
.mb-page-home .index-contact-form-column{display:flex;flex:1 1 0;min-width:0;max-width:680px}
.mb-page-home .index-contact-form-column>.mb-article-consult-card{margin:0}
@media(max-width:991px){.mb-page-home .index-contact-form-column{flex:none;width:100%}}

/* Keep the homepage video and consultation card as two landscape panels. */
@media(min-width:992px){
.mb-page-home .index-contact-form-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.mb-page-home .index-contact-video{min-width:0}
.mb-page-home .index-contact-video-link{min-height:0}
.mb-page-home .index-contact-form-column{max-width:none}
.mb-page-home .index-contact-form-column>.mb-article-consult-card{padding:24px}
.mb-page-home .index-contact-form-column .mb-article-consult-card h3{font-size:18px;margin-bottom:8px}
.mb-page-home .index-contact-form-column .mb-article-consult-card>p{margin-bottom:12px;line-height:1.65}
.mb-page-home .index-contact-form-column .mb-article-consult-card fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mb-page-home .index-contact-form-column .mb-article-consult-card label{min-width:0;gap:4px}
.mb-page-home .index-contact-form-column .mb-article-consult-card label:nth-of-type(3),.mb-page-home .index-contact-form-column .mb-article-consult-card button{grid-column:1/-1}
.mb-page-home .index-contact-form-column .mb-article-consult-card input:not([type=hidden]){padding:8px 12px}
.mb-page-home .index-contact-form-column .mb-article-consult-card button{padding:10px 16px}
.mb-page-home .index-contact-form-column .mb-article-consult-card .mb-consult-status:empty{display:none}
}
