/* Styles für Blogpost-Zusammenfassungen */
li.post {
    margin-bottom: 1.5rem;
}

.post-summary {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.manga-page {
    display: grid;
    gap: 2rem;
}

.manga-hero {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem 0 0;
}

.manga-kicker {
    color: #777;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0;
    margin: 0;
    text-transform: uppercase;
}

.manga-page h1 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}

.manga-intro {
    margin: 0.2rem 0 0;
    max-width: 42rem;
}

.manga-hero-meta span {
    border: 3px solid var(--bordercl);
    display: inline-flex;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.86rem;
    padding: 0.2rem 0.55rem;
    flex: 0 0 auto;
    width: auto;
}

.manga-card-date,
.manga-rating-value {
    border: 3px solid var(--bordercl);
    display: inline-flex;
    font-size: 0.86rem;
    font-family: 'Roboto Mono', monospace;
    padding: 0.2rem 0.55rem;
}

.manga-library-status {
    border: 3px dotted var(--bordercl);
    padding: 1rem;
}

.manga-library-list {
    display: grid;
    gap: 0;
}

.manga-list-item {
    align-items: center;
    border-bottom: 3px solid var(--bordercl);
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 1rem 0;
}

.manga-list-cover {
    aspect-ratio: 4 / 5;
    border: 3px solid #ececec;
    overflow: hidden;
}

.manga-list-cover img,
.manga-cover-fallback {
    border: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.manga-cover-fallback {
    background:
      linear-gradient(135deg, rgba(80, 250, 123, 0.24), transparent),
      linear-gradient(315deg, rgba(255, 255, 255, 0.08), transparent);
}

.manga-list-body {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.manga-card-series,
.manga-card-author {
    margin: 0;
}

.manga-card-series {
    color: var(--maincolor);
    font-size: 0.82rem;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0;
    text-transform: uppercase;
}

.manga-card-title {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
}

.manga-card-author {
    color: #777;
    font-size: 0.92rem;
}

.manga-list-meta {
    grid-column: 2;
}

.manga-card-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: space-between;
}

.manga-rating {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.manga-rating-stars {
    display: inline-flex;
    gap: 0.2rem;
}

.manga-star {
    fill: none;
    height: 1rem;
    stroke: #777;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1rem;
}

.manga-star.is-filled {
    fill: var(--maincolor);
    stroke: var(--maincolor);
}

.manga-card-note {
    border-left: 3px solid var(--maincolor);
    color: #777;
    font-size: 0.88rem;
    font-style: italic;
    margin: 0.5rem 0 0;
    padding: 0.15rem 0.55rem;
}

@media screen and (min-width: 820px) {
    .manga-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .manga-list-item {
        grid-template-columns: 68px minmax(0, 1fr) auto;
    }

    .manga-list-meta {
        grid-column: 3;
        min-width: 250px;
    }

    .manga-card-footer {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 680px) {
    .manga-list-item {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 0.85rem 0;
    }

    .manga-list-meta {
        grid-column: 1 / -1;
    }

    .manga-card-footer {
        justify-content: flex-start;
    }
}
