.portal-faq { padding: 0 0 32px; color: var(--aj-navy); }
.portal-faq__container { width: min(100% - 36px, 1240px); margin-inline: auto; }
.portal-faq__hero { display: flex; align-items: center; gap: 18px; margin: 12px 0 20px; padding: 19px 22px; border: 1px solid var(--aj-line); border-radius: 16px; background: linear-gradient(110deg, #fff 0%, #fff 72%, #fbf7ed 100%); box-shadow: 0 7px 20px rgb(18 48 77 / 4%); }
.portal-faq__hero-icon { width: 55px; height: 55px; flex: 0 0 55px; display: grid; place-items: center; border: 1px solid rgb(182 138 53 / 23%); border-radius: 16px; color: var(--aj-gold-strong); background: #fffaf0; font-size: 24px; }
.portal-faq__hero p { margin: 0 0 3px; color: var(--aj-muted); font-size: 12px; line-height: 1.7; }
.portal-faq__hero h1 { margin: 0; color: var(--aj-navy); font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.5; text-align: start; }
.portal-faq__panel, .portal-faq__contact { padding: clamp(17px, 3vw, 27px); border: 1px solid var(--aj-line); border-radius: 15px; background: #fff; box-shadow: 0 9px 28px rgb(18 48 77 / 5%); }
.portal-faq__panel { border-top: 4px solid var(--aj-gold); }
.portal-faq__search { position: relative; display: flex; align-items: center; margin-bottom: 18px; }
.portal-faq__search > .fa-search { position: absolute; inset-inline-start: 16px; color: #718094; pointer-events: none; }
.portal-faq__search input { width: 100%; min-height: 48px; padding: 10px 46px; border: 1px solid #dfe5eb; border-radius: 10px; color: var(--aj-navy); background: #fff; font: inherit; font-size: 13px; text-align: start; transition: border-color .18s, box-shadow .18s; }
.portal-faq__search input:focus { border-color: var(--aj-gold); outline: 3px solid rgb(182 138 53 / 14%); }
.portal-faq__search button { position: absolute; inset-inline-end: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #647384; background: #f2f4f6; cursor: pointer; }
.portal-faq__items { display: grid; gap: 9px; }
.portal-faq__item { overflow: hidden; border: 1px solid #e6eaf0; border-radius: 11px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.portal-faq__item:hover, .portal-faq__item[open] { border-color: rgb(182 138 53 / 60%); box-shadow: 0 5px 16px rgb(18 48 77 / 5%); }
.portal-faq__item summary { display: flex; min-height: 60px; align-items: center; gap: 12px; padding: 12px 15px; color: var(--aj-navy); font-size: 13px; font-weight: 700; line-height: 1.8; cursor: pointer; list-style: none; text-align: start; }
.portal-faq__item summary::-webkit-details-marker { display: none; }
.portal-faq__item summary:focus-visible { outline: 3px solid rgb(182 138 53 / 38%); outline-offset: -3px; }
.portal-faq__number { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 9px; color: var(--aj-gold-strong); background: #faf5e9; font-size: 10px; font-weight: 800; }
.portal-faq__question { flex: 1; }
.portal-faq__item summary > .fa { color: var(--aj-gold-strong); transition: transform .18s ease; }
.portal-faq__item[open] summary > .fa { transform: rotate(180deg); }
.portal-faq__answer { padding: 0 60px 18px; color: #536274; font-size: 13px; line-height: 1.95; overflow-wrap: anywhere; text-align: start; }
.portal-faq__answer > :first-child { margin-top: 0; }
.portal-faq__answer > :last-child { margin-bottom: 0; }
.portal-faq__results { min-height: 20px; margin: 10px 2px 0; color: var(--aj-muted); font-size: 11px; }
.portal-faq__empty { padding: 30px 15px; border: 1px dashed var(--aj-line); border-radius: 11px; color: var(--aj-muted); text-align: center; font-size: 13px; }
.portal-faq__empty .fa { display: block; margin-bottom: 9px; color: var(--aj-gold-strong); font-size: 22px; }
.portal-faq__pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.portal-faq__page { min-width: 35px; height: 35px; padding: 0 10px; border: 1px solid #e1e6ec; border-radius: 8px; color: var(--aj-navy); background: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.portal-faq__page:hover:not(:disabled), .portal-faq__page[aria-current="page"] { border-color: var(--aj-gold-strong); color: #fff; background: var(--aj-gold-strong); }
.portal-faq__page:disabled { opacity: .45; cursor: default; }
.portal-faq__contact { margin-top: 18px; border-top: 3px solid #e7ebef; }
.portal-faq__contact-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.portal-faq__contact-heading > span { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 13px; color: var(--aj-gold-strong); background: #faf5e9; font-size: 18px; }
.portal-faq__contact-heading h2 { margin: 0 0 3px; color: var(--aj-navy); font-size: 17px; font-weight: 800; text-align: start; }
.portal-faq__contact-heading p { margin: 0; color: var(--aj-muted); font-size: 11px; line-height: 1.8; }
.portal-faq .portal-contact-form__submit { border-color: var(--aj-gold-strong); background: var(--aj-gold-strong); }
.portal-faq .portal-contact-form__submit:hover, .portal-faq .portal-contact-form__submit:focus-visible { background: var(--aj-navy); }
@media (max-width: 640px) {
    .portal-faq__container { width: min(100% - 24px, 1240px); }
    .portal-faq__hero { gap: 12px; margin: 9px 0 13px; padding: 14px; }
    .portal-faq__hero-icon { width: 43px; height: 43px; flex-basis: 43px; border-radius: 12px; font-size: 19px; }
    .portal-faq__hero p { font-size: 10px; }
    .portal-faq__panel, .portal-faq__contact { padding: 14px; border-radius: 12px; }
    .portal-faq__item summary { min-height: 54px; gap: 9px; padding: 10px; font-size: 12px; }
    .portal-faq__number { width: 28px; height: 28px; flex-basis: 28px; }
    .portal-faq__answer { padding: 0 47px 14px; font-size: 12px; }
    .portal-faq__contact-heading h2 { font-size: 15px; }
}
