/* The dropdown and its trigger form one continuous pointer target. */
/* Brand visibility: preserve the logo ratio while increasing its actual size. */
.site-header .brand img,.studio-home .site-header .brand img{height:52px;width:auto}
@media(min-width:1025px) and (max-width:1200px){.site-header .brand img,.studio-home .site-header .brand img{height:46px}.site-header .header-inner{gap:20px}}
@media(max-width:1024px){.site-header .brand img,.studio-home .site-header .brand img{height:43px}}
@media(max-width:360px){.site-header .brand img,.studio-home .site-header .brand img{height:38px}.site-header .header-inner{gap:10px}.site-header .header-cta{white-space:nowrap;font-size:12px;padding-left:10px;padding-right:10px;flex-shrink:0}}
.gnb li.has-sub>.mega:before{content:'';position:absolute;left:0;right:0;height:26px;bottom:100%;background:transparent}
.gnb li.has-sub:has(.rk-service-menu)>.mega:before{height:32px}
.rk-service-menu{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.rk-service-menu .mega-col h4{font-size:13px;letter-spacing:-.025em;white-space:nowrap}
.rk-service-menu .mega-col a{font-size:13px;min-height:40px;line-height:1.6}
.gnb .mega a:focus-visible{outline:2px solid #b5121b;outline-offset:-2px;background:#edf1ec}
.gnb .mega{max-height:calc(100dvh - 140px);overflow-y:auto;overscroll-behavior:contain}
/* Overflow clipping would cut the invisible bridge: put it on the parent too. */
@media(min-width:1025px){.gnb li.has-sub>button{position:relative}.gnb li.has-sub.open>button:after{content:'';position:absolute;top:100%;left:0;right:0;height:32px}.st-hero-links{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1024px){.mobile-nav .sub h5{margin:18px 0 6px;color:#9b4700;font-size:14px}.mobile-nav .sub a{min-height:44px}.mobile-nav .sub h5:first-child{margin-top:0}}
@media(max-width:767px){.st-hero-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rk-ai-main{scroll-margin-top:110px}
.rk-ai-main .rk-ai-intro{max-width:780px}
.rk-ai-main .rk-ai-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.rk-ai-main .grid{margin-top:32px}
.rk-ai-main .card h3{line-height:1.5}
.rk-ai-main .card p{margin-top:12px}
.rk-ai-main .rk-ai-source{font-size:13px;margin-top:28px;color:#506669}
