body.page-id-4877 #rd-tmj-appliance-gallery{width:100%;max-width:1200px;margin:38px auto 44px;scroll-margin-top:135px;border:0!important;background:transparent!important;color:#fff!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-appliance-heading{text-align:center;margin:0 0 26px;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-image-eyebrow{font-size:11px!important;line-height:1.6!important;font-weight:700;letter-spacing:.14em;margin:0 0 9px!important;}
body.page-id-4877 #rd-tmj-appliance-gallery #rd-tmj-appliance-title{font-size:32px!important;line-height:1.25!important;margin:0 0 12px!important;color:#fff!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-appliance-heading p{color:#fff!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-orthotic-explanation{max-width:1000px;margin:24px auto 30px!important;text-align:left;font-size:17px!important;line-height:1.8!important;color:#fff!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-orthotic-explanation strong{font-weight:700;color:#fff!important;}
body.page-id-4877 .rd-tmj-appliance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1000px;margin:auto;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-appliance-card{box-sizing:border-box;background:#fff;color:#173c51!important;border:1px solid #d4e2e8;border-radius:8px;overflow:hidden;min-width:0;box-shadow:0 6px 24px #102f4010;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-appliance-card h4{margin:0!important;padding:22px 16px!important;min-height:86px;box-sizing:border-box;font-size:19px!important;line-height:1.3!important;text-align:center;color:#173c51!important;}
body.page-id-4877 #rd-tmj-appliance-gallery figure{margin:0!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-photo-link{display:flex;align-items:center;justify-content:center;min-height:240px;background:#f3f7f9;line-height:0;}
body.page-id-4877 #rd-tmj-appliance-gallery img.rd-tmj-appliance-image{display:block;width:100%!important;height:240px!important;object-fit:contain!important;object-position:center!important;margin:0!important;border:0!important;border-radius:0!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-night .rd-tmj-photo-link{background:#000;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-night img.rd-tmj-appliance-image{max-width:299px!important;}
body.page-id-4877 #rd-tmj-appliance-gallery figcaption{padding:16px!important;margin:0!important;font-size:14px!important;line-height:1.55!important;font-style:normal!important;text-transform:none!important;letter-spacing:0!important;text-align:center;color:#425d6a!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-maker{border-top:1px solid #e6edf0;padding:14px 16px;display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-maker img{display:block;width:90px!important;height:auto!important;flex:0 0 90px;margin:0!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-maker p{color:#425d6a!important;font-size:12px!important;line-height:1.5!important;margin:0!important;}
body.page-id-4877 #tmj-doctor .rd-tmj-fellow-heading{display:flex;align-items:center;gap:25px;margin:0 0 22px;}
body.page-id-4877 #tmj-doctor .rd-tmj-fellow-heading h3{flex:1;min-width:0;margin:0!important;line-height:1.3!important;}
body.page-id-4877 #tmj-doctor .rd-tmj-fellow-badge{flex:0 0 165px;margin:0!important;padding:12px;background:#fff;border:1px solid #dce5e8;border-radius:6px;}
body.page-id-4877 #tmj-doctor img.rd-tmj-fellow-logo{display:block;width:100%!important;max-width:165px!important;height:auto!important;margin:0!important;object-fit:contain!important;}
@media(max-width:900px){
body.page-id-4877 .rd-tmj-appliance-grid{grid-template-columns:1fr;max-width:500px;margin:auto;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-appliance-card h4{min-height:0;padding:18px 16px!important;}
body.page-id-4877 #rd-tmj-appliance-gallery .rd-tmj-appliance-image{max-height:280px!important;}
body.page-id-4877 #rd-tmj-appliance-gallery #rd-tmj-appliance-title{font-size:27px!important;}
body.page-id-4877 #tmj-doctor .rd-tmj-fellow-heading{flex-direction:column;align-items:flex-start;gap:18px;}
body.page-id-4877 #tmj-doctor .rd-tmj-fellow-badge{flex:0 0 auto;width:165px;box-sizing:border-box;}
}
