
.bdh-blog-page{padding:80px 0;background:#faf7f0}
.bdh-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.bdh-blog-card{background:#fff;border-radius:20px;overflow:hidden;border:1px solid #eee}
.bdh-blog-card img{width:100%;height:260px;object-fit:cover}
.bdh-blog-card-content{padding:28px}
.bdh-blog-card h2{font-size:28px;line-height:1.2;margin:0 0 15px}
.bdh-blog-meta{font-size:14px;color:#777;margin-bottom:12px}
.bdh-blog-btn{display:inline-block;margin-top:20px;padding:12px 25px;background:#8b5a2b;color:#fff;border-radius:30px}
.bdh-single-post{padding:80px 0}
.bdh-single-wrap{max-width:900px;margin:auto}
.bdh-single-wrap h1{font-size:52px;line-height:1.1}
.bdh-single-image img{width:100%;border-radius:25px;margin:30px 0}
.bdh-entry-content{font-size:18px;line-height:1.8}
@media(max-width:900px){.bdh-blog-grid{grid-template-columns:1fr}.bdh-single-wrap h1{font-size:36px}}



/* ==========================================================
   BARAKAH DAIRIES - BLOG PAGE
   Scoped only to WordPress Blog page
========================================================== */

.blog .bdh-blog-page {
    --bd-blog-green: #173f32;
    --bd-blog-green-dark: #102f26;
    --bd-blog-gold: #c99735;
    --bd-blog-cream: #f6efe5;
    --bd-blog-cream-light: #fbf7f1;
    --bd-blog-card: #fffdf9;
    --bd-blog-text: #252c28;
    --bd-blog-muted: #77736d;
    --bd-blog-border: #e7ddd0;

    position: relative;
    padding: 90px 20px 110px;
    background: var(--bd-blog-cream);
    overflow: hidden;
}


/* ==========================================================
   MAIN CONTAINER
========================================================== */

.blog .bdh-blog-page .bdh-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}


/* ==========================================================
   BLOG GRID
========================================================== */

.blog .bdh-blog-page .bdh-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}


/* ==========================================================
   BLOG CARD
========================================================== */

.blog .bdh-blog-page .bdh-blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bd-blog-card);
    border: 1px solid var(--bd-blog-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(23, 63, 50, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Card hover */

.blog .bdh-blog-page .bdh-blog-card:hover {
    border-color: rgba(201, 151, 53, 0.38);
    box-shadow: 0 18px 45px rgba(23, 63, 50, 0.12);
}


/* ==========================================================
   FEATURED IMAGE
========================================================== */

.blog .bdh-blog-page .bdh-blog-card > a {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #eee5d9;
}


.blog .bdh-blog-page .bdh-blog-card > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(23, 63, 50, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}


.blog .bdh-blog-page .bdh-blog-card:hover > a::after {
    background: rgba(23, 63, 50, 0.05);
}


.blog .bdh-blog-page .bdh-blog-card > a img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}


.blog .bdh-blog-page .bdh-blog-card:hover > a img {
    transform: scale(1.045);
}


/* ==========================================================
   CARD CONTENT
========================================================== */

.blog .bdh-blog-page .bdh-blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 27px 26px 28px;
}


/* ==========================================================
   META / DATE
========================================================== */

.blog .bdh-blog-page .bdh-blog-meta {
    position: relative;
    margin: 0 0 13px;
    padding-left: 25px;
    color: var(--bd-blog-gold);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}


.blog .bdh-blog-page .bdh-blog-meta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 1px;
    background: var(--bd-blog-gold);
    transform: translateY(-50%);
}


/* ==========================================================
   BLOG TITLE
========================================================== */

.blog .bdh-blog-page .bdh-blog-card-content h2 {
    margin: 0 0 14px;
    padding: 0;
    color: var(--bd-blog-green);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}


.blog .bdh-blog-page .bdh-blog-card-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    min-height: 2.6em;
}


.blog .bdh-blog-page .bdh-blog-card-content h2 a:hover {
    color: var(--bd-blog-gold);
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.blog .bdh-blog-page .bdh-blog-card-content p {
    margin: 0 0 24px;
    color: var(--bd-blog-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
    min-height: 5.1em;
}


/* ==========================================================
   READ ARTICLE BUTTON
========================================================== */

.blog .bdh-blog-page .bdh-blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 34px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: 0.25s ease;
    background-color: #183629;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    width:fit-content;
}


.blog .bdh-blog-page .bdh-blog-btn:hover {
    color: var(--bd-blog-green-dark);
    background: var(--bd-blog-gold);
    border-color: var(--bd-blog-gold);
    transform: translateY(-1px);
}
/* ==========================================================
   FOCUS / ACCESSIBILITY
========================================================== */

.blog .bdh-blog-page .bdh-blog-card a:focus-visible {
    outline: 2px solid var(--bd-blog-gold);
    outline-offset: 3px;
}


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

@media (max-width: 1024px) {

    .blog .bdh-blog-page {
        padding: 70px 24px 90px;
    }

    .blog .bdh-blog-page .bdh-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .blog .bdh-blog-page .bdh-blog-card > a img {
        height: 250px;
    }

    .blog .bdh-blog-page .bdh-blog-card-content h2 {
        font-size: 23px;
    }
}


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

@media (max-width: 767px) {

    .blog .bdh-blog-page {
        padding: 50px 16px 70px;
    }

    .blog .bdh-blog-page .bdh-blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog .bdh-blog-page .bdh-blog-card {
        border-radius: 15px;
    }

    .blog .bdh-blog-page .bdh-blog-card > a img {
        height: 230px;
    }

    .blog .bdh-blog-page .bdh-blog-card-content {
        padding: 23px 20px 24px;
    }

    .blog .bdh-blog-page .bdh-blog-meta {
        margin-bottom: 11px;
        font-size: 11px;
    }

    .blog .bdh-blog-page .bdh-blog-card-content h2 {
        margin-bottom: 12px;
        font-size: 22px;
        line-height: 1.3;
    }

    .blog .bdh-blog-page .bdh-blog-card-content p {
        margin-bottom: 21px;
        font-size: 14px;
        line-height: 1.7;
    }

    .blog .bdh-blog-page .bdh-blog-btn {
        min-height: 44px;
        padding: 11px 18px;
        font-size: 13px;
    }
}


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

@media (max-width: 480px) {

    .blog .bdh-blog-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .blog .bdh-blog-page .bdh-blog-card > a img {
        height: 210px;
    }

    .blog .bdh-blog-page .bdh-blog-card-content {
        padding: 21px 18px 22px;
    }

    .blog .bdh-blog-page .bdh-blog-card-content h2 {
        font-size: 20px;
    }
}

/* =========================================================
   BARAKAH DAIRIES - SINGLE BLOG POST
   Only applies on single blog posts
========================================================= */

.single-post .bdh-single-post {
    --bd-green: #173f32;
    --bd-green-dark: #102f26;
    --bd-gold: #c99735;
    --bd-cream: #f6efe5;
    --bd-cream-light: #fbf7f1;
    --bd-white: #fffdf9;
    --bd-text: #373b37;
    --bd-muted: #77736d;
    --bd-border: #e5dbce;

    width: 100%;
    padding: 85px 20px 110px;
    background: var(--bd-cream);
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.single-post .bdh-single-post .bdh-single-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================================
   MAIN BLOG TITLE
========================================================= */

.single-post .bdh-single-post .bdh-single-wrap > h1 {
    max-width: 920px;
    margin: 0 auto 18px;
    padding: 0;
    color: var(--bd-green);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-align: center;
}


/* =========================================================
   BLOG META / DATE
========================================================= */

.single-post .bdh-single-post .bdh-blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 42px;
    color: var(--bd-gold);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}


.single-post .bdh-single-post .bdh-blog-meta::before,
.single-post .bdh-single-post .bdh-blog-meta::after {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    background: var(--bd-gold);
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.single-post .bdh-single-post .bdh-single-image {
    width: 100%;
    margin: 0 0 45px;
    overflow: hidden;
    background: #eee5d9;
    border: 1px solid var(--bd-border);
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(23, 63, 50, 0.10);
}


.single-post .bdh-single-post .bdh-single-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8.4;
    object-fit: cover;
    object-position: center;
}


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

.single-post .bdh-single-post .bdh-entry-content {
    width: 100%;
    padding: 55px 65px 60px;
    color: var(--bd-text);
    background: var(--bd-white);
    border: 1px solid var(--bd-border);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(23, 63, 50, 0.055);
    box-sizing: border-box;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.single-post .bdh-single-post .bdh-entry-content p {
    margin: 0 0 22px;
    color: var(--bd-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.85;
}


/* First paragraph */

.single-post .bdh-single-post .bdh-entry-content > p:first-child {
    color: #294239;
    font-size: 19px;
    line-height: 1.75;
}


/* =========================================================
   H2 HEADINGS
========================================================= */

.single-post .bdh-single-post .bdh-entry-content h2 {
    position: relative;
    margin: 52px 0 20px;
    color: var(--bd-green);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
}
.single-post .bdh-single-post .bdh-entry-content h3{
    margin-bottom: 0;
}
.single-post .bdh-single-post img{
    width: 100%;
}
.bdh-entry-content p:last-child {
    margin: 0px !important;
}
.single-post .bdh-single-post .bdh-single-image img{
    margin: 0 !important;
}
@media (max-width:767px){
    .single-post .bdh-single-post .bdh-entry-content{
        padding: 20px 15px;
    }
    .single-post .bdh-single-post .bdh-entry-content > p:first-child,
    .single-post .bdh-single-post .bdh-entry-content p
    {
        font-size: 16px;
        line-height: 26px;
    }
    .single-post .bdh-single-post .bdh-entry-content h2{
        font-size: 22px;
        line-height: 1.32;
            margin: 10px 0 0px;
    }
    .single-post .bdh-single-post .bdh-entry-content h3{
        font-size: 20px;
    }
    .single-post .bdh-single-post .bdh-entry-content ul{
        display: block;
        padding-left: 20px;
    }
    .single-post .bdh-single-post .bdh-single-wrap > h1{
            font-size: 36px;
    }
    .bdh-single-post{
        padding: 60px 20px 60px !important;
    }
}

/* First headin...