main.main-section .content {
    position: relative;
}

ul, ol {
    padding-inline-start: 1em;
}

.blog-cta {
    position: relative;
    background-color: var(--color-brand);
    border-radius: var(--border-radius);
}

.blog-cta.light {
    background-color: var(--color-brand-light);
    border-radius: var(--border-radius);
}

.blog-cta > box-l {
    border-radius: var(--border-radius);
}

.blog-cta cluster-l > box-l {
    background-color: transparent;
    border-radius: var(--border-radius);
    border: solid #000 var(--border-thin);
}

/* Featured post */

.featured-post {
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: solid var(--color-brand-original-light) var(--border-thin);
}

.featured-post a {
    color: var(--font-color);
}

.featured-post:hover a {
    color: var(--link-color);
    text-decoration: underline;
}

.featured-post .date {
    color: var(--color-light-grey);
}

.featured-post:hover {
    border-radius: var(--border-radius);
    border: solid var(--color-brand-light) var(--border-thin);
    transform: translateY(-4px);
    box-shadow: 0 0 20px #2837461a;
}

.featured-post box-l.side-content {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-xl);
    border-bottom-right-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.featured-post-icon-label {
    color: var(--color-purple-bright);
}

.featured-post frame-l {
    border-bottom-left-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
}

/* Post listings */
#posts-list > grid-l stack-l, #posts-list > grid-l stack-l > *:not(a):not(cluster-l) {
    height: 100%;
}

/* Post card (in listings) */

.post-card-parent {
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: none;
}

/* Needed to make this more specific, and extend height to max inc box border :'( */
box-l.post-card {
    box-sizing: border-box;
    height: 100%;
    border: solid var(--color-brand-original-light) var(--border-thin);
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px #2837461a;
}

.post-card frame-l {
    border-radius: var(--border-radius);
}

.post-card > * {
    color: var(--font-color);
}

.post-card:hover {
    transform: translateY(-4px);
    border-radius: var(--border-radius);
    border: solid var(--color-brand-light) var(--border-thin);
}

.post-details > stack-l {
    min-block-size: 15ex;
}

.post-details .date {
    color: var(--color-grey);
}

.post-card .read-more > a {
    color: var(--font-color);
    font-weight: 600;
}

.post-card:hover .read-more > a {
    color: var(--link-color);
    font-weight: 600;
}

/* Buttons */
box-l.button {
    font-weight: 600;
    border-radius: var(--s-3);
    border: solid var(--color-brand-dark) var(--border-sm);
    transform: translateY(-4px);
    box-shadow: 0 0 20px #2837461a;
    stroke-width: 2.5px;
    text-align: center;
}

box-l.bg-light.button:hover {
    background-color: var(--color-brand);
}

box-l.button icon-l.start {
    margin-inline-start: var(--s0);
}

/* Article pagination */
nav.article-navigation .right > sidebar-l {
    text-align: right;
}

/* Admonitions */

.admonition {
    display: block;
}

.admonition.info {
    background-color: var(--color-bright-complement);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--color-bright);
}

.admonition.info .admonition-title {
    border-bottom: 3px dashed var(--color-bright);
}

.admonition-icon-info {
    color: var(--color-bright);
}

.admonition.todo {
    border-left: 3px solid var(--color-orange);
}

.admonition.todo .admonition-title {
    border-bottom: 3px dashed var(--color-orange);
}

.admonition-icon-todo {
    color: var(--color-orange);
}

.admonition.tip {
    border-left: 3px solid var(--color-brand);
    border-radius: var(--border-radius);
    background: var(--color-success-light);
}

.admonition.tip .admonition-title {
    border-bottom: 3px dashed var(--color-brand);
}

.admonition-icon-tip {
    color: var(--color-brand);
}

.admonition.note {
    border-left: 3px solid var(--color-bright);
    border-radius: var(--border-radius);
    background: var(--color-info-light);
}

.admonition.note .admonition-title {
    border-bottom: 3px dashed var(--color-bright);
}

.admonition-icon-note {
    color: var(--color-bright);
}

.admonition.warning {
    border-left: 3px solid var(--color-warning);
    border-radius: var(--border-radius);
    background: var(--color-warning-light);
}

.admonition.warning .admonition-title {
    border-bottom: 3px dashed var(--color-warning);
}

.admonition-icon-warning {
    color: var(--color-warning);
}

.admonition.default {
    border-left: 3px solid var(--color-bright);
    border-radius: var(--border-radius);
    background: var(--color-bright-complement);
}

.admonition.default .admonition-title {
    border-bottom: 3px dashed var(--color-bright);
}

.admonition-icon-default {
    color: var(--color-bright);
}

/* Footer elements */

footer {
    background-color: var(--color-dark);
    color: white;
    padding: var(--s2) 0;
}

footer .subhead {
    font-size: var(--s1);
}

footer .footer-content {
    padding: var(--s3) var(--s1);
}

.social-links {
    color: var(--color-brand);
}

cluster-l.social-links > div {
    display: flex;
}

.footer-social {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background-color: var(--color-brand-light);
    color: var(--color-brand-dark);
}

footer .footer-social > center-l > div {
    display: block;
    margin-inline: 0;
    width: 100%;
    height: 100%;
}

footer .footer-social > center-l cover-l {
    display: flex;
    flex-direction: column;
}

footer .footer-social svg {
    color: var(--color-brand-dark);
}

.btn {
    display: inline-block;
    padding: var(--s-1) var(--s0);
    background-color: var(--color-brand);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.email-form input {
    border-radius: var(--border-radius);
}

.email-form.email-link {
    font-size: var(--font-size-sm);
}

/* CTA Waves in-front of footer */
.cta-illustration {
    margin-block-start: -80px !important;
    width: 100%;
    height: auto;
    max-height: 380px;
    margin-top: -80px;
    z-index: -1;
    position: relative;
    /*overflow: hidden*/
}

/* img-full for cta waves */
.img-full {
    object-fit: fill;
    width: 100%;
}

/* Waves illustrations from header (see partials/home_banner.html) */
.waves-illustr {
    z-index: var(--z1);
    object-fit: cover;
    width: 100%;
    height: auto;
    margin-top: -1px;
    margin-bottom: -1px;
    overflow: hidden
}

.waves-illustr.dark-bg {
    z-index: 0;
    opacity: .1
}

.waves-illustr.dark-bg.platform {
    object-position: 50% 0%;
    max-height: 17vw;
    margin-top: -60px
}

.waves-illustr.position\:absolute {
    position: absolute
}

.waves-illustr.home-hero {
    z-index: -1;
    height: 32.708vw;
    margin-top: -136px;
    margin-bottom: 0
}

.waves-illustr.z-0 {
    z-index: 0
}

.waves-img {
    object-fit: cover;
    object-position: 50% 50%;
    width: 101%;
    max-width: none;
    position: relative;
    height: 100%;
    margin-top: 0;
    margin-left: -.5%;
    margin-right: -.5%
}

/* Main content area in home banner */
.nav-pad {
    padding-top: calc(var(--navbar-height) * 1);
}

/* Keep box-l padding left-right, but override tb */
.home-banner {
    position: relative;
}

box-l.pad-tb-only {
    padding-left: 0;
    padding-right: 0;
}

box-l.pad-rl-only {
    padding-top: 0;
    padding-bottom: 0;
}


.bg.light-green-gradient {
    background-image: linear-gradient(270deg, #e0f4e3, #fff);
    width: 100%;
    margin-top: -1px;
    margin-bottom: -1px;
    overflow: hidden;
}

/* Blog post / article Show */
stack-l.article > .title-section {
    background-color: var(--color-light);
}

stack-l.article .date {
    color: var(--color-grey);
}

.banner-section {
    position: relative;
}

.article {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-xl);
}

stack-l.article .content {
    position: relative;
}

stack-l.article .content p, stack-l.article .content li {
    position: relative;
    font-size: var(--font-size-xl);
    line-height: var(--line-height-xl);
}

stack-l.article .content li > * + * {
    font-size: inherit;
    margin-block-start: var(--s1);
}

.z-0 {
    z-index: var(--z0);
}

.z-1 {
    z-index: var(--z1);
}

.blog-cta .bg-image {
    z-index: 0;
    position: absolute;
    right: 0;
    bottom: 0;
}

.blog-cta .bg-image > svg {
    z-index: 0;
    position: absolute;
    right: 0;
    bottom: 0;
}

.blog-cta .bg-light {
    background-color: var(--color-brand-light);
}

.blog-cta a {
    color: var(--font-color);
    text-decoration: none;
    font-weight: 600;
}


.blog-cta:hover a {
    text-decoration: underline;
    font-weight: 600;
}

.blog-cta a:hover .bg-light {
    color: var(--font-color);
}

/* List Blocks */
stack-l.article .content ol > li > *:first-child:not(pre), stack-l.article .content ol > li > *:first-child:not(pre) > * {
    display: inline;
}

stack-l.article .content ul > li > *:first-child:not(pre), stack-l.article .content ul > li > *:first-child:not(pre) > * {
    display: inline;
}


/* List Blocks' code blocks */
stack-l.article .content ol > li > * + *, stack-l.article .content ol > li > pre {
    /*margin-inline-start: var(--s1);*/
    padding-inline-start: var(--s1);
    padding-block-end: var(--s1);
}

stack-l.article .content pre {
    border-radius: var(--border-radius);
    margin-block-start: var(--s1);
    margin-block-end: var(--s1);
    padding-inline-start: var(--s1);
    padding-block-start: var(--s1);
    padding-block-end: var(--s1);
}

stack-l.article .content frame-l {
    border-radius: var(--border-radius);
}

/* large code blocks */
stack-l.article .content pre > code {
    display: inline-block;
    font-size: var(--font-size-lg);
    background-color: inherit;
    word-break: break-word;
    white-space: pre-wrap;
    border-radius: var(--border-radius);
    line-height: var(--line-height-lg);
}

/* inline code blocks */
stack-l.article .content *:not(pre) > code {
    background-color: var(--color-light-grey);
    word-break: break-word;
    white-space: pre-wrap;
    border-radius: var(--border-radius);
    padding: var(--s-7) var(--s-5);
}

/* blockquote */

center-l:has(> blockquote) {
    background-color: var(--color-lightish);
    border-radius: var(--border-radius);
}

stack-l.article blockquote {
    margin-block-start: 2rem;
    margin-block-end: 2rem;
}

blockquote > p {
    display: block;
}

stack-l.article blockquote > box-l.content > p {
    text-align: center;
    font-size: var(--font-size-3xl);
    line-height: var(--line-height-3xl);
    padding: 0 var(--s3);
    font-style: italic;
}

blockquote span.quotations {
    font-weight: 600;
    font-size: var(--font-size-7xl);
    line-height: normal;
}

blockquote span.quotations.quotation-end {
    position: relative;
    bottom: -1ex;
}

blockquote p:last-child:has(> span.quotations) {
    text-align: right;
}

blockquote p:last-child:has(> span.quotations) > span.quotations {
    display: inline-block;
}
