/* Four service pillars and text reflow on the related FPV editorial page. */
.dbs-seo-landing--drone-fpv .dbs-seo-copy :is(h2, h3) {
  overflow-wrap: anywhere;
}
.dbs-services-overview--aligned,
.dbs-services-destinations {
  --services-ink: #121513;
  --services-secondary: #3d4540;
  --services-paper: #f3ede3;
  --services-rule: rgba(18, 21, 19, 0.2);
  --services-accent: #78581e;
  --services-production: #18382b;
  --services-space-sm: 0.75rem;
  --services-space-md: 1.5rem;
  --services-space-lg: 2.5rem;
  --services-focus-width: 3px;
}

.dbs-services-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--services-space-lg);
  margin-top: var(--services-space-lg);
  border-top: 1px solid var(--services-rule);
}

.dbs-services-index a {
  display: flex;
  align-items: baseline;
  gap: var(--services-space-sm);
  min-height: 3.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--services-rule);
  color: var(--services-ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dbs-services-index a span {
  flex-shrink: 0;
  color: var(--services-accent);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dbs-services-index a:hover {
  color: var(--services-accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.dbs-service-offer-grid.dbs-service-offer-grid--four {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: var(--services-space-lg);
}

.dbs-service-offer-grid--four .dbs-service-offer {
  scroll-margin-top: 7.5rem;
}

.dbs-service-offer-grid--four .dbs-service-offer:hover {
  transform: none;
}

.dbs-service-offer-grid--four .dbs-service-offer__body {
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.dbs-service-offer-grid--four .dbs-service-offer__body h3 {
  min-height: 0;
  max-width: 24ch;
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.dbs-service-offer-grid--four .dbs-service-offer__description {
  max-width: 58ch;
}

.dbs-service-offer-grid--four .dbs-service-offer__body ul {
  margin-top: var(--services-space-md);
  margin-bottom: var(--services-space-md);
}

.dbs-service-offer-grid--four .dbs-service-offer__footer {
  min-height: 0;
  margin-top: auto;
}

.dbs-service-offer-grid--four .dbs-service-offer__footer a {
  min-height: 2.75rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}

.dbs-service-offer-grid--four .dbs-service-offer__footer a span {
  flex-shrink: 0;
}

.dbs-service-offer__production {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--services-space-md);
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  color: var(--dbs-cream);
  background: var(--services-production);
}

.dbs-service-offer__production > p {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.dbs-service-offer__production ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 0;
  padding: 1rem 3rem 0 0;
  border-top: 1px solid rgba(246, 239, 227, 0.3);
  list-style: none;
  color: var(--dbs-cream);
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.5;
}

.dbs-service-offer__production > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(246, 239, 227, 0.32);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 850;
}

.dbs-services-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--services-space-lg);
  margin-top: var(--services-space-lg);
}

.dbs-services-destinations article {
  min-width: 0;
  padding-top: var(--services-space-md);
  border-top: 1px solid var(--services-rule);
}

.dbs-services-destinations .dbs-seo-eyebrow {
  margin: 0 0 var(--services-space-sm);
}

.dbs-services-destinations h3 {
  max-width: 30ch;
  margin: 0;
  color: var(--services-ink);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 760;
  line-height: 1.2;
}

.dbs-services-destinations article > p:not(.dbs-seo-eyebrow) {
  max-width: 58ch;
  margin: 1rem 0;
  color: var(--services-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.dbs-services-destinations a {
  display: inline-flex;
  align-items: center;
  gap: var(--services-space-sm);
  min-height: 2.75rem;
  color: var(--services-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.dbs-services-overview--aligned a:focus-visible,
.dbs-services-destinations a:focus-visible {
  outline: var(--services-focus-width) solid var(--services-accent);
  outline-offset: 4px;
}

@media (min-width: 900px) {
  .dbs-service-offer-grid.dbs-service-offer-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dbs-services-index,
  .dbs-services-destinations {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dbs-service-offer-grid--four .dbs-service-offer,
  .dbs-service-offer-grid--four .dbs-service-offer__media img {
    transition: none;
  }
}
