/* Enqueued with media="print" only on individual project pages. */
@page {
    size: A4 portrait;
    margin: 15mm;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    color: #111 !important;
    font-family: 'Poppins', Arial, sans-serif;
}

/* The Elementor layout renders navigation, footer and overlays beside main. */
body > :not(#elementor-main),
#elementor-main .elementor-widget-reno-project-others,
#elementor-main .reno-project-details-spacer,
#elementor-main .reno-project-description-dot,
#elementor-main .reno-partners-carousel,
#elementor-main .reno-project-gallery .reno-swiper-prev,
#elementor-main .reno-project-gallery .reno-swiper-next,
#elementor-main .reno-project-gallery:not(:has(.reno-project-print-gallery)) {
    display: none !important;
}

#elementor-main,
#elementor-main .elementor,
#elementor-main .e-con,
#elementor-main .e-con-inner,
#elementor-main .elementor-section,
#elementor-main .elementor-container,
#elementor-main .elementor-column,
#elementor-main .elementor-widget-wrap,
#elementor-main .elementor-widget-container {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    background: none !important;
}

#elementor-main * {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
}

#elementor-main .elementor-widget {
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

#elementor-main .reno-project-heading,
#elementor-main .reno-project-hero,
#elementor-main .reno-project-details,
#elementor-main .reno-project-details-layout,
#elementor-main .reno-project-technical,
#elementor-main .reno-project-technical-card,
#elementor-main .reno-project-description,
#elementor-main .reno-project-description-layout,
#elementor-main .reno-project-description-body,
#elementor-main .reno-project-description-content,
#elementor-main .reno-project-gallery {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    color: #111 !important;
    font-size: 10pt !important;
    line-height: 1.45 !important;
}

#elementor-main .reno-project-print-brand {
    display: block !important;
    margin-bottom: 4mm;
    font-size: 12pt;
    font-weight: 700;
}

#elementor-main .reno-project-hero h1 {
    max-width: none;
    margin: 0 0 5mm !important;
    color: #111 !important;
    font-size: 24pt !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5pt !important;
    text-align: left;
    break-after: avoid;
}

#elementor-main .reno-project-print-image {
    display: block !important;
    width: 100%;
    height: 65mm;
    object-fit: contain;
    margin: 0 0 5mm;
    break-inside: avoid;
}

#elementor-main .reno-project-stats {
    position: static;
    margin: 0 0 6mm !important;
    padding: 0 !important;
    gap: 4mm;
    break-inside: avoid;
}

#elementor-main .reno-project-stats > div {
    padding: 3mm !important;
    border: 1px solid #aaa;
    border-radius: 0;
    background: none !important;
}

#elementor-main .reno-project-stats > div > :first-child {
    font-size: 18pt !important;
    margin-bottom: 1mm;
}

#elementor-main .reno-project-stats > div > :last-child {
    font-size: 9pt !important;
}

#elementor-main .reno-project-client-logo {
    width: auto;
    max-width: 40mm;
    max-height: 16mm;
    margin: 0 0 3mm;
    break-after: avoid;
}

#elementor-main .reno-project-section-title,
#elementor-main .reno-project-gallery > :first-child > :first-child {
    margin: 0 0 3mm !important;
    padding: 0 !important;
    font-size: 14pt !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    color: #111 !important;
    break-after: avoid;
}

#elementor-main .reno-project-technical-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3mm 6mm;
    margin-bottom: 6mm;
}

#elementor-main .reno-project-detail {
    display: block !important;
    border-top: 1px solid #aaa;
    padding-top: 2mm;
    break-inside: avoid;
}

#elementor-main .reno-project-detail > div {
    margin: 0 !important;
    font-size: 10pt !important;
    line-height: 1.4 !important;
}

#elementor-main .reno-project-detail > :first-child {
    font-weight: 600;
}

#elementor-main .reno-project-detail > :nth-child(3) {
    display: none;
}

#elementor-main .reno-project-description-content {
    orphans: 3;
    widows: 3;
    overflow-wrap: anywhere;
}

#elementor-main .reno-project-description-content p {
    margin: 0 0 3mm;
}

#elementor-main .reno-project-description-content :is(h2, h3, h4, h5, h6) {
    margin: 4mm 0 2mm;
    font-size: 12pt;
    line-height: 1.3;
    break-after: avoid;
}

#elementor-main .reno-project-description-content img {
    max-width: 100%;
    height: auto;
    max-height: 100mm;
    object-fit: contain;
    break-inside: avoid;
}

#elementor-main a {
    color: inherit !important;
    text-decoration: none !important;
}

#elementor-main a::after {
    content: none !important;
}

#elementor-main .reno-project-gallery {
    margin-top: 5mm !important;
}

#elementor-main .reno-project-gallery > :first-child {
    display: block;
    padding: 0;
    break-after: avoid;
}

/* Independent of Swiper's current position, sizing and cloned slides. */
#elementor-main .reno-project-print-gallery {
    display: block !important;
}

#elementor-main .reno-project-print-gallery-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4mm;
    margin-bottom: 4mm;
    break-inside: avoid;
}

#elementor-main .reno-project-print-gallery img {
    width: 100%;
    height: 70mm;
    object-fit: contain;
    break-inside: avoid;
}
