/* Custom styles, currently used only by the /info/ page (info.html layout).
   Previously this file also defined random-image side galleries — those have
   been removed, /info/ is a text-only reading view now.
   All article styles are scoped under .info-container so they don't leak
   into the bridget theme's own article styles in other pages. */

.info-container article {
    padding: 2rem 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

/* Markdown content typography */
.info-container article {
    ul,
    ol {
        list-style: revert;
        padding-left: 1.5em;
        margin: 1em 0;
    }

    strong,
    b {
        font-weight: bold;
    }

    em,
    i {
        font-style: italic;
    }

    blockquote {
        border-left: 3px solid #ccc;
        margin: 1em 0;
        padding-left: 1em;
        color: #666;
    }

    a {
        color: #0066cc;
        text-decoration: underline;
    }

    a:hover {
        color: #004499;
    }

    code {
        background-color: #f5f5f5;
        padding: 0.2em 0.4em;
        border-radius: 3px;
        font-family: monospace;
    }

    p {
        margin: 1em 0;
        line-height: 1.6;
    }

    h1 {
        font-size: 3rem;
        line-height: 1.15;
        margin: 0.5em 0 0.6em 0;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    h2 {
        font-size: 2rem;
        margin: 1.6em 0 0.5em 0;
        font-weight: 700;
    }

    h3 {
        font-size: 1.4rem;
        margin: 1.3em 0 0.4em 0;
        font-weight: 700;
    }
}

/* Smaller headings on narrow viewports */
@media (max-width: 600px) {
    .info-container article {
        h1 {
            font-size: 2.25rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        h3 {
            font-size: 1.2rem;
        }
    }
}
