/* WANTRIPLOG Journal Thumbnails 1.0.0 — journal archive only. */
.wtjt-page .wtjt-list { margin-top: 22px; }
.wtjt-page .wtjt-card {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    overflow: hidden;
    min-height: 192px;
    margin-bottom: 14px;
    border: 1px solid #e7eee7;
    border-radius: 20px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}
.wtjt-page .wtjt-card:hover {
    box-shadow: 0 9px 25px rgba(25, 71, 65, .08);
    transform: translateY(-2px);
}
.wtjt-page .wtjt-card--no-image { grid-template-columns: minmax(0, 1fr); }
.wtjt-page .wtjt-card-image {
    position: relative;
    display: block;
    min-height: 190px;
    overflow: hidden;
    background: #eff4ed;
}
.wtjt-page .wtjt-card-thumbnail {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.wtjt-page .wtjt-card:hover .wtjt-card-thumbnail { transform: scale(1.035); }
.wtjt-page .wtjt-card-body {
    min-width: 0;
    padding: 22px 25px;
    align-self: center;
}
.wtjt-page .wtjt-card-body .wt-kicker { margin-bottom: 10px; }
.wtjt-page .wtjt-card-body h2 {
    margin: 0;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.wtjt-page .wtjt-card-body h2 a:hover { color: #287066; }
.wtjt-page .wtjt-card-body p {
    margin: 14px 0 0;
    color: #71897d;
    font-size: 13px;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wtjt-page .wtjt-card a:focus-visible {
    outline: 3px solid #d59075;
    outline-offset: 3px;
}
@media (max-width: 680px) {
    .wtjt-page .wtjt-list { margin-top: 18px; }
    .wtjt-page .wtjt-card { display: block; min-height: 0; border-radius: 17px; }
    .wtjt-page .wtjt-card-image { min-height: 0; aspect-ratio: 16 / 9; }
    .wtjt-page .wtjt-card-body { padding: 19px 20px 21px; }
    .wtjt-page .wtjt-card-body h2 { font-size: 18px; line-height: 1.6; }
    .wtjt-page .wtjt-card-body p { margin-top: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .wtjt-page .wtjt-card,
    .wtjt-page .wtjt-card-thumbnail { transition: none; }
    .wtjt-page .wtjt-card:hover { transform: none; }
    .wtjt-page .wtjt-card:hover .wtjt-card-thumbnail { transform: none; }
}
