/* ==========================================================================
   Dfly Inc — Website Design & Development Portfolio (website-portfolio.html)
   Hero with a laptop / tablet / phone composition, value strip, industry
   filter (shared .filter-bar logic in js/main.js), 3-column project cards
   with CSS device frames, and a closing CTA. Built on the global tokens,
   icon sprite and motion layer; loaded after animations.css.
   ========================================================================== */

/* --- Device frames (CSS only; screens are the generated SVGs) ------------- */
.wp-device img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-laptop-screen {
  position: relative;
  padding: 3.2% 3.2% 3.4%;
  background-color: #111522;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.wp-laptop-screen img {
  border-radius: 3px;
}

.wp-laptop-screen::before {
  content: "";
  position: absolute;
  top: 1.2%;
  left: 50%;
  width: 4px;
  height: 4px;
  background-color: #3a4052;
  border-radius: 50%;
  transform: translateX(-50%);
}

.wp-laptop-base {
  position: relative;
  height: 0;
  margin: 0 -9%;
  padding-bottom: 3.6%;
  background: linear-gradient(180deg, #eef0f4 0%, #c9ced8 70%, #aab1be 100%);
  border-radius: 2px 2px 16px 16px / 2px 2px 10px 10px;
  box-shadow: 0 18px 28px -16px rgba(23, 26, 44, 0.55);
}

.wp-laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 40%;
  background-color: #b9bfcb;
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%);
}

.wp-phone,
.wp-tablet {
  position: absolute;
  padding: 5px;
  background-color: #111522;
  border-radius: 18px;
  box-shadow: 0 26px 44px -20px rgba(23, 26, 44, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.wp-phone img {
  border-radius: 13px;
}

.wp-tablet {
  padding: 8px;
  border-radius: 22px;
}

.wp-tablet img {
  border-radius: 13px;
}

/* --- Hero ------------------------------------------------------------------ */
.wp-hero {
  position: relative;
  padding: 20px 0 92px;
  background-color: #ffffff;
  background-image: radial-gradient(680px 440px at 78% 48%, rgba(235, 101, 31, 0.12), transparent 70%),
    radial-gradient(520px 360px at 0% 0%, rgba(253, 239, 231, 0.9), transparent 70%),
    linear-gradient(rgba(23, 26, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 44, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f6f8fc 0%, #ffffff 90%);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
}

.wp-breadcrumb {
  padding: 0 0 22px;
  border: 0;
  background: none;
}

.wp-breadcrumb ol {
  font-size: 14px;
}

.wp-breadcrumb a {
  color: var(--color-primary-darker);
}

.wp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 40px;
  align-items: center;
}

.wp-hero-copy .eyebrow {
  letter-spacing: 0.16em;
}

.wp-hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 1.35rem + 2.5vw, 3.75rem);
  line-height: 1.03;
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.wp-hero-copy h1 .hl {
  display: block;
  color: var(--color-primary-dark);
}

.wp-hero-lead {
  max-width: 560px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
}

.wp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.wp-hero-actions .btn {
  padding: 11px 22px;
}

/* Laptop + tablet + phone composition */
.wp-hero-visual {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  aspect-ratio: 660 / 480;
}

.wp-hero-glow {
  position: absolute;
  inset: 8% 4% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(235, 101, 31, 0.2), rgba(235, 101, 31, 0) 75%);
}

.wp-hero-laptop {
  position: absolute;
  top: 17%;
  left: 7%;
  z-index: 2;
  width: 70%;
}

.wp-hero-tablet {
  top: 5%;
  right: 0;
  z-index: 1;
  width: 29%;
}

.wp-hero-phone {
  right: 5%;
  bottom: 1%;
  z-index: 3;
  width: 15.5%;
  padding: 4px;
  border-radius: 16px;
}

.wp-hero-phone img {
  border-radius: 12px;
}

.wp-hero-note {
  position: absolute;
  top: 0;
  left: 2%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  color: var(--color-navy);
  transform: rotate(-7deg) skewX(-8deg);
}

.wp-hero-note span:nth-child(2) {
  padding-left: 12px;
}

.wp-hero-note span:nth-child(3) {
  padding-left: 24px;
  color: var(--color-primary-dark);
}

.wp-hero-note-arrow {
  position: absolute;
  top: 34px;
  left: calc(100% + 4px);
  width: 46px;
  height: 40px;
  color: var(--color-primary);
}

@keyframes wpFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes wpPieceIn {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.wp-hero-visual.is-visible .wp-hero-laptop { animation: wpPieceIn 700ms var(--ease-out) 80ms backwards, wpFloat 9s ease-in-out 1.2s infinite; }
.wp-hero-visual.is-visible .wp-hero-tablet { animation: wpPieceIn 700ms var(--ease-out) 240ms backwards, wpFloat 10s ease-in-out 2.6s infinite; }
.wp-hero-visual.is-visible .wp-hero-phone { animation: wpPieceIn 700ms var(--ease-out) 380ms backwards, wpFloat 8s ease-in-out 3.4s infinite; }

/* --- Value strip ----------------------------------------------------------- */
.wp-values {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.wp-values-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 18px 8px;
  list-style: none;
  background-color: var(--color-white);
  border: 1px solid rgba(23, 26, 44, 0.07);
  border-radius: 18px;
  box-shadow: var(--shadow-premium), 0 1px 2px rgba(23, 26, 44, 0.04);
}

.wp-value {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 18px;
}

.wp-value + .wp-value {
  border-left: 1px solid var(--color-border);
}

.wp-value > .icon {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--color-primary-dark);
  background-color: rgba(235, 101, 31, 0.08);
  border: 1px solid rgba(235, 101, 31, 0.14);
  border-radius: 12px;
}

.wp-value span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.wp-value strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
}

/* --- Projects: heading, filters, toolbar ----------------------------------- */
.wp-projects {
  padding-top: 56px;
  background-color: var(--color-white);
}

.wp-projects-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px 48px;
  align-items: end;
  margin-bottom: 26px;
}

.wp-projects-head h2 {
  margin: 0;
  text-transform: none;
  font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.375rem);
  line-height: 1.15;
  color: var(--color-navy);
}

.wp-projects-head p {
  max-width: 720px;
  margin: 0 0 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.wp-projects-head a {
  color: var(--color-primary-darker);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-decoration-color: rgba(235, 101, 31, 0.35);
  text-underline-offset: 3px;
}

.wp-filters {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 -4px 16px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.wp-filters::-webkit-scrollbar {
  display: none;
}

.wp-filters .filter-btn {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--color-navy-600);
  background-color: var(--color-neutral-50);
  border-color: var(--color-neutral-200);
  border-radius: 12px;
  scroll-snap-align: start;
}

.wp-filters .filter-btn.is-active {
  color: var(--color-white);
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 10px 20px -12px rgba(200, 80, 15, 0.8);
}

.wp-filters .filter-btn:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.wp-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-navy-600);
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: 999px;
}

.filter-btn.is-active .wp-count {
  color: var(--color-primary-darker);
  border-color: transparent;
}

.wp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 22px;
}

.wp-results-count {
  margin: 0;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
}

.wp-disclosure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.wp-disclosure .icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-primary-dark);
}

/* --- Project grid + cards -------------------------------------------------- */
.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid rgba(23, 26, 44, 0.08);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(23, 26, 44, 0.04), 0 16px 36px -26px rgba(23, 26, 44, 0.4);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out);
}

.wp-card:focus-within {
  border-color: rgba(235, 101, 31, 0.45);
}

.wp-card-top {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.wp-badge,
.wp-type {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 999px;
}

.wp-badge {
  color: var(--color-navy);
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 26, 44, 0.1);
  box-shadow: 0 4px 10px -6px rgba(23, 26, 44, 0.3);
}

.wp-type {
  color: var(--color-primary-darker);
  background-color: var(--color-primary-tint);
  border: 1px solid rgba(235, 101, 31, 0.2);
}

.wp-card-media {
  position: relative;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  background-color: #f3f5f9;
  background-image: radial-gradient(70% 80% at 50% 100%, rgba(235, 101, 31, 0.12), transparent 70%),
    linear-gradient(rgba(23, 26, 44, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 44, 0.04) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  border-bottom: 1px solid rgba(23, 26, 44, 0.06);
}

.wp-card-laptop {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 66%;
  transition: transform 420ms var(--ease-out);
  transform-origin: 50% 80%;
}

.wp-card-laptop .wp-laptop-screen {
  border-radius: 9px 9px 0 0;
}

.wp-card-phone {
  right: 9%;
  bottom: 7%;
  width: 17.5%;
  padding: 3px;
  border-radius: 12px;
  transition: transform 420ms var(--ease-out);
}

.wp-card-phone img {
  border-radius: 9px;
}

.wp-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.wp-card-body h3 {
  margin: 0;
  text-transform: none;
  font-size: 19px;
  line-height: 1.3;
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
}

.wp-card-desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.wp-attrs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 18px;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--color-neutral-100);
}

.wp-attrs li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 0 10px;
}

.wp-attrs li:first-child {
  padding-left: 0;
}

.wp-attrs li + li {
  border-left: 1px solid var(--color-neutral-100);
}

.wp-attrs .icon {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 6px;
  color: var(--color-primary-dark);
  background-color: rgba(235, 101, 31, 0.07);
  border: 1px solid rgba(235, 101, 31, 0.16);
  border-radius: 9px;
}

.wp-attrs span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.wp-attrs strong {
  display: block;
  margin-bottom: 1px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--color-navy);
}

.wp-card-cta {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  background-color: var(--color-navy);
  border-radius: 999px;
  transition: background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.wp-card-cta .icon {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--ease-out);
}

.wp-card-cta:hover,
.wp-card-cta:focus-visible {
  color: var(--color-white);
  background-color: var(--color-primary-dark);
}

.wp-card-cta:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.wp-card-cta:hover .icon,
.wp-card-cta:focus-visible .icon {
  transform: translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
  .wp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(235, 101, 31, 0.3);
    box-shadow: 0 2px 4px rgba(23, 26, 44, 0.05), 0 30px 50px -28px rgba(23, 26, 44, 0.5);
  }

  .wp-card:hover .wp-card-laptop {
    transform: scale(1.035);
  }

  .wp-card:hover .wp-card-phone {
    transform: translateY(-4px);
  }

  .wp-card:hover .wp-card-cta .icon {
    transform: translateX(4px);
  }
}

.wp-projects .filter-empty-state {
  padding: 48px 0 8px;
}

/* --- CTA ------------------------------------------------------------------- */
.wp-cta {
  padding: 8px 0 80px;
  background-color: var(--color-white);
}

.wp-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px 48px;
  align-items: center;
  overflow: hidden;
  padding: 44px 48px;
  background-color: #fff8f3;
  background-image: radial-gradient(420px 260px at 100% 0%, rgba(235, 101, 31, 0.14), transparent 70%),
    radial-gradient(380px 240px at 0% 100%, rgba(23, 26, 44, 0.05), transparent 70%),
    linear-gradient(rgba(23, 26, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 44, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  border: 1px solid rgba(235, 101, 31, 0.16);
  border-radius: 24px;
}

.wp-cta-copy h2 {
  margin: 0;
  text-transform: none;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.wp-cta-copy h2 .hl {
  display: block;
  color: var(--color-primary-dark);
}

.wp-cta-copy p {
  max-width: 460px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.wp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.wp-cta-actions .btn {
  padding: 11px 22px;
}

.wp-cta-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-cta-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  color: var(--color-navy);
}

.wp-cta-features .icon {
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  padding: 16px;
  color: var(--color-primary-dark);
  background-color: var(--color-white);
  border: 1px solid rgba(235, 101, 31, 0.2);
  border-radius: 50%;
  box-shadow: 0 12px 24px -16px rgba(200, 80, 15, 0.6);
  transition: transform 260ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .wp-cta-features li:hover .icon {
    transform: translateY(-3px);
  }
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1199px) {
  .wp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-filters .filter-btn {
    flex: 0 0 auto;
  }

  .wp-cta-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .wp-values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .wp-value:nth-child(3) {
    border-left: 0;
  }
}

/* Keep the H1 on two lines with the metric fallback too (no reflow on font swap). */
@media (min-width: 992px) and (max-width: 1199px) {
  .wp-hero-copy h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 991px) {
  .wp-hero {
    padding-bottom: 80px;
  }

  .wp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .wp-hero-visual {
    max-width: 600px;
    margin-inline: auto;
  }

  .wp-projects-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .wp-projects-head p {
    margin: 0;
  }

  .wp-cta-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 32px;
  }
}

@media (max-width: 767px) {
  .wp-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }

  .wp-hero-note {
    font-size: 13px;
  }

  .wp-hero-note-arrow {
    top: 28px;
    width: 34px;
    height: 30px;
  }

  .wp-projects {
    padding-top: 44px;
  }

  .wp-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .wp-cta {
    padding-bottom: 56px;
  }
}

@media (max-width: 575px) {
  .wp-hero-copy h1 {
    font-size: clamp(2.2rem, 1.2rem + 5vw, 2.6rem);
  }

  .wp-hero-lead {
    font-size: 16px;
  }

  .wp-hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .wp-hero-tablet {
    padding: 5px;
    border-radius: 14px;
  }

  .wp-hero-tablet img {
    border-radius: 9px;
  }

  .wp-hero-phone {
    padding: 3px;
    border-radius: 11px;
  }

  .wp-hero-phone img {
    border-radius: 8px;
  }

  .wp-values-list {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 4px;
    row-gap: 0;
  }

  .wp-value {
    padding: 10px 14px;
  }

  .wp-value + .wp-value {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .wp-filters .filter-btn {
    min-height: 42px;
    padding: 8px 14px;
  }

  .wp-card-body {
    padding: 18px 18px 20px;
  }

  .wp-attrs li {
    padding: 0 7px;
  }

  .wp-cta-inner {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .wp-cta-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .wp-cta-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-cta-features li:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-hero-visual.is-visible .wp-device,
  .wp-hero-visual .wp-device {
    animation: none;
  }

  .wp-card,
  .wp-card-laptop,
  .wp-card-phone,
  .wp-card-cta .icon,
  .wp-cta-features .icon {
    transition: none;
  }

  .wp-card:hover,
  .wp-card:hover .wp-card-laptop,
  .wp-card:hover .wp-card-phone {
    transform: none;
  }
}

/* --- Live client websites (16 October 2026) --------------------------------
   Real screenshots (JPG) instead of generated screens; the card header shows
   the live domain with a green dot. */
.wp-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  vertical-align: middle;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.wp-laptop-screen img,
.wp-phone img,
.wp-tablet img {
  object-fit: cover;
  object-position: top center;
}

/* Desktop: three cards per row (client request, 17 October 2026). A single
   card on the last row sits in the middle column (10 cards = 3 + 3 + 3 + 1). */
@media (min-width: 1200px) {
  .wp-grid > .wp-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* Card attributes as tidy rows (17 October 2026): icon, value and its label
   on one line, divided by hairlines, so long values never wrap into uneven
   columns and every card reads the same. */
.wp-attrs {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
  margin: 14px 0 18px;
  padding: 0;
  border-top: 0;
}

.wp-attrs li,
.wp-attrs li:first-child {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-left: 0;
}

.wp-attrs li + li {
  border-left: 0;
  border-top: 1px dashed var(--color-neutral-200);
}

.wp-attrs .icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.wp-attrs span {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

.wp-attrs strong {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
}

/* Visit Website always sits at the bottom of the card. */
.wp-card-body .wp-card-cta {
  margin-top: auto;
}
