:root {
  --cge-ink: #16202a;
  --cge-muted: #52606d;
  --cge-line: #d9e0e7;
  --cge-green: #087f5b;
  --cge-green-soft: #e9f7f1;
  --cge-yellow: #f4b942;
  --cge-red: #b42318;
  --cge-surface: #ffffff;
}

.cge-content-troubleshoot .entry-header .page-title,
.cge-content-troubleshoot .entry-header .entry-title {
  max-width: 980px;
  font-size: 42px;
  line-height: 1.18;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.cge-quick-answer {
  margin: 12px 0 28px;
  padding: 18px 20px;
  border: 1px solid #a9d8c6;
  border-left: 5px solid var(--cge-green);
  border-radius: 6px;
  background: var(--cge-green-soft);
  color: var(--cge-ink);
}

.cge-quick-answer p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.cge-quick-answer p:last-child {
  margin-bottom: 0;
}

.cge-code-block {
  position: relative;
  padding-top: 46px !important;
  overflow: auto;
}

.cge-copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 64px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #64748b;
  border-radius: 4px;
  background: #ffffff;
  color: #1f2937;
  font-size: 13px;
  line-height: 28px;
  cursor: pointer;
}

.cge-copy-button:hover,
.cge-copy-button:focus-visible {
  border-color: var(--cge-green);
  color: var(--cge-green);
}

.cge-solution-feedback {
  margin: 34px 0 24px;
  padding: 20px 0;
  border-top: 1px solid var(--cge-line);
  border-bottom: 1px solid var(--cge-line);
}

.cge-solution-feedback h2,
.cge-related-guides h2,
.cge-home-guides h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.cge-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cge-feedback-actions button,
.cge-feedback-next button {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--cge-ink);
  border-radius: 5px;
  background: var(--cge-ink);
  color: #ffffff;
  cursor: pointer;
}

.cge-feedback-actions button + button {
  background: #ffffff;
  color: var(--cge-ink);
}

.cge-feedback-actions button[aria-pressed="true"] {
  border-color: var(--cge-green);
  background: var(--cge-green);
  color: #ffffff;
}

.cge-feedback-actions button:disabled {
  cursor: default;
  opacity: 0.75;
}

.cge-feedback-next {
  margin-top: 16px;
}

.cge-feedback-next form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 720px;
}

.cge-feedback-next input {
  min-width: 0;
  height: 42px;
  padding: 8px 10px;
  border: 1px solid #94a3b8;
  border-radius: 5px;
}

.cge-related-guides {
  margin: 28px 0;
}

.cge-related-guides ul,
.cge-home-guides ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cge-line);
}

.cge-related-guides li,
.cge-home-guides li {
  margin: 0;
  border-bottom: 1px solid var(--cge-line);
}

.cge-related-guides a,
.cge-home-guides a {
  display: block;
  padding: 12px 2px;
  color: var(--cge-ink);
  text-decoration: none;
}

.cge-related-guides a:hover,
.cge-related-guides a:focus-visible,
.cge-home-guides a:hover,
.cge-home-guides a:focus-visible {
  color: var(--cge-green);
}

.cge-content-troubleshoot .ct-related-posts,
.cge-content-troubleshoot .post-navigation,
.cge-content-troubleshoot #comments {
  display: none !important;
}

.cge-home-hub {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 34px;
  padding: 30px 0 26px;
  border-top: 5px solid var(--cge-green);
  border-bottom: 1px solid var(--cge-line);
  background: var(--cge-surface);
}

.cge-home-inner {
  width: 100%;
}

.cge-home-hub h1 {
  max-width: 860px;
  margin: 0 0 8px;
  color: var(--cge-ink);
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
}

.cge-home-intro {
  margin: 0 0 24px;
  color: var(--cge-muted);
  font-size: 17px;
}

.cge-task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cge-task-link {
  display: grid;
  align-content: start;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--cge-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--cge-ink);
  text-decoration: none;
}

.cge-task-link:nth-child(1) {
  border-top: 4px solid var(--cge-red);
}

.cge-task-link:nth-child(2) {
  border-top: 4px solid var(--cge-yellow);
}

.cge-task-link:nth-child(3) {
  border-top: 4px solid var(--cge-green);
}

.cge-task-link:nth-child(4) {
  border-top: 4px solid #2563eb;
}

.cge-task-link strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.cge-task-link span {
  color: var(--cge-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cge-task-link:hover,
.cge-task-link:focus-visible {
  border-color: var(--cge-ink);
  color: var(--cge-green);
}

.cge-home-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cge-home-guides {
  margin-top: 26px;
}

.home .entries .entry-card {
  min-height: 0 !important;
}

.home .entries .entry-card .ct-media-container {
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
}

.home .entries .entry-card .ct-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .entries .entry-card .entry-excerpt {
  margin-top: 14px;
}

@media (max-width: 999px) {
  .cge-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cge-home-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 689px) {
  .cge-content-troubleshoot .entry-header .page-title,
  .cge-content-troubleshoot .entry-header .entry-title {
    font-size: 30px;
    line-height: 1.22;
  }

  .cge-quick-answer {
    margin-top: 8px;
    padding: 15px 14px;
  }

  .cge-home-hub {
    padding-top: 22px;
  }

  .cge-home-hub h1 {
    font-size: 30px;
  }

  .cge-task-grid {
    grid-template-columns: 1fr;
  }

  .cge-task-link {
    min-height: 0;
  }

  .cge-feedback-next form {
    grid-template-columns: 1fr;
  }

  .cge-feedback-next button {
    width: 100%;
  }
}
