/* ============================================
   POLITICAL TYPES - COMPLETE STYLES
   Version 2.0 - Includes all detail page styles
   ============================================ */

/* ============================================
   PAGE LAYOUT
   ============================================ */

.page-container {
    min-height: 100vh;
    background: var(--dark);
}

/* Content Wrappers */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.content-wrapper.wide {
    max-width: 1100px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
}

.breadcrumbs a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumbs a:hover {
    color: var(--accent-green);
}

.breadcrumbs span {
    color: var(--gray-600);
    margin: 0 var(--space-2);
}

.breadcrumbs .current {
    color: var(--gray-400);
}

/* ============================================
   HERO SECTION (Strain Pages)
   ============================================ */

.type-hero {
    padding: var(--space-8) 0 var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.type-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    margin-bottom: var(--space-4);
}

.haplotype-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all var(--transition-base);
}

.haplotype-badge:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

.rarity-badge {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-full);
}

.rarity-badge strong {
    color: var(--accent-green);
}

.type-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
}

.type-tagline {
    font-size: var(--text-xl);
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.type-orientation {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.type-orientation strong {
    color: var(--accent-green);
}

/* ============================================
   SUMMARY BOX
   ============================================ */

.summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.summary-item h4 {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.summary-item p {
    color: var(--gray-300);
    font-size: var(--text-sm);
}

/* Dimension Bars (Summary) */
.dimension-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.dimension-row {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    gap: var(--space-3);
    align-items: center;
}

.dimension-label {
    font-size: var(--text-xs);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dimension-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.dimension-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-purple));
    border-radius: var(--radius-full);
    transition: width 0.6s ease-out;
}

.dimension-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent-green);
    text-align: right;
}

/* Related Strains */
.related-strains {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.related-strain-link {
    font-size: var(--text-sm);
    color: var(--accent-purple);
    text-decoration: none;
    padding: var(--space-1) var(--space-3);
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.related-strain-link:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--white);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: var(--space-10) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section:last-of-type {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.section-icon {
    font-size: var(--text-2xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* Section Content (Understanding This Type paragraphs) */
.section-content {
    color: var(--gray-300);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: var(--space-4);
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   DIMENSION ANALYSIS (Detailed Breakdown)
   ============================================ */

.dimension-analysis {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.dimension-detail {
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.dimension-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.dimension-detail-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.dimension-detail-title span {
    font-size: var(--text-xl);
}

.dimension-detail-title h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.dimension-detail-score {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent-green);
}

.dimension-detail-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.dimension-detail-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-purple));
    border-radius: var(--radius-full);
}

.dimension-detail-content {
    color: var(--gray-400);
    line-height: 1.7;
}

.dimension-detail-content p {
    margin-bottom: var(--space-3);
}

.dimension-examples {
    margin-top: var(--space-4);
    padding-left: var(--space-6);
    border-left: 2px solid rgba(6, 255, 165, 0.2);
    list-style: disc;
    list-style-position: outside;
}

.dimension-examples li {
    color: var(--gray-400);
    margin-bottom: var(--space-2);
    line-height: 1.6;
    padding-left: var(--space-2);
}

.dimension-examples li::marker {
    color: var(--accent-green);
}

/* ============================================
   BELIEFS LIST
   ============================================ */

.beliefs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.belief-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.belief-item:last-child {
    border-bottom: none;
}

.belief-marker {
    color: var(--accent-green);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.belief-text {
    color: var(--gray-300);
    line-height: 1.6;
}

/* Internal Tensions Subsection */
.beliefs-tensions {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: var(--radius-lg);
}

.tensions-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: #ffa500;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tensions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tension-item {
    color: var(--gray-400);
    padding: var(--space-2) 0;
    padding-left: var(--space-4);
    border-left: 2px solid rgba(255, 165, 0, 0.3);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.tension-item:last-child {
    margin-bottom: 0;
}

/* ============================================
   PEOPLE GRID (Thinkers, Influencers)
   ============================================ */

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-4);
}

.person-card {
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.person-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.person-name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.person-desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.5;
}

.person-desc em {
    font-style: italic;
    color: var(--gray-400);
}

/* ============================================
   COMMUNITIES GRID
   ============================================ */

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.community-card {
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-2);
}

.community-name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
}

.community-platform {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
    padding: 2px var(--space-2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.community-desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.5;
}

/* ============================================
   COMPARISON TABLES
   ============================================ */

.comparison-tables {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.comparison-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.comparison-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.comparison-relation {
    font-weight: 400;
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td {
    color: var(--gray-300);
    font-size: var(--text-sm);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    color: var(--accent-green);
    font-weight: 600;
}

.comparison-table th.highlight {
    background: rgba(6, 255, 165, 0.08);
}

/* Comparison table intro text */
.comparison-intro {
    color: var(--gray-400);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

/* ============================================
   CRITIQUES SECTION
   ============================================ */

.critiques-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.critique-item {
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.critique-challenge {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--gray-300);
    line-height: 1.6;
}

.critique-challenge strong {
    color: var(--white);
}

.critique-marker {
    color: var(--accent-red);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.critique-response {
    padding-left: calc(var(--space-3) + var(--text-lg));
    color: var(--gray-400);
    line-height: 1.7;
    border-left: 2px solid rgba(6, 255, 165, 0.2);
    padding-left: var(--space-4);
    margin-left: var(--space-4);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--space-5);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.faq-question h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.faq-icon {
    color: var(--accent-green);
    font-size: var(--text-xl);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--gray-400);
    line-height: 1.7;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--space-12) 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(6, 255, 165, 0.08) 0%, transparent 70%);
}

.cta-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-text {
    color: var(--gray-400);
    margin-bottom: var(--space-6);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: var(--accent-green);
    color: var(--dark);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 255, 165, 0.3);
    color: var(--dark);
}

/* ============================================
   ADJACENT STRAINS NAVIGATION
   ============================================ */

.adjacent-strains {
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.adjacent-title {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    text-align: center;
}

.adjacent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.adjacent-link {
    display: block;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.adjacent-link:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.adjacent-link .strain-name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-1);
}

.adjacent-link .strain-family {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent-purple);
    text-transform: uppercase;
}

/* ============================================
   INDEX PAGE STYLES
   ============================================ */

.index-hero {
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.index-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.index-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.index-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

/* Haplotypes Overview */
.haplotypes-overview {
    padding: var(--space-12) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.haplotypes-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-5);
}

.haplotype-overview-card {
    display: block;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

.haplotype-overview-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.haplotype-overview-icon {
    font-size: var(--text-4xl);
    display: block;
    margin-bottom: var(--space-3);
}

.haplotype-overview-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.haplotype-overview-tagline {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.haplotype-overview-stats {
    display: flex;
    gap: var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.haplotype-overview-stats span {
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

/* All Types Section */
.all-types-section {
    padding: var(--space-12) 0;
}

.type-family-group {
    margin-bottom: var(--space-8);
}

.type-family-header {
    margin-bottom: var(--space-4);
}

.type-family-header a {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-base);
}

.type-family-header a:hover {
    color: var(--accent-purple);
}

.type-family-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-3);
}

.type-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.type-list-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.type-list-name {
    font-size: var(--text-sm);
    color: var(--white);
}

.type-list-rarity {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent-green);
}

/* ============================================
   HAPLOTYPE PAGE STYLES
   ============================================ */

.belief-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.belief-card {
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.belief-card .belief-icon {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    display: block;
}

.belief-card .belief-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.belief-card .belief-desc {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.6;
}

/* Divides Section */
.divides-section {
    padding: var(--space-12) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.divides-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.divide-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
}

.divide-pole {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.divide-pole.left {
    text-align: right;
}

.divide-pole.right {
    text-align: left;
}

.divide-spectrum {
    width: 60px;
}

.divide-line {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--gray-600), var(--accent-green));
}

/* Other Haplotypes */
.other-haplotypes {
    padding: var(--space-12) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.haplotypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-3);
}

.haplotype-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.haplotype-link:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.haplotype-link.current {
    border-color: var(--accent-green);
    background: rgba(6, 255, 165, 0.05);
}

.haplotype-link-icon {
    font-size: var(--text-xl);
}

.haplotype-link-name {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 640px) {
    .dimension-row {
        grid-template-columns: 80px 1fr 35px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: var(--text-xs);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: var(--space-3);
    }
    
    .divide-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2);
    }
    
    .divide-pole.left,
    .divide-pole.right {
        text-align: center;
    }
    
    .type-tagline {
        margin-bottom: var(--space-4);
    }
    
    .dimension-detail {
        padding: var(--space-4);
    }
    
    .dimension-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    .dimension-detail-score {
        font-size: var(--text-xl);
    }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
    .content-wrapper.wide {
        max-width: 900px;
    }
    
    .people-grid,
    .communities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ==========================================================================
   HAPLOTYPE PAGE STYLES
   Styles for the 8 haplotype landing pages (libertarian, progressive, etc.)
   ========================================================================== */

/* Haplotype Hero Section */
.haplotype-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: var(--space-12) 0 var(--space-10);
    text-align: center;
    border-bottom: 1px solid var(--gray-700);
}

.haplotype-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-4);
}

.haplotype-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 var(--space-2);
    letter-spacing: -0.02em;
}

.haplotype-subtitle {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.haplotype-tagline {
    font-size: var(--text-xl);
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto var(--space-6);
    line-height: 1.6;
}

.haplotype-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.haplotype-stats .stat {
    text-align: center;
}

.haplotype-stats .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--accent-green);
}

.haplotype-stats .stat-label {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

/* Overview Section */
.overview-section {
    padding: var(--space-10) 0;
    background: var(--gray-900);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.overview-content p {
    font-size: var(--text-lg);
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.overview-content p:last-child {
    margin-bottom: 0;
}

/* Dimensions Section */
.dimensions-section {
    padding: var(--space-10) 0;
    background: var(--gray-800);
}

.dimension-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.dimension-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.dimension-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.dimension-card-icon {
    font-size: 1.5rem;
}

.dimension-card-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
}

.dimension-range {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.range-bar {
    height: 8px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.range-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-purple));
    border-radius: var(--radius-full);
}

.range-values {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--gray-400);
    text-align: center;
}

/* Strains Section */
.strains-section {
    padding: var(--space-10) 0;
    background: var(--gray-900);
}

.strains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.strain-card {
    display: block;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-decoration: none;
    transition: all 0.2s ease;
}

.strain-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.strain-card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-2);
}

.strain-rarity {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-400);
}

.strain-rarity strong {
    color: var(--accent-green);
}

.strain-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 var(--space-3);
}

.strain-desc {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.strain-dimensions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-700);
}

.mini-dimension {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.mini-dimension .value {
    color: var(--gray-300);
    font-weight: 600;
}

.strain-link {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--accent-green);
    display: inline-block;
}

.strain-card:hover .strain-link {
    color: var(--white);
}

/* Beliefs Section (for haplotype pages) */
.beliefs-section {
    padding: var(--space-10) 0;
    background: var(--gray-800);
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-10) 0;
    background: var(--gray-900);
}

/* Responsive: Haplotype Pages */
@media (max-width: 1024px) {
    .dimension-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beliefs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .haplotype-hero {
        padding: var(--space-8) 0;
    }
    
    .haplotype-icon {
        font-size: 3rem;
    }
    
    .haplotype-title {
        font-size: var(--text-3xl);
    }
    
    .haplotype-tagline {
        font-size: var(--text-base);
    }
    
    .haplotype-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .dimension-cards {
        grid-template-columns: 1fr;
    }
    
    .strains-grid {
        grid-template-columns: 1fr;
    }
    
    .beliefs-grid {
        grid-template-columns: 1fr;
    }
    
    .strain-dimensions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LUCIDE ICON SYSTEM
   SVG icons styled for Political DNA aesthetic
   ========================================================================== */

/* Section Header Icons */
.section-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.section-header .section-icon-svg {
    width: 32px;
    height: 32px;
}

/* Dimension Icons */
.dimension-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
}

.dimension-detail-title .dimension-icon-svg {
    width: 28px;
    height: 28px;
}

.dimension-row .dimension-icon-svg {
    width: 20px;
    height: 20px;
}

.dimension-card .dimension-icon-svg {
    width: 28px;
    height: 28px;
    margin-bottom: var(--space-2);
}

/* Haplotype Icons */
.haplotype-icon-svg {
    width: 64px;
    height: 64px;
    color: var(--accent-green);
    margin-bottom: var(--space-4);
}

.haplotype-link .haplotype-icon-svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
}

.haplotype-badge .haplotype-icon-svg {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
    vertical-align: middle;
    margin-right: var(--space-1);
}

/* Belief Card Icons */
.belief-icon-svg {
    width: 40px;
    height: 40px;
    color: var(--accent-green);
    margin-bottom: var(--space-3);
}

.belief-card .belief-icon-svg {
    display: block;
    margin: 0 auto var(--space-3);
}

/* UI Icons */
.ui-icon-svg {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.faq-icon .ui-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--gray-400);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon .ui-icon-svg {
    transform: rotate(45deg);
    color: var(--accent-green);
}

/* Related strain link icons */
.strain-link .ui-icon-svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: var(--space-1);
}

/* Icon hover effects */
.strain-card:hover .dimension-icon-svg,
.haplotype-link:hover .haplotype-icon-svg {
    color: var(--white);
}

/* Summary box dimension icons */
.summary-item .dimension-icon-svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: var(--space-1);
}

/* Responsive icon sizing */
@media (max-width: 640px) {
    .section-icon-svg {
        width: 24px;
        height: 24px;
    }
    
    .section-header .section-icon-svg {
        width: 28px;
        height: 28px;
    }
    
    .haplotype-icon-svg {
        width: 48px;
        height: 48px;
    }
    
    .belief-icon-svg {
        width: 32px;
        height: 32px;
    }
}

/* Haplotype Link Icons (smaller, for navigation grid) */
.haplotype-link-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
    margin-bottom: var(--space-2);
}

.haplotype-link:hover .haplotype-link-icon-svg {
    color: var(--white);
}

.haplotype-link.current .haplotype-link-icon-svg {
    color: var(--accent-green);
}

/* Haplotype Link Icons (in All 8 Haplotypes grid) */
.haplotype-link-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.haplotype-link:hover .haplotype-link-icon-svg {
    color: var(--white);
}

.haplotype-link.current .haplotype-link-icon-svg {
    color: var(--white);
}

/* Mini dimension icons in strain cards */
.mini-dimension .dimension-icon-svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 2px;
}
/* =============================================
   LANDING PAGE SVG ICON STYLES
   ============================================= */

/* Haplotype Overview Cards (8 cards grid on landing page) */
.haplotype-overview-icon-svg {
    width: 40px;
    height: 40px;
    color: var(--accent-green);
    display: block;
    margin-bottom: var(--space-3);
}

.haplotype-overview-card:hover .haplotype-overview-icon-svg {
    color: var(--white);
}

/* Type Family Headers (in the 32 strains list) */
.type-family-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
    vertical-align: middle;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.type-family-header a:hover .type-family-icon-svg {
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .haplotype-overview-icon-svg {
        width: 32px;
        height: 32px;
    }
    
    .type-family-icon-svg {
        width: 18px;
        height: 18px;
    }
}