/* Tradewinds header area stylesheet (round 1, header slice, 2026-11-27): the page frame, banner, navy band, black menu with
   both dropdowns, the phone hamburger, and the footer. The old site's #wrapper / header#header / #cssmenu / footer#footer,
   measured live at 1366 and 390 (old css: nav_styles.css, main.min.css, style-dev.20240411.min.css). Loaded after tw-theme.css,
   which owns the role classes (.tw-menu-link, .tw-toggler, .tw-band, .tw-footer ...) and the photo behind the card. */

/* The frame: header.php opens .tw-wrapper > .tw-card, footer.php closes them. */
.tw-wrapper { overflow: hidden; }
.tw-card { background-color: transparent; position: relative; }
.tw-card > main { display: block; }
.tw-header { display: block; position: relative; z-index: 20; }
.tw-header a { text-decoration: none; }

/* Banner: the 1200 x 176 image, shrinking with the card; rounded top corners. */
.tw-banner { overflow: hidden; border-radius: 30px 30px 0 0; }
.tw-banner > img { display: block; max-width: 100%; height: auto; }

/* Navy band: three centred lines and the Destination Verified badge (old .below-banner > .row, measured: the row is 20 px
   wider each side, the columns pad 20 px, text 8 of 12 columns offset 2, badge 2 of 12). */
.tw-band { overflow: hidden; font-weight: 400; text-align: left; font-size: 17px; line-height: 20.4px; padding: 0 0 10px 15px; height: auto; }
.tw-band-row { display: flex; flex-wrap: wrap; margin: 0 -20px; }
.tw-band-text { flex: 0 0 75%; max-width: 75%; padding: 0 20px; }
.tw-band-badge { flex: 0 0 25%; max-width: 25%; padding: 0 20px; }
.tw-band-badge a { display: block; line-height: 0; }
.tw-band-badge img { display: block; margin: 0 auto; max-height: 80px; max-width: 100%; width: auto; height: auto; }
.tw-band .tw-band-address { font-size: .65em; line-height: .65em; }
@media (min-width: 768px) {
  .tw-band { text-align: center; font-size: 23.8px; line-height: 33.32px; height: 110px; padding: 0 0 10px; }
  .tw-band-text { flex: 0 0 66.6667%; max-width: 66.6667%; margin-left: 16.6667%; }
  .tw-band-badge { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .tw-band-badge img { max-height: 100px; }
}

/* The black menu bar (old #cssmenu): 44 px, centred, items inline. */
.tw-menu { position: relative; height: 44px; background: #000000; width: auto; }
.tw-menu ul { list-style: none; padding: 0; margin: 0; line-height: 1; }
.tw-menu > .tw-menu-list { position: relative; display: block; background: #000000; width: 100%; z-index: 500; font-size: 0; text-align: center; }
.tw-menu::after, .tw-menu > .tw-menu-list::after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.tw-menu-list > li { display: inline-block; position: relative; margin: 0; padding: 0; }
.tw-menu-list > li > .tw-menu-link { padding: 15px; transition: color .25s ease-out; }
.tw-menu-list > li.tw-has-sub > .tw-menu-link { padding-right: 32px; }
.tw-menu-list > li:hover > .tw-menu-link, .tw-menu-list > li:focus-within > .tw-menu-link, .tw-menu-list > li.tw-open > .tw-menu-link { color: #66cbff; }
.tw-menu-list > li.tw-has-sub::after { display: block; content: ""; position: absolute; width: 0; height: 0; right: 10px; top: 20px; border: 5px solid transparent; border-top-color: #ffffff; pointer-events: none; }
.tw-menu-list > li.tw-has-sub:hover::after, .tw-menu-list > li.tw-has-sub:focus-within::after, .tw-menu-list > li.tw-has-sub.tw-open::after { border-top-color: #66cbff; }

.tw-menu-list > li.tw-menu-button, .tw-menu-extras { display: none; }

/* Dropdowns: light blue boxes, 220 px, hidden off to the left until hover or focus (as the old menu). */
.tw-menu .tw-menu-sub { position: absolute; left: -9999px; top: 70px; opacity: 0; transition: opacity .3s ease, top .25s ease; z-index: 1000; text-align: left; }
.tw-menu-list > li:hover > .tw-menu-sub, .tw-menu-list > li:focus-within > .tw-menu-sub, .tw-menu-list > li.tw-open > .tw-menu-sub { left: auto; top: 44px; opacity: 1; }
.tw-menu-sub li { position: relative; }
.tw-menu-sub a { border-bottom: 1px solid #66cbff; transition: all .35s ease; }
.tw-menu-sub a:hover, .tw-menu-sub a:focus { background: #2d9aff; color: #ffffff; }
.tw-menu-sub li:last-child > a { border-bottom: 0; }
.tw-menu-list > li > .tw-menu-sub::after { content: ""; border: 6px solid transparent; width: 0; height: 0; border-bottom-color: #66cbff; position: absolute; top: -12px; left: 30px; }

/* Below 1024 px (as the old menu): a hamburger on the left, "Book Online or Call (541) 765-2345" on the right, and the menu
   opens as a black 200 px panel over the page with the submenus already open in yellow. */
@media (max-width: 1023.98px) {
  .tw-menu-list { width: 200px; text-align: left; height: auto; }
  .tw-menu > .tw-menu-list { width: 200px; }
  .tw-menu-list > li { display: none; float: none; }
  .tw-menu-list > li.tw-menu-button { display: block; }
  .tw-menu-list.open > li { display: block; }
  .tw-menu-list > li > .tw-menu-link, .tw-menu-list > li.tw-has-sub > .tw-menu-link { padding: 12px 20px; text-align: left; }
  .tw-menu-list > li.tw-has-sub::after { display: none; }
  .tw-menu .tw-menu-sub { position: relative; left: auto; top: auto; opacity: 1; padding: 0; }
  .tw-menu-list > li > .tw-menu-sub::after { display: none; }
  .tw-menu-sub a { width: auto; border: 0; background: none; padding: 8px 35px; color: #fee101; font-weight: 400; }
  .tw-menu-sub a:hover, .tw-menu-sub a:focus { background: none; color: #ffffff; }
  .tw-menu-button .tw-toggler { display: block; width: 100%; height: 42px; padding: 0; text-align: left; cursor: pointer; }
  .tw-menu-list > li.tw-menu-button { position: relative; cursor: pointer; }
  .tw-menu-list > li.tw-menu-button::after { display: block; content: ""; position: absolute; height: 7px; width: 22px; border-top: 2px solid #ffffff; border-bottom: 2px solid #ffffff; left: 20px; top: 15px; pointer-events: none; }
  .tw-menu-list > li.tw-menu-button::before { display: block; content: ""; position: absolute; height: 3px; width: 22px; border-top: 2px solid #ffffff; left: 20px; top: 25px; pointer-events: none; }
  .tw-menu-list.open > li.tw-menu-button .tw-toggler { border-bottom: 1px solid rgba(150, 150, 150, .1); }
  .tw-menu-extras { position: absolute; right: 20px; top: 15px; font-size: 14px; line-height: 17px; display: block; color: #ffffff; z-index: 501; font-weight: 700; }
  .tw-menu-extras a, .tw-menu-extras a:hover { color: #ffffff; font-weight: 700; text-decoration: none; }
}
@media (max-width: 991.98px) { .tw-menu-list > li.tw-phone { display: none !important; } }

/* Footer: yellow strip with the logo, then the navy block (old footer#footer, measured). The theme gives the colours and
   corners. Phone: logo full width under 20 px of yellow; the bottom row is 20 px wider each side, columns pad 20 px. */
.tw-footer-top { display: flex; flex-direction: column-reverse; padding: 20px 0 0; }
.tw-footer-logo { display: block; margin-top: 0; margin-bottom: -24px; line-height: 0; }
.tw-footer-logo img { display: block; max-width: 100%; height: auto; }
.tw-footer-bottom { font-size: 10px; line-height: 12px; }
.tw-footer-bottom .tw-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0 -20px; }
.tw-footer-bottom .tw-footer-col { flex: 0 0 100%; max-width: 100%; padding: 0 20px; }
.tw-footer-bottom ul { list-style: none; padding: 0; margin: 0 0 16px; }
.tw-footer-bottom li { margin: 0; }
.tw-footer-bottom li.tw-footer-gap { margin-top: 8px; }
.tw-footer-bottom a:hover { color: #66ccff; text-decoration: none; }
.tw-footer-credits a { text-transform: none; }
.tw-card > .tw-footer a { color: #ffffff; }
@media (min-width: 768px) {
  .tw-footer-top { flex-direction: row; align-items: flex-start; padding: 10px 30px 0 0; }
  .tw-footer-logo { margin-top: -10px; }
  .tw-footer-bottom .tw-footer-col { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .tw-footer-bottom .tw-footer-right { text-align: right; }
}

/* The template's scroll-to-top arrow is not on the old site; main.js still looks for it, so it stays in the page, never shown. */
.scroll-top { display: none !important; }
