/* Fag-sider – Twenty Twenty-Five farvepalette */
/* Palette: #F7F7F7, #1A1A1A, #849CCF, #E0CFF7, #2A3B66, #696969, #DED8CE, #D4D4D4 */

.fag-page-content { max-width: 100%; }
.fag-hero { margin: 0 calc(50% - 50vw); padding: 60px 20px; background: #2A3B66; color: white; text-align: center; }
.fag-hero h1 { color: white; font-size: 2.5em; margin-bottom: 20px; }
.fag-hero p { font-size: 1.2em; max-width: 800px; margin: 0 auto; }
.fag-content { max-width: 1000px; margin: 60px auto; padding: 0 20px; line-height: 1.8; }
.fag-alert { background: #E0CFF7; border-left: 4px solid #849CCF; padding: 20px; margin-bottom: 40px; border-radius: 4px; }
.fag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.fag-card { background: #F7F7F7; padding: 25px; border-radius: 8px; border-top: 4px solid; }
.fag-card-purple { border-top-color: #849CCF; }
.fag-card-blue { border-top-color: #2A3B66; }
.fag-card-green { border-top-color: #696969; }
.fag-card h4 { margin-top: 0; font-size: 1.3em; }
.fag-steps { background: #F7F7F7; padding: 30px; border-radius: 8px; margin-top: 20px; }
.fag-cta { background: #2A3B66; padding: 40px; border-radius: 12px; margin-top: 50px; text-align: center; color: white; }
.fag-cta h3 { color: white; margin-top: 0; }
.fag-cta-button { display: inline-block; background: white; color: #2A3B66; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 1.1em; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: all 0.3s; }
.fag-cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
.fag-missing { background: #DED8CE; border: 1px solid #696969; padding: 24px; border-radius: 8px; max-width: 600px; margin: 40px auto; }
@media (max-width: 768px) { .fag-hero h1 { font-size: 1.8em; } .fag-hero p { font-size: 1em; } }

/* Fag-side styling – twentytwentyfive-tema */
.fag-hero {
    background: #2A3B66;
    color: white;
    padding: 80px 30px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(42, 59, 102, 0.2);
}

/* Tydelig, men diskret, AI-linje (SEO + forventningsafstemning) */
.fag-hero .lc-ai-note {
    font-size: 1em;
    margin: 18px auto 0;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
}

.fag-hero .lc-ai-note strong {
    color: #ffffff;
}

.lc-ai-note-wrapper {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 20px;
}

.lc-ai-note-wrapper .lc-ai-note {
    margin: 0;
    font-size: 1.05em;
    color: #1A1A1A;
}

.fag-hero h1 {
    font-size: 2.8em;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: white;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.fag-hero p {
    font-size: 1.35em;
    margin: 0 auto;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.fag-hero-cta {
    display: inline-block;
    margin-top: 28px;
}

.fag-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fag-alert {
    background: #E0CFF7;
    border-left: 5px solid #849CCF;
    padding: 24px 28px;
    border-radius: 12px;
    margin-bottom: 45px;
    box-shadow: 0 2px 8px rgba(132, 156, 207, 0.15);
}

.fag-alert-text {
    margin: 0;
    font-size: 1.1em;
    color: #1A1A1A;
    line-height: 1.7;
}

.fag-section {
    margin-bottom: 60px;
}

.fag-section h2 {
    color: #1A1A1A;
    font-size: 2.2em;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 4px solid #849CCF;
    padding-bottom: 12px;
    display: inline-block;
}

.fag-section h3 {
    color: #1A1A1A;
    font-size: 1.7em;
    margin: 40px 0 25px 0;
    font-weight: 600;
}

.fag-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin: 35px 0;
}

.fag-benefit {
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(212, 212, 212, 0.5);
    border-left: 5px solid #849CCF;
    transition: all 0.3s ease;
    position: relative;
}

.fag-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(132, 156, 207, 0.2);
    border-left-color: #2A3B66;
}

.fag-benefit h4 {
    color: #2A3B66;
    font-size: 1.25em;
    margin: 0 0 14px 0;
    font-weight: 600;
}

.fag-benefit p {
    margin: 0;
    color: #696969;
    line-height: 1.7;
    font-size: 1.02em;
}

.fag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 35px 0;
}

.fag-card {
    background: white;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(212, 212, 212, 0.5);
    transition: all 0.3s ease;
    border-top: 5px solid #D4D4D4;
}

.fag-overview-note {
    color: #696969;
    margin: 10px 0 0 0;
}

.fag-overview-grid--grundskole .fag-card:before {
    content: "Grundskolen";
    display: inline-block;
    background: #E0CFF7;
    color: #1A1A1A;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 14px;
}

.fag-overview-grid--gymnasium .fag-card:before {
    content: "Gymnasium";
    display: inline-block;
    background: #E0CFF7;
    color: #1A1A1A;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 14px;
}

.fag-edu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px 0;
}

.fag-edu-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    border: 1px solid #D4D4D4;
    background: #F7F7F7;
    color: #1A1A1A;
}

.fag-edu-tag--stx {
    border-color: rgba(42, 59, 102, 0.25);
    background: rgba(132, 156, 207, 0.22);
}

.fag-edu-tag--htx {
    border-color: rgba(105, 105, 105, 0.25);
    background: rgba(222, 216, 206, 0.55);
}

.fag-edu-tag--hhx {
    border-color: rgba(132, 156, 207, 0.25);
    background: rgba(224, 207, 247, 0.7);
}

.fag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(132, 156, 207, 0.15);
}

.fag-card h4 {
    font-size: 1.45em;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.fag-card p {
    color: #696969;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1.02em;
}

.fag-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fag-card ul li {
    padding: 8px 0;
    color: #696969;
    position: relative;
    padding-left: 26px;
    line-height: 1.6;
}

.fag-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #849CCF;
    font-weight: bold;
    font-size: 1.2em;
}

.fag-card-purple {
    border-top-color: #849CCF;
}

.fag-card-purple h4 {
    color: #2A3B66;
}

.fag-card-blue {
    border-top-color: #2A3B66;
}

.fag-card-blue h4 {
    color: #2A3B66;
}

.fag-card-green {
    border-top-color: #696969;
}

.fag-card-green h4 {
    color: #1A1A1A;
}

.fag-task-types {
    background: #F7F7F7;
    padding: 35px;
    border-radius: 16px;
    margin: 35px 0;
    border: 1px solid #D4D4D4;
}

.fag-task-type {
    background: white;
    padding: 24px;
    margin-bottom: 22px;
    border-radius: 12px;
    border-left: 5px solid #849CCF;
    box-shadow: 0 2px 8px rgba(212, 212, 212, 0.4);
    transition: all 0.2s ease;
}

.fag-task-type:hover {
    box-shadow: 0 4px 12px rgba(132, 156, 207, 0.2);
    transform: translateX(4px);
}

.fag-task-type:last-child {
    margin-bottom: 0;
}

.fag-task-type h4 {
    color: #2A3B66;
    font-size: 1.35em;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.fag-task-type p {
    margin: 0;
    color: #696969;
    line-height: 1.7;
    font-size: 1.02em;
}

.fag-task-type .task-example {
    background: #E0CFF7;
    padding: 14px 16px;
    margin-top: 14px;
    border-radius: 8px;
    font-style: italic;
    color: #696969;
    font-size: 0.96em;
    border-left: 3px solid #849CCF;
}

.fag-steps {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(212, 212, 212, 0.4);
    margin: 35px 0;
    border: 1px solid #D4D4D4;
}

.fag-steps ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.fag-steps ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 28px;
    color: #696969;
    line-height: 1.7;
    font-size: 1.05em;
}

.fag-steps ol li:last-child {
    margin-bottom: 0;
}

.fag-steps ol li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: -2px;
    background: #2A3B66;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15em;
    box-shadow: 0 3px 10px rgba(42, 59, 102, 0.25);
}

.fag-steps ol li strong {
    color: #1A1A1A;
    font-weight: 600;
}

.fag-cta {
    background: #2A3B66;
    color: white;
    padding: 55px 45px;
    text-align: center;
    border-radius: 16px;
    margin: 60px 0 30px 0;
    box-shadow: 0 8px 25px rgba(42, 59, 102, 0.25);
    position: relative;
    overflow: hidden;
}

.fag-cta h3 {
    color: white;
    margin: 0 0 18px 0;
    font-size: 2em;
    font-weight: 700;
}

.fag-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 35px 0;
    font-size: 1.15em;
    line-height: 1.6;
}

.fag-cta-button {
    display: inline-block;
    background: white;
    color: #2A3B66;
    padding: 16px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.fag-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: #F7F7F7;
}

.fag-highlight-box {
    background: #E0CFF7;
    border: 2px solid #849CCF;
    border-radius: 12px;
    padding: 28px;
    margin: 28px 0;
    box-shadow: 0 2px 8px rgba(132, 156, 207, 0.15);
}

.fag-highlight-box p {
    margin: 0;
    color: #1A1A1A;
    line-height: 1.7;
    font-size: 1.05em;
}

.fag-notation-note {
    margin-top: 25px;
    color: #696969;
    line-height: 1.7;
    font-size: 1.02em;
}

@media (max-width: 768px) {
    .fag-hero {
        padding: 50px 24px;
        border-radius: 12px;
    }
    
    .fag-hero h1 {
        font-size: 2em;
        letter-spacing: -0.5px;
    }
    
    .fag-hero p {
        font-size: 1.15em;
    }
    
    .fag-section h2 {
        font-size: 1.8em;
    }
    
    .fag-section h3 {
        font-size: 1.5em;
    }
    
    .fag-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fag-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fag-steps {
        padding: 25px;
    }
    
    .fag-steps ol li {
        padding-left: 50px;
        font-size: 1em;
    }
    
    .fag-steps ol li:before {
        width: 36px;
        height: 36px;
        font-size: 1.05em;
    }
    
    .fag-cta {
        padding: 40px 28px;
        border-radius: 12px;
    }
    
    .fag-cta h3 {
        font-size: 1.7em;
    }
    
    .fag-task-types {
        padding: 25px;
    }
    
    .fag-task-type {
        padding: 20px;
    }
}
