/* Change these values to adjust the whole site's colors and spacing. */
:root {
  --brand: #33ccff;
  --link: #1e73be;
  --ink: #333;
  --heading: #161819;
  --dark: #2a3132;
  --section-gap: 64px;
  --content-width: 1140px;
}

/* Base styles */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    15px/1.8 "PT Sans",
    Arial,
    sans-serif;
}
main {
  min-height: 65vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
figure {
  margin: 0;
}
svg {
  vertical-align: middle;
}
video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111;
  margin: 24px auto;
}
audio {
  display: block;
  width: min(100%, 660px);
  margin: 24px auto;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: #075887;
  text-decoration: underline;
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--heading);
  line-height: 1.4;
  margin: 0 0 20px;
  font-weight: 600;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}
blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--brand);
  background: #f6f6f6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
input[type="search"],
select {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #bbb;
  background: #fff;
  color: var(--ink);
  border-radius: 3px;
}
input[type="image"] {
  max-width: 100%;
  margin: 12px 0;
}
:focus-visible {
  outline: 3px solid #065d91;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--content-width), calc(100% - 40px));
  margin-inline: auto;
}
.text-center {
  text-align: center;
}
.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 20px;
  background: white;
}
.button {
  display: inline-block;
  background: var(--brand);
  color: #173642;
  padding: 14px 20px;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}
.button:hover {
  background: var(--dark);
  color: white;
  text-decoration: none;
}

/* One header and one menu for desktop and mobile. */
.site-header {
  background: var(--brand);
  position: relative;
  z-index: 10;
}
.header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: block;
  flex: 0 0 70px;
}
.site-logo img {
  width: 70px;
  display: block;
}
.nav-list,
.submenu,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list {
  display: flex;
  align-items: stretch;
}
.nav-list > li > a,
.nav-more > summary {
  display: block;
  padding: 18px 16px;
  color: #173642;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}
.nav-list a:hover,
.nav-more > summary:hover {
  color: #334d03;
  text-decoration: underline;
}
.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-more {
  position: relative;
}
.nav-more > summary {
  list-style: none;
}
.nav-more > summary::-webkit-details-marker {
  display: none;
}
.nav-more > summary::after {
  content: "⌄";
  margin-left: 8px;
}
.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 210px;
  background: #212222;
  border-top: 3px solid var(--brand);
}
.submenu a {
  display: block;
  color: #ddd;
  padding: 14px 18px;
  line-height: 1.4;
  border-bottom: 1px solid #404040;
}
.submenu a:hover {
  color: white;
  background: black;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: #173642;
  border: 1px solid currentColor;
  padding: 6px 12px;
  font-weight: 700;
}

/* Homepage */
.home main {
  padding-bottom: var(--section-gap);
}
.home main > section + section {
  margin-top: var(--section-gap);
}
.hero {
  background: url("/assets/images/chihuahua-dog-puppy-cute-right.jpg") top
    left / cover no-repeat;
  padding-block: 100px;
}
.hero-copy {
  max-width: 560px;
  padding: 30px 30px 37px;
  background: rgb(0 0 0 / 0.5);
  border-radius: 5px;
  color: #fff;
}
.hero-copy h1 {
  color: white;
  font-size: 35px;
  text-align: left;
}
.hero-copy p {
  line-height: 1.5;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e9e9e9;
}
.feature {
  padding: 36px 24px;
  text-align: center;
}
.feature + .feature {
  border-left: 1px solid #e9e9e9;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--brand);
  border-radius: 50%;
  color: white;
  margin-bottom: 20px;
}
.feature-icon:hover {
  background: var(--dark);
  color: var(--brand);
}
.feature h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.feature h2 a {
  color: var(--heading);
}
.feature p {
  margin: 0;
}
.split-section,
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}
.section-copy {
  text-align: center;
  padding: 20px;
}
.section-copy h2 {
  font-size: 30px;
}
.split-section .image-block {
  text-align: center;
}
.signup-section {
  padding: 69px 0 75px;
  background: #f5f3f4 url("/assets/images/travel.png") bottom right no-repeat;
}
.signup-section .columns {
  align-items: start;
}
.signup-section .section-copy {
  text-align: left;
}
.signup-section h2 {
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.partner-section {
  text-align: center;
}
.partner-section h2 {
  font-size: 20px;
}
.app-link {
  margin: 16px 0 0;
}
.app-link a {
  color: #0066a6;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.app-link a:hover {
  color: #003f68;
}

/* Inner pages and forms */
.page-content {
  padding-top: 32px;
  padding-bottom: 64px;
}
.page-intro {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.page-intro .image-block {
  flex: 1 1 32%;
  text-align: center;
}
.page-intro .page-title {
  flex: 1 1 40%;
  text-align: center;
  margin: 0;
  font-size: 29px;
}
.page-intro .image-block img {
  max-height: 225px;
  width: auto;
}
.content-section + .content-section {
  margin-top: 32px;
}
.content-section > :last-child {
  margin-bottom: 0;
}
.content-section h2 {
  margin-top: 24px;
}
.section-heading {
  text-align: center;
}
.content-section > .image-block {
  margin-block: 24px;
  text-align: center;
}
.content-section > .image-block img {
  max-width: min(100%, 1024px);
}
.benefit-list {
  list-style: none;
  padding: 0;
}
.benefit-list li {
  position: relative;
  padding-left: 25px;
  margin-block: 12px;
}
.benefit-list li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: #0878a0;
}
.tally-form {
  width: 100%;
  text-align: left;
}
.signup-form {
  max-width: 540px;
  margin: 20px 0;
}
.contact-form {
  max-width: 720px;
  margin: 24px auto 0;
}
.tally-embed {
  display: block;
  width: 100%;
  border: 0;
}
.form-help {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
}
.form-help a {
  text-decoration: underline;
}
.payment-form {
  max-width: 500px;
  margin: 24px auto;
}
.payment-form label {
  display: block;
  font-weight: 700;
  margin: 16px 0 6px;
}
.payment-form select {
  width: 100%;
}

/* Existing archive pages, kept at their original URLs. */
.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 48px;
  align-items: start;
}
.archive-entry {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ddd;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 8px 16px;
  font-size: 14px;
}
.post-image {
  margin-bottom: 24px;
}
.post-title {
  font-size: 30px;
}
.post-navigation-links {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0;
}
.post-navigation-links > div {
  max-width: 50%;
}
.breadcrumbs {
  font-size: 13px;
  margin: 12px 0 32px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.sidebar-section {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #ddd;
  overflow-wrap: anywhere;
}
.sidebar-section ul {
  padding-left: 20px;
}
.sidebar-section img {
  max-width: 100%;
}
.sidebar-title {
  font-size: 18px;
}
.related-post {
  display: inline-block;
  width: 31%;
  vertical-align: top;
  margin: 0 1% 24px;
}
.related-post h3 {
  font-size: 16px;
}
.page-number {
  display: inline-block;
  padding: 8px 12px;
}
table {
  border-collapse: collapse;
  max-width: 100%;
}
td,
th {
  padding: 5px;
}
.calendar-table {
  width: 100%;
  font-size: 12px;
}
.search-row {
  display: flex;
  gap: 12px;
  margin: 12px 0 24px;
}
.search-row input {
  flex: 1;
  min-width: 0;
}
#search-results article {
  padding-block: 24px;
  border-bottom: 1px solid #ddd;
}

/* Shared footer */
.site-footer {
  background: #2d2d2d;
  color: #bbb;
  padding-block: 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.copyright {
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.6px;
  font-weight: 700;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-links li + li::before {
  content: "|";
  padding-inline: 8px;
}
.footer-links a {
  color: #bbb;
}
.footer-links a:hover {
  color: var(--brand);
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #222;
  color: white;
  border-radius: 3px;
  z-index: 20;
}

/* Responsive layouts */
@media (max-width: 959px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-block: 8px;
  }
  .js .menu-toggle {
    display: inline-block;
  }
  .main-menu {
    flex-basis: 100%;
  }
  .js .main-menu:not(.is-open) {
    display: none;
  }
  .nav-list {
    display: block;
    padding-top: 10px;
  }
  .nav-list > li > a,
  .nav-more > summary {
    padding: 12px 8px;
  }
  .submenu {
    position: static;
  }
  .archive-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    max-width: 52%;
  }
  .hero-copy h1 {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
  :root {
    --section-gap: 32px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .hero {
    padding-block: 30px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 24px;
  }
  .hero-copy h1 {
    font-size: 24px;
  }
  .features,
  .split-section,
  .columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .features {
    gap: 0;
  }
  .feature + .feature {
    border-left: 0;
    border-top: 1px solid #e9e9e9;
  }
  .feature {
    padding: 30px 16px;
  }
  .section-copy {
    padding: 0;
  }
  .section-copy h2 {
    font-size: 24px;
  }
  .signup-section {
    padding-block: 32px;
    background-image: none;
  }
  .page-intro {
    flex-direction: column;
    gap: 24px;
  }
  .page-intro .image-block {
    width: 100%;
  }
  .page-intro .page-title {
    font-size: 27px;
  }
  .page-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .related-post {
    width: 100%;
    margin-inline: 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .search-row {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Shared page introduction: large photo, title, then optional logo */
.page-intro-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.page-intro-stacked .intro-photo {
  display: block;
  width: 100%;
  max-width: 1024px;
  height: auto;
  margin: 0 auto 28px;
  border-radius: 0;
}

.page-intro-stacked .page-title {
  margin: 0 0 24px;
}

.page-intro-stacked .intro-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 32px;
}
