/* A row of cards that slides (js/kcarousel.js): a project's blog posts at the bottom of its Story page, a
   post's projects at the bottom of the post. Same look as the home page's rows. */
.kc { padding: 6px 28px 30px; font-family: Lato, sans-serif; }
.kc > h2 { font-family: Montserrat, sans-serif; font-size: 19px; text-transform: uppercase; color: #2c3e50; margin: 6px 0 10px; }
.kc-wrap { position: relative; }
.kc-track { display: flex; align-items: stretch; gap: 16px; overflow-x: auto; padding: 8px 2px 14px; scrollbar-width: none; scroll-behavior: smooth; }
.kc-track::-webkit-scrollbar { display: none; }
.kc-card { flex: 0 0 280px; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(44, 62, 80, .14); display: flex; flex-direction: column; cursor: pointer; transition: box-shadow .2s; }
.kc-card:hover { box-shadow: 0 8px 24px rgba(44, 62, 80, .22); }
.kc-card.post { border-top: 4px solid #18bc9c; }
.kc-card .shot { aspect-ratio: 16 / 10; background: #2c3e50 top center / cover no-repeat; border-bottom: 4px solid #18bc9c; }
.kc-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.kc-card .date { font-family: Montserrat, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #18bc9c; margin-bottom: 4px; }
.kc-card h3 { font-family: Montserrat, sans-serif; font-size: 16px; line-height: 1.3; color: #2c3e50; margin: 0 0 8px; }
.kc-card.project h3 { text-transform: uppercase; }
.kc-card p { font-size: 14px; line-height: 1.5; color: #555; margin: 0 0 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.kc-card .stack { font-size: 11px; color: #18bc9c; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.kc-card .links a { display: inline-block; font-family: Montserrat, sans-serif; font-size: 12px; text-transform: uppercase; padding: 7px 11px; border-radius: 3px; text-decoration: none; margin: 0 4px 6px 0; transition: background .25s, color .25s, box-shadow .25s; }
.kc-card .links .story, .kc-card .links .read { background: #2c3e50; color: #fff; }
.kc-card .links .story:hover, .kc-card .links .read:hover { background: #1a252f; color: #fff; }
.kc-card .links .open { background: #18bc9c; color: #fff; }
.kc-card .links .open:hover { background: #128f76; color: #fff; }
.kc-card .links .src { border: 1px solid #2c3e50; color: #2c3e50; }
.kc-card .links .src:hover { background: #2c3e50; color: #fff; }
/* A click on the card (not a button): its buttons in gold for a second */
.kc-card .links.flash a.story, .kc-card .links.flash a.read, .kc-card .links.flash a.open, .kc-card .links.flash a.src { background: #d4a72c; border-color: #d4a72c; color: #fff; box-shadow: 0 0 0 3px rgba(212, 167, 44, .4); }
.kc-arrow { position: absolute; top: 40%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: none; background: #18bc9c; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(44, 62, 80, .3); transition: background .2s; }
.kc-arrow svg { display: block; width: 16px; height: 16px; }
.kc-arrow:hover, .kc-arrow:focus { background: #128f76; outline: none; }
.kc-arrow[hidden] { display: none; }
.kc-prev { left: -14px; }
.kc-next { right: -14px; }
@media (max-width: 767px) {
    .kc { padding-left: 16px; padding-right: 16px; }
    .kc-card { flex-basis: 82%; }
    .kc-prev { left: 0; }
    .kc-next { right: 0; }
}
