/* Space Grotesk, self-hosted; variable weight 300-700. */
@font-face {
    font-family: "Space Grotesk";
    src: url("/fonts/SpaceGrotesk.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}

body, h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link, .btn {
    font-family: "Space Grotesk", sans-serif !important;
}

/* Masthead button: dark gray, lightens on hover. */
.btn-primary {
    --bs-btn-bg: #2a2a2e;
    --bs-btn-border-color: #3a3a40;
    --bs-btn-hover-bg: #3f3f46;
    --bs-btn-hover-border-color: #4a4a52;
    --bs-btn-active-bg: #4a4a52;
    --bs-btn-active-border-color: #55555e;
}

/* Banner behind the about section: image with dark overlay for readability.
   Swap the url() for your own photo when it exists. */
.about-section {
    padding-top: 5rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.85) 75%, #000 100%),
        url("/assets/img/bg-signup.jpg") center / cover no-repeat;
}

/* Post listing previews: thumbnail beside title/description. */
.post-preview {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.post-thumb {
    width: 180px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .post-preview { flex-direction: column; align-items: flex-start; }
    .post-thumb { width: 100%; }
}
