:root {
    --blog-teal: #0d9488;
    --blog-teal-dark: #0f766e;
    --blog-teal-soft: #ccfbf1;
    --blog-text: #1f2937;
    --blog-muted: #6b7280;
    --blog-border: #e5e7eb;
    --blog-bg: #f8fafc;
    --blog-menu-bg: #ffffff;
    --blog-card-bg: #ffffff;
}

body.blog-body {
    background: var(--blog-bg);
    color: var(--blog-text);
    overflow-x: hidden;
}

.blog-navbar {
    background: var(--blog-menu-bg);
    border-bottom: 1px solid var(--blog-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.blog-navbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.blog-logo {
    width: 56px;
    height: auto;
    flex-shrink: 0;
}

.blog-navbar .blog-brand {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--blog-text);
    text-decoration: none;
    min-width: 0;
    flex: 1 1 auto;
}

.blog-brand-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}

.blog-navbar .blog-brand:hover {
    color: var(--blog-teal);
}

.blog-navbar-cta {
    flex-shrink: 0;
}

.blog-main {
    padding-bottom: 5rem;
}

.blog-cta-primary {
    background: var(--blog-teal);
    border-color: var(--blog-teal);
    color: #fff;
    white-space: nowrap;
}

.blog-cta-primary:hover,
.blog-cta-primary:focus {
    background: var(--blog-teal-dark);
    border-color: var(--blog-teal-dark);
    color: #fff;
}

.blog-cta-primary.disabled,
.blog-cta-primary:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.blog-cta-secondary {
    background: #fff;
    border: 1px solid var(--blog-teal);
    color: var(--blog-teal);
}

.blog-cta-secondary:hover {
    background: var(--blog-teal-soft);
    color: var(--blog-teal-dark);
}

.blog-tag {
    display: inline-block;
    background: var(--blog-teal);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
}

.blog-tag:hover {
    background: var(--blog-teal-dark);
    color: #fff;
}

.blog-hero {
    background: var(--blog-card-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.blog-hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.blog-hero-body {
    padding: 1.5rem;
}

.blog-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem;
    word-break: break-word;
}

.blog-meta {
    color: var(--blog-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: var(--blog-muted);
    margin-bottom: 1rem;
}

.blog-card {
    background: var(--blog-card-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.6rem 0 0.4rem;
    word-break: break-word;
}

.blog-card-excerpt {
    color: var(--blog-muted);
    font-size: 0.9rem;
    flex: 1;
}

.blog-btn {
    background: var(--blog-teal);
    border-color: var(--blog-teal);
    color: #fff;
}

.blog-btn:hover {
    background: var(--blog-teal-dark);
    border-color: var(--blog-teal-dark);
    color: #fff;
}

.blog-sidebar-card {
    background: var(--blog-card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.blog-sidebar-card h5 {
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-cat-list li {
    margin-bottom: 0.45rem;
}

.blog-cat-list a {
    color: var(--blog-text);
    text-decoration: none;
}

.blog-cat-list a:hover {
    color: var(--blog-teal);
}

.blog-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #fff;
    text-decoration: none;
}

.blog-social .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.blog-social .wa { background: #25d366; }
.blog-social .fb { background: #1877f2; }

.blog-post-content {
    background: var(--blog-card-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow-wrap: anywhere;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
}

.blog-post-content iframe,
.blog-post-content video,
.blog-post-content table {
    max-width: 100%;
}

.blog-post-content table {
    display: block;
    overflow-x: auto;
}

.blog-post-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.blog-whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 1040;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-whatsapp-float:hover {
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.blog-whatsapp-float--disabled {
    opacity: 0.55;
    cursor: default;
}

@media (max-width: 991.98px) {
    .blog-sidebar-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .blog-logo {
        width: 48px;
    }

    .blog-navbar .blog-brand {
        font-size: 0.95rem;
    }

    .blog-hero-img {
        height: 200px;
    }

    .blog-hero-body {
        padding: 1rem;
    }

    .blog-hero-title {
        font-size: 1.25rem;
    }

    .blog-post-content {
        padding: 1rem;
    }

    .blog-post-cover {
        max-height: 240px;
        border-radius: 0.5rem;
    }

    .blog-whatsapp-float {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
    }
}

@media (max-width: 575.98px) {
    .blog-hero .text-end {
        text-align: left !important;
    }

    .blog-hero .blog-btn,
    .blog-card .blog-btn {
        width: 100%;
    }
}
