:root {
    --content-green: #57b928;
    --content-green-dark: #2f8f1f;
    --content-ink: #181a1b;
    --content-muted: #667085;
    --content-line: #e4e7ec;
    --content-surface: #f7f9f6;
}

.content-hero {
    background: #171917;
    color: #fff;
    padding: 72px 0 64px;
}

.content-hero .eyebrow {
    color: #9de277;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.content-hero h1 {
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 920px;
    overflow-wrap: break-word;
}

.content-hero p {
    color: #d0d5dd;
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 0;
    max-width: 820px;
}

.content-hero .hero-visual {
    align-items: center;
    background: #f3faef;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: 260px;
    padding: 32px;
}

.content-hero .hero-visual img {
    height: auto;
    max-height: 220px;
    max-width: 100%;
    width: 320px;
}

.content-shell {
    padding: 64px 0 80px;
}

.content-lead {
    color: #344054;
    font-size: 1.14rem;
    line-height: 1.85;
}

.content-section {
    border-bottom: 1px solid var(--content-line);
    padding: 34px 0;
    scroll-margin-top: 105px;
}

.content-section:last-child {
    border-bottom: 0;
}

.content-section h2 {
    color: var(--content-ink);
    font-size: 1.75rem;
    margin-bottom: 14px;
}

.content-section h3 {
    color: var(--content-ink);
    font-size: 1.15rem;
    margin: 24px 0 10px;
}

.content-section p,
.content-section li {
    color: #475467;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.check-list li {
    padding: 7px 0 7px 30px;
    position: relative;
}

.check-list li::before {
    color: var(--content-green);
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 8px;
}

.article-meta {
    align-items: center;
    color: #98a2b3;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.92rem;
    gap: 18px;
    margin-top: 24px;
}

.article-meta span {
    align-items: center;
    display: inline-flex;
    gap: 7px;
}

.topic-nav {
    border: 1px solid var(--content-line);
    border-radius: 8px;
    margin-bottom: 32px;
    padding: 22px;
}

.topic-nav strong {
    color: var(--content-ink);
    display: block;
    margin-bottom: 12px;
}

.topic-nav a,
.topic-tag {
    background: #eff8eb;
    border: 1px solid #cde9bf;
    border-radius: 6px;
    color: var(--content-green-dark);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 4px 5px 4px 0;
    padding: 7px 11px;
}

.topic-nav a:hover,
.topic-tag:hover {
    background: var(--content-green);
    border-color: var(--content-green);
    color: #fff;
}

.content-aside {
    position: sticky;
    top: 105px;
}

.aside-panel {
    background: var(--content-surface);
    border-left: 4px solid var(--content-green);
    margin-bottom: 22px;
    padding: 22px;
}

.aside-panel h2,
.aside-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.aside-panel p,
.aside-panel a {
    font-size: 0.94rem;
    line-height: 1.65;
}

.blog-toolbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.blog-search {
    max-width: 520px;
    position: relative;
    width: 100%;
}

.blog-search i {
    color: #98a2b3;
    left: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.blog-search input {
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    min-height: 48px;
    padding: 10px 16px 10px 44px;
    width: 100%;
}

.blog-search input:focus {
    border-color: var(--content-green);
    box-shadow: 0 0 0 3px rgba(87, 185, 40, 0.15);
    outline: 0;
}

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

.blog-card {
    background: #fff;
    border: 1px solid var(--content-line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
    transform: translateY(-3px);
}

.blog-card-media {
    align-items: center;
    background: #f1f6ef;
    display: flex;
    height: 190px;
    justify-content: center;
    overflow: hidden;
    padding: 22px;
}

.blog-card-media img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.blog-card-media.photo {
    padding: 0;
}

.blog-card-media.photo img {
    object-fit: cover;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.blog-card h2 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 10px 0;
}

.blog-card p {
    color: var(--content-muted);
    line-height: 1.7;
}

.blog-card .read-link {
    color: var(--content-green-dark);
    font-weight: 700;
    margin-top: auto;
    padding-top: 12px;
}

.blog-empty {
    background: var(--content-surface);
    border: 1px solid var(--content-line);
    display: none;
    padding: 24px;
    text-align: center;
}

.content-cta {
    background: #edf7e8;
    border-left: 5px solid var(--content-green);
    margin-top: 36px;
    padding: 28px;
}

.content-cta h2 {
    font-size: 1.5rem;
}

.compact-whatsapp {
    align-items: center;
    background: #25d366;
    bottom: 24px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    gap: 9px;
    padding: 12px 16px;
    position: fixed;
    right: 24px;
    z-index: 1040;
}

.compact-whatsapp:hover {
    color: #fff;
}

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

    .content-aside {
        position: static;
    }
}

@media (max-width: 767.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-brand {
        margin-right: 8px;
        max-width: calc(100% - 58px);
        min-width: 0;
    }

    .navbar-brand h2 {
        font-size: 1.35rem;
        line-height: 1.2;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .navbar-toggler {
        flex: 0 0 auto;
    }

    .content-hero {
        padding: 48px 0;
    }

    .content-hero h1 {
        font-size: 2rem;
    }

    .content-hero p {
        font-size: 1rem;
    }

    .content-hero .hero-visual {
        margin-top: 28px;
        min-height: 200px;
    }

    .content-shell {
        padding: 44px 0 64px;
    }

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

    .blog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .compact-whatsapp {
        border-radius: 50%;
        bottom: 18px;
        height: 52px;
        justify-content: center;
        padding: 0;
        right: 18px;
        width: 52px;
    }

    .compact-whatsapp span {
        display: none;
    }
}
