/* Shared header for every page: logo + main menu with the Hot tubs dropdown */
header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 18px; padding-bottom: 18px; position: relative; z-index: 20; }
header.top .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #0B1B2B; }
header.top .brand img { width: 88px; height: 88px; object-fit: contain; display: block; }
header.top .brand span { font-family: 'Instrument Serif', Georgia, serif; font-size: 36px; line-height: 1; }
header.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 15px; font-weight: 500; }
header.top nav > a, header.top .ddbtn { text-decoration: none; color: #0B1B2B; text-transform: uppercase; letter-spacing: 1.2px; font-size: 13.5px; font-weight: 600; }
header.top .ddmenu a { text-transform: uppercase; letter-spacing: 1px; font-size: 13.5px; font-weight: 600; }
header.top .ddmenu a small { text-transform: none; letter-spacing: 0; }
header.top nav a[aria-current="page"], header.top .dd.current .ddbtn { font-weight: 700; }
header.top .dd { position: relative; }
header.top .ddbtn { font: inherit; background: none; border: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
header.top .ddbtn::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
header.top .dd.open .ddbtn::after { transform: translateY(1px) rotate(-135deg); }
header.top .ddmenu { position: absolute; left: -16px; top: calc(100% + 10px); min-width: 230px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px #D8E0E7, 0 18px 40px rgba(11,27,43,.14); padding: 8px; display: none; flex-direction: column; }
header.top .ddmenu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
header.top .dd.open .ddmenu { display: flex; }
@media (hover: hover) { header.top .dd:hover .ddmenu { display: flex; } }
header.top .ddmenu a { text-decoration: none; color: #0B1B2B; padding: 11px 14px; border-radius: 12px; display: flex; flex-direction: column; gap: 2px; }
header.top .ddmenu a:hover, header.top .ddmenu a:focus-visible { background: #EEF3F6; }
header.top .ddmenu a small { color: #5E7F9B; font-size: 12.5px; font-weight: 500; }
header.top .ddmenu a[aria-current="page"] { font-weight: 700; background: #EEF3F6; }
header.top .cta { background: #0B1B2B; color: #fff; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px; text-decoration: none; }
/* Education guides: FAQ + Keep learning */
.edu-faq, .edu-more { padding-top: 90px; padding-bottom: 20px; }
.edu-faq .h2, .edu-more .h2 { margin-bottom: 26px; }
.faqlist { display: flex; flex-direction: column; border-top: 1px solid #D8E0E7; }
.faqlist details { border-bottom: 1px solid #D8E0E7; padding: 4px 0; }
.faqlist summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-family: 'Instrument Serif', Georgia, serif; font-size: 28px; line-height: 1.15; }
.faqlist summary::-webkit-details-marker { display: none; }
.faqlist summary::after { content: '+'; font-family: 'Geist', sans-serif; font-size: 26px; color: #5E7F9B; flex: none; }
.faqlist details[open] summary::after { content: '−'; }
.faqlist p { margin: 0 0 22px; color: #3B4C5C; font-size: 17px; line-height: 1.65; max-width: 860px; }
.edu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.edu-card { display: flex; flex-direction: column; gap: 6px; background: #EEF3F6; border-radius: 22px; padding: 22px; text-decoration: none; color: #0B1B2B; transition: transform .15s, box-shadow .15s; }
.edu-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,27,43,.1); color: #0B1B2B; }
.edu-card .e { font-size: 30px; }
.edu-card b { font-size: 18px; }
.edu-card span:last-child { color: #3B4C5C; font-size: 14.5px; line-height: 1.45; }

/* Shared footer */
footer { border-top: 1px solid #D8E0E7; }
footer .inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; font-size: 14px; color: #3B4C5C; padding-top: 40px; padding-bottom: 40px; }
footer .flinks { display: flex; gap: 20px; flex-wrap: wrap; }
footer .flinks a { font-weight: 600; color: #0B1B2B; }

@media (max-width: 700px) {
  header.top .brand img { width: 68px; height: 68px; }
  header.top .brand span { font-size: 30px; }
  header.top nav { gap: 10px 18px; }
  header.top .ddmenu { left: -8px; }
}

/* Live content blocks (content.js) */
.announce[hidden], footer [hidden] { display: none !important; }
.announce { margin: 0; background: #D9F84A; color: #0B1B2B; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.4; padding: 10px 16px; }
footer .fline { display: block; }

/* Laptop widths: tighten the menu so "Get a quote" stays on the same line as POOL SCHOOL */
@media (max-width: 1360px) {
  header.top { column-gap: 18px; }
  header.top nav { column-gap: 18px; }
  header.top nav > a, header.top .ddbtn { letter-spacing: .9px; }
}

/* Lead forms -> hub drop box: bot trap stays off screen; status line under the button */
.hp-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14px; font-weight: 600; color: #C8102E; text-align: center; }
