.section-psychogastro-home .psychogastro-home-cards .tile-link,
.psychogastro-related-grid .tile-link {
  justify-content: flex-start;
  gap: 0;
}

.section-psychogastro-home .psychogastro-home-cards .tile-link > .h3,
.psychogastro-related-grid .tile-link > .card-title {
  margin: 0 0 0.42rem;
}

.section-psychogastro-home .psychogastro-home-cards .tile-link > p,
.psychogastro-related-grid .tile-link > p {
  margin: 0;
}

.section-psychogastro-home .psychogastro-home-cards .tile-link-cta,
.psychogastro-related-grid .tile-link-cta {
  margin-top: auto;
  padding-top: 0.7rem;
}

.section-psychogastro-home .psychogastro-home {
  gap: 0.9rem;
}

.section-psychogastro-home .psychogastro-home-copy {
  gap: 0.65rem;
  max-width: none;
  width: 100%;
}

.section-psychogastro-home .psychogastro-home-cards {
  gap: 0.85rem;
  margin-top: 0.55rem;
}

.section-psychogastro-home .psychogastro-home-panel > .note {
  margin-top: 1rem;
}

@media (min-width: 860px) {
  .section-psychogastro-home .psychogastro-home-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.evidence-legend-card--established,
.evidence-legend-card--developing,
.evidence-legend-card--uncertain {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(20, 26, 26, 0.08);
}

.evidence-status--established {
  background: rgba(20, 92, 77, 0.13) !important;
  border-color: rgba(20, 92, 77, 0.34) !important;
  color: #123f35 !important;
}

.evidence-status--developing {
  background: rgba(181, 124, 24, 0.13) !important;
  border-color: rgba(181, 124, 24, 0.34) !important;
  color: #6b4908 !important;
}

.evidence-status--uncertain {
  background: rgba(76, 97, 123, 0.1) !important;
  border-color: rgba(76, 97, 123, 0.28) !important;
  color: #43566d !important;
}

.evidence-legend-card--practice,
.psychogastro-related-grid .tile-link[href="/podstawy-naukowe"] {
  position: relative;
  overflow: hidden;
  border-style: solid;
  border-color: rgba(19, 62, 58, 0.16);
  background:
    linear-gradient(rgba(19, 62, 58, 0.05), rgba(19, 62, 58, 0.08)),
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.74));
}

.evidence-legend-card--practice::before,
.psychogastro-related-grid .tile-link[href="/podstawy-naukowe"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  pointer-events: none;
  background: linear-gradient(rgba(19, 62, 58, 0.85), rgba(19, 62, 58, 0.35));
}

.psychogastro-related-grid .tile-link[href="/podstawy-naukowe"]:hover,
.psychogastro-related-grid .tile-link[href="/podstawy-naukowe"]:focus-visible {
  border-color: rgba(19, 62, 58, 0.24);
  box-shadow: 0 10px 24px rgba(15, 59, 53, 0.07);
}
