/* Blog-specific styles */

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-list a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Posts */
.featured-posts {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category {
    background-color: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Categories Section */
.blog-categories {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 a {
    color: #333;
    text-decoration: none;
}

.category-card h3 a:hover {
    color: #007bff;
}

.category-stats {
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #218838;
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog Post Styles */
.blog-post {
    padding: 2rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

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

.post-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.post-image {
    margin-bottom: 3rem;
}

.post-image img {
    width: 100%;
    border-radius: 12px;
}

/* Table of Contents */
.table-of-contents {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.table-of-contents h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    padding: 0.25rem 0;
}

.table-of-contents a {
    color: #007bff;
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Content Boxes */
.highlight-box,
.regulation-box,
.strategy-box,
.case-study-box,
.warning-box,
.cta-box,
.expert-consultation {
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box {
    background-color: #e7f3ff;
    border-left: 4px solid #007bff;
}

.regulation-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.strategy-box.failing {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.case-study-box {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.warning-box {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.cta-box,
.expert-consultation {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #28a745;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #f8f9fa;
    color: #20c997;
}

/* Tables */
.comparison-table,
.impact-table,
.terms-table,
.tax-comparison,
.cgt-changes,
.exit-methods,
.decision-matrix {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.comparison-table th,
.impact-table th,
.terms-table th,
.tax-comparison th,
.cgt-changes th,
.exit-methods th,
.decision-matrix th {
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.comparison-table td,
.impact-table td,
.terms-table td,
.tax-comparison td,
.cgt-changes td,
.exit-methods td,
.decision-matrix td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #dee2e6;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
}

/* Related Articles */
.related-articles {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

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

.related-post {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.related-post h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.related-post h3 a {
    color: #333;
    text-decoration: none;
}

.related-post h3 a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .author-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .featured-grid,
    .categories-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Additional content elements */
.key-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

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

.before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.arrow {
    font-size: 2rem;
    color: #007bff;
}

.process-flow {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step-number {
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .key-stats {
        flex-direction: column;
        gap: 1rem;
    }
}