/* Entranosa Core: print-ready newsletter (US Letter, edge to edge). Loaded only with ?newsletter-print=1 */
@page { size: 8.5in 11in; margin: 0; }
html, body.ewp-body { margin: 0; padding: 0; background: #E9E4D9; }
.ewp-body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ewp-body .side-tab, .ewp-body .side-panel, .ewp-body .back-to-top, .ewp-body .backdrop, .ewp-body #wpadminbar, .ewp-body .ec-chat { display: none !important; }

/* Screen: toolbar + a Letter-width sheet */
.ewp-toolbar { position: sticky; top: 0; z-index: 50; background: #122A3B; color: #fff; padding: 12px 20px; font: 14px/1.45 Inter, system-ui, sans-serif; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.ewp-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 8.5in; margin: 0 auto; }
.ewp-title { display: flex; flex-direction: column; }
.ewp-title span { color: #D6E4EC; font-size: 13px; }
.ewp-actions { display: flex; align-items: center; gap: 14px; }
.ewp-btn { background: #A8552E; color: #fff; border: none; border-radius: 8px; padding: 11px 20px; font: 700 15px Inter, system-ui, sans-serif; cursor: pointer; min-height: 44px; }
.ewp-btn:hover { background: #8F4624; }
.ewp-link { color: #fff; text-decoration: underline; }
.ewp-toolbar a:focus-visible, .ewp-toolbar button:focus-visible, .ewp-toolbar input:focus-visible { outline: 3px solid #4BBCEC; outline-offset: 2px; }
.ewp-help { max-width: 8.5in; margin: 8px auto 0; font-size: 13px; color: #D6E4EC; }
.ewp-help p { margin: 4px 0; }
.ewp-help strong { color: #fff; }
#ewp-pages { font-weight: 700; color: #F0C9A8; }
#ewp-pages.is-warn { color: #FFB4A0; }

.ewp-sheet { position: relative; width: 8.5in; margin: 24px auto 60px; background: #fff; box-shadow: 0 10px 40px rgba(18,42,59,.28); overflow: hidden; }
.ewp-sheet.ewp-guides::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20;
	background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(11in - 3px), rgba(193,103,59,.9) calc(11in - 3px), rgba(193,103,59,.9) 11in); }
.ewp-sheet.ewp-edge { padding-left: .2in; padding-right: .2in; }

/* Tight layout: no stray gaps between sections */
.ewp-sheet .elementor-widget, .ewp-sheet .elementor-element { margin-block-end: 0 !important; }
.ewp-sheet .e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; gap: 0 !important; padding: 0 !important; display: block !important; max-width: none !important; }
.ewp-sheet .e-con-inner { max-width: none !important; display: block !important; padding: 0 !important; }
.ewp-sheet .nlb { width: 100%; }
.ewp-sheet .nlb { break-inside: avoid; page-break-inside: avoid; }
.ewp-sheet .nl-photo, .ewp-sheet img { break-inside: avoid; }
.ewp-sheet .nl-pagebreak { break-before: page; page-break-before: always; }

/* Two fixed pages (the PRINT starter): each .nl-sheet-page is one Letter sheet, so the front/back break is built in. */
.ewp-sheet.ewp-has-pages { background: transparent; box-shadow: none; overflow: visible; }
.ewp-sheet.ewp-has-pages::after { display: none; }
.ewp-sheet .nl-sheet-page { position: relative; box-sizing: border-box; width: 8.5in; height: 10.99in; overflow: hidden; background: #fff; margin: 0 0 8px !important; box-shadow: 0 10px 40px rgba(18,42,59,.28); }
.ewp-sheet .nl-sheet-page .elementor-widget:has(.nl-contact.nl-v-footer) { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.ewp-label { font: 700 13px/1 Inter, system-ui, sans-serif; color: #1B3A52; margin: 22px 0 8px; letter-spacing: .04em; text-transform: uppercase; }
.ewp-fit { position: absolute; right: 10px; bottom: 10px; z-index: 30; font: 700 12px/1 Inter, system-ui, sans-serif; background: #1B3A52; color: #fff; padding: 7px 10px; border-radius: 6px; }
.ewp-fit.is-low { background: #8A5A00; }
.ewp-fit.is-over { background: #B3261E; }
.ewp-sheet .nl-sheet-page.is-over { outline: 3px solid #B3261E; outline-offset: -3px; }

@media print {
	html, body.ewp-body { background: #fff; }
	.ewp-sheet .nl-sheet-page { margin: 0 !important; box-shadow: none; outline: none !important; break-after: page; page-break-after: always; }
	.ewp-sheet .nl-sheet-page:last-child { break-after: auto; page-break-after: auto; }
	.ewp-label, .ewp-fit { display: none !important; }
	/* Floating widgets from other plugins (accessibility button, chat, cookie notice, back-to-top...) never belong on paper. */
	body.ewp-body > *:not(.ewp-sheet):not(.ewp-toolbar):not(script):not(style):not(link) { display: none !important; }
	.ewp-toolbar { display: none !important; }
	.ewp-sheet { width: auto; margin: 0; box-shadow: none; overflow: visible; }
	.ewp-sheet.ewp-guides::after { display: none; }
	.ewp-sheet a { text-decoration: none; }
}

.ewp-sheet.ewp-printing .ewp-fit, .ewp-sheet.ewp-printing .ewp-label { display: none !important; }
