/* ===== Sleek Link Hub: kill top + internal gaps ===== */

/* Kill top padding/margin so the stack hugs the viewport */
.main {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .main .profile {
    gap: 0.15rem !important;       /* tighten vertical stack */
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Logo size & spacing */
  .main .profile img {
    display: inline-block;
    width: 260px !important;       /* adjust as needed */
    height: auto !important;
    margin: 0 auto 0.15rem auto !important;  /* centered, minimal gap */
    border-radius: 16px;
  }
  
  /* Remove heading/subtitle space completely */
  .main .profile .profile-title,
  .main .profile .profile-subtitle {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Tighten buttons block */
  .main .profile .buttons {
    margin: 0 !important;
    padding: 0 !important;
  }
  .main .profile .buttons ul,
  .main .profile .buttons ol {
    margin: 0 !important;
    padding: 0 !important;
  }
  .main .profile .buttons li {
    list-style: none;
    margin: 0.05rem 0 !important;  /* nearly flush buttons */
    padding: 0 !important;
  }
  
  /* Buttons styling */
  .main .profile .buttons a {
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1.1;
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--primary);
    background: transparent;
    transition: transform .05s ease, background .15s ease, color .15s ease, border-color .15s ease;
    font-weight: 600;
    margin: 0.08rem 0 !important;
  }
  .main .profile .buttons a:hover {
    transform: translateY(-1px);
    background: var(--primary);
    color: var(--theme);
    border-color: var(--primary);
  }
  
  /* Constrain content width for balance */
  .main .profile,
  .main .main {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Mobile tweaks */
  @media (max-width: 640px) {
    .main .profile img { width: 200px !important; margin-bottom: 0.1rem !important; }
    .main .profile { gap: 0.12rem !important; }
    .main .profile .buttons a {
      font-size: 0.9rem;
      padding: 0.45rem 0.8rem;
    }
  }
  