/*
 * Ledgable — Kadence surround (templates-1203). Loaded only when a template other than Plain is on and the
 * active theme is Kadence. A decorated template draws its own page, so the theme's boxed content panel steps
 * back, the page around it takes the colorway's backdrop, and on the journal's front page the theme's title band
 * is kept for screen readers but not drawn (the template's masthead is the title, as on the old journal).
 * Tokens only.
 */

body.ledgable-look {
	background: var(--ledgable-backdrop, var(--ledgable-paper-sunken));
}

body.ledgable-look .content-bg,
body.ledgable-look.content-style-boxed .content-bg,
body.ledgable-look .entry.single-entry {
	background: transparent;
	box-shadow: none;
}

body.ledgable-look.ledgable-view-landing .entry-hero,
body.ledgable-look.ledgable-view-landing .entry-header.page-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* An Item's own page: the theme prints the title; give it the template's heading face and ink. */
body.ledgable-look .entry-header .entry-title {
	font-family: var(--lt-display, inherit);
	font-weight: normal;
	color: var(--ledgable-ink);
}

.ledgable-grey body.ledgable-look,
body.ledgable-look.ledgable-grey {
	background: var(--ledgable-paper);
}

/* The theme's boxed padding is empty space once its box steps back: the template's own page takes that room,
 * so the lists inside keep the widths (and the masonry columns) they have under Plain. */
body.ledgable-look .content-bg > .entry-content-wrap,
body.ledgable-look .entry.single-entry > .entry-content-wrap {
	padding-left: 0;
	padding-right: 0;
}

/* The theme's title band on Picks and other views takes the page's backdrop, so the title (in the template's ink)
 * reads in light and dark alike. */
body.ledgable-look .entry-hero,
body.ledgable-look .entry-hero .entry-hero-container-inner {
	background: var(--ledgable-backdrop, var(--ledgable-paper-sunken));
}

body.ledgable-look .entry-hero .hero-section-overlay {
	background: transparent;
}
