/* SaveDelete /read/ Static Pages Styles */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background: #f8fafc;
}
a { color: #3b82f6; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
    background: #1e293b;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.logo span { color: #3b82f6; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}
.nav-links a {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: white; text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Breadcrumbs */
.breadcrumbs {
    max-width: 800px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
    font-size: 0.85rem;
    color: #64748b;
}
.breadcrumbs a { color: #64748b; }
.breadcrumbs a:hover { color: #3b82f6; }
.breadcrumbs span { margin: 0 0.5rem; }

/* Article */
article {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.article-header { margin-bottom: 2rem; }
.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}
article h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1rem;
}
.article-excerpt {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
}

/* Featured Image */
.featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.featured-image img { width: 100%; }

/* Table of Contents */
.toc {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}
.toc-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #0f172a;
}
.toc ol {
    list-style-position: inside;
    padding-left: 0;
}
.toc li {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}
.toc a { color: #475569; }
.toc a:hover { color: #3b82f6; }

/* Article Content */
.article-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #0f172a;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}
.article-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #1e293b;
}
.article-content p { margin: 1rem 0; color: #334155; }
.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.article-content li { margin: 0.5rem 0; color: #334155; }
.article-content strong { color: #0f172a; }

/* Tool Cards */
.tool-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: box-shadow 0.2s;
}
.tool-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.tool-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    float: right;
    margin: 0 0 1rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}
@media (max-width: 600px) {
    .tool-image {
        width: 80px;
        height: 80px;
        margin: 0 0 0.75rem 0.75rem;
    }
}
.tool-header { margin-bottom: 1rem; }
.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem;
}
.tool-tagline { font-size: 0.9rem; color: #64748b; margin: 0; }
.tool-description { color: #475569; margin: 0 0 1rem; }
.tool-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin: 0 0 1rem;
}
.tool-features li {
    font-size: 0.9rem;
    color: #475569;
    padding-left: 1.5rem;
    position: relative;
}
.tool-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 600;
}
.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tool-pricing { font-size: 0.9rem; color: #64748b; }
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}
.tool-link:hover { background: #2563eb; text-decoration: none; }

/* Tables */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; }
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
th { background: #f1f5f9; font-weight: 600; color: #0f172a; }
tr:hover { background: #f8fafc; }

/* FAQ Section */
.faq-section { margin: 2rem 0; }
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 0.75rem 0;
    padding: 1rem 1.25rem;
    background: #f8fafc;
}
.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem;
}
.faq-answer { color: #475569; margin: 0; font-size: 0.95rem; }

/* Figures */
figure { margin: 2rem 0; }
figure img { border-radius: 8px; }
figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* City Images in Tool Cards */
.city-image {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
}
.city-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}
.city-image figcaption {
    font-size: 0.8rem;
    padding: 0.5rem 0 0;
}

/* Footer */
.site-footer {
    background: #1e293b;
    color: rgba(255,255,255,0.8);
    padding: 3rem 1rem 1.5rem;
    margin-top: 4rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin: 0.5rem 0; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #1e293b; flex-direction: column; padding: 1rem; gap: 0.5rem; }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    article h1 { font-size: 1.75rem; }
    .article-content { padding: 1.25rem; }
    .article-content h2 { font-size: 1.3rem; }
    .tool-footer { flex-direction: column; align-items: flex-start; }
}
