/* Shared public header/footer. Matches the installed homepage, 2026-10-21. */
:root{--kp-shell-height:94px}
.kp-shared-header,.kp-shared-footer{font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.65;letter-spacing:normal;text-align:left;-webkit-font-smoothing:antialiased}
.kp-shared-header *,.kp-shared-footer *{box-sizing:border-box}
.kp-shared-header a,.kp-shared-footer a{color:inherit;text-decoration:none;touch-action:manipulation}
.kp-shared-header a:focus-visible,.kp-shared-footer a:focus-visible{outline:2px solid #c9a16e;outline-offset:5px}
.kp-shared-wrap{width:min(1240px,calc(100% - clamp(20px,4.5vw,70px)*2));margin-inline:auto}
.kp-shared-header{position:sticky;top:0;z-index:100;background:rgba(11,21,29,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:0}
.kp-shared-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:94px}
.kp-shared-brand{display:flex;align-items:center;flex:0 0 auto;min-height:44px}
.kp-shared-header .kp-shared-brand img{display:block;width:auto;height:54px;max-width:none;object-fit:contain}
.kp-shared-nav{display:flex;align-items:center;gap:18px;margin-left:auto}
.kp-shared-header .kp-shared-nav a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#c3cbd0;line-height:1.5;white-space:nowrap}
.kp-shared-header .kp-shared-nav a:hover{color:#c9a16e}
.kp-shared-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.kp-shared-header .kp-shared-booking,.kp-shared-header .kp-shared-cabinet{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;min-height:46px;line-height:1.3;white-space:nowrap;border-radius:999px;padding:0 20px}
.kp-shared-header .kp-shared-booking{gap:5px;background:#c9a16e;color:#16242c;border:0;transition:background .2s,transform .3s}
.kp-shared-header .kp-shared-booking:hover{background:#dfba8b;transform:translateY(-2px)}
.kp-shared-header .kp-shared-cabinet{gap:9px;border:1px solid #b6c4cd38;color:#e4ebef;background:#ffffff03;transition:background .2s,border-color .2s}
.kp-shared-header .kp-shared-cabinet:hover{background:#c9a16e12;border-color:#c9a16e80}
.kp-shared-cabinet svg{display:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.kp-shared-footer{padding:46px 0 28px;margin:0;border-top:1px solid #ffffff14;background:rgba(6,13,19,.9)}
.kp-shared-footer-top{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-bottom:24px;border-bottom:1px solid #ffffff14}
.kp-shared-copyright{color:#a4b2bc;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.kp-shared-legal{display:flex;align-items:center;justify-content:flex-end;gap:10px 24px;flex-wrap:wrap}
.kp-shared-footer .kp-shared-legal a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;color:#aeb8be;font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;line-height:1.65;transition:color .2s}
.kp-shared-footer .kp-shared-legal a:hover{color:#c9a16e}
.kp-shared-footer .kp-shared-note{max-width:1080px;margin:23px auto 0;padding:0;color:#9aabb6;font-size:12px;font-weight:400;line-height:1.65;letter-spacing:.045em;text-transform:uppercase;text-align:center;overflow-wrap:break-word}
html{scroll-padding-top:calc(var(--kp-shell-height) + 24px)}
/* library.css contains obsolete !important rules for a removed JS wrapper.
   Override those exact properties so native sticky follows the article. */
@media(min-width:901px){
 .kp-v2.article-page .article-aside{display:block;position:sticky!important;top:calc(var(--kp-shell-height) + 20px);align-self:start!important;min-height:0;max-height:calc(100vh - var(--kp-shell-height) - 40px)!important;max-height:calc(100dvh - var(--kp-shell-height) - 40px)!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:#c9a16e55 transparent}
}
@media(max-width:1399px){
 :root{--kp-shell-height:131px}
 .kp-shared-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "nav nav";gap:10px 20px;padding-block:16px 13px}
 .kp-shared-brand{grid-area:brand;min-width:0}
 .kp-shared-actions{grid-area:actions}
 .kp-shared-nav{grid-area:nav;justify-content:center;margin:0;gap:36px}
 .kp-shared-header .kp-shared-brand img{height:48px}
}
@media(max-width:1050px){
 .kp-shared-footer-top{flex-direction:column;align-items:flex-start}
 .kp-shared-legal{justify-content:flex-start}
 .kp-shared-copyright{white-space:normal}
}
@media(max-width:760px){
 :root{--kp-shell-height:106px}
 .kp-shared-inner{width:calc(100% - 22px);gap:8px;padding-block:10px 0;min-height:0}
 .kp-shared-header .kp-shared-brand img{width:clamp(156px,44vw,178px);height:auto;max-width:178px}
 .kp-shared-actions{gap:6px}
 .kp-shared-header .kp-shared-booking{min-height:44px;padding:0 13px;font-size:10px;letter-spacing:.035em}
 .kp-shared-extra{display:none}
 .kp-shared-header .kp-shared-cabinet{width:44px;min-width:44px;min-height:44px;padding:0;justify-content:center}
 .kp-shared-cabinet span{display:none}
 .kp-shared-cabinet svg{display:block;width:17px;height:17px}
 .kp-shared-nav{gap:0;width:100%;justify-content:space-between}
 .kp-shared-header .kp-shared-nav a{flex:1 1 0;min-width:0;justify-content:center;padding:10px 3px;font-size:10.5px;line-height:1.15;letter-spacing:.01em;text-transform:none;white-space:normal;text-align:center}
 .kp-shared-footer .kp-shared-note{text-align:left}
 .kp-shared-footer{padding-top:32px}
}
@media(max-width:600px){
 :root{--kp-shell-height:150px}
 .kp-shared-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
 .kp-shared-header .kp-shared-nav a{font-size:12px;line-height:1.35;padding:9px 4px}
}
@media(max-width:390px){
 .kp-shared-inner{width:calc(100% - 18px);column-gap:6px}
 .kp-shared-header .kp-shared-brand img{width:150px;max-width:100%}
 .kp-shared-actions{gap:5px}
 .kp-shared-header .kp-shared-booking{padding:0 10px;font-size:9.2px}
}
@media(prefers-reduced-motion:reduce){.kp-shared-header a,.kp-shared-footer a{transition:none!important}html{scroll-behavior:auto}}
@media print{.kp-shared-header,.kp-shared-footer{display:none!important}}
