/* Approved compact footer. Shared page, consultation and popup styles stay in style.css. */
footer { padding:48px 0 64px; }
footer .topWrap { align-items:center; padding-bottom:24px; }
footer .topWrap .logoWrap img { max-width:150px; width:150px; }
footer .topWrap .linkWrap { padding-top:0; }
footer .topWrap .linkWrap > ul { gap:12px; }
footer .topWrap .linkWrap > ul > li { font-size:16px; letter-spacing:-.6px; }
footer .topWrap .linkWrap ul li.clickToDownload a { width:190px; height:40px; }
footer .topWrap .linkWrap ul li.goToConsult { padding:8px 18px; }
footer .footerDropdown { position:relative; }
footer .footerDropdownButton {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  width:100%; min-height:44px; padding:10px 20px; border:0; border-radius:50px;
  background:#424242; color:#fff; font:inherit; white-space:nowrap; cursor:pointer;
}
footer .footerDropdownButton .ico { width:20px; height:20px; transition:transform .3s; }
footer .footerDropdownButton[aria-expanded="true"] .ico { transform:rotate(45deg); }
footer .footerDropdownPanel {
  position:absolute; left:0; bottom:calc(100% + 10px); width:100%; z-index:3;
}
footer .footerDropdownPanel[hidden] { display:none; }
footer .footerDropdownPanel[data-direction="down"] { bottom:auto; top:calc(100% + 10px); }
footer .footerDropdown .footerDropdownPanel ul {
  display:flex; flex-direction:column; align-items:stretch; gap:0; margin:0; padding:8px 18px;
  border-radius:14px; border:1px solid #444; background:#181818; color:#fff;
  max-height:min(360px, var(--footer-dropdown-height, 60vh)); overflow:auto; box-sizing:border-box;
  filter:drop-shadow(9px 12px 13.4px rgba(0,0,0,.5));
}
footer .footerDropdown .footerDropdownPanel ul li {
  width:100%; margin:0; font-size:15px; font-weight:400; line-height:20px; letter-spacing:-.4px;
}
footer .footerDropdownPanel li a { display:block; padding:8px 0; }
footer .footerDropdownPanel li a:hover { color:#b9d2ff; }
footer .footerDropdownButton:focus-visible, footer .footerDropdownPanel a:focus-visible {
  outline:2px solid #fff; outline-offset:3px;
}
footer .footerPC .btmWrap {
  display:grid; grid-template-columns:minmax(280px,.9fr) minmax(380px,1.2fr); gap:80px; padding-top:24px;
}
footer .footerPC .leftBox, footer .footerPC .centerBox { padding-top:10px; gap:18px; }
footer .footerPC .centerBox .row { gap:48px; }
footer .contentBox .title { font-size:18px; margin-bottom:4px; }
footer .contentBox .content { font-size:16px; line-height:26px; }
footer .etcBox .popupBtn { font-size:14px; }
footer .etcBox .copyRightBox { font-size:12px; line-height:1.5; }
footer .footerShortcutLinks { font-size:16px; font-weight:600; letter-spacing:-.6px; }
footer .footerShortcutLinks > ul { margin:0; padding:0; list-style:none; }
footer .footerShortcutLinks .footerDropdown { width:max-content; max-width:100%; }
footer .footerPC .footerShortcutCell { display:flex; align-items:center; }
/* Keep footer controls clear of the existing fixed consultation rail. */
@media(min-width:1025px) {
  footer { padding-right:80px; }
}
@media(max-width:1200px) and (min-width:1001px) {
  footer .footerPC .btmWrap { gap:40px; }
  footer .footerPC .contentBox .title { font-size:16px; }
  footer .footerPC .contentBox .content { font-size:14px; }
  footer .topWrap .linkWrap > ul { gap:8px; }
  footer .topWrap .linkWrap > ul > li { font-size:14px; }
  footer .topWrap .linkWrap ul li.clickToDownload a { width:170px; }
  footer .footerDropdownButton { padding:10px 15px; gap:10px; }
}
@media(max-width:1000px) {
  footer { padding:34px 0 40px; }
  footer .topWrap { gap:24px; padding-bottom:22px; }
  footer .topWrap .logoWrap img { width:104px; }
  footer .topWrap .linkWrap { width:100%; }
  footer .footerMo .topWrap .linkWrap > ul {
    display:flex; flex-direction:row; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px;
  }
  footer .topWrap .linkWrap > ul > li { font-size:13px; }
  footer .topWrap .linkWrap > ul > .goToConsult { padding:8px 18px; }
  footer .footerDropdownButton { padding:10px 13px; gap:7px; }
  footer .footerDropdownButton .ico { width:17px; height:17px; }
  footer .footerDropdown .footerDropdownPanel ul li { font-size:13px; }
  footer .centerBox { gap:12px 10px; padding:20px 0; }
  footer .centerBox .contentBox { flex:1 1 calc(50% - 10px); gap:4px 6px; flex-wrap:wrap; }
  footer .centerBox .contentBox:last-child { flex-basis:100%; }
  footer .centerBox .contentBox .title { font-size:13px; margin:0; }
  footer .centerBox .contentBox .content { font-size:13px; line-height:21px; }
  footer .downloadBox { padding:15px 0; }
  footer .downloadBox a { font-size:14px; }
  footer .etcBox .popupBtnBox .popupBtn { font-size:12px; }
  footer .etcBox .copyRightBox { font-size:12px; }
  footer .footerShortcutRow { padding:16px 0; border-top:1px solid rgba(255,255,255,.2); }
  footer .footerShortcutRow .footerShortcutLinks { font-size:13px; }
  footer .footerShortcutRow .footerDropdown { width:100%; }
  footer .footerShortcutRow .footerDropdownButton { padding:10px 18px; }
}
@media(prefers-reduced-motion:reduce) {
  footer .footerDropdownButton .ico { transition:none; }
}
