/* Kopfbereich der beiden Startseiten (index.html, en/index.html).
   Eigene Datei statt mieses.info.css: Stylesheets liegen ein Jahr im
   Browser-Cache. Eine neue Datei erreicht auch Wiederkehrer sofort; in
   mieses.info.css bekaeme, wer die Seite schon kennt, das Markup ohne Stil. */

.startkopf {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    margin-bottom: 2rem;
    overflow: hidden;
    color: #1d1a16;
    background: #efe9d9;
}

.startkopf-text {
    padding: 2.5rem 0 2.5rem 2.5rem;
}

.startkopf-name {
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(29, 26, 22, 0.35);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.startkopf-daten {
    margin: 0;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Das Foto laeuft links weich in den Cremeton aus, wie im Blog-Motiv. */
.startkopf-foto {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: 50% 35%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
    mask-image: linear-gradient(to right, transparent, #000 30%);
}

@media (max-width: 767.98px) {
    .startkopf {
        grid-template-columns: minmax(0, 1fr);
    }
    .startkopf-foto {
        order: -1;
        -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
        mask-image: linear-gradient(to bottom, #000 75%, transparent);
    }
    .startkopf-text {
        padding: 0 1.25rem 1.5rem;
    }
}
