@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap");
:root {
  --green: #28563e;
  --deep: #183e2c;
  --ink: #17211d;
  --muted: #6b736d;
  --line: #e3e7e1;
  --soft: #f4f6f1;
  --sage: #e5eddf;
  --gold: #eba525;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    15px/1.5 "DM Sans",
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #93b297;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #93b297;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 18px;
}
p {
  color: var(--muted);
}
img {
  display: block;
  object-fit: cover;
  max-width: 100%;
}
i.ph {
  font-size: 21px;
  vertical-align: middle;
  line-height: 1;
}
button i {
  pointer-events: none;
}
.wrap {
  max-width: 1320px;
  margin: auto;
  padding: 0 48px;
}
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand i {
  font-size: 34px;
  color: var(--deep);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 42px;
  height: 100%;
  margin-left: 80px;
}
.navlinks a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 14px;
  font-weight: 550;
}
.navlinks a.active:after {
  position: absolute;
  content: "";
  bottom: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}
.navright {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navright small {
  color: var(--muted);
}
.button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 550;
  white-space: nowrap;
}
.button:hover {
  background: var(--soft);
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: var(--deep);
}
.subtle {
  background: var(--soft);
}
.iconbutton {
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 10px;
}
.hero {
  position: relative;
  min-height: 505px;
  background: #394939 url("/wt/wagtrails/images/hero.png") center 56% / cover;
  color: white;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #071e123b;
}
.heroinner {
  width: 100%;
  position: relative;
  padding-top: 42px;
  padding-bottom: 38px;
}
.hero h1 {
  font-size: 59px;
  line-height: 1.04;
  letter-spacing: -2.1px;
  max-width: 580px;
  font-weight: 650;
  text-shadow: 0 1px 15px #0002;
}
.hero p {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  max-width: 445px;
  margin: 24px 0;
}
.hero .eyebrow {
  color: #edf4e4;
  font-size: 11px;
  margin: 0 0 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
}
.searchfield {
  background: white;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  padding: 0 16px;
  color: #667269;
  min-width: 0;
}
.searchfield input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  padding: 15px 0;
  color: var(--ink);
  min-width: 0;
}
.hero .search {
  max-width: 620px;
}
.hero .searchfield {
  flex: 1;
}
.hero .primary {
  padding: 15px 21px;
  background: #356c4b;
  border-color: #588969;
}
.benefits {
  display: flex;
  gap: 35px;
  margin-top: 37px;
}
.benefits span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: white;
}
.benefits i {
  font-size: 24px;
}
.hero-note {
  position: absolute;
  right: 6%;
  bottom: 45px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.3;
  transform: rotate(-8deg);
}
.section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.sectionhead p {
  margin-top: 8px;
  font-size: 14px;
}
.textlink {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.card {
  min-width: 0;
  position: relative;
}
.cardphoto {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}
.cardphoto img {
  height: 162px;
  width: 100%;
  transition: transform 0.35s;
}
.card:hover .cardphoto img {
  transform: scale(1.04);
}
.heart {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #fffef5ec;
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  z-index: 2;
  color: #263a2e;
}
.heart.saved {
  color: #d87659;
  background: #fff;
}
.heart i {
  font-size: 19px;
}
.card h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 13px 0 6px;
}
.card .location {
  font-size: 12px;
  margin-bottom: 7px;
}
.meta {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.star {
  color: var(--gold);
  font-size: 15px !important;
}
.dot {
  color: #8c958d;
}
.difficulty {
  font-size: 12px;
  margin-top: 3px;
  color: #606b63;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 11px;
  color: #526054;
}
.tagrow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.inspiration {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--deep);
}
.category img {
  width: 100%;
  height: 100%;
  opacity: 0.73;
  transition: transform 0.3s;
}
.category:hover img {
  transform: scale(1.04);
}
.category div {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
}
.category p {
  color: #fffd;
  font-size: 13px;
  margin-top: 5px;
}
.category h3 {
  font-size: 23px;
}
.story {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.story h2 {
  font-size: 30px;
  max-width: 430px;
}
.story p {
  max-width: 460px;
  margin: 13px 0 20px;
}
.storymark {
  font-family: Georgia, serif;
  font-size: 35px;
  color: var(--green);
  font-style: italic;
  text-align: center;
  padding: 30px;
  line-height: 1.4;
}
.storymark i {
  font-size: 40px;
  display: block;
  margin-top: 15px;
}
footer {
  border-top: 1px solid var(--line);
}
.footerinner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 12px;
  color: var(--muted);
}
.footerinner div {
  display: flex;
  gap: 22px;
}
.pagehead {
  padding-top: 40px;
  padding-bottom: 25px;
}
.pagehead h1 {
  font-size: 34px;
}
.toolbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 18px;
}
.toolbar .search {
  max-width: 850px;
}
.toolbar .searchfield {
  flex: 1;
  background: #fafbf9;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 7px 13px;
  background: #fff;
  border-radius: 7px;
  font-size: 12px;
}
.chip.on {
  background: var(--sage);
  border-color: #d5e3d0;
  color: var(--deep);
}
.chip i {
  font-size: 15px;
}
.clear {
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--muted);
  padding: 7px;
}
.explore-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  min-height: 450px;
  height: calc(100vh - 229px);
}
.results {
  overflow: auto;
  padding: 22px 20px 25px 28px;
}
.resulthead {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 18px;
}
.resulthead select {
  border: 0;
  background: none;
  font-size: 11px;
  max-width: 130px;
}
.listcard {
  display: flex;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  margin-bottom: 10px;
  background: #fff;
}
.listcard.selected {
  border-color: var(--green);
  background: #f7faf4;
}
.listcard > a > img {
  height: 114px;
  width: 110px;
  border-radius: 7px;
}
.listbody {
  padding-top: 4px;
  min-width: 0;
  flex: 1;
}
.listbody h3 {
  font-size: 15px;
  margin: 0 26px 5px 0;
}
.listbody .meta {
  font-size: 11px;
  gap: 5px;
}
.listbody .tagrow {
  margin-top: 9px;
  gap: 4px;
}
.listbody .tag {
  font-size: 9px;
  padding: 3px 6px;
}
.listbody p {
  font-size: 11px;
  margin-top: 5px;
}
.listcard .heart {
  width: 25px;
  height: 25px;
  top: 11px;
  right: 9px;
  background: transparent;
}
.map {
  background: #e0e9d8;
  min-height: 330px;
  z-index: 0;
}
.mapwrap {
  position: relative;
}
.mapwrap > .map {
  height: 100%;
  width: 100%;
}
.mapnotice {
  position: absolute;
  bottom: 25px;
  left: 15px;
  z-index: 500;
  background: #fffffff0;
  border-radius: 8px;
  font-size: 11px;
  padding: 8px 12px;
  max-width: 300px;
  color: #566250;
}
.mapaction {
  position: absolute;
  z-index: 500;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 3px 12px #0002;
}
.pawmarker {
  background: var(--green);
  color: white;
  border: 3px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 7px #0003;
}
.pawmarker i {
  font-size: 22px;
}
.leaflet-popup-content {
  font-family: "DM Sans", Arial, sans-serif;
  width: 215px !important;
}
.popupimg {
  height: 95px;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}
.leaflet-popup-content h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.leaflet-popup-content .button {
  margin-top: 12px;
  width: 100%;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  overflow-x: auto;
}
.tab {
  padding: 13px 2px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 13px;
}
.tab.active {
  border-color: var(--green);
  font-weight: 650;
}
.savedgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 38px;
}
.collection {
  border: 0;
  cursor: pointer;
  padding: 0;
  text-align: left;
  height: 200px;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: white;
}
.collection img {
  width: 100%;
  height: 100%;
  opacity: 0.65;
}
.collection .label {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.collection h3 {
  font-size: 21px;
  margin-bottom: 5px;
}
.collection span {
  font-size: 12px;
}
.collection .count {
  position: absolute;
  right: 17px;
  top: 16px;
  background: #ffffff29;
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 4px 10px;
}
.empty {
  padding: 55px 25px;
  background: var(--soft);
  border: 1px dashed #ced8ca;
  border-radius: 12px;
  text-align: center;
  grid-column: 1/-1;
}
.empty > i {
  font-size: 40px;
  color: var(--green);
}
.empty h3 {
  margin: 15px 0 8px;
}
.empty p {
  margin-bottom: 20px;
}
.detailhero {
  height: 360px;
  position: relative;
  overflow: hidden;
}
.detailhero > img {
  width: 100%;
  height: 100%;
  object-position: center 48%;
}
.detailactions {
  position: absolute;
  right: 48px;
  top: 24px;
  display: flex;
  gap: 10px;
}
.back {
  position: absolute;
  top: 24px;
  left: 48px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 55px;
  padding-top: 28px;
  padding-bottom: 45px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.detail-layout h1 {
  font-size: 36px;
  margin-bottom: 13px;
}
.detail-layout .meta {
  font-size: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 28px 0 20px;
}
.stat {
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 11px;
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}
.stat i {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 25px;
}
.detail-layout .tabs {
  margin-top: 28px;
}
.prose {
  line-height: 1.9;
  color: #58645c;
  font-size: 14px;
}
.prose h3 {
  color: var(--ink);
  margin-bottom: 13px;
}
.prose p {
  margin-bottom: 18px;
}
.prose ul {
  padding-left: 20px;
}
.sidepanel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  align-self: start;
  margin-top: -90px;
  background: white;
  z-index: 1;
  box-shadow: 0 5px 25px #1c3a1910;
}
.sidepanel .map {
  min-height: 225px;
  border-radius: 8px;
}
.side-stats {
  display: flex;
  justify-content: space-around;
  margin: 18px 0;
}
.side-stats b {
  display: block;
  font-size: 14px;
}
.side-stats small {
  font-size: 10px;
  color: var(--muted);
}
.sidepanel .button {
  width: 100%;
}
.side-note {
  background: var(--soft);
  padding: 16px;
  border-radius: 8px;
  margin-top: 13px;
  font-size: 12px;
  color: #5c6b5e;
}
.side-note b {
  display: block;
  color: var(--ink);
  margin-bottom: 7px;
}
.review {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.reviewhead {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.review p {
  color: #58645c;
  font-size: 14px;
  margin-top: 8px;
}
.profilecover {
  height: 220px;
  object-fit: cover;
  width: 100%;
  object-position: center 45%;
}
.profileinfo {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: -45px;
  position: relative;
}
.avatar {
  width: 112px;
  height: 112px;
  border: 5px solid white;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  color: var(--green);
}
.avatar i {
  font-size: 50px;
}
.profileinfo h1 {
  font-size: 28px;
  margin-top: 40px;
}
.profileinfo p {
  font-size: 13px;
  margin-top: 5px;
}
.profileinfo .button {
  margin-left: auto;
  margin-top: 40px;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 35px 0;
}
.profile-stats div {
  text-align: center;
  border-right: 1px solid var(--line);
}
.profile-stats div:last-child {
  border: 0;
}
.profile-stats b {
  display: block;
  font-size: 24px;
}
.profile-stats small {
  font-size: 12px;
  color: var(--muted);
}
.profilebody {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  padding-bottom: 40px;
}
.activity {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 13px;
}
.activity img {
  height: 58px;
  width: 72px;
  border-radius: 7px;
}
.activity p {
  font-size: 12px;
  margin-top: 4px;
}
.quote {
  background: var(--sage);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--green);
  font:
    italic 28px/1.5 Georgia,
    serif;
  padding: 38px 25px;
  min-height: 275px;
}
.quote i {
  font-size: 50px;
  margin-top: 25px;
}
.settings {
  max-width: 600px;
}
.setting {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.setting p {
  font-size: 12px;
  margin-top: 4px;
}
dialog {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 460px;
  max-width: calc(100% - 30px);
  box-shadow: 0 20px 100px #0003;
  color: var(--ink);
}
dialog::backdrop {
  background: #132c2266;
  backdrop-filter: blur(4px);
}
.modalhead {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}
.modalhead h2 {
  font-size: 25px;
}
dialog p {
  font-size: 13px;
  margin-bottom: 22px;
}
.field {
  display: block;
  margin: 16px 0;
  font-weight: 550;
  font-size: 13px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d8dfd4;
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.formactions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}
.check input {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
}
.error {
  color: #a73d2c !important;
  margin-top: 12px;
}
.notice {
  padding: 12px 16px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 12px;
  color: #677362;
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--deep);
  color: #fff;
  padding: 13px 22px;
  border-radius: 9px;
  box-shadow: 0 5px 20px #0002;
  opacity: 0;
  pointer-events: none;
  z-index: 3000;
  transition: 0.2s;
  font-size: 13px;
  max-width: calc(100vw - 30px);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 4000;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.mobile-map-toggle {
  display: none;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.photo-grid img {
  width: 100%;
  height: 220px;
  border-radius: 10px;
}
.loading {
  padding: 15px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero {
    min-height: 610px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .cardphoto img {
    height: 185px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards .card:nth-child(n + 4) {
    display: none;
  }
  .explore-layout {
    grid-template-columns: 380px 1fr;
  }
  .navlinks {
    margin-left: 0;
  }
  .detail-layout {
    gap: 25px;
    grid-template-columns: 1fr 280px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-note {
    right: 5%;
  }
  .profilebody {
    gap: 25px;
  }
  .navright small {
    display: none;
  }
}
@media (max-width: 700px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    height: 72px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 5px;
  }
  .brand i {
    font-size: 28px;
  }
  .navlinks {
    gap: 19px;
  }
  .navlinks a {
    font-size: 12px;
  }
  .navright {
    display: none;
  }
  .navlinks a.active:after {
    bottom: 14px;
  }
  .hero {
    min-height: 600px;
    background-position: 63% center;
    align-items: flex-start;
  }
  .hero:before {
    background: #071e1266;
  }
  .heroinner {
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 44px;
    max-width: 330px;
    letter-spacing: -1.7px;
  }
  .hero p {
    font-size: 15px;
    max-width: 290px;
    margin: 20px 0 24px;
  }
  .hero .search {
    flex-wrap: wrap;
    gap: 9px;
    max-width: 440px;
  }
  .hero .searchfield {
    flex-basis: 100%;
  }
  .hero .primary {
    padding: 11px 17px;
  }
  .benefits {
    gap: 23px;
    margin-top: 28px;
    justify-content: flex-start;
  }
  .benefits span {
    font-size: 9px;
  }
  .benefits i {
    font-size: 22px;
  }
  .hero-note {
    display: none;
  }
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .sectionhead h2 {
    font-size: 23px;
  }
  .sectionhead p {
    font-size: 12px;
  }
  .sectionhead .textlink {
    font-size: 11px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 13px;
  }
  .cards .card:nth-child(n + 4) {
    display: block;
  }
  .cards .card:nth-child(5) {
    display: none;
  }
  .cardphoto img {
    height: 140px;
  }
  .card h3 {
    font-size: 14px;
  }
  .card .location {
    font-size: 10px;
  }
  .card .meta {
    font-size: 10px;
    gap: 5px;
  }
  .categories {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .category {
    height: 190px;
  }
  .story {
    display: block;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .storymark {
    font-size: 27px;
  }
  .footerinner {
    flex-direction: column;
    gap: 12px;
  }
  .toolbar {
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .toolbar .search {
    flex-wrap: wrap;
  }
  .toolbar .searchfield {
    flex-basis: 100%;
  }
  .toolbar .button {
    padding: 8px 12px;
    font-size: 12px;
  }
  .chips {
    gap: 6px;
    margin-top: 12px;
  }
  .chip {
    font-size: 10px;
    padding: 6px 8px;
  }
  .explore-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .results {
    padding: 20px;
    max-height: none;
    order: 2;
  }
  .mapwrap {
    height: 340px;
    order: 1;
  }
  .explore-layout .mapwrap {
    display: none;
  }
  .explore-layout.showmap .mapwrap {
    display: block;
  }
  .mobile-map-toggle {
    display: inline-flex;
  }
  .listcard > a > img {
    width: 100px;
    height: 110px;
  }
  .pagehead {
    padding-top: 28px;
    padding-bottom: 20px;
  }
  .pagehead h1 {
    font-size: 29px;
  }
  .pagehead .button {
    font-size: 11px;
    padding: 10px;
  }
  .savedgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .collection {
    height: 160px;
  }
  .collection .label {
    left: 14px;
    bottom: 14px;
  }
  .collection h3 {
    font-size: 17px;
  }
  .collection span {
    font-size: 10px;
  }
  .tabs {
    gap: 24px;
  }
  .tab {
    font-size: 12px;
  }
  .detailhero {
    height: 280px;
  }
  .detailactions {
    right: 15px;
    top: 15px;
    gap: 6px;
  }
  .detailactions .button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .back {
    left: 15px;
    top: 15px;
    font-size: 11px;
    padding: 8px;
  }
  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 22px;
  }
  .detail-layout h1 {
    font-size: 30px;
  }
  .detail-layout .meta {
    font-size: 12px;
  }
  .sidepanel {
    margin: 0;
    width: 100%;
    order: 2;
  }
  .stats {
    margin-top: 24px;
    gap: 0;
  }
  .stat {
    font-size: 9px;
    padding: 0 7px;
  }
  .stat i {
    font-size: 22px;
  }
  .profilecover {
    height: 165px;
  }
  .avatar {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
  }
  .avatar i {
    font-size: 40px;
  }
  .profileinfo {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: -30px;
  }
  .profileinfo h1 {
    font-size: 23px;
    margin-top: 30px;
  }
  .profileinfo .button {
    margin-top: 7px;
    margin-left: 100px;
    padding: 7px 11px;
    font-size: 11px;
  }
  .profile-stats {
    margin: 25px 0;
  }
  .profile-stats b {
    font-size: 20px;
  }
  .profile-stats small {
    font-size: 10px;
  }
  .profilebody {
    display: block;
  }
  .quote {
    margin-top: 25px;
    min-height: 210px;
  }
  .photo-grid img {
    height: 160px;
  }
  dialog {
    padding: 23px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .searchfield input {
    font-size: 13px;
  }
}

/* Preserve every saved item at all breakpoints. */
.cards .card:nth-child(n) {
  display: block;
}
.meta .ph-star {
  color: var(--gold);
  font-size: 15px;
}
.listbody p .ph {
  font-size: 14px;
}
.collection:focus-visible {
  outline-offset: 4px;
}

@media (min-width: 701px) and (max-width: 1499px) {
  .home-trails {
    padding-top: 28px;
  }
  .home-trails .sectionhead {
    margin-bottom: 18px;
  }
  .home-trails .cardphoto img {
    height: 140px;
  }
}

.quote-art {
  padding: 0;
  overflow: hidden;
  align-self: start;
}
.quote-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
