﻿/* ==========================================
BLOG DEFAULT — DOMIRA INSPIRED
Responsive | Black & White | Outfit
========================================== */

.bdf-page {
    --bdf-black: #161616;
    --bdf-text: #242424;
    --bdf-muted: #777777;
    --bdf-border: #e9e9e9;
    --bdf-light: #f7f7f7;
     width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: var(--bdf-text);
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    
}

    .bdf-page *,
    .bdf-page *::before,
    .bdf-page *::after {
        box-sizing: border-box;
    }

    .bdf-page img {
        display: block;
        max-width: 100%;
    }

    .bdf-page a {
        color: inherit;
        text-decoration: none;
    }

.bdf-container {
    width: min(1320px, calc(100% - 60px));
    margin: 0 auto;
}

/* HERO */

.bdf-hero {
    padding: 25px 0 65px;
    background: #ffffff;
    border-bottom: 1px solid var(--bdf-border);
}

.bdf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--bdf-muted);
    font-size: 15px;
}

    .bdf-breadcrumb a {
        color: var(--bdf-black);
        transition: opacity 0.25s ease;
    }

        .bdf-breadcrumb a:hover {
            opacity: 0.6;
        }

    .bdf-breadcrumb i {
        color: #a0a0a0;
        font-size: 11px;
    }

.bdf-hero-content {
    max-width: 850px;
    margin: 58px auto 0;
    text-align: center;
}

.bdf-eyebrow,
.bdf-section-label {
    display: inline-block;
    color: #777777;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.bdf-hero-content h1 {
    margin: 12px 0 15px;
    color: #151515;
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -1.8px;
}

.bdf-hero-content p {
    max-width: 650px;
    margin: 0 auto;
    color: #777777;
    font-size: 19px;
    line-height: 1.8;
}

/* LISTING */

.bdf-listing-section {
    padding: 75px 0 100px;
    background: #ffffff;
}

.bdf-section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

    .bdf-section-top h2 {
        margin: 7px 0 0;
        color: #161616;
        font-size: 36px;
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: -0.8px;
    }

.bdf-post-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid var(--bdf-border);
    border-radius: 5px;
    color: #555555;
    font-size: 15px;
    white-space: nowrap;
}

    .bdf-post-count i {
        color: #222222;
        font-size: 17px;
    }

/* BLOG GRID */

.bdf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 28px;
    align-items: stretch;
}

.bdf-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .bdf-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
    }

/* IMAGE */

.bdf-image-link {
    position: relative;
    display: block;
    height: 275px;
    overflow: hidden;
    background: #eeeeee;
}

    .bdf-image-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.65s cubic-bezier(.2, .7, .2, 1);
    }

.bdf-card:hover .bdf-image-link img {
    transform: scale(1.055);
}

.bdf-category {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 3px;
    background: #ffffff;
    color: #171717;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.bdf-image-arrow {
    position: absolute;
    right: 17px;
    bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: #ffffff;
    color: #161616;
    font-size: 15px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.bdf-card:hover .bdf-image-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* CARD CONTENT */

.bdf-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 23px 25px;
}

.bdf-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 18px;
    width: 100%;
    color: #777777;
    font-size: 13px;
    line-height: 1.7;
}

    .bdf-meta span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .bdf-meta i {
        color: #555555;
        font-size: 13px;
    }

.bdf-card-body h3 {
    margin: 17px 0 22px;
    color: #161616;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.3px;
    overflow-wrap: anywhere;
}

    .bdf-card-body h3 a {
        transition: color 0.25s ease;
    }

        .bdf-card-body h3 a:hover {
            color: #666666;
        }

.bdf-read-more {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--bdf-border);
    width: 100%;
    color: #161616;
    font-size: 15px;
    font-weight: 600;
}

    .bdf-read-more i {
        font-size: 14px;
        transition: transform 0.25s ease;
    }

    .bdf-read-more:hover i {
        transform: translateX(5px);
    }

/* PAGINATION */

.bdf-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 65px;
}

.bdf-page-number,
.bdf-page-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #ffffff;
    color: #252525;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

    .bdf-page-number:hover,
    .bdf-page-next:hover,
    .bdf-page-active {
        border-color: #161616;
        background: #161616;
        color: #ffffff;
    }

/* ACCESSIBILITY */

.bdf-page a:focus-visible {
    outline: 2px solid #161616;
    outline-offset: 4px;
}

/* TABLET */

@media (max-width: 1000px) {

    
    .bdf-container {
        width: calc(100% - 44px);
    }

    .bdf-listing-section {
        padding: 60px 0 80px;
    }

    .bdf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }

    .bdf-image-link {
        height: 260px;
    }

    .bdf-card-body {
        padding: 22px 20px;
    }

        .bdf-card-body h3 {
            font-size: 22px;
        }

    .bdf-section-top h2 {
        font-size: 32px;
    }

    
}

/* MOBILE */

@media (max-width: 600px) {

    
    .bdf-container {
        width: calc(100% - 32px);
    }

    .bdf-hero {
        padding: 20px 0 45px;
    }

    .bdf-breadcrumb {
        gap: 9px;
        font-size: 13px;
    }

    .bdf-hero-content {
        margin-top: 42px;
    }

    .bdf-eyebrow,
    .bdf-section-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .bdf-hero-content h1 {
        margin: 12px 0;
        font-size: clamp(34px, 9vw, 43px);
        letter-spacing: -1px;
    }

    .bdf-hero-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .bdf-listing-section {
        padding: 45px 0 60px;
    }

    .bdf-section-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

        .bdf-section-top h2 {
            font-size: 29px;
        }

    .bdf-post-count {
        padding: 9px 12px;
        font-size: 13px;
    }

    .bdf-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .bdf-image-link {
        height: clamp(220px, 65vw, 340px);
    }

    .bdf-image-arrow {
        width: 39px;
        height: 39px;
        opacity: 1;
        transform: none;
    }

    .bdf-category {
        top: 13px;
        left: 13px;
        min-height: 31px;
        font-size: 12px;
    }

    .bdf-card-body {
        padding: 21px 18px;
    }

    .bdf-meta {
        gap: 8px 14px;
        font-size: 12px;
    }

    .bdf-card-body h3 {
        margin: 14px 0 19px;
        font-size: 22px;
        line-height: 1.45;
    }

    .bdf-read-more {
        font-size: 14px;
    }

    .bdf-pagination {
        gap: 9px;
        margin-top: 40px;
    }

    .bdf-page-number,
    .bdf-page-next {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    
}

/* SMALL MOBILE */

@media (max-width: 360px) {

    
    .bdf-container {
        width: calc(100% - 24px);
    }

    .bdf-hero-content h1 {
        font-size: 32px;
    }

    .bdf-section-top h2 {
        font-size: 26px;
    }

    .bdf-card-body {
        padding: 18px 15px;
    }

        .bdf-card-body h3 {
            font-size: 20px;
        }

    .bdf-meta {
        font-size: 11px;
    }

    
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    
    .bdf-page *,
    .bdf-page *::before,
    .bdf-page *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    
}
