.hft-blog-page {
    background: #f5faf8;
    color: #12312f;
    font-family: 'Readex Pro', 'Sora', sans-serif;
}

.hft-blog-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 58px;
    background:
        linear-gradient(135deg, rgba(11, 65, 61, 0.95), rgba(22, 105, 97, 0.92)),
        url('/assets/hft/courses/public-health-and-program-management.jpg') center/cover;
}

.hft-blog-hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.hft-blog-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.hft-blog-hero-copy {
    color: #fff;
}

.hft-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #e7fffb;
    font-size: 13px;
    font-weight: 900;
}

.hft-blog-hero h1 {
    max-width: 740px;
    margin: 18px 0 14px;
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
}

.hft-blog-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
}

.hft-blog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 650px;
    margin-top: 28px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
}

.hft-blog-search input {
    min-height: 48px;
    border: 0;
    border-radius: 6px;
    padding: 0 14px;
    background: #fff;
    color: #12312f;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.hft-blog-search button,
.hft-blog-empty a,
.hft-blog-card-footer a,
.hft-blog-feature a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: #b9d96f;
    color: #12312f;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.hft-blog-search button {
    padding: 0 22px;
}

.hft-blog-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hft-blog-stats span {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.hft-blog-feature {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(4, 32, 29, 0.25);
}

.hft-blog-feature > span {
    display: inline-flex;
    margin: 18px 18px 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: #eaf5f2;
    color: #135d58;
    font-size: 12px;
    font-weight: 900;
}

.hft-blog-feature img {
    width: calc(100% - 36px);
    height: 205px;
    margin: 14px 18px 0;
    border-radius: 8px;
    object-fit: cover;
}

.hft-blog-feature div {
    padding: 18px;
}

.hft-blog-feature small,
.hft-blog-card-meta,
.hft-popular-post small {
    color: #6a7d79;
    font-size: 12px;
    font-weight: 800;
}

.hft-blog-feature h2 {
    margin: 8px 0;
    color: #12312f;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.45;
}

.hft-blog-feature p {
    color: #5a6c69;
    font-size: 14px;
    line-height: 1.8;
}

.hft-blog-feature a {
    margin-top: 8px;
    padding: 0 16px;
}

.hft-blog-body {
    padding: 34px 0 70px;
}

.hft-blog-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.hft-blog-filterbar a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #d8e7e4;
    border-radius: 8px;
    background: #fff;
    color: #31504c;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.hft-blog-filterbar a.is-active,
.hft-blog-filterbar a:hover {
    border-color: #135d58;
    background: #135d58;
    color: #fff;
}

.hft-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.hft-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hft-blog-card,
.hft-blog-side-card,
.hft-blog-empty {
    border: 1px solid #dce9e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(14, 58, 54, 0.08);
}

.hft-blog-card {
    overflow: hidden;
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hft-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 93, 88, 0.28);
    box-shadow: 0 22px 54px rgba(14, 58, 54, 0.13);
}

.hft-blog-card-image {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
}

.hft-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.hft-blog-card:hover .hft-blog-card-image img {
    transform: scale(1.04);
}

.hft-blog-card-image span {
    position: absolute;
    inset-inline-start: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #135d58;
    font-size: 12px;
    font-weight: 900;
}

.hft-blog-card-body {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    padding: 18px;
}

.hft-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.hft-blog-card-title {
    color: #12312f;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.55;
    text-decoration: none;
}

.hft-blog-card-title:hover {
    color: #135d58;
}

.hft-blog-card-body p {
    margin: 10px 0 18px;
    color: #5a6c69;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.85;
}

.hft-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.hft-blog-card-footer span {
    min-width: 0;
    color: #6a7d79;
    font-size: 12px;
    font-weight: 900;
}

.hft-blog-card-footer a {
    min-height: 38px;
    padding: 0 13px;
    background: #135d58;
    color: #fff;
    font-size: 12px;
}

.hft-blog-card-footer a:hover {
    background: #0f4f4a;
    color: #fff;
}

.hft-blog-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.hft-blog-side-card {
    padding: 18px;
}

.hft-blog-side-card h3 {
    margin: 0 0 14px;
    color: #12312f;
    font-size: 18px;
    font-weight: 900;
}

.hft-popular-list {
    display: grid;
    gap: 14px;
}

.hft-popular-post {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.hft-popular-post img {
    width: 76px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
}

.hft-popular-post strong {
    display: block;
    color: #12312f;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.55;
}

.hft-popular-post:hover strong {
    color: #135d58;
}

.hft-blog-side-card.is-muted {
    background: #eef7f4;
}

.hft-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hft-topic-list span {
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    color: #31504c;
    font-size: 12px;
    font-weight: 900;
}

.hft-blog-empty {
    padding: 34px;
    text-align: center;
}

.hft-blog-empty strong {
    display: block;
    color: #12312f;
    font-size: 22px;
    font-weight: 900;
}

.hft-blog-empty p {
    margin: 10px 0 18px;
    color: #5a6c69;
}

.hft-blog-empty a {
    padding: 0 18px;
}

.hft-blog-pagination {
    margin-top: 26px;
}

@media (max-width: 991px) {
    .hft-blog-hero-grid,
    .hft-blog-layout {
        grid-template-columns: 1fr;
    }

    .hft-blog-side {
        position: static;
    }
}

@media (max-width: 767px) {
    .hft-blog-hero {
        padding: 48px 0 38px;
    }

    .hft-blog-hero h1 {
        font-size: 30px;
    }

    .hft-blog-search,
    .hft-blog-grid {
        grid-template-columns: 1fr;
    }

    .hft-blog-search button {
        min-height: 46px;
        width: 100%;
    }

    .hft-blog-card-image {
        height: 190px;
    }
}

.hft-blog-show-page {
    min-height: 100vh;
}

.hft-article-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 54px;
    background:
        linear-gradient(90deg, rgba(5, 37, 34, 0.95) 0%, rgba(10, 66, 61, 0.9) 48%, rgba(245, 250, 248, 0.92) 48%, rgba(245, 250, 248, 0.96) 100%),
        url('/assets/hft/courses/public-health-and-program-management.jpg') center/cover;
}

.hft-article-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 34px;
    align-items: center;
}

.hft-article-hero-copy {
    position: relative;
    max-width: 860px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(4, 32, 29, 0.42);
    backdrop-filter: blur(6px);
    color: #fff;
    box-shadow: 0 22px 60px rgba(4, 32, 29, 0.2);
}

.hft-article-hero-copy .hft-blog-eyebrow {
    color: #e7fffb;
    text-decoration: none;
}

.hft-article-hero h1 {
    max-width: 820px;
    margin: 18px 0 14px;
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hft-article-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.hft-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
}

.hft-article-meta span,
.hft-article-share {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.hft-article-meta a,
.hft-article-meta strong {
    color: #fff;
    font-weight: 900;
    text-decoration: underline;
}

.hft-article-share {
    gap: 8px;
    border: 0;
    background: #b9d96f;
    color: #12312f;
    font-family: inherit;
    cursor: pointer;
}

.hft-article-hero-media {
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(4, 32, 29, 0.2);
}

.hft-article-hero-media img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.hft-article-body {
    padding: 38px 0 76px;
}

.hft-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.hft-article-content {
    overflow: hidden;
    border: 1px solid #dce9e6;
    border-radius: 8px;
    background: #fff;
    padding: 34px;
    box-shadow: 0 16px 44px rgba(14, 58, 54, 0.08);
}

.hft-article-content > :first-child {
    margin-top: 0;
}

.hft-article-content h1,
.hft-article-content h2,
.hft-article-content h3,
.hft-article-content h4 {
    margin: 28px 0 12px;
    color: #12312f;
    font-weight: 900;
    line-height: 1.45;
}

.hft-article-content h2 {
    font-size: 24px;
}

.hft-article-content h3 {
    font-size: 20px;
}

.hft-article-content p,
.hft-article-content li {
    color: #3c5450;
    font-size: 16px;
    font-weight: 500;
    line-height: 2.05;
}

.hft-article-content p {
    margin: 0 0 18px;
}

.hft-article-content ul,
.hft-article-content ol {
    margin: 18px 0;
    padding-inline-start: 24px;
}

.hft-article-content img,
.hft-article-content video,
.hft-article-content iframe {
    max-width: 100%;
    border-radius: 8px;
}

.hft-article-content blockquote {
    margin: 24px 0;
    border-inline-start: 4px solid #b9d96f;
    border-radius: 8px;
    background: #eef7f4;
    padding: 18px;
    color: #12312f;
    font-weight: 800;
}

.hft-article-side {
    top: 92px;
}

.hft-author-card {
    display: grid;
    gap: 14px;
    text-align: center;
}

.hft-author-card img {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #eaf5f2;
}

.hft-author-card span {
    color: #6a7d79;
    font-size: 12px;
    font-weight: 900;
}

.hft-author-card h3 {
    margin: 4px 0;
    color: #12312f;
    font-size: 18px;
}

.hft-author-card p {
    margin: 0;
    color: #5a6c69;
    font-size: 13px;
    font-weight: 700;
}

.hft-author-card a,
.hft-article-all-posts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    background: #135d58;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.hft-author-card a:hover,
.hft-article-all-posts:hover {
    background: #0f4f4a;
    color: #fff;
}

.hft-article-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hft-article-category-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #eef7f4;
    color: #31504c;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.hft-article-category-list a:hover {
    background: #135d58;
    color: #fff;
}

.hft-article-all-posts {
    width: 100%;
    margin-top: 18px;
}

.hft-article-comments {
    max-width: calc(100% - 354px);
    margin-top: 24px;
}

.hft-article-comments > * {
    border-radius: 8px;
}

@media (max-width: 991px) {
    .hft-article-hero {
        background:
            linear-gradient(135deg, rgba(5, 37, 34, 0.94), rgba(22, 105, 97, 0.92)),
            url('/assets/hft/courses/public-health-and-program-management.jpg') center/cover;
    }

    .hft-article-hero-grid,
    .hft-article-layout {
        grid-template-columns: 1fr;
    }

    .hft-article-side {
        position: static;
    }

    .hft-article-comments {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hft-article-hero {
        padding: 44px 0 36px;
    }

    .hft-article-hero h1 {
        font-size: 28px;
    }

    .hft-article-hero-media img {
        height: 230px;
    }

    .hft-article-content {
        padding: 22px;
    }

    .hft-article-content p,
    .hft-article-content li {
        font-size: 15px;
    }
}
