/* إجابات — question pages and their index. Loaded only on answers/ pages, after refined.css and motion.css.
   Same editorial language as the rest of the refined direction: hairlines, small radii, quiet weights. */

.ans-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 6px 0 0; font-size: 14px; color: #9fbcbc; }
.ans-meta a { color: #cfe3e3; text-decoration: underline; text-underline-offset: 3px; }

.ans-layout { display: grid; gap: 48px; }
.ans-body h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 48px 0 26px; }
.ans-label { display: block; font-size: 14px; font-weight: var(--w-ui); color: var(--brand-ink); margin-bottom: 8px; }

/* The short answer: the passage readers and search tools quote. */
.ans-short { padding: 24px 26px; background: var(--surface); border-inline-start: 3px solid var(--brand); border-radius: 4px; }
.ans-short p { margin: 0; font-size: clamp(18px, 1.7vw, 20px); line-height: 1.95; color: var(--ink); }

.ans-steps .step p { color: var(--body); }
.ans-tip { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; }
.ans-tip > .icon { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 4px; }
.ans-tip strong { display: block; color: var(--ink); margin-bottom: 2px; }
.ans-tip p { margin: 0; color: var(--body); }
.ans-alt { margin-top: 32px; }
.ans-alt > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.ans-alt .chips li { font-weight: 400; color: var(--body); }

/* Side column: how Reform applies it, then further reading. */
.ans-help { padding: 30px 28px; border-radius: var(--radius); background: var(--brand-900); color: #b9d2d2; }
.ans-help .ans-label { color: var(--aqua); }
.ans-help h2 { color: #fff; font-size: 21px; margin: 0 0 10px; }
.ans-help p { margin: 0 0 22px; font-size: 15.5px; }
.ans-help .btn-primary { width: 100%; background: var(--aqua); color: var(--brand-900); }
.ans-help .btn-primary:hover { background: #7fd9d5; color: var(--brand-900); box-shadow: var(--ring); }
.ans-help .link-arrow { display: flex; justify-content: center; margin-top: 14px; color: var(--aqua); font-size: 15px; }
.ans-more { margin-top: 28px; }
.ans-more h2 { font-size: 17px; margin: 0 0 6px; }
.ans-more ul { list-style: none; margin: 0; padding: 0; }
.ans-more a { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.ans-more a:hover { color: var(--brand-ink); }
.ans-more .icon { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
@media (min-width: 980px) {
  .ans-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
  .ans-side { position: sticky; top: 100px; }
}

/* Question rows (.ans-list) live in refined.css, since service pages and the home page use them too. */

/* Index: search in the page head, category jumps, grouped lists. */
.ans-search { position: relative; max-width: 640px; margin-top: 26px; }
.ans-search .icon { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--aqua); pointer-events: none; }
.ans-search input { width: 100%; font: inherit; font-size: 17px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(98, 205, 200, .4);
  border-radius: 999px; padding: 15px 22px; padding-inline-start: 50px; }
.ans-search input::placeholder { color: #8fb0b0; }
.ans-search input:focus { outline: none; border-color: var(--aqua); box-shadow: var(--ring); }
.ans-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; }
.ans-cats a { font-size: 14.5px; color: #cfe3e3; border-bottom: 1px solid rgba(207, 227, 227, .3); padding-bottom: 2px; }
.ans-cats a:hover { color: #fff; border-color: #fff; }
.ans-group { scroll-margin-top: 96px; }
.ans-group + .ans-group { margin-top: 64px; }
.ans-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ans-group-head .icon { width: 24px; height: 24px; color: var(--brand); }
.ans-group-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.ans-group-head span { margin-inline-start: auto; font-size: 14px; color: var(--muted); }
.ans-empty { padding: 40px 0; text-align: center; }
.ans-empty p { color: var(--muted); }
@media (min-width: 900px) { .ans-index .ans-list { columns: 2; column-gap: 48px; border-top: 0; } .ans-index .ans-list li { break-inside: avoid; } .ans-index .ans-list a { border-top: 0; } }
