/* Tools content only. The shared navigation, footer and individual tools keep their styles. */
@font-face {
  font-family: 'ToolsMinecraft';
  src: url('/Minecraft-Regular.otf') format('opentype');
  font-display: swap;
}
.tools-catalog {
  --workshop-ink: #f1f5ed;
  --workshop-muted: #b8c8bf;
  --workshop-gold: #ffdb8a;
  background: #0b1815;
  color: var(--workshop-ink);
  font-family: Arial, Helvetica, sans-serif;
  isolation: isolate;
}
.tools-catalog :is(h1, h2, h3, p) {
  margin: 0;
}
.tools-catalog a {
  color: inherit;
}
.tools-catalog :is(h1, h2) {
  font-family: 'ToolsMinecraft', monospace;
  font-weight: 700;
  text-wrap: balance;
}
.tools-catalog :is(a, button):focus-visible {
  outline: 3px solid #ffe3a4;
  outline-offset: 5px;
}
.tools-catalog .workshop-shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.tools-catalog .workshop-eyebrow {
  color: var(--workshop-gold);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.tools-catalog .workshop-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 24px 152px;
}
.tools-catalog .workshop-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: auto;
  text-align: center;
}
.tools-catalog .workshop-hero h1 {
  font-size: clamp(40px, 5.3vw, 72px);
  line-height: 1.15;
  margin-top: 19px;
  text-shadow: 0 5px 0 #0002;
}
.tools-catalog .workshop-hero h1 span {
  color: var(--workshop-gold);
}
.tools-catalog .workshop-intro {
  max-width: 460px;
  margin: 22px auto 0;
  color: #c9d9cf;
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}
.tools-catalog .workshop-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tools-catalog .workshop-button {
  min-height: 48px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #d5e5d630;
  border-radius: 6px;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.tools-catalog .workshop-primary {
  background: var(--workshop-gold);
  border-color: #ffe8b4;
  color: #252416;
  box-shadow: 0 3px 0 #9c793d;
}
.tools-catalog .workshop-primary:hover {
  background: #ffe7b7;
  transform: translateY(-2px);
}
.tools-catalog .workshop-secondary {
  background: #ffffff09;
  color: #e9f0e9;
}
.tools-catalog .workshop-secondary:hover {
  background: #ffffff12;
  border-color: #e6c89375;
}
.tools-catalog .workshop-collection {
  position: relative;
  padding: 38px 0 0;
  scroll-margin-top: 100px;
  background: linear-gradient(#0b1815, #111c1b);
}
.tools-catalog .workshop-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}
.tools-catalog .workshop-heading h2 {
  font-size: clamp(30px, 3.3vw, 42px);
  margin-top: 10px;
  line-height: 1.25;
}
.tools-catalog .workshop-count {
  color: #a9bcb1;
  font-size: 13px;
  padding-bottom: 6px;
}
.tools-catalog .workshop-count > span {
  padding-inline: 8px;
  color: #52685c;
}
.tools-catalog .workshop-card[data-tone='green'] {
  --tool-accent: #abe098;
  --tool-glow: #437940;
}
.tools-catalog .workshop-card[data-tone='violet'] {
  --tool-accent: #c5b0f0;
  --tool-glow: #605579;
}
.tools-catalog .workshop-card[data-tone='cyan'] {
  --tool-accent: #9ed9df;
  --tool-glow: #40686d;
}
.tools-catalog .workshop-card[data-tone='orange'] {
  --tool-accent: #f1bc91;
  --tool-glow: #816044;
}
.tools-catalog .workshop-card[data-tone='rose'] {
  --tool-accent: #eda6a4;
  --tool-glow: #834e4c;
}
.tools-catalog .workshop-docs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 0 48px;
  color: #afc2b7;
  font-size: 13px;
  line-height: 1.8;
}
.tools-catalog .workshop-docs > i {
  color: #d1b678;
  font-size: 18px;
}
.tools-catalog .workshop-docs a {
  color: #e3ceb0;
  text-underline-offset: 4px;
  margin-left: 4px;
}
.tools-catalog .workshop-request {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid #cde2d013;
  background: linear-gradient(120deg, #18231e, #1c251e 60%, #17261e);
}
.tools-catalog .workshop-request-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-block: 60px;
  padding-right: 150px;
}
.tools-catalog .workshop-request h2 {
  font-size: 34px;
  margin-top: 12px;
  line-height: 1.2;
}
.tools-catalog .workshop-request p:not(.workshop-eyebrow) {
  margin-top: 14px;
  color: #b6cbbd;
  line-height: 1.6;
  font-size: 15px;
}
.tools-catalog .workshop-request .workshop-button {
  flex-shrink: 0;
}
.tools-catalog .workshop-skip {
  position: absolute;
  left: 16px;
  top: 90px;
  transform: translateY(-300px);
  z-index: 4;
  padding: 12px 20px;
  background: #ffdb8a;
  color: #142118;
}
.tools-catalog .workshop-skip:focus {
  transform: none;
}
.tools-catalog .workshop-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 1090px) {
  .tools-catalog .workshop-hero {
    padding-bottom: 172px;
  }
  .tools-catalog .workshop-request-inner {
    padding-right: 100px;
  }
}
@media (max-width: 700px) {
  .tools-catalog .workshop-shell {
    width: calc(100% - 36px);
  }
  .tools-catalog .workshop-hero {
    padding: 112px 18px 150px;
  }
  .tools-catalog .workshop-hero h1 {
    font-size: clamp(36px, 8vw, 50px);
  }
  .tools-catalog .workshop-intro {
    font-size: 16px;
    max-width: 360px;
  }
  .tools-catalog .workshop-eyebrow {
    font-size: 11px;
  }
  .tools-catalog .workshop-actions {
    gap: 10px;
  }
  .tools-catalog .workshop-button {
    font-size: 13px;
    padding-inline: 14px;
  }
  .tools-catalog .workshop-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }
  .tools-catalog .workshop-count {
    font-size: 12px;
  }
  .tools-catalog .workshop-collection {
    padding-top: 24px;
    scroll-margin-top: 90px;
  }
  .tools-catalog .workshop-docs {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 26px 4px 34px;
  }
  .tools-catalog .workshop-docs > i {
    margin-top: 3px;
  }
  .tools-catalog .workshop-docs a {
    margin-left: 0;
    display: block;
  }
  .tools-catalog .workshop-request-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 38px 0 50px;
  }
  .tools-catalog .workshop-request p:not(.workshop-eyebrow) {
    max-width: 280px;
  }
  .tools-catalog .workshop-request h2 {
    font-size: 30px;
  }
}
@media (max-width: 360px) {
  .tools-catalog .workshop-actions {
    flex-direction: column;
    max-width: 220px;
    margin-inline: auto;
  }
  .tools-catalog .workshop-hero h1 {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tools-catalog *,
  .tools-catalog *::before,
  .tools-catalog *::after {
    transition: none !important;
    animation: none !important;
  }
  .tools-catalog .workshop-primary:hover {
    transform: none;
  }
}

/* Collection cards: current editors, clear capabilities and one large link. */
.tools-catalog .workshop-collection > .workshop-shell {
  width: min(1280px, calc(100% - 64px));
}
.tools-catalog .workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.tools-catalog .workshop-card {
  --tool-accent: #ffda88;
  --tool-tint: #e4b34b12;
  min-width: 0;
  border: 1px solid #a5c1b330;
  border-radius: 16px;
  overflow: hidden;
  background: #14231e;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.tools-catalog .workshop-card[data-tone='green'] {
  --tool-accent: #b8e6a2;
  --tool-tint: #96cf7812;
}
.tools-catalog .workshop-card[data-tone='violet'] {
  --tool-accent: #ccb7fb;
  --tool-tint: #b19adf12;
}
.tools-catalog .workshop-card[data-tone='cyan'] {
  --tool-accent: #a6e4e6;
  --tool-tint: #65b7c012;
}
.tools-catalog .workshop-card[data-tone='orange'] {
  --tool-accent: #fac395;
  --tool-tint: #e09d6812;
}
.tools-catalog .workshop-card[data-tone='rose'] {
  --tool-accent: #f3b4bd;
  --tool-tint: #dd8f9a12;
}
.tools-catalog .workshop-card:is(:hover, :focus-within) {
  border-color: var(--tool-accent);
  box-shadow: 0 10px 30px #040d0930;
}
.tools-catalog .workshop-card:focus-within {
  outline: 3px solid var(--tool-accent);
  outline-offset: 4px;
}
.tools-catalog .workshop-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
  color: var(--workshop-ink);
}
.tools-catalog .workshop-card-link:focus-visible {
  outline: none;
}
.tools-catalog .workshop-card-copy {
  padding: 26px 28px 24px;
  background: linear-gradient(115deg, var(--tool-tint), transparent 75%);
}
.tools-catalog .workshop-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tools-catalog .workshop-card-heading > div {
  min-width: 0;
}
.tools-catalog .workshop-emblem {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--tool-accent) 28%, transparent);
  border-radius: 11px;
  background: var(--tool-tint);
  color: var(--tool-accent);
  font-size: 22px;
}
.tools-catalog .workshop-category {
  display: block;
  color: var(--tool-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
}
.tools-catalog .workshop-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.tools-catalog .workshop-card p {
  color: #bbcfc2;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 17px;
  min-height: 3.4em;
  max-width: 490px;
  text-wrap: pretty;
}
.tools-catalog .workshop-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  margin: auto 16px 0;
  border: 1px solid #d6e8d826;
  border-radius: 9px;
  background: #0c1514;
}
.tools-catalog .workshop-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.tools-catalog .workshop-card[data-tone='amber'] .workshop-preview img {
  object-fit: contain;
  object-position: center;
}
.tools-catalog .workshop-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 26px;
}
.tools-catalog .workshop-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  color: #b0c3b6;
  font-size: 11px;
  line-height: 1.6;
}
.tools-catalog .workshop-capabilities > span + span::before {
  content: '·';
  color: #6f8778;
  margin-right: 13px;
}
.tools-catalog .workshop-launch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tool-accent);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: auto;
}
.tools-catalog .workshop-launch-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--tool-accent) 25%, transparent);
  background: var(--tool-tint);
  transition: color 180ms ease, background 180ms ease;
}
.tools-catalog .workshop-card:is(:hover, :focus-within) .workshop-launch-icon {
  color: #112118;
  background: var(--tool-accent);
}
@media (max-width: 1050px) {
  .tools-catalog .workshop-card-copy { padding: 23px 22px 20px; }
  .tools-catalog .workshop-card-heading { gap: 12px; align-items: flex-start; }
  .tools-catalog .workshop-card h3 { min-height: 2.5em; }
  .tools-catalog .workshop-card-bottom { padding: 17px 22px; gap: 10px; }
  .tools-catalog .workshop-capabilities { flex-basis: 100%; }
  .tools-catalog .workshop-launch { justify-content: space-between; width: 100%; }
}
@media (max-width: 760px) {
  .tools-catalog .workshop-collection > .workshop-shell { width: calc(100% - 36px); }
  .tools-catalog .workshop-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tools-catalog .workshop-card-copy { padding: 23px 22px 22px; }
  .tools-catalog .workshop-card h3 { min-height: 0; font-size: 23px; }
  .tools-catalog .workshop-card p { min-height: 0; margin-top: 16px; }
  .tools-catalog .workshop-preview { margin-inline: 12px; }
  .tools-catalog .workshop-card-bottom { padding: 16px 22px 20px; }
  .tools-catalog .workshop-capabilities { font-size: 11px; }
  .tools-catalog .workshop-launch { font-size: 13px; }
}
@media (max-width: 380px) {
  .tools-catalog .workshop-emblem { flex-basis: 38px; height: 38px; font-size: 19px; }
  .tools-catalog .workshop-card h3 { font-size: 21px; }
  .tools-catalog .workshop-card-copy { padding-inline: 18px; }
  .tools-catalog .workshop-card-bottom { padding-inline: 18px; }
  .tools-catalog .workshop-capabilities { gap: 5px 10px; }
  .tools-catalog .workshop-capabilities > span + span::before { margin-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tools-catalog .workshop-card,
  .tools-catalog .workshop-launch-icon { transition: none; }
}
