/* Shared hub template (inc/hub-template.php), 9 Nov 2026.
   Flat cards, square-ish corners, no pills: same language as the hub table. */

.tmf-picks { margin: 0 0 18px; }
.tmf-picks__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tmf-dark, #243F2F);
}
.tmf-picks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.tmf-picks__card {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--tmf-surface, #f6f8f5);
  border: 1px solid var(--tmf-line, #e4e7e4);
  border-radius: 10px;
}
.tmf-picks__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--tmf-green, #5EAD39);
}
.tmf-picks__name { margin: 0 0 6px; font-size: 19px; line-height: 1.2; }
.tmf-picks__name a { color: var(--tmf-dark, #243F2F); text-decoration: none; }
.tmf-picks__name a:hover { text-decoration: underline; }
.tmf-picks__fact { margin: 0 0 4px; font-size: 14px; line-height: 1.4; color: #3d4a42; }
.tmf-picks__offer { margin: 0 0 10px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--tmf-dark, #243F2F); }
.tmf-picks__links { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.tmf-picks__cta {
  display: inline-block;
  padding: 8px 12px;
  background: var(--tmf-green, #5EAD39);
  border-radius: 6px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.tmf-picks__cta:hover { background: #4f9a2f; }
.tmf-picks__guide { font-size: 14px; font-weight: 600; color: var(--tmf-dark, #243F2F); text-decoration: underline; }

.tmf-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0 0 6px;
  padding: 10px 0;
  border-top: 1px solid var(--tmf-line, #e4e7e4);
  border-bottom: 1px solid var(--tmf-line, #e4e7e4);
  font-size: 14px;
}
.tmf-jumps a { color: var(--tmf-dark, #243F2F); font-weight: 600; text-decoration: none; }
.tmf-jumps a::before { content: "\2193\00a0"; color: var(--tmf-green, #5EAD39); }
.tmf-jumps a:hover { text-decoration: underline; }

/* Anchored headings clear the sticky header. */
.tmf-hub [id] { scroll-margin-top: 90px; }

.tmf-hub__money li { margin-bottom: 6px; }

.tmf-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 28px;
}
.tmf-related__title { margin: 0 0 6px; font-weight: 700; color: var(--tmf-dark, #243F2F); }
.tmf-related__links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tmf-related__links a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--tmf-line, #e4e7e4);
  border-radius: 6px;
  background: #fff;
  color: var(--tmf-dark, #243F2F);
  font-size: 14px;
  text-decoration: none;
}
.tmf-related__links a:hover { border-color: var(--tmf-green, #5EAD39); }

@media (max-width: 640px) {
  .tmf-picks__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .tmf-picks__card { flex: 0 0 78%; scroll-snap-align: start; }
}
.tmf-hub__card-logo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 0 12px; border-radius: 10px; }
