/*
 * Tradeo Git – Startseite (templates/home.tmpl).
 * Wird über templates/custom/header.tmpl unabhängig vom gewählten Theme geladen.
 * Die Markenfläche ist in beiden Modi tradeo Blue (CI 3.1).
 */
/* .full.height ist bei Gitea ein Block; nur auf der Startseite als Spalte, damit die Fläche bis zum Footer reicht */
.full.height:has(> .tradeo-home) {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.tradeo-home {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Gitea gibt dem ersten Kind von .page-content einen Abstand nach oben; die Fläche soll an die Navigation anschließen */
.page-content.tradeo-home > .tradeo-hero:first-child {
  margin-top: 0;
}

.tradeo-hero {
  flex: 1;
  background: #122e45;
  color: #ffffff;
  padding-block: 96px 112px;
}

.tradeo-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.tradeo-home .tradeo-title {
  font-family: "Poppins", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
}

.tradeo-home .tradeo-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 40ch;
}

.tradeo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.tradeo-home .ui.button.tradeo-btn-solid {
  background: #ffffff;
  color: #122e45;
  border: 1px solid #ffffff;
}

.tradeo-home .ui.button.tradeo-btn-solid:hover {
  background: #e8eff6;
  border-color: #e8eff6;
}

.tradeo-home .ui.button.tradeo-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.tradeo-home .ui.button.tradeo-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

@media (max-width: 767.98px) {
  .tradeo-hero { padding-block: 56px 64px; }
  .tradeo-home .tradeo-title { font-size: 34px; }
}
