.entry-title, h1.entry-title, .post .entry-title, .page .entry-title,
.single .entry-title, #post-title, .et_pb_title_meta_container,
.et_post_meta_wrapper > h1 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#main-content {
    padding-top: 0 !important;
}
#main-content .container {
    padding-top: 0 !important;
}
#left-area,
.et_pb_post,
.et_pb_section:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.entry-content > *:first-child,
#left-area > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ------------------------------------------------------------------ *
 * Base typography.
 * ------------------------------------------------------------------ */
.d2-services-page,
.d2-services-page * {
    box-sizing: border-box;
}
.d2-services-page {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: #292929;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.d2-services-page h1,
.d2-services-page h2,
.d2-services-page h3 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #222222;
    margin: 0 0 0.5em;
    line-height: 1.25;
}
.d2-services-page h2 {
    font-size: 28px;
}
.d2-services-page h3 {
    font-size: 22px;
}
.d2-services-page p {
    margin: 0 0 1em;
}
.d2-services-page a {
    color: #990000;
    text-decoration: none;
}
.d2-services-page a:hover {
    color: #fc8902;
    text-decoration: underline;
}

/* ------------------------------------------------------------------ *
 * SPLIT HERO
 * ------------------------------------------------------------------ */
.d2-services-page .d2-hero-split {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    padding: 16px 24px 20px;
    box-sizing: border-box;
}

.d2-services-page .d2-hero-split__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 60px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
}

.d2-services-page .d2-hero-split + .d2-section {
    padding-top: 30px;
}

.d2-services-page .d2-hero-split__content {
    color: #ffffff;
    min-width: 0;
}
.d2-services-page .d2-hero-split__eyebrow {
    color: #fc8902;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.d2-services-page .d2-hero-split__heading {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: -0.015em;
}
.d2-services-page .d2-hero-split__heading em {
    font-style: italic;
    color: #fc8902;
    font-weight: 800;
}
.d2-services-page .d2-hero-split__lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 560px;
}
.d2-services-page .d2-hero-split__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Generic buttons */
.d2-services-page .d2-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}
.d2-services-page .d2-btn:hover {
    text-decoration: none;
}
.d2-services-page .d2-btn--primary {
    background: #fc8902;
    color: #ffffff;
    border-color: #fc8902;
}
.d2-services-page .d2-btn--primary:hover {
    background: #e57a00;
    border-color: #e57a00;
    color: #ffffff;
}
.d2-services-page .d2-btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}
.d2-services-page .d2-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.d2-services-page .d2-hero-split__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    min-width: 0;
}
.d2-services-page .d2-hero-split__visual img {
    width: 100%;
    height: auto;
    max-width: 380px;
    display: block;
    margin: 0 auto;
}

/* ------------------------------------------------------------------ *
 * SEKTIONER
 * ------------------------------------------------------------------ */
.d2-services-page .d2-section {
    padding: 60px 20px;
}
.d2-services-page .d2-section--alt {
    background: #f7f7f7;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}
.d2-services-page .d2-section__inner {
    max-width: 780px;
    margin: 0 auto;
}
.d2-services-page .d2-section--wide .d2-section__inner {
    max-width: 1080px;
}

/* ------------------------------------------------------------------ *
 * SERVICE-KORT GRID
 * ------------------------------------------------------------------ */
.d2-services-page .d2-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 36px;
}
.d2-services-page .d2-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
}
.d2-services-page .d2-card h3 {
    margin-top: 0;
    color: #292929;
    border-bottom: 3px solid #fc8902;
    padding-bottom: 10px;
    margin-bottom: 14px;
    display: inline-block;
}
.d2-services-page .d2-card__lead {
    color: #444;
    font-size: 17px;
    margin-bottom: 14px;
}
.d2-services-page .d2-card ul {
    margin: 0 0 18px;
    padding-left: 20px;
    list-style-type: square;
    font-size: 16px;
    color: #444;
}
.d2-services-page .d2-card ul li {
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 5px;
    list-style-type: square;
}
.d2-services-page .d2-card ul li::marker {
    color: #fc8902;
}
.d2-services-page .d2-card__link {
    margin-top: auto;
    font-weight: 700;
    font-size: 16px;
}

/* ------------------------------------------------------------------ *
 * HVORFOR-LISTE
 * ------------------------------------------------------------------ */
.d2-services-page .d2-why {
    list-style: none !important;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
}
.d2-services-page .d2-why li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 22px;
    position: relative;
}
.d2-services-page .d2-why li::marker {
    content: "";
}
.d2-services-page .d2-why li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    background: #fc8902;
    border-radius: 50%;
}
.d2-services-page .d2-why strong {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    font-size: 17px;
    margin-bottom: 4px;
}

/* ------------------------------------------------------------------ *
 * CTA-SEKTION
 * ------------------------------------------------------------------ */
.d2-services-page .d2-cta {
    text-align: center;
}
.d2-services-page .d2-cta p {
    max-width: 600px;
    margin: 0 auto 28px;
    color: #444;
}

/* ------------------------------------------------------------------ *
 * D2 FORMS — Services-specifik styling.
 * Overskriver default d2-forms-claude.css i .d2-services-page scope.
 * Match med service-kort: hvid bg, border #e8e8e8, radius 4px,
 * Montserrat labels, .d2-btn--primary stil på submit.
 * ------------------------------------------------------------------ */

/* Form-wrap som "kort" (matcher .d2-card) */
.d2-services-page .d2-form-wrap.d2-light {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 36px 40px;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

/* Tighter grid gap */
.d2-services-page .d2-form-wrap .d2-form {
    gap: 18px;
}

/* Labels — afdæmpet uppercase i Montserrat */
.d2-services-page .d2-form-wrap .d2-field label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 4px;
}

.d2-services-page .d2-form-wrap .d2-required {
    color: #fc8902;
}

/* Inputs — match service-kort radius og border */
.d2-services-page .d2-form-wrap .d2-field input,
.d2-services-page .d2-form-wrap .d2-field textarea,
.d2-services-page .d2-form-wrap .d2-field select {
    height: 46px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    color: #292929;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 46px;
}

.d2-services-page .d2-form-wrap .d2-field textarea {
    height: auto;
    min-height: 130px;
    line-height: 1.55;
    padding: 12px 14px;
}

.d2-services-page .d2-form-wrap .d2-field input::placeholder,
.d2-services-page .d2-form-wrap .d2-field textarea::placeholder {
    color: #aaa;
}

.d2-services-page .d2-form-wrap .d2-field input:focus,
.d2-services-page .d2-form-wrap .d2-field textarea:focus,
.d2-services-page .d2-form-wrap .d2-field select:focus {
    border-color: #fc8902;
    box-shadow: 0 0 0 3px rgba(252, 137, 2, 0.15);
    outline: none;
}

/* Submit-knap matcher .d2-btn--primary */
.d2-services-page .d2-form-wrap .d2-submit {
    padding: 14px 28px;
    background: #fc8902;
    border: 2px solid #fc8902;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.d2-services-page .d2-form-wrap .d2-submit:hover {
    background: #e57a00;
    border-color: #e57a00;
    transform: none;
}

/* Form footer alignment */
.d2-services-page .d2-form-wrap .d2-form-footer {
    margin-top: 8px;
}

/* ------------------------------------------------------------------ *
 * RESPONSIVE
 * ------------------------------------------------------------------ */
@media (max-width: 980px) {
    .d2-services-page .d2-hero-split__inner {
        grid-template-columns: 1fr;
        padding: 40px 40px;
        gap: 24px;
    }
    .d2-services-page .d2-hero-split__heading { font-size: 36px; }
    .d2-services-page .d2-hero-split__visual { order: -1; min-height: auto; }
    .d2-services-page .d2-hero-split__visual img { max-width: 280px; }
}

@media (max-width: 720px) {
    .d2-services-page .d2-hero-split {
        padding: 8px 16px 16px;
    }
    .d2-services-page .d2-hero-split__inner {
        padding: 32px 24px;
        border-radius: 12px;
    }
    .d2-services-page .d2-hero-split__heading { font-size: 30px; }
    .d2-services-page .d2-hero-split__lead { font-size: 16px; }
    .d2-services-page .d2-btn {
        padding: 12px 22px;
        font-size: 14px;
    }
    .d2-services-page h2 { font-size: 24px; }
    .d2-services-page .d2-section { padding: 50px 20px; }
    .d2-services-page .d2-cards { grid-template-columns: 1fr; gap: 20px; }
    .d2-services-page .d2-why { grid-template-columns: 1fr; }
    .d2-services-page .d2-form-wrap.d2-light {
        padding: 28px 24px;
    }
}

@media (max-width: 640px) {
    .d2-services-page .d2-form-wrap .d2-submit {
        width: 100%;
    }
}





