/*
    Autorenseite /autor/patrick-rosskothen.
    Eigenständiges Stylesheet, damit die typografische Vorlage 1:1 umgesetzt werden
    kann, ohne neue Tailwind-Utilities zu erzeugen (tailwind.css ist gepurged und
    versioniert, siehe CLAUDE.md §2). Header und Footer nutzen weiterhin die
    bestehenden Utility-Klassen der übrigen Content-Seiten.
    Der Außencontainer folgt bewusst max-w-5xl/px-6 aus Header und Footer, damit
    Logo, Fließtext und Footer bündig stehen; alle inneren max-width-Werte
    entsprechen exakt der Designvorgabe.
*/

.author-sec {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero */

.author-hero {
    padding-top: 7rem;
    padding-bottom: 6rem;
}

.author-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: start;
    gap: 4rem;
}

.author-kicker {
    margin: 0 0 2.5rem;
    color: #38bdf8;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.author-h {
    margin: 0;
    color: #fff;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.02;
}

.author-h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
}

.author-h2 {
    max-width: 36rem;
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}

.author-h2-final {
    max-width: 34rem;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.author-sky {
    color: #0ea5e9;
}

.author-h1 .author-sky {
    display: block;
}

.author-lead {
    max-width: 38rem;
    margin: 2.5rem 0 0;
    color: #94a3b8;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.author-dates {
    max-width: 38rem;
    margin: 1.75rem 0 0;
    color: #64748b;
    font-size: .8125rem;
    line-height: 1.7;
}

.author-portrait {
    overflow: hidden;
    border: 1px solid #1e293b;
    border-radius: .85rem;
    background: #0f172a;
}

.author-portrait img {
    display: block;
    width: 100%;
    height: auto;
}

/* Fließtext und Gliederung */

.author-rule {
    height: 1px;
    margin: 0;
    border: 0;
    background: #1e293b;
}

.author-block {
    padding-top: 8.5rem;
}

.author-block-first {
    padding-top: 4.5rem;
}

.author-flow {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 1.75rem;
}

.author-flow-loose {
    margin-top: 3.5rem;
}

.author-body {
    max-width: 37rem;
    margin: 0;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.8;
    text-wrap: pretty;
}

.author-aside {
    max-width: 37rem;
    margin-top: 2.75rem;
    padding-top: 2.75rem;
    border-top: 1px solid #1e293b;
}

.author-aside .author-body {
    max-width: none;
}

.author-body a {
    color: #38bdf8;
    font-weight: 600;
    transition: color .15s ease;
}

.author-body a:hover {
    color: #7dd3fc;
}

.author-aside em {
    color: #e2e8f0;
    font-style: italic;
}

/* Aufzählung der technischen Arbeitsfelder */

.author-list {
    max-width: 37rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.author-list li {
    position: relative;
    padding-left: 1.4rem;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.8;
    text-wrap: pretty;
}

.author-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75rem;
    width: .375rem;
    height: .375rem;
    border-radius: 999px;
    background: #0ea5e9;
}

.author-list strong {
    color: #f8fafc;
    font-weight: 700;
}

/* Kontakt- und Profilzeilen */

.author-links {
    max-width: 42rem;
    margin-top: 1.75rem;
}

.author-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    min-height: 2.75rem;
    padding: 1.35rem 0;
}

.author-row a {
    color: #f8fafc;
    font-size: .9375rem;
    font-weight: 600;
    transition: color .15s ease;
}

.author-row a:hover {
    color: #38bdf8;
}

.author-row-text {
    color: #94a3b8;
    font-size: .9375rem;
}

.author-row-text a {
    color: #38bdf8;
}

.author-row-text a:hover {
    color: #7dd3fc;
}

/* Verweise in die Wissensdatenbank */

.author-topics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin-top: 2.75rem;
}

.author-topics a {
    color: #7dd3fc;
    font-size: .875rem;
    font-weight: 600;
    transition: color .15s ease;
}

.author-topics a:hover {
    color: #fff;
}

.author-topics-sep {
    color: #334155;
}

/* Abschluss */

.author-final {
    padding-top: 8.5rem;
    padding-bottom: 7rem;
}

.author-final .author-rule {
    margin-bottom: 4rem;
}

.author-cta {
    display: flex;
    align-items: flex-start;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .author-hero {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }

    .author-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .author-hero-figure {
        order: -1;
        max-width: 22rem;
    }

    .author-block {
        padding-top: 6rem;
    }

    .author-final {
        padding-top: 6rem;
        padding-bottom: 4.5rem;
    }
}
