/* Hipoteca Spanje: the bar above the header (Inloggen), the header and the footer, on every page; the same file as
   spanishhomeloans.com's, in the same colours (navy, gold, navy text on gold). Own shl- classes (that site's, kept so
   this file stays the same file and scripts/content/about/build-about.mjs reads this site as it reads that one), so it
   works next to the site's styles.css and next to the bundled PGN stylesheet on /hypotheekscan/ and the
   package pages. Stamped into the pages by build-chrome.mjs; the design is the
   "Footer and top bar" row of the Claude Design canvas "Spanish Home Loans: packages". */
.shl-util,
.shl-foot {
  --shl-navy: #17213a;
  --shl-accent: #fcc13f;
  --shl-accent-dark: #e1a41a;
  --shl-accent-ink: #b07a00;
  font-family: "century-gothic", "Century Gothic", "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.shl-util *,
.shl-foot * { box-sizing: border-box; }

/* The bar above the header */
.shl-util { position: relative; z-index: 60; background: #f7f5ee; border-bottom: 1px solid #ebe5d5; font-size: 13px; line-height: 1.4; }
.shl-util__in { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: min(100% - 32px, 1100px); min-height: 44px; margin-inline: auto; }
.shl-lang { display: flex; align-items: center; gap: 2px; margin: 0; }
.shl-lang a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 0 6px; color: #4a4f5b; font-weight: 700; text-decoration: none; }
.shl-lang a:hover,
.shl-lang a:focus-visible { color: var(--shl-accent-ink); }
.shl-lang a[aria-current] { color: var(--shl-navy); font-weight: 800; }
.shl-lang a[aria-current] .shl-lang__l,
.shl-lang a[aria-current] .shl-lang__s { text-decoration: underline; text-decoration-color: var(--shl-accent-dark); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.shl-lang__sep { color: #b9b09a; }
.shl-lang__l { display: none; }
.shl-flag { display: block; flex: none; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23, 33, 58, 0.28); }
.shl-flag svg { display: block; }
.shl-util__login { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; color: var(--shl-navy); font-weight: 800; text-decoration: none; }
.shl-util__login:hover,
.shl-util__login:focus-visible { color: var(--shl-accent-ink); }
.shl-util__login svg { display: block; flex: none; }
.shl-util__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 981px) {
  .shl-util__in { gap: 22px; min-height: 38px; }
  .shl-lang a { min-width: 0; min-height: 32px; }
  .shl-lang__l { display: inline; }
  .shl-lang__s { display: none; }
  .shl-util__login { min-width: 0; min-height: 32px; }
  .shl-util__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* The footer: on the cream paper of the site's bands (owner, 2026-11-17: "keep it the cream colour"),
   with a hairline above it so it stands apart from a cream band that ends the page. Every column is one
   stack with the same gap between heading, text, buttons and links. */
.shl-foot { --shl-ink: #30343b; --shl-muted: #4a4f5b; --shl-line: #e3dccb; --shl-gold-ink: #7a5600; color: var(--shl-muted); background: #f7f5ee; border-top: 1px solid var(--shl-line); font-size: 15px; line-height: 1.6; }
.shl-foot a { text-decoration: none; }
.shl-foot p,
.shl-foot h2,
.shl-foot ul { margin: 0; }
.shl-foot ul { padding: 0; list-style: none; }
.shl-foot__in { width: min(100% - 32px, 1100px); margin-inline: auto; padding-top: 56px; }
.shl-foot__grid { display: grid; gap: 48px 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.shl-foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.shl-foot__home { display: inline-flex; align-items: center; gap: 14px; color: var(--shl-navy); }
.shl-foot__home:hover,
.shl-foot__home:focus-visible { color: var(--shl-navy); }
.shl-foot__home img { display: block; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(23, 33, 58, 0.18)); }
.shl-foot__name { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.shl-foot__tag { max-width: 32ch; }
.shl-foot__cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 22px; border-radius: 26px; background: var(--shl-accent); color: var(--shl-navy); font-size: 15px; font-weight: 800; line-height: 1.25; text-align: center; text-wrap: balance; box-shadow: 0 12px 24px -16px rgba(122, 86, 0, 0.9); transition: background-color 0.2s ease, transform 0.2s ease; }
.shl-foot__cta:hover,
.shl-foot__cta:focus-visible { background: var(--shl-accent-dark); color: var(--shl-navy); transform: translateY(-2px); }
.shl-foot__cta svg { flex: none; }
.shl-foot .shl-foot__kop { display: flex; align-items: center; gap: 10px; min-height: 20px; margin: 0; color: var(--shl-gold-ink) !important; /* the site's h2 rules set color with !important */ font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; }
.shl-foot .shl-foot__kop::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: var(--shl-accent-dark); }
.shl-foot__links { display: grid; gap: 2px; }
.shl-foot__links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--shl-navy); font-weight: 700; }
.shl-foot__links a:hover,
.shl-foot__links a:focus-visible { color: var(--shl-gold-ink); text-decoration: underline; text-decoration-color: var(--shl-accent-dark); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.shl-foot__links .shl-foot__sub a { min-height: 34px; padding-left: 16px; color: var(--shl-muted); font-weight: 600; font-size: 14px; border-left: 2px solid var(--shl-line); }
.shl-foot__links .shl-foot__sub a:hover,
.shl-foot__links .shl-foot__sub a:focus-visible { color: var(--shl-gold-ink); border-left-color: var(--shl-accent-dark); }
.shl-foot__links small { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #fff4d6; color: var(--shl-gold-ink); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.shl-foot__jaine { display: flex; align-items: flex-start; gap: 14px; }
.shl-foot__jaine img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--shl-accent); background: #fff; }
.shl-foot__jaine p { font-size: 14px; }
.shl-foot__jaine strong { color: var(--shl-navy); }
.shl-foot__ways { display: grid; gap: 10px; width: 100%; }
.shl-foot__way { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 14px 8px 8px; border: 1px solid var(--shl-line); border-radius: 16px; background: #fff; color: var(--shl-navy); font: inherit; font-weight: 800; line-height: 1.25; text-align: left; cursor: pointer; box-shadow: 0 8px 18px -16px rgba(23, 33, 58, 0.5); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.shl-foot__way:hover,
.shl-foot__way:focus-visible { border-color: var(--shl-accent-dark); color: var(--shl-navy); box-shadow: 0 12px 24px -16px rgba(23, 33, 58, 0.6); }
.shl-foot__ic { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--shl-accent); color: var(--shl-navy); }
.shl-foot__ic--wa { background: #25d366; color: #fff; }
.shl-foot__way small { display: block; margin-top: 2px; color: #5f6472; font-size: 12.5px; font-weight: 600; }
.shl-foot__mail { font-size: 14px; }
.shl-foot__mail a { color: var(--shl-navy); font-weight: 700; overflow-wrap: anywhere; }
.shl-foot__mail a:hover,
.shl-foot__mail a:focus-visible { color: var(--shl-gold-ink); }
.shl-foot__login { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--shl-navy); border-radius: 999px; color: var(--shl-navy); background: transparent; font-weight: 800; transition: background-color 0.2s ease, color 0.2s ease; }
.shl-foot__login:hover,
.shl-foot__login:focus-visible { background: var(--shl-navy); color: #fff; }
.shl-foot__note { max-width: 28ch; font-size: 14px; }
.shl-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; margin-top: 56px; padding: 14px 0 22px; border-top: 1px solid var(--shl-line); font-size: 13.5px; }
.shl-foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.shl-foot__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--shl-ink); font-weight: 700; }
.shl-foot__legal a:hover,
.shl-foot__legal a:focus-visible { color: var(--shl-gold-ink); }
.shl-foot__copy { color: #5f6472; }
.shl-foot .shl-lang a { color: var(--shl-muted); }
.shl-foot .shl-lang a:hover,
.shl-foot .shl-lang a:focus-visible { color: var(--shl-gold-ink); }
.shl-foot .shl-lang a[aria-current] { color: var(--shl-navy); }
.shl-foot .shl-lang__sep { color: #b9b09a; }
.shl-foot .shl-lang__l { display: inline; }
.shl-foot .shl-lang__s { display: none; }
@media (min-width: 700px) {
  .shl-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .shl-foot__in { width: min(100% - 72px, 1100px); padding-top: 64px; }
}
@media (min-width: 1040px) {
  .shl-foot__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 40px; }
}
@media (max-width: 699px) {
  .shl-foot__bar { flex-direction: column; align-items: flex-start; }
}
/* Below 1100px Jaine's widget is a bar in the bottom corner (pgn-embed jaine-widget): room for it under the last line. */
@media (max-width: 1099px) {
  .shl-foot__bar { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .shl-foot__cta,
  .shl-foot__cta:hover { transform: none; transition: none; }
}

/* The header: one menu on every page, with dropdowns and the current page marked
   (build-chrome.mjs header()). Own shl- classes, as the bar and the footer. */
.shl-hdr {
  --shl-navy: #17213a;
  --shl-accent: #fcc13f;
  --shl-accent-dark: #e1a41a;
  --shl-accent-ink: #b07a00;
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.08);
  font-family: "century-gothic", "Century Gothic", "Poppins", system-ui, sans-serif;
  font-size: 15px; line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
.shl-hdr * { box-sizing: border-box; }
.shl-hdr__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100% - 32px, 1100px); min-height: 68px; margin-inline: auto; }
/* The logo is larger than the bar and hangs over its lower edge (owner, 2026-11-19: "make the logo overhang again"). */
.shl-hdr__brand { position: relative; z-index: 1; display: inline-flex; flex: none; align-self: flex-start; margin: -5px 0 -18px; }
.shl-hdr__brand img { display: block; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(23, 33, 58, 0.2)); }
.shl-hdr__toggle { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--shl-navy); border-radius: 50%; background: #fff; color: var(--shl-navy); cursor: pointer; }
.shl-hdr__lines,
.shl-hdr__lines::before,
.shl-hdr__lines::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.shl-hdr__lines::before { transform: translateY(-7px); }
.shl-hdr__lines::after { transform: translateY(5px); }
.shl-menu { position: absolute; inset: 100% -16px auto -16px; display: none; max-height: calc(100vh - 120px); overflow-y: auto; padding: 12px 16px 24px; background: #fff; box-shadow: 0 20px 42px rgba(18, 18, 18, 0.12); }
.shl-menu.is-open { display: block; }
.shl-menu ul { margin: 0; padding: 0; list-style: none; }
.shl-menu a { color: var(--shl-navy); text-decoration: none; }
.shl-menu__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #ebe5d5; }
.shl-menu__top { display: flex; flex: 1; align-items: center; min-height: 52px; font-weight: 800; }
.shl-menu__more { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--shl-navy); cursor: pointer; }
.shl-menu__more svg { transition: transform 0.15s ease; }
.shl-menu__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.shl-menu__sub { display: none; flex-basis: 100%; padding: 0 0 10px 12px !important; }
.shl-menu__more[aria-expanded="true"] + .shl-menu__sub { display: block; }
.shl-menu__sub a { display: flex; align-items: center; min-height: 44px; padding: 4px 12px; border-left: 3px solid transparent; border-radius: 0 10px 10px 0; font-weight: 600; }
.shl-menu__sub a:hover,
.shl-menu__sub a:focus-visible { background: #f7f5ee; }
.shl-menu__item--cta { border-bottom: 0; padding-top: 14px; }
.shl-menu__cta { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 2px solid var(--shl-accent); border-radius: 999px; background: var(--shl-accent); color: var(--shl-navy) !important; font-weight: 800; }
.shl-menu__cta:hover,
.shl-menu__cta:focus-visible { border-color: var(--shl-accent-dark); background: var(--shl-accent-dark); }

/* Where you are: the section in the bar, and the page itself in its dropdown. */
.shl-menu__item.is-current > .shl-menu__top { color: var(--shl-accent-ink); }
.shl-menu__top[aria-current="page"],
.shl-menu__item.is-current > .shl-menu__top { text-decoration: underline; text-decoration-color: var(--shl-accent-dark); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.shl-menu__sub a[aria-current="page"] { border-left-color: var(--shl-accent-dark); background: #fbf3dc; font-weight: 800; }
/* The three packages under "All packages": indented, a step lighter. */
.shl-menu__sub .shl-menu__child a { padding-left: 30px; font-weight: 500; }
.shl-menu__sub .shl-menu__child a[aria-current="page"] { font-weight: 700; }
.shl-menu__item--cta.is-current .shl-menu__cta { border-color: var(--shl-navy); box-shadow: 0 0 0 3px rgba(23, 33, 58, 0.14); }

@media (min-width: 900px) {
  .shl-hdr__in { min-height: 74px; }
  .shl-hdr__brand { margin: 0 0 -40px; }
  .shl-hdr__brand img { width: 98px; height: 98px; }
  .shl-hdr__toggle { display: none; }
  .shl-menu { position: static; display: block; max-height: none; overflow: visible; padding: 0; background: none; box-shadow: none; }
  .shl-menu__list { display: flex; align-items: center; gap: 6px; }
  .shl-menu__item { flex-wrap: nowrap; border-bottom: 0; }
  .shl-menu__top { flex: none; min-height: 44px; padding: 0 4px 0 14px; }
  .shl-menu__item:not(.shl-menu__item--has) > .shl-menu__top { padding-right: 14px; }
  .shl-menu__more { width: 30px; height: 44px; }
  .shl-menu__sub { position: absolute; top: 100%; left: 0; z-index: 2; min-width: 280px; padding: 8px !important; border: 1px solid #ebe5d5; border-radius: 14px; background: #fff; box-shadow: 0 20px 42px rgba(18, 18, 18, 0.14); }
  /* A bridge, so the pointer can travel from the bar to the dropdown. */
  .shl-menu__sub::before { position: absolute; inset: -10px 0 auto 0; height: 10px; content: ""; }
  .shl-menu__item--has:hover > .shl-menu__sub,
  .shl-menu__item--has:focus-within > .shl-menu__sub { display: block; }
  .shl-menu__item--has:hover > .shl-menu__more svg,
  .shl-menu__item--has:focus-within > .shl-menu__more svg { transform: rotate(180deg); }
  .shl-menu.is-closed .shl-menu__sub { display: none !important; }
  .shl-menu__sub a { min-height: 40px; border-radius: 8px; border-left-width: 3px; white-space: nowrap; }
  .shl-menu__item--cta { margin-left: 8px; padding-top: 0; }
  .shl-menu__cta { min-height: 44px; }
}
/* Hipoteca Spanje only: the company line under the legal links carries the AFM registration, a legal line.
   It is longer than spanishhomeloans.com's copyright line, so it takes a row of its own, stays left of Jaine's card
   and stands clear of the cookie button in the bottom corner (as on hypotheekfrankrijk.nl). */
.shl-foot__legal { flex-basis: 100%; }
.shl-foot__copy { flex-basis: 100%; max-width: 640px; margin: 0; line-height: 1.5; }
@media (min-width: 1100px) {
  .shl-foot__bar { padding-bottom: 72px; }
}
