/* ==========================================================================
   [faqs] – Συχνές Ερωτήσεις
   ========================================================================== */
.faqs { --faq-accent: var(--navy, #24497a); margin-block: 8px; }
.faqs--sidebar { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; }
.faqs__main { min-width: 0; }
.faqs__title { margin: 0 0 20px; color: var(--faq-accent); }

/* Side */
.faqs__side { position: sticky; top: calc(var(--sticky-h, 88px) + var(--admin-h, 0px) + 24px); display: grid; gap: 18px; }
.faqs__cats { display: grid; gap: 4px; }
.faqs__cats button {
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 12px 16px; border: 0; border-radius: 12px; background: none;
	color: var(--ink, #1f2a37); font-size: 15px; text-align: left; transition: background-color .2s, color .2s;
}
.faqs__cats button:hover { background: var(--bg-soft, #f4f7fb); }
.faqs__cats button[aria-pressed="true"] { background: var(--ice, #e7f0f8); color: var(--faq-accent); font-weight: 700; }
.faqs__count { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: rgba(36, 73, 122, .08); color: var(--muted, #5d6a7a); font-size: 12.5px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.faqs__help { display: grid; gap: 8px; padding: 22px; border-radius: var(--r, 18px); background: var(--navy-deep, #14284a); color: #fff; font-size: 14.5px; }
.faqs__help strong { font-size: 16.5px; }
.faqs__help p { margin: 0 0 4px; color: rgba(255, 255, 255, .8); }
.faqs__help a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.faqs__help a:hover { color: var(--gold-wf, #c9a25a); }

/* Search */
.faqs__search { position: relative; margin-bottom: 24px; }
.faqs__search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted, #5d6a7a); pointer-events: none; }
.faqs__search input {
	width: 100%; padding: 16px 22px 16px 54px; border: 1px solid var(--line, #e3e8ef); border-radius: 999px;
	background: #fff; font-size: 16px; box-shadow: 0 6px 20px rgba(20, 40, 74, .06);
}

/* Groups & items */
.faqs__group + .faqs__group { margin-top: 30px; }
.faqs__group-title { margin: 0 0 12px; font-size: 13.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-wf, #c9a25a); }
.faq { margin-bottom: 10px; background: #fff; border: 1px solid var(--line, #e3e8ef); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--ice-2, #cfe1f0); box-shadow: 0 10px 30px rgba(20, 40, 74, .08); }
.faq__q {
	position: relative; display: block; padding: 18px 60px 18px 20px; list-style: none; cursor: pointer;
	font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--faq-accent);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
	background: var(--ice, #e7f0f8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324497a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .25s;
}
.faq[open] > .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--brand-light, #5888af); }
.faq__a { max-width: 760px; padding: 0 20px 20px; color: var(--muted, #5d6a7a); font-size: 15px; }
.faq__a strong, .faq__a b { color: var(--ink, #1f2a37); }
.faq__a a { color: var(--faq-accent); font-weight: 700; }
.faq__a > :last-child { margin-bottom: 0; }
.faq.is-hit .faq__q mark, .faq__a mark { padding: 0 2px; border-radius: 3px; background: var(--gold-soft, #f3e9d4); color: inherit; }
.faq:target { border-color: var(--gold-wf, #c9a25a); }

.faqs__empty { padding: 30px; border: 1px dashed var(--line, #e3e8ef); border-radius: 14px; color: var(--muted, #5d6a7a); text-align: center; }
.faqs-empty-admin { padding: 12px 16px; border-left: 3px solid #d63638; background: #fcf0f1; font-size: 14px; }

@media (max-width: 860px) {
	.faqs--sidebar { grid-template-columns: 1fr; gap: 20px; }
	.faqs__side { position: static; }
	.faqs__cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.faqs__cats button { flex-shrink: 0; padding: 9px 14px; border: 1px solid var(--line, #e3e8ef); border-radius: 999px; white-space: nowrap; }
	.faqs__help { display: none; }
}
