/* "Next story" link and "Read next" block on single posts (inc/read-next.php).
   Type and rules follow the article page's existing related-stories strip. */

.twp-next-story {
    display: block;
    margin: 28px 0 8px;
    padding: 14px 18px;
    border-top: 2px solid #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f8f4;
    color: #1a1a1a;
    text-decoration: none;
}

.twp-next-story:hover .twp-next-title,
.twp-next-story:focus .twp-next-title { color: #555; }

.twp-next-label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c0392b;
    margin-bottom: 4px;
}

.twp-next-title {
    display: block;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.twp-readnext {
    border-top: 2px solid #1a1a1a;
    padding-top: 20px;
    margin-top: 32px;
}

.twp-readnext-header {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 14px;
}

.twp-readnext-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}

.twp-readnext-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.twp-readnext-item.twp-readnext-noimg { grid-template-columns: 1fr; }

.twp-readnext-img { display: block; overflow: hidden; }

.twp-readnext-img img {
    display: block;
    width: 100%;
    height: 84px;
    object-fit: cover;
}

.twp-readnext-text .twp-cat { margin-top: 0; margin-bottom: 4px; }

.twp-readnext-item h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
}

.twp-readnext-item h3 a { color: #1a1a1a; }
.twp-readnext-item h3 a:hover { color: #555; }

.twp-readnext-item .twp-meta { font-size: 0.7rem; }

@media (max-width: 720px) {
    .twp-readnext-grid { grid-template-columns: 1fr; gap: 0; }
    .twp-readnext-item { grid-template-columns: 96px 1fr; padding: 14px 0; }
    .twp-readnext-item:first-child { padding-top: 0; }
    .twp-readnext-img img { height: 72px; }
    .twp-next-story { padding: 12px 14px; }
    .twp-next-title { font-size: 1.05rem; }
}
