.wsbp-blog-hero {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    overflow: hidden;
    padding: 145px 0 58px;
    color: #fff;
    background: linear-gradient(115deg, rgba(0, 39, 71, .9), rgba(2, 140, 159, .78)), url('../images/banner.webp') center 44% / cover no-repeat;
}

.wsbp-blog-hero h1,
.wsbp-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;
}

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

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

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

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

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

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

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

.wsbp-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);
}

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

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

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

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

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

.wsbp-blog-card__meta,
.wsbp-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #58707d;
    font-size: .86rem;
}

.wsbp-blog-card h2 {
    margin: 12px 0 10px;
    color: #002747;
    font-size: 1.32rem;
    line-height: 1.35;
}

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

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

.wsbp-blog-card__link:hover,
.wsbp-blog-article__back a:hover { color: #006d7e; }

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

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

.wsbp-blog-hero--detail { min-height: 310px; }
.wsbp-blog-hero--detail h1 { max-width: 1000px; font-size: clamp(2rem, 4.5vw, 3.35rem); }
.wsbp-blog-article-wrap { padding: 60px 20px 80px; background: #f5f9fb; }
.wsbp-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); }
.wsbp-blog-article__meta { margin-bottom: 24px; }
.wsbp-blog-article__featured { margin: 0 0 32px; }
.wsbp-blog-article__featured img { display: block; width: 100%; max-height: 560px; border-radius: 10px; object-fit: cover; }
.wsbp-blog-article__content { color: #273f4b; font-size: 1.06rem; line-height: 1.82; overflow-wrap: anywhere; }
.wsbp-blog-article__content h2,
.wsbp-blog-article__content h3,
.wsbp-blog-article__content h4 { margin: 1.7em 0 .6em; color: #002747; line-height: 1.3; }
.wsbp-blog-article__content p,
.wsbp-blog-article__content ul,
.wsbp-blog-article__content ol,
.wsbp-blog-article__content blockquote { margin: 0 0 1.2em; }
.wsbp-blog-article__content img { max-width: 100%; height: auto; }
.wsbp-blog-article__content a { color: #028c9f; text-decoration: underline; }
.wsbp-blog-article__content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.wsbp-blog-article__content th,
.wsbp-blog-article__content td { padding: 9px 12px; border: 1px solid #d5e4e9; }
.wsbp-blog-article__content blockquote { padding: 12px 20px; border-left: 4px solid #43afba; background: #f3fafb; }
.wsbp-blog-article__back { margin-top: 38px; padding-top: 22px; border-top: 1px solid #e3edf1; }

.wsbp-sitemap-hero { min-height: 330px; }
.wsbp-sitemap-section { padding: 50px 0 80px; background: #f3f7f9; }
.wsbp-sitemap-intro { max-width: 760px; margin: 0 auto 30px; color: #536873; text-align: center; }
.wsbp-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); }
.wsbp-sitemap-group h2 { display: inline-block; margin: 0 0 18px; padding: 10px 16px; border-radius: 6px; background: #002747; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .045em; }
.wsbp-sitemap-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; margin: 0; padding: 0; list-style: none; }
.wsbp-sitemap-links li { min-width: 0; }
.wsbp-sitemap-links a { display: inline-flex; align-items: flex-start; gap: 9px; color: #344b57; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.wsbp-sitemap-links a::before { content: '›'; flex: 0 0 auto; color: #028c9f; font-weight: 800; }
.wsbp-sitemap-links a:hover { color: #028c9f; text-decoration: underline; }

/* Keep the existing light logo and navigation legible above the blog hero. */
body.wsbp-blogs-page header .navbar,
body.wsbp-blog-page header .navbar,
body.wsbp-sitemap-page header .navbar {
    z-index: 1030;
    background: rgba(0, 39, 71, .97) !important;
}

body.wsbp-blogs-page header .navbar-nav .nav-link,
body.wsbp-blog-page header .navbar-nav .nav-link,
body.wsbp-sitemap-page header .navbar-nav .nav-link,
body.wsbp-blogs-page header .buttonshead a,
body.wsbp-blog-page header .buttonshead a,
body.wsbp-sitemap-page header .buttonshead a {
    color: #fff !important;
}

body.wsbp-blogs-page header .navbar-nav .nav-link:hover,
body.wsbp-blog-page header .navbar-nav .nav-link:hover,
body.wsbp-sitemap-page header .navbar-nav .nav-link:hover {
    color: #a8eef0 !important;
}

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

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