.patienthistorier-parent__intro {
    position: absolute;
    left: 114px;
    bottom: 0px;
    z-index: 2;
    width: auto;
    max-width: calc(100% - 80px);
    padding: 16px 22px 18px;
    background: #B4A898;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.patienthistorier-parent__intro h1 {
    margin: 0;
    color: #FFFFFF;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.patienthistorier-parent__content {
    margin-top: 15px;
    background: #FFFFFF;
    padding: 26px 28px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.patienthistorier-parent__lead {
    margin: 0 0 16px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #44403A;
}

.patienthistorier-parent__availability {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    color: #6D665D;
    font-size: 0.98rem;
    line-height: 1.7;
}

.patienthistorier-parent__stories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .patienthistorier-parent__stories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .patienthistorier-parent__intro {
        left: 45px;
        right: 174px;
        bottom: -1px;
        max-width: none;
        padding: 14px 16px 15px;
    }

    .patienthistorier-parent__intro h1 {
        font-size: 1.8rem;
    }

    .patienthistorier-parent__content {
        margin-top: 38px;
        padding: 20px;
    }

    .patienthistorier-parent__stories {
        grid-template-columns: 1fr;
    }
}

.patienthistorier-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #FFFFFF;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.patienthistorier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.patienthistorier-card__media {
    min-height: 220px;
    background-color: #F3F3F3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.patienthistorier-card__media--placeholder {
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(135deg, #B4A898 0%, #D6CDC0 100%);
}

.patienthistorier-card__media--placeholder span {
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    max-width: 90%;
}

.patienthistorier-card__body {
    padding: 22px 24px 26px;
}

.patienthistorier-card__label {
    display: inline-block;
    margin-bottom: 10px;
    color: #B4A898;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.patienthistorier-card h2 {
    margin: 0 0 12px;
    color: #333333;
    font-size: 1.45rem;
    line-height: 1.25;
}

.patienthistorier-card p {
    margin: 0;
    color: #70706F;
    line-height: 1.7;
}
