:root {
  --ink: #101818;
  --muted: #58625e;
  --cream: #fbf8f0;
  --line: rgba(15, 24, 24, 0.14);
  --orange: #f04c2f;
  --green: #657448;
  --blue: #2f6f8d;
  --teal: #3e8da0;
  --purple: #a06092;
  --yellow: #d7bd3f;
}

body.activity-page {
  background: var(--cream);
}

.activity-shell {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.activity-hero {
  position: relative;
  height: 750px;
  overflow: hidden;
}

.activity-hero__media {
  position: absolute;
  inset: 0;
  background-image: url("../pawtrail-home/assets/images/hero-walk.webp");
  background-size: cover;
  background-position: center 46%;
}

.activity-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 240, 0.98) 0%, rgba(251, 248, 240, 0.86) 31%, rgba(251, 248, 240, 0.12) 62%, rgba(251, 248, 240, 0.01) 100%),
    linear-gradient(0deg, rgba(251, 248, 240, 0.42) 0%, rgba(251, 248, 240, 0.03) 44%);
}

.activity-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.activity-hero h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 74px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
}

.activity-hero p {
  width: 410px;
  margin: 0 0 32px;
  color: #1f2927;
  font-size: 22px;
  line-height: 1.42;
}

.activity-hero a,
.cta-panel a {
  min-height: 58px;
  padding: 0 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.activity-card-panel {
  position: relative;
  z-index: 3;
  margin-top: -70px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(15, 24, 24, 0.1);
}

.activity-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.activity-page .activity-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: auto;
  color: var(--ink);
  box-shadow: none;
}

.activity-page .activity-card span {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: inherit;
  font-weight: inherit;
}

.activity-photo {
  position: relative;
  height: 324px;
  overflow: hidden;
}

.activity-photo img {
  height: 100%;
  object-fit: cover;
}

.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.activity-page .activity-card .tag {
  position: absolute;
  left: 14px;
  top: 14px;
  width: auto;
  height: auto;
  background: var(--green);
  color: #fff;
}

.tag.green { background: var(--green); }
.tag.blue { background: var(--blue); }
.tag.cyan { background: var(--teal); }
.tag.purple { background: var(--purple); }
.tag.teal { background: #2e879a; }
.tag.yellow { background: #8d8225; }

.activity-page .activity-card .tag.green { background: var(--green); }
.activity-page .activity-card .tag.blue { background: var(--blue); }
.activity-page .activity-card .tag.cyan { background: var(--teal); }
.activity-page .activity-card .tag.purple { background: var(--purple); }
.activity-page .activity-card .tag.teal { background: #2e879a; }
.activity-page .activity-card .tag.yellow { background: #8d8225; }

.activity-copy {
  padding: 20px 22px 24px;
}

.activity-title {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}

.activity-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.05;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
}

.icon::before {
  content: "";
  display: block;
  box-sizing: border-box;
}

.city::before {
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-top-width: 4px;
  box-shadow: inset 5px 0 0 rgba(255, 255, 255, 0.34), inset -5px 0 0 rgba(255, 255, 255, 0.34);
}

.mountain { background: var(--blue); }
.mountain::before {
  width: 20px;
  height: 20px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}

.rain { background: var(--teal); }
.rain::before {
  width: 15px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  background: currentColor;
  transform: rotate(-45deg);
}

.travel { background: var(--purple); }
.travel::before {
  width: 20px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.26);
}

.water { background: #2e879a; }
.water::before {
  width: 23px;
  height: 15px;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 999px;
}

.night { background: #101818; color: #f6ce42; }
.night::before {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 7px 0 0 #101818;
}

.activity-copy > p {
  min-height: 44px;
  margin: 10px 0 18px 62px;
  color: #26302d;
  font-size: 16px;
  line-height: 1.38;
}

.activity-copy hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 14px;
}

.activity-copy h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.gear-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: start;
}

.gear-row figure {
  margin: 0;
  text-align: center;
}

.gear-row img {
  height: 70px;
  object-fit: contain;
  border-radius: 5px;
  mix-blend-mode: multiply;
}

.gear-row figcaption {
  margin-top: 6px;
  color: #1f2927;
  font-size: 11px;
  line-height: 1.2;
}

.activity-copy > a {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--green);
  font-size: 17px;
  font-weight: 820;
}

.activity-copy > a span {
  line-height: 1;
}

.activity-card:nth-child(2) .activity-copy > a,
.activity-card:nth-child(3) .activity-copy > a,
.activity-card:nth-child(5) .activity-copy > a {
  color: var(--blue);
}

.activity-card:nth-child(4) .activity-copy > a {
  color: var(--purple);
}

.activity-card:nth-child(6) .activity-copy > a {
  color: var(--ink);
}

.feature-panel {
  margin-top: 30px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-panel article {
  min-width: 0;
  padding: 4px 0 0;
}

.feature-panel div {
  min-height: 118px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.feature-panel h2 {
  margin: 2px 0 8px;
  font-size: 20px;
}

.feature-panel p {
  grid-column: 2;
  margin: 0;
  color: #3c4642;
  line-height: 1.45;
  font-size: 15px;
}

.line-icon {
  width: 46px;
  height: 46px;
  color: var(--green);
  display: grid;
  place-items: center;
}

.line-icon::before {
  content: "";
  display: block;
  box-sizing: border-box;
}

.line-icon.shield::before {
  width: 24px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 6px 6px 12px 12px;
  transform: rotate(45deg);
}

.line-icon.sun { color: var(--orange); }
.line-icon.sun::before {
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 -13px 0 -9px currentColor, 0 13px 0 -9px currentColor, 13px 0 0 -9px currentColor, -13px 0 0 -9px currentColor;
}

.line-icon.leaf::before {
  width: 28px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 100% 0 100% 0;
  transform: rotate(-28deg);
}

.line-icon.durable::before {
  width: 26px;
  height: 26px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 10px 10px;
  border-top-color: transparent;
}

.feature-panel img {
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.cta-panel {
  margin-top: 28px;
  min-height: 174px;
  border-radius: 14px;
  background: #f2ecdf;
  display: grid;
  grid-template-columns: 210px 440px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
}

.cta-panel > img {
  height: 100%;
  object-fit: cover;
}

.cta-panel > div:nth-child(2) {
  padding: 0 34px;
  min-width: 0;
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.cta-panel p {
  max-width: 390px;
  margin: 0 0 15px;
  color: #3c4642;
  line-height: 1.45;
}

.cta-panel a {
  min-height: 42px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--green);
  font-size: 14px;
}

.cta-panel .service-strip {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 174px;
  background: transparent;
  border: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cta-panel > div:last-child {
  min-width: 0;
  width: 100%;
}

.cta-panel .service-strip div {
  padding: 0 16px;
  gap: 12px;
  min-width: 0;
}

.cta-panel .service-strip svg {
  width: 32px;
  height: 32px;
}

.cta-panel .service-strip strong {
  font-size: 13px;
}

.cta-panel .service-strip span {
  font-size: 12px;
}

.activity-page > [data-include*="footer"],
.activity-page .site-footer {
  margin-top: 28px;
}

.activity-page main + div .service-strip {
  display: none;
}

@media (max-width: 1180px) {
  .activity-shell {
    width: calc(100% - 48px);
  }

  .activity-card-grid,
  .feature-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-panel {
    grid-template-columns: 180px 1fr;
  }

  .cta-panel > div[data-include] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .activity-shell {
    width: calc(100% - 28px);
  }

  .activity-hero {
    height: 610px;
  }

  .activity-hero__copy {
    padding: 0 24px;
  }

  .activity-hero h1 {
    font-size: 48px;
  }

  .activity-hero p {
    width: 100%;
    font-size: 18px;
  }

  .activity-card-panel {
    margin-top: -56px;
    padding: 14px;
  }

  .activity-card-grid,
  .feature-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .activity-card {
    min-height: auto;
  }

  .activity-photo {
    height: 270px;
  }

  .gear-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-panel > img {
    height: 170px;
  }

  .cta-panel > div:nth-child(2) {
    padding: 24px;
  }
}
