/**
 * Blog Styles - DMC Quote Travel Portal
 * Additional styling for blog pages
 */

/* Typography Enhancements */
.article-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Highlighted Text */
.article-content mark {
    background-color: #B2EBF2;
    color: #00ACC1;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Code Blocks */
.article-content code {
    background-color: #f4f4f4;
    color: #e91e63;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.article-content pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.article-content pre code {
    background: none;
    color: #ecf0f1;
    padding: 0;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-content table th {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.article-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.article-content table tr:last-child td {
    border-bottom: none;
}

.article-content table tr:hover {
    background-color: #f8f9fa;
}

/* Call-out Boxes */
.callout {
    padding: 20px 25px;
    margin: 30px 0;
    border-left: 5px solid #00BCD4;
    background: #E0F7FA;
    border-radius: 4px;
}

.callout-warning {
    border-left-color: #ff9800;
    background: #fff3e0;
}

.callout-success {
    border-left-color: #4caf50;
    background: #e8f5e9;
}

.callout-info {
    border-left-color: #2196f3;
    background: #e3f2fd;
}

/* Image Captions */
.article-content figure {
    margin: 30px 0;
}

.article-content figcaption {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* Pull Quotes */
.pull-quote {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00BCD4;
    text-align: center;
    padding: 30px 20px;
    margin: 40px 0;
    position: relative;
}

.pull-quote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 20px;
    color: #B2EBF2;
    opacity: 0.3;
}

/* Numbered Lists Enhancement */
.article-content ol {
    counter-reset: item;
    list-style: none;
}

.article-content ol li {
    counter-increment: item;
    position: relative;
    padding-left: 15px;
}

.article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: -30px;
    top: 0;
    background: #00BCD4;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Bullet Lists Enhancement */
.article-content ul li::marker {
    color: #00BCD4;
    font-size: 1.2em;
}

/* Dividers */
.article-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #00BCD4, transparent);
    margin: 40px 0;
}

/* Button Links */
.article-content .btn-link {
    display: inline-block;
    background: #00BCD4;
    color: white !important;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none !important;
}

.article-content .btn-link:hover {
    background: #00ACC1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}

/* Responsive Embeds */
.article-content iframe,
.article-content video {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

/* Sticky Social Share (Desktop) */
@media (min-width: 992px) {
    .sticky-social-share {
        position: sticky;
        top: 100px;
    }
}

/* Print Styles */
@media print {
    .social-share,
    .article-cta,
    .related-posts {
        display: none;
    }

    .article-content {
        box-shadow: none;
        padding: 0;
    }

    .article-content a {
        color: #00BCD4 !important;
        text-decoration: underline;
    }
}

/* Accessibility */
.article-content a:focus,
.blog-card:focus {
    outline: 3px solid #00BCD4;
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card,
.article-content {
    animation: fadeIn 0.6s ease-out;
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed in future */
}
