/* ============================================================
   Gixo Blog – Shared Styles
   Used by: Index, Post, Category, Tag pages
   ============================================================ */

/* ---- Base / Page Shell ---- */
.gixo-blog-page,
.gixo-post-page,
.gixo-category-page,
.gixo-tag-page {
    min-height: 100dvh;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #1a1f3a 100%);
    color: #fff;
    padding: 0;
}

/* ---- Fade-in animation ---- */
.gixo-fade-in {
    animation: gixoBlogFadeIn 0.5s ease-out forwards;
    opacity: 0;
}
@keyframes gixoBlogFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Shared Top Navigation Bar ---- */
.gixo-blog-topnav {
    background: rgba(15,15,26,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,217,255,0.1);
    padding: 1rem 2rem;
}
.gixo-blog-topnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.gixo-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.gixo-back-btn:hover {
    background: rgba(0,217,255,0.1);
    border-color: rgba(0,217,255,0.3);
    color: #00d9ff;
}

/* ---- Breadcrumb ---- */
.gixo-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}
.gixo-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.gixo-breadcrumb a:hover {
    color: #00d9ff;
}

/* ---- Hero Section (Archive / Category / Tag) ---- */
.gixo-blog-hero {
    position: relative;
    padding: 4rem 2rem 3rem;
    border-bottom: 1px solid rgba(0,217,255,0.1);
    overflow: hidden;
}
.gixo-blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}
.gixo-blog-hero--cyan::before {
    background: radial-gradient(circle at 30% 30%, rgba(0,217,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(168,85,247,0.05) 0%, transparent 50%);
}
.gixo-blog-hero--purple::before {
    background: radial-gradient(circle at 30% 30%, rgba(168,85,247,0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0,217,255,0.05) 0%, transparent 50%);
}
.gixo-blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.gixo-blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}
.gixo-blog-hero-badge--cyan {
    background: linear-gradient(135deg, rgba(0,217,255,0.15), rgba(168,85,247,0.15));
    border: 1px solid rgba(0,217,255,0.3);
}
.gixo-blog-hero-badge--purple {
    background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(0,217,255,0.15));
    border: 1px solid rgba(168,85,247,0.3);
}
.gixo-blog-hero-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.gixo-blog-hero-badge--cyan span,
.gixo-blog-hero-badge--cyan svg { color: #00d9ff; }
.gixo-blog-hero-badge--purple span,
.gixo-blog-hero-badge--purple svg { color: #a855f7; }

.gixo-blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.gixo-blog-hero-title--gradient {
    background: linear-gradient(135deg, #00d9ff 0%, #a855f7 50%, #00d9ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blogGradientShift 8s ease-in-out infinite;
}
@keyframes blogGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.gixo-blog-hero-title .gixo-hash {
    background: linear-gradient(135deg, #a855f7 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gixo-blog-hero-count {
    color: #94a3b8;
    font-size: 1.125rem;
}
.gixo-blog-hero-count strong { color: #00d9ff; }
.gixo-blog-hero--purple .gixo-blog-hero-count strong { color: #a855f7; }

/* ---- Container ---- */
.gixo-blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ---- Inline Controls Bar ---- */
.gixo-blog-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(36,43,71,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,217,255,0.1);
    border-radius: 16px;
}
.gixo-blog-search {
    position: relative;
    flex: 1;
    min-width: 180px;
    max-width: 360px;
}
.gixo-blog-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.875rem;
    transition: all 0.3s;
}
.gixo-blog-search-input:focus {
    outline: none;
    border-color: #00d9ff;
    box-shadow: 0 0 0 3px rgba(0,217,255,0.1);
    background: rgba(255,255,255,0.08);
}
.gixo-blog-search-input::placeholder { color: #64748b; }
.gixo-blog-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}
.gixo-sort-select {
    padding: 0.75rem 2.25rem 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: all 0.3s;
}
.gixo-sort-select:hover { border-color: rgba(0,217,255,0.3); }
.gixo-sort-select:focus {
    outline: none;
    border-color: #00d9ff;
    box-shadow: 0 0 0 3px rgba(0,217,255,0.1);
}
.gixo-sort-select option { background: #1a1a2e; color: #f1f5f9; }

/* ---- Category Tabs ---- */
.gixo-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 2;
    min-width: 0;
}
.gixo-category-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.gixo-category-tab:hover {
    background: rgba(0,217,255,0.08);
    border-color: rgba(0,217,255,0.25);
    color: #00d9ff;
}
.gixo-category-tab.active {
    background: rgba(0,217,255,0.15);
    border-color: rgba(0,217,255,0.4);
    color: #00d9ff;
    font-weight: 600;
}
.gixo-category-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    background: rgba(0,217,255,0.12);
    border-radius: 6px;
    font-size: 0.6875rem;
    margin-left: 0.35rem;
}

/* ---- Tags (Collapsible) ---- */
.gixo-tags-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(168,85,247,0.08);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 8px;
    color: #a855f7;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}
.gixo-tags-toggle:hover {
    background: rgba(168,85,247,0.15);
    border-color: rgba(168,85,247,0.35);
}
.gixo-tags-toggle svg {
    transition: transform 0.25s;
}
.gixo-tags-toggle.open svg {
    transform: rotate(180deg);
}
.gixo-tags-cloud {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
    margin-bottom: 0;
}
.gixo-tags-cloud.open {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 1.5rem;
}
.gixo-tags-cloud-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(36,43,71,0.4);
    border: 1px solid rgba(168,85,247,0.1);
    border-radius: 12px;
}
.gixo-tag-pill {
    padding: 0.35rem 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.gixo-tag-pill:hover {
    background: rgba(168,85,247,0.1);
    border-color: rgba(168,85,247,0.3);
    color: #a855f7;
}

/* ---- Featured Post (Index hero) ---- */
.gixo-featured-post {
    background: linear-gradient(135deg, rgba(36,43,71,0.8) 0%, rgba(36,43,71,0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.gixo-featured-post:hover {
    transform: translateY(-6px);
    border-color: rgba(0,217,255,0.4);
    box-shadow: 0 30px 80px rgba(0,217,255,0.15);
}
.gixo-featured-image-wrap {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}
.gixo-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gixo-featured-post:hover .gixo-featured-image { transform: scale(1.05); }
.gixo-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #00d9ff, #a855f7);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.gixo-featured-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gixo-featured-category {
    color: #00d9ff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.gixo-featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.gixo-featured-excerpt {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.gixo-featured-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
}
.gixo-featured-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ---- Magazine Grid ---- */
.gixo-magazine-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.gixo-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ---- Blog Card (Shared by all list pages) ---- */
.gixo-blog-card {
    background: rgba(36,43,71,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,217,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.gixo-blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,217,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.gixo-blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,217,255,0.3);
    box-shadow: 0 16px 40px rgba(0,217,255,0.12);
}
.gixo-blog-card:hover::before { opacity: 1; }

.gixo-blog-card-image-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.gixo-blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gixo-blog-card:hover .gixo-blog-card-image { transform: scale(1.06); }

.gixo-blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,217,255,0.12) 0%, rgba(168,85,247,0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gixo-blog-card-image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.25;
}
.gixo-reading-time {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.65rem;
    border-radius: 16px;
    font-size: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.gixo-blog-card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}
.gixo-blog-card-category {
    display: inline-block;
    color: #00d9ff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.gixo-blog-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.gixo-blog-card-excerpt {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gixo-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148,163,184,0.08);
}
.gixo-blog-card-date {
    color: #64748b;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.gixo-blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.gixo-blog-tag {
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 16px;
    padding: 0.15rem 0.55rem;
    font-size: 0.6875rem;
    color: #a855f7;
    transition: all 0.25s;
}
.gixo-blog-tag:hover {
    background: rgba(168,85,247,0.2);
    border-color: rgba(168,85,247,0.4);
}

/* ---- Compact List Card (below the fold) ---- */
.gixo-blog-list-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(36,43,71,0.4);
    border: 1px solid rgba(0,217,255,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.gixo-blog-list-card:hover {
    background: rgba(36,43,71,0.7);
    border-color: rgba(0,217,255,0.2);
    transform: translateX(4px);
}
.gixo-blog-list-card-image {
    width: 120px;
    min-width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}
.gixo-blog-list-card-body { flex: 1; min-width: 0; }
.gixo-blog-list-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gixo-blog-list-card-meta {
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---- Newsletter CTA ---- */
.gixo-newsletter-cta {
    background: linear-gradient(135deg, rgba(0,217,255,0.08) 0%, rgba(168,85,247,0.08) 100%);
    border: 1px solid rgba(0,217,255,0.15);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}
.gixo-newsletter-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.gixo-newsletter-cta p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.gixo-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}
.gixo-newsletter-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.9375rem;
    transition: border-color 0.3s;
}
.gixo-newsletter-input:focus {
    outline: none;
    border-color: #00d9ff;
}
.gixo-newsletter-input::placeholder { color: #64748b; }
.gixo-newsletter-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #00d9ff, #a855f7);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    white-space: nowrap;
}
.gixo-newsletter-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---- Pagination ---- */
.gixo-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,217,255,0.1);
}
.gixo-page-btn {
    padding: 0.625rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}
.gixo-page-btn:hover:not(:disabled) {
    background: rgba(0,217,255,0.1);
    border-color: rgba(0,217,255,0.3);
    color: #00d9ff;
}
.gixo-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.gixo-page-btn.active {
    background: linear-gradient(135deg, #00d9ff, #a855f7);
    border-color: transparent;
    color: #fff;
}
.gixo-page-info {
    color: #64748b;
    font-size: 0.875rem;
    padding: 0 0.75rem;
}

/* ---- Empty State ---- */
.gixo-blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(36,43,71,0.4);
    border: 1px dashed rgba(0,217,255,0.2);
    border-radius: 16px;
}
.gixo-blog-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    opacity: 0.35;
}
.gixo-blog-empty-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}
.gixo-blog-empty-text {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ---- Loading Skeleton ---- */
.gixo-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: blogShimmer 1.5s infinite;
    border-radius: 8px;
}
@keyframes blogShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---- Post Page: Reading Progress Bar ---- */
.gixo-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ---- Post Page: Share Buttons ---- */
.gixo-share-btns {
    display: flex;
    gap: 0.5rem;
}
.gixo-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s;
}
.gixo-share-btn:hover {
    background: rgba(0,217,255,0.1);
    border-color: rgba(0,217,255,0.3);
    color: #00d9ff;
    transform: translateY(-2px);
}
.gixo-share-btn.twitter:hover  { color: #1da1f2; border-color: rgba(29,161,242,0.3); }
.gixo-share-btn.linkedin:hover { color: #0077b5; border-color: rgba(0,119,181,0.3); }
.gixo-share-btn.copy:hover     { color: #a855f7; border-color: rgba(168,85,247,0.3); }
.gixo-share-btn.edit {
    background: rgba(34,197,94,0.1);
    border-color: rgba(34,197,94,0.3);
    color: #22c55e;
}
.gixo-share-btn.edit:hover {
    background: rgba(34,197,94,0.2);
    border-color: rgba(34,197,94,0.5);
}

/* ---- Post Page: Hero ---- */
.gixo-post-hero {
    position: relative;
    padding: 4rem 2rem 3rem;
    overflow: hidden;
}
.gixo-post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(0,217,255,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(168,85,247,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.gixo-post-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.gixo-post-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0,217,255,0.15), rgba(168,85,247,0.15));
    border: 1px solid rgba(0,217,255,0.3);
    border-radius: 24px;
    padding: 0.5rem 1.25rem;
    color: #00d9ff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}
.gixo-post-category-badge:hover {
    background: linear-gradient(135deg, rgba(0,217,255,0.25), rgba(168,85,247,0.25));
}
.gixo-post-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.gixo-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    color: #94a3b8;
    font-size: 0.9375rem;
}
.gixo-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gixo-post-meta-item svg { opacity: 0.7; }
.gixo-post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.gixo-post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d9ff, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

/* ---- Post Page: Featured Image ---- */
.gixo-post-featured-image {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}
.gixo-post-featured-image img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(0,217,255,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ---- Post Page: Content + TOC Layout ---- */
.gixo-post-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 3rem;
    align-items: start;
}
.gixo-post-main { min-width: 0; }

/* ---- Post Page: Article Content ---- */
.gixo-post-content {
    background: rgba(36,43,71,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,217,255,0.1);
    border-radius: 20px;
    padding: 3rem;
    line-height: 1.85;
    font-size: 1.125rem;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.gixo-post-content h1,
.gixo-post-content h2,
.gixo-post-content h3 {
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.gixo-post-content h2 {
    font-size: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,217,255,0.15);
}
.gixo-post-content h3 {
    font-size: 1.375rem;
    color: #e2e8f0;
}
.gixo-post-content p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}
.gixo-post-content a {
    color: #00d9ff;
    text-decoration: underline;
    text-decoration-color: rgba(0,217,255,0.3);
    text-underline-offset: 3px;
    transition: all 0.3s;
}
.gixo-post-content a:hover {
    color: #a855f7;
    text-decoration-color: rgba(168,85,247,0.5);
}
.gixo-post-content ul,
.gixo-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.gixo-post-content li {
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}
.gixo-post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(0,217,255,0.08), rgba(168,85,247,0.08));
    border-left: 4px solid #00d9ff;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #e2e8f0;
}
.gixo-post-content pre {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.gixo-post-content code {
    font-family: 'Fira Code', 'SF Mono', monospace;
    font-size: 0.9rem;
    word-break: break-word;
}
.gixo-post-content table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.gixo-post-content th,
.gixo-post-content td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,217,255,0.15);
    text-align: left;
}
.gixo-post-content th {
    background: rgba(0,217,255,0.1);
    font-weight: 600;
    color: #fff;
}
.gixo-post-content td { color: #cbd5e1; }
.gixo-post-content tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.gixo-post-content iframe,
.gixo-post-content video,
.gixo-post-content embed,
.gixo-post-content object { max-width: 100%; }
.gixo-post-content img {
    max-width: 100% !important;
    width: auto;
    height: auto !important;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid rgba(0,217,255,0.1);
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    box-sizing: border-box;
}
.gixo-post-content img[width],
.gixo-post-content img[style*="width"] {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}
.gixo-post-content figure { max-width: 100%; margin: 1.5rem 0; overflow: hidden; }
.gixo-post-content figcaption {
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ---- Post Page: Tags ---- */
.gixo-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,217,255,0.1);
}
.gixo-post-tags-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gixo-post-tag {
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 24px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #a855f7;
    cursor: pointer;
    transition: all 0.25s;
}
.gixo-post-tag:hover {
    background: rgba(168,85,247,0.2);
    border-color: rgba(168,85,247,0.4);
}

/* ---- Post Page: Table of Contents ---- */
.gixo-toc {
    position: sticky;
    top: 5rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: 1.25rem;
    background: rgba(36,43,71,0.4);
    border: 1px solid rgba(0,217,255,0.08);
    border-radius: 12px;
}
.gixo-toc-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 1rem;
}
.gixo-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gixo-toc-item {
    padding: 0.4rem 0;
}
.gixo-toc-link {
    display: block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    line-height: 1.4;
}
.gixo-toc-link:hover {
    color: #00d9ff;
    border-left-color: rgba(0,217,255,0.3);
}
.gixo-toc-link.active {
    color: #00d9ff;
    border-left-color: #00d9ff;
    font-weight: 600;
}
.gixo-toc-link--h3 {
    padding-left: 1.5rem;
    font-size: 0.75rem;
}

/* ---- Post Page: Related Posts ---- */
.gixo-related-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,217,255,0.1);
}
.gixo-related-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.gixo-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.gixo-related-card {
    background: rgba(36,43,71,0.6);
    border: 1px solid rgba(0,217,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}
.gixo-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,217,255,0.3);
    box-shadow: 0 10px 30px rgba(0,217,255,0.12);
}
.gixo-related-card-image {
    height: 130px;
    background: linear-gradient(135deg, rgba(0,217,255,0.12) 0%, rgba(168,85,247,0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gixo-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gixo-related-card-content { padding: 1rem; }
.gixo-related-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gixo-related-card-date {
    font-size: 0.8125rem;
    color: #64748b;
}

/* ---- Post Page: Not Found ---- */
.gixo-post-not-found {
    text-align: center;
    padding: 6rem 2rem;
}
.gixo-post-not-found-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    opacity: 0.4;
}
.gixo-post-not-found h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.gixo-post-not-found p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .gixo-featured-post { grid-template-columns: 1fr; }
    .gixo-featured-image-wrap { min-height: 220px; }
    .gixo-post-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .gixo-toc { display: none; }
    .gixo-magazine-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .gixo-blog-hero { padding: 2.5rem 1rem 2rem; }
    .gixo-blog-hero-title { font-size: 2.5rem; }
    .gixo-blog-container { padding: 2rem 1rem; }
    .gixo-blog-controls-bar { flex-direction: column; align-items: stretch; }
    .gixo-blog-search { max-width: none; }
    .gixo-blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .gixo-featured-content { padding: 1.5rem; }
    .gixo-featured-title { font-size: 1.375rem; }
    .gixo-post-hero { padding: 2rem 1rem; }
    .gixo-post-title { font-size: 2rem; }
    .gixo-post-meta { gap: 1rem; font-size: 0.875rem; }
    .gixo-post-featured-image { padding: 0 1rem; }
    .gixo-post-layout { padding: 2rem 1rem; }
    .gixo-post-content { padding: 1.5rem; font-size: 1rem; }
    .gixo-related-grid { grid-template-columns: 1fr; }
    .gixo-newsletter-form { flex-direction: column; }
    .gixo-blog-topnav { padding: 0.75rem 1rem; }
    .gixo-share-btn { width: 36px; height: 36px; min-height: 44px; min-width: 44px; }
    .gixo-blog-list-card { flex-direction: column; gap: 0.75rem; }
    .gixo-blog-list-card-image { width: 100%; height: 140px; }
}

/* Disable hover transforms on touch */
@media (pointer: coarse) {
    .gixo-featured-post:hover,
    .gixo-blog-card:hover,
    .gixo-blog-list-card:hover,
    .gixo-related-card:hover {
        transform: none;
    }
}
