/* Blogs Module Stylesheet - Siliguri Cab Rental */

/* Reading progress bar */
#blog-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #facc15, #0d5c9c, #10b981);
    z-index: 100;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Article Typography */
.blog-article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
}

.blog-article-content h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.blog-article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-article-content p {
    margin-bottom: 1.25rem;
}

.blog-article-content p strong,
.blog-article-content li strong,
.blog-article-content td strong {
    color: #0f172a;
    font-weight: 700;
}

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

.blog-article-content ul {
    list-style-type: disc;
}

.blog-article-content ol {
    list-style-type: decimal;
}

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

/* HIGH-CONTRAST ROUTE SUMMARY SNAPSHOT CARDS */
.route-summary-card,
[class*="from-blue-900"],
[class*="bg-blue-900"] {
    color: #ffffff !important;
}

.route-summary-card h2,
.route-summary-card h3,
.route-summary-card h4,
[class*="from-blue-900"] h2,
[class*="from-blue-900"] h3,
[class*="from-blue-900"] h4,
[class*="bg-blue-900"] h2,
[class*="bg-blue-900"] h3,
[class*="bg-blue-900"] h4 {
    color: #ffffff !important;
    border-bottom: none !important;
    margin-top: 0 !important;
}

.route-summary-card span,
.route-summary-card div,
.route-summary-card p,
[class*="from-blue-900"] span,
[class*="from-blue-900"] div,
[class*="from-blue-900"] p,
[class*="bg-blue-900"] span,
[class*="bg-blue-900"] div,
[class*="bg-blue-900"] p {
    color: #ffffff;
}

.route-summary-card .text-amber-300,
.route-summary-card .text-amber-400,
.route-summary-card .text-yellow-300,
.route-summary-card .text-yellow-400,
.route-summary-card .text-brandYellow,
[class*="from-blue-900"] [class*="text-amber"],
[class*="from-blue-900"] [class*="text-yellow"],
[class*="bg-blue-900"] [class*="text-amber"],
[class*="bg-blue-900"] [class*="text-yellow"] {
    color: #facc15 !important;
}

.route-summary-card .text-emerald-300,
.route-summary-card .text-emerald-400,
.route-summary-card .text-green-300,
.route-summary-card .text-green-400,
[class*="from-blue-900"] [class*="text-emerald"],
[class*="from-blue-900"] [class*="text-green"],
[class*="bg-blue-900"] [class*="text-emerald"],
[class*="bg-blue-900"] [class*="text-green"] {
    color: #4ade80 !important;
}

.route-summary-card .text-slate-300,
.route-summary-card .text-gray-300,
.route-summary-card .text-slate-200,
[class*="from-blue-900"] [class*="text-slate-300"],
[class*="from-blue-900"] [class*="text-gray-300"],
[class*="bg-blue-900"] [class*="text-slate-300"],
[class*="bg-blue-900"] [class*="text-gray-300"] {
    color: #e2e8f0 !important;
}

/* Callout Box */
.blog-callout {
    border-left: 4px solid #0d5c9c;
    background-color: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

/* Table of Contents */
.toc-link.active {
    color: #0d5c9c;
    font-weight: 700;
    border-left: 2px solid #0d5c9c;
    padding-left: 0.5rem;
}

/* Blog Card Hover */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
}
