.ppg-blog-hero {
    position: relative;
    display: flex;
    min-height: 340px;
    align-items: center;
    overflow: hidden;
    padding: 70px 0 58px;
    color: #fff;
    background: linear-gradient(115deg, rgba(0, 47, 75, .88), rgba(0, 102, 137, .78)), url('../img/portfolio.webp') center 44% / cover no-repeat;
}

.ppg-blog-hero h1,
.ppg-blog-not-found h1 {
    max-width: 980px;
    margin: 0 auto 14px;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
}

.ppg-blog-hero p:not(.ppg-eyebrow) {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
    overflow-wrap: anywhere;
}

.ppg-eyebrow {
    margin: 0 0 12px;
    color: #9fe3e9;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ppg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
}

.ppg-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.ppg-breadcrumb a:hover { text-decoration: underline; }

.ppg-blog-listing {
    padding: 64px 0 76px;
    background: #f5f9fb;
}

.ppg-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.ppg-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3edf1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(5, 29, 56, .07);
}

.ppg-blog-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.64 / 1;
    background: #eaf4f7;
}

.ppg-blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ppg-blog-card:hover .ppg-blog-card__image img { transform: scale(1.035); }

.ppg-blog-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #006681;
    font-size: 2.2rem;
    font-weight: 800;
}

.ppg-blog-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }

.ppg-blog-card__meta,
.ppg-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #58707d;
    font-size: .86rem;
}
/* Blog pages par dark hero ke upar menu readable rakhein */
body.ppg-blogs-page header .nav-bar > ul > li > a,
body.ppg-blog-page header .nav-bar > ul > li > a,
body.ppg-sitemap-page header .nav-bar > ul > li > a {
    color: #fff !important;
}

body.ppg-blogs-page header .nav-bar > ul > li > a:hover,
body.ppg-blogs-page header .nav-bar > ul > li > a:focus,
body.ppg-blog-page header .nav-bar > ul > li > a:hover,
body.ppg-blog-page header .nav-bar > ul > li > a:focus,
body.ppg-sitemap-page header .nav-bar > ul > li > a:hover,
body.ppg-sitemap-page header .nav-bar > ul > li > a:focus {
    color: #9fe3e9 !important;
}
.ppg-blog-card h2 {
    margin: 12px 0 10px;
    color: #053b55;
    font-size: 1.32rem;
    line-height: 1.35;
}

.ppg-blog-card h2 a { color: inherit; text-decoration: none; }
.ppg-blog-card h2 a:hover { color: #087f95; }
.ppg-blog-card__body > p { margin: 0 0 18px; color: #536873; line-height: 1.65; overflow-wrap: anywhere; }

.ppg-blog-card__link,
.ppg-blog-article__back a {
    align-self: flex-start;
    margin-top: auto;
    color: #006681;
    font-weight: 700;
    text-decoration: none;
}

.ppg-blog-card__link:hover,
.ppg-blog-article__back a:hover { color: #0797a7; }

.ppg-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 42px; }
.ppg-pagination a { min-width: 42px; padding: 10px 13px; border: 1px solid #d5e4e9; border-radius: 7px; color: #06445c; text-align: center; text-decoration: none; }
.ppg-pagination a[aria-current="page"] { border-color: #006681; background: #006681; color: #fff; }

.ppg-empty-state,
.ppg-blog-not-found { padding: 80px 0; text-align: center; }
.ppg-empty-state h2 { color: #053b55; }
.ppg-empty-state p,
.ppg-blog-not-found p { color: #58707d; }
.ppg-button { display: inline-block; margin-top: 14px; padding: 12px 22px; border-radius: 24px; background: #006681; color: #fff; text-decoration: none; }
.ppg-button:hover { background: #087f95; color: #fff; }

.ppg-blog-hero--detail { min-height: 310px; }
.ppg-blog-hero--detail h1 { max-width: 1000px; font-size: clamp(2rem, 4.5vw, 3.35rem); }
.ppg-blog-article-wrap { padding: 60px 20px 80px; background: #f5f9fb; }
.ppg-blog-article { max-width: 900px; margin: 0 auto; padding: clamp(22px, 5vw, 52px); border: 1px solid #e3edf1; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(5, 29, 56, .06); }
.ppg-blog-article__meta { margin-bottom: 24px; }
.ppg-blog-article__featured { margin: 0 0 32px; }
.ppg-blog-article__featured img { display: block; width: 100%; max-height: 560px; border-radius: 10px; object-fit: cover; }
.ppg-blog-article__content { color: #273f4b; font-size: 1.06rem; line-height: 1.82; overflow-wrap: anywhere; }
.ppg-blog-article__content h2,
.ppg-blog-article__content h3,
.ppg-blog-article__content h4 { margin: 1.7em 0 .6em; color: #053b55; line-height: 1.3; }
.ppg-blog-article__content p,
.ppg-blog-article__content ul,
.ppg-blog-article__content ol,
.ppg-blog-article__content blockquote { margin: 0 0 1.2em; }
.ppg-blog-article__content img { max-width: 100%; height: auto; }
.ppg-blog-article__content a { color: #006681; text-decoration: underline; }
.ppg-blog-article__content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.ppg-blog-article__content th,
.ppg-blog-article__content td { padding: 9px 12px; border: 1px solid #d5e4e9; }
.ppg-blog-article__content blockquote { padding: 12px 20px; border-left: 4px solid #43afba; background: #f3fafb; }
.ppg-blog-article__back { margin-top: 38px; padding-top: 22px; border-top: 1px solid #e3edf1; }

.ppg-sitemap-hero { min-height: 330px; }
.ppg-sitemap-section { padding: 50px 0 80px; background: #f3f7f9; }
.ppg-sitemap-intro { max-width: 760px; margin: 0 auto 30px; color: #536873; text-align: center; }
.ppg-sitemap-group { height: 100%; padding: 24px; border: 1px solid #e2ebef; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(5, 29, 56, .045); }
.ppg-sitemap-group h2 { display: inline-block; margin: 0 0 18px; padding: 10px 16px; border-radius: 6px; background: #006681; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .045em; }
.ppg-sitemap-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; margin: 0; padding: 0; list-style: none; }
.ppg-sitemap-links li { min-width: 0; }
.ppg-sitemap-links a { display: inline-flex; align-items: flex-start; gap: 9px; color: #344b57; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.ppg-sitemap-links a::before { content: '✓'; flex: 0 0 auto; color: #07899b; font-weight: 800; }
.ppg-sitemap-links a:hover { color: #006681; text-decoration: underline; }

@media (max-width: 991.98px) {
    .ppg-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .ppg-blog-hero { min-height: 300px; padding: 56px 0 46px; }
    .ppg-blog-listing { padding: 42px 0 54px; }
    .ppg-blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .ppg-blog-card__body { padding: 20px; }
    .ppg-blog-article-wrap { padding: 34px 12px 50px; }
    .ppg-sitemap-group { padding: 20px 17px; }
    .ppg-sitemap-links { grid-template-columns: 1fr; }
}
