/* Photography cards for this directory; the individual device tests are unchanged. */
.device-channel .channel-hero {
  padding: 38px 0 14px;
}

.device-channel .channel-hero > p {
  margin-bottom: 0;
}

.precall-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 26px;
}

.precall-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  padding: 11px 13px 11px 20px;
  border: 1px solid #244c43;
  border-radius: 12px;
  background: #244c43;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 3px 8px rgb(36 76 67 / 10%);
  transition: background .16s ease, box-shadow .16s ease;
}

.precall-action:hover {
  background: #193e35;
  box-shadow: 0 4px 12px rgb(36 76 67 / 17%);
}

.precall-arrow {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
}

.precall-arrow svg {
  width: 18px;
  height: 18px;
}

.precall-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #53615a;
  font-size: 13px;
}

.precall-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.precall-steps li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin-right: 5px;
  background: #c9d4c9;
}

.precall-number {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #d3ded2;
  border-radius: 50%;
  background: #eef4eb;
  color: #46614f;
  font-size: 11px;
  font-weight: 700;
}

.device-channel .tool-grid {
  margin-top: 20px;
}

.device-channel .tool-card {
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgb(35 43 47 / 8%);
  transition: transform .16s ease, box-shadow .16s ease;
}

.device-channel .card-art {
  display: block;
  padding: 12px 12px 0;
}

.device-channel .card-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.device-channel .card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 21px;
}

.device-channel .tool-card h2 {
  margin: 0 0 10px;
}

.device-channel .tool-card .card-go {
  margin-top: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .device-channel .tool-card:hover {
    box-shadow: 0 8px 18px rgb(35 43 47 / 14%);
  }
}

@media (hover: none) {
  .device-channel .tool-card:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .device-channel .channel-hero { padding-top: 28px; }
  .precall-entry { gap: 15px; margin-top: 22px; }
  .precall-action { width: 100%; }
  .precall-steps { width: 100%; justify-content: space-between; gap: 7px; font-size: 12px; }
  .precall-steps li { gap: 6px; }
  .precall-steps li + li::before { width: 10px; margin-right: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .device-channel .tool-card:hover {
    transform: none;
  }
}
