/* Blog Post Styling */

/* Main article container */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    line-height: 1.8;
    color: #333;
}

/* Header section */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.blog-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-date {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Content area */
.blog-content {
    font-size: 1.05rem;
}

/* Section headers - emphasized hierarchy */
.blog-content .atten {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 2.5rem 0 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.blog-content .atten p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.blog-content .atten b {
    font-weight: 700;
}

/* Sub-section headers */
.blog-content .fquote {
    background: linear-gradient(to right, #e3f2fd, #f8f9fa);
    border-left: 6px solid #007bff;
    padding: 1rem 1.5rem;
    margin: 2.5rem 0 1.5rem 0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
}

.blog-content .fquote p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0056b3;
    text-transform: none;
    letter-spacing: 0.3px;
}

.blog-content .fquote b {
    font-weight: 700;
}

/* Paragraphs */
.blog-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Blockquotes - for content sections */
.blog-content blockquote {
    margin: 1rem 0;
    padding: 0;
    border: none;
}

.blog-content blockquote>p {
    margin-bottom: 0.75rem;
}

.blog-content blockquote>blockquote {
    margin-left: 1.5rem;
    padding-left: 0;
}

/* Bold text emphasis */
.blog-content b,
.blog-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* Lists */
.blog-content ul {
    margin: 1rem 0 1rem 2rem;
    padding: 0;
}

.blog-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Code blocks and callouts */
.blog-content .code {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.blog-content .code p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
}

.blog-content .code strong {
    color: #856404;
}

/* Images - centered and responsive */
.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-content p[style*="text-align:center"] img {
    margin-left: auto;
    margin-right: auto;
}

/* Image captions */
.blog-content p[style*="text-align:center"] span {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Tables - centered and styled */
.blog-content table {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.blog-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.blog-content table td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    width: 30%;
}

.blog-content table a {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
}

.blog-content table a:hover {
    text-decoration: underline;
}

/* Horizontal rules */
.blog-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, transparent, #007bff, transparent);
    margin: 1rem 0;
    opacity: 0.6;
}

/* Links */
.blog-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.blog-content a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Inline images (icons/buttons) */
.blog-content img[width="45"],
.blog-content img[width="47"],
.blog-content img[width="296"] {
    display: inline;
    margin: 0 0.25rem;
    vertical-align: middle;
    box-shadow: none;
    border-radius: 4px;
}

/* File attachments section */
.blog-attachments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.blog-attachments .attachBlock {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.blog-attachments .attachBlock b {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.blog-attachments .attachItem {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.blog-attachments .attachItem a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.blog-attachments .attachItem a:hover {
    text-decoration: underline;
}

.blog-attachments .attachSize {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Warning/info icons */
.blog-content span:first-child {
    line-height: inherit;
}

/* Responsive design */
@media (max-width: 768px) {
    .blog-article {
        padding: 1.5rem 1rem;
    }

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .blog-content {
        font-size: 1rem;
    }

    .blog-content .atten p {
        font-size: 1.2rem;
    }

    .blog-content .fquote p {
        font-size: 1.1rem;
    }

    .blog-content blockquote>blockquote {
        margin-left: 1rem;
    }

    .blog-content table {
        font-size: 0.9rem;
    }

    .blog-content img {
        margin: 1.5rem auto;
    }
}

/* Print styles */
@media print {
    .blog-article {
        max-width: 100%;
    }

    .blog-content a {
        color: #000;
        text-decoration: underline;
    }

    .blog-content img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}