/* card-icon: start content from the top of the card so the icon and heading
   sit at the same height across all cards in a row, regardless of heading length.
   Targets the inner flex container only when it contains the icon background box. */
.flex.h-full.flex-col:has(.bg-accent.rounded-md),
.flex.h-full.flex-col:has(.bg-muted.rounded-md) {
  justify-content: flex-start;
}

/* Double the navbar logo height (from h-8/h-10 = 32px/40px to 64px/80px) */
.navbar--logo .branding,
.navbar--modal-logo .branding {
  height: 4rem !important;
}

@media (min-width: 768px) {
  .navbar--logo .branding,
  .navbar--modal-logo .branding {
    height: 5rem !important;
  }
}

/* Hide duplicate H1 page title on biodata node pages (the biodata card renders its own heading) */
body.page-node-type-biodata header[role="banner"] h1 {
  display: none;
}

/* Shrink breadcrumb current-page crumb text by 30% */
nav[aria-label="breadcrumb"] li.active {
  font-size: 0.6125rem; /* 0.875rem * 0.7 */
}

@media (min-width: 768px) {
  nav[aria-label="breadcrumb"] li.active {
    font-size: 0.7rem; /* 1rem * 0.7 */
  }
}

/* Hide "Get started" header button for already-authenticated users */
body.user-logged-in header[role="banner"] a[href="/user/login"] {
  display: none;
}

/* Hide node title in the admin Navigation top-bar on biodata pages */
body.page-node-type-biodata .top-bar__content .top-bar__title {
  display: none;
}
