/* ==========================================================================
   DodoDeck Editorial Publication Design System
   Clean, authoritative, human-crafted editorial reading experience.
   Designed for deep focus, white space, and impeccable typography.
   ========================================================================== */

.editorial-article-page {
    max-width: 780px;
    margin: 44px auto 90px;
    padding: 0 24px;
    color: #1e293b;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Breadcrumbs */
.editorial-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.editorial-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.editorial-breadcrumbs a:hover {
    color: #1d4ed8;
}

.editorial-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 12px;
}

.editorial-breadcrumbs .current {
    color: #1e293b;
    font-weight: 500;
}

/* Header */
.editorial-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.editorial-category {
    display: none !important;
}

.editorial-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}

.editorial-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 24px;
    font-weight: 400;
}

.editorial-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: #64748b;
}

.editorial-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.editorial-meta-left strong {
    color: #334155;
    font-weight: 600;
}

.editorial-share-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.editorial-share-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    margin-right: 4px;
}

.editorial-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.editorial-share-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

/* Article Body Prose */
.editorial-body {
    font-size: 17.5px;
    line-height: 1.8;
    color: #334155;
}

.editorial-body p {
    margin-bottom: 24px;
}

.editorial-body h2 {
    font-size: 25px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin: 48px 0 18px;
}

.editorial-body h3 {
    font-size: 19.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 32px 0 14px;
}

.editorial-body ul, 
.editorial-body ol {
    margin: 0 0 26px;
    padding-left: 24px;
}

.editorial-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.editorial-body a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.editorial-body a:hover {
    color: #1e40af;
}

.editorial-body strong {
    color: #0f172a;
    font-weight: 700;
}

/* Subtle In-Content Callout */
.editorial-callout {
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 32px 0;
    font-size: 16px;
    line-height: 1.65;
    color: #334155;
}

.editorial-callout.warning {
    background: #fffbeb;
    border-left-color: #d97706;
    color: #78350f;
}

.editorial-callout p:last-child {
    margin-bottom: 0;
}

/* Step-by-Step Tutorial Flow */
.editorial-steps {
    counter-reset: editorial-counter;
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.editorial-step-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 28px;
}

.editorial-step-item::before {
    counter-increment: editorial-counter;
    content: counter(editorial-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbeafe;
}

.editorial-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.editorial-step-desc {
    font-size: 16.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Clean Editorial Tool Feature Card */
.editorial-tool-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 30px;
    margin: 44px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.editorial-tool-content {
    flex: 1;
    min-width: 260px;
}

.editorial-tool-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #059669;
    margin-bottom: 6px;
    display: block;
}

.editorial-tool-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.editorial-tool-desc {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.editorial-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1d4ed8;
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.2);
    transition: all 0.15s ease;
}

.editorial-tool-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

/* Comparison Table */
.editorial-table-wrap {
    overflow-x: auto;
    margin: 32px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.editorial-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}

.editorial-table th {
    background: #f8fafc;
    padding: 12px 16px;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.editorial-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.editorial-table tr:last-child td {
    border-bottom: none;
}

/* Editorial FAQ */
.editorial-faq-section {
    margin: 54px 0 36px;
    padding-top: 36px;
    border-top: 1px solid #e2e8f0;
}

.editorial-faq-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px;
}

.editorial-faq-item {
    margin-bottom: 24px;
}

.editorial-faq-question {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.editorial-faq-answer {
    font-size: 16px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Related Guides Grid */
.editorial-related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.editorial-related-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.editorial-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.editorial-related-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.editorial-related-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.editorial-related-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 8px;
}

.editorial-related-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 640px) {
    .editorial-article-page {
        margin: 24px auto 60px;
        padding: 0 16px;
    }
    .editorial-title {
        font-size: 26px;
    }
    .editorial-subtitle {
        font-size: 16px;
    }
    .editorial-body {
        font-size: 16.5px;
        line-height: 1.7;
    }
    .editorial-body h2 {
        font-size: 21px;
        margin: 36px 0 14px;
    }
    .editorial-tool-box {
        padding: 20px 18px;
        flex-direction: column;
        align-items: stretch;
    }
    .editorial-tool-btn {
        justify-content: center;
        width: 100%;
    }
}
