.posts-grid { margin: 0 auto; max-width: calc(570 / var(--cs-base-font-size) * 1rem); &__item { width: 100%; margin-bottom: var(--cs-space-10); } &__summary { font-weight: 300; margin-bottom: var(--cs-space-2); line-height: 1.6; color: var(--cs-font-color); } &__header { display: flex; align-items: baseline; h2 { flex-grow: 1; } } &__link { h3 { margin-top: 0; } height: 100%; width: 100%; display: block; text-decoration: none; margin-bottom: 0.2rem; -webkit-transition: all 0.25s 0s ease; transition: all 0.25s 0s ease; &:hover { h3 { color: var(--cs-link-active-color); } text-decoration: none; } } &__meta { color: #6f6f6f; font-size: 0.8em; a { color: #e03030; } } } .page, .post { max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 4em; font-weight: 300; } .post a, .page a { color: #e03030; } .post__info { margin-bottom: var(--cs-space-2); text-align: center; } .post__date { display: inline-block; margin-top: calc(-1 * var(--cs-space-2)); margin-bottom: var(--cs-space-4); color: #585858; } .post__title { text-align: center; } .post__content { padding-bottom: 2rem; line-height: 1.6rem; h2 { margin-bottom: 0.9rem; } ul { list-style-type: none; padding-left: 0; } li { position: relative; padding-left: 2.3rem; line-height: 1.4em; padding-bottom: 0.5rem; } li:before { content: "→"; position: absolute; left: 0.8rem; font-weight: bold; } } .post__footer { border-top: 1px solid #ababab; padding-top: 1rem; font-size: 15px; display: grid; grid-gap: 20px; grid-template-columns: 1fr 1fr; } @media (max-width: 768px) { .post__footer { grid-template-columns: 1fr; /* One column */ grid-template-rows: auto; /* Rows stack automatically */ } } .post__related { list-style-type: none; padding: 0; margin: 0; } .post__related-item { position: relative; padding-left: 1.5rem; } .post__related-item:before { content: "→"; position: absolute; left: 0.4rem; font-weight: bold; } .video-fluid-wrapper { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; margin-bottom: 2em; } .video-fluid-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .highlight { font-size: 13px; margin: 30px 0; }