/* FAQ container */
.faq-item {
    border-bottom: 1px solid #222;
    padding: 0.6rem 0;
}

/* FAQ question button */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    padding: 0.6rem 0;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #00a0a0;
}

/* FAQ answer (collapsed by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Expand when active */
.faq-item.active .faq-answer {
    max-height: 500px; /* enough for long answers */
}

.cta-box {
    text-align: center;
    margin: 2.5rem 0;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 0.9rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

/* --- HERO SEKTION --- */
.article-hero {
    height: 60vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 100px 40px 60px;
    background: linear-gradient(transparent, var(--bg));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-title-overlay h1 {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-bright);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- ARTIKEL CONTAINER --- */
.article-container {
    max-width: 800px;
    margin: -60px auto 100px; /* Negativ margin trækker boksen op over billedet */
    background: var(--bg);
    padding: 60px;
    position: relative;
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 5;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
}

.back-link:hover {
    color: var(--text-bright);
    gap: 15px;
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.article-body h2 {
    color: var(--text-bright);
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.article-body p {
    margin-bottom: 25px;
}

/* --- MOBIL RESPONSIVITET --- */
@media (max-width: 768px) {
    .article-hero {
        height: 40vh;
    }

    .article-container {
        margin: -30px 15px 50px; /* Mindre negativ margin og luft til siderne */
        padding: 30px 20px; /* Mere plads til indholdet på små skærme */
        border-radius: 15px;
    }

    .hero-title-overlay {
        padding: 60px 20px 40px;
    }

    .hero-title-overlay h1 {
        font-size: 1.8rem; /* Forhindrer titlen i at fylde hele skærmen */
    }

    .article-body {
        font-size: 1rem;
    }

    /* Sørg for at grid-billeder i artiklen stakker på mobil */
    .article-body div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .rating-table {
        font-size: 0.9rem;
    }
}