@page {
    size: A4;
    margin: 14mm 12mm;
}

* {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-shadow: none !important;
}

html,
body {
    background: #ffffff !important;
}

body {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: #1e293b;
    font-size: 10.5pt;
    line-height: 1.45;
    margin: 0 !important;
    padding: 0 !important;
}

.drawer,
.drawer-content {
    display: block !important;
    overflow: visible !important;
}

.drawer-content > .sticky,
.drawer-content > .bg-base-200,
.drawer-side,
[data-case-study-template-cta] {
    display: none !important;
}

.case-study-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

[data-case-study-hero] {
    min-height: auto !important;
    margin-top: 0 !important;
    page-break-inside: avoid;
    break-inside: avoid;
}

[data-case-study-hero] .relative.z-10 {
    min-height: auto !important;
    padding: 18mm 10mm 16mm !important;
}

[data-case-study-hero] .text-center.text-white.px-4 {
    padding: 0 !important;
}

[data-case-study-hero] h1 {
    font-size: 24pt !important;
    line-height: 1.08 !important;
    color: #ffffff !important;
    margin: 0 0 10pt !important;
}

[data-case-study-hero] p {
    font-size: 11.5pt !important;
    line-height: 1.5 !important;
    color: #e2e8f0 !important;
    margin: 0 auto 14pt !important;
    max-width: 150mm !important;
}

[data-case-study-hero] .grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8pt !important;
    max-width: 160mm !important;
    margin: 0 auto !important;
}

[data-case-study-hero] .grid > div > div {
    padding: 10pt !important;
}

[data-case-study-hero] .text-4xl,
[data-case-study-hero] .text-5xl {
    font-size: 19pt !important;
    line-height: 1 !important;
}

[data-case-study-body],
[data-case-study-testimonial],
[data-case-study-products-used] {
    padding-top: 12mm !important;
    padding-bottom: 10mm !important;
}

[data-case-study-body] .text-center.mb-16,
[data-case-study-products-used] .text-center.mb-16 {
    margin-bottom: 8mm !important;
}

[data-case-study-body] h2,
[data-case-study-testimonial] h2,
[data-case-study-products-used] h2 {
    color: #0f172a !important;
    font-size: 18pt !important;
    margin: 0 0 4pt !important;
}

[data-case-study-body] > div > .space-y-8,
[data-case-study-products-used] .grid {
    display: block !important;
}

[data-case-study-body] > div > .space-y-8 > div,
[data-case-study-products-used] .grid > a,
[data-case-study-testimonial] .relative {
    page-break-inside: avoid;
    break-inside: avoid;
}

[data-case-study-body] > div > .space-y-8 > div {
    margin-bottom: 8mm !important;
}

[data-case-study-body] .p-8,
[data-case-study-products-used] .p-8,
[data-case-study-testimonial] .p-12 {
    padding: 12pt !important;
}

[data-case-study-body] p,
[data-case-study-products-used] p,
[data-case-study-testimonial] blockquote {
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
}

[data-case-study-testimonial] blockquote {
    margin-bottom: 10pt !important;
}

[data-case-study-products-used] .grid > a {
    display: block !important;
    margin-bottom: 8mm !important;
}

[data-case-study-products-used] .bg-gradient-to-r {
    display: none !important;
}

[data-case-study-products-used] .grow,
[data-case-study-products-used] .h-full {
    height: auto !important;
}

a {
    color: #2563eb !important;
    text-decoration: none !important;
}

img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
}
