/* ── FAQ OLDAL ─────────────────────────────────────────── */
.faq-section { padding: 48px 0 0; margin: 0 auto;}

.faq-header { margin-bottom: 36px; }
.faq-header h1 { margin-bottom: 8px;  text-align: center;}
.faq-header-sub { font-size: 1.125rem; color: var(--text-muted); text-align: center; }

.faq-empty { text-align: center; padding: 60px 0; color: var(--text-muted); }

/* ===== Grid layout ===== */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
	margin-top: 1.5rem;
}

/* ===== Bal oldal ===== */
.faq-main {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}

/* ===== Jobb oldal ===== */
.faq-sidebar {
    position: relative;
}

/* Kategória csoport */
.faq-group { margin-bottom: 36px; }

.faq-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);

    margin-bottom: 20px;
    padding-bottom: 10px;

    border-bottom: 1px solid var(--border-gold);

    letter-spacing: 0.03em;
}

/* Accordion */
.faq-accordion {
    display: flex; flex-direction: column; gap: 12px;
}

.faq-item {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

/* hover */
.faq-item:hover {
   border-color: var(--border-gold-dim);
    background: rgba(200,169,110,0.04);
    transform: translateY(-2px);
}

.faq-item[open] {
    border-color: var(--border-gold-dim);
    background: var(--surface-gold);
}

/* Kérdés sor */
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 16px; font-weight: 500;
    color: var(--text-muted);
    list-style: none;
    user-select: none;
    transition: background 0.25s ease, color 0.25s ease;
}
/* Kérdés */
.faq-question-text{
	color: var(--text-muted);
	font-size: 16px;
}

/* Böngésző alapértelmezett nyíl eltávolítása */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover { background: rgba(255,255,255,0.03); }

/* Plus / Minus ikon */
.faq-icon {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 300;
    color: var(--gold);

    transition: transform 0.3s ease, color 0.3s ease;
}

/* hover */
.faq-item:hover .faq-icon {
    text-shadow: 0 0 8px rgba(200,169,110,0.25);
}

/* open állapot */
.faq-item[open] .faq-icon {
    transform: scale(1.15) rotate(180deg);
    color: var(--gold-bright);
}

/* Válasz terület */
.faq-answer {
    padding: 20px 22px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    /* Nyitási animáció */
    animation: faqReveal 0.35s ease both;
}

.faq-answer p { margin-bottom: 0.8rem; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.4rem;
    margin-bottom: 0.8rem;
}

.faq-answer a {
    color: var(--gold);
    text-decoration: none;
}
.faq-answer a:hover,
.faq-answer a:active{
	color:var(--gold-bright);
}

.faq-card {
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;

    border: 1px solid var(--glass-border);
}
.faq-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

/* ===== Icon ===== */
.faq-card-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
	color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(200,169,110,0.1);
}

.faq-card-icon span {
    font-size: 3.2rem;
    color: var(--gold);
}

/* material icon fill fix */
.material-symbols-outlined.filled {
   font-variation-settings: 'FILL' 1;
}

/* ===== Title ===== */
.faq-card-title {
    font-family: var(--font-cormorant);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ===== Text ===== */
.faq-card-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== Image ===== */
.faq-card-image img {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.5rem;

    opacity: 0.4;
    filter: grayscale(100%);
    transition: var(--transition);
}

.faq-card-image img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .faq-section   { padding: 28px 0; }
    .faq-question  { font-size: 14px; padding: 14px 16px; }
    .faq-answer    { padding: 16px; }
	.faq-header-sub{padding: 4px 18px;}
	.faq-layout{ gap: 1rem;}
}

@media (min-width: 1024px) {
    .faq-layout {
        grid-template-columns: 2fr 1fr; /* 8 / 4 arány */
    }
    .faq-sidebar {
        position: sticky;
        top: 6rem; /* top-24 ≈ 96px */
    }
}

@keyframes faqReveal {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}