/**
 * Delt-layout – samme farvepalette som style-fag-pages.css
 * Palette: #F7F7F7, #1A1A1A, #849CCF, #E0CFF7, #2A3B66, #696969, #DED8CE, #D4D4D4
 *
 * Bruges på sider med body-klassen .lc-delt-layout (fx /delt/).
 * Kan genbruges på andre sider ved at tilføje body-klassen og indlæse denne fil.
 */

.lc-delt-layout .fag-page-content {
    max-width: 100%;
}

/* Hero – accent med let lilla nuance */
.lc-delt-layout .fag-hero {
    background: linear-gradient(135deg, #2A3B66 0%, #3d4d7a 50%, #2A3B66 100%);
    color: white;
    padding: 70px 30px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 48px;
    box-shadow: 0 12px 40px rgba(42, 59, 102, 0.25);
}

.lc-delt-layout .fag-hero h1 {
    font-size: 2.6em;
    margin: 0 0 18px 0;
    font-weight: 700;
    color: white;
    letter-spacing: -0.6px;
    line-height: 1.2;
}

.lc-delt-layout .fag-hero p {
    font-size: 1.25em;
    margin: 0 auto;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}

/* Indhold – lidt strammere bredde til to store kort */
.lc-delt-layout .fag-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.lc-delt-layout .fag-section h2 {
    color: #1A1A1A;
    font-size: 2em;
    margin-bottom: 12px;
    font-weight: 700;
    border-bottom: 4px solid #849CCF;
    padding-bottom: 10px;
    display: inline-block;
}

.lc-delt-layout .fag-overview-note {
    color: #696969;
    margin: 8px 0 28px 0;
    font-size: 1.05em;
    line-height: 1.6;
}

/* Grid – to store kort side om side (delt har kun to valg) */
.lc-delt-layout .fag-grid.fag-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 0;
}

.lc-delt-layout .fag-overview-grid .fag-card:before {
    display: none;
}

.lc-delt-layout .fag-card {
    background: white;
    padding: 36px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(212, 212, 212, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-top: 5px solid #D4D4D4;
    display: flex;
    flex-direction: column;
}

.lc-delt-layout .fag-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(132, 156, 207, 0.18);
}

.lc-delt-layout .fag-card h4 {
    font-size: 1.5em;
    margin: 0 0 14px 0;
    font-weight: 600;
    color: #2A3B66;
}

.lc-delt-layout .fag-card p {
    color: #696969;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1.05em;
    flex-grow: 1;
}

.lc-delt-layout .fag-card-blue {
    border-top-color: #2A3B66;
}

.lc-delt-layout .fag-card-purple {
    border-top-color: #849CCF;
}

.lc-delt-layout .fag-cta-button {
    display: inline-block;
    background: #2A3B66;
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(42, 59, 102, 0.2);
    align-self: flex-start;
}

.lc-delt-layout .fag-cta-button:hover {
    background: #1e2d4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(42, 59, 102, 0.25);
    color: white;
}

@media (max-width: 768px) {
    .lc-delt-layout .fag-hero {
        padding: 48px 24px;
        border-radius: 16px;
    }

    .lc-delt-layout .fag-hero h1 {
        font-size: 1.9em;
    }

    .lc-delt-layout .fag-hero p {
        font-size: 1.1em;
    }

    .lc-delt-layout .fag-section h2 {
        font-size: 1.7em;
    }

    .lc-delt-layout .fag-grid.fag-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lc-delt-layout .fag-card {
        padding: 28px 24px;
    }

    .lc-delt-layout .fag-cta-button {
        width: 100%;
        text-align: center;
        align-self: stretch;
    }
}
