/* ========================================
   Blog Post Article Styles
   ======================================== */

/* Article Header */
.blog-post-header {
    background: linear-gradient(135deg, #004FBE 0%, #0066FF 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 3rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    opacity: 0.8;
}

/* Content Layout */
.blog-post-content {
    padding: 0 0 4rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-number {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 12px;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem;
}

.content-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 1rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.25rem;
}

.lead {
    font-size: 1.25rem !important;
    font-weight: 500;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 2rem;
}

/* Lists */
.stat-list,
.mistake-list,
.tool-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.stat-list li,
.mistake-list li,
.tool-list li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    border-bottom: 1px solid #f3f4f6;
}

.stat-list li:before {
    content: "📊";
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

.mistake-list li:before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ef4444;
    font-size: 1.2rem;
}

.tool-list li {
    padding-left: 2.5rem;
}

.tool-list i {
    color: #10b981;
    margin-right: 0.75rem;
}

/* Callout Boxes */
.callout-box {
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.callout-box i {
    font-size: 2rem;
    flex-shrink: 0;
}

.callout-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.callout-box.info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.callout-box.info i {
    color: #3b82f6;
}

.callout-box.success {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
}

.callout-box.success i {
    color: #10b981;
}

.callout-box.warning {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
}

.callout-box.warning i {
    color: #f59e0b;
}

/* Table of Contents */
.toc-section {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
}

.toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
}

.toc ol li {
    counter-increment: toc-counter;
    margin: 0.75rem 0;
    position: relative;
    padding-left: 2.5rem;
}

.toc ol li:before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    background: #004FBE;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.toc a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.toc a:hover {
    color: #004FBE;
}

/* Example Boxes */
.example-box {
    background: #f9fafb;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.example-box h4 {
    color: #10b981;
    margin-top: 0;
    margin-bottom: 1rem;
}

.example-box p,
.example-box em {
    font-size: 1rem;
    color: #374151;
    font-style: italic;
}

.example-box ul {
    margin: 1rem 0 0;
    padding-left: 1.5rem;
}

.example-box li {
    margin: 0.5rem 0;
}

/* Keyword Types */
.keyword-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.keyword-type {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.keyword-type h4 {
    color: #004FBE;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.keyword-type p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.keyword-type ul {
    list-style: none;
    padding-left: 0;
}

.keyword-type li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.95rem;
    border-bottom: 1px solid #e5e7eb;
}

.keyword-type li:before {
    content: "🔍";
    margin-right: 0.5rem;
}

/* Tables */
.ranking-table,
.posting-schedule,
.metrics-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.ranking-table thead,
.posting-schedule thead,
.metrics-table thead {
    background: #004FBE;
    color: white;
}

.ranking-table th,
.posting-schedule th,
.metrics-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.ranking-table td,
.posting-schedule td,
.metrics-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.ranking-table tbody tr:hover,
.posting-schedule tbody tr:hover,
.metrics-table tbody tr:hover {
    background: #f9fafb;
}

.rank-good {
    color: #10b981;
    font-weight: 700;
}

.rank-medium {
    color: #f59e0b;
    font-weight: 700;
}

.rank-bad {
    color: #ef4444;
    font-weight: 700;
}

/* Photo Strategy */
.photo-strategy,
.qa-strategy,
.review-system {
    margin: 2rem 0;
}

.strategy-item,
.review-system h4 {
    margin-bottom: 2rem;
}

.strategy-item h4 {
    color: #004FBE;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.strategy-item ul {
    list-style: none;
    padding-left: 0;
}

.strategy-item li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.strategy-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Post Types */
.post-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.post-type-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.post-type-card h4 {
    color: #004FBE;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.post-type-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.post-type-card strong {
    color: #1f2937;
    display: block;
    margin-top: 1rem;
}

/* Q&A Examples */
.qa-examples {
    margin: 2rem 0;
}

.qa-example {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.qa-example .question {
    color: #004FBE;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.qa-example .answer {
    color: #374151;
    line-height: 1.7;
}

/* Growth Stats */
.growth-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.stat-detail {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Mistakes Section */
.mistakes-list {
    margin: 2rem 0;
}

.mistake-item {
    background: white;
    border: 2px solid #fee2e2;
    border-left: 6px solid #ef4444;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.mistake-number {
    display: inline-block;
    background: #ef4444;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 8px;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.mistake-item h3 {
    color: #991b1b;
    margin-top: 0;
}

.mistake-item .problem {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid #ef4444;
}

.mistake-item .fix {
    background: #ecfdf5;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid #10b981;
}

.mistake-item .example,
.mistake-item .tip {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid #6b7280;
}

/* Action Plan */
.action-plan {
    margin: 2rem 0;
}

.action-week {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.action-week h3 {
    color: #004FBE;
    background: #eff6ff;
    padding: 1rem;
    border-radius: 8px;
    margin: -2rem -2rem 1.5rem -2rem;
}

.action-day {
    margin-bottom: 1.5rem;
}

.action-day h4 {
    color: #10b981;
    margin-bottom: 0.75rem;
}

.action-day ul {
    list-style: none;
    padding-left: 0;
}

.action-day li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.action-day li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* Conclusion Section */
.conclusion-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-top: 4px solid #004FBE;
}

.big-quote {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: #004FBE;
    border-left: 6px solid #10b981;
    padding-left: 2rem;
    margin: 2rem 0;
    line-height: 1.6;
}

.author-cta-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #004FBE;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.author-cta-box h3 {
    color: #004FBE;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-option {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cta-option h4 {
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-option p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary,
.btn-primary-full {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary,
.btn-primary-full {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-primary:hover,
.btn-primary-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #004FBE;
    border: 2px solid #004FBE;
}

.btn-secondary:hover {
    background: #004FBE;
    color: white;
}

.btn-primary-full {
    display: block;
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.closing-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin: 2rem 0;
}

.signature {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 2rem;
}

.signature em {
    display: block;
    font-weight: 400;
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Related Posts */
.related-posts-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-posts-section h2 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.post-category {
    display: inline-block;
    background: #eff6ff;
    color: #004FBE;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.related-post-card h3 {
    font-size: 1.2rem;
    margin: 0.75rem 0;
}

.related-post-card h3 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-card h3 a:hover {
    color: #004FBE;
}

.related-post-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.read-more {
    color: #004FBE;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Comments Section */
.comments-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comments-section h2 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.comment-cta {
    background: #f9fafb;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.comment-cta p {
    margin-bottom: 0.5rem;
}

.comment-cta a {
    color: #004FBE;
    text-decoration: none;
    font-weight: 600;
}

.comment-cta a:hover {
    text-decoration: underline;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.author-bio {
    text-align: center;
}

.author-image {
    font-size: 4rem;
    color: #004FBE;
    margin-bottom: 1rem;
}

.author-bio h4 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.author-bio p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.quick-links,
.popular-posts {
    list-style: none;
    padding-left: 0;
}

.quick-links li,
.popular-posts li {
    margin-bottom: 0.75rem;
}

.quick-links a,
.popular-posts a {
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.quick-links a:hover,
.popular-posts a:hover {
    color: #004FBE;
}

.quick-links a:before {
    content: "→ ";
    color: #10b981;
    font-weight: 700;
    margin-right: 0.5rem;
}

.cta-widget {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.cta-widget h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* CTA Text Links */
.cta-text {
    background: #eff6ff;
    border-left: 4px solid #10b981;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.text-cta {
    color: #004FBE;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid #10b981;
    transition: all 0.3s;
}

.text-cta:hover {
    color: #10b981;
    border-bottom-color: #004FBE;
}

/* Checklist Style */
.checklist {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.checklist h4 {
    color: #004FBE;
    margin-top: 0;
    margin-bottom: 1rem;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

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

.checklist i {
    position: absolute;
    left: 0;
    color: #10b981;
    font-size: 1.2rem;
}

/* Post Formula */
.post-formula {
    background: #f9fafb;
    border-left: 4px solid #004FBE;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-formula li {
    margin: 1rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Review Response Examples */
.review-response-examples {
    margin: 2rem 0;
}

.response-example {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.response-example h5 {
    color: #004FBE;
    margin-top: 0;
    margin-bottom: 1rem;
}

.response-example p {
    font-style: italic;
    color: #374151;
}

/* Code Block */
.code-block {
    background: #1f2937;
    color: #10b981;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        max-width: 100%;
    }

    .article-title {
        font-size: 2rem;
    }

    .section-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .blog-post-header {
        padding: 2rem 0 1.5rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
    }

    .content-section p,
    .lead {
        font-size: 1rem;
    }

    .section-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    .callout-box {
        flex-direction: column;
        padding: 1.5rem;
    }

    .big-quote {
        font-size: 1.25rem;
        padding-left: 1.5rem;
    }

    .growth-stats,
    .keyword-types,
    .post-types,
    .cta-options {
        grid-template-columns: 1fr;
    }

    .author-cta-box {
        padding: 1.5rem;
    }

    .ranking-table,
    .posting-schedule,
    .metrics-table {
        font-size: 0.9rem;
    }

    .ranking-table th,
    .posting-schedule th,
    .metrics-table th,
    .ranking-table td,
    .posting-schedule td,
    .metrics-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .callout-box i {
        font-size: 1.5rem;
    }
}
