.wpcre-widget { --wpcre-accent: #dc2626; margin: 2rem 0; }
.wpcre-widget[hidden], .wpcre-privacy[hidden] { display: none; }
.wpcre-widget h2 { margin: 0 0 1rem; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.wpcre-widget .wpcre-cards { display: grid; grid-template-columns: repeat(var(--wpcre-desktop, 3), minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.wpcre-widget .wpcre-card { margin: 0; padding: 0; list-style: none; border: 1px solid #e4e4e7; border-radius: .7rem; overflow: hidden; }
.wpcre-widget .wpcre-card a { display: block; color: inherit; text-decoration: none; }
.wpcre-widget .wpcre-card a:hover { color: var(--wpcre-accent); text-decoration: underline; }
.wpcre-widget .wpcre-card a:focus-visible, .wpcre-privacy button:focus-visible { outline: 2px solid #dc2626; outline-offset: -3px; }
.wpcre-widget .wpcre-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wpcre-widget .wpcre-card span { display: block; font-weight: 650; line-height: 1.45; padding: .7rem .8rem; overflow-wrap: anywhere; }
.wpcre-widget.wpcre-layout-list .wpcre-cards { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.wpcre-widget.wpcre-layout-list .wpcre-card a { display: flex; align-items: center; }
.wpcre-widget.wpcre-layout-list .wpcre-card img { width: min(28%, 9rem); }
.wpcre-widget .wpcre-feedback { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 .7rem .65rem; }
.wpcre-widget .wpcre-feedback button, .wpcre-privacy .wpcre-privacy-actions button {
	appearance: none; display: inline-flex; align-items: center; min-height: 2rem; background: #fff; border: 1px solid #71717a;
	color: #27272a; border-radius: .35rem; padding: .25rem .55rem; cursor: pointer; font: inherit; font-size: .82em;
	line-height: 1.35; box-shadow: none; text-decoration: none;
}
.wpcre-widget .wpcre-feedback button:hover, .wpcre-privacy .wpcre-privacy-actions button:hover { background: #f4f4f5; }
.wpcre-widget .wpcre-feedback button:active, .wpcre-privacy .wpcre-privacy-actions button:active { background: #e4e4e7; }
.wpcre-widget .wpcre-feedback button[aria-pressed="true"], .wpcre-privacy .wpcre-privacy-actions button[aria-pressed="true"] {
	border-color: #dc2626; background: #fef2f2; color: #991b1b;
}
.wpcre-widget .wpcre-feedback button[aria-disabled="true"], .wpcre-privacy .wpcre-privacy-actions button[aria-disabled="true"] { opacity: .65; cursor: progress; }
.wpcre-widget .wpcre-feedback-status { margin: 0 0 .5rem; font-size: .9em; }
.wpcre-widget .wpcre-feedback-status:empty { margin: 0; }
.wpcre-privacy { margin: 1rem auto; width: min(calc(100% - 2rem), 48rem); font-size: .85em; }
.wpcre-privacy summary { cursor: pointer; }
.wpcre-privacy .wpcre-privacy-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 950px) { .wpcre-widget .wpcre-cards { grid-template-columns: repeat(var(--wpcre-tablet, 2), minmax(0, 1fr)); } }
@media (max-width: 540px) { .wpcre-widget .wpcre-cards { grid-template-columns: repeat(var(--wpcre-mobile, 1), minmax(0, 1fr)); } }
