/* Shared Aspects of Care colours and navigation, plus homepage presentation. */
.home-page { --home-navy: #092551; --home-teal: #39b9c1; --home-orange: #ff9700; margin: 0; padding: 0; background: #fffefa; color: var(--home-navy); }
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page h1, .home-page h2, .home-page h3 { color: var(--home-navy); }
.home-page p { color: #25394b; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 3px solid #0753a4; outline-offset: 5px; }
.home-page .skip-link { position: fixed; left: 16px; top: -100px; z-index: 3000; background: white; padding: 12px; color: #0753a4; }
.home-page .skip-link:focus { top: 12px; }
.home-page .site-header { position: sticky; top: 0; width: 100%; padding: 12px 28px; background: #fff; box-shadow: 0 2px 10px #0a758323; z-index: 1000; }
.home-page .header-content { max-width: 1100px; }
.home-page .logo { display: block; width: 180px; height: 76px; max-width: none; }
.home-page .logo:hover { transform: none; }
.home-page .hamburger { width: 44px; height: 44px; padding: 11px 9px; border: 0; background: transparent; border-radius: 8px; }
.home-page .hamburger span { height: 2px; background: #0876d1; }
.home-page #menu-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.home-page #menu-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.home-page nav { margin: 10px 0 0; gap: 12px; }
.home-page nav[hidden] { display: none; }
.home-page #menu-toggle:checked ~ nav { max-height: 240px; padding: 10px 0; }
.home-page nav a { color: #0753a4; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.home-page nav a.active, .home-page nav a:hover { background: #e4f6f8; letter-spacing: .5px; opacity: 1; }
.home-page nav a::after { background: #0799a8; }
.home-page main { max-width: none; margin: 0; padding: 0; }
.home-wrap { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.home-welcome { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, #e2f8fb, #d8f3f7 68%, #d9f4f7); padding: 60px 0 108px; }
.home-welcome .home-wrap { position: relative; z-index: 2; }
.home-heading-wrap { position: relative; max-width: 470px; }
.home-welcome-copy { max-width: 64%; }
.home-page .home-welcome h1 { position: relative; max-width: 8em; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -1.8px; margin: 0 0 12px; }
.home-page .home-tagline { color: #c35300; font-size: clamp(17px, 2.1vw, 25px); font-style: italic; font-weight: 700; margin: 0 0 16px; line-height: 1.35; }
.home-page .home-intro { max-width: 610px; font-size: 16px; line-height: 1.65; margin: 0; }
.welcome-heart { position: absolute; width: 30%; max-width: 300px; right: 1%; top: 5px; color: #73d6df; transform: rotate(-10deg); }
.welcome-waves { position: absolute; bottom: -1px; left: 0; width: 100%; height: 135px; z-index: 1; }
.home-accent { display: inline-block; width: 42px; height: 38px; color: #f79a00; vertical-align: top; margin: -12px 0 0 8px; }
.home-welcome .home-accent { position: absolute; top: -8px; right: 60px; }
.home-club-section { position: relative; padding-top: 8px; }
.home-club-card { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; padding: 44px 48px; background: linear-gradient(140deg,#fff 60%,#f3f9fa); border-radius: 24px; box-shadow: 0 8px 24px #1a4d6720; }
.home-page .home-section-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -1px; margin: 0 0 24px; font-weight: 800; }
.home-club-card .home-section-title::after { content: ''; display: block; width: 115px; height: 5px; background: var(--home-orange); border-radius: 80% 20%; transform: rotate(-3deg); margin-top: 10px; }
.home-page .club-intro { font-size: 16px; line-height: 1.6; margin: 0 0 20px; max-width: 440px; }
.club-benefits { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.club-benefits li { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.45; max-width: 410px; }
.benefit-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #e0f6f6; color: #129ca8; }
.benefit-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-icon.heart-icon { color: #e87d00; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 24px; border-radius: 28px; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.home-button-outline { color: #0753a4; border: 2px solid #2777d9; background: white; }
.home-button-outline:hover { background: #edf7ff; }
.home-button-blue { color: white; background: linear-gradient(#078fdb, #0064b8); box-shadow: 0 4px 9px #006ab72b; }
.home-button-blue:hover { background: #005ca8; }
.home-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.leaflet-display { position: relative; display: grid; place-items: center; min-width: 0; padding: 0 24px 8px; }
.leaflet-display::before { content: ''; position: absolute; width: 115%; aspect-ratio: 1; border-radius: 46% 54% 59% 41% / 52% 43% 57% 48%; background: #bfecef; max-width: 430px; transform: rotate(12deg); }
.leaflet-display a { position: relative; display: block; width: min(100%, 285px); transform: rotate(6deg); border-radius: 5px; background: white; box-shadow: 0 14px 22px #25566c40; }
.leaflet-display img { display: block; width: 100%; height: auto; padding: 5px; border-radius: 5px; }
.leaflet-display .home-accent { position: absolute; right: -18px; top: 24%; transform: rotate(15deg); }
.home-page .home-contact { background: linear-gradient(120deg,#e2f6f8,#d7f0f2); padding: 32px; border-radius: 20px; margin-top: 32px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; align-items: stretch; gap: 22px; }
.home-contact .home-section-title { font-size: 30px; margin-bottom: 12px; }
.home-page .home-contact p { font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.home-contact .home-accent { width: 34px; }
.home-page .home-contact-card { background: white; border-radius: 16px; padding: 22px 18px; box-shadow: 0 3px 8px #197e8a0c; }
.home-page .home-contact-card h3 { margin: 0 0 14px; font-size: 17px; display: flex; align-items: center; gap: 9px; letter-spacing: -.4px; }
.home-contact-card svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: #169dab; stroke-width: 2; }
.home-contact-card:first-of-type svg { stroke: #f79100; }
.home-page .home-contact-card p { font-size: 14px; margin: 0; }
.home-contact a[href^='tel:'] { color: inherit; font-weight: 700; text-decoration-color: #069eaa; text-underline-offset: 3px; }
.home-gallery-extra { margin-top: 36px; }
.home-gallery-extra .home-section-title { text-align: center; }
.home-page .home-footer { position: relative; isolation: isolate; overflow: hidden; padding: 78px 0 24px; margin-top: 8px; background: transparent; }
.footer-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.home-footer-content { display: flex; gap: 28px; align-items: center; justify-content: center; }
.home-footer-logo { width: 145px; height: auto; }
.home-page .home-footer p { color: #fff; font-size: 12px; border-left: 1px solid #ffffff60; padding-left: 28px; text-align: left; }
.home-page .home-footer a { color: #fff; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .home-club-card { padding: 32px; gap: 12px; }
  .home-page .home-contact { gap: 14px; padding: 24px; grid-template-columns: 1.2fr 1fr 1fr; }
  .home-contact .home-button { font-size: 13px; padding-inline: 14px; gap: 7px; }
  .home-page .home-contact-card { padding: 18px 14px; }
  .home-page .home-contact-card h3 { font-size: 15px; gap: 6px; }
  .home-page .home-contact-card p { font-size: 13px; }
  .home-welcome-copy { max-width: 68%; }
  .welcome-heart { right: -8px; }
}
@media (max-width: 640px) {
  .home-wrap { width: calc(100% - 36px); }
  .home-page .site-header { padding: 8px 18px; }
  .home-page .logo { width: 137px; height: 58px; }
  .home-page nav { flex-direction: column; gap: 4px; }
  .home-page nav a { padding: 8px 16px; }
  .home-welcome { padding: 34px 0 90px; }
  .home-welcome-copy { max-width: 100%; }
  .home-page .home-welcome h1 { max-width: 85%; font-size: 34px; letter-spacing: -1.2px; }
  .home-welcome .home-accent { right: -15px; width: 30px; }
  .home-page .home-tagline { max-width: 290px; font-size: 18px; }
  .home-page .home-intro { font-size: 14px; line-height: 1.65; }
  .welcome-heart { width: 120px; right: -28px; top: -20px; opacity: .3; z-index: -1; }
  .welcome-waves { height: 80px; }
  .home-club-card { grid-template-columns: 1fr; padding: 26px 24px 32px; gap: 32px; border-radius: 18px; }
  .home-page .club-intro { font-size: 15px; }
  .club-benefits li { font-size: 14px; }
  .leaflet-display { padding: 14px 28px; }
  .leaflet-display a { width: min(100%, 260px); }
  .leaflet-display::before { width: 100%; max-width: 350px; }
  .leaflet-display .home-accent { right: 0; }
  .home-page .home-contact { grid-template-columns: 1fr; padding: 24px; gap: 16px; margin-top: 24px; }
  .home-contact .home-button { font-size: 14px; padding-inline: 20px; }
  .home-page .home-contact-card h3 { font-size: 17px; }
  .home-page .home-contact-card p { font-size: 15px; }
  .home-footer-content { flex-direction: column; gap: 12px; }
  .home-page .home-footer p { border: 0; padding: 0; text-align: center; font-size: 11px; }
  .home-page .home-footer { padding-top: 60px; }
  .home-footer-logo { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; }
}


/* Original, unfiltered logo on a blue backing for its white lettering. */
.home-page .logo-container { background: #167db3; border-radius: 10px; padding: 5px 12px; }
.home-page .logo { width: 180px; height: auto; filter: none; }
.interior-page main { width: min(1100px, calc(100% - 40px)); margin: 40px auto; padding: 0; }
.interior-page main > h1, .interior-page .blog-header { background: #e2f6f8; padding: 28px; border-radius: 20px; }
.interior-page main > h1::after, .interior-page .blog-header h1::after { content: ''; display: block; width: 80px; height: 4px; border-radius: 50%; background: #ff9700; margin: 14px 0 0; }
.interior-page .blog-header h1::after { margin-inline: auto; }
.interior-page .contact-section, .interior-page .activity-item { background: #e2f6f8; }
.interior-page .info-card, .interior-page .blog-card, .interior-page .cms-card { border-color: #d4ebee; box-shadow: 0 5px 18px #1a4d6715; }
.interior-page .blog-tag { background: #def3f4; color: #08616d; }
.interior-page .filter-btn.active { background: #0768ad; }
.interior-page .form-page-container { background: #e2f6f8; padding-block: 44px; }
.interior-page .form-page-container .container { border-top: 4px solid #ff9700; box-shadow: 0 8px 24px #1a4d6720; }
.interior-page .form-page-container p { color: #465b6b; }
.interior-page .form-page-container button[type='submit'], .interior-page .cms-btn:not(.cms-btn-danger):not(.cms-btn-secondary) { background: #0768ad; }
.interior-page input:focus, .interior-page textarea:focus, .interior-page select:focus { border-color: #149eac; }
@media (max-width: 640px) {
    .home-page .logo { width: 137px; height: auto; }
    .home-page .logo-container { padding: 5px 10px; }
    .interior-page main { margin-block: 26px; }
    .interior-page .blog-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Reuse the footer artwork across the header, behind the original logo. */
.home-page .site-header {
    background-color: #064475;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Crect%20width%3D%221440%22%20height%3D%22180%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M0%2048C430-35%20870%20124%201440%2036V180H0Z%22%20fill%3D%22%2341b9c2%22%2F%3E%3Cpath%20d%3D%22M0%2066C430%200%201010%20130%201440%2058V180H0Z%22%20fill%3D%22%23ff9a11%22%2F%3E%3Cpath%20d%3D%22M0%2054C520%206%20940%20154%201440%2072V180H0Z%22%20fill%3D%22%23005491%22%2F%3E%3Cpath%20d%3D%22M0%2090C490%2012%20980%20163%201440%2094V180H0Z%22%20fill%3D%22%23064475%22%2F%3E%3Cpath%20d%3D%22M1110%20180C1250%20115%201355%20115%201440%20115V180Z%22%20fill%3D%22%233bb7c0%22%2F%3E%3Cpath%20d%3D%22M1240%20180C1340%20150%201390%20147%201440%20154V180Z%22%20fill%3D%22%23f59a19%22%2F%3E%3C%2Fsvg%3E");
    background-size: 100% 130px;
    background-position: center top;
    background-repeat: no-repeat;
}
.home-page .logo-container { background: transparent; border-radius: 0; }
.home-page .hamburger { background: #064475; border-radius: 50%; }
.home-page .hamburger span { background: white; }
.home-page nav a { color: white; }
.home-page nav a.active, .home-page nav a:hover { background: #ffffff1f; }
.home-page nav a::after { background: #76dce2; }
.home-page .site-header a:focus-visible, .home-page .site-header button:focus-visible { outline-color: #ffbc57; }
@media (max-width: 640px) {
    .home-page .site-header { background-size: 100% 100px; }
}
