/*
 * WUWT Timeline 0.1.1 - full-width page template only (body.wuwt-tl-fullwidth).
 * Hides the sidebar and lets the main column use the row. Safe as a fallback on themes
 * other than MagazineNP; MagazineNP is already told to use its own "fullwidth" layout.
 */

body.wuwt-tl-fullwidth #secondary,
body.wuwt-tl-fullwidth #sidebar,
body.wuwt-tl-fullwidth aside.sidebar,
body.wuwt-tl-fullwidth aside.widget-area,
body.wuwt-tl-fullwidth .widget-area,
body.wuwt-tl-fullwidth #primary-sidebar,
body.wuwt-tl-fullwidth .sidebar-primary {
	display: none !important;
}

body.wuwt-tl-fullwidth #primary,
body.wuwt-tl-fullwidth .content-area,
body.wuwt-tl-fullwidth .wuwt-tl-template-main,
body.wuwt-tl-fullwidth #primary.col-lg-8,
body.wuwt-tl-fullwidth .content-area.col-lg-8,
body.wuwt-tl-fullwidth #primary.col-md-8,
body.wuwt-tl-fullwidth .content-area.col-md-8 {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

/* Widen the usual boxed theme container so the timeline can use the header's width. */
body.wuwt-tl-fullwidth #content > .container,
body.wuwt-tl-fullwidth .site-content > .container {
	max-width: 1600px;
	width: 100%;
}

/* Let the timeline itself fill that column (overrides the shortcode's default 1200px cap). */
body.wuwt-tl-fullwidth .wuwt-tl {
	--wuwt-max: none !important;
}
