/* Header and footer only. Page content, theme functions and tracking are unchanged. */
/* Unlike hidden, clip does not create an ancestor scroll container that traps sticky positioning. */
html,body{overflow-x:clip!important}
html{scroll-padding-top:90px}
@media(max-width:980px){html{scroll-padding-top:140px}}
@media(max-width:680px){html{scroll-padding-top:80px}}
.tm-header-book{display:none}
@media(max-width:680px){
  .tm-site-header .tm-nav{grid-template-columns:minmax(0,1fr) auto auto;gap:0 7px}
  .tm-site-header .tm-brand{width:100%;max-width:180px;min-width:0}
  .tm-site-header .tm-brand img{width:132%;left:-17.4%;top:50%;transform:translateY(-50%)}
  .tm-site-header .tm-header-book{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 10px;border:1px solid #f69d41;border-radius:6px;background:#f69d41;color:#2b1711;font:800 11px/1.2 Poppins,Arial,sans-serif;text-decoration:none;white-space:nowrap}
  .tm-site-header .has-menu-toggle .tm-menu-toggle{min-height:44px;padding:9px 8px;gap:5px;font-size:11px}
  .tm-site-header .tm-header-book:focus-visible{outline:3px solid #fff;outline-offset:2px}
}
.tm-footer-c{background:#171411;color:#f9f1e5;text-align:center;padding:40px 24px 28px;font:400 14px/1.5 Arial,sans-serif}
.tm-footer-c *{box-sizing:border-box}
.tm-footer-c-inner{width:100%;max-width:600px;margin:0 auto}
.tm-footer-c a{color:inherit;text-decoration:none}
.tm-footer-c a:hover{text-decoration:underline;text-underline-offset:3px}
.tm-footer-c a:focus-visible,.tm-footer-c summary:focus-visible{outline:2px solid #f69d41;outline-offset:4px}
.tm-footer-c-brand{display:block;position:relative;width:174px;height:38px;overflow:hidden;margin:0 auto 20px}
.tm-footer-c-brand img{position:absolute;display:block;width:237px;max-width:none;height:auto;left:-31px;top:-15px}
.tm-footer-c h2{color:#f9f1e5;font:400 27px/1.15 Georgia,serif;margin:0 0 14px}
.tm-footer-c p{font:400 14px/1.65 Arial,sans-serif;margin:0 0 15px}
.tm-footer-c-book{display:flex;align-items:center;justify-content:center;gap:6px;min-height:50px;max-width:300px;margin:20px auto;padding:14px 18px;border:1px solid #d6b47c;border-radius:5px;font-weight:600}
.tm-footer-c-quick{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 19px;padding-bottom:18px}
.tm-footer-c-quick a{display:flex;align-items:center;min-height:44px;font-size:13px}
.tm-footer-c-more{max-width:520px;margin:auto;text-align:left;border-top:1px solid #514638;padding:7px 0}
.tm-footer-c-more summary{cursor:pointer;font-size:13px;min-height:44px;padding:12px 0}
.tm-footer-c-more nav a{display:flex;align-items:center;gap:4px;min-height:44px;padding:10px 0;font-size:13px}
.tm-footer-c-legal{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 15px;border-top:1px solid #514638;padding-top:14px;margin-top:8px}
.tm-footer-c-legal a{display:flex;align-items:center;min-height:44px;font-size:12px}
.tm-footer-c .tm-footer-c-copyright{font-size:11px;margin:9px 0 0;color:#c7b9aa}
