.tn-post-list {
--tn-pl-radius: var(--tn-inner-radius, 14px);
color: var(--tn-inner-ink, #1f1d36);
}
.tn-post-list__title {
margin: 8px 0 28px;
font-family: var(--tn-inner-font, system-ui, sans-serif);
font-size: clamp(24px, 3vw, 32px);
font-weight: 650;
letter-spacing: .06em;
}
.tn-post-list__intro {
margin-bottom: 28px;
}
.tn-post-cards {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(18px, 2.6vw, 28px);
}
.tn-post-cards .tn-latest-row {
display: grid;
grid-template-rows: auto 1fr auto;
overflow: hidden;
border-radius: var(--tn-pl-radius);
background: var(--tn-inner-surface, #fff);
box-shadow: 0 10px 30px rgba(31, 29, 54, .07);
}
.tn-post-cards .tn-latest-row__media {
display: block;
aspect-ratio: 10 / 7;
overflow: hidden;
background: var(--tn-inner-paper-deep, #e7e4f3);
}
.tn-post-cards .tn-latest-row__image,
.tn-post-cards .tn-latest-row__placeholder {
display: block;
width: 100%;
height: 100%;
margin: 0;
}
.tn-post-cards .tn-latest-row__image {
object-fit: cover;
}
.tn-post-cards .tn-latest-row__placeholder {
position: relative;
background: var(--tn-inner-accent-soft, #ebe8f7);
}
.tn-post-cards .tn-latest-row__placeholder span {
position: absolute;
right: 14px;
bottom: 11px;
color: var(--tn-inner-accent-dark, #352b6e);
font: 700 10px/1 system-ui, sans-serif;
letter-spacing: .2em;
}
.tn-post-cards .tn-latest-row__content {
padding: 20px 22px 0;
}
.tn-post-cards .tn-latest-row__meta {
margin-bottom: 10px;
color: var(--tn-inner-muted, #5b5875);
font: 400 13px/1.5 system-ui, sans-serif;
letter-spacing: .06em;
}
.tn-post-cards .tn-latest-row__meta time,
.tn-post-cards .tn-latest-row__excerpt,
.tn-post-cards .tn-latest-row__leader {
display: none;
}
.tn-post-cards .tn-latest-row__title {
display: -webkit-box;
margin: 0;
overflow: hidden;
font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
font-size: 16px;
font-weight: 700;
line-height: 1.75;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.tn-post-cards .tn-latest-row__title::before,
.tn-post-cards .tn-latest-row__title::after {
content: none;
}
.tn-post-cards .tn-latest-row__title a {
color: inherit;
text-decoration: none;
}
.tn-post-cards .tn-latest-row__title a:hover {
color: var(--tn-inner-accent, #4b3f8f);
}
.tn-post-cards .tn-latest-row__date {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 12px 22px 22px;
color: var(--tn-inner-muted, #5b5875);
font: 400 13px/1.4 system-ui, sans-serif;
}
.tn-post-cards .tn-latest-row__date::before {
content: "";
width: 14px;
height: 14px;
background: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Ccircle cx='8' cy='8' r='6.6'/%3E%3Cpath d='M8 4.4V8l2.6 1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Ccircle cx='8' cy='8' r='6.6'/%3E%3Cpath d='M8 4.4V8l2.6 1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tn-post-list__pagination {
margin-top: 36px;
padding-top: 24px;
border-top: 1px solid var(--tn-inner-rule, rgba(31, 29, 54, .2));
} .tn-post-list__pagination ul.page-numbers {
width: auto;
height: auto;
border: 0;
background: none;
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.tn-post-list__pagination li {
margin: 0;
padding: 0;
}
.tn-post-list__pagination li > .page-numbers {
width: auto;
display: grid;
min-width: 44px;
height: 44px;
place-items: center;
padding-inline: 12px;
border: 1px solid var(--tn-inner-rule, rgba(31, 29, 54, .2));
border-radius: 4px;
background: var(--tn-inner-surface, #fff);
color: var(--tn-inner-ink, #1f1d36);
text-decoration: none;
}
.tn-post-list__pagination li > .page-numbers.current {
border-color: var(--tn-inner-ink, #1f1d36);
background: var(--tn-inner-ink, #1f1d36);
color: #fff;
}
.tn-post-list__pagination a.page-numbers:hover {
border-color: var(--tn-inner-accent, #4b3f8f);
}
@media (max-width: 560px) {
.tn-post-cards {
grid-template-columns: 1fr;
}
}