/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Hide author name on blog posts */
.wd-post-author,
.wd-meta-author,
.entry-meta .author,
.post-meta .author {
    display: none !important;
}

/* Hide publication date on blog posts */
.wd-post-date,
.entry-meta .posted-on,
.entry-meta time,
.post-meta .date,
.wd-meta-date {
    display: none !important;
}

/* ====== DigitLicense Blog Styles ====== */
.dl-tip,.dl-warning,.dl-success,.dl-info{display:flex;gap:14px;padding:16px 20px;border-radius:10px;margin:24px 0;font-size:14.5px;line-height:1.6;align-items:flex-start}
.dl-tip{background:#eff6ff;border-left:4px solid #3b82f6;color:#1e40af}
.dl-warning{background:#fff7ed;border-left:4px solid #f97316;color:#9a3412}
.dl-success{background:#f0fdf4;border-left:4px solid #22c55e;color:#166534}
.dl-info{background:#faf5ff;border-left:4px solid #a855f7;color:#6b21a8}
.dl-tip-icon,.dl-warning-icon,.dl-success-icon,.dl-info-icon{font-size:20px;flex-shrink:0;margin-top:1px}
.dl-steps{counter-reset:dl-step;margin:28px 0;display:flex;flex-direction:column;gap:16px}
.dl-step{display:flex;gap:16px;align-items:flex-start;padding:18px 20px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0}
.dl-step::before{counter-increment:dl-step;content:counter(dl-step);display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;background:#5b3cf5;color:#fff;border-radius:50%;font-weight:800;font-size:14px;flex-shrink:0}
.dl-step-content h3{margin:0 0 6px;font-size:15px;font-weight:700;color:#0f172a}
.dl-step-content p{margin:0;font-size:14px;color:#475569;line-height:1.6}
.dl-step-content code{background:#e2e8f0;padding:2px 6px;border-radius:4px;font-size:13px}
.dl-table-wrap{overflow-x:auto;margin:24px 0;border-radius:10px;border:1px solid #e2e8f0}
.dl-table{width:100%;border-collapse:collapse;font-size:14px}
.dl-table th{background:#5b3cf5;color:#fff;padding:12px 16px;text-align:left;font-weight:600;font-size:13px}
.dl-table td{padding:11px 16px;border-bottom:1px solid #f1f5f9;color:#374151}
.dl-table tr:last-child td{border-bottom:none}
.dl-table tr:nth-child(even) td{background:#f8fafc}
.dl-table .dl-check{color:#22c55e;font-weight:700}
.dl-table .dl-cross{color:#ef4444;font-weight:700}
.dl-cta{background:linear-gradient(135deg,#5b3cf5,#7c3aed);color:#fff;border-radius:14px;padding:28px 32px;text-align:center;margin:32px 0}
.dl-cta h3{color:#fff;margin:0 0 8px;font-size:20px}
.dl-cta p{color:rgba(255,255,255,.85);margin:0 0 18px;font-size:14px}
.dl-cta a{display:inline-block;background:#fff;color:#5b3cf5;font-weight:700;font-size:14px;padding:11px 28px;border-radius:8px;text-decoration:none;transition:.2s}
.dl-cta a:hover{background:#ede9fe;color:#4c1d95}
.dl-badge-row{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.dl-badge{display:inline-flex;align-items:center;gap:6px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;padding:6px 14px;font-size:13px;font-weight:500;color:#374151}
.dl-badge.green{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.dl-badge.blue{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
.dl-badge.purple{background:#faf5ff;border-color:#e9d5ff;color:#6b21a8}
.dl-faq{margin:24px 0;display:flex;flex-direction:column;gap:12px}
.dl-faq-item{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}
.dl-faq-q{background:#f8fafc;padding:14px 18px;font-weight:600;font-size:14.5px;color:#0f172a;border-bottom:1px solid #e2e8f0}
.dl-faq-a{padding:14px 18px;font-size:14px;color:#475569;line-height:1.7}
.dl-highlight-box{background:#fefce8;border:1px solid #fde047;border-radius:10px;padding:16px 20px;margin:20px 0;font-size:14px;color:#713f12}
.dl-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.dl-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px}
.dl-card h4{margin:0 0 8px;font-size:15px;color:#0f172a}
.dl-card p{margin:0;font-size:13.5px;color:#64748b;line-height:1.6}
@media(max-width:640px){.dl-two-col{grid-template-columns:1fr}}

/* ====== FAQ Accordion ====== */
.dl-faq details { border:1px solid #e2e8f0; border-radius:10px; overflow:hidden; margin-bottom:10px; }
.dl-faq details summary { list-style:none; cursor:pointer; padding:15px 20px; font-weight:600; font-size:14.5px; color:#0f172a; background:#f8fafc; display:flex; justify-content:space-between; align-items:center; user-select:none; transition:background .2s; }
.dl-faq details summary::-webkit-details-marker { display:none; }
.dl-faq details summary::after { content:'+'; font-size:20px; font-weight:300; color:#5b3cf5; line-height:1; flex-shrink:0; transition:transform .3s; }
.dl-faq details[open] summary { background:#ede9fe; color:#4c1d95; }
.dl-faq details[open] summary::after { content:'−'; }
.dl-faq details .dl-faq-a { padding:14px 20px; font-size:14px; color:#475569; line-height:1.7; border-top:1px solid #e2e8f0; background:#fff; }
/* Pricing cards */
.dl-price-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:24px 0; }
.dl-price-card { border:2px solid #e2e8f0; border-radius:14px; padding:24px 20px; text-align:center; position:relative; background:#fff; }
.dl-price-card.featured { border-color:#5b3cf5; box-shadow:0 4px 24px rgba(91,60,245,.15); }
.dl-price-card .dl-pc-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:#5b3cf5; color:#fff; font-size:11px; font-weight:700; padding:3px 14px; border-radius:20px; white-space:nowrap; }
.dl-price-card h3 { margin:0 0 6px; font-size:16px; color:#0f172a; }
.dl-price-card .dl-pc-price { font-size:28px; font-weight:800; color:#5b3cf5; margin:8px 0 4px; }
.dl-price-card .dl-pc-sub { font-size:12px; color:#94a3b8; margin-bottom:16px; }
.dl-price-card ul { list-style:none; padding:0; margin:0; text-align:left; }
.dl-price-card ul li { font-size:13px; color:#475569; padding:5px 0; border-bottom:1px solid #f1f5f9; display:flex; align-items:center; gap:8px; }
.dl-price-card ul li:last-child { border:none; }
.dl-price-card ul li::before { content:'✓'; color:#22c55e; font-weight:700; flex-shrink:0; }
.dl-price-card ul li.no::before { content:'✗'; color:#ef4444; }
@media(max-width:700px){ .dl-price-cards{ grid-template-columns:1fr; } }

/* ====== Blog Post Heading Colors ====== */
.single-post .entry-content h1,
.single-post .entry-content h2 { color: #5b3cf5; }
.single-post .entry-content h3,
.single-post .entry-content h4 { color: #0891b2; }

/* Preserve component-specific heading colors */
.single-post .entry-content .dl-cta h3  { color: #fff; }
.single-post .entry-content .dl-step-content h3 { color: #0f172a; }
.single-post .entry-content .dl-price-card h3   { color: #0f172a; }
.single-post .entry-content .dl-card h4         { color: #0f172a; }
