/* Shared visitor footer layout. */
footer .yr-footer-admin{display:none!important}
footer:has(.yr-footer-blog)>div>div:last-child{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:flex-end!important;gap:20px!important}
footer:has(.yr-footer-blog)>div>div:last-child>div:first-child{order:0;margin-right:auto!important;width:auto!important}
footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-blog,footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-pro,footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-legal{order:1;white-space:nowrap}
footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-social{order:2;margin:0 0 0 2px!important;flex-shrink:0}
@media(max-width:800px){footer:has(.yr-footer-blog)>div>div:last-child{gap:14px 18px!important}footer:has(.yr-footer-blog)>div>div:last-child>div:first-child{width:100%!important;margin-right:0!important;text-align:left}footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-social{margin-left:auto!important}}
@media(max-width:480px){footer:has(.yr-footer-blog)>div>div:last-child{justify-content:flex-start!important}}

/* Compact mobile navigation with comfortable touch targets. */
@media(max-width:767px){
 body:not(.yr-admin)>footer>div{padding-top:28px!important;padding-bottom:24px!important}
 body:not(.yr-admin)>footer>div>div:first-child{gap:22px!important;margin-bottom:24px!important;align-items:start}
 body:not(.yr-admin)>footer>div>div:first-child>div:first-child>a{margin-bottom:8px!important}
 body:not(.yr-admin)>footer>div>div:first-child>div:first-child>p{margin:0!important;font-size:13px;line-height:1.65}
 body:not(.yr-admin)>footer>div>div:first-child>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px!important;align-items:start}
 body:not(.yr-admin)>footer>div>div:first-child>div:last-child>div{min-width:0}
 body:not(.yr-admin)>footer>div>div:first-child>div:last-child>div:last-child{grid-column:1/-1}
 body:not(.yr-admin)>footer h2{margin:0 0 6px!important;font-size:11px!important;line-height:1.5;letter-spacing:.07em}
 body:not(.yr-admin)>footer ul{display:grid;gap:0!important;margin:0!important;padding:0!important;list-style:none}
 body:not(.yr-admin)>footer ul>li{margin:0!important;padding:0!important;line-height:1.45}
 body:not(.yr-admin)>footer ul>li>a{display:flex;align-items:center;min-height:36px;padding:7px 0;font-size:13px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
 body:not(.yr-admin)>footer>div>div:first-child>div:last-child>div:last-child>ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px!important}
 body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child{gap:8px 16px!important;padding-top:16px!important}
 body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-legal{margin:0!important;white-space:normal}
 body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child>a,body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child>button{min-height:36px;display:inline-flex;align-items:center;font-size:12px}
 body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child>div:first-child{font-size:12px;line-height:1.6}
}

/* Desktop footer: content-sized rows instead of stretched navigation spacing. */
@media(min-width:768px){
 body:not(.yr-admin)>footer>div{padding-top:32px!important;padding-bottom:24px!important}
 body:not(.yr-admin)>footer>div>div:first-child{align-items:start;gap:32px!important;margin-bottom:24px!important}
 body:not(.yr-admin)>footer>div>div:first-child>div:first-child>a{margin-bottom:8px!important}
 body:not(.yr-admin)>footer>div>div:first-child>div:first-child>p{margin:0!important;font-size:13px;line-height:1.65}
 body:not(.yr-admin)>footer>div>div:first-child>div:last-child{align-items:start;gap:24px!important}
 body:not(.yr-admin)>footer>div>div:first-child>div:last-child>div{min-width:0;align-self:start}
 body:not(.yr-admin)>footer h2{margin:0 0 8px!important;font-size:11px!important;line-height:1.5;letter-spacing:.07em}
 body:not(.yr-admin)>footer ul{display:grid;align-content:start;gap:0!important;margin:0!important;padding:0!important;list-style:none}
 body:not(.yr-admin)>footer ul>li{margin:0!important;padding:0!important;line-height:1.45}
 body:not(.yr-admin)>footer ul>li>a{display:flex;align-items:center;min-height:32px;padding:6px 0;font-size:13px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
 body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child{padding-top:16px!important;gap:10px 18px!important}
 body:not(.yr-admin)>footer:has(.yr-footer-blog)>div>div:last-child>.yr-footer-legal{margin:0!important}
}
