/* ============================================
   DichVuSeoTop.com - Design System CSS v2
   Premium flat design for SEO agency
   ============================================ */

/* === Base Reset for Content Area === */
.dst-prose {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.85;
    color: #334155;
    background: #ffffff;
    padding: 60px 80px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.dst-prose h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #0f172a;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #3b82f6;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.dst-prose h3 {
    font-size: clamp(19px, 2.5vw, 24px);
    font-weight: 700;
    color: #1e293b;
    margin: 36px 0 16px;
    line-height: 1.35;
}

.dst-prose h4 {
    font-size: 18px;
    font-weight: 700;
    color: #334155;
    margin: 28px 0 12px;
}

.dst-prose p {
    margin: 0 0 20px;
    line-height: 1.8;
}

.dst-prose strong {
    color: #0f172a;
    font-weight: 700;
}

.dst-prose em {
    color: #475569;
    font-style: italic;
}

.dst-prose a {
    color: #1e40af;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.dst-prose a:hover {
    color: #3b82f6;
}

.dst-prose ul, .dst-prose ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.dst-prose li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.dst-prose ul li::marker {
    color: #3b82f6;
}

.dst-prose blockquote {
    border-left: 4px solid #3b82f6;
    background: #f0f9ff;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e3a5f;
}

/* === Image Figures in Content === */
.dst-prose figure,
.tw-prose figure,
figure.tw-my-8 {
    margin: 32px 0 !important;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}

.dst-prose figure:hover,
.tw-prose figure:hover,
figure.tw-my-8:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.dst-prose figure img,
.tw-prose figure img,
figure.tw-my-8 img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 0;
}

.dst-prose figcaption,
.tw-prose figcaption,
figure.tw-my-8 figcaption {
    padding: 12px 20px !important;
    font-size: 14px !important;
    color: #64748b !important;
    font-style: italic !important;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    margin: 0 !important;
}

/* === Tables in Content === */
.dst-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.dst-prose th {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    text-align: left;
    font-size: 14px;
}

.dst-prose td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
}

.dst-prose tr:nth-child(even) td {
    background: #f8fafc;
}

.dst-prose tr:hover td {
    background: #eff6ff;
}

/* === Section Padding Fix === */
.section-content {
    padding-left: 20px;
    padding-right: 20px;
}

/* === Testimonials Override === */
.dst-testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Print & Accessibility === */
@media print {
    .dst-hero-wrap,
    .dst-cta,
    .giuseart-nav { display: none !important; }
}

/* === Mobile Optimizations === */
@media (max-width: 768px) {
    .dst-prose {
        font-size: 16px;
        padding: 30px 20px;
        border-radius: 16px;
    }
    .dst-prose h2 {
        font-size: 24px;
        margin: 36px 0 16px;
    }
    .dst-prose h3 {
        font-size: 20px;
    }
    .dst-prose figure {
        margin: 24px -20px !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
