/* Site search panel (hMenu.php, assets/js/zp-search.js, recherche-ajax.php), 2026-10-30.
   The panel itself (.search-container, its logo and close cross) keeps the theme rules of styleN_with_fa.css. */
.search-container { background: #1d1d22; }
.zs { --zs-accent: #60ff00; --zs-card: #26262c; --zs-line: rgba(255,255,255,.1); --zs-muted: #a1a1aa;
	position: absolute; top: 76px; bottom: 0; left: 50%; transform: translateX(-50%); width: min(1080px, calc(100% - 32px));
	display: flex; flex-direction: column; color: #fff; font-family: 'Open Sans', sans-serif; }
.zs *, .zs *::before, .zs *::after { box-sizing: border-box; }
/* the site sets Oswald and upper case on its own titles and paragraphs */
.zs p, .zs h4, .zs h5, .zs-chip { font-family: 'Open Sans', sans-serif; text-transform: none; letter-spacing: 0; }
.zs strong, .zs i { font: inherit; font-weight: 600; }
.zs i { font-weight: inherit; }

.zs-form { position: relative; display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--zs-line); padding: 6px 0 10px; transition: border-color .2s; }
.zs-form:focus-within { border-color: var(--zs-accent); }
.zs-form svg { flex: none; width: 30px; height: 30px; color: var(--zs-accent); }
.zs-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; padding: 0;
	font: 400 40px/1.2 Oswald, sans-serif; letter-spacing: .5px; -webkit-appearance: none; appearance: none; }
.zs-input::placeholder { color: #5d5d66; }
.zs-input::-webkit-search-cancel-button { display: none; }
.zs-clear { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: none; }
.zs.has-q .zs-clear { display: block; }

.zs-tabs { display: flex; gap: 8px; margin: 18px 0 6px; }
.zs-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--zs-line);
	background: none; color: #d4d4d8; font: 500 15px Oswald, sans-serif; letter-spacing: .6px; text-transform: uppercase; cursor: pointer; transition: .2s; white-space: nowrap; }
.zs-tab:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.zs-tab.on { background: var(--zs-accent); border-color: var(--zs-accent); color: #111; }
.zs-tab b { font-weight: 600; min-width: 22px; padding: 1px 7px; border-radius: 10px; background: rgba(255,255,255,.1); font-size: 13px; text-align: center; }
.zs-tab b:empty { display: none; }
.zs-tab.on b { background: rgba(0,0,0,.15); }

.zs-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 2px 40px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.zs-pane { display: none; }
.zs-pane.on { display: block; }
.zs-msg { color: var(--zs-muted); font-size: 15px; padding: 26px 0; }
.zs-msg strong { color: #fff; }
.zs-busy .zs-pane.on { opacity: .45; transition: opacity .2s .15s; }

/* before typing */
.zs-hint { padding: 22px 0; }
.zs.has-q .zs-hint { display: none; }
.zs:not(.has-q) .zs-pane { display: none; }
.zs:not(.has-q) .zs-tabs { display: none; }
.zs-hint p { margin: 0 0 14px; color: var(--zs-muted); font-size: 15px; line-height: 1.6; max-width: 640px; }
.zs-hint p strong { color: #fff; font-weight: 600; }
.zs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.zs-chip { height: 36px; padding: 0 15px; border-radius: 18px; border: 1px solid var(--zs-line); background: var(--zs-card); color: #fff; font: 14px 'Open Sans', sans-serif; cursor: pointer; transition: .2s; }
.zs-chip:hover { border-color: var(--zs-accent); color: var(--zs-accent); }

/* TV programmes, one block a day */
.zs-day { margin: 18px 0 6px; font: 500 14px Oswald, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--zs-accent); }
.zs-day:first-child { margin-top: 4px; }
.zs-prog { display: grid; grid-template-columns: 58px 46px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; color: #fff; text-decoration: none; transition: background .15s; }
.zs-prog:hover { background: var(--zs-card); color: #fff; }
.zs-prog time { font: 500 19px Oswald, sans-serif; }
.zs-prog .zs-ch { width: 46px; height: 30px; object-fit: contain; }
.zs-prog h4 { margin: 0; font: 600 16px/1.3 'Open Sans', sans-serif; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-prog p { margin: 2px 0 0; font-size: 13px; color: var(--zs-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-prog > div { min-width: 0; }
.zs-prog .zs-pic { width: 110px; height: 62px; border-radius: 6px; object-fit: cover; background: #2f2f36; }
.zs-live { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px; background: #e11d48; color: #fff; font: 600 10px/1.6 'Open Sans', sans-serif; letter-spacing: .5px; vertical-align: 2px; }

/* magazines: the issues named, then the pages */
.zs-h { margin: 6px 0 12px; font: 500 14px Oswald, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--zs-muted); }
.zs-h b { color: #fff; font-weight: 500; }
.zs-issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; margin-bottom: 26px; }
.zs-issue { color: #fff; text-decoration: none; font-size: 13px; }
.zs-issue img { display: block; width: 100%; aspect-ratio: 135 / 180; object-fit: cover; border-radius: 6px; background: #2f2f36; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .2s; }
.zs-issue:hover img { transform: translateY(-3px); }
.zs-issue span { display: block; margin-top: 7px; font-weight: 600; }
.zs-issue small { color: var(--zs-muted); font-size: 12px; }
.zs-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.zs-page { display: flex; gap: 14px; padding: 10px; border-radius: 10px; background: var(--zs-card); color: #fff; text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.zs-page:hover { border-color: var(--zs-accent); color: #fff; }
.zs-page img { flex: none; width: 86px; height: 115px; object-fit: cover; object-position: top; border-radius: 4px; background: #2f2f36; }
.zs-page div { min-width: 0; }
.zs-page h5 { margin: 0 0 6px; font: 600 13px 'Open Sans', sans-serif; color: #fff; }
.zs-page h5 small { color: var(--zs-muted); font-weight: 400; font-size: 12px; }
.zs-page p { margin: 0; font-size: 13px; line-height: 1.5; color: #c4c4cc; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.zs-page mark { background: rgba(96,255,0,.22); color: #fff; padding: 0 2px; border-radius: 2px; }
.zs-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: rgba(255,255,255,.08); color: var(--zs-muted); font-size: 11px; font-weight: 400; }
.zs-more { display: block; margin: 22px auto 0; height: 42px; padding: 0 24px; border-radius: 21px; border: 1px solid var(--zs-accent); background: none; color: var(--zs-accent); font: 500 15px Oswald, sans-serif; letter-spacing: .6px; text-transform: uppercase; cursor: pointer; }
.zs-more:hover { background: var(--zs-accent); color: #111; }

@media (max-width: 767px) {
	.zs { top: 64px; width: calc(100% - 32px); }
	.zs-form svg { width: 22px; height: 22px; }
	.zs-input { font-size: 26px; }
	.zs-tabs { margin-top: 14px; }
	.zs-tab { height: 36px; padding: 0 13px; font-size: 13px; }
	.zs-tab i { display: none; }
	.zs-prog { grid-template-columns: 48px 38px 1fr; gap: 10px; padding: 9px 4px; }
	.zs-prog time { font-size: 16px; }
	.zs-prog .zs-ch { width: 38px; height: 26px; }
	.zs-prog .zs-pic { display: none; }
	.zs-prog h4 { font-size: 15px; }
	.zs-issues { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.zs-pages { grid-template-columns: 1fr; }
	.zs-page img { width: 72px; height: 96px; }
}
