/* Rich blocks for imported blog articles — scoped to .article-body */

.article-body .callout {
    border-left: 3px solid #f0a0a0;
    background: #fdf8f8;
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.article-body .callout p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.article-body .callout strong {
    color: #111827;
}

.article-body .info-box {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.article-body .info-box-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.article-body .info-box ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.article-body .info-box li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.875rem;
    color: #4b5563;
    padding: 4px 0;
    border-bottom: 1px solid #f0eeeb;
}

.article-body .info-box li:last-child {
    border-bottom: none;
}

.article-body .info-box li::before {
    content: "✓";
    color: #6b7068;
    font-weight: 700;
    flex-shrink: 0;
}

.article-body .post-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.875rem;
}

.article-body .post-table th {
    background: #1a1f2e;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
}

.article-body .post-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0eeeb;
    color: #4b5563;
}

.article-body .post-table tr:nth-child(even) td {
    background: #f9f8f6;
}

.article-body .cta-box {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.article-body .cta-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.article-body .cta-box p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.article-body .cta-btn {
    display: inline-block;
    background: #6b7068;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.article-body .cta-btn:hover {
    background: #4f5246;
    text-decoration: none;
    color: #fff;
}

.article-body .related {
    border-top: 1px solid #e5e7eb;
    padding: 32px 0 0;
    margin-top: 48px;
    max-width: 720px;
}

.article-body .related-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.article-body .related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.article-body .related-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: box-shadow 0.2s;
    display: block;
}

.article-body .related-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.article-body .related-card-label {
    font-size: 0.72rem;
    color: #9ca3af;
    margin-bottom: 4px;
}

.article-body .related-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

/* Module list (ordermax-nedir) */
.article-body .module-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.article-body .module-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    background: #f9f8f6;
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid #f0eeeb;
    align-items: flex-start;
}

.article-body .module-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.article-body .module-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
}

.article-body .module-content p {
    font-size: 0.825rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.article-body .module-content a {
    font-size: 0.78rem;
    color: #6b7068;
}

.article-body .scenario-block {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 16px 0;
}

.article-body .scenario-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.article-body .scenario-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.article-body .scenario-block p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 8px;
}

.article-body .scenario-block p:last-child {
    margin-bottom: 0;
}

.article-body .checklist-section {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
}

.article-body .checklist-section h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.article-body .checklist-group {
    margin-bottom: 20px;
}

.article-body .checklist-group-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
}

.article-body .checklist-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.article-body .checklist-item:last-child {
    border-bottom: none;
}

.article-body .ci-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-top: 2px;
}

.article-body .ci-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Cost cards */
.article-body .cost-card {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
}

.article-body .cost-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.article-body .cost-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-body .cost-range {
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7068;
    background: #eeede9;
    padding: 4px 12px;
    border-radius: 100px;
}

.article-body .cost-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-body .cost-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f0eeeb;
    font-size: 0.875rem;
}

.article-body .cost-items li:last-child {
    border-bottom: none;
}

.article-body .cost-note {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 8px;
    font-style: italic;
}

.article-body .total-box {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.article-body .total-box h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.article-body .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body .total-row:last-child {
    border-bottom: none;
}

.article-body .total-row.grand {
    padding-top: 12px;
    margin-top: 4px;
}

.article-body .total-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.article-body .total-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
}

.article-body .total-row.grand .total-label,
.article-body .total-row.grand .total-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* Compare grid (kiosk) */
.article-body .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.article-body .compare-card {
    border-radius: 12px;
    padding: 20px;
}

.article-body .compare-card.pro {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
}

.article-body .compare-card.con {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.article-body .compare-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-body .compare-card.pro h4 {
    color: #111827;
}

.article-body .compare-card.con h4 {
    color: #991b1b;
}

.article-body .compare-card ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.article-body .compare-card li {
    font-size: 0.825rem;
    color: #4b5563;
    padding: 3px 0;
    display: flex;
    gap: 6px;
}

.article-body .compare-card.pro li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
}

.article-body .compare-card.con li::before {
    content: "!";
    color: #dc2626;
    font-weight: 700;
    flex-shrink: 0;
}

/* Step blocks (qr-menu) */
.article-body .step-block {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    align-items: flex-start;
}

.article-body .step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #1a1f2e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.article-body .step-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.article-body .step-text p {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

/* Module grid (RMS) */
.article-body .module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.article-body .module-card {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.article-body .module-card-icon {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.article-body .module-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.article-body .module-card p {
    font-size: 0.8rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.article-body .requirement-box {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.article-body .requirement-box > h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.article-body .req-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.article-body .req-item:last-child {
    margin-bottom: 0;
}

.article-body .req-text h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.article-body .req-text p {
    font-size: 0.8rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.article-body .compliance-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.article-body .compliance-box > h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.article-body .comp-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.article-body .comp-text h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.article-body .comp-text p {
    font-size: 0.8rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.article-body .feature-checklist {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.article-body .feature-checklist h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-body .feature-checklist ul {
    margin: 0;
}

/* KPI + SOP (zincir) */
.article-body .kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.article-body .kpi-card {
    background: #f9f8f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.article-body .kpi-icon {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.article-body .kpi-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}

.article-body .kpi-desc {
    font-size: 0.72rem;
    color: #6b7280;
    margin-top: 4px;
}

.article-body .sop-block {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    align-items: flex-start;
}

.article-body .sop-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #6b7068;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.article-body .sop-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.article-body .sop-text p {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 560px) {
    .article-body .related-grid,
    .article-body .compare-grid {
        grid-template-columns: 1fr;
    }
}
