.resource-main,
.cluster-light .resource-main {
  width: min(100%, calc(var(--site-content-max-width) + 2 * var(--site-content-gutter)));
  margin-inline: auto;
  padding-top: 80px;
  padding-inline: var(--site-content-gutter);
}
.resource-main > .max-w-4xl {
  max-width: var(--site-content-max-width);
}
@media (min-width: 768px) {
  .resource-main,
  .cluster-light .resource-main {
    padding-top: 112px;
  }
}
.resource-main .log-heading {
  min-height: 0;
  margin: 0 0 40px;
  padding: 0;
}
.resource-main .log-page .post-link {
  display: flex;
  align-items: center;
  gap: 18px;
}
.resource-row-logo {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.resource-breadcrumb {
  margin: 0 0 20px;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
}
.resource-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.resource-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resource-breadcrumb li + li::before {
  color: var(--color-border-strong);
  content: "/";
}
.resource-breadcrumb__link {
  border-radius: 4px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.resource-breadcrumb__link:hover {
  color: var(--color-text);
}
.resource-breadcrumb__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.resource-breadcrumb [aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

/* Resource articles share the blog's reading typography. */
.resource-main .resource-article {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--site-article-font-size);
  line-height: var(--site-article-line-height);
}
.resource-main .resource-article p,
.resource-main .resource-article section li,
.resource-main .resource-article footer,
.resource-main .resource-article .compose-flow__description {
  font-size: var(--site-article-font-size);
  line-height: var(--site-article-line-height);
}
.resource-main .resource-article h1,
.resource-main .resource-article h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.resource-main .resource-article h1 { line-height: 1.1; }
.resource-main .resource-article :not(pre) > code { font-size: .82em; overflow-wrap: anywhere; }
.resource-brand-icons { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.resource-brand-icons img { display: block; width: 48px; height: 48px; object-fit: contain; }
.resource-brand-icons img[src*="docker"] { width: 64px; }
.resource-brand-icons img.resource-brand-traefik { width: auto; height: 72px; }
.resource-brand-icons img.resource-brand-upscale { width: auto; height: 48px; }
.resource-table-wrap { overflow-x: auto; border-top: 1px solid var(--color-border); }
.resource-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
.resource-table th, .resource-table td { padding: 18px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top; overflow-wrap: anywhere; }
.resource-table th:first-child, .resource-table td:first-child { padding-left: 0; width: 33%; }
.resource-table th:nth-child(2), .resource-table td:nth-child(2) { width: 18%; }
.resource-table th:last-child, .resource-table td:last-child { padding-right: 0; }
.resource-table thead th { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-secondary); }
.resource-table tbody th { font-size: 1rem; font-weight: 600; }
.resource-table td { color: var(--color-text-secondary); font-size: 1rem; line-height: 1.75; }
.resource-table td.resource-access { color: var(--color-text); font-size: .8rem; font-weight: 500; }
.resource-access--read { color: #237044; }
.resource-access--write { color: #ad3b0c; }
.resource-access--draft { color: #245fb5; }
.resource-main .resource-article .oauth-table code { font-size: .72rem; line-height: 1.6; }
.resource-table-note { color: var(--color-text-secondary); }
.compose-isolation { margin-block: 32px; padding: 24px; border: 1px solid var(--color-border); border-radius: 12px; }
.compose-isolation > figcaption { margin-bottom: 22px; font-weight: 600; }
.compose-isolation__projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.compose-isolation__project { min-width: 0; padding: 14px 10px 8px; background: var(--site-white); border: 1px dashed var(--site-muted); border-radius: 10px; text-align: center; }
.compose-isolation__project > span { display: block; font-size: .85rem; font-weight: 600; }
.compose-isolation__project > code { display: block; margin-top: 4px; color: var(--site-muted); }
.compose-isolation__project svg { display: block; width: 100%; height: auto; margin-top: 10px; color: var(--site-ink); }
.resource-main .resource-article .compose-isolation > p { margin-top: 18px; font-size: .875rem; color: var(--site-muted); }
@media (max-width: 640px) {
  .resource-table, .resource-table tbody { display: block; }
  .resource-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .resource-table tbody tr { display: grid; padding: 18px 0; border-bottom: 1px solid var(--color-border); gap: 8px; }
  .resource-table tbody th:first-child, .resource-table tbody td:nth-child(n) { display: block; width: auto; padding: 0; border: 0; }
  .resource-table td.resource-access::before { content: 'Access: '; font-weight: 600; }
  .compose-isolation { padding: 18px; }
  .compose-isolation__projects { grid-template-columns: 1fr; }
  .compose-isolation__project svg { max-width: 280px; margin-inline: auto; }
}
