/* ==========================================================
   BDM BLOG DETAIL
   CfaN-inspired structure adapted for Bible Davids Ministries
========================================================== */

:root {
    --bdm-blog-red: var(--bdm-red, #d91d25);
    --bdm-blog-dark: #222222;
    --bdm-blog-text: #555555;
    --bdm-blog-muted: #999999;
    --bdm-blog-border: #dddddd;
    --bdm-blog-bg: #f4f4f4;
}


/* ==========================================================
   BLOG HERO
========================================================== */

.bdm-blog-banner {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(16, 13, 38, 0.78) 0%,
            rgba(77, 20, 58, 0.64) 48%,
            rgba(177, 37, 29, 0.67) 100%
        ),
        url("https://bibledavids.org/wp-content/uploads/2023/11/Partner-Page-Headerbg.jpg")
        center 40% / cover no-repeat;

    color: #ffffff;
}

.bdm-blog-index-banner {
    background-image: url("https://res.cloudinary.com/scjeyulc/image/upload/v1793009673/Thoughtful_Portrait_in_a_Modern_Library.png");
    background-position: right 42%;
    background-size: cover;
    background-repeat: no-repeat;
}

.bdm-blog-index-banner .bdm-blog-banner-title h1,
.bdm-blog-index-banner .bdm-blog-banner-title p {
    color: #1d1b18;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.82);
}


.bdm-blog-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.20)
        );
}


.bdm-blog-banner-inner {
    position: relative;
    z-index: 2;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}


/* BREADCRUMB */

.bdm-blog-breadcrumb {
    display: inline-flex;
    align-items: center;

    padding: 14px 19px;

    background: rgba(10, 10, 15, 0.86);

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    text-transform: uppercase;
}


.bdm-blog-breadcrumb a,
.bdm-blog-breadcrumb strong {
    color: #ffffff;
    text-decoration: none;
}


.bdm-blog-breadcrumb span {
    margin: 0 10px;

    color: var(--bdm-blog-red);

    font-size: 20px;
    line-height: 10px;
}


/* HERO TEXT */

.bdm-blog-banner-title {
    max-width: 600px;

    text-align: right;
}


.bdm-blog-banner-title h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0;

    text-transform: uppercase;
}


.bdm-blog-banner-title p {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;

    text-transform: uppercase;
}


/* angled bottom edge */

.bdm-blog-banner::after {
    content: "";

    position: absolute;

    left: -2%;
    right: -2%;
    bottom: -1px;

    height: 28px;

    background: var(--bdm-blog-bg);

    clip-path: polygon(
        0 75%,
        100% 0,
        100% 100%,
        0 100%
    );
}


/* ==========================================================
   MAIN BLOG AREA
========================================================== */

.bdm-blog-main {
    padding: 70px 0 55px;

    background: var(--bdm-blog-bg);
}


.bdm-blog-layout {
    width: min(1220px, calc(100% - 60px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 260px minmax(0, 1fr);

    gap: 48px;

    align-items: start;
}


/* ==========================================================
   SIDEBAR
========================================================== */

.bdm-blog-sidebar {
    min-width: 0;
}


.bdm-sidebar-block {
    margin-bottom: 44px;
}


.bdm-sidebar-block > h2 {
    margin: 0;

    color: #242424;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;

    text-transform: uppercase;
}


.bdm-sidebar-redline {
    display: block;

    width: 55px;
    height: 2px;

    margin: 18px 0 0;

    background: var(--bdm-blog-red);
}


/* SIDEBAR ARTICLES */

.bdm-sidebar-articles {
    margin-top: 0;
}


.bdm-sidebar-article {
    display: grid;

    grid-template-columns: 58px minmax(0, 1fr);

    gap: 15px;

    align-items: center;

    min-height: 95px;

    padding: 15px 0;

    border-bottom: 1px solid #d9d9d9;
}


.bdm-sidebar-thumb {
    display: block;

    width: 58px;
    height: 58px;

    overflow: hidden;

    border-radius: 2px;

    background: #333333;

    text-decoration: none;
}


.bdm-sidebar-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.bdm-sidebar-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
}


.bdm-sidebar-story-content {
    min-width: 0;
}


.bdm-sidebar-story-content h3 {
    margin: 0 0 7px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}


.bdm-sidebar-story-content h3 a {
    color: #282828;

    text-decoration: none;
}


.bdm-sidebar-story-content h3 a:hover {
    color: var(--bdm-blog-red);
}


.bdm-sidebar-story-content p {
    margin: 0;

    color: #a0a0a0;

    font-size: 12px;
    line-height: 1.3;
}


/* ABOUT / EXPLORE */

.bdm-sidebar-about ul {
    list-style: none;

    margin: 18px 0 0;
    padding: 0;
}


.bdm-sidebar-about li {
    margin: 0;
    padding: 4px 0;
}


.bdm-sidebar-about a {
    position: relative;

    display: block;

    padding-left: 20px;

    color: #777777;

    font-size: 13px;
    line-height: 1.6;

    text-decoration: none;
}


.bdm-sidebar-about a::before {
    content: "–";

    position: absolute;
    left: 0;

    color: #c9c9c9;
}


.bdm-sidebar-about a:hover {
    color: var(--bdm-blog-red);
}


/* ==========================================================
   ARTICLE
========================================================== */

.bdm-blog-article {
    min-width: 0;
}


.bdm-blog-article-header {
    margin-bottom: 30px;
}


.bdm-blog-article-header h1 {
    margin: 0 0 25px;

    color: #343434;

    font-family: Arial, sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 300;
    letter-spacing: -1px;
}


.bdm-blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    padding-top: 16px;

    border-top: 1px solid #d6d6d6;

    color: #9a9a9a;

    font-size: 10px;
    line-height: 1.5;

    text-transform: uppercase;
}


.bdm-blog-article-meta strong {
    color: #333333;

    font-weight: 700;
}


.bdm-meta-separator {
    color: #bbbbbb;
}


/* ==========================================================
   ARTICLE CONTENT
========================================================== */

.bdm-blog-article-content {
    color: #555555;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
}


.bdm-blog-article-content p {
    margin: 0 0 24px;
}


.bdm-blog-article-content h2 {
    margin: 42px 0 18px;

    color: #333333;

    font-size: 26px;
    line-height: 1.25;
    font-weight: 500;
}


.bdm-blog-article-content h3 {
    margin: 35px 0 16px;

    color: #333333;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
}


.bdm-blog-article-content strong,
.bdm-blog-article-content b {
    color: #333333;
}


.bdm-blog-article-content a {
    color: var(--bdm-blog-red);
}


/* ==========================================================
   FEATURED IMAGE INSIDE ARTICLE
========================================================== */

.bdm-blog-inline-featured {
    float: left;

    width: 57%;

    margin: 0 24px 12px 0;
}


.bdm-blog-inline-featured img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    border-radius: 2px;
}


/* ==========================================================
   IMPORTED CONTENT IMAGES
========================================================== */

.bdm-blog-article-content img {
    max-width: 100%;
    height: auto;
}


.bdm-blog-article-content figure {
    max-width: 100%;
}


.bdm-blog-article-content .alignleft {
    float: left;

    max-width: 55% !important;

    margin: 5px 24px 15px 0 !important;
}


.bdm-blog-article-content .alignright {
    float: right;

    max-width: 55% !important;

    margin: 5px 0 15px 24px !important;
}


.bdm-blog-article-content .aligncenter {
    display: block;

    margin: 30px auto !important;
}


/* clear floats at end */

.bdm-blog-article-content::after {
    content: "";

    display: table;

    clear: both;
}


/* ==========================================================
   BLOCKQUOTES
========================================================== */

.bdm-blog-article-content blockquote {
    clear: both;

    margin: 42px 0;

    padding: 10px 0 10px 24px;

    border-left: 4px solid #eeeeee;

    color: #555555;

    font-size: 20px;
    line-height: 1.7;
    font-weight: 300;
}


.bdm-blog-article-content blockquote p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   LISTS / TABLES / EMBEDS
========================================================== */

.bdm-blog-article-content ul,
.bdm-blog-article-content ol {
    margin: 0 0 25px;

    padding-left: 25px;
}


.bdm-blog-article-content li {
    margin-bottom: 7px;
}


.bdm-blog-article-content iframe,
.bdm-blog-article-content video,
.bdm-blog-article-content table {
    max-width: 100%;
}


.bdm-blog-article-content table {
    width: 100%;

    border-collapse: collapse;
}


/* ==========================================================
   TAGS
========================================================== */

.bdm-blog-tags {
    clear: both;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 45px;
    padding-top: 22px;

    border-top: 1px solid #e0e0e0;
}


.bdm-blog-tags-label {
    color: #999999;

    font-size: 10px;

    text-transform: uppercase;
}


.bdm-blog-tags-list {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


.bdm-blog-tags-list a {
    display: inline-flex;
    align-items: center;

    padding: 7px 10px;

    background: #e9e9e9;

    color: #999999;

    font-size: 10px;
    line-height: 1;

    text-decoration: none;

    text-transform: uppercase;
}


.bdm-blog-tags-list a::before {
    content: "◆";

    margin-right: 6px;

    color: #cccccc;

    font-size: 7px;
}


.bdm-blog-tags-list a:hover {
    background: var(--bdm-blog-red);
    color: #ffffff;
}


/* ==========================================================
   OTHER ARTICLES
========================================================== */

.bdm-blog-related {
    padding: 20px 0 75px;

    background: var(--bdm-blog-bg);
}


.bdm-blog-related-inner {
    width: min(900px, calc(100% - 60px));

    margin: 0 auto;
}


.bdm-blog-related-title {
    margin: 0 0 38px;

    color: #555555;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;

    text-align: center;

    text-transform: uppercase;
}


.bdm-blog-related-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


.bdm-blog-related-image {
    position: relative;

    display: block;

    height: 190px;

    overflow: hidden;

    background: #333333;

    text-decoration: none;
}


.bdm-blog-related-image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 5px;

    background: var(--bdm-blog-red);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.25s ease;
}


.bdm-blog-related-card:hover
.bdm-blog-related-image::after {
    transform: scaleX(1);
}


.bdm-blog-related-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}


.bdm-blog-related-card:hover
.bdm-blog-related-image img {
    transform: scale(1.03);
}


.bdm-related-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 30px;
    font-weight: 700;
}


.bdm-blog-related-card h3 {
    margin: 13px 0 0;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;

    text-transform: uppercase;
}


.bdm-blog-related-card h3 a {
    color: #222222;

    text-decoration: none;
}


.bdm-blog-related-card h3 a:hover {
    color: var(--bdm-blog-red);
}


/* ==========================================================
   NOT FOUND
========================================================== */

.bdm-blog-not-found {
    min-height: 500px;

    padding: 100px 0;

    text-align: center;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .bdm-blog-banner {
        min-height: 360px;
    }

    .bdm-blog-index-banner {
        background-position: right 42%;
    }


    .bdm-blog-layout {
        grid-template-columns: 220px minmax(0, 1fr);

        gap: 35px;
    }


    .bdm-blog-inline-featured {
        width: 52%;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 760px) {

    /* HERO */

    .bdm-blog-banner {
        min-height: 340px;
    }

    .bdm-blog-index-banner {
        background-position: 60% 42%;
    }


    .bdm-blog-banner-inner {
        align-items: flex-start;
        justify-content: center;

        flex-direction: column;

        gap: 35px;
    }


    .bdm-blog-banner-title {
        text-align: left;
    }


    .bdm-blog-banner-title h1 {
        font-size: 38px;
    }


    .bdm-blog-banner-title p {
        font-size: 13px;
    }


    /* MAIN */

    .bdm-blog-main {
        padding: 50px 0 35px;
    }


    .bdm-blog-layout {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* ARTICLE FIRST ON MOBILE */

    .bdm-blog-article {
        grid-row: 1;
    }


    .bdm-blog-sidebar {
        grid-row: 2;
    }


    .bdm-blog-article-header h1 {
        font-size: 36px;
    }


    .bdm-blog-article-content {
        font-size: 15px;
        line-height: 1.75;
    }


    /* no floating image on mobile */

    .bdm-blog-inline-featured,
    .bdm-blog-article-content .alignleft,
    .bdm-blog-article-content .alignright {
        float: none;

        width: 100%;
        max-width: 100% !important;

        margin: 0 0 25px !important;
    }


    /* SIDEBAR */

    .bdm-blog-sidebar {
        padding-top: 35px;

        border-top: 1px solid #dddddd;
    }


    /* RELATED */

    .bdm-blog-related {
        padding: 35px 0 60px;
    }


    .bdm-blog-related-inner {
        width: calc(100% - 36px);
    }


    .bdm-blog-related-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .bdm-blog-related-image {
        height: 230px;
    }

}






/* ==========================================================
   BDM BLOG INDEX / LISTING
========================================================== */

.bdm-blog-index-container {
    width: min(1180px, calc(100% - 60px));
    margin: 0 auto;
}


/* ==========================================================
   FEATURED ARTICLE
========================================================== */

.bdm-blog-featured-section {
    padding: 75px 0 85px;
    background: #f4f4f4;
}


.bdm-blog-section-heading {
    margin-bottom: 35px;
}


.bdm-blog-section-heading > p {
    margin: 0 0 9px;

    color: var(--bdm-blog-red);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;

    text-transform: uppercase;
}


.bdm-blog-section-heading > h2 {
    margin: 0;

    color: #333333;

    font-family: Arial, sans-serif;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 300;
}


.bdm-blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);

    min-height: 460px;

    background: #ffffff;
}


.bdm-blog-featured-image {
    display: block;

    min-height: 460px;

    overflow: hidden;

    background: #292929;

    text-decoration: none;
}


.bdm-blog-featured-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 460px;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.bdm-blog-featured-card:hover
.bdm-blog-featured-image img {
    transform: scale(1.025);
}


.bdm-blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 50px;
}


.bdm-blog-card-category {
    margin: 0 0 14px;

    color: var(--bdm-blog-red);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.bdm-blog-featured-content h2 {
    margin: 0 0 18px;

    font-family: Arial, sans-serif;
    font-size: clamp(31px, 3.2vw, 45px);
    line-height: 1.1;
    font-weight: 300;
}


.bdm-blog-featured-content h2 a {
    color: #292929;

    text-decoration: none;
}


.bdm-blog-featured-content h2 a:hover {
    color: var(--bdm-blog-red);
}


.bdm-blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;

    color: #999999;

    font-size: 10px;
    line-height: 1.5;

    text-transform: uppercase;
}


.bdm-blog-featured-excerpt {
    margin-bottom: 27px;

    color: #666666;

    font-size: 14px;
    line-height: 1.75;
}


.bdm-blog-featured-excerpt p {
    margin: 0;
}


.bdm-blog-read-button {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 13px;

    min-height: 47px;

    padding: 0 20px;

    border: 1px solid #d3d3d3;

    color: #333333;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.bdm-blog-read-button:hover {
    border-color: var(--bdm-blog-red);
    background: var(--bdm-blog-red);
    color: #ffffff;
}


.bdm-blog-read-button span {
    font-size: 16px;
}


/* ==========================================================
   IMAGE PLACEHOLDER
========================================================== */

.bdm-blog-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: inherit;

    background:
        linear-gradient(
            135deg,
            #252525,
            #3c3c3c
        );

    color: #ffffff;
}


.bdm-blog-image-placeholder span {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
}


/* ==========================================================
   ARTICLE ARCHIVE
========================================================== */

.bdm-blog-archive {
    padding: 80px 0 95px;

    background: #ffffff;
}


.bdm-blog-archive-heading {
    display: flex;
    align-items: flex-end;

    gap: 25px;

    margin-bottom: 40px;
}


.bdm-blog-archive-heading > div {
    flex: 0 0 auto;
}


.bdm-blog-archive-heading p {
    margin: 0 0 9px;

    color: var(--bdm-blog-red);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;

    text-transform: uppercase;
}


.bdm-blog-archive-heading h2 {
    margin: 0;

    color: #333333;

    font-family: Arial, sans-serif;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1;
    font-weight: 300;
}


.bdm-blog-archive-line {
    flex: 1;

    height: 1px;

    margin-bottom: 5px;

    background: #dddddd;
}


/* ==========================================================
   ARTICLE GRID
========================================================== */

.bdm-blog-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 40px 28px;
}


.bdm-blog-card {
    min-width: 0;

    background: #ffffff;
}


.bdm-blog-card-image {
    position: relative;

    display: block;

    height: 235px;

    overflow: hidden;

    background: #333333;

    text-decoration: none;
}


.bdm-blog-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.bdm-blog-card:hover
.bdm-blog-card-image img {
    transform: scale(1.035);
}


.bdm-blog-image-accent {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    background: var(--bdm-blog-red);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.25s ease;
}


.bdm-blog-card:hover
.bdm-blog-image-accent {
    transform: scaleX(1);
}


.bdm-blog-card-content {
    padding: 23px 0 0;
}


.bdm-blog-card-content h3 {
    margin: 0 0 11px;

    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
}


.bdm-blog-card-content h3 a {
    color: #292929;

    text-decoration: none;
}


.bdm-blog-card-content h3 a:hover {
    color: var(--bdm-blog-red);
}


.bdm-blog-card-date {
    margin: 0 0 16px;

    color: #a0a0a0;

    font-size: 10px;
    line-height: 1;

    text-transform: uppercase;
}


.bdm-blog-card-excerpt {
    margin-bottom: 18px;

    color: #6e6e6e;

    font-size: 13px;
    line-height: 1.7;
}


.bdm-blog-card-excerpt p {
    margin: 0;
}


.bdm-blog-card-read {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--bdm-blog-red);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;

    text-decoration: none;
}


.bdm-blog-card-read span {
    font-size: 15px;

    transition: transform 0.2s ease;
}


.bdm-blog-card-read:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   PAGINATION
========================================================== */

.bdm-blog-pagination {
    margin-top: 70px;
}


.bdm-blog-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 6px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.bdm-blog-pagination li {
    margin: 0;
}


.bdm-blog-pagination a,
.bdm-blog-pagination span {
    min-width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border: 1px solid #dddddd;

    color: #555555;

    font-size: 11px;
    line-height: 1;
    font-weight: 600;

    text-decoration: none;
}


.bdm-blog-pagination a:hover,
.bdm-blog-pagination .current {
    border-color: var(--bdm-blog-red);

    background: var(--bdm-blog-red);

    color: #ffffff;
}


/* ==========================================================
   EMPTY
========================================================== */

.bdm-blog-empty {
    padding: 70px 20px;

    border: 1px solid #eeeeee;

    text-align: center;
}


.bdm-blog-empty h2 {
    margin: 0 0 10px;

    color: #333333;

    font-weight: 400;
}


.bdm-blog-empty p {
    margin: 0;

    color: #777777;
}


/* ==========================================================
   FINAL CTA
========================================================== */

.bdm-blog-index-cta {
    padding: 65px 0;

    background: var(--bdm-blog-red);

    color: #ffffff;
}


.bdm-blog-index-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.bdm-blog-index-cta p {
    margin: 0 0 8px;

    color: rgba(255,255,255,0.75);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
}


.bdm-blog-index-cta h2 {
    margin: 0;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 300;
}


.bdm-blog-index-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 54px;

    padding: 0 25px;

    border: 1px solid rgba(255,255,255,0.75);

    color: #ffffff;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;

    text-decoration: none;
}


.bdm-blog-index-cta a:hover {
    background: #ffffff;

    color: var(--bdm-blog-red);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .bdm-blog-featured-card {
        grid-template-columns: 1fr 1fr;
    }


    .bdm-blog-featured-content {
        padding: 35px;
    }


    .bdm-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .bdm-blog-index-container {
        width: calc(100% - 36px);
    }


    .bdm-blog-featured-section {
        padding: 55px 0 60px;
    }


    .bdm-blog-featured-card {
        grid-template-columns: 1fr;

        min-height: 0;
    }


    .bdm-blog-featured-image,
    .bdm-blog-featured-image img {
        min-height: 270px;
        height: 270px;
    }


    .bdm-blog-featured-content {
        padding: 30px 24px 35px;
    }


    .bdm-blog-featured-content h2 {
        font-size: 32px;
    }


    .bdm-blog-archive {
        padding: 60px 0 70px;
    }


    .bdm-blog-archive-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 15px;
    }


    .bdm-blog-archive-line {
        width: 100%;
        flex: none;
    }


    .bdm-blog-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .bdm-blog-card-image {
        height: 250px;
    }


    .bdm-blog-pagination {
        margin-top: 55px;
    }


    .bdm-blog-index-cta {
        padding: 50px 0;
    }


    .bdm-blog-index-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}
