:root { 
    --pf-primary: #06D7F6;
    --pf-secondary: #00FF9C;
    --pf-accent: #0066FF;
    --pf-dark: #0A0A0C;
    --pf-darker: #05080C;
    --pf-card: #14151A;
    --pf-gray: #9CA3AF;
    --pf-light-gray: #6B7280;
    --pf-text: #E5E7EB;
    --pf-border: rgba(255,255,255,0.05);

    --pf-gradient-primary: linear-gradient(135deg, #06D7F6, #0055FF);
    --pf-gradient-text: linear-gradient(90deg, #06D7F6, #00FF9C);

    --pf-shadow-glow: 0 0 25px rgba(6,215,246,0.25);
}

/* =====================================================
   FIX BLOCKSY DEFAULT PADDING
===================================================== */

/* =========================================
   REMOVE BLOCKSY TOP SPACING ON TAG PAGE
========================================= */
/* =========================================
   FORCE REMOVE TOP SPACE ON TAG PAGE
========================================= */

/* ================================
   REMOVE BLOCKSY PAGE TITLE SPACE
================================ */

body.tag .ct-page-title {
    display: none;
}

body.tag .ct-container {
    padding-top: 0;
}

body.tag main {
    padding-top: 0;
}

body.tag main > *:first-child {
    margin-top: 0;
}

/* =====================================================
   TAG HERO (Full Width Section)
===================================================== */

.pf-tag-hero {
    width: 100%;
    background: linear-gradient(145deg, var(--pf-card), var(--pf-darker));
    position: relative;
    padding: 80px 0 70px;
    text-align: center;
    overflow: hidden;
}

/* Top gradient line */
.pf-tag-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pf-gradient-primary);
}

/* Bottom gradient line */
.pf-tag-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pf-gradient-primary);
}

/* Inner content width control */
.pf-tag-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.pf-tag-title {
    font-size: 48px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    background: var(--pf-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.pf-tag-count {
    font-size: 14px;
    color: var(--pf-light-gray);
}

/* =====================================================
   POSTS CONTAINER (Limited Width)
===================================================== */

.pf-tag-posts {
    max-width: 1400px;
    margin: 70px auto;
    padding: 0 5%;
}

/* =====================================================
   GRID
===================================================== */

.pf-tag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* =====================================================
   CARD
===================================================== */

.pf-tag-card {
    background: var(--pf-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--pf-border);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.pf-tag-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6,215,246,0.3);
    box-shadow: var(--pf-shadow-glow);
}

.pf-tag-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform .5s ease;
}

.pf-tag-card:hover img {
    transform: scale(1.05);
}

.pf-tag-card-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
}

.pf-tag-meta {
    font-size: 12px;
    color: var(--pf-gray);
    margin-bottom: 8px;
}

.pf-tag-category {
    color: var(--pf-primary);
    font-weight: 600;
}

.pf-tag-card h3 {
    font-size: 18px;
    line-height: 1.4;
}

.pf-tag-card h3 a {
    color: var(--pf-text);
    text-decoration: none;
    transition: color .2s ease;
}

.pf-tag-card:hover h3 a {
    color: var(--pf-primary);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {
    .pf-tag-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .pf-tag-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pf-tag-grid {
        grid-template-columns: 1fr;
    }

    .pf-tag-title {
        font-size: 32px;
    }

    .pf-tag-hero {
        padding: 60px 0;
    }
}