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

.blog-wrapper {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
  padding: 20px;
}

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

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.blog-header p {
  font-size: 1.2rem;
  color: #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: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-tier-summary h2 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
}

.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 12px;
  border-radius: 5px;
  min-width: 80px;
  text-align: center;
  margin-right: 10px;
}

.blog-tier-names {
  color: #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: 10px;
  margin-bottom: 20px;
}

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

.blog-tab-button:hover {
  background-color: #222;
}

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

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

.blog-tab-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0078D7;
  border-top: 3px solid #f0f0f0; /* NEW: Structural separator */
  padding-top: 20px; /* NEW: Spacing for separator */
}

.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: 8px;
}

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










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

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

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

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

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

/* Title link */
.photo-blog-item__title {
    font-size: 18px; /* This is 20px, which is a good title size */
    font-weight: 600;
    color: #1e1e1e;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 4px;
}

.photo-blog-item__title:hover {
    color: #555;
}

/* Excerpt text */
.photo-blog-item__excerpt {
    color: #444;
    font-size: 13px; /* <-- CHANGED FROM 0.95rem */
    line-height: 1.5;
    margin-bottom: 0px;
}

/* Meta info (author, date, category, comments) */
.photo-blog-item__meta {
    font-size: 11px; /* <-- CHANGED FROM 0.85rem */
    color: #777;
    line-height: 1;
}



/*
 * ===================================================
 * UNIQUE STYLE: MODERN DARK (MUSIC STUDIO VIBE)
 * Prefixed with 'clp-' to prevent conflicts.
 * VERSION 3 (with requested font size increases)
 * ===================================================
 */

:root {
    --clp-bg-color: #1e1e1e;
    --clp-card-color: #2a2a2a;
    --clp-text-color: #d0d0d0;
    --clp-heading-color: #ffffff;
    --clp-accent-color: #9370DB; /* Electric Purple */
    --clp-border-color: #444444;
}

/* --- 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; 
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: var(--clp-card-color);
    border-radius: 8px;
    border: 1px solid var(--clp-border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Header Styles (FIXED) --- */
.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; /* 40px */
    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; /* 20px */
    line-height: 1.4;
    color: var(--clp-accent-color);
    font-weight: 400;
    margin: 0;
    padding-bottom: 0;
}

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

/* Set 0 padding for the last element in a tab */
.clp-tab-pane > *:last-child {
    padding-bottom: 0;
}

.clp-main-wrapper h2 {
    /* UPDATED: Increased font size by 2px */
    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 {
    /* UPDATED: Increased font size by 2px */
    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 {
    /* UPDATED: Increased font size by 2px */
    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 1.5rem;
    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 {
    /* UPDATED: Increased font size by 2px */
    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 10px 20px 10px;
}
.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.3);
    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(147, 112, 219, 0.4);
}
.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: 10px;
    padding-bottom: 20px;
    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: var(--clp-heading-color);
    border-color: var(--clp-accent-color);
}
.clp-tab-button.clp-active {
    background-color: var(--clp-accent-color);
    color: var(--clp-heading-color);
    border-color: var(--clp-accent-color);
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}
.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;
        margin: 0; 
    }
}