/* Light “card” so listings stay readable on dark themes (Astra/Elementor custom CSS). */
.pew-root{
	max-width:860px;
	margin:1.25rem auto;
	font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
	position:relative;
	z-index:2;
	background:#fff;
	color:#0f2044;
	padding:1.25rem 1.5rem;
	border-radius:12px;
	border:1px solid #e2e8f0;
	box-shadow:0 4px 24px rgba(0,0,0,.2);
}
.elementor-shortcode .pew-root{z-index:2}
.pew-block{position:relative;transition:opacity 0.15s ease}
.pew-block.is-loading{opacity:0.55;pointer-events:none}
.pew-pager{
	display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.75rem;
	margin:1.15rem 0 0;padding-top:1rem;border-top:1px solid #e2e8f0
}
.pew-pager-info{color:#334155;font-size:0.95rem}
.pew-pager .pew-pager-nav:disabled{opacity:0.45;cursor:not-allowed}
.pew-pager .pew-btn:disabled{opacity:0.45;cursor:not-allowed}
.pew-title{font-size:1.5rem;font-weight:800;margin:0 0 .8rem;color:#0f2044}
.pew-loading{margin:0 0 .75rem}
.pew-list{display:grid;grid-template-columns:1fr;gap:.75rem}
@media (min-width:720px){.pew-list{grid-template-columns:1fr 1fr}}
/* List mode must always win over the 2-col grid media query. */
@media (min-width:720px){
	.pew-list.is-list{grid-template-columns:1fr !important}
}
/* Single column at all widths; beats theme/Elementor rules that restyle .pew-list */
.pew-list.is-list{grid-template-columns:minmax(0,1fr) !important;display:grid !important}
.pew-list.is-grid{grid-template-columns:1fr;align-items:stretch}
@media (min-width:720px){
	.pew-list.is-grid{grid-template-columns:1fr 1fr}
}
/* Equal-height cards in grid: flex column + Book at bottom */
.pew-card{
	border:1px solid #e2e8f0;
	border-radius:12px;
	background:#fff;
	padding:1rem;
	box-shadow:0 1px 3px rgba(0,0,0,.05);
	display:flex;
	flex-direction:column;
	min-height:0;
	height:100%;
}
.pew-card h3{
	margin:0 0 .35rem;
	font-size:1.2rem;
	line-height:1.3;
	font-weight:800;
	/* High-contrast, theme-safe titles */
	color:#0b1220;
	text-shadow:0 1px 0 rgba(255,255,255,.6);
}
.pew-meta{color:#334155;font-size:1rem;line-height:1.45;margin:.25rem 0 0}
.pew-cover{width:100%;height:auto;max-height:320px;object-fit:cover;border-radius:12px;margin:0 0 .75rem;border:1px solid rgba(0,0,0,.06);background:#fff}
.pew-cover.thumb{max-height:160px;min-height:0}
/* Keeps row heights even when MIS has no cover art */
.pew-cover--placeholder{
	width:100%;
	height:120px;
	min-height:120px;
	max-height:160px;
	margin:0 0 .75rem;
	border-radius:12px;
	border:1px dashed #cbd5e1;
	background:linear-gradient(145deg,#f8fafc 0%,#e2e8f0 100%);
	box-sizing:border-box;
}
.pew-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:10px;
	border:1px solid #cbd5e1;
	background:#0f2044;
	color:#fff;
	padding:.55rem .85rem;
	font-weight:700;
	cursor:pointer;
	margin-top:auto;
	align-self:flex-start;
}
.pew-btn.secondary{background:#fff;color:#0f2044}
.pew-form{margin-top:1rem;display:grid;grid-template-columns:1fr;gap:.6rem}
/* Force readable form controls (some themes override select text to white). */
.pew-form input,.pew-form select{
	height:40px;
	border:1px solid #cbd5e1;
	border-radius:10px;
	padding:0 .7rem;
	background:#fff;
	color:#0f2044;
	box-sizing:border-box;
}
.pew-form select option{color:#0f2044}
.pew-form input:focus,.pew-form select:focus{
	outline:none;
	border-color:#94a3b8;
	box-shadow:0 0 0 3px rgba(15,32,68,.12);
}
.pew-err{color:#b91c1c;font-weight:700;margin:.35rem 0}
.pew-success{background:rgba(5,150,105,.12);border:1px solid rgba(5,150,105,.25);color:#065f46;padding:.8rem;border-radius:12px}
.pew-status{margin-top:.9rem;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:.9rem}
.pew-status-title{font-weight:900;color:#0f2044;margin:0 0 .5rem}
.pew-status-row{display:flex;justify-content:space-between;gap:.75rem;font-size:.95rem}
.pew-status-row span:first-child{color:#64748b;font-weight:700}
