.v4Tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background: rgba(83, 0, 188, 0.08);
    color: var(--v4-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.v4ReadLink {
    color: var(--v4-cyan);
    font-weight: 600;
    font-size: 0.85rem;
}

.v4PostMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.v4PostDate {
    display: block;
    color: var(--v4-text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* ---------- generic page header (blog, and other secondary pages) ---------- */

.v4PageHeader {
    background: linear-gradient(160deg, #2b0a52 0%, var(--v4-purple-deep) 60%, var(--v4-ink) 100%);
    padding: 7rem 1.25rem 2.5rem;
}

.v4PageHeaderInner {
    max-width: var(--v4-max-width);
    margin: 0 auto;
}

.v4PageHeaderInner h1 {
    color: var(--v4-white);
    font-size: 2rem;
    font-weight: 800;
}

.v4PageHeaderInner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ---------- blog ---------- */

.v4BlogFeatured {
    max-width: var(--v4-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 1.5rem 1.25rem 0;
}

.v4BlogTabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.v4BlogTab {
    color: var(--v4-text-muted);
}

.v4BlogTabActive {
    color: var(--v4-ink);
    font-weight: 700;
}

.v4FeaturedCard {
    display: flex;
    flex-direction: column;
    background: var(--v4-white);
    border-radius: var(--v4-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 8, 45, 0.08);
}

.v4FeaturedImg {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-radius: 0;
}

.v4FeaturedBody {
    padding: 1.25rem;
}

.v4FeaturedBody h2 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0.75rem;
}

.v4FeaturedBody p {
    color: var(--v4-text-muted);
    font-size: 0.9rem;
    margin-top: 0.6rem;
    line-height: 1.6;
}

.v4BlogLatest {
    max-width: var(--v4-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 2.5rem 1.25rem 3rem;
}

.v4BlogLatestHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.v4BlogLatestHead h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

.v4ArticlesCount {
    color: var(--v4-text-muted);
    font-size: 0.85rem;
}

.v4PostGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.v4PostCard {
    display: block;
    color: inherit;
}

.v4PostImg {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-radius: var(--v4-radius);
}

.v4BrandTile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v4-white);
    font-weight: 800;
    font-size: 1.4rem;
}

.v4BrandTile span {
    font-weight: 400;
}

.v4BrandTile .v4Dot {
    color: var(--v4-cyan);
    font-weight: 800;
}

.v4BrandZeds {
    background: var(--v4-brand-zeds);
}

.v4BrandSharoo {
    background: var(--v4-brand-sharoo);
}

.v4BrandSavva {
    background: var(--v4-brand-savva);
}

.v4BrandBookly {
    background: var(--v4-brand-bookly);
}

.v4BrandPd {
    background: var(--v4-brand-pd);
}

.v4PostBody {
    padding-top: 0.9rem;
}

.v4PostBody h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.v4PostBody p {
    color: var(--v4-text-muted);
    font-size: 0.88rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ================= tablet / desktop ================= */

@media (min-width: 768px) {
    .v4PageHeader {
        padding: 8.5rem 3rem 3rem;
    }

    .v4PageHeaderInner h1 {
        font-size: 2.75rem;
    }

    .v4BlogFeatured,
    .v4BlogLatest {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .v4FeaturedCard {
        flex-direction: row;
    }

    .v4FeaturedImg {
        width: 42%;
        aspect-ratio: auto;
    }

    .v4FeaturedBody {
        flex: 1;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .v4FeaturedBody h2 {
        font-size: 1.5rem;
    }

    .v4PostGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .v4PageHeader {
        padding: 9.5rem 5rem 3.5rem;
    }

    .v4BlogFeatured,
    .v4BlogLatest {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}
