
        /* ===== ESTILOS PARA PÁGINA DE TAG DO BLOG ===== */
        /* Variação do estilo de categoria com elementos diferenciados */

        /* Container principal - com background sutil diferente */
        main {
            width: 100%;
            max-width: var(--max);
            margin: 0 auto;
            padding: 50px 20px 90px;
            background: linear-gradient(180deg, rgba(247, 248, 255, 0.3) 0%, rgba(255, 255, 255, 1) 100px);
            border-radius: 20px 20px 0 0;
        }

        /* Cabeçalho da Tag - estilo diferenciado */
        .blog-tag-header {
            text-align: center;
            margin-bottom: 60px;
            padding: 50px 30px;
            background: var(--brand-blue);
            border-radius: var(--radius);
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(50, 58, 204, 0.2);
        }

        /* Elemento decorativo no fundo do header */
        .blog-tag-header::before {
            content: "";
            position: absolute;
            top: -50%;
            right: -20%;
            width: 300px;
            height: 300px;
            background: var(--brand-yellow);
            border-radius: 50%;
            opacity: 0.15;
            z-index: 0;
        }

        .blog-tag-header::after {
            content: "#";
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 4rem;
            font-family: "Dosis", sans-serif;
            font-weight: 700;
            color: rgba(255, 255, 0, 0.1);
            z-index: 0;
        }

        .blog-tag-header h1 {
            font-family: "Dosis", sans-serif;
            font-size: clamp(2.8rem, 5.5vw, 4rem);
            color: var(--brand-yellow);
            margin-bottom: 20px;
            font-weight: 700;
            line-height: 1.1;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .blog-tag-header h1::before {
            content: "#";
            display: inline-block;
            margin-right: 10px;
            font-size: 0.9em;
            opacity: 0.8;
        }

        .tag-description {
            font-family: "DM Sans", system-ui, sans-serif;
            font-size: clamp(1.2rem, 2.2vw, 1.5rem);
            color: white;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
            opacity: 0.95;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }

        /* Lista de Posts - layout em grid diferenciado */
        .blog-post-list {
            margin-top: 50px;
        }

        #posts-heading {
            font-family: "Dosis", sans-serif;
            font-size: clamp(1.6rem, 3vw, 2rem);
            color: var(--brand-blue);
            margin-bottom: 40px;
            padding: 15px 0;
            position: relative;
            text-align: center;
        }

        #posts-heading::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--brand-yellow);
            border-radius: 2px;
        }

        /* Estado Vazio - estilo diferenciado */
        .empty-state {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 255, 0.9));
            padding: 50px 30px;
            border-radius: var(--radius);
            border: 2px solid var(--brand-blue);
            text-align: center;
            margin: 40px 0;
            position: relative;
            box-shadow: var(--shadow);
        }

        .empty-state::before {
            content: "📌";
            font-size: 2.5rem;
            display: block;
            margin-bottom: 20px;
        }

        .empty-state strong {
            color: var(--brand-blue);
            font-weight: 700;
            background: rgba(255, 255, 0, 0.2);
            padding: 2px 8px;
            border-radius: 4px;
        }

        /* Cards de Post - layout em grid 2 colunas */
        .blog-post-list:not(:has(.empty-state)) {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .blog-post-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            border: 1px solid #E6E8FF;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
        }

        .blog-post-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 40px rgba(50, 58, 204, 0.15);
            border-color: var(--brand-blue);
        }

        /* Tag indicadora no card */
        .blog-post-card::after {
            content: "#{TAG_NAME}";
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--brand-yellow);
            color: var(--brand-blue);
            font-family: "Dosis", sans-serif;
            font-weight: 600;
            font-size: 0.8rem;
            padding: 4px 12px;
            border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .blog-post-card h3 {
            font-family: "Dosis", sans-serif;
            font-size: clamp(1.3rem, 2vw, 1.5rem);
            color: var(--brand-blue);
            margin-bottom: 15px;
            line-height: 1.3;
            flex-grow: 0;
        }

        .blog-post-card h3 a {
            color: inherit;
            text-decoration: none;
            display: block;
            transition: color 0.2s ease;
            padding-right: 80px;
            /* Espaço para a tag */
        }

        .blog-post-card h3 a:hover {
            color: var(--brand-blue-hero);
            text-decoration: underline;
        }

        .blog-post-card p {
            font-family: "DM Sans", system-ui, sans-serif;
            font-size: 1rem;
            color: var(--ink-700);
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
            opacity: 0.9;
        }

        /* Link "ler mais" sutil */
        .blog-post-card::before {
            content: "→ Ler artigo";
            display: inline-block;
            margin-top: 10px;
            font-family: "DM Sans", sans-serif;
            font-size: 0.9rem;
            color: var(--brand-blue);
            font-weight: 600;
            opacity: 0;
            transition: opacity 0.3s ease;
            align-self: flex-start;
        }

        .blog-post-card:hover::before {
            opacity: 1;
        }

        /* Meta info do post */
        .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            font-family: "DM Sans", system-ui, sans-serif;
            font-size: 0.85rem;
            color: var(--ink-700);
            opacity: 0.7;
        }

        .post-date {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .post-date::before {
            content: "📅";
            font-size: 0.9rem;
        }

        /* Responsividade */
        @media (max-width: 900px) {
            .blog-post-list:not(:has(.empty-state)) {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 768px) {
            main {
                padding: 30px 15px 70px;
                border-radius: 10px 10px 0 0;
            }

            .blog-tag-header {
                padding: 40px 20px;
                margin-bottom: 40px;
            }

            .blog-tag-header::before {
                width: 200px;
                height: 200px;
                top: -30%;
                right: -15%;
            }

            .empty-state {
                padding: 40px 20px;
            }

            .blog-post-card {
                padding: 25px;
            }

            .blog-post-card::after {
                top: 10px;
                right: 10px;
                font-size: 0.7rem;
                padding: 3px 10px;
            }

            .blog-post-card h3 a {
                padding-right: 70px;
            }
        }

        @media (max-width: 600px) {
            .blog-post-list:not(:has(.empty-state)) {
                grid-template-columns: 1fr;
            }

            .blog-tag-header h1 {
                font-size: clamp(2.2rem, 4vw, 2.8rem);
            }

            .tag-description {
                font-size: 1.1rem;
            }

            #posts-heading {
                font-size: clamp(1.4rem, 2.5vw, 1.7rem);
            }
        }

        @media (max-width: 480px) {
            main {
                padding: 20px 10px 60px;
            }

            .blog-tag-header {
                padding: 30px 15px;
            }

            .blog-post-card {
                padding: 20px;
            }

            .blog-post-card::after {
                position: static;
                display: inline-block;
                margin-bottom: 15px;
            }

            .blog-post-card h3 a {
                padding-right: 0;
            }
        }

        /* Efeito de entrada para os cards */
        @keyframes cardEntrance {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .blog-post-card {
            animation: cardEntrance 0.5s ease-out;
            animation-fill-mode: both;
        }

        /* Adiciona delay progressivo para os cards */
        .blog-post-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .blog-post-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .blog-post-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .blog-post-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .blog-post-card:nth-child(5) {
            animation-delay: 0.5s;
        }

        .blog-post-card:nth-child(6) {
            animation-delay: 0.6s;
        }

        .blog-post-card:nth-child(n+7) {
            animation-delay: 0.7s;
        }

        /* Badge de contagem (opcional, se quiser adicionar) */
        .tag-count {
            display: inline-block;
            background: var(--brand-yellow);
            color: var(--brand-blue);
            font-family: "Dosis", sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 2px 10px;
            border-radius: 12px;
            margin-left: 10px;
            vertical-align: middle;
        }
  