/* ==========================================================================
   BLOG — dark editorial
   Used by Views/Blog/Index.cshtml and Views/Blog/BlogSingle.cshtml.
   Same charcoal, same accent and the same type scale as the Gallery and
   Portfolio pages, so the blog no longer looks like a different website.
   ========================================================================== */

.bl_wrap {
    width: 100%;
    float: left;
    clear: both;
    height: auto;
    background-color: #121212;
}
.bl_in {
    width: 100%;
    float: left;
    clear: both;
    height: auto;
    padding: 0 80px 90px 80px;
    box-sizing: border-box;
}

/* --- shared bits ---------------------------------------------------------- */

.bl_eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #9db9d2;
}

/* --- page intro ----------------------------------------------------------- */

.bl_intro {
    padding: 110px 0 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.bl_intro h1 {
    margin: 26px 0 0 0;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 400;
    color: #fff;
}
.bl_intro p {
    margin: 26px 0 0 0;
    max-width: 56ch;
    font-size: 16px;
    line-height: 1.75;
    color: #93a7b8;
}

/* Shown when there is nothing published yet, so the page is never blank. */
.bl_empty {
    padding: 70px 0 40px 0;
    font-size: 16px;
    line-height: 1.75;
    color: #93a7b8;
}

/* An unpublished post. Only the signed-in owner ever sees this. */
.bl_draft {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e8c07d;
    border: 1px solid rgba(232, 192, 125, 0.45);
    background: rgba(232, 192, 125, 0.08);
}

/* --- list of posts -------------------------------------------------------- */

.bl_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 64px 60px;
    padding-top: 64px;
}
.bl_card {
    margin: 0;
}
.bl_card .bl_thumb {
    display: block;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 4 / 3;
}
.bl_card .bl_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.bl_card:hover .bl_thumb img {
    transform: scale(1.04);
}

.bl_meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 14px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.bl_meta .bl_cat {
    color: #9db9d2;
}
.bl_meta .bl_date {
    color: rgba(255, 255, 255, 0.45);
}

.bl_card h2 {
    margin: 0 0 14px 0;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: 0;
    font-weight: 400;
}
.bl_card h2 a {
    color: #fff;
    text-decoration: none;
    transition: color .4s ease;
}
.bl_card h2 a:hover,
.bl_card h2 a:focus-visible {
    color: #9db9d2;
}
.bl_card p {
    margin: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.75;
    color: #93a7b8;
}

.bl_more {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #9db9d2;
    text-decoration: none;
    padding-bottom: 6px;
    border-bottom: 1px solid #9db9d2;
    transition: color .4s ease, border-color .4s ease;
}
.bl_more:hover,
.bl_more:focus-visible {
    color: #fff;
    border-bottom-color: #fff;
}

/* --- one article ---------------------------------------------------------- */

/* The photo is a real <img> rather than a CSS background, because each post
   brings its own picture from the admin panel. */
.bl_hero {
    width: 100%;
    height: 62vh;
    min-height: 380px;
    background-color: #1a1a1a;
}
.bl_hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bl_article {
    max-width: 68ch;
    margin: 0 auto;
    padding: 70px 0 90px 0;
}
/* A post with no photo has no hero to push it down, so it needs room of its
   own to clear the header at the top of the screen. */
.bl_article_top {
    padding-top: 150px;
}
.bl_article .bl_meta {
    margin-top: 0;
}
.bl_article h1 {
    margin: 0 0 28px 0;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 400;
    color: #fff;
}
.bl_lead {
    font-size: 20px;
    line-height: 1.7;
    color: #c7d3dd;
    margin: 0 0 32px 0;
}
.bl_article p {
    font-size: 16px;
    line-height: 1.85;
    color: #93a7b8;
    margin: 0 0 26px 0;
}

.bl_tags {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.bl_tags span {
    color: rgba(255, 255, 255, 0.75);
}

.bl_back {
    display: inline-block;
    margin-top: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color .4s ease;
}
.bl_back:hover,
.bl_back:focus-visible {
    color: #9db9d2;
}

/* --- smaller screens ------------------------------------------------------ */

@media (max-width: 1200px) {
    .bl_in {
        padding: 0 50px 70px 50px;
    }
    .bl_intro h1 {
        font-size: 52px;
    }
}

@media (max-width: 1024px) {
    .bl_in {
        padding: 0 30px 60px 30px;
    }
    .bl_list {
        gap: 50px 40px;
    }
}

@media (max-width: 768px) {
    .bl_in {
        padding: 0 20px 50px 20px;
    }
    .bl_intro {
        padding: 80px 0 44px 0;
    }
    .bl_intro h1 {
        font-size: 42px;
    }
    .bl_list {
        grid-template-columns: 1fr;
        gap: 46px;
        padding-top: 46px;
    }
    .bl_article h1 {
        font-size: 34px;
    }
    .bl_lead {
        font-size: 17px;
    }
    .bl_hero {
        height: 44vh;
        min-height: 260px;
    }
}
