/* ====== service ====== */
.service-content {
  max-width: 72ch;
  margin-inline: auto;
  padding: 24px 18px;
  max-width: 1100px;
}
.service-content .service-text {
  max-width: 72ch;
}
.service-content .card,
.service-content .panel {
  margin-top: 18px;
}

.service-content .cta-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-content p,
.service-content li {
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
}
.service-content p {
  line-height: 1.65;
  margin-top: 10px;
}
.service-content li {
  margin: 6px 0;
}
.service-content ul {
  padding-left: 18px;
  margin-top: 10px;
}
.service-content h2 {
  margin-top: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.service-content h1 {
  margin-top: 18px;
  padding-bottom: 10px;
}

.service-cover {
  margin: 18px 0;
  border-radius: 16px;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  position: relative;
}
.service-cover.is-missing::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 700px) {
  .service-cover {
    min-height: 140px;
  }
}
.service-cover img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .service-cover img {
    min-height: 180px;
  }
}

.service-media {
  text-align: center; /* helps center inline-grid */
  margin-top: 12px;
}
.service-media iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

.service-files-list {
  padding: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.file-icon {
  width: 18px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

:root[data-theme="dark"] .file-icon {
  color: #fff;
}
:root[data-theme="light"] .file-icon {
  color: #000;
}

.file-icon svg {
  display: block;
}
