/* r43 targeted repair: guide overlap, footer contrast/overflow, editorial photo sizing. */
html,body{max-width:100%;overflow-x:clip}
.site-footer,.site-footer *,.knowledge-guides,.knowledge-guides *{box-sizing:border-box}
.site-footer{width:100%!important;max-width:100%!important;overflow-x:clip!important;background:#0c2924!important;color:#f3faf7!important}
.site-footer>.container,.site-footer .container{width:min(100% - 32px,1160px)!important;max-width:100%!important;margin-inline:auto!important;padding-inline:0!important;transform:none!important;left:auto!important;right:auto!important}
.site-footer .footer-grid{display:grid!important;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr))!important;gap:clamp(18px,3vw,36px)!important;width:100%!important;min-width:0!important;transform:none!important}
.site-footer .footer-grid>*{min-width:0!important;max-width:100%!important;grid-column:auto!important;overflow-wrap:anywhere}
.site-footer :is(h2,h3,h4,p,a,li,small,span,strong),.site-footer .footer-brand p,.site-footer .footer-bottom,.site-footer .footer-bottom p{color:#edf8f3!important;opacity:1!important;text-shadow:none!important}
.site-footer a:hover,.site-footer a:focus-visible{color:#a4e8d5!important;text-decoration:underline!important}
.site-footer .footer-bottom{display:flex!important;flex-wrap:wrap!important;gap:12px 24px!important;min-width:0!important}
.site-footer .footer-bottom>*{min-width:0!important;overflow-wrap:anywhere}
.knowledge-guides .knowledge-guides-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important;align-items:start!important}
.knowledge-guides .knowledge-guides-intro{position:static!important;top:auto!important;inset:auto!important;transform:none!important;z-index:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;align-self:auto!important}
.knowledge-guides .guide-toolbar{position:static!important;transform:none!important;z-index:auto!important;display:flex!important;flex-direction:column!important;gap:14px!important;margin:20px 0 0!important;min-width:0!important}
.knowledge-guides .guide-list{position:relative!important;z-index:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;margin:0!important;min-width:0!important}
.knowledge-guides .guide-item{position:relative!important;min-width:0!important;margin:0!important;overflow:hidden!important}
.knowledge-guides .guide-item>.guide-toggle{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;height:auto!important;min-height:74px!important;padding:17px 20px!important;box-sizing:border-box!important;transform:none!important}
.knowledge-guides .guide-item>.guide-toggle>span:first-child{display:block!important;min-width:0!important;flex:1 1 auto!important}
.knowledge-guides .guide-item>.guide-toggle>span:last-child{flex:0 0 32px!important}
.knowledge-guides .guide-panel{position:static!important;max-width:100%!important;min-width:0!important}
.knowledge-guides .search-field,.knowledge-guides .search-field input{position:static!important;max-width:100%!important;min-width:0!important}
.knowledge-guides .filter-row{position:static!important;z-index:auto!important;min-width:0!important}
/* Editorial images: keep original aspect ratio, but avoid oversized full-width display. */
:is(.r39-editorial-photo,.r39-home-photo,.gavopia-meaning-media,.gavopia-personal-media,.gavopia-photo-grid figure,.gavo-story-photo,.editorial-split-media,.contact-editorial-photo,.home-editorial-image){width:min(100%,760px)!important;max-width:100%!important;margin-inline:auto!important}
:is(.r39-editorial-photo,.r39-home-photo,.gavopia-meaning-media,.gavopia-personal-media,.gavopia-photo-grid figure,.gavo-story-photo,.editorial-split-media,.contact-editorial-photo,.home-editorial-image) img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:540px!important;object-fit:contain!important;transform:none!important;margin-inline:auto!important}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.site-footer .footer-brand{grid-column:1/-1!important}}
@media(max-width:640px){.site-footer{padding:42px 0 26px!important}.site-footer .footer-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}.site-footer .footer-grid>*{grid-column:1!important}.site-footer .footer-bottom{flex-direction:column!important;align-items:flex-start!important}.knowledge-guides .knowledge-guides-layout{gap:22px!important}.knowledge-guides .guide-item>.guide-toggle{padding:16px!important;min-height:68px!important}.knowledge-guides .filter-row{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:8px!important}.knowledge-guides .filter-button{min-width:0!important;max-width:100%!important;white-space:normal!important}.r39-editorial-photo img,.r39-home-photo img{max-height:420px!important}}
