/* PyFreeform wiki custom styles */

/* SVG images: consistent sizing and presentation */
.md-content img[src$=".svg"] {
    display: block;
    margin: 1em auto;
    max-width: 100%;
    border-radius: 8px;
}

/* Side-by-side image grid */
.image-row {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5em 0;
}

.image-row figure {
    flex: 1 1 280px;
    max-width: 380px;
    margin: 0;
    text-align: center;
}

.image-row img {
    width: 100%;
    border-radius: 8px;
}

.image-row figcaption {
    font-size: 0.85em;
    color: var(--md-default-fg-color--light);
    margin-top: 0.5em;
}

/* Hero section on home page */
.hero {
    text-align: center;
    padding: 2em 0;
}

.hero img {
    max-width: 600px;
    width: 100%;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 0.2em;
}

.hero .tagline {
    font-size: 1.3em;
    color: var(--md-default-fg-color--light);
    margin-bottom: 1.5em;
}

/* Comparison grid: 2 or 3 items side by side */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
    margin: 1.5em 0;
}

.compare-grid figure {
    margin: 0;
    text-align: center;
}

.compare-grid img {
    width: 100%;
    border-radius: 8px;
}

.compare-grid figcaption {
    font-size: 0.85em;
    color: var(--md-default-fg-color--light);
    margin-top: 0.4em;
}
