.hbl-blog-page {
    --hbl-blog-primary: #008d83;
    --hbl-blog-primary-dark: #006f68;
    --hbl-blog-ink: #132f35;
    --hbl-blog-muted: #63767a;
    --hbl-blog-line: #e3ecea;
    padding: 40px 0 58px;
}

.hbl-blog-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    overflow: hidden;
    min-height: 220px;
    padding: 38px 44px;
    border: 1px solid var(--hbl-blog-line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 10%, rgba(223, 234, 0, .2), transparent 31%),
        linear-gradient(135deg, #f5fffc 0%, #e9f7f4 54%, #fbfcf5 100%);
    box-shadow: 0 18px 45px rgba(19, 47, 53, .08);
}

.hbl-blog-hero::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #008d83 0%, #00a88f 58%, #dfea00 100%);
    content: "";
}

.hbl-blog-hero__copy,
.hbl-blog-hero__breadcrumb { position: relative; z-index: 1; }

.hbl-blog-hero__pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border: 1px solid rgba(0, 141, 131, .16);
    border-radius: 999px;
    background: rgba(0, 141, 131, .08);
    color: var(--hbl-blog-primary);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hbl-blog-hero h1 {
    margin: 14px 0 8px;
    color: var(--hbl-blog-ink);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.12;
}

.hbl-blog-hero__copy > p { margin: 0; color: var(--hbl-blog-muted); font-size: 15px; }
.hbl-blog-hero__breadcrumb .breadcrumb { justify-content: flex-end; margin: 0; padding: 0; background: transparent; }
.hbl-blog-hero__breadcrumb .breadcrumb li,
.hbl-blog-hero__breadcrumb .breadcrumb a { color: var(--hbl-blog-muted); font-size: 13px; }
.hbl-blog-hero__breadcrumb .breadcrumb li:last-child span { color: var(--hbl-blog-primary-dark); }

.hbl-blog-layout {
    align-items: flex-start;
    gap: 32px;
    padding: 34px 0 0;
}
.hbl-blog-layout .ps-blog__left { min-width: 0; padding-right: 0; }
.hbl-blog-layout .ps-blog__right { width: 300px; min-width: 300px; max-width: 300px; padding-left: 0; }

.hbl-blog-grid > [class*="col-"] { display: flex; margin-bottom: 28px; }
.hbl-blog-card {
    display: flex;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    border: 1px solid var(--hbl-blog-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(19, 47, 53, .065);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hbl-blog-card:hover {
    border-color: rgba(0, 141, 131, .24);
    box-shadow: 0 20px 42px rgba(19, 47, 53, .11);
    transform: translateY(-3px);
}

.hbl-blog-card .hbl-blog-card__media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 5%, rgba(223, 234, 0, .22), transparent 35%),
        linear-gradient(135deg, #eaf7f4, #f8fbef);
}
.hbl-blog-card .hbl-blog-card__media::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 4px;
    background: linear-gradient(90deg, #008d83, #00a88f 65%, #dfea00);
    content: "";
}
.hbl-blog-card .hbl-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hbl-blog-card:hover .hbl-blog-card__media img { transform: scale(1.035); }
.hbl-blog-card .ps-post__overlay { z-index: 3; background: transparent; opacity: 1; }

.hbl-blog-card__categories {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.hbl-blog-card__categories a {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--hbl-blog-primary-dark);
    font-size: 11px;
    font-weight: 400;
    box-shadow: 0 5px 14px rgba(19, 47, 53, .08);
}

.hbl-blog-card .hbl-blog-card__content { display: flex; flex: 1 1 auto; flex-direction: column; padding: 24px; }
.hbl-blog-card__date { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; color: var(--hbl-blog-muted); font-size: 12px; }
.hbl-blog-card__date i { color: var(--hbl-blog-primary); font-size: 14px; }
.hbl-blog-card__separator { width: 3px; height: 3px; border-radius: 50%; background: #9aabaa; }
.hbl-blog-card .ps-post__title { margin: 0 0 11px; color: var(--hbl-blog-ink); font-size: 22px; font-weight: 700; line-height: 1.35; }
.hbl-blog-card .ps-post__title:hover { color: var(--hbl-blog-primary); }
.hbl-blog-card__excerpt { margin: 0 0 20px; color: var(--hbl-blog-muted); font-size: 14px; line-height: 1.65; }
.hbl-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--hbl-blog-primary-dark);
    font-size: 14px;
    font-weight: 400;
}
.hbl-blog-card__link:hover { color: var(--hbl-blog-primary); }
.hbl-blog-card__link i { font-size: 11px; transition: transform .2s ease; }
.hbl-blog-card__link:hover i { transform: translateX(3px); }

.hbl-blog-layout .widget--blog {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid var(--hbl-blog-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(19, 47, 53, .055);
}
.hbl-blog-layout .widget--blog.widget--search { padding: 0; border: 0; box-shadow: none; }
.hbl-blog-layout .widget--blog .widget__title {
    position: relative;
    margin: 0 0 17px;
    padding-bottom: 12px;
    color: var(--hbl-blog-ink);
    font-size: 17px;
    font-weight: 600;
}
.hbl-blog-layout .widget--blog .widget__title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #008d83, #dfea00);
    content: "";
}

.hbl-blog-layout .ps-form--widget-search { position: relative; }
.hbl-blog-layout .ps-form--widget-search .form-control {
    height: 50px;
    padding: 0 48px 0 16px;
    border: 1px solid var(--hbl-blog-line);
    border-radius: 13px;
    background: #fff;
    font-size: 13px;
    box-shadow: 0 9px 24px rgba(19, 47, 53, .05);
}
.hbl-blog-layout .ps-form--widget-search button { right: 15px; color: var(--hbl-blog-primary); }
.hbl-blog-layout .widget--categories ul { margin: 0; }
.hbl-blog-layout .widget--categories ul li { border-bottom: 1px solid #edf2f1; }
.hbl-blog-layout .widget--categories ul li:last-child { border-bottom: 0; }
.hbl-blog-layout .widget--categories ul li a { padding: 9px 0; color: var(--hbl-blog-muted); font-size: 13px; }
.hbl-blog-layout .widget--categories ul li a:hover { color: var(--hbl-blog-primary); }
.hbl-blog-layout .widget--recent-post .widget__content a { margin-bottom: 0; color: var(--hbl-blog-ink); font-size: 14px; font-weight: 500; line-height: 1.5; }
.hbl-blog-layout .widget--recent-post .widget__content a:hover { color: var(--hbl-blog-primary); }
.hbl-blog-layout .widget--tags .widget__content:empty { display: none; }

.hbl-blog-empty {
    padding: 70px 24px;
    border: 1px dashed #cddedb;
    border-radius: 18px;
    background: #fbfdfd;
    text-align: center;
}
.hbl-blog-empty > span { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #eaf7f4; color: var(--hbl-blog-primary); font-size: 26px; }
.hbl-blog-empty h2 { margin-bottom: 8px; color: var(--hbl-blog-ink); }
.hbl-blog-empty p { margin-bottom: 22px; color: var(--hbl-blog-muted); }
.hbl-blog-empty .ps-btn { padding: 11px 24px; border-radius: 11px; font-size: 14px; font-weight: 400; }
.hbl-blog-pagination { margin-top: 8px; }

@media (min-width: 992px) {
    .hbl-blog-layout .ps-blog__right { position: sticky; top: 95px; }
}

@media (max-width: 991px) {
    .hbl-blog-layout { flex-direction: column; }
    .hbl-blog-layout .ps-blog__right { width: 100%; min-width: 0; max-width: none; }
}

@media (max-width: 767px) {
    .hbl-blog-page { padding: 28px 0 36px; }
    .hbl-blog-hero { align-items: flex-start; flex-direction: column; gap: 18px; min-height: 0; padding: 30px 24px; border-radius: 17px; }
    .hbl-blog-hero__breadcrumb .breadcrumb { justify-content: flex-start; }
    .hbl-blog-layout { gap: 20px; padding-top: 28px; }
    .hbl-blog-card .hbl-blog-card__media { height: 220px; }
}

@media (max-width: 575px) {
    .hbl-blog-hero { padding: 26px 20px; }
    .hbl-blog-hero h1 { font-size: 30px; }
    .hbl-blog-grid > [class*="col-"] { margin-bottom: 20px; }
    .hbl-blog-card .hbl-blog-card__content { padding: 21px 19px; }
    .hbl-blog-card .ps-post__title { font-size: 20px; }
}
