/* Jarretts cookie banner — uses the theme's colours when available. */
.jgp-banner {
	--jgp-ink: var(--wp--preset--color--ink, #141414);
	--jgp-yellow: var(--wp--preset--color--yellow, #FFE100);
	--jgp-red: var(--wp--preset--color--red, #C8201A);
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999;
	max-width: 720px; margin: 0 auto;
	background: #fff; color: var(--jgp-ink);
	border: 3px solid var(--jgp-ink); border-radius: 18px;
	box-shadow: 0 10px 40px rgba(0,0,0,.25);
	font-family: inherit; font-size: 16px; line-height: 1.5;
	display: none;
}
.jgp-banner.is-open { display: block; }
.jgp-inner { padding: 20px 22px; max-height: calc(100vh - 60px); overflow: auto; }
.jgp-banner h2 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; font-weight: 800; color: var(--jgp-ink); }
.jgp-banner p { margin: 0 0 14px; font-size: 15px; }
.jgp-banner a { color: var(--jgp-ink); text-decoration: underline; font-weight: 700; }
.jgp-panel { border-top: 1px solid #e5e1d3; margin: 0 0 14px; }
.jgp-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e5e1d3; cursor: pointer; }
.jgp-cat-text strong { display: block; font-size: 15px; }
.jgp-cat-text small { display: block; font-size: 13px; color: #555; line-height: 1.4; }
.jgp-cat input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--jgp-red); }
.jgp-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Accept and reject are equally prominent, as the ICO expects. */
.jgp-btn {
	font: inherit; font-weight: 800; font-size: 15px; cursor: pointer;
	background: var(--jgp-ink); color: #fff; border: 2px solid var(--jgp-ink);
	border-radius: 999px; padding: 10px 18px;
}
.jgp-btn:hover { background: var(--jgp-red); border-color: var(--jgp-red); }
.jgp-link { font: inherit; font-size: 15px; font-weight: 700; background: none; border: 0; padding: 10px 6px; text-decoration: underline; cursor: pointer; color: var(--jgp-ink); }
.jgp-banner [hidden] { display: none !important; }
.jgp-btn:focus-visible, .jgp-link:focus-visible { outline: 3px solid var(--jgp-yellow); outline-offset: 2px; }
.jgp-footer-links { margin: 0; }
.jgp-footer-links a { color: inherit; }
.jgp-fallback { position: fixed; left: 10px; bottom: 6px; z-index: 9990; font-size: 12px; background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 6px; }
@media (max-width: 560px) {
	.jgp-banner { left: 8px; right: 8px; bottom: 8px; }
	.jgp-inner { padding: 16px; }
	.jgp-buttons .jgp-btn { flex: 1 1 100%; }
}
/* Tables and request form on the privacy pages. */
.jgp-table { width: 100%; border-collapse: collapse; font-size: .95em; margin: 1em 0; }
.jgp-table th, .jgp-table td { border: 1px solid #e5e1d3; padding: 8px 10px; text-align: left; vertical-align: top; }
.jgp-table th { background: #fffbea; }
.jgp-request { display: grid; gap: 12px; max-width: 520px; margin: 1em 0; }
.jgp-request label { display: grid; gap: 4px; font-weight: 700; }
.jgp-request input[type="email"], .jgp-request select { font: inherit; padding: 10px 12px; border: 2px solid #141414; border-radius: 10px; }
.jgp-request .jgp-hp { position: absolute; left: -9999px; }
.jgp-request-msg { padding: 12px 14px; border-radius: 10px; background: #fffbea; border: 2px solid #141414; }
