/* Blog Layout */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;        
}

.blog-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #2E7D32, #1565C0);
    color: white;
    margin-bottom: 40px;
    border-bottom: 1px solid #e1e4e8;
    background-size: cover;
    background-position: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: black;
    font-size: 0.9rem;
}

.blog-meta img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.blog-meta .author-name {
    font-weight: 500;
}

.blog-meta .separator {
    margin: 0 10px;
}

.blog-content {
    line-height: 1.7;
    color: #333;
    padding-bottom: 50px;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: black;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e1e4e8;
}

.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #333;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content strong {
    font-weight: 600;
    color: #333;
}

.blog-content em {
    font-style: italic;
    color: #555;
}

.blog-content blockquote {
    border-left: 3px solid #2E7D32;
    padding-left: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.trend-showcase {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem 0;
    gap: 25px;
}

.trend-card {
    flex: 1 1 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .trend-card {
        flex: 0 0 calc(50% - 12.5px);
    }
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.trend-header {
    padding: 15px 20px;
    background-color: #2E7D32;
    color: white;
}

.trend-header h3 {
    margin: 0 !important;
    color: white !important;
    font-size: 1.3rem;
}

.trend-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.trend-image-1 {
    background-image: url('/images/blog/trend-hyper-minimalism.png');
}

.trend-image-2 {
    background-image: url('/images/blog/trend-dynamic-typography.png');
}

.trend-image-3 {
    background-image: url('/images/blog/trend-color-psychology.png');
}

.trend-image-4 {
    background-image: url('/images/blog/trend-negative-space.png');
}

.trend-image-5 {
    background-image: url('/images/blog/trend-authentic-imperfection.png');
}

.trend-image-6 {
    background-image: url('/images/blog/trend-micro-genre.png');
}

.trend-image-7 {
    background-image: url('/images/blog/trend-adaptive-covers.png');
}

.trend-impact {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.trend-content {
    padding: 20px;
}

.trend-content p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.trend-example {
    background-color: #f5f7fa;
    border-radius: 6px;
    padding: 15px;
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 15px;
}

.stats-highlight {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2rem 0;
    text-align: center;
}

.stats-highlight p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.framework-box {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2.5rem 0;
    border-left: 4px solid #2E7D32;
}

.framework-box h3 {
    margin-top: 0;
    color: #2E7D32;
}

.framework-box ol {
    margin-bottom: 0;
}

.color-psychology {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 2rem 0;
}

.color-example {
    flex: 1;
    min-width: 140px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.color-block {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.color-sci-fi {
    background: linear-gradient(135deg, #1e3c72 0%, #ff8008 100%);
}

.color-romance {
    background: linear-gradient(135deg, #ec407a 0%, #2196f3 100%);
}

.color-thriller {
    background-color: #B51123;
}

.color-info {
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
    background-color: #f5f7fa;
}

.blog-cta {
    background-color: #2E7D32;
    color: white;
    border-radius: 5px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.blog-cta h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.blog-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.blog-cta .btn {
    background-color: white;
    color: #2E7D32;
    padding: 10px 25px;
    font-size: 1.1rem;
}

.blog-cta .btn:hover {
    background-color: #f5f5f5;
}

.blog-share {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    gap: 1rem;
}

.blog-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f7fa;
    color: #555;
    transition: all 0.3s ease;
}

.blog-share a:hover {
    background-color: #2E7D32;
    color: white;
}

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e4e8;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-post-content {
    padding: 15px;
}

.related-post-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.related-post-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-content h2 {
        font-size: 1.6rem;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .color-example {
        min-width: 100%;
    }
}
        
.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content strong {
    font-weight: 600;
    color: #333;
}

.blog-content em {
    font-style: italic;
    color: #555;
}

.blog-content blockquote {
    border-left: 3px solid #2E7D32;
    padding-left: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
}

/* Color palette visualization */
.color-palette-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 2rem 0;
}

.genre-palette {
    flex: 1 1 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .genre-palette {
        flex: 0 0 calc(50% - 12.5px);
    }
}

.genre-palette:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.genre-header {
    padding: 15px 20px;
    background-color: #2E7D32;
    color: white;
}

.genre-header h3 {
    margin: 0 !important;
    color: white !important;
    font-size: 1.3rem;
}

.palette-visualization {
    height: 120px;
    display: flex;
}

.thriller-palette .palette-visualization {
    background: linear-gradient(to right, #000000 60%, #BF0000 40%);
}

.romance-palette .palette-visualization {
    background: linear-gradient(to right, #FFC0CB 40%, #F5EBE0 30%, #9C27B0 30%);
}

.scifi-palette .palette-visualization {
    background: linear-gradient(to right, #0B3D91 50%, #FF8300 50%);
}

.literary-palette .palette-visualization {
    background: linear-gradient(to right, #FFFFFF 40%, #D8CFC0 30%, #414A4C 30%);
}

.palette-insight {
    position: relative;
    padding: 15px 20px;
    border-top: 1px solid #e1e4e8;
}

.performance-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: #2E7D32;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.palette-insight p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.palette-insight p:last-child {
    margin-bottom: 0;
}

/* Color triggers section */
.color-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 2rem 0;
}

.trigger-card {
    flex: 1 1 100%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2E7D32;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .trigger-card {
        flex: 0 0 calc(50% - 20px);
    }
}

.trigger-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2E7D32;
    font-size: 1.2rem;
}

.trigger-card p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.implementation-tip {
    margin-top: 10px;
    font-style: italic;
    font-size: 0.95rem;
}

.implementation-tip strong {
    font-weight: 600;
    font-style: normal;
}

/* Statistics highlight */
.stats-highlight {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2rem 0;
    text-align: center;
}

.stats-highlight p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Technical considerations */
.technical-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 2rem 0;
}

.technical-card {
    flex: 1 1 100%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .technical-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

.technical-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.technical-card h4 i {
    margin-right: 8px;
    color: #2E7D32;
}

.technical-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.technical-card .tech-tip {
    font-weight: 500;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e1e4e8;
    font-size: 0.9rem;
}

/* Framework box */
.framework-box {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2.5rem 0;
    border-left: 4px solid #2E7D32;
}

.framework-box h3 {
    margin-top: 0;
    color: #2E7D32;
}

.framework-box ol {
    margin-bottom: 0;
}

/* Testing examples */
.testing-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 2rem 0;
}

.example-card {
    flex: 1 1 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.example-header {
    padding: 15px 20px;
    background-color: #2E7D32;
    color: white;
    font-weight: 500;
}

.example-results {
    padding: 20px;
}

.example-stats {
    display: flex;
    margin-bottom: 15px;
}

.example-stat {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.example-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 5px;
}

.example-stat-label {
    font-size: 0.8rem;
    color: #666;
}

.example-results p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.blog-cta {
    background-color: #2E7D32;
    color: white;
    border-radius: 5px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.blog-share {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    gap: 1rem;
}

.blog-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f7fa;
    color: #555;
    transition: all 0.3s ease;
}

.blog-share a:hover {
    background-color: #2E7D32;
    color: white;
}

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e4e8;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-post-content {
    padding: 15px;
}

.related-post-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.related-post-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-content h2 {
        font-size: 1.6rem;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .technical-grid {
        flex-direction: column;
    }
    
    .testing-examples {
        flex-direction: column;
    }
}

/* Typography mistake showcase */
.typography-mistakes {
    flex-wrap: wrap;
    gap: 25px;
    margin: 2rem 0;
}

.mistake-card {
    flex: 1 1 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mistake-card {
        flex: 0 0 calc(50% - 12.5px);
    }
}

.mistake-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mistake-header {
    padding: 15px 20px;
    background-color: #e74c3c;
    color: white;
}

.mistake-header h3 {
    margin: 0 !important;
    color: white !important;
    font-size: 1.3rem;
}

.mistake-content {
    padding: 20px;
}

.mistake-content p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.mistake-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e1e4e8;
    border-top: 1px solid #e1e4e8;
    overflow: hidden;
    position: relative;
}

.mistake-image img {
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.mistake-vs {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
}

.mistake-example {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mistake-example:first-child {
    border-right: 1px dashed #ccc;
}

.mistake-label {
    position: absolute;
    top: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.mistake-example:first-child .mistake-label {
    left: 10px;
}

.mistake-example:last-child .mistake-label {
    right: 10px;
}

.fix-section {
    margin-top: 15px;
    background-color: #f5f7fa;
    border-radius: 6px;
    padding: 15px;
    border-left: 3px solid #2E7D32;
}

.fix-section h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2E7D32;
    font-size: 1.1rem;
}

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

/* Impact stats */
.stats-highlight {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2rem 0;
    text-align: center;
}

.stats-highlight p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Case Studies */
.case-studies {
    margin: 2.5rem 0;
}

.case-study {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #2E7D32;
}

.case-study:last-child {
    margin-bottom: 0;
}

.case-study h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.case-study-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.case-description {
    flex: 1 1 60%;
    min-width: 280px;
}

.case-description p:last-child {
    margin-bottom: 0;
}

.case-result {
    flex: 1 1 30%;
    min-width: 180px;
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.result-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1;
    margin-bottom: 10px;
}

.result-label {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

/* Typography Testing Framework */
.framework-steps {
    counter-reset: step;
    margin: 2rem 0;
}

.framework-step {
    position: relative;
    padding: 20px;
    padding-left: 80px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.framework-step:last-child {
    margin-bottom: 0;
}

.framework-step:before {
    counter-increment: step;
    content: "Step " counter(step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2E7D32;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 0.9rem;
}

.framework-step h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.framework-step p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Resources section */
.resources-section {
    margin: 2.5rem 0;
}

.resources-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 1.5rem;
}

.resource-card {
    flex: 1 1 100%;
    position: relative;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    padding-left: 70px;
    min-height: 100px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .resource-card {
        flex: 0 0 calc(50% - 10px);
    }
}

.resource-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #2E7D32;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.resource-card h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.resource-card p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.resource-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2E7D32;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Action Plan */
.action-plan {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2.5rem 0;
    border-left: 4px solid #2E7D32;
}

.action-plan h3 {
    margin-top: 0;
    color: #2E7D32;
}

.action-plan ol {
    margin-bottom: 15px;
}

.action-step {
    margin-bottom: 8px;
    position: relative;
    padding-left: 35px;
}

.action-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background-color: #2E7D32;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.action-plan p:last-child {
    margin-bottom: 0;
}

/* Research Findings */
.research-highlight {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid #e1e4e8;
}

.research-highlight p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-style: italic;
}

.research-highlight .samples {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

/* Bestseller Elements */
.bestseller-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 2rem 0;
}

.element-card {
    flex: 1 1 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .element-card {
        flex: 0 0 calc(50% - 12.5px);
    }
}

.element-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.element-header {
    padding: 15px 20px;
    background-color: #2E7D32;
    color: white;
}

.element-header h3 {
    margin: 0 !important;
    color: white !important;
    font-size: 1.3rem;
}

.element-content {
    padding: 20px;
}

.element-content p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.stat-feature {
    background-color: #f5f7fa;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    border-left: 3px solid #2E7D32;
    display: flex;
    align-items: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2E7D32;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
    line-height: 1;
}

.stat-description {
    flex: 1;
    font-size: 0.95rem;
}

/* Category-specific styles */
.category-patterns {
    margin: 2.5rem 0;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.category-card:last-child {
    margin-bottom: 0;
}

.category-header {
    padding: 15px 20px;
    background-color: #333;
    color: white;
}

.category-content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.category-info {
    flex: 1 1 60%;
    min-width: 280px;
}

.category-info p:last-child {
    margin-bottom: 0;
}

.category-visual {
    flex: 1 1 30%;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.category-visual img {
    max-width: 100%;
    max-height: 200px;
    margin: 0;
}

.literary-header {
    background-color: #5D5C61;
}

.thriller-header {
    background-color: #1D1E2C;
}

.romance-header {
    background-color: #B06A8F;
}

.category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.category-stat {
    background-color: #f5f7fa;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    flex: 1 1 45%;
}

.category-stat strong {
    color: #2E7D32;
}

/* Implementation Section */
.implementation-steps {
    margin: 2rem 0;
}

.implementation-step {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
}

.implementation-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #2E7D32;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 1.2rem;
}

.implementation-step h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.implementation-step p {
    margin-bottom: 0;
}

/* Bestseller Checklist */
.bestseller-checklist {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    margin: 2.5rem 0;
    border-left: 4px solid #2E7D32;
}

.bestseller-checklist h3 {
    margin-top: 0;
    color: #2E7D32;
}

.checklist-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    padding: 10px 0;
    padding-left: 35px;
    border-bottom: 1px solid #e1e4e8;
    position: relative;
}

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

.checklist-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #2E7D32;
    border-radius: 4px;
}

.checklist-item strong {
    color: #2E7D32;
}


        
.blog-author {
    display: flex;
    align-items: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.blog-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-author-avatar i {
    font-size: 40px;
    color: #888;
}

.blog-author-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.blog-author-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.blog-related {
    margin-top: 60px;
}

.blog-related h3 {
    margin-bottom: 20px;
    text-align: center;
}

.blog-related-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.blog-related-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.blog-related-post:hover {
    transform: translateY(-5px);
}

.blog-related-post-image {
    height: 160px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-related-post-content {
    padding: 20px;
}

.blog-related-post-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.blog-related-post-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-related-post-link {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.blog-related-post-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Visual enhancements for the blog content */
.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

.data-metric {
    display: inline-flex;
    align-items: center;
    background-color: #e9f7fe;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    color: #0078d7;
    margin: 0 2px;
}

.data-metric i {
    font-size: 0.85rem;
    margin-right: 5px;
}

.color-sample {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 5px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.1);
}


        /* Highlight box */
        .highlight-box {
            background-color: #f8f9fa;
            border-left: 4px solid #007bff;
            padding: 20px;
            margin: 30px 0;
            border-radius: 0 4px 4px 0;
        }
        
        /* Data visualization elements */
        .data-metric {
            display: inline-flex;
            align-items: center;
            background-color: #e9f7fe;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 500;
            color: #0078d7;
            margin: 0 2px;
        }
        
        .data-metric i {
            font-size: 0.85rem;
            margin-right: 5px;
        }
        
        /* ROI Calculator */
        .roi-calculator {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 25px;
            margin: 30px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .roi-calculator h3 {
            margin-top: 0;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .calculator-form {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .form-group input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 1rem;
        }
        
        .calculator-results {
            background-color: #e9f7fe;
            padding: 15px;
            border-radius: 4px;
            margin-top: 20px;
            text-align: center;
        }
        
        .result-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: #0078d7;
            margin: 10px 0;
        }
        
        .result-label {
            font-size: 0.9rem;
            color: #495057;
        }
        
        .calculate-button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            font-weight: 500;
            cursor: pointer;
            width: 100%;
        }
        
        .calculate-button:hover {
            background-color: #0069d9;
        }
        
        /* Reading progress bar */
        .progress-container {
            position: fixed;
            top: 0;
            z-index: 1000;
            width: 100%;
            height: 4px;
            background: transparent;
        }
        
        .progress-bar {
            height: 4px;
            background: #007bff;
            width: 0%;
        }
        
        /* Back-to-top button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #007bff;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 100;
        }
        
        .back-to-top.visible {
            opacity: 1;
        }
        
        .back-to-top i {
            font-size: 1.2rem;
        }
        
        /* Case study cards */
        .case-study-card {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 20px;
            margin: 30px 0;
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        .case-study-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .case-study-header h4 {
            margin: 0;
        }
        
        .case-study-content {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }
        
        .case-study-image {
            flex: 0 0 35%;
        }
        
        .case-study-details {
            flex: 1;
        }
        
        .case-study-stats {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            text-align: center;
        }
        
        .stat-item {
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: 4px;
        }
        
        .stat-value {
            font-size: 1.4rem;
            font-weight: 700;
            color: #007bff;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        /* Chart placeholder */
        .chart-container {
            width: 100%;
            height: 300px;
            background-color: #f8f9fa;
            margin: 30px 0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
        }
        
        /* Blockquote styling */
        blockquote {
            font-style: italic;
            border-left: 4px solid #007bff;
            padding: 20px;
            margin: 30px 0;
            background-color: #f8f9fa;
            position: relative;
        }
        
        blockquote:before {
            content: "";
            font-family: Georgia, serif;
            font-size: 4rem;
            position: absolute;
            top: -20px;
            left: 10px;
            color: rgba(0, 123, 255, 0.2);
        }
        
        blockquote p {
            margin-bottom: 0;
            position: relative;
            z-index: 1;
        }
        
        blockquote cite {
            display: block;
            font-size: 0.9rem;
            margin-top: 10px;
            color: #6c757d;
            font-style: normal;
            text-align: right;
        }
        
        /* Media queries */
        @media (max-width: 992px) {
            .blog-layout {
                grid-template-columns: 1fr;
            }
            
            .blog-sidebar {
                display: none;
            }
            
            .blog-post {
                grid-column: 1;
            }
            
            .case-study-content {
                flex-direction: column;
            }
            
            .case-study-image {
                flex: 0 0 100%;
                margin-bottom: 15px;
            }
        }
        
        @media (max-width: 768px) {
            .blog-container {
                padding: 20px 15px;
            }
            
            .blog-header h1 {
                font-size: 2rem;
            }
            
            .blog-content h2 {
                font-size: 1.5rem;
            }
            
            .blog-content h3 {
                font-size: 1.2rem;
            }
            
            .blog-related-posts {
                grid-template-columns: 1fr;
            }
            
            .blog-nav .container {
                flex-direction: column;
                align-items: stretch;
            }
            
            .blog-categories {
                overflow-x: auto;
                padding-bottom: 5px;
            }
            
            .category-link {
                white-space: nowrap;
            }
            
            .blog-social-share {
                flex-wrap: wrap;
            }
            
            .share-button {
                flex: 1 0 auto;
                text-align: center;
                justify-content: center;
            }
            
            .calculator-form {
                grid-template-columns: 1fr;
            }
            
            .case-study-stats {
                grid-template-columns: 1fr;
            }
        }


         /* Table of contents */
         .blog-toc {
            position: sticky;
            top: 100px;
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 30px;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
        }
        
        .blog-toc h4 {
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        
        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .toc-list li {
            margin-bottom: 8px;
            line-height: 1.4;
        }
        
        .toc-list a {
            color: #495057;
            text-decoration: none;
            font-size: 0.95rem;
        }
        
        .toc-list a:hover {
            color: #007bff;
        }
        
        .toc-list .toc-h3 {
            padding-left: 15px;
            font-size: 0.9rem;
            color: #6c757d;
        }
        
        /* Active TOC link */
        .toc-list a.active {
            color: #007bff;
            font-weight: bold;
        }
       