/* Hides the site title specifically from the navigation drawer */
.md-nav__title[for="__drawer"] {
  display: none;
}

/* Hide the site name in the header next to the logo */
.md-header__title .md-ellipsis {
    display: none;
}

/* Hides the main H1 page title on every page */
.md-content h1 {
    display: none;
}

/* Stylize the Breadcrumbs Bar */
.md-breadcrumbs {
    margin-bottom: 0;         /* Tighten gap to content */
    padding: 0.5rem 0;        /* Give it some breathing room */
    font-size: 0.65rem;       /* Make it smaller and more elegant */
    text-transform: uppercase; /* Professional 'Dashboard' feel */
    letter-spacing: 0.05em;
}

/* Change the link colors */
.md-breadcrumbs__link {
    color: var(--md-default-fg-color--lightest) !important;
    transition: color 0.3s;
}

.md-breadcrumbs__link:hover {
    color: var(--md-accent-fg-color) !important;
}

/* Standard (Light Mode) */
.splash-svg {
  width: 50%;       /* Or whatever size you prefer */
  max-width: 600px;
  display: block;
  margin: 2rem auto; /* Centers the image */
  transition: filter 0.3s ease; /* Makes the transition smooth */
}

/* Dark Mode: Invert Black to White */
[data-md-color-scheme="slate"] .splash-svg {
  filter: invert(1);
}

/* Standard (Light Mode) */
.hw-svg {
  width: 50%;       /* Or whatever size you prefer */
  max-width: 600px;
  display: block;
  margin: 2rem auto; /* Centers the image */
  transition: filter 0.3s ease; /* Makes the transition smooth */
}

.intro-section {
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center; /* This centers everything inside the div */
}

/* 1. The Wrapper: Handles centering and icon size */
.top-hero-container {
    text-align: center;
    margin: 0.1rem 0 0.1rem 0;
    font-size: 1rem; /* This sets the size for the icon */
}

/* 2. The Icon: Ensures it sits on its own line */
.top-hero-container .twemoji, 
.top-hero-container .ot-icon {
    display: block;
    font-size: 60px;
    margin-bottom: 0.1rem;
}

.top-hero-container svg {
    height: 1em;   /* Scales relative to the 60px parent */
    width: 1em;
}

/* 3. The Heading: Resets font size and adds styling */
.top-hero-container h2 {
    font-size: 1.5rem; 
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--md-default-fg-color);
    border-bottom: none; /* Removes the default line under H2 */
    margin: 0;           /* Pulls it closer to the icon */
}

/* Force the grid items to stretch to the same height */
.grid {
    align-items: stretch;
}

/* Force the admonition boxes inside to fill 100% of that height */
.grid .admonition {
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

/* Ensure the content inside the box expands */
.grid .admonition-content {
    flex-grow: 1;
}

/* Makes the note block look like a clickable card */
.md-typeset .admonition:hover {
    cursor: pointer;
    border-color: var(--md-accent-fg-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

/* This makes the link cover the entire parent card area */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.grid.cards li {
    position: relative; /* Necessary for stretched link to stay inside the card */
}

/* This creates the appearance of an H4 */
.fake-h4 {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 0em;
    margin-bottom: 0em;
    color: var(--md-default-fg-color);
}

/* If you want it to stay visible on very large screens only, use this instead: */
/*
@media screen and (max-width: 76.25em) {
  .md-header__title .md-ellipsis {
    display: none;
  }
}
*/