/* ============================================
   PILLAR PAGES - Modern Full-Width Design
   ============================================ */

/* Reset theme constraints for pillar pages */
.pillar-wrapper,
.article-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.pillar-wrapper {
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

/* Hide default page elements */
.page-id-90 .site-header,
.page-id-88 .site-header,
.page-id-89 .site-header,
.page-id-62 .site-header,
.single-post .site-header {
    position: relative;
    z-index: 100;
}

/* ===== HERO SECTION ===== */
.pillar-hero {
    position: relative;
    padding: 50px 40px 40px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    overflow: hidden;
    text-align: left;
}

.pillar-hero--people {
    background: linear-gradient(135deg, #1a0a2e 0%, #4a1a6b 50%, #2e1a4a 100%);
}

.pillar-hero--career {
    background: linear-gradient(135deg, #0a1a0f 0%, #1a4a2e 50%, #0f2e1a 100%);
}

.pillar-hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.pillar-hero-text {
    flex: 1;
}

.pillar-label {
    display: inline-block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.pillar-title {
    font-size: 2.8em;
    font-weight: 700;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.pillar-hero--people .pillar-title {
    background: linear-gradient(90deg, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar-hero--career .pillar-title {
    background: linear-gradient(90deg, #fff, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar-tagline {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

.pillar-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 150px;
}

.pillar-stat {
    text-align: center;
}

.pillar-stat-num {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: #00d4ff;
}

.pillar-hero--people .pillar-stat-num {
    color: #a855f7;
}

.pillar-hero--career .pillar-stat-num {
    color: #00e676;
}

.pillar-stat-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pillar-hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.pillar-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

.pillar-glow--purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
}

.pillar-glow--green {
    background: radial-gradient(circle, rgba(0, 230, 118, 0.15) 0%, transparent 70%);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

/* ===== POSTS GRID ===== */
.pillar-grid-section {
    padding: 40px;
    max-width: 1260px;
    margin: 20px auto;
    background: rgba(10, 10, 26, 0.5);
    border-radius: 20px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* ===== PILLAR CARDS ===== */
.pillar-card {
    position: relative;
    background: rgba(20, 20, 35, 0.9);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.pillar-card--people:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}

.pillar-card--career:hover {
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 20px 60px rgba(0, 230, 118, 0.15);
}

.pillar-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pillar-card-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
}

.pillar-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pillar-card-date {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

.pillar-card-content {
    padding: 25px;
}

.pillar-card-title {
    font-size: 1.25em;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.pillar-card:hover .pillar-card-title {
    color: #00d4ff;
}

.pillar-card--people:hover .pillar-card-title {
    color: #a855f7;
}

.pillar-card--career:hover .pillar-card-title {
    color: #00e676;
}

.pillar-card-excerpt {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 15px;
    line-height: 1.6;
}

.pillar-card-read {
    font-size: 0.85em;
    color: #00d4ff;
    font-weight: 500;
    transition: margin-left 0.3s ease;
}

.pillar-card--people .pillar-card-read {
    color: #a855f7;
}

.pillar-card--career .pillar-card-read {
    color: #00e676;
}

.pillar-card:hover .pillar-card-read {
    margin-left: 5px;
}

/* ===== PAGINATION ===== */
.pillar-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 50px 20px;
}

.pillar-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pillar-pagination .page-numbers:hover,
.pillar-pagination .page-numbers.current {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.pillar-pagination .page-numbers.current {
    font-weight: 600;
}

/* ===== EMPTY STATE ===== */
.pillar-empty {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pillar-hero {
        padding: 40px 20px 30px;
    }
    
    .pillar-hero-content {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
    
    .pillar-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    .pillar-title {
        font-size: 2em;
    }
    
    .pillar-tagline {
        font-size: 1em;
    }
    
    .pillar-grid-section {
        padding: 20px;
        margin: 10px;
        border-radius: 16px;
    }
    
    .pillar-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar-glow {
        display: none;
    }
}

/* ============================================
   ARTICLE PAGES - Immersive Reading Experience
   ============================================ */

.article-wrapper {
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

/* ===== RETURN NAVIGATION ===== */
.article-return {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.article-back-link:hover {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

.article-back-icon {
    font-size: 1.2em;
}

.article-breadcrumb {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.4);
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #00d4ff;
}

.breadcrumb-sep {
    margin: 0 8px;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== ARTICLE HERO ===== */
.article-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    padding: 60px 40px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 26, 1) 0%, rgba(10, 10, 26, 0.5) 50%, rgba(10, 10, 26, 0.3) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.article-category {
    display: inline-block;
    font-size: 0.85em;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.article-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 25px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
}

.article-prose {
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.article-prose h2 {
    font-size: 1.6em;
    color: #fff;
    margin: 2em 0 0.8em;
}

.article-prose h3 {
    font-size: 1.3em;
    color: #fff;
    margin: 1.5em 0 0.6em;
}

.article-prose p {
    margin: 0 0 1.5em;
}

.article-prose a {
    color: #00d4ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    transition: border-color 0.3s ease;
}

.article-prose a:hover {
    border-color: #00d4ff;
}

.article-prose img {
    border-radius: 12px;
    margin: 2em 0;
}

.article-prose blockquote {
    margin: 2em 0;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #00d4ff;
    border-radius: 0 12px 12px 0;
}

.article-prose ul,
.article-prose ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.article-prose li {
    margin: 0.5em 0;
}

/* ===== ARTICLE FOOTER ===== */
.article-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding: 40px;
}

.article-footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-share {
    text-align: center;
    margin-bottom: 40px;
}

.article-share-label {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.article-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    transform: scale(1.1);
}

.share-btn--twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

.share-btn--linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
}

/* ===== ARTICLE NAV ===== */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.article-nav-link {
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
}

.article-nav-prev {
    text-align: left;
}

.article-nav-next {
    text-align: right;
}

.article-nav-label {
    display: block;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.article-nav-title {
    display: block;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* ===== BOTTOM RETURN ===== */
.article-bottom-return {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-back-link--large {
    padding: 16px 30px;
    font-size: 1em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .article-return {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .article-breadcrumb {
        display: none;
    }
    
    .article-hero {
        padding: 40px 20px;
        min-height: 280px;
    }
    
    .article-title {
        font-size: 2em;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .article-content {
        padding: 40px 20px;
    }
    
    .article-prose {
        font-size: 1em;
    }
    
    .article-nav {
        grid-template-columns: 1fr;
    }
    
    .article-nav-next {
        text-align: left;
    }
}