#blog h3 {
    font-family: "Qanelas-Bold", Helvetica, Arial, sans-serif;
}

#blog-posts .row .columns {
    margin-bottom: 20%;
}

@media (min-width: 550px) {
    #blog-posts .row .columns {
        margin-bottom: 10%;
    }
}

#blog-posts h3 a {
    border-bottom: none;
}

.blog-cta {
    font-family: "Qanelas-Bold", Helvetica, Arial, sans-serif;
    padding: 8px 16px;
    border: 4px solid #333c4e;
    color: #fff;
    background: #333c4e;
    text-decoration: none;
    font-size:2rem;
    border-radius: 3px;
}

.blog-cta:hover {
    border: 4px solid #536280;
    color: #fff;
    background: #536280;
    text-decoration: none;
    font-size:2rem;
    border-radius: 3px;
}

.date {
    margin-bottom: 1rem;
}

#blog article ul li {
    list-style-position: outside;
    margin-left: 24px;
}

hr {
    margin-bottom: 3%;
}

/* Notes
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.note {
    border-left: 5px solid #333c4e;
    padding: 16px 32px;
    margin-bottom: 2.4rem;
    background: #fff;
}

.note p {
    margin-bottom: 0;
}

/* Blog hero image / figure caption text
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#blog figure {
    margin: 0; /* reset skeleton styles */
    margin-bottom: 2%; /* A little space between the date and the image */
    font-size: initial;
    line-height: initial;
    position: relative;
    overflow: hidden; /* overflow hidden to allow figcaption hide bottom */
}

#blog figure img {
    display: block;
    height: auto;
    width: 100%;
}

#blog figure figcaption {
    position: absolute;
    width: 100%; 
    bottom: 0;
    font-size: 1.3rem;
    line-height: 1.7rem;
    padding: 1.7rem;
    padding-right: 5rem; /* Prevent text going under the button icon */ 
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(100%); /* Move down, out of view */
    transition: transform 0.3s; /* Add some transition animation */
}


#blog figure.is-active figcaption {
    transform: translateY(0%); /* Move into view */
}

#blog figure button {
    font-family: "Qanelas-Bold", Helvetica, Arial, sans-serif;
    margin: 0; /* reset skeleton styles */
    height: auto; /* reset skeleton styles */
    font-size: initial; /* reset skeleton styles */
    letter-spacing: initial; /* reset skeleton styles */
    line-height: normal; /* reset skeleton styles */
    padding: 1rem 1.6rem; /* override skeleton styles */
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    cursor: pointer;
}

#blog figure button::before {
    color: #fff;
    content: "\003F"; /* ? icon | htmlsymbols.xyz */
}

@media (max-width: 550px) {
    #blog figure figcaption {
        padding: 0.7rem 5rem 0.7rem 0.7rem;
    }

    #blog figure {
        margin-bottom: 5%; /* A little space between the date and the image */
    }
}


/* Dark mode
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (prefers-color-scheme: dark) {
    .note {
        border-left: 5px solid #fff;
        padding: 16px 32px;
        margin-bottom: 2.4rem;
        background: #000;
    }

    .note p {
        color: #fff;
    }

    .blog-cta {
        border: 4px solid #fff;
        color: #333;
        background: #fff;
    }

    .blog-cta:hover {
        border: 4px solid #b3b3b3;
        color: #333;
        background: #b3b3b3;
    }

    .subscribe {
        border: 2px solid #fff;
    }

    .subscribe form input[type=email] {
        color: #333c4e;
    }

    .subscribe form input[type=submit] {
        border: 4px solid #003973;
        color: #fff;
        background: #003973;
    }

    .subscribe form input[type=submit]:hover {
        border: 4px solid #002142;
        color: #fff;
        background: #002142;
    }
}