.nrs-search {
    --nrs-bg: #111314;
    --nrs-surface: #181b1c;
    --nrs-surface-light: #202425;
    --nrs-text: #c9c9c4;
    --nrs-muted: #757b7b;
    --nrs-accent: #a58b92;
    --nrs-accent-light: #d4bdc3;
    --nrs-border: rgba(255, 255, 255, 0.08);

    width: min(100%, 600px);
    max-width: 600px;
    margin: 30px auto;
    overflow: hidden;
    color: var(--nrs-text);

    background:
        radial-gradient(
            circle at top right,
            rgba(165, 139, 146, 0.09),
            transparent 30%
        ),
        var(--nrs-bg);

    border: 1px solid var(--nrs-border);
    box-sizing: border-box;
    font-family: Arial, sans-serif;

    container-type: inline-size;
    container-name: nrs;
}

.nrs-search * {
    box-sizing: border-box;
}

/* HEADER */

.nrs-hero {
    min-height: 260px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 45px;
    overflow: hidden;
    background: var(--nrs-bg);
}

.nrs-hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    filter:
        grayscale(5%)
        contrast(102%)
        brightness(75%)
        saturate(95%);
}

.nrs-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            110deg,
            rgba(17, 19, 20, 0.88),
            rgba(17, 19, 20, 0.22)
        ),
        linear-gradient(
            to top,
            var(--nrs-bg) 0%,
            transparent 65%
        );
}

.nrs-hero-content {
    position: relative;
    z-index: 2;
}

.nrs-kicker,
.nrs-label,
.nrs-role {
    display: block;
    margin-bottom: 12px;
    color: var(--nrs-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nrs-title {
    margin: 0;
    color: #f0efec;
    font-family: Georgia, serif;
    font-size: clamp(38px, 9vw, 60px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -3px;
}

.nrs-subtitle {
    display: block;
    margin-top: 18px;
    color: var(--nrs-muted);
    font-family: Georgia, serif;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 1px;
}

/* INTRO */

.nrs-intro {
    padding: 45px 50px 55px;
    border-bottom: 1px solid var(--nrs-border);
}

.nrs-intro-text,
.nrs-ending-text {
    max-width: 100%;
    color: var(--nrs-text);
    font-size: 13px;
    line-height: 2;
    text-align: justify;
}

.nrs-highlight {
    color: var(--nrs-accent-light);
    font-family: Georgia, serif;
    font-style: italic;
}

/* CHARAKTERBEREICH */

.nrs-person {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 560px;
    border-bottom: 1px solid var(--nrs-border);
}

.nrs-person-reverse {
    grid-template-columns: minmax(0, 1fr) 220px;
}

.nrs-person-reverse .nrs-portrait {
    order: 2;
}

.nrs-person-reverse .nrs-content {
    order: 1;
}

.nrs-portrait {
    min-height: 560px;
    position: relative;
    overflow: hidden;
    background: var(--nrs-surface);
}

.nrs-portrait img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    filter:
        grayscale(3%)
        contrast(102%)
        brightness(88%)
        saturate(99%);
    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}

.nrs-person:hover .nrs-portrait img {
    transform: scale(1.025);
    filter:
        grayscale(0%)
        contrast(102%)
        brightness(91%)
        saturate(100%);
}

.nrs-portrait-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(17, 19, 20, 0.98) 0%,
            rgba(17, 19, 20, 0.28) 46%,
            transparent 76%
        );
}

.nrs-portrait-title {
    position: absolute;
    right: 25px;
    bottom: 30px;
    left: 25px;
    z-index: 2;
}

.nrs-role {
    margin-bottom: 9px;
    color: var(--nrs-accent-light);
    font-size: 9px;
    letter-spacing: 3px;
}

.nrs-name {
    display: block;
    color: #f2efec;
    font-family: Georgia, serif;
    font-size: 36px;
    line-height: 0.9;
    letter-spacing: -2px;
    word-break: break-word;
}

.nrs-firstname {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* TEXTSEITE */

.nrs-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 38px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.015),
            transparent
        ),
        var(--nrs-surface);
}

.nrs-quote {
    margin-bottom: 27px;
    padding-left: 18px;
    color: var(--nrs-accent-light);
    border-left: 2px solid var(--nrs-accent);
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
}

.nrs-text {
    max-height: 210px;
    padding-right: 12px;
    overflow-y: auto;
    color: var(--nrs-text);
    font-size: 12px;
    line-height: 1.9;
    text-align: justify;
    scrollbar-width: thin;
    scrollbar-color:
        var(--nrs-accent)
        rgba(255, 255, 255, 0.04);
}

.nrs-text::-webkit-scrollbar {
    width: 3px;
}

.nrs-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.nrs-text::-webkit-scrollbar-thumb {
    background: var(--nrs-accent);
}

.nrs-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
    border-top: 1px solid var(--nrs-border);
    border-left: 1px solid var(--nrs-border);
}

.nrs-fact {
    min-width: 0;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 15px;
    border-right: 1px solid var(--nrs-border);
    border-bottom: 1px solid var(--nrs-border);
}

.nrs-fact span {
    margin-bottom: 7px;
    color: var(--nrs-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nrs-fact strong {
    overflow-wrap: anywhere;
    color: #d8d5d1;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.nrs-status {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: var(--nrs-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nrs-status-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex-shrink: 0;
    background: var(--nrs-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(165, 139, 146, 0.65);
}

/* ABSCHLUSS */

.nrs-ending {
    padding: 55px 50px;
    background:
        linear-gradient(
            145deg,
            rgba(165, 139, 146, 0.04),
            transparent 60%
        );
}

.nrs-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 50px;
    color: var(--nrs-muted);
    background: #0d0f10;
    border-top: 1px solid var(--nrs-border);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nrs-footer strong {
    color: var(--nrs-accent-light);
    font-weight: 700;
}

/* RESPONSIVE */

    .nrs-hero {
        min-height: 230px;
        padding: 35px 28px;
    }

    .nrs-title {
        letter-spacing: -2px;
    }

    .nrs-intro,
    .nrs-ending {
        padding: 40px 28px;
    }

    .nrs-person,
    .nrs-person-reverse {
        grid-template-columns: 1fr;
    }

    .nrs-person-reverse .nrs-portrait,
    .nrs-person-reverse .nrs-content {
        order: initial;
    }

    .nrs-portrait {
        min-height: 470px;
    }

    .nrs-content {
        padding: 40px 28px;
    }

    .nrs-footer {
        padding: 20px 28px;
    }
}

    .nrs-title {
        font-size: 38px;
    }

    .nrs-subtitle {
        font-size: 13px;
    }

    .nrs-intro,
    .nrs-ending,
    .nrs-content {
        padding-right: 22px;
        padding-left: 22px;
    }

    .nrs-portrait {
        min-height: 420px;
    }

    .nrs-portrait-title {
        right: 22px;
        bottom: 27px;
        left: 22px;
    }

    .nrs-name {
        font-size: 34px;
    }

    .nrs-facts {
        grid-template-columns: 1fr;
    }


    .nrs-footer {
        flex-direction: column;
        gap: 8px;
        padding-right: 22px;
        padding-left: 22px;
    }
}

.nrs-portrait-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    filter:
        grayscale(3%)
        contrast(102%)
        brightness(88%)
        saturate(99%);
    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}

@container nrs (max-width: 500px) {

    .nrs-hero {
        min-height: 230px;
        padding: 35px 28px;
    }

    .nrs-title {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .nrs-intro,
    .nrs-ending {
        padding: 40px 28px;
    }

    .nrs-person,
    .nrs-person-reverse {
        display: block;
        min-height: 0;
    }

    .nrs-person-reverse .nrs-portrait,
    .nrs-person-reverse .nrs-content {
        order: initial;
    }

    .nrs-portrait {
        width: 100%;
        min-height: 430px;
    }

    .nrs-content {
        width: 100%;
        padding: 40px 28px;
    }

    .nrs-text {
        max-height: 230px;
    }

    .nrs-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nrs-footer {
        padding: 20px 28px;
    }
}

@container nrs (max-width: 360px) {

    .nrs-hero {
        min-height: 210px;
        padding: 30px 22px;
    }

    .nrs-title {
        font-size: 38px;
    }

    .nrs-subtitle {
        font-size: 13px;
    }

    .nrs-intro,
    .nrs-ending,
    .nrs-content {
        padding-right: 22px;
        padding-left: 22px;
    }

    .nrs-portrait {
        min-height: 400px;
    }

    .nrs-portrait-title {
        right: 22px;
        bottom: 27px;
        left: 22px;
    }

    .nrs-name {
        font-size: 34px;
    }

    .nrs-facts {
        grid-template-columns: 1fr;
    }

    .nrs-footer {
        flex-direction: column;
        gap: 8px;
        padding-right: 22px;
        padding-left: 22px;
    }
}

.nrs-person:hover .nrs-portrait-image {
    transform: scale(1.025);
    filter:
        grayscale(0%)
        contrast(102%)
        brightness(91%)
        saturate(100%);
}