/* TXK: clean output when a reader prints a story page directly (Ctrl+P / Share > Print).
   Loaded with media="print" on single posts only. The keepsake layout lives at /print/. */

@page { size: letter; margin: 0.6in 0.7in 0.65in; }

html, body { background: #fff !important; color: #1a1a1a !important; color-scheme: light; }
html[data-color-mode], body { --txk-n-text: #1a1a1a; --txk-n-card: #fff; }
body { font-size: 11pt !important; line-height: 1.5 !important; }

/* Anything Broadstreet or other scripts inject straight into <body> (sticky Sneaker ads have random ids):
   the whole site lives inside #main-container, so everything else at the top level goes. */
body > *:not(#main-container) { display: none !important; }

/* Site chrome, ads and end-of-story extras. */
#header, header.ct-header, .ct-header, #offcanvas, #search-modal, .ct-drawer-canvas,
#footer, footer.ct-footer, #sidebar, aside.ct-sidebar, .ct-sidebar,
broadstreet-zone, .broadstreet-dynamic-scrolling, ins.adsbygoogle, .adsbygoogle, iframe,
.txk-top-video, .txk-inline-zone, .txk-ad-slot, .txk-adsense, .txk-archive-ad, .bs_zones,
.txk-share, .txk-recent, .txk-readnext, .txk-nextbar, .txk-author-box, .txk-topics,
.txk-recent-cue, .txk-nl, .txk-news-form, .txk-hdr-sub, .txk-network, .txk-sneaker-trigger, .txk-sponsored-note,
.ct-breadcrumbs, .ct-comments, #comments, .comments-area, .post-navigation, .ct-related-posts, .ct-share-box,
.wpcf7, form, button, video, .ct-back-to-top, .wp-block-buttons, .wp-block-embed {
	display: none !important;
}

/* One clean column at full page width. */
#main-container, main#main, .ct-container, .ct-container-full, article, .entry-content,
.hero-section, .content-area, [data-vertical-spacing] {
	width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important;
	padding-left: 0 !important; padding-right: 0 !important; box-shadow: none !important; background: transparent !important;
}
.ct-container, [class*="ct-container"] { display: block !important; }
main#main { padding-top: 0 !important; }
.ct-container-full, .ct-container { padding-top: 0 !important; }

/* Masthead line above the headline. */
.hero-section::before {
	content: "TXKtoday.com  \2022  Local news for Texarkana";
	display: block; margin-bottom: 14pt; padding-bottom: 5pt; border-bottom: 2pt solid #FF9000;
	font: 700 8pt/1 'Instrument Sans', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #444;
}
.entry-header h1, .page-title { font-size: 24pt !important; line-height: 1.15 !important; color: #1a1a1a !important; margin: 0 0 8pt !important; }
.entry-meta, .entry-meta * { color: #444 !important; font-size: 9pt !important; }

/* Images and captions. */
.ct-featured-image, figure { break-inside: avoid; margin: 10pt 0 !important; }
.ct-featured-image img { max-width: 100% !important; height: auto !important; max-height: 4.5in; object-fit: contain; }
.entry-content img { display: block; width: auto !important; max-width: 100% !important; height: auto !important; max-height: 3.6in; margin: 0 auto; object-fit: contain; break-inside: avoid; }
figcaption, .wp-element-caption { font-size: 8.5pt !important; font-style: italic; color: #555 !important; }

/* Text. */
.entry-content p, .entry-content li { orphans: 3; widows: 3; color: #1a1a1a !important; }
.entry-content h2, .entry-content h3 { break-after: avoid; color: #1a1a1a !important; }
.entry-content a { color: inherit !important; text-decoration: none !important; }

/* Source line after the story. */
.entry-content::after {
	content: "Originally published by TXKtoday. Read more local news at TXKtoday.com.";
	display: block; margin-top: 16pt; padding-top: 6pt; border-top: .6pt solid #1a1a1a;
	font: 600 8pt 'Instrument Sans', Arial, sans-serif; letter-spacing: .06em; color: #444;
}
