/* Approved editorial header: one category trail, quiet dates, tools below the image. */
.icp-tech-single {
  background: var(--icp-surface);
}
.icp-tech-single .icp-tech-article-header {
  width: min(820px, calc(100% - 40px));
  max-width: 820px;
  padding-block: 32px 26px;
  text-align: left;
}
.icp-tech-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--icp-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.icp-tech-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  color: var(--icp-primary);
  text-decoration: none;
}
.icp-tech-breadcrumb a:last-child { font-weight: 650; }
.icp-tech-breadcrumb svg { width: 16px; height: 16px; flex: none; }
.icp-tech-single .icp-tech-article-header h1 {
  margin: 0 0 16px;
  color: var(--icp-ink);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
.icp-tech-single .icp-tech-article-header .icp-article-header__tagline {
  margin: 0 0 26px;
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}
.icp-tech-byline {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 14px;
  font-size: .76rem;
  line-height: 1.5;
  color: var(--icp-muted);
}
.icp-tech-byline__author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.icp-tech-byline__author img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.icp-tech-byline__author strong { display: block; color: var(--icp-ink); font-size: .8rem; font-weight: 700; overflow-wrap: anywhere; }
.icp-tech-byline small { display: block; font-size: inherit; }
.icp-tech-byline__date {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--icp-border);
}
.icp-tech-byline__date svg { width: 19px; height: 19px; flex: none; }
.icp-tech-byline__date time { display: block; overflow-wrap: anywhere; }
.icp-tech-single .icp-tech-cover {
  width: min(820px, calc(100% - 40px));
  max-width: 820px;
  margin-block: 0 22px;
}
.icp-tech-single .icp-tech-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
  border-radius: 10px;
}
.icp-tech-cover figcaption {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--icp-primary);
  color: var(--icp-muted);
  font-size: .8rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.icp-tech-cover figcaption p { margin: 0; }
.icp-tech-single .icp-tech-tools {
  width: min(820px, calc(100% - 40px));
  max-width: 820px;
  display: flex;
  align-items: stretch;
  margin-block: 0 30px;
  padding-block: 14px;
  border-block: 1px solid var(--icp-border);
  color: var(--icp-muted);
  font-size: .76rem;
  line-height: 1.4;
}
.icp-tech-tools__reading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1.4;
  min-width: 0;
  padding-right: 10px;
}
.icp-tech-tools__reading > svg { width: 26px; height: 26px; color: var(--icp-primary); flex: none; }
.icp-tech-tools__reading small { display: block; font-size: inherit; }
.icp-tech-tools__reading strong { display: block; color: var(--icp-ink); font-size: .9rem; font-weight: 750; }
.icp-tech-tools .icp-tech-tools__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 2px 8px;
  border: 0;
  border-left: 1px solid var(--icp-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--icp-muted);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.icp-tech-tools__action > svg { width: 24px; height: 24px; color: var(--icp-ink); flex: none; }
.icp-tech-tools .icp-tech-share > svg { color: var(--icp-primary); }
.icp-tech-tools .icp-tech-tools__action:hover { color: var(--icp-ink); text-decoration: none; }
.icp-tech-tools__action:hover > span:last-child { text-decoration: underline; }
.icp-tech-tools__comment-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--icp-border);
  border-radius: 50%;
  color: var(--icp-ink);
  background: var(--icp-surface);
}
.icp-tech-tools__comment-icon svg { width: 19px; height: 19px; }
.icp-tech-tools__count {
  position: absolute;
  top: -5px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  border: 2px solid var(--icp-surface);
  border-radius: 20px;
  background: var(--icp-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}
.icp-tech-single #comments,
.icp-tech-single #respond { scroll-margin-top: 110px; }
.icp-tech-breadcrumb a:focus-visible,
.icp-tech-byline a:focus-visible,
.icp-tech-tools__action:focus-visible { outline: 2px solid var(--icp-primary); outline-offset: 4px; }
@media (max-width: 640px) {
  .icp-tech-single .icp-tech-article-header { padding-top: 24px; }
  .icp-tech-single .icp-tech-article-header h1 { font-size: clamp(1.85rem, 5.7vw, 2.4rem); }
  .icp-tech-byline { gap: 10px; font-size: .7rem; }
  .icp-tech-byline__date { padding-left: 10px; gap: 7px; }
  .icp-tech-byline__date svg { width: 16px; height: 16px; }
  .icp-tech-byline__author { gap: 7px; }
  .icp-tech-byline__author img { width: 36px; height: 36px; }
  .icp-tech-tools__reading { gap: 8px; }
  .icp-tech-tools__reading > svg { width: 23px; height: 23px; }
  .icp-tech-tools .icp-tech-tools__action { padding-inline: 5px; font-size: .7rem; }
}
@media (max-width: 420px) {
  .icp-tech-byline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .icp-tech-byline__author { grid-column: 1 / -1; }
  .icp-tech-byline__date { padding-left: 0; border-left: 0; }
  .icp-tech-tools__reading { flex: 1.25; font-size: .66rem; gap: 6px; }
  .icp-tech-tools__reading strong { font-size: .8rem; }
  .icp-tech-tools__reading > svg { width: 20px; height: 20px; }
}
/* The core header uses flex ordering; keep the new blocks in editorial order. */
.icp-tech-article-header .icp-tech-breadcrumb { order: 1; }
.icp-tech-article-header .icp-tech-byline { order: 4; }

.icp-tech-article-body { width: min(820px, calc(100% - 40px)); max-width: 820px; margin-inline: auto; }
