/*
 * Page body classes — set the "class" field on a Page entry in the CMS
 * to apply one of these styles sitewide to that page.
 */

/* .narrow — constrains content to a readable column */
body.narrow #content-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* .legal — compact, document-style layout for impressum / privacy pages */
body.legal #content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #333;
}

body.legal h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 0.6rem;
    font-weight: 600;
}

body.legal h3 {
    font-size: 1.05rem;
    margin: 1.4rem 0 0.4rem;
    font-weight: 600;
}

body.legal h4 {
    font-size: 0.9rem;
    margin: 1rem 0 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.legal p,
body.legal li {
    margin-bottom: 0.5rem;
}

/* .centered — centers all content text */
body.centered #content-wrap {
    text-align: center;
}

/* .dark — dark background page */
body.dark {
    background: #111;
    color: #eee;
}

body.dark #header {
    background: #111;
    color: #eee;
}

body.dark a {
    color: #ccc;
}

/* .landing — mobile landing / link-in-bio page */

/* --- reset journal.css overrides that crush the layout --- */
body.landing.menu-top.journal #content {
    padding: 1.5rem;
}

body.landing.journal .component_text {
    padding: 0;
}

/* journal.css sets h3 to 3em and p to 1.6em — too large for a landing card */
body.landing.journal h3 {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0.6rem 0;
    font-family: inherit;
}

body.landing.journal p {
    font-size: 1rem;
    line-height: 1.6;
    font-family: inherit;
    margin: 0.4rem 0;
}

/* --- landing layout --- */
body.landing #content-wrap {
    max-width: 420px;
    margin: 0 auto;
}

body.landing section.landing {
    text-align: center;
    margin-bottom: 1.5rem;
}

body.landing section.landing img {
    border-radius: 50%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0.8rem auto;
}

/* --- full-width stacked buttons --- */
body.landing .content__button_container {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 1rem 0;
}

body.landing a.button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75em 1em;
    background: #111;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: 0.02em;
    transition: background 0.15s;
}

body.landing a.button:hover {
    background: #333;
}
