/* =========================================
   ARTICLE / BLOG POST CSS
   (Optimeret for læsbarhed og SEO-fastholdelse)
========================================= */

/* --- Article Header (Hero) --- */
.article-hero {
    background-color: #0A0F14;
    /* KlokIn Mørk */
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Subtil baggrundseffekt for at gøre den mørke boks levende */
.article-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 255, 209, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.article-category {
    display: inline-block;
    color: #00FFD1;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.article-header-content h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.article-meta {
    color: #a0aab5;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

/* --- Article Body (Teksten) --- */
.article-body-wrapper {
    background-color: #ffffff;
    padding: 5rem 1.5rem;
}

.article-content {
    max-width: 720px;
    /* Den gyldne bredde for læsbarhed */
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333f48;
}

/* Fremhævet introduktionstekst (Lead) */
.article-lead {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #1a2530;
    font-weight: 400;
    margin-bottom: 3rem;
}

/* Typografi i brødteksten */
.article-content h2 {
    color: #0A0F14;
    font-size: 2.2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.article-content h3 {
    color: #1a2530;
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

/* Links (Vigtigt for UX og Backlink markering) */
.article-content a {
    color: #007BFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 123, 255, 0.3);
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-bottom-color: #007BFF;
}

/* --- Konverterende Elementer --- */

/* "TL;DR" (Too Long; Didn't Read) - Nøglepunkter Boks */
.key-takeaways {
    background: #FAFAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.key-takeaways h4 {
    margin-top: 0;
    color: #0A0F14;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 1rem;
    font-size: 1.05rem;
}

/* Smerte/Profit Citat Boks */
.article-quote-box {
    background: #ffffff;
    border-left: 4px solid #00FFD1;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 0 8px 8px 0;
    font-size: 1.25rem;
    font-style: italic;
    color: #1a2530;
    line-height: 1.6;
}

.article-quote-box strong {
    display: block;
    font-style: normal;
    font-size: 1rem;
    color: #0A0F14;
    margin-bottom: 0.5rem;
}

/* CTA Box i bunden */
.article-cta-box {
    background-color: #0A0F14;
    color: #ffffff;
    padding: 4rem 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.article-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00FFD1;
}

.article-cta-box h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.article-cta-box p {
    font-size: 1.15rem;
    color: #a0aab5;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-turkis {
    display: inline-block;
    background-color: #00FFD1;
    color: #0A0F14;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-turkis:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 209, 0.4);
}

/* Mobil */
@media (max-width: 768px) {
    .article-hero {
        padding: 8rem 0 4rem;
    }

    .article-cta-box {
        padding: 3rem 1.5rem;
    }

    .article-quote-box {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}