@import url('typography-common.css');
@import url('category-tabs.css');
/* Shared footer: company | one-row credentials | contact. */
/* Keep legacy multi-column navigation rules out of the shared category footer. */
.footer .footer-links{padding-block:0;border-top:0;align-items:normal}
.footer .footer-links a{display:block;min-height:auto;font-size:inherit}
.footer .footer-top{justify-content:space-between}
.site-footer .footer-top>p{margin-left:0}
.footer-official-brand{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:155px;height:68px;padding:9px 10px;background:#FFFFFF;border-radius:8px}
.footer-official-brand img{display:block;width:135px;height:50px;object-fit:contain}
.footer-credentials{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;min-width:0}
.footer-credential{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:90px;margin:0;padding:8px 3px;background:#FFF;border:1px solid #DDDFD7;border-radius:8px;color:#143628!important;text-align:center}
.footer-credential img{display:block!important;width:35px!important;height:50px!important;object-fit:contain!important;object-position:center!important;flex:none}
.footer-credential figcaption{font:600 9px/1.4 Pretendard,'Malgun Gothic',sans-serif;white-space:normal;max-width:100%}
.footer-to-top{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #FFFFFF66;border-radius:8px;background:#FFF;flex-shrink:0}
.footer-to-top img,.site-footer .back-top img{display:block;width:22px!important;height:22px!important;object-fit:contain!important}
.site-footer .back-top{display:flex;align-items:center;justify-content:center}
.site-footer img.footer-inline-icon{display:inline-block!important;width:18px!important;height:18px!important;vertical-align:middle;object-fit:contain!important}
.footer-to-top:focus-visible{outline:3px solid #C8963E;outline-offset:4px}
.footer .footer-details,.site-footer .footer-details{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,600px) minmax(0,.85fr);align-items:center;gap:24px;margin-top:28px}
.footer-details .footer-credentials,.site-footer .footer-details .footer-credentials{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:0;width:100%}
.footer-details .footer-credentials,.site-footer .footer-details .footer-credentials{grid-template-columns:repeat(8,minmax(0,1fr))}
.footer-credential figcaption{min-height:26px;display:flex;flex-direction:column;justify-content:center}
.footer-details .footer-company-info,.footer-details .footer-contact-info{min-width:0;line-height:1.9}
.footer-details .footer-contact-info{text-align:right}
.site-footer .footer-details .footer-contact-info p{max-width:260px;margin-left:auto}
.site-footer .footer-copyright{margin-top:22px;font-size:11px;color:var(--muted)}
@media(max-width:1100px){.footer .footer-details,.site-footer .footer-details{grid-template-columns:1fr;gap:24px;align-items:start}.footer-details .footer-credentials,.site-footer .footer-details .footer-credentials{display:flex;flex-wrap:nowrap;gap:7px;width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#C8963E transparent;padding-bottom:8px;overscroll-behavior-x:contain}.footer-credential{flex:0 0 66px}.footer-details .footer-contact-info{text-align:left}.site-footer .footer-details .footer-contact-info p{max-width:none;margin-left:0}.footer .footer-info.footer-details>div+div{margin-top:0}}
@media(max-width:760px){.footer .footer-top{position:relative;padding-right:48px}.footer .footer-to-top{position:absolute;top:0;right:0;width:36px;height:36px}}


/* Leave the fixed desktop quick menu outside the footer's interactive area. */
@media (min-width:1101px) {
  .footer > .wrap, .site-footer > .container {
    max-width: min(1280px, calc(100% - 2 * var(--desktop-quick-menu-space, 128px)));
  }
  .footer[data-quick-menu-clearance] > .wrap { width: min(1280px, calc(100% - 280px)); }
}
