/* Travel Tribe static-site fixes */
:where(img[width][height]){height:auto}
@media (max-width:760px){
  .tt-sidebar nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px!important;overflow:visible!important;flex-wrap:wrap!important;padding:3px 3px 6px!important}
  .tt-sidebar nav button{grid-column:span 2;min-width:0;white-space:nowrap;justify-content:center;padding:9px 6px!important}
  .tt-sidebar nav button:nth-child(n+4){grid-column:span 3}
  .tt-sidebar nav button .tt-nav-caption{overflow:hidden;text-overflow:ellipsis}
}
.tt-join-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tt-join-form{display:grid;gap:14px;max-width:560px}
.tt-join-form label{display:grid;gap:6px;font-weight:600}
.tt-join-form input,.tt-join-form select,.tt-join-form textarea{font:inherit;padding:10px 12px;border:2px solid #182344;border-radius:10px;background:#fff;width:100%;box-sizing:border-box}
.tt-join-form button{justify-self:start;cursor:pointer}
.tt-hp{position:absolute!important;left:-9999px!important}
.tt-static-foot{text-align:center;padding:28px 18px 40px;font-size:14px}
.tt-static-foot a{color:inherit}
.tt-legal{margin:8px 0 0;font-size:12px}
.tt-legal a{color:inherit}

/* ---- polish: shared site bar ---- */
.tt-sitebar{position:relative;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;width:100%;padding:7px max(16px,calc(50vw - 610px));background:#fff7d6;border-bottom:3px solid #0d2030;font-family:"DM Sans",system-ui,sans-serif}
.tt-sitebar-brand{font:800 11px/1 "DM Sans",system-ui,sans-serif;letter-spacing:.16em;color:#0d2030;white-space:nowrap}
.tt-sitebar-brand::before{content:"✦ "}
.tt-sitebar-links{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.tt-sitebar a{display:inline-block;padding:6px 12px;border:2px solid transparent;border-radius:999px;color:#0d2030;font:700 13px/1.1 "DM Sans",system-ui,sans-serif;text-decoration:none;white-space:nowrap}
.tt-sitebar a:hover{border-color:#0d2030;background:#fff}
.tt-sitebar a:focus-visible{outline:3px solid #ed3b2e;outline-offset:2px}
.tt-sitebar a[aria-current="page"]{background:#f8bd2b;border-color:#0d2030;box-shadow:2px 2px 0 #0d2030}
@media (min-width:761px){.tt-sitebar--home{margin-left:230px;width:calc(100% - 230px)}.tt-sitebar--home .tt-sitebar-brand{visibility:hidden}}
@media (min-width:761px) and (max-width:1100px){.tt-sitebar--home{margin-left:210px;width:calc(100% - 210px)}}
@media (max-width:760px){
 .tt-sitebar{padding:6px 4px;justify-content:center}
 .tt-sitebar-brand{display:none}
 .tt-sitebar-links{justify-content:center;gap:2px}
 .tt-sitebar a{padding:6px 7px;font-size:12px}
}
@media (max-width:359px){.tt-sitebar a{padding:5px 5px;font-size:11.5px}}
/* ---- polish: Tribe moment ---- */
.tt-moment{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:center;box-sizing:border-box;max-width:640px;margin:22px auto 4px;padding:12px;background:#fffdf8;border:3px solid #0d2030;border-radius:16px;box-shadow:6px 6px 0 #0d2030;text-align:left;transform:rotate(-.5deg);position:relative;z-index:2}
.tt-moment-photo{display:block;line-height:0}
.tt-moment-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:2px solid #0d2030;border-radius:10px}
.tt-moment .tt-moment-eyebrow{margin:0 0 4px;font:800 10.5px/1.3 "DM Sans",system-ui,sans-serif;letter-spacing:.12em;color:#ed3b2e}
.tt-moment h2{margin:0 0 4px;font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-size:22px;line-height:1.15;font-weight:700;color:#0d2030}
.tt-moment-copy>p:not(.tt-moment-eyebrow){margin:0 0 10px;font-size:14px;line-height:1.45;color:#182344}
.tt-moment-links{display:flex;flex-wrap:wrap;gap:8px}
.tt-moment-links a{display:inline-block;padding:7px 12px;background:#f8bd2b;border:2px solid #0d2030;border-radius:10px;box-shadow:3px 3px 0 #0d2030;color:#0d2030;font:700 13px/1.1 "DM Sans",system-ui,sans-serif;text-decoration:none;white-space:nowrap}
.tt-moment-links a+a{background:#fff}
.tt-moment-links a:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 #0d2030}
@media (max-width:560px){
 .tt-moment{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:10px;margin:18px 0 4px;transform:none}
 .tt-moment h2{font-size:18px}
 .tt-moment-copy>p:not(.tt-moment-eyebrow){font-size:13px;margin-bottom:8px}
 .tt-moment .tt-moment-eyebrow{font-size:9.5px;letter-spacing:.08em}
 .tt-moment-links a{padding:6px 9px;font-size:12px}
 .tt-moment-photo{align-self:stretch}
 .tt-moment-photo img{height:100%;min-height:150px;aspect-ratio:auto;object-position:50% 40%}
}
/* ---- polish: "Saved on this browser" note ---- */
.tt-saved-note{display:flex;align-items:flex-start;gap:8px;box-sizing:border-box;width:fit-content;max-width:100%;margin:10px auto;padding:7px 12px;background:#fffdf8;border:2px dashed #0d2030;border-radius:12px;color:#0d2030;font:600 12px/1.45 "DM Sans",system-ui,sans-serif;text-align:left;letter-spacing:0;text-transform:none}
.tt-saved-note::before{content:"✓";flex:none;display:inline-grid;place-items:center;width:18px;height:18px;margin-top:-1px;border-radius:50%;background:#86b744;color:#fff;font-size:11px;font-weight:800;line-height:1}
.tt-saved-note a{color:inherit;font-weight:800;text-decoration:underline;white-space:nowrap}
.challenge-note .tt-saved-note{margin:0 auto 8px}
.info-page .tt-saved-note{margin:0 0 12px}
.info-page p.tt-saved-note,.challenge-note span.tt-saved-note,.tt-app p.tt-saved-note{color:#0d2030;font:600 12px/1.45 "DM Sans",system-ui,sans-serif;letter-spacing:0}
#saved-on-this-browser{scroll-margin-top:110px}
