:root {
    --ns-navy: #0b2343;
    --ns-ivory: #fbf7ef;
    --ns-white: #fff;
    --ns-gold: #d99200;
    --ns-line: #e8ded0;
    --ns-muted: #566173;
    --ns-radius: 13px
}

.ns-profile {
    background: var(--ns-ivory);
    color: var(--ns-navy);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    padding: 26px 0 0
}

.ns-profile * {
    box-sizing: border-box
}

.ns-container {
    width: min(calc(100% - 40px), 1180px);
    margin-inline: auto
}

.ns-profile h1,
.ns-profile h2,
.ns-profile h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12;
    margin-top: 0
}

.ns-profile h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: -.04em;
    margin: 0 0 5px
}

.ns-profile h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.3rem)
}

.ns-profile h3 {
    font-size: 1.2rem
}

.ns-profile__hero {
    display: grid;
    grid-template-columns: 43% 57%;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .35)
}

.ns-profile__portrait {
    min-height: 440px
}

.ns-profile__portrait-image {
    width: 100%;
    height: 100%;
    min-height: 440px;
    display: block;
    object-fit: cover
}

.ns-profile__portrait-placeholder {
    height: 100%;
    min-height: 440px;
    background: linear-gradient(145deg, #d7c7b4, #82909e)
}

.ns-profile__intro {
    padding: 32px 36px
}

.ns-profile__subtitle {
    color: var(--ns-gold);
    font-family: Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 18px
}

.ns-profile__content {
    color: #1b2738;
    max-width: 760px
}

.ns-profile__content p {
    margin: 0 0 13px
}

.ns-profile__facts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0
}

.ns-fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--ns-line);
    border-radius: 7px;
    background: var(--ns-white);
    font-size: .86rem
}

.ns-fact img {
    width: 20px;
    height: 20px
}

.ns-profile__back {
    display: inline-block;
    font-weight: 700;
    border-bottom: 2px solid var(--ns-gold);
    padding: 6px 0;
    color: var(--ns-navy);
    text-decoration: none
}

.ns-profile__platform-note {
    margin: 28px 0 0;
    color: var(--ns-muted);
    font-size: .82rem
}

.ns-overview {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 30px;
    margin-top: 16px;
    padding: 28px 24px;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    background: rgba(255, 255, 255, .35)
}

.ns-overview-second {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.ns-overview-second ol{
    display: flex;
    flex-wrap: wrap;
}

.ns-richtext,
.ns-help-card p,
.ns-lessons p {
    font-size: .88rem;
    color: #334056
}

.ns-about blockquote {
    margin: 24px 0 0;
    padding: 20px;
    border: 1px solid var(--ns-line);
    border-radius: 10px;
    background: #fff;
    font-size: .86rem
}

.ns-about blockquote span {
    color: var(--ns-gold);
    font-size: 2rem;
    font-weight: 700;
    margin-right: 8px
}

.ns-help__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.ns-help-card {
    padding: 18px 15px;
    border: 1px solid var(--ns-line);
    border-radius: 9px;
    background: #fff
}

.ns-help-card img {
    width: 38px;
    height: 38px;
    margin-bottom: 14px
}

.ns-help-card h3 {
    min-height: 48px
}

.ns-help-card p {
    margin-bottom: 0
}

.ns-lessons ol {
    list-style: none;
    padding: 0;
    margin: 0
}

.ns-lessons li {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    flex: 1;
    min-width: 250px;
}

.ns-lessons__number {
    flex: 0 0 38px;
    height: 38px;
    border: 1.5px solid var(--ns-gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem
}

.ns-lessons h3 {
    font-family: inherit;
    font-size: .92rem;
    margin: 2px 0 5px
}

.ns-lessons p {
    margin: 0
}

.ns-video {
    display: grid;
    grid-template-columns: 31% 69%;
    gap: 34px;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 26px;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    background: rgba(255, 255, 255, .45)
}

.ns-video__copy {
    padding: 15px
}

.ns-video__copy p {
    color: #334056;
    line-height: 1.7
}

.ns-video__copy small {
    display: block;
    margin-top: 30px
}

.ns-video__media video,
.ns-video__poster {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #26384f center/cover no-repeat
}

.ns-video__poster {
    position: relative
}

.ns-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding-left: 5px;
    color: #fff;
    background: var(--ns-navy);
    border: 2px solid #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .22)
}

.ns-cta {
    background: var(--ns-navy);
    color: #fff;
    padding: 34px 0
}

.ns-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.ns-cta h2 {
    margin-bottom: 6px
}

.ns-cta p {
    margin: 0
}

.ns-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 7px;
    background: var(--ns-gold);
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    transition: .2s
}

.ns-button:hover {
    background: #fff;
    color: var(--ns-navy);
    transform: translateY(-2px)
}

.ns-profile__flags,
.ns-fact--flags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ns-profile__flags img,
.ns-fact--flags img {
    display: block;
    width: 44px;
    height: 29px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 7px rgba(11, 35, 67, 0.16);
}

@media(max-width:960px) {
    .ns-profile__hero {
        grid-template-columns: 1fr
    }

    .ns-profile__portrait {
        min-height: 360px
    }

    .ns-profile__portrait-image {
        height: 440px
    }

    .ns-overview {
        grid-template-columns: 1fr 1fr
    }

    .ns-about {
        grid-column: 1/-1
    }

    .ns-video {
        grid-template-columns: 1fr
    }

    .ns-video__copy {
        padding: 0
    }

    .ns-video__copy small {
        margin-top: 14px
    }
}

@media(max-width:650px) {
    .ns-container {
        width: min(calc(100% - 24px), 1180px)
    }

    .ns-profile__portrait-image {
        height: 360px;
        min-height: 360px
    }

    .ns-profile__intro {
        padding: 25px 20px
    }

    .ns-profile h1 {
        font-size: 2.8rem
    }

    .ns-overview {
        grid-template-columns: 1fr;
        padding: 22px 16px
    }

    .ns-about {
        grid-column: auto
    }

    .ns-help__grid {
        grid-template-columns: 1fr
    }

    .ns-help-card h3 {
        min-height: 0
    }

    .ns-video {
        padding: 16px;
        gap: 10px
    }

    .ns-cta__inner {
        flex-direction: column;
        text-align: center
    }

    .ns-button {
        width: 100%
    }
}