/* Scoped adaptation of the live main site's header/footer stylesheet. */
body:has(#tpghf-header) #masthead,
body:has(#tpghf-header) #site-navigation,
body:has(#tpghf-header) #mobile-header,
body:has(#tpghf-header) #sticky-navigation,
body:has(#tpghf-footer) .site-footer {display:none!important}
.tpghf-header,.tpghf-footer,.tpghf-search-modal{--ink:#123f36;--forest:#124c40;--cream:#fafaf4;--line:#d8e2d4;--shadow:0 14px 45px #123f360b;font:16px/1.7 Arial,Helvetica,sans-serif;color:var(--ink);letter-spacing:normal;box-sizing:border-box}
.tpghf-header *,.tpghf-footer *,.tpghf-search-modal *{box-sizing:border-box}
.tpghf-wrap{width:min(1180px,calc(100% - 64px));margin:0 auto}
.tpghf-header{position:sticky;top:0;background:#fafaf4f5;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);z-index:100;width:100%}
.admin-bar .tpghf-header{top:32px}
.tpghf-header-inner{display:flex;align-items:center;gap:26px;min-height:98px}
.tpghf-brand{width:230px;flex-shrink:0;height:70px;overflow:hidden;display:block;position:relative;text-decoration:none}
.tpghf-brand img{position:absolute;width:282px;max-width:none;height:auto;top:-32px;left:-27px;mix-blend-mode:multiply;display:block}
.tpghf-nav{display:flex;align-items:center;gap:25px;margin-left:auto;font-size:.86rem;font-weight:700}
.tpghf-nav a{color:var(--ink);text-decoration:none;white-space:nowrap}
.tpghf-nav a:hover,.tpghf-nav a[aria-current],.tpghf-nav .tpghf-blog-link{color:#527822;text-decoration:underline;text-underline-offset:5px}
.tpghf-icon{width:44px;height:44px;background:transparent!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex-shrink:0;padding:0;cursor:pointer;line-height:1;font-size:26px}
.tpghf-icon svg{width:20px;height:20px;display:block}
.tpghf-header .tpghf-menu-toggle{display:none}
.tpghf-header [hidden]{display:none!important}
.tpghf-header a:focus-visible,.tpghf-header button:focus-visible,.tpghf-footer a:focus-visible,.tpghf-search-form input:focus-visible{outline:3px solid #b27128;outline-offset:4px}
.tpghf-search-modal{width:min(720px,calc(100% - 30px));border:1px solid var(--line);border-radius:22px;padding:28px;max-height:85dvh;background:var(--cream);margin:auto;position:fixed;inset:0;overflow:auto}
.tpghf-search-modal:not([open]){display:none}
.tpghf-search-modal::backdrop{background:#123f36a0}
.tpghf-modal-top{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px;align-items:center}
.tpghf-modal-top h2{font:800 1.8rem/1.14 'Trebuchet MS',Arial,sans-serif;color:var(--ink);margin:5px 0}
.tpghf-search-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:0}
.tpghf-search-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;background:white;padding:12px 18px;color:var(--ink);font:inherit}
.tpghf-search-form button{background:var(--forest);color:white;border:1px solid var(--forest);border-radius:999px;font:700 .88rem/1.4 Arial,sans-serif;padding:12px 22px;cursor:pointer;min-height:48px}
.tpghf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tpghf-noscript{padding-bottom:10px}
.tpghf-footer{background:var(--forest);color:white;padding:48px 0 85px;margin-top:38px;width:100%}
.tpghf-footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,minmax(0,1fr));gap:25px}
.tpghf-footer .tpghf-brand{background:var(--cream);border-radius:12px;width:212px;height:65px;margin-bottom:20px;max-width:100%}
.tpghf-footer .tpghf-brand img{width:257px;top:-29px;left:-24px}
.tpghf-footer h3{font:800 1rem/1.14 'Trebuchet MS',Arial,sans-serif;color:white;letter-spacing:0;margin:8px 0 16px}
.tpghf-footer a{display:block;font-size:.8rem;color:#e0eadd;margin-bottom:9px;text-decoration:none;overflow-wrap:anywhere}
.tpghf-footer a:hover{text-decoration:underline;text-underline-offset:4px;color:white}
.tpghf-footer p{font-size:.82rem;color:#d6e4d1;max-width:240px;margin:0 0 20px}
.tpghf-footer .tpghf-imagery-disclosure{font-size:.75rem;color:#d6e4d1}
.tpghf-footer-bottom{border-top:1px solid #ffffff30;margin-top:32px;padding-top:20px;display:flex;gap:25px;justify-content:space-between;font-size:.72rem;color:#d0dfcf}
.tpghf-footer-bottom a{display:inline;font-size:inherit}
@media(max-width:1050px){.tpghf-wrap{width:calc(100% - 44px)}.tpghf-header-inner{gap:15px}.tpghf-brand{width:195px}.tpghf-brand img{width:240px;top:-28px;left:-24px}.tpghf-nav{gap:14px;font-size:.78rem}.tpghf-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tpghf-footer-brand{grid-column:1/-1}.tpghf-footer-brand p{max-width:400px}}
@media(max-width:782px){.admin-bar .tpghf-header{top:46px}}
/* Slightly wider breakpoint prevents menu overflow in the blog theme. */
@media(max-width:850px){.tpghf-wrap{width:calc(100% - 36px)}.tpghf-header-inner{min-height:82px;gap:12px;flex-wrap:wrap}.tpghf-brand{width:192px;height:62px}.tpghf-brand img{width:240px;top:-29px;left:-24px}.tpghf-header.tpghf-js .tpghf-menu-toggle{display:grid;margin-left:auto}.tpghf-header.tpghf-js .tpghf-nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:var(--cream);padding:20px 25px;border-bottom:1px solid var(--line);box-shadow:var(--shadow);font-size:1rem;flex-direction:column;align-items:stretch;gap:0;max-height:65vh;overflow:auto}.tpghf-header.tpghf-js .tpghf-nav.tpghf-open{display:flex}.tpghf-header:not(.tpghf-js) .tpghf-nav{width:100%;flex-wrap:wrap;padding:0 0 10px}.tpghf-nav a{padding:14px 0}.tpghf-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.tpghf-footer-bottom{flex-direction:column;gap:8px}}
@media(max-width:600px){.admin-bar .tpghf-header{top:0}}
@media(max-width:420px){.tpghf-wrap{width:calc(100% - 28px)}.tpghf-brand{width:174px}.tpghf-brand img{width:218px;top:-24px;left:-22px}.tpghf-header-inner{gap:8px}.tpghf-icon{width:40px;height:40px}.tpghf-search-modal{padding:20px}.tpghf-search-form input{flex-basis:100%}.tpghf-search-form button{width:100%}}
@media(max-width:310px){.tpghf-brand{width:145px}.tpghf-brand img{width:190px;left:-22px;top:-20px}.tpghf-footer-grid{grid-template-columns:1fr}}
