:root {
    --blog-navy: #102a43;
    --blog-teal: #00C152;
    --blog-teal-dark: #157b47;
    --blog-cream: #f6fbfa;
    --blog-border: #dfe8ec;
    --blog-muted: #5e7385;
    --blog-shadow: 0 18px 48px rgba(7, 28, 45, .09);
    --blog-radius: 1.2rem;
}

body {
    color: var(--blog-navy);
    background: #fff;
}

.blog-shell {
    min-height: 100vh;
}

.blog-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(16, 42, 67, .08);
}

.blog-brand {
    text-decoration: none;
}

.blog-brand strong,
.blog-brand small {
    display: block;
    line-height: 1;
}

.blog-brand strong {
    color: var(--blog-navy);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.blog-brand small {
    margin-top: .18rem;
    color: var(--blog-teal-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.blog-brand-mark {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: .9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blog-teal), #79e39a);
    box-shadow: 0 12px 26px rgba(0, 193, 82, .28);
    font-size: 1.15rem;
}

.blog-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0d2639, #16354f);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 26, 39, .88), rgba(8, 26, 39, .62)),
        var(--hero-image) center/cover no-repeat;
}

.blog-hero > .container {
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    max-width: 900px;
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 900;
    letter-spacing: -.04em;
}

.blog-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.02rem;
}

.blog-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    text-decoration: none;
}

.blog-breadcrumb:hover {
    color: #fff;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, .86);
    font-size: .8rem;
    font-weight: 650;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.blog-page {
    background: linear-gradient(180deg, var(--blog-cream), #fff 22%);
}

.blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    background: #fff;
    box-shadow: var(--blog-shadow);
    transition: transform .22s ease, box-shadow .22s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

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

.blog-card-body {
    padding: 1.15rem;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    color: var(--blog-muted);
    font-size: .74rem;
    font-weight: 700;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.blog-card h2,
.blog-card h3 {
    margin: .8rem 0 .55rem;
    font-size: 1.16rem;
    font-weight: 850;
    line-height: 1.3;
}

.blog-card h2 a,
.blog-card h3 a {
    color: var(--blog-navy);
    text-decoration: none;
}

.blog-card p {
    color: var(--blog-muted);
    font-size: .9rem;
    line-height: 1.65;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
    color: var(--blog-muted);
    font-size: .77rem;
    font-weight: 700;
}

.blog-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--blog-teal-dark);
    text-decoration: none;
}

.blog-card-footer a:hover {
    color: var(--blog-navy);
}

.blog-content {
    max-width: 850px;
}

.blog-content-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    background: #fff;
    box-shadow: var(--blog-shadow);
}

.blog-content h2 {
    margin-bottom: .75rem;
    color: var(--blog-navy);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 850;
}

.blog-content p {
    margin-bottom: 1rem;
    color: #4c6374;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-sidebar-card {
    padding: 1.2rem;
    border: 1px solid var(--blog-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 28, 45, .07);
}

.blog-sidebar-card h3 {
    margin-bottom: .7rem;
    color: var(--blog-navy);
    font-size: 1.05rem;
    font-weight: 850;
}

.blog-sidebar-card ul {
    margin: 0;
    padding-left: 1rem;
}

.blog-sidebar-card li {
    color: var(--blog-muted);
    margin-bottom: .45rem;
    line-height: 1.5;
}

.blog-cta {
    padding: 1.2rem;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blog-teal-dark), #0f5f3b);
}

.blog-cta h3 {
    margin-bottom: .45rem;
    font-size: 1.05rem;
    font-weight: 850;
}

.blog-cta p {
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    line-height: 1.65;
}

.blog-cta .btn {
    margin-top: .65rem;
}

.blog-footer {
    color: #fff;
    background: #102a43;
}

.blog-footer a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .blog-hero h1 {
        max-width: 100%;
    }

    .blog-content {
        max-width: 100%;
    }
}
