/* Mobile fixes measured against the restored templates; desktop rules remain intact. */
@media(max-width:767px){
 /* Remove the old breadcrumb padding and duplicate builder gutters. */
 .archive-restored .page-heading .container-inner{min-height:0;padding-top:24px;padding-bottom:24px}
 .archive-restored .page-heading h1{font-size:26px!important;line-height:1.3!important;margin-bottom:14px;overflow-wrap:break-word}
 .archive-restored .page-heading .breadcrumbs{padding-bottom:0!important;font-size:14px;line-height:1.6}
 .archive-restored:not(.home) main .vc_column_container>.vc_column-inner{padding-left:0!important;padding-right:0!important}
 .archive-restored:not(.home) .entry-content>.vc_row>.container{padding-left:15px;padding-right:15px}
 .archive-restored:not(.home) .entry-content>.vc_row>.container>.row{margin-left:0;margin-right:0}
 .archive-restored .kp-updated-content,.archive-restored.single-post .post-item,.archive-restored .wpb_text_column>.wpb_wrapper:has(>.kp-patient-copy){padding:20px}
 .archive-restored.single-post .post-item .kp-updated-content{padding:0}
 .archive-restored:not(.home) .wpb_text_column{margin-bottom:24px}
 /* Use the available line width and give small notes a readable size. */
 .archive-restored main .kp-patient-copy>p{line-height:1.75}
 .archive-restored .kp-patient-copy>h2{font-size:22px;line-height:1.4;margin-top:26px;margin-bottom:12px}
 .archive-restored main .kp-editorial{font-size:14px!important;line-height:1.6!important;padding-bottom:14px;margin-bottom:22px}
 .archive-restored .kp-procedure-photo{padding-bottom:16px;margin-bottom:22px}
 .archive-restored .kp-procedure-photo figcaption{font-size:14px;line-height:1.6}
 .archive-restored .kp-sources,.archive-restored .kp-related{padding:16px;margin-top:24px}
 .archive-restored .kp-sources ul{font-size:15px;line-height:1.7}
 .archive-restored .kp-related a{font-size:15px;line-height:1.5;padding:12px}
 .archive-restored main .kp-disclaimer{font-size:16px;line-height:1.7}
 .archive-restored .kp-faq{margin-top:20px;margin-bottom:20px}
 .archive-restored:not(.home) .kp-faq summary{padding:16px 44px 16px 16px;line-height:1.55}
 .archive-restored:not(.home) .kp-faq summary:after{right:16px;top:13px}
 .archive-restored:not(.home) .kp-faq details>div{padding:0 16px 6px}
 /* Three equal tabs replace the accidental two-plus-one row. */
 .archive-restored .iw-tabs .iw-tab-items:has(>.iw-tab-item:nth-child(3):last-child){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:16px}
 .archive-restored .iw-tabs .iw-tab-items:has(>.iw-tab-item:nth-child(3):last-child)>.iw-tab-item{min-width:0;width:auto;display:flex;align-items:stretch}
 .archive-restored .iw-tabs .iw-tab-item .iw-tab-item-inner{width:100%;padding:10px 5px!important;min-height:70px;display:flex;align-items:center;justify-content:center}
 .archive-restored .iw-tabs .iw-tab-title{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;font-size:14px!important;line-height:1.4!important;white-space:normal}
 .archive-restored .iw-tabs .iw-tab-title .tab-icon{display:block;margin:0!important;line-height:18px;font-size:16px}
 .archive-restored .iw-tabs .iw-tab-title>span:last-child{border:0!important;padding:0!important}
 .archive-restored .iw-tabs .iw-tab-content{padding:20px}
 /* The old 65px inner margin was adding to every guide-card gap. */
 .archive-restored .departments-item{margin-bottom:20px!important}
 .archive-restored .departments-item .department-info{margin-bottom:0!important}
 .archive-restored .departments-item .department-title{padding-top:0;font-size:21px}
 .archive-restored .departments-item .department-title:before{display:none}
 .archive-restored .departments-item .department-read-more a{margin-top:0}
 .archive-restored .kp-blog-item{margin-bottom:22px;padding:20px!important}
 .archive-restored .kp-blog-item .post-content-head{margin-bottom:14px;padding-bottom:0}
 .archive-restored .kp-blog-item .kp-editorial{margin-bottom:0;padding-bottom:0}
 .archive-restored .kp-blog-item .post-content-desc p{margin-bottom:18px}
 /* About/contact had desktop-sized section padding and nested icon columns. */
 .archive-restored.page-id-20 .vc_custom_1481684270055{margin-bottom:0!important}
 .archive-restored.page-id-20 .vc_custom_1482806939595{padding-top:28px!important;padding-bottom:0!important}
 .archive-restored.page-id-20 .wpb_single_image{margin-bottom:22px}
 .archive-restored.page-id-20 .iw-heading{margin-top:0!important;margin-bottom:22px!important;padding:20px!important}
 .archive-restored.page-id-20 .iw-item-info{padding:20px;margin-bottom:18px}
 .archive-restored.page-id-20 .iw-item-info .info-wrap{gap:12px}
 .archive-restored.page-id-20 .iw-item-info .icon-img{flex-basis:40px;width:40px;height:40px;line-height:40px;font-size:26px}
 .archive-restored.page-id-22 .vc_custom_1482807270748{margin-bottom:0!important}
 .archive-restored.page-id-22 .vc_custom_1488332950353{padding-top:28px!important;padding-bottom:28px!important}
 .archive-restored.page-id-22 .iw-item-info{padding:24px 20px;margin-bottom:18px}
 .archive-restored.page-id-22 .iw-item-info>.icon-img{width:60px;height:60px;line-height:60px;margin-bottom:18px}
 .archive-restored.page-id-22 .iw-item-info>.icon-img i{font-size:30px;line-height:60px}
 .archive-restored.page-id-22 .iw-item-info .content{font-size:15px;line-height:1.65}
 .archive-restored .iw-doctor-detail .doctor-info-wrap{padding:20px;margin-bottom:24px}
 .archive-restored .iw-doctor-detail .doctor-info-wrap .doctor-name{font-size:25px}
 .archive-restored .doctor-fields ul li{overflow-wrap:anywhere}
 .archive-restored .restore-list>article{padding:20px;margin-bottom:20px}
 /* Stable touch controls and room for the last footer line. */
 .archive-restored .kp-mobile-contact{padding:8px 12px calc(8px + env(safe-area-inset-bottom));align-items:stretch}
 .archive-restored .kp-mobile-contact a{min-width:0;font-size:15px;line-height:1.35;white-space:nowrap;padding:8px 7px}
 .archive-restored .kp-mobile-contact a i{flex-shrink:0}
 .archive-restored #mobile-navigation{padding:16px 20px}
 .archive-restored #mobile-navigation .sub-menu{margin-left:10px;padding-left:12px}
 .archive-restored #mobile-navigation li a{font-size:16px}
 .archive-restored #mobile-navigation .sub-menu a{font-size:15px}
 .archive-restored .iw-copy-right a{min-height:44px;padding-top:10px;padding-bottom:10px}
 .archive-restored .iw-copy-right p{font-size:14px;line-height:1.7}
}
@media(max-width:359px){
 .archive-restored.page-id-20 .iw-item-info .info-wrap{flex-direction:column;gap:12px}
 .archive-restored .iw-tabs .iw-tab-title{font-size:13px!important}
 .archive-restored .kp-process{gap:10px}
 .archive-restored .kp-process li{font-size:15px}
}
@media(max-width:991px){
 .archive-restored .kp-mobile-contact .back-to-top{position:static;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:22px;line-height:1;box-shadow:none}
}

@media(min-width:768px) and (max-width:991px){
 /* The archived two-thirds outer column made nested tablet cards only 86px wide inside. */
 .archive-restored.page-id-20 .vc_custom_1482806939595 .vc_col-sm-8{width:100%}
 .archive-restored.page-id-20 .vc_custom_1481684270055{margin-bottom:30px!important}
 .archive-restored.page-id-20 .vc_custom_1482806939595{padding-top:30px!important}
 .archive-restored.page-id-20 .iw-heading{margin-bottom:24px!important}
}
