/* ============================================
   MARKETEK BLOG STYLES
   Blog-specific components and layouts
   ============================================ */

/* === BLOG HERO (archive page) === */
.mk-blog-hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.mk-blog-hero h1 {
    margin-bottom: var(--space-sm);
}

.mk-blog-hero__subtitle {
    font-size: 1.125rem;
    color: var(--mk-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.mk-blog-hero__search {
    max-width: 500px;
    margin: 0 auto;
}

/* === CATEGORY FILTERS (pills) === */
.mk-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.mk-category-filters::-webkit-scrollbar {
    display: none;
}

.mk-category-pill {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: var(--mk-bg-white);
    color: var(--mk-text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mk-category-pill:hover {
    color: var(--mk-green-deep);
    border-color: var(--mk-green-deep);
    background: var(--mk-green-glow);
}

.mk-category-pill.active {
    background: var(--mk-green);
    color: var(--mk-midnight);
    border-color: var(--mk-green);
    font-weight: 600;
}

/* === FEATURED POST (full-width card) === */
.mk-featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    background: var(--mk-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.mk-featured-post:hover {
    box-shadow: var(--shadow-lg);
}

.mk-featured-post__thumb {
    overflow: hidden;
}

.mk-featured-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.mk-featured-post:hover .mk-featured-post__thumb img {
    transform: scale(1.03);
}

.mk-featured-post__body {
    padding: var(--space-xl) var(--space-xl) var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mk-featured-post__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.3;
    margin: var(--space-sm) 0 var(--space-md);
}

.mk-featured-post__title a {
    color: var(--mk-text-primary);
}

.mk-featured-post__title a:hover {
    color: var(--mk-green-deep);
}

.mk-featured-post__excerpt {
    font-size: 0.9375rem;
    color: var(--mk-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mk-featured-post--pilar {
    border: 2px solid var(--mk-indigo);
}

@media (max-width: 640px) {
    .mk-featured-post {
        grid-template-columns: 1fr;
    }

    .mk-featured-post__body {
        padding: var(--space-lg);
    }
}

/* === SINGLE POST LAYOUT === */
.mk-single-post {
    padding-bottom: var(--space-4xl);
}

/* === POST HERO HEADER === */
.mk-post-hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--mk-bg-snow);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mk-post-hero__category {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mk-green-deep);
    background: rgba(0, 214, 143, 0.1);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mk-post-hero__category:hover {
    background: rgba(0, 214, 143, 0.2);
    color: var(--mk-green-deep);
}

.mk-post-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--mk-text-primary);
    margin-bottom: var(--space-md);
    max-width: 800px;
}

.mk-post-hero__excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--mk-text-secondary);
    max-width: 680px;
    margin-bottom: var(--space-xl);
}

.mk-post-hero__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mk-post-hero__info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
}

.mk-post-hero__info svg {
    vertical-align: -1px;
}

.mk-post-hero__author-name {
    font-weight: 600;
    color: var(--mk-text-primary);
    text-decoration: none;
}

.mk-post-hero__author-name:hover {
    color: var(--mk-green-deep);
}

.mk-post-hero__sep {
    opacity: 0.4;
}

.mk-post-hero__share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* === FEATURED IMAGE === */
.mk-post-featured-image {
    max-width: 960px;
    margin: calc(var(--space-2xl) * -0.5) auto var(--space-2xl);
    position: relative;
    z-index: 1;
}

.mk-post-featured-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* === POST TAGS === */
.mk-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mk-post-tags__label {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--mk-text-secondary);
}

.mk-post-tags__tag {
    display: inline-flex;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--mk-bg-snow);
    color: var(--mk-text-secondary);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-fast);
}

.mk-post-tags__tag:hover {
    border-color: var(--mk-green);
    color: var(--mk-green-deep);
    background: var(--mk-green-glow);
}

/* === SHARE BAR (end of post) === */
.mk-post-share-bar {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    margin-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mk-post-share-bar__label {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    white-space: nowrap;
}

.mk-post-share-bar__links {
    display: flex;
    gap: var(--space-sm);
}

/* Share icon buttons (used in hero + share bar) */
.mk-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mk-bg-snow);
    color: var(--mk-text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.mk-share-icon:hover {
    background: var(--mk-green-glow);
    color: var(--mk-green-deep);
    border-color: rgba(0, 214, 143, 0.2);
}

.mk-share-icon svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* === AUTHOR CARD === */
.mk-author-card {
    padding: var(--space-xl);
    background: var(--mk-bg-snow);
    border-radius: var(--radius-xl);
    margin-top: var(--space-2xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.mk-author-card__label {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mk-green-deep);
    display: block;
    margin-bottom: 0.125rem;
}

.mk-author-card__name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--mk-text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-xs);
}

.mk-author-card__name:hover {
    color: var(--mk-green-deep);
}

.mk-author-card__bio {
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* === RELATED POSTS === */
.mk-related-posts {
    margin-top: var(--space-3xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mk-related-posts__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
}

/* === POST CTA BANNER === */
.mk-post-cta {
    margin-top: var(--space-3xl);
}

.mk-post-cta__inner {
    background: linear-gradient(135deg, #0B1120 0%, #1a2744 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mk-post-cta__inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 214, 143, 0.15), transparent 70%);
    pointer-events: none;
}

.mk-post-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 214, 143, 0.15);
    color: var(--mk-green);
    margin-bottom: var(--space-lg);
}

.mk-post-cta__title {
    color: #FFFFFF;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: var(--space-sm);
}

.mk-post-cta__desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin-bottom: var(--space-xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.mk-post-comments {
    margin-top: var(--space-3xl);
}

/* === SIDEBAR (post page) === */
.mk-post-sidebar__sticky {
    position: sticky;
    top: calc(var(--space-xl) + 80px);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Sidebar CTA Widget */
.mk-sidebar-cta {
    background: linear-gradient(135deg, rgba(0, 214, 143, 0.06), rgba(0, 214, 143, 0.12));
    border: 1px solid rgba(0, 214, 143, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
}

.mk-sidebar-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mk-green-deep);
    background: rgba(0, 214, 143, 0.15);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.mk-sidebar-cta__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--mk-text-primary);
    margin-bottom: var(--space-sm);
}

.mk-sidebar-cta__desc {
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

/* Sidebar Newsletter Widget */
.mk-sidebar-newsletter {
    background: var(--mk-bg-snow);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.mk-sidebar-newsletter__title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mk-text-primary);
    margin-bottom: var(--space-sm);
}

.mk-sidebar-newsletter__desc {
    font-size: 0.8125rem;
    color: var(--mk-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

/* Sidebar Tag Cloud */
.mk-sidebar-tags {
    background: var(--mk-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.mk-sidebar-tags__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--mk-text-primary);
    margin-bottom: var(--space-md);
}

.mk-sidebar-tags__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.mk-sidebar-tags__item {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.625rem;
    border-radius: var(--radius-full);
    background: var(--mk-bg-snow);
    color: var(--mk-text-secondary);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-fast);
    line-height: 1.3;
}

.mk-sidebar-tags__item:hover {
    background: var(--mk-green-glow);
    color: var(--mk-green-deep);
    border-color: rgba(0, 214, 143, 0.2);
}

/* Sidebar Categories */
.mk-sidebar-categories {
    background: var(--mk-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.mk-sidebar-categories__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--mk-text-primary);
    margin-bottom: var(--space-md);
}

.mk-sidebar-categories__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mk-sidebar-categories__list li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.mk-sidebar-categories__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.375rem;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mk-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mk-sidebar-categories__list a:hover {
    color: var(--mk-green-deep);
    background: var(--mk-green-glow);
}

.mk-sidebar-categories__count {
    font-size: 0.6875rem;
    font-weight: 600;
    background: var(--mk-bg-snow);
    color: var(--mk-text-secondary);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    min-width: 24px;
    text-align: center;
}

.mk-sidebar-categories__list a:hover .mk-sidebar-categories__count {
    background: rgba(0, 214, 143, 0.12);
    color: var(--mk-green-deep);
}

@media (max-width: 640px) {
    .mk-post-hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .mk-post-hero__title {
        font-size: 1.5rem;
    }

    .mk-post-hero__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .mk-post-hero__share {
        display: none;
    }

    .mk-post-featured-image {
        margin-top: 0;
    }

    .mk-post-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === CTA INLINE (shortcode) === */
.marketek-cta {
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    border-left: 4px solid var(--mk-green);
    background: var(--mk-green-glow);
}

.marketek-cta--trial {
    background: var(--mk-green-glow);
    border-left-color: var(--mk-green);
}

.marketek-cta--lead-magnet {
    background: rgba(99, 102, 241, 0.06);
    border-left-color: var(--mk-indigo);
}

.marketek-cta--newsletter {
    background: var(--mk-bg-cloud);
    border-left-color: var(--mk-green-deep);
}

.marketek-cta__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.marketek-cta__text {
    font-size: 0.9375rem;
    color: var(--mk-text-secondary);
    margin-bottom: var(--space-lg);
}

.marketek-cta__form {
    display: flex;
    gap: var(--space-sm);
}

.marketek-cta__form .mk-input {
    flex: 1;
}

@media (max-width: 640px) {
    .marketek-cta__form {
        flex-direction: column;
    }
}

/* === FAQ SECTION (shortcode) === */
.marketek-faq {
    margin: var(--space-3xl) 0;
}

.marketek-faq__title {
    margin-bottom: var(--space-xl);
}

/* === LEAD MAGNET BOX (shortcode) === */
.marketek-lead-magnet {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    background: var(--mk-midnight);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
    overflow: hidden;
}

.marketek-lead-magnet__image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
}

.marketek-lead-magnet__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
}

.marketek-lead-magnet__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.marketek-lead-magnet__form-native .mk-input {
    background: var(--mk-surface);
    border-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
}

@media (max-width: 640px) {
    .marketek-lead-magnet {
        grid-template-columns: 1fr;
    }
}

/* === TABELA COMPARATIVA (shortcode) === */
.marketek-tabela {
    margin: var(--space-2xl) 0;
}

.marketek-tabela__title {
    margin-bottom: var(--space-md);
}

/* === READING PROGRESS BAR === */
.mk-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

.mk-progress-bar__fill {
    height: 100%;
    width: 0%;
    background: var(--mk-green);
    transition: width 100ms linear;
}

/* === TOC SIDEBAR ENHANCEMENTS === */
.mk-toc--sidebar {
    background: var(--mk-bg-snow);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.mk-toc__list a.active {
    color: var(--mk-green-deep);
    font-weight: 500;
}

/* Pilar TOC (numbered, in-content) */
.mk-toc--pilar {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    background: var(--mk-bg-snow);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.mk-toc--pilar .mk-toc__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.mk-toc__list--numbered {
    list-style: decimal;
    padding-left: var(--space-xl);
}

.mk-toc__list--numbered li {
    margin-bottom: var(--space-sm);
}

.mk-toc__list--numbered a {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    color: var(--mk-text-secondary);
    padding: 0.25rem 0;
    display: inline;
}

.mk-toc__list--numbered a:hover {
    color: var(--mk-green-deep);
}

/* === MOBILE TOC === */
.mk-toc-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--mk-bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    display: none; /* Only shown via mk-show-tablet-only */
}

@media (max-width: 1024px) {
    .mk-toc-mobile.mk-show-tablet-only {
        display: block;
    }

    /* Ensure single-post content has bottom padding for fixed TOC */
    .mk-single-post {
        padding-bottom: calc(var(--space-4xl) + 60px);
    }
}

.mk-toc-mobile__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--mk-text-primary);
    background: none;
    border: none;
    cursor: pointer;
}

.mk-toc-mobile__icon {
    color: var(--mk-green-deep);
    font-size: 1.25rem;
}

.mk-toc-mobile__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    padding: 0 var(--space-lg);
}

.mk-toc-mobile.active .mk-toc-mobile__list {
    max-height: 60vh;
    overflow-y: auto;
    padding-bottom: var(--space-lg);
}

/* === CATEGORY HEADER (category.php) === */
.mk-category-header {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.mk-category-header h1 {
    margin-bottom: var(--space-sm);
}

.mk-category-header__desc {
    font-size: 1.0625rem;
    color: var(--mk-text-secondary);
    max-width: 700px;
    margin-bottom: var(--space-md);
}

.mk-category-header__count {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
}

/* === AUTHOR HEADER (author.php) === */
.mk-author-header {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.mk-author-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.mk-author-header__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mk-author-header__name {
    margin-bottom: var(--space-sm);
}

.mk-author-header__bio {
    font-size: 0.9375rem;
    color: var(--mk-text-secondary);
    margin-bottom: var(--space-sm);
    max-width: 600px;
}

.mk-author-header__count {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
}

@media (max-width: 640px) {
    .mk-author-header__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* === CTA TRIAL WIDGET (sidebar) === */
.mk-cta-trial-widget {
    background: var(--mk-green-glow);
    border: 1px solid rgba(0, 214, 143, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.mk-cta-trial-widget__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: var(--space-sm);
}

.mk-cta-trial-widget__desc {
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    margin-bottom: var(--space-md);
}

/* === POPULAR POSTS WIDGET === */
.mk-popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mk-popular-posts__item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mk-popular-posts__item:last-child {
    border-bottom: none;
}

.mk-popular-posts__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mk-popular-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-popular-posts__title {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--mk-text-primary);
    line-height: 1.4;
    display: block;
    margin-bottom: var(--space-xs);
}

.mk-popular-posts__title:hover {
    color: var(--mk-green-deep);
}

.mk-popular-posts__cat {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    color: var(--mk-green-deep);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* === CATEGORIES WIDGET === */
.mk-categories-widget {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mk-categories-widget__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mk-categories-widget__item a:hover,
.mk-categories-widget__item.active a {
    color: var(--mk-green-deep);
    background: var(--mk-green-glow);
}

.mk-categories-widget__count {
    font-size: 0.75rem;
    background: var(--mk-bg-snow);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    color: var(--mk-text-secondary);
}

.mk-categories-widget__item.active .mk-categories-widget__count {
    background: var(--mk-green-glow);
    color: var(--mk-green-deep);
}

/* === POST CARD EXCERPT LINE CLAMP === */
.mk-post-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   PRICING PAGE STYLES
   High-conversion pricing page components
   ============================================ */

/* === PRICING PROOF BAR === */
.mk-pricing-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: var(--mk-bg-snow);
    border-radius: var(--radius-lg);
    max-width: 700px;
    margin: var(--space-xl) auto 0;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
}

.mk-pricing-proof__item strong {
    color: var(--mk-green-deep);
    font-weight: 700;
}

.mk-pricing-proof__divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .mk-pricing-proof {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .mk-pricing-proof__divider {
        display: none;
    }
}

/* === PRICING CARDS === */
.mk-pricing-grid {
    gap: var(--space-xl);
}

.mk-pricing-card {
    background: var(--mk-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.mk-pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.mk-pricing-card--featured {
    border: 2px solid var(--mk-green);
    box-shadow: 0 8px 40px rgba(0, 214, 143, 0.15);
    transform: scale(1.03);
    z-index: 1;
}

.mk-pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.mk-pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mk-green);
    color: var(--mk-midnight);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.mk-pricing-card__header {
    margin-bottom: var(--space-lg);
}

.mk-pricing-card__name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--mk-text-primary);
    margin-bottom: var(--space-xs);
}

.mk-pricing-card__tagline {
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.mk-pricing-card__price-wrap {
    padding: var(--space-md) 0;
    margin-bottom: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mk-pricing-card__price {
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--mk-text-primary);
    line-height: 1;
}

.mk-pricing-card__price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--mk-text-secondary);
}

.mk-pricing-card__features-label {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mk-text-secondary);
    margin-bottom: var(--space-md);
}

.mk-pricing-card__features {
    list-style: none;
    margin: 0 0 var(--space-xl);
    padding: 0;
    flex: 1;
}

.mk-pricing-card__features li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.75rem;
    font-size: 0.9375rem;
    color: var(--mk-text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mk-pricing-card__features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--mk-green-deep);
    font-weight: 700;
    font-size: 0.875rem;
}

.mk-pricing-card__features li:last-child {
    border-bottom: none;
}

/* === COMPARISON TABLE === */
.mk-comparison-table {
    max-width: 1000px;
    margin: 0 auto;
}

.mk-comparison-table .mk-table {
    font-size: 0.875rem;
}

.mk-table__section-header td {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mk-green-deep);
    background: var(--mk-green-glow);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 2px solid rgba(0, 214, 143, 0.2);
}

.mk-th--featured {
    background: rgba(0, 214, 143, 0.06);
    color: var(--mk-green-deep);
}

.mk-td--featured {
    background: rgba(0, 214, 143, 0.03);
}

.mk-comparison-table tfoot td {
    padding: var(--space-lg) var(--space-md);
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* === COST CALCULATOR === */
.mk-calculator-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    background: var(--mk-bg-white);
    position: relative;
}

.mk-calculator-wrap::after {
    content: 'Deslize para ver todos os planos →';
    display: none;
    text-align: center;
    font-size: 0.75rem;
    color: var(--mk-text-secondary);
    padding: var(--space-sm);
}

@media (max-width: 860px) {
    .mk-calculator-wrap::after {
        display: block;
    }
}

.mk-calculator {
    min-width: 800px;
}

.mk-calculator__header {
    display: flex;
    background: var(--mk-bg-snow);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.mk-calculator__header .mk-calculator__col {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mk-text-secondary);
}

.mk-calculator__col {
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
}

.mk-calculator__col--feature {
    width: 28%;
}

.mk-calculator__col--input {
    width: 28%;
}

.mk-calculator__col--cost {
    width: 14.66%;
    justify-content: center;
    text-align: center;
}

.mk-calculator__row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background var(--transition-fast);
}

.mk-calculator__row:hover {
    background: rgba(0, 214, 143, 0.02);
}

.mk-calculator__feature-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--mk-text-primary);
    display: block;
}

.mk-calculator__feature-unit {
    font-size: 0.75rem;
    color: var(--mk-text-secondary);
}

.mk-calculator__slider-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
}

.mk-calculator__slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-full);
    outline: none;
    border: none;
    cursor: pointer;
}

.mk-calculator__slider:hover {
    background: rgba(0, 0, 0, 0.2);
}

.mk-calculator__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--mk-green);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--mk-bg-white);
    box-shadow: 0 2px 6px rgba(0, 214, 143, 0.3);
}

.mk-calculator__slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--mk-green);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 214, 143, 0.3);
}

.mk-calculator__slider::-moz-range-track {
    height: 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    border: none;
}

.mk-calculator__slider-value {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--mk-green-deep);
    min-width: 50px;
    text-align: right;
}

.mk-calculator__cost {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--mk-text-primary);
}

.mk-calculator__footer {
    display: flex;
    border-top: 2px solid var(--mk-midnight);
    background: var(--mk-bg-snow);
}

.mk-calculator__footer .mk-calculator__col {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.125rem;
}

.mk-calculator__footer .mk-calculator__col--feature {
    justify-content: flex-end;
    font-size: 0.9375rem;
    color: var(--mk-text-secondary);
}

.mk-calculator__total {
    color: var(--mk-green-deep);
    font-size: 1.25rem;
}

.mk-calculator__disclaimer {
    margin-top: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--mk-text-secondary);
}

/* === TRUST SIGNALS === */
.mk-trust-signals {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mk-trust-signal {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
}

.mk-trust-signal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 214, 143, 0.15);
    color: var(--mk-green);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* === STICKY CTA BAR (mobile) === */
.mk-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--mk-bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: var(--space-sm) var(--space-lg);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.mk-sticky-cta__text {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--mk-text-primary);
}

.mk-sticky-cta__text span {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--mk-text-secondary);
}

@media (max-width: 768px) {
    .mk-sticky-cta {
        display: flex;
    }

    .mk-pricing-card--featured {
        transform: none;
        order: -1;
    }

    .mk-pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .mk-pricing-grid {
        gap: var(--space-lg);
    }
}

/* === CONVERSION MICRO-ELEMENTS === */
.mk-urgency-banner {
    background: linear-gradient(90deg, var(--mk-green-deep), var(--mk-green));
    color: var(--mk-midnight);
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.8125rem;
}

/* Inline CTA for pages */
.mk-inline-cta {
    background: var(--mk-green-glow);
    border: 1px solid rgba(0, 214, 143, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    text-align: center;
    margin: var(--space-3xl) 0;
}

.mk-inline-cta h3 {
    margin-bottom: var(--space-sm);
}

.mk-inline-cta p {
    color: var(--mk-text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BATTLE CARDS / COMPARAÇÕES
   Hub page and individual battle card styles
   ============================================ */

/* --- Hub: Card Grid --- */
.mk-bc-card {
    display: flex;
    flex-direction: column;
}
.mk-bc-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.mk-bc-card__logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--mk-surface, #131B2E);
    color: var(--mk-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.mk-bc-card__headline {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--mk-text-secondary);
    font-style: italic;
    margin-bottom: var(--space-md);
}
.mk-bc-card__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
    flex: 1;
}
.mk-bc-card__bullets li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: var(--mk-text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.mk-bc-card__bullets li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #f87171;
    font-weight: 700;
}
.mk-bc-card__cta {
    margin-top: auto;
}

/* --- Pattern Table Cell Colors --- */
.mk-bc-cell--negative {
    color: #dc2626;
    font-weight: 600;
}
.mk-bc-cell--warn {
    color: #d97706;
    font-weight: 600;
}
.mk-bc-cell--neutral {
    color: var(--mk-text-secondary);
}

/* --- Battle Card Content Sections (inside post_content) --- */
.mk-bc-content .mk-bc-summary {
    background: var(--mk-bg-cloud, #f8fafc);
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    border-left: 4px solid var(--mk-green);
}
.mk-bc-content .mk-bc-summary h3 {
    margin-top: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mk-text-secondary);
    font-weight: 700;
}
.mk-bc-content .mk-bc-strengths {
    background: rgba(0, 214, 143, 0.04);
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    border: 1px solid rgba(0, 214, 143, 0.15);
}
.mk-bc-content .mk-bc-strengths h2 {
    color: var(--mk-green-deep);
}
.mk-bc-content .mk-bc-weaknesses {
    margin-bottom: var(--space-3xl);
}
.mk-bc-content .mk-bc-weaknesses h3 {
    color: #dc2626;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(220, 38, 38, 0.15);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}
.mk-bc-content .mk-bc-table-wrap {
    overflow-x: auto;
    margin-bottom: var(--space-3xl);
    border-radius: var(--radius-lg, 12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.mk-bc-content .mk-bc-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.mk-bc-content .mk-bc-table-wrap thead th {
    background: var(--mk-midnight, #0B1120);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.mk-bc-content .mk-bc-table-wrap thead th:last-child {
    color: var(--mk-green);
}
.mk-bc-content .mk-bc-table-wrap tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mk-bc-content .mk-bc-table-wrap tbody tr:last-child td {
    border-bottom: none;
}
.mk-bc-content .mk-bc-table-wrap tbody td:first-child {
    font-weight: 600;
}
.mk-bc-content .mk-bc-tco {
    background: var(--mk-bg-cloud, #f8fafc);
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}
.mk-bc-content .mk-bc-tco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}
.mk-bc-content .mk-bc-tco-card {
    background: #fff;
    border-radius: var(--radius-md, 8px);
    padding: var(--space-xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.mk-bc-content .mk-bc-tco-card h4 {
    margin-top: 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mk-text-secondary);
}
.mk-bc-content .mk-bc-tco-price {
    font-family: var(--font-accent);
    font-size: 1.75rem;
    font-weight: 800;
    margin: var(--space-sm) 0;
}
.mk-bc-content .mk-bc-tco-price--competitor {
    color: #dc2626;
}
.mk-bc-content .mk-bc-tco-price--marketek {
    color: var(--mk-green-deep);
}
.mk-bc-content .mk-bc-verdict {
    background: var(--mk-midnight, #0B1120);
    color: #fff;
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}
.mk-bc-content .mk-bc-verdict h2 {
    color: var(--mk-green);
    margin-top: 0;
}
.mk-bc-content .mk-bc-verdict p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}
.mk-bc-content .mk-bc-faq {
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .mk-bc-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .mk-bc-content .mk-bc-table-wrap {
        font-size: 0.8125rem;
    }
}
