/* ============================================================
   Hide auto-generated h1 (applies site-wide)
   ============================================================ */
.md-content__inner > h1:first-child {
  display: none;
}

/* Hide default header logo */
.md-header__button.md-logo {
  display: none;
}

/* ============================================================
   Blog index
   ============================================================ */
.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
  gap: 2rem;
}

.home-hero-tagline {
  font-size: 1.25rem;
  font-weight: 300;
  flex: 1;
}

.home-hero img {
  max-width: 280px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .home-hero {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

.grid.cards {
  grid-template-columns: 1fr !important;
}

.grid.cards p {
  font-size: 0.9rem;
}

.page-intro {
  width: 90%;
  max-width: 90%;
  margin: 0 auto 3rem auto;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ============================================================
   Blog posts
   ============================================================ */
.blog-post {
  width: 90%;
  max-width: 90%;
  margin: 0 auto 3rem auto;
}

.blog-post h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.blog-post-date {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--md-default-fg-color--lighter);
  margin-bottom: 2rem;
}

.blog-post p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.blog-post h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
}

.blog-post blockquote {
  border-left: 3px solid var(--md-default-fg-color--lighter);
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  margin: 1.5rem 0;
  padding: 0.25rem 1.25rem;
  color: var(--md-default-fg-color--light);
  font-style: italic;
  font-weight: 300;
}

.blog-post blockquote::before,
.blog-post blockquote::after {
  display: none !important;
}

.blog-post blockquote p {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-post img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto 0.5rem auto;
  border-radius: 0.25rem;
  display: block;
}

.blog-post .img-caption {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--md-default-fg-color--lighter);
  margin-bottom: 1.5rem;
  text-align: center;
}

.blog-back {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.blog-back a {
  color: var(--md-default-fg-color--light);
  text-decoration: none;
}

.blog-back a:hover {
  color: var(--md-accent-fg-color);
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --md-text-font: 'Roboto';
}