/* Paws Boston — mobile-first layout layer.
   Base rules target small screens. Wider layouts start at 48rem. */

:root {
  --paws-navy: #0b2347;
  --paws-blue: #7eb8d4;
  --paws-ink: #142033;
  --paws-paper: #f4f7fb;
  --paws-space: clamp(1rem, 4vw, 2.5rem);
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.header-title-logo img,
.paws-founder-card img {
  height: auto;
}

/* Fluid type for the hero, without locking a pixel width */
.page-section h1,
.page-section .sqsrte-large {
  overflow-wrap: anywhere;
}

.paws-hero-services {
  display: block;
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.45;
  text-wrap: balance;
}

.header-title-logo img {
  max-width: min(70vw, 280px);
  height: auto;
}

[data-wm-plugin="tabs"] {
  width: fit-content;
  max-width: 100%;
  background: transparent;
}

.header-nav-item a,
.header-menu-nav-item a,
button,
.sqs-button-element--primary {
  min-height: 44px;
}

/* Squarespace columns stack until there is room */
.sqs-col-0,
.sqs-col-1,
.sqs-col-2,
.sqs-col-3,
.sqs-col-4,
.sqs-col-5,
.sqs-col-6,
.sqs-col-7,
.sqs-col-8,
.sqs-col-9,
.sqs-col-10,
.sqs-col-11,
.span-0,
.span-1,
.span-2,
.span-3,
.span-4,
.span-5,
.span-6,
.span-7,
.span-8,
.span-9,
.span-10,
.span-11 {
  float: none;
  width: 100%;
}

/* Stats: Hikes, Furry Clients, Location on one wrapping row */
#page-section-6424506d4e671770f6b9ca63 .row.sqs-row,
#page-section-6424506d4e671770f6b9ca63 .sqs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  float: none;
  width: 100%;
}

#page-section-6424506d4e671770f6b9ca63 .sqs-col-3,
#page-section-6424506d4e671770f6b9ca63 .span-3 {
  float: none;
  width: auto;
  flex: 0 1 16rem;
  max-width: 18rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#page-section-6424506d4e671770f6b9ca63 .sqs-block,
#page-section-6424506d4e671770f6b9ca63 .sqs-html-content,
#page-section-6424506d4e671770f6b9ca63 .image-block-wrapper {
  width: 100%;
  text-align: center;
}

#block-yui_3_17_2_1_1680105225296_35898 h3,
#block-yui_3_17_2_1_1680105225296_35898 .sqs-html-content h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem auto;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--paws-navy);
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(11, 35, 71, 0.1);
}

/* Buttons: even, compact padding so the label sits in the middle */
#siteWrapper .sqs-button-element--primary,
#siteWrapper .sqs-block-button-element,
#siteWrapper a.btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: auto !important;
  min-height: 44px;
  padding: 0.55rem 1.15rem !important;
  line-height: 1.15 !important;
}

/* Service cards added above the carousel */
.paws-pet-waste-item,
.paws-pet-grooming-item {
  width: min(100% - 2rem, 40rem);
  margin-inline: auto;
  box-sizing: border-box;
}

.user-items-list-carousel__gutter,
.user-items-list-carousel__slideshow-holder,
.user-items-list-carousel__slides {
  max-width: 100%;
}

.user-items-list-carousel__media,
.user-items-list-carousel__media-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact intake */
.paws-intake-wrap {
  width: min(100%, 36rem);
  margin: 1rem auto 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
  background: #fff;
  color: var(--paws-ink);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.paws-intake-wrap h2 {
  margin: 0 0 0.35rem;
  color: var(--paws-navy);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.paws-intake-wrap p {
  margin: 0 0 1rem;
  color: #3d4d63;
}

.paws-intake {
  display: grid;
  gap: 0.75rem;
}

.paws-intake label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--paws-navy);
  text-align: left;
}

.paws-intake input,
.paws-intake textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c5d0dc;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  color: var(--paws-ink);
  background: #fff;
}

.paws-intake textarea {
  min-height: 8rem;
  resize: vertical;
}

.paws-intake button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--paws-navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.paws-intake button:focus-visible,
.paws-intake input:focus-visible,
.paws-intake textarea:focus-visible {
  outline: 3px solid var(--paws-blue);
  outline-offset: 2px;
}

/* Founder card on Our Team */
.paws-founder-card {
  display: grid;
  gap: 1rem;
  width: min(100% - 2rem, 52rem);
  margin: 1.5rem auto 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11, 35, 71, 0.08);
  text-align: left;
}

.paws-founder-card img {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  justify-self: center;
}

/* Team galleries: photo fills the card instead of being clipped in half */
.summary-block-collection-type-blog-side-by-side .summary-item-list {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  height: auto !important;
  width: 100%;
}

#siteWrapper .summary-block-collection-type-blog-side-by-side .summary-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  float: none !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  overflow: hidden;
  background: #0b2347;
}

.summary-block-collection-type-blog-side-by-side .summary-thumbnail-outer-container {
  position: relative !important;
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  flex: 0 0 auto;
}

.summary-block-collection-type-blog-side-by-side .summary-thumbnail-container {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.summary-block-collection-type-blog-side-by-side .summary-thumbnail.img-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}

.summary-block-collection-type-blog-side-by-side .summary-thumbnail img {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center 18% !important;
}

#siteWrapper .summary-block-collection-type-blog-side-by-side .summary-content {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem 0.9rem;
}

#siteWrapper .summary-block-collection-type-blog-side-by-side .summary-excerpt {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0.2rem 0 0;
}

.summary-block-collection-type-blog-side-by-side .summary-metadata-container--above-title {
  display: none !important;
}

.sqs-block:has(.paws-founder-card),
.sqs-block-content:has(.paws-founder-card),
.summary-block-wrapper:has(.paws-founder-card) {
  height: auto !important;
}

.summary-item-list-container:not(:has(.paws-founder-card)):not(:has(a[data-title]:not([data-title="Carolina Carver"]))) {
  display: none !important;
}

.paws-founder-card h2 {
  margin: 0;
  color: var(--paws-navy);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.paws-founder-card .paws-role {
  margin: 0.2rem 0 0.8rem;
  color: #5b6b80;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.paws-founder-card p {
  margin: 0 0 0.75rem;
  color: #243246;
  line-height: 1.55;
}

#siteWrapper .summary-item:has(a[data-title="Carolina Carver"]),
#siteWrapper .summary-item:has([aria-label="Carolina Carver"]) {
  display: none !important;
}

@media (min-width: 48rem) {
  .sqs-col-1, .span-1 { width: 8.333%; float: left; }
  .sqs-col-2, .span-2 { width: 16.666%; float: left; }
  .sqs-col-3, .span-3 { width: 25%; float: left; }
  .sqs-col-4, .span-4 { width: 33.333%; float: left; }
  .sqs-col-5, .span-5 { width: 41.666%; float: left; }
  .sqs-col-6, .span-6 { width: 50%; float: left; }
  .sqs-col-7, .span-7 { width: 58.333%; float: left; }
  .sqs-col-8, .span-8 { width: 66.666%; float: left; }
  .sqs-col-9, .span-9 { width: 75%; float: left; }
  .sqs-col-10, .span-10 { width: 83.333%; float: left; }
  .sqs-col-11, .span-11 { width: 91.666%; float: left; }
  .sqs-col-12, .span-12 { width: 100%; float: left; }

  #page-section-6424506d4e671770f6b9ca63 .sqs-col-3,
  #page-section-6424506d4e671770f6b9ca63 .span-3 {
    float: none;
    width: auto;
    flex: 1 1 10rem;
  }

  .paws-founder-card {
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .paws-founder-card img {
    justify-self: start;
  }

  section[data-section-id="642458470f85c34d7b7637ea"] .sqs-col-4,
  section[data-section-id="642458470f85c34d7b7637ea"] .sqs-col-7 {
    float: left;
  }
}

@media (min-width: 40rem) {
  .summary-block-collection-type-blog-side-by-side .summary-item-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .summary-block-collection-type-blog-side-by-side .summary-item-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Wide banner art scales to the section width and stays fully visible */
@media (max-width: 80rem) {
  #siteWrapper section:has(.section-background img[data-image-dimensions="3456x1728"]),
  #siteWrapper section:has(.section-background img[data-image-dimensions="6912x3456"]) {
    min-height: 0 !important;
    height: auto !important;
    background-color: #7eb8d4 !important;
    padding-bottom: 50% !important;
  }

  #siteWrapper section:has(.section-background img[data-image-dimensions="3456x1728"]) .section-border,
  #siteWrapper section:has(.section-background img[data-image-dimensions="6912x3456"]) .section-border {
    background-color: #7eb8d4 !important;
  }

  #siteWrapper .section-background:has(img[data-image-dimensions="3456x1728"]),
  #siteWrapper .section-background:has(img[data-image-dimensions="6912x3456"]) {
    top: auto !important;
    bottom: 0 !important;
    height: auto !important;
    aspect-ratio: 2 / 1;
    background-color: #7eb8d4 !important;
  }

  #siteWrapper .section-background:has(img[data-image-dimensions="3456x1728"]) img,
  #siteWrapper .section-background:has(img[data-image-dimensions="6912x3456"]) img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  #siteWrapper .header-display-desktop {
    display: none !important;
  }

  #siteWrapper .header-display-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #siteWrapper .header-display-mobile .header-nav,
  #siteWrapper .header-display-mobile .header-actions {
    display: none !important;
  }

  #siteWrapper .header-display-mobile .header-burger {
    display: flex !important;
  }
}
