/* Reset and base styles */
.blog-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.blog-wrapper {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1e1e; /* Inverted from #ffffff */
  color: #ffffff; /* Inverted from #000000 */
  line-height: 1.1;
  padding: 0px 0; /* Removed left/right padding */
}

/* Header styles */
.blog-header {
  text-align: center;
  margin-bottom: 0px;
}

.blog-header h1 {
  font-size: 2rem;
  margin-bottom: 0px;
  color: #dddddd; /* Inverted from #222 */
}

.blog-header p {
  font-size: 1.2rem;
  color: #999999; /* Inverted from #666 */
}

.blog-video-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.blog-video-container iframe {
  max-width: 100%;
  border-radius: 8px;
}

/* NEW: Tier List Summary "Graph" */
.blog-tier-summary {
  background: #111111; /* Inverted from #fff */
  padding: 0px 0; /* Removed left/right padding */
  border-radius: 8px;
  margin-bottom: 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.blog-tier-summary h2 {
  text-align: center;
  color: #cccccc; /* Inverted from #333 */
  margin-bottom: 7px;
}

.blog-tier-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

.blog-tier-label {
  background-color: #0078D7;
  color: #fff;
  font-weight: bold;
  padding: 8px 1px;
  border-radius: 5px;
  min-width: 80px;
  text-align: center;
  margin-right: 5px;
}

.blog-tier-names {
  color: #bbbbbb; /* Inverted from #444 */
}

/* Tier-specific colors for the graph */
.blog-tier-row.tier-s .blog-tier-label { background-color: #ff7f7f; } /* S - Red */
.blog-tier-row.tier-a .blog-tier-label { background-color: #ffbf7f; } /* A - Orange */
.blog-tier-row.tier-b .blog-tier-label { background-color: #ffff7f; color: #333; } /* B - Yellow */
.blog-tier-row.tier-c .blog-tier-label { background-color: #7fff7f; color: #333; } /* C - Green */
.blog-tier-row.tier-d .blog-tier-label { background-color: #7fbfff; } /* D - Blue */
.blog-tier-row.tier-f .blog-tier-label { background-color: #b0b0b0; } /* F - Grey */


/* Tab navigation */
.blog-tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 0px;
}

.blog-tab-button {
  background-color: #bbbbbb; /* Inverted from #444 */
  color: #000; /* Inverted from #fff */
  border: none;
  padding: 10px 1px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.blog-tab-button:hover {
  background-color: #dddddd; /* Inverted from #222 */
}

.blog-tab-button.blog-active {
  background-color: #0078D7;
  color: #fff;
}

/* Tab content only */
.blog-tab-content {
  display: none;
  background-color: #1a1a1a; /* Inverted from #fff */
  padding: 0px 0; /* Removed left/right padding */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 0px;
  color: #ffffff;    /* Inverted from black (#000) */
  font-size: 14px;   /* Main text is 14px */
  min-height: 400px; /* Fixes footer jumping */
}

.blog-tab-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0078D7;
  border-top: 3px solid #333333; /* Inverted from #f0f0f0 */
  padding-top: 7px;
}

.blog-tab-content p {
  margin-bottom: 10px;
}

.blog-tab-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.blog-tab-content ul li {
  margin-bottom: 7px;
}

/* Footer */
.blog-footer {
  text-align: center;
  font-size: 0.95rem;
  color: #888888; /* Inverted from #777 */
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd; /* Inverted from #ddd */
}


/* Outer list wrapper */
.distribution-blog-list2 {
  display: flex;
  flex-direction: column;
}

/* Each blog entry */
.distribution-blog-item {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #ddd; /* Inverted from #DDD */
  padding: 20px 0;
  gap: 20px;
}

/* Author image box */
.distribution-blog-item__author-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
}

.distribution-blog-item__author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content area */
.distribution-blog-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title link */
.distribution-blog-item__title {
    font-size: 18px;
    font-weight: 600;
    color: #000000; /* Inverted from #1e1e1e */
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 4px;
}

.distribution-blog-item__title:hover {
    color: #6d4f4f; /* Inverted from #555 */
}

/* Excerpt text */
.distribution-blog-item__excerpt {
    color: #000000; /* Inverted from #444 */
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0px;
}

/* Meta info (author, date, category, comments) */
.distribution-blog-item__meta {
    font-size: 11px;
    color: #888888; /* Inverted from #777 */
    line-height: 1;
}


/*
 * ===================================================
 * UNIQUE STYLE: INVERTED TO LIGHT VIBE
 * Prefixed with 'clp-' to prevent conflicts.
 * ===================================================
 */

:root {
    --clp-bg-color: #f4f4f6;       /* Inverted from #1e1e1e */
    --clp-card-color: #ffffff;     /* Inverted from #2a2a2a */
    --clp-text-color: #000;     /* Inverted from #d0d0d0 */
    --clp-heading-color: #000;  /* Inverted from #ffffff */
    --clp-accent-color: #3b0064;   /* Inverted purple accent for light bg */
    
}

/* --- Base Body & Container Rules --- */
.clp-dark-theme-body {
    background-color: var(--clp-bg-color);
}

.clp-main-wrapper {
    font-family: Arial, sans-serif;
    color: var(--clp-text-color);
    max-width: 1100px; 
    
   
    background-color: var(--clp-card-color);
    border-radius: 8px;
  
 
}

/* --- Header Styles --- */
.clp-main-header {
    text-align: center; 
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--clp-border-color);
    margin-bottom: 2rem;
}

.clp-main-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--clp-heading-color);
    margin: 0;
    padding-bottom: 0.5rem; 
}

.clp-main-header .clp-main-subtitle {
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--clp-accent-color);
    font-weight: 400;
    margin: 0;
    padding-bottom: 0;
}

/* --- General Typography & Spacing --- */
.clp-main-wrapper p {
    font-size: calc(1em + 4px);
    line-height: 1.6;
    color: var(--clp-text-color);
    padding-bottom: 1.5rem; 
    margin: 0;
}

.clp-tab-pane > *:last-child {
    padding-bottom: 0;
}

.clp-main-wrapper h2 {
    font-size: calc(1.75rem + 2px);
    line-height: 1.3;
    color: var(--clp-heading-color);
    margin-top: 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--clp-border-color);
    padding-bottom: 1rem;
}

.clp-main-wrapper h3 {
    font-size: calc(1.25rem + 2px);
    line-height: 1.4;
    color: var(--clp-accent-color);
    margin-top: 2rem;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}

/* --- Blockquote --- */
.clp-main-wrapper blockquote {
    font-size: calc(1em + 4px);
    line-height: 1.6;
    color: var(--clp-text-color);
    border-left: 4px solid var(--clp-accent-color);
    margin: 0 0 1.5rem 0;
    padding: 1rem 0; /* Removed left/right padding */
    padding-left: 10px:
    background-color: var(--clp-bg-color);
    border-radius: 4px;
}
.clp-main-wrapper blockquote p {
    padding-bottom: 0;
}

/* --- Lists (ol, ul) --- */
.clp-main-wrapper ul,
.clp-main-wrapper ol {
    font-size: calc(1em + 4px);
    line-height: 1.6;
    color: var(--clp-text-color);
    margin-left: 20px;
    padding-left: 10px;
    padding-bottom: 1.5rem;
    margin-top: 0;
}
.clp-main-wrapper ul li,
.clp-main-wrapper ol li {
    margin-bottom: 1rem;
}
.clp-main-wrapper ul li:last-child,
.clp-main-wrapper ol li:last-child {
    margin-bottom: 0;
}


/* --- Contract Download Table --- */
.clp-contract-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.clp-contract-table td {
    width: 25%;
    vertical-align: top;
    text-align: center;
    padding: 10px 0 20px 0; /* Removed left/right padding */
}
.clp-contract-table a {
    text-decoration: none;
    font-size: 0.9em;
    line-height: 1.3;
    color: var(--clp-text-color);
    transition: all 0.3s ease;
    display: block;
}
.clp-contract-table a:hover {
    transform: translateY(-5px);
    color: var(--clp-heading-color);
}
.clp-contract-image {
    border-radius: 8px;
    margin-bottom: 10px;
    width: 120px;
    height: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    filter: grayscale(50%);
    transition: all 0.3s ease;
}
.clp-contract-table a:hover .clp-contract-image {
    filter: grayscale(0%);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.3);
}
.clp-contract-table strong {
    color: var(--clp-heading-color);
    font-weight: 600;
}

/* --- Tab System --- */
.clp-tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--clp-border-color);
}
.clp-tab-button {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--clp-text-color);
    background-color: var(--clp-card-color);
    border: 1px solid var(--clp-border-color);
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.clp-tab-button:hover {
    background-color: var(--clp-accent-color);
    color: #ffffff;
    border-color: var(--clp-accent-color);
}
.clp-tab-button.clp-active {
    background-color: var(--clp-accent-color);
    color: #ffffff;
    border-color: var(--clp-accent-color);
    box-shadow: 0 0 10px rgba(106, 13, 173, 0.3);
}
.clp-tab-pane {
    display: none;
    padding-top: 1rem;
    animation: clp-fadeIn 0.5s;
}
.clp-tab-pane.clp-active {
    display: block;
}
@keyframes clp-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Footer --- */
.clp-main-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clp-border-color);
    text-align: center;
}
.clp-main-footer p {
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--clp-text-color);
    padding-bottom: 0.5rem;
}
.clp-main-footer a {
    color: var(--clp-accent-color);
    text-decoration: none;
}
.clp-main-footer a:hover {
    text-decoration: underline;
}

/* --- Mobile Fix --- */
@media (max-width: 767px) {
    .clp-main-wrapper {
        background-color: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 1rem 0; /* Removed left/right padding */
        margin: 0; 
    }
}

/* Container for the Quick Comparison Table */
.clp-meta-summary {
    background: #f8f8fa; /* Inverted from #1a1a1a */
    border: 1px solid #e0e0e0; /* Inverted from #333 */
    border-radius: 8px;
    padding: 20px 0; /* Removed left/right padding */
    margin: 20px 0;
}

/* Comparison Table Styling */
.clp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

.clp-comparison-table th {
    text-align: left;
    background: #eaeaea; 
    color: #6a0dad;      
    padding: 12px 0;     /* <-- Change the 0 here to add left/right padding */
    border-bottom: 2px solid #ccc;
}

.clp-comparison-table td {
    padding: 12px 0;     /* <-- Change the 0 here to add left/right padding */
    border-bottom: 1px solid #eee;
    color: #333333;      
}

/* Expert Insight Box (The AI-Hook) */
.clp-expert-insight {
    background: rgba(106, 13, 173, 0.05); /* Subtle purple tint */
    border-left: 4px solid #6a0dad;
    padding: 15px 0;     /* Removed left/right padding */
    margin: 0px 0;
    border-radius: 0 8px 8px 0;
}

.clp-expert-insight h4 {
    margin-top: 0;
    color: #6a0dad;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.clp-expert-insight p {
    margin-bottom: 0;
    line-height: 1.6;
    color: #333333;      /* Inverted from #d1d1d1 */
}

/* Pro-Tip Callouts (The Human Nuance) */
.clp-pro-tip {
    background: #f0f0f4; /* Inverted from #252525 */
    border: 1px dashed #ccc; /* Inverted from #444 */
    padding: 15px 0;     /* Removed left/right padding */
    margin: 15px 0;
    border-radius: 6px;
    font-style: italic;
    color: #555555;      /* Inverted from #aaa */
}

.clp-pro-tip strong {
    color: #000000;      /* Inverted from #fff */
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-right: 8px;
}

/* Mobile Responsiveness for the Table */
@media (max-width: 600px) {
    .clp-comparison-table {
        display: block;
        overflow-x: auto;
    }
}


.clp-expert-insight,
.clp-pro-tip,
.clp-comparison-table th,
.clp-comparison-table td {
    padding-left: 10px;
    padding-right: 10px;
}


.clp-main-header {
    padding-bottom: 5px;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
}

.clp-tab-pane {
    padding-top: 0px;
}


/* Table of Contents: two columns, text 1px smaller */
.clp-main-wrapper ul.clp-toc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 5px;
    font-size: calc(1em + 3px);
    margin-top: 0;
    padding-top: 10px;
    column-count: auto;
}

.clp-main-wrapper ul.clp-toc li {
    margin-bottom: 0;
}

/* Remove extra padding below the Table of Contents heading */
.clp-main-wrapper h2:has(+ ul.clp-toc) {
    padding-bottom: 0;
}

/* Space between article sections */
.clp-tab-pane {
    padding-top: 0;
}

/* Consistent heading spacing */
.clp-main-wrapper h2,
.clp-main-wrapper h3 {
    margin: 0px 0 0;
    padding: 0px;
}

/* Prevent paragraph padding from adding extra space */
.clp-main-wrapper p:has(+ h2),
.clp-main-wrapper p:has(+ h3) {
    padding-bottom: 0;
}

/* Match the Table of Contents spacing */
.clp-main-wrapper h2:has(+ ul.clp-toc) {
    padding-bottom: 0px;
}

.clp-main-wrapper ul.clp-toc {
    padding-top: 0;
}


