
.pi-blog {
    --ink: #0d0d0d;
    --body: #333333;
    --muted: #6e6e6e;
    --cream: #f2f2f2;
    --line: #dcdcdc;
    --tan: #000000;
    font-family: "Ubuntu",sans-serif;
    color: var(--body);
    line-height: 1.7;
    overflow: hidden
}

.pi-blog .pi-hero {
    --tan: #ffffff
}

.pi-blog * {
    box-sizing: border-box
}

div.pi-blog div {
    z-index: auto !important
}

.pi-blog img {
    max-width: 100%;
    display: block
}

.pi-blog p {
    margin: 0 0 18px
}

    .pi-blog p:last-child {
        margin-bottom: 0
    }

.pi-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.pi-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tan);
    font-weight: 500;
    margin-bottom: 22px
}

    .pi-eyebrow::before {
        content: "";
        width: 34px;
        height: 1px;
        background: var(--tan);
        flex: none
    }

.pi-h1 {
    font-size: clamp(32px,4.6vw,54px);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -.01em
}

.pi-h2 {
    font-size: clamp(24px,2.8vw,34px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 20px;
    letter-spacing: -.01em
}

.pi-lead {
    font-size: clamp(16px,1.4vw,19px)
}

.pi-sec {
    padding: clamp(60px,8vw,100px) 0
}

/* Hero */
.pi-hero {
    background-size: cover;
    background-position: center;
    min-height: clamp(280px,36vh,380px);
    display: flex;
    align-items: center;
    padding: 70px 0
}

.pi-hero__inner {
    max-width: 680px
}

.pi-hero__deck {
    font-size: clamp(16px,1.4vw,19px);
    color: rgb(255 255 255 / .82);
    font-weight: 400;
    margin: 0
}

/* Blog grid */
.pi-blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: clamp(30px,3.2vw,48px)
}

.pi-blog-card a {
    display: block;
    text-decoration: none;
    color: inherit
}

.pi-blog-card__media {
    overflow: hidden;
    background: var(--line)
}

    .pi-blog-card__media img {
        width: 100%;
        height: auto;
        transition: transform .6s ease;
        display: block
    }


.pi-blog-card:hover .pi-blog-card__media img {
    transform: scale(1.06)
}

.pi-blog-card__body {
    padding-top: 22px
}

.pi-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px
}

    .pi-blog-card__meta .pi-author {
        color: var(--tan);
        font-weight: 500
    }

    .pi-blog-card__meta .pi-dot {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--muted);
        flex: none
    }

.pi-blog-card h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease
}

.pi-blog-card:hover h2 {
    color: var(--tan)
}

/* Pagination */
.pi-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(54px,6vw,84px)
}

    .pi-pagination a, .pi-pagination span {
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        letter-spacing: .03em;
        color: var(--ink);
        text-decoration: none;
        border-radius: 2px;
        box-shadow: inset 0 0 0 1px var(--line);
        transition: .25s ease
    }

        .pi-pagination a:hover {
            background: var(--ink);
            color: #fff;
            box-shadow: none
        }

    .pi-pagination .is-active {
        background: var(--ink);
        color: #fff;
        box-shadow: none
    }

    .pi-pagination .is-disabled {
        color: var(--muted);
        opacity: .5;
        pointer-events: none
    }

@media (max-width:1024px) {
    .pi-blog-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:640px) {
    .pi-wrap {
        padding: 0 18px
    }

    .pi-hero {
        min-height: auto;
        padding: 56px 0
    }

    .pi-blog-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .pi-blog-card__meta {
        font-size: 11px
    }
}


