/* Drepturi de autor © 2026 Ovidiu Preda <ovidiu.preda@gmail.com>. Toate drepturile rezervate. */
/**
 * FAQ Icons + Content typography + minimal widget overrides.
 * Widget design folosește clase Tailwind în template; aici doar overrides minore.
 */

/* === ACTIVE TAB (Tailwind hover overrides) === */
[data-faq-tabs] button.is-active {
    background: var(--color-usams-primary, var(--iu-albastru-deschis)) !important;
    color: white !important;
    border-color: var(--color-usams-primary, var(--iu-albastru-deschis)) !important;
}
[data-faq-tabs] button.is-active span {
    background: rgba(255,255,255,0.25) !important;
}

/* Scroll arrows hide la limita scroll */
[data-scroll-dir].is-disabled {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* Arrow buttons — centered vertical pe înălțimea tabs row (32×32 button) */
.faq-tabs-wrap .faq-tabs-arrow {
    top: 50%;
    transform: translateY(-50%);
    margin-top: -8px; /* compensează padding-bottom 1rem (16px) al wrap-ului = 8px shift up */
}
.faq-tabs-arrow--left { left: 0; }
.faq-tabs-arrow--right { right: 0; }

/* Count badge — fix size, brand-aware când tab e activ */
.faq-tab-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.08);
    line-height: 1;
    flex-shrink: 0;
}
[data-faq-tabs] button.is-active .faq-tab-count {
    background: rgba(255,255,255,0.25);
}

/* Tab button — vertical center fix */
[data-faq-tabs] button {
    line-height: 1.25;
}

/* Scrollbar tabs custom (thin, brand color hover) */
[data-faq-tabs]::-webkit-scrollbar { height: 4px; }
[data-faq-tabs]::-webkit-scrollbar-track { background: transparent; }
[data-faq-tabs]::-webkit-scrollbar-thumb { background: var(--iu-linie-2); border-radius: 0; }
[data-faq-tabs]::-webkit-scrollbar-thumb:hover { background: var(--color-usams-primary, var(--iu-albastru-deschis)); }
[data-faq-tabs] { scrollbar-width: thin; scrollbar-color: var(--iu-linie-2) transparent; }


/* ============================================================
   CATEGORY/PRODUCT PAGE WIDGET — legacy BEM (rare) — DEPRECATED
   ============================================================ */
.inchirieri-faq-widget {
    max-width: 1280px;
    margin: 2.5rem auto;
    padding: 2rem 1rem;
    background: white;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid var(--iu-linie);
}
.inchirieri-faq-widget__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-usams-text, var(--iu-text-2));
    margin: 0 0 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}
.inchirieri-faq-widget__title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--color-usams-primary, var(--iu-albastru-deschis));
    border-radius: 0;
}
.inchirieri-faq-widget--product .inchirieri-faq-widget__title { font-size: 1.25rem; }

/* TABS — horizontal scroll */
.inchirieri-faq-tabs-wrap {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--iu-linie);
}
.inchirieri-faq-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 2.5rem;
    margin: 0 -0.5rem;
    /* Fade edges + scrollbar custom */
    mask-image: linear-gradient(to right, transparent 0, var(--iu-negru) 24px, var(--iu-negru) calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, var(--iu-negru) 24px, var(--iu-negru) calc(100% - 24px), transparent 100%);
}
.inchirieri-faq-tabs::-webkit-scrollbar { height: 4px; }
.inchirieri-faq-tabs::-webkit-scrollbar-track { background: transparent; }
.inchirieri-faq-tabs::-webkit-scrollbar-thumb { background: var(--iu-linie-2); border-radius: 0; }
.inchirieri-faq-tabs::-webkit-scrollbar-thumb:hover { background: var(--color-usams-primary, var(--iu-albastru-deschis)); }
.inchirieri-faq-tabs { scrollbar-width: thin; scrollbar-color: var(--iu-linie-2) transparent; }

/* Scroll arrows */
.inchirieri-faq-tabs-arrow {
    position: absolute;
    top: 0; bottom: 1rem;
    width: 32px;
    display: flex; align-items: center; justify-content: center;
    background: white;
    border: 1px solid var(--iu-linie);
    border-radius: 0;
    width: 32px; height: 32px;
    top: 50%; transform: translateY(-50%);
    margin-top: -0.5rem;
    cursor: pointer;
    z-index: 2;
    color: var(--color-usams-text, var(--iu-text-2));
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.inchirieri-faq-tabs-arrow:hover {
    background: var(--color-usams-primary, var(--iu-albastru-deschis));
    color: white;
}
.inchirieri-faq-tabs-arrow--left { left: 0; }
.inchirieri-faq-tabs-arrow--right { right: 0; }
.inchirieri-faq-tabs-arrow[disabled],
.inchirieri-faq-tabs-arrow.is-disabled {
    opacity: 0; pointer-events: none;
}
.inchirieri-faq-tabs-arrow svg { width: 16px; height: 16px; }

.inchirieri-faq-tabs__btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 0.5rem 1rem;
    background: var(--iu-fundal);
    border: 1px solid var(--iu-linie);
    border-radius: 0;
    font-size: 0.875rem; font-weight: 500;
    white-space: nowrap;
    color: var(--color-usams-text, var(--iu-text-2));
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.inchirieri-faq-tabs__btn:active { transform: scale(0.97); }
.inchirieri-faq-tabs__btn:hover {
    background: color-mix(in srgb, var(--color-usams-primary, var(--iu-albastru-deschis)) 10%, white);
    color: var(--color-usams-primary, var(--iu-albastru-deschis));
    border-color: color-mix(in srgb, var(--color-usams-primary, var(--iu-albastru-deschis)) 30%, transparent);
}
.inchirieri-faq-tabs__btn--active {
    background: var(--color-usams-primary, var(--iu-albastru-deschis)) !important;
    color: white !important;
    border-color: var(--color-usams-primary, var(--iu-albastru-deschis)) !important;
}
.inchirieri-faq-tabs__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 0.375rem;
    border-radius: 0;
    background: rgba(0,0,0,0.08);
    font-size: 0.75rem; font-weight: 600;
}
.inchirieri-faq-tabs__btn--active .inchirieri-faq-tabs__count {
    background: rgba(255,255,255,0.25);
}

/* PANELS */
.inchirieri-faq-tabs__panel { display: none; }
.inchirieri-faq-tabs__panel--active { display: block; }
.inchirieri-faq-accordion {
    display: flex; flex-direction: column; gap: 0.75rem;
}

/* CTA link */
.inchirieri-faq-widget__link {
    display: inline-flex; align-items: center; gap: 0.375rem;
    margin-top: 1.5rem;
    color: var(--color-usams-primary, var(--iu-albastru-deschis));
    font-size: 0.875rem; font-weight: 600;
    text-decoration: none;
}
.inchirieri-faq-widget__link:hover { text-decoration: underline; }

/* Map widget accordion items to faq-item styles */
.inchirieri-faq-accordion .faq-item { margin-bottom: 0; }



/* === FAQ Content typography (înlocuiește Tailwind prose) === */
.faq-content p { margin: 0 0 0.75rem; }
.faq-content p:last-child { margin-bottom: 0; }
.faq-content strong, .faq-content b { font-weight: 700; color: var(--color-usams-text, var(--iu-text-2)); }
.faq-content a { color: var(--color-usams-primary, var(--iu-albastru-deschis)); text-decoration: underline; text-underline-offset: 2px; }
.faq-content a:hover { text-decoration: none; }
.faq-content ul, .faq-content ol { padding-left: 1.5rem; margin: 0.5rem 0 0.75rem; }
.faq-content ul { list-style: disc; }
.faq-content ol { list-style: decimal; }
.faq-content li { margin: 0.25rem 0; }
.faq-content h2, .faq-content h3, .faq-content h4 { font-weight: 700; color: var(--color-usams-text, var(--iu-text-2)); margin: 1rem 0 0.5rem; }
.faq-content h2 { font-size: 1.125rem; }
.faq-content h3 { font-size: 1rem; }
.faq-content blockquote { border-left: 3px solid var(--color-usams-primary, var(--iu-albastru-deschis)); padding-left: 1rem; margin: 1rem 0; color: var(--iu-text-4); font-style: italic; }
.faq-content code { background: var(--iu-fundal); padding: 0.125rem 0.375rem; border-radius: 0; font-size: 0.875em; }

/* ============================================================
   FAQ CATEGORY PAGE — Design custom CSS, no Tailwind compile
   ============================================================ */

:root {
    --faq-primary: var(--color-usams-primary, var(--iu-albastru-deschis));
    --faq-text: var(--color-usams-text, var(--iu-text-2));
    --faq-bg: var(--color-usams-page-bg, var(--iu-fundal));
    --faq-border: var(--iu-linie);
    --faq-muted: var(--iu-text-4);
    --faq-card-shadow: 0 1px 2px rgba(0,0,0,0.05);
    --faq-card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);
}

/* === BREAK OUT of theme .columns wrapper (max-width: 40-48rem limit) === */
body:has(.faq-page) .columns,
body:has(.faq-page) .column.main,
.columns:has(.faq-page),
.column.main:has(.faq-page) {
    max-width: none !important;
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Page wrapper */
.faq-page { background: var(--faq-bg); min-height: 60vh; width: 100%; max-width: none; }

/* HERO BANNER */
.faq-hero {
    background: linear-gradient(135deg, var(--faq-primary) 0%, color-mix(in srgb, var(--faq-primary) 75%, var(--iu-albastru-inchis)) 100%);
    color: white;
    padding: 2.5rem 0 3rem;
}
@media (min-width: 768px) { .faq-hero { padding: 3.5rem 0 4rem; } }
.faq-hero__inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.faq-hero__breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.faq-hero__breadcrumb a { color: inherit; text-decoration: none; }
.faq-hero__breadcrumb a:hover { color: white; }
.faq-hero__breadcrumb-sep { color: rgba(255,255,255,0.5); }
.faq-hero__breadcrumb-current { color: white; font-weight: 500; }
.faq-hero__header { display: flex; align-items: flex-start; gap: 1rem; }
.faq-hero__icon {
    flex-shrink: 0;
    width: 3.5rem; height: 3.5rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 0;
    font-size: 1.875rem;
    backdrop-filter: blur(4px);
}
@media (min-width: 768px) { .faq-hero__icon { width: 4rem; height: 4rem; font-size: 2.25rem; } }
.faq-hero__title { font-size: 1.5rem; font-weight: 900; line-height: 1.2; margin: 0 0 0.5rem; }
@media (min-width: 768px) { .faq-hero__title { font-size: 2.25rem; } }
.faq-hero__desc { color: rgba(255,255,255,0.9); font-size: 0.875rem; max-width: 42rem; margin: 0; }
@media (min-width: 768px) { .faq-hero__desc { font-size: 1rem; } }
.faq-hero__count { color: rgba(255,255,255,0.7); font-size: 0.75rem; margin: 0.5rem 0 0; }
@media (min-width: 768px) { .faq-hero__count { font-size: 0.875rem; } }

/* MAIN LAYOUT */
.faq-layout { max-width: 1280px; margin: 0 auto; padding: 2rem 1rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) {
    .faq-layout { grid-template-columns: 280px 1fr; gap: 2.5rem; padding: 3rem 1rem; }
}

/* SIDEBAR */
.faq-sidebar { position: relative; }
@media (min-width: 1024px) { .faq-sidebar { position: sticky; top: 6rem; align-self: flex-start; } }
.faq-sidebar__box { background: white; border-radius: 0; box-shadow: var(--faq-card-shadow); border: 1px solid var(--faq-border); overflow: hidden; }
.faq-sidebar__title { padding: 1rem 1.25rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faq-muted); border-bottom: 1px solid var(--faq-border); margin: 0; }
.faq-sidebar__list { list-style: none; margin: 0; padding: 0; }
.faq-sidebar__list > li { border-bottom: 1px solid var(--iu-fundal-2); }
.faq-sidebar__list > li:last-child { border-bottom: 0; }
.faq-sidebar__link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--faq-text);
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.faq-sidebar__link:hover { background: var(--iu-fundal); }
.faq-sidebar__link--active {
    background: color-mix(in srgb, var(--faq-primary) 10%, transparent);
    color: var(--faq-primary);
    font-weight: 600;
    border-left-color: var(--faq-primary);
}
.faq-sidebar__icon { font-size: 1rem; flex-shrink: 0; }
.faq-sidebar__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faq-sidebar__count {
    flex-shrink: 0;
    min-width: 24px; height: 24px; padding: 0 0.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0;
    background: var(--iu-fundal-2); color: var(--faq-muted);
    font-size: 0.75rem; font-weight: 500;
}
.faq-sidebar__link--active .faq-sidebar__count { background: var(--faq-primary); color: white; }

/* CONTENT */
.faq-content-area { min-width: 0; }

/* FILTER BAR */
.faq-filter {
    background: white; border-radius: 0; box-shadow: var(--faq-card-shadow); border: 1px solid var(--faq-border);
    padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.faq-filter__row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .faq-filter__row { flex-direction: row; align-items: center; } }
.faq-filter__label { font-size: 0.875rem; font-weight: 600; color: var(--faq-text); flex-shrink: 0; }
.faq-filter__select-wrap { flex: 1; position: relative; }
.faq-filter__select {
    width: 100%; appearance: none;
    background: var(--iu-fundal); border: 1px solid var(--faq-border); border-radius: 0;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    font-size: 0.875rem; color: var(--faq-text); cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-filter__select:focus { outline: none; border-color: var(--faq-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--faq-primary) 25%, transparent); }
.faq-filter__select-arrow { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--iu-text-5); pointer-events: none; }
.faq-filter__clear { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--faq-muted); text-decoration: none; }
.faq-filter__clear:hover { color: var(--faq-primary); }
.faq-filter__active { margin: 0.75rem 0 0; font-size: 0.75rem; color: var(--faq-muted); }
.faq-filter__active strong { color: var(--faq-primary); }

/* ACCORDION LIST */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* ACCORDION ITEM */
.faq-item {
    background: white;
    border-radius: 0;
    box-shadow: var(--faq-card-shadow);
    border: 1px solid var(--faq-border);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover { box-shadow: var(--faq-card-shadow-hover); border-color: color-mix(in srgb, var(--faq-primary) 30%, var(--faq-border)); }
.faq-item__trigger {
    width: 100%;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent; border: 0; cursor: pointer; text-align: left;
}
@media (min-width: 768px) { .faq-item__trigger { padding: 1rem 1.5rem; } }
.faq-item__title {
    flex: 1; min-width: 0;
    font-size: 1rem; font-weight: 600; color: var(--faq-text);
    line-height: 1.4; margin: 0;
    transition: color 0.15s;
}
@media (min-width: 768px) { .faq-item__title { font-size: 1.125rem; } }
.faq-item:hover .faq-item__title { color: var(--faq-primary); }
.faq-item__chevron {
    flex-shrink: 0;
    width: 2rem; height: 2rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0;
    background: var(--iu-fundal);
    transition: background 0.15s, color 0.15s, transform 0.2s;
    color: var(--faq-muted);
}
.faq-item:hover .faq-item__chevron { background: color-mix(in srgb, var(--faq-primary) 10%, transparent); color: var(--faq-primary); }
.faq-item__chevron svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.faq-item[x-data*="open: true"] .faq-item__chevron svg,
.faq-item .faq-item__chevron[aria-expanded="true"] svg,
[aria-expanded="true"] .faq-item__chevron svg { transform: rotate(180deg); }

.faq-item__body { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--faq-border); }
@media (min-width: 768px) { .faq-item__body { padding: 0 1.5rem 1.5rem; } }
.faq-item__body > *:first-child { padding-top: 1rem; }

/* Alpine transitions (replacement pentru x-collapse) */
.faq-item__body--enter { transition: opacity 0.2s ease-out, transform 0.2s ease-out; }
.faq-item__body--enter-start { opacity: 0; transform: translateY(-4px); }
.faq-item__body--enter-end { opacity: 1; transform: translateY(0); }

/* SHORT ANSWER box */
.faq-shortanswer {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    background: color-mix(in srgb, var(--faq-primary) 8%, transparent);
    border-left: 4px solid var(--faq-primary);
    border-radius: 0 4px 4px 0;
}
.faq-shortanswer p { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--faq-text); }

/* RELATED */
.faq-related { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--faq-border); }
.faq-related__title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faq-muted); margin: 0 0 0.5rem; }
.faq-related__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.375rem; }
.faq-related__link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--faq-primary); text-decoration: none; }
.faq-related__link:hover { text-decoration: underline; }
.faq-related__link svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }

/* TAGS */
.faq-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.faq-tags__icon { width: 1rem; height: 1rem; color: var(--iu-text-5); }
.faq-tag { display: inline-flex; align-items: center; padding: 0.25rem 0.625rem; font-size: 0.75rem; background: var(--iu-fundal-2); color: var(--iu-text-2); border-radius: 0; text-decoration: none; transition: background 0.15s, color 0.15s; }
.faq-tag:hover { background: color-mix(in srgb, var(--faq-primary) 12%, transparent); color: var(--faq-primary); }

/* ACTIONS BAR */
.faq-actions { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--faq-border); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; font-size: 0.875rem; }
.faq-actions__spacer { flex: 1; }
.faq-stat { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--faq-muted); }
.faq-stat svg { width: 1rem; height: 1rem; }

/* VOTING */
.faq-vote { display: flex; align-items: center; gap: 0.5rem; }
.faq-vote__label { font-size: 0.75rem; color: var(--faq-muted); margin-right: 0.25rem; }
.faq-vote__btn { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.625rem; border-radius: 0; background: var(--iu-fundal); color: var(--faq-muted); font-size: 0.75rem; font-weight: 500; border: 0; cursor: pointer; transition: background 0.15s, color 0.15s; }
.faq-vote__btn svg { width: 0.875rem; height: 0.875rem; }
.faq-vote__btn--up:hover { background: var(--iu-succes-fundal); color: var(--iu-succes-inchis); }
.faq-vote__btn--down:hover { background: var(--iu-rosu-fundal); color: var(--iu-rosu-inchis); }

/* AUTHOR + VIEW ARTICLE */
.faq-author { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--faq-muted); }
.faq-author svg { width: 0.875rem; height: 0.875rem; }
.faq-viewlink { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--faq-primary); text-decoration: none; }
.faq-viewlink:hover { text-decoration: underline; }
.faq-viewlink svg { width: 0.875rem; height: 0.875rem; }

/* SHARE */
.faq-share { display: flex; align-items: center; gap: 0.25rem; }
.faq-share__btn { width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border-radius: 0; background: var(--iu-fundal); color: var(--faq-muted); border: 0; cursor: pointer; transition: background 0.15s, color 0.15s; }
.faq-share__btn svg { width: 0.875rem; height: 0.875rem; }
.faq-share__btn[data-share-platform="facebook"]:hover { background: var(--iu-albastru-fundal); color: var(--iu-link); }
.faq-share__btn[data-share-platform="twitter"]:hover { background: var(--iu-text); color: white; }
.faq-share__btn[data-share-platform="whatsapp"]:hover { background: var(--iu-succes-fundal); color: var(--iu-succes); }
.faq-share__btn[data-share-platform="copy"]:hover { background: var(--iu-linie); }

/* EMPTY STATE */
.faq-empty { background: white; border-radius: 0; box-shadow: var(--faq-card-shadow); border: 1px solid var(--faq-border); padding: 3rem 1.5rem; text-align: center; }
.faq-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; background: var(--iu-fundal); border-radius: 0; margin: 0 auto 1rem; color: var(--iu-text-5); }
.faq-empty__icon svg { width: 2rem; height: 2rem; }
.faq-empty__title { font-size: 1.125rem; font-weight: 700; color: var(--faq-text); margin: 0 0 0.5rem; }
.faq-empty__desc { font-size: 0.875rem; color: var(--faq-muted); margin: 0 0 1.5rem; }
.faq-empty__cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; background: var(--faq-primary); color: white; font-size: 0.875rem; font-weight: 500; border-radius: 0; text-decoration: none; transition: background 0.15s; }
.faq-empty__cta:hover { background: color-mix(in srgb, var(--faq-primary) 90%, black); color: white; }
.faq-empty__cta svg { width: 1rem; height: 1rem; }

/* PAGINATION */
.faq-pagination { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.faq-pagination__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; }
.faq-pagination__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.75rem; background: white; border: 1px solid var(--faq-border); color: var(--faq-text); border-radius: 0; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.faq-pagination__btn:hover { border-color: var(--faq-primary); color: var(--faq-primary); }
.faq-pagination__btn--active { background: var(--faq-primary); color: white; border-color: var(--faq-primary); }
.faq-pagination__btn--active:hover { color: white; }
.faq-pagination__btn svg { width: 1rem; height: 1rem; }
.faq-pagination__ellipsis { padding: 0 0.25rem; color: var(--iu-text-5); }
.faq-pagination__info { font-size: 0.75rem; color: var(--faq-muted); }
.faq-pagination__info strong { color: var(--faq-text); }
@media (max-width: 639px) { .faq-pagination__btn-label { display: none; } }

/* Aplică pe orice <i class="fa-*"> sau <i class="far|fas|fab"> — global, fără wrapper */
i.fa-eye,
i.fa-thumbs-up,
i.fa-thumbs-down,
i.fa-user-circle,
i.fa-file-alt,
i.fa-link,
i.fa-tag,
i.fa-tags,
i.fa-facebook-f,
i.fa-x-twitter,
i.fa-twitter,
i.fa-linkedin-in,
i.fa-whatsapp {
    display: inline-block !important;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
    font-style: normal !important;
    line-height: 1;
}

/* Ascunde class-name marker pseudo (FontAwesome folosea ::before cu glyph) */
i.fa-eye::before,
i.fa-thumbs-up::before,
i.fa-thumbs-down::before,
i.fa-user-circle::before,
i.fa-file-alt::before,
i.fa-link::before,
i.fa-tag::before,
i.fa-tags::before,
i.fa-facebook-f::before,
i.fa-x-twitter::before,
i.fa-twitter::before,
i.fa-linkedin-in::before,
i.fa-whatsapp::before {
    content: '' !important;
}

/* eye — view count */
i.fa-eye {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

/* thumbs-up — vote up */
i.fa-thumbs-up {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v12'/%3E%3Cpath d='M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v12'/%3E%3Cpath d='M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z'/%3E%3C/svg%3E");
}

/* thumbs-down — vote down */
i.fa-thumbs-down {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14V2'/%3E%3Cpath d='M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14V2'/%3E%3Cpath d='M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z'/%3E%3C/svg%3E");
}

/* user-circle — author */
i.fa-user-circle {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20a6 6 0 0 0-12 0'/%3E%3Ccircle cx='12' cy='10' r='4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20a6 6 0 0 0-12 0'/%3E%3Ccircle cx='12' cy='10' r='4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E");
}

/* file-alt — view article */
i.fa-file-alt {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
}

/* link — copy link */
i.fa-link {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

/* tag / tags */
i.fa-tag, i.fa-tags {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H2v7l9.29 9.29c.94.94 2.48.94 3.42 0l3.58-3.58c.94-.94.94-2.48 0-3.42L9 5Z'/%3E%3Cpath d='M6 9.01V9'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H2v7l9.29 9.29c.94.94 2.48.94 3.42 0l3.58-3.58c.94-.94.94-2.48 0-3.42L9 5Z'/%3E%3Cpath d='M6 9.01V9'/%3E%3C/svg%3E");
}

/* facebook — share */
i.fa-facebook-f {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E");
}

/* twitter / X — share */
i.fa-x-twitter, i.fa-twitter {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.746l7.733-8.835L1.254 2.25H8.08l4.253 5.622 4.911-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117l11.966 15.644Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.746l7.733-8.835L1.254 2.25H8.08l4.253 5.622 4.911-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117l11.966 15.644Z'/%3E%3C/svg%3E");
}

/* linkedin — share */
i.fa-linkedin-in {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286ZM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065Zm1.782 13.019H3.555V9h3.564v11.452ZM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286ZM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065Zm1.782 13.019H3.555V9h3.564v11.452ZM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003Z'/%3E%3C/svg%3E");
}

/* whatsapp — share */
i.fa-whatsapp {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413'/%3E%3C/svg%3E");
}

/* vot: stări după clic (06.10.2026) */
.faq-vote__btn.is-loading { opacity: .6; cursor: progress; }
.faq-vote__btn.is-voted { cursor: default; opacity: .75; }
.faq-vote__btn.is-active { opacity: 1; background: var(--iu-succes-fundal); color: var(--iu-succes-inchis); box-shadow: inset 0 0 0 1px var(--iu-succes-linie); }
.faq-vote__btn--down.is-active { background: var(--iu-rosu-fundal); color: var(--iu-rosu-inchis); box-shadow: inset 0 0 0 1px var(--iu-rosu-linie); }
.faq-vote__msg { font-size: 0.8rem; color: var(--faq-muted); margin-left: 0.25rem; }
