
/*
 * Nurdal Durmuş Executive Profile
 * Scoped under .ndp-profile to avoid theme conflicts.
 */

.ndp-profile {
    --ndp-ink: #1f2328;
    --ndp-muted: #666d75;
    --ndp-soft: #f5f4f1;
    --ndp-soft-2: #eeece7;
    --ndp-paper: #ffffff;
    --ndp-line: rgba(31,35,40,.12);
    --ndp-accent: #9f2029;
    --ndp-accent-dark: #7d171f;
    --ndp-accent-soft: #f5e9ea;
    --ndp-radius: 22px;
    --ndp-shadow: 0 22px 65px rgba(24, 28, 33, .08);
    width: min(1180px, calc(100vw - 40px));
    max-width: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 42px 0 80px;
    color: var(--ndp-ink);
    font-family: inherit;
    line-height: 1.65;
    font-size: 17px;
}

.ndp-profile *,
.ndp-profile *::before,
.ndp-profile *::after {
    box-sizing: border-box;
}

/* WordPress themes often constrain blocks inside .entry-content.
   The profile deliberately escapes only that narrow article column. */
.entry-content > .ndp-profile,
.wp-block-post-content > .ndp-profile,
.site-main .ndp-profile,
article .ndp-profile {
    max-width: none !important;
}

.ndp-profile h1,
.ndp-profile h2,
.ndp-profile h3 {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

.ndp-profile a { text-decoration: none; }

.ndp-profile h1,
.ndp-profile h2,
.ndp-profile h3,
.ndp-profile p,
.ndp-profile blockquote { margin-top: 0; }

.ndp-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
}

.ndp-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ndp-hero {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.42fr);
    gap: clamp(38px, 6vw, 82px);
    align-items: center;
    min-height: 585px;
    padding: clamp(34px, 5vw, 72px);
    background:
        radial-gradient(circle at 10% 10%, rgba(159,32,41,.08), transparent 30%),
        linear-gradient(135deg, #f8f7f4 0%, #f0eee9 100%);
    border: 1px solid var(--ndp-line);
    border-radius: 30px;
    box-shadow: var(--ndp-shadow);
    overflow: hidden;
    position: relative;
}

.ndp-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -140px;
    border: 1px solid rgba(159,32,41,.15);
    border-radius: 50%;
}

.ndp-hero__visual {
    position: relative;
    max-width: 390px;
    margin: 0 auto;
}

.ndp-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(23, 26, 31, .18);
    background: #ddd8d0;
}

.ndp-portrait--fallback {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #34383d, #16191d);
}

.ndp-portrait--fallback span {
    font-size: clamp(58px, 7vw, 92px);
    letter-spacing: -.05em;
    font-weight: 700;
    opacity: .88;
}

.ndp-portrait__badge {
    position: absolute;
    right: -20px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(31,35,40,.08);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(24,28,33,.14);
    color: var(--ndp-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.ndp-portrait__badge .ndp-icon { color: var(--ndp-accent); }

.ndp-eyebrow,
.ndp-kicker {
    color: var(--ndp-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ndp-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 760;
    color: var(--ndp-ink);
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: nowrap;
}

.ndp-role {
    margin: 0 0 4px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
    font-weight: 690;
    color: var(--ndp-ink);
}

.ndp-role--en {
    font-size: 14px;
    color: var(--ndp-muted);
    font-weight: 560;
    letter-spacing: .01em;
}

.ndp-lead {
    max-width: 720px;
    margin: 28px 0 0;
    color: #4e555d;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.75;
}

.ndp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ndp-btn {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 750;
    border: 1px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.ndp-btn:hover { transform: translateY(-2px); }

.ndp-btn--primary {
    background: var(--ndp-accent);
    color: #fff !important;
}

.ndp-btn--primary:hover { background: var(--ndp-accent-dark); }

.ndp-btn--ghost {
    color: var(--ndp-ink) !important;
    border-color: var(--ndp-line);
    background: rgba(255,255,255,.64);
}

.ndp-btn--ghost:hover {
    border-color: rgba(159,32,41,.32);
    background: #fff;
}

.ndp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0 0;
}

.ndp-stat {
    min-height: 172px;
    padding: 24px 22px;
    background: var(--ndp-paper);
    border: 1px solid var(--ndp-line);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ndp-stat .ndp-icon {
    color: var(--ndp-accent);
    width: 26px;
    height: 26px;
    margin-bottom: 24px;
}

.ndp-stat strong {
    display: block;
    font-size: 27px;
    letter-spacing: -.035em;
    line-height: 1;
    margin-bottom: 9px;
}

.ndp-stat span {
    display: block;
    color: var(--ndp-muted);
    font-size: 14px;
    line-height: 1.45;
}

.ndp-section {
    padding: clamp(70px, 8vw, 112px) 0 0;
}

.ndp-section__head {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
    gap: 44px;
    align-items: end;
    margin-bottom: 34px;
}

.ndp-section__head h2,
.ndp-end h2 {
    margin: 8px 0 0;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -.045em;
    color: var(--ndp-ink);
}

.ndp-section__head > p {
    margin: 0;
    color: var(--ndp-muted);
    max-width: 570px;
}

.ndp-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 28px;
}

.ndp-copy {
    padding: clamp(28px, 4vw, 46px);
    border-radius: var(--ndp-radius);
    background: var(--ndp-paper);
    border: 1px solid var(--ndp-line);
}

.ndp-copy p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #444b53;
}

.ndp-copy p:last-child { margin-bottom: 0; }

.ndp-facts {
    border-radius: var(--ndp-radius);
    background: var(--ndp-soft);
    border: 1px solid var(--ndp-line);
    padding: 10px 26px;
}

.ndp-fact {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 21px 0;
    border-bottom: 1px solid var(--ndp-line);
}

.ndp-fact:last-child { border-bottom: 0; }
.ndp-fact .ndp-icon { color: var(--ndp-accent); margin-top: 2px; }
.ndp-fact span { display: block; font-size: 12px; color: var(--ndp-muted); margin-bottom: 3px; }
.ndp-fact strong { display: block; font-size: 15px; line-height: 1.45; }

.ndp-expertise {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ndp-card {
    min-height: 220px;
    padding: 27px;
    background: var(--ndp-paper);
    border: 1px solid var(--ndp-line);
    border-radius: var(--ndp-radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ndp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(159,32,41,.25);
    box-shadow: 0 16px 42px rgba(24,28,33,.06);
}

.ndp-card .ndp-icon {
    width: 30px;
    height: 30px;
    color: var(--ndp-accent);
    margin-bottom: 34px;
}

.ndp-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
    letter-spacing: -.025em;
}

.ndp-card p {
    margin-bottom: 0;
    color: var(--ndp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.ndp-journey {
    position: relative;
}

.ndp-timeline {
    max-width: 930px;
    margin: 10px auto 0;
    position: relative;
}

.ndp-timeline::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: linear-gradient(var(--ndp-accent), rgba(159,32,41,.12));
}

.ndp-timeline__item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 22px;
    align-items: start;
    padding: 20px 0;
    position: relative;
}

.ndp-timeline__mark {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ndp-accent);
    background: var(--ndp-paper);
    border: 1px solid rgba(159,32,41,.22);
    z-index: 1;
    box-shadow: 0 8px 26px rgba(24,28,33,.06);
}

.ndp-timeline__mark .ndp-icon { width: 26px; height: 26px; }

.ndp-timeline__item > div:last-child {
    padding: 8px 0 20px;
    border-bottom: 1px solid var(--ndp-line);
}

.ndp-timeline__item:last-child > div:last-child { border-bottom: 0; }

.ndp-timeline__item span {
    color: var(--ndp-accent);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ndp-timeline__item h3 {
    margin: 5px 0 6px;
    font-size: 23px;
    letter-spacing: -.03em;
}

.ndp-timeline__item p {
    margin: 0;
    color: var(--ndp-muted);
    font-size: 15px;
}

.ndp-accordions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ndp-accordion {
    border: 1px solid var(--ndp-line);
    border-radius: 18px;
    background: var(--ndp-paper);
    overflow: hidden;
}

.ndp-accordion[open] {
    box-shadow: 0 14px 36px rgba(24,28,33,.055);
    border-color: rgba(159,32,41,.22);
}

.ndp-accordion summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 44px 1fr 22px;
    gap: 14px;
    align-items: center;
    padding: 19px 20px;
    user-select: none;
}

.ndp-accordion summary::-webkit-details-marker { display: none; }

.ndp-summary__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--ndp-accent-soft);
    color: var(--ndp-accent);
}

.ndp-summary__icon .ndp-icon { width: 21px; height: 21px; }

.ndp-accordion summary small {
    display: block;
    color: var(--ndp-muted);
    font-size: 10px;
    letter-spacing: .13em;
    margin-bottom: 2px;
}

.ndp-accordion summary strong {
    display: block;
    font-size: 16px;
    letter-spacing: -.01em;
}

.ndp-accordion summary > .ndp-icon {
    color: var(--ndp-muted);
    transition: transform .2s ease;
}

.ndp-accordion[open] summary > .ndp-icon { transform: rotate(90deg); }

.ndp-accordion__body {
    padding: 2px 22px 24px 78px;
}

.ndp-accordion__body ul {
    padding-left: 18px;
    margin: 0;
    columns: 1;
}

.ndp-accordion__body li {
    margin: 8px 0;
    color: #50575f;
    font-size: 14px;
    line-height: 1.5;
}

.ndp-academic__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ndp-feature-card {
    min-height: 175px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 19px;
    align-items: start;
    padding: 26px;
    border-radius: var(--ndp-radius);
    background: var(--ndp-soft);
    border: 1px solid var(--ndp-line);
}

.ndp-feature-card--wide { background: var(--ndp-paper); }

.ndp-feature-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--ndp-accent-soft);
    color: var(--ndp-accent);
    display: grid;
    place-items: center;
}

.ndp-feature-card__icon .ndp-icon { width: 25px; height: 25px; }

.ndp-feature-card span {
    display: block;
    color: var(--ndp-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ndp-feature-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.ndp-feature-card p {
    color: var(--ndp-muted);
    font-size: 14px;
    margin: 0;
}

.ndp-feature-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ndp-accent);
    margin-top: 12px;
    font-weight: 720;
    font-size: 13px;
}

.ndp-feature-card a .ndp-icon { width: 18px; height: 18px; }


.ndp-btn--download .ndp-icon {
    width: 18px;
    height: 18px;
}

.ndp-book-card {
    min-height: 310px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: var(--ndp-radius);
    background: var(--ndp-paper);
    border: 1px solid var(--ndp-line);
    overflow: hidden;
}

.ndp-book-cover-wrap {
    width: 150px;
    perspective: 900px;
}

.ndp-book-cover {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 7px 10px 10px 7px;
    box-shadow: 0 16px 32px rgba(23,26,31,.20);
    transform: rotateY(-4deg);
    transform-origin: left center;
}

.ndp-book-info span {
    display: block;
    color: var(--ndp-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.ndp-book-info h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ndp-book-info p {
    margin: 0 0 20px;
    color: var(--ndp-muted);
    font-size: 14px;
}

.ndp-book-buy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(159,32,41,.22);
    background: var(--ndp-accent-soft);
    color: var(--ndp-accent) !important;
    font-size: 12.5px;
    font-weight: 760;
}

.ndp-book-buy .ndp-icon {
    width: 17px;
    height: 17px;
}

.ndp-cv-callout {
    margin-top: clamp(64px, 8vw, 100px);
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: clamp(26px, 4vw, 40px);
    border-radius: 26px;
    border: 1px solid rgba(159,32,41,.16);
    background: linear-gradient(135deg, #f8f5f2 0%, #f4ecec 100%);
}

.ndp-cv-callout__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--ndp-accent);
    background: #fff;
    border: 1px solid rgba(159,32,41,.13);
}

.ndp-cv-callout__icon .ndp-icon { width: 28px; height: 28px; }
.ndp-cv-callout h2 { margin: 4px 0 6px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.ndp-cv-callout p { margin: 0; color: var(--ndp-muted); font-size: 14px; max-width: 700px; }
.ndp-cv-callout__actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.ndp-cv-callout__actions .ndp-btn { white-space: nowrap; }

.ndp-profile .ndp-quote {
    width: min(960px, calc(100% - 48px)) !important;
    max-width: 960px !important;
    margin: clamp(48px, 6vw, 72px) auto 0 !important;
    padding: clamp(28px, 3.2vw, 38px) clamp(28px, 4vw, 46px) !important;
    border: 1px solid rgba(48, 40, 35, .10) !important;
    border-top: 3px solid var(--ndp-accent) !important;
    border-radius: 22px !important;
    background: #f7f4ef !important;
    background-image: none !important;
    color: #2f2a26 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 14px 34px rgba(34, 29, 25, .06) !important;
    text-align: left !important;
}

.ndp-profile .ndp-quote::before,
.ndp-profile .ndp-quote::after {
    content: none !important;
    display: none !important;
}

.ndp-profile .ndp-quote__mark {
    display: none !important;
}

.ndp-profile .ndp-quote__label {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: var(--ndp-accent) !important;
}

.ndp-profile .ndp-quote__text {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 72ch !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(20px, 1.8vw, 26px) !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: -.012em !important;
    color: #342f2b !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-wrap: pretty !important;
}

.ndp-profile .ndp-quote__by {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    color: #6b625c !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.ndp-profile .ndp-quote__by::before {
    content: "— " !important;
}

.ndp-end {
    margin-top: 18px;
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 22px;
    border: 1px solid var(--ndp-line);
    background: var(--ndp-paper);
}

.ndp-end h2 {
    font-size: clamp(28px, 3vw, 42px);
}

.ndp-end p {
    margin: 10px 0 0;
    color: var(--ndp-muted);
    max-width: 660px;
}

.ndp-profile a:focus-visible,
.ndp-profile summary:focus-visible {
    outline: 3px solid rgba(159,32,41,.3);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .ndp-profile {
        width: min(900px, calc(100vw - 28px));
        margin-top: 26px;
    }

    .ndp-hero {
        grid-template-columns: 1fr 1.15fr;
        padding: 36px;
        min-height: auto;
        gap: 36px;
    }

    .ndp-hero h1 { font-size: clamp(42px, 6vw, 64px); }
    .ndp-stats { grid-template-columns: repeat(2, 1fr); }
    .ndp-expertise { grid-template-columns: repeat(2, 1fr); }
    .ndp-section__head { grid-template-columns: 1fr; gap: 16px; }
    .ndp-about__grid { grid-template-columns: 1fr; }
    .ndp-accordions { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .ndp-profile {
        width: min(640px, calc(100vw - 20px));
        margin: 14px 0 46px;
        font-size: 16px;
    }

    .ndp-hero {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 22px;
        gap: 28px;
    }

    .ndp-hero__visual {
        width: min(100%, 420px);
        max-width: none;
    }

    .ndp-portrait {
        aspect-ratio: 16 / 13;
        object-position: center 18%;
        border-radius: 18px;
    }

    .ndp-portrait__badge {
        right: 12px;
        bottom: 12px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .ndp-hero__content { padding: 0 4px 12px; }

    .ndp-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        margin-top: 8px;
        white-space: normal;
    }

    .ndp-role { font-size: 18px; }
    .ndp-role--en { font-size: 12px; }
    .ndp-lead { font-size: 16px; margin-top: 22px; }

    .ndp-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .ndp-btn { width: 100%; }

    .ndp-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 10px;
    }

    .ndp-stat {
        min-height: 150px;
        padding: 18px 16px;
        border-radius: 16px;
    }

    .ndp-stat .ndp-icon { margin-bottom: 18px; }
    .ndp-stat strong { font-size: 23px; }
    .ndp-stat span { font-size: 12px; }

    .ndp-section { padding-top: 66px; }
    .ndp-section__head { margin-bottom: 24px; }
    .ndp-section__head h2 { font-size: 38px; }
    .ndp-section__head > p { font-size: 14px; }

    .ndp-copy { padding: 23px 20px; }
    .ndp-copy p { font-size: 15px; }

    .ndp-facts { padding: 6px 18px; }
    .ndp-fact { padding: 18px 0; }

    .ndp-expertise { grid-template-columns: 1fr; gap: 10px; }
    .ndp-card { min-height: 180px; padding: 23px; }
    .ndp-card .ndp-icon { margin-bottom: 26px; }

    .ndp-timeline::before { left: 26px; }
    .ndp-timeline__item { grid-template-columns: 52px 1fr; gap: 16px; }
    .ndp-timeline__mark { width: 52px; height: 52px; }
    .ndp-timeline__mark .ndp-icon { width: 22px; height: 22px; }
    .ndp-timeline__item h3 { font-size: 19px; }

    .ndp-accordion summary {
        grid-template-columns: 40px 1fr 18px;
        gap: 12px;
        padding: 15px;
    }

    .ndp-summary__icon { width: 40px; height: 40px; }
    .ndp-accordion summary strong { font-size: 14px; }
    .ndp-accordion__body { padding: 0 18px 20px 66px; }
    .ndp-accordion__body li { font-size: 13px; }

    .ndp-academic__grid { grid-template-columns: 1fr; }

    .ndp-book-card {
        min-height: auto;
        grid-template-columns: 112px 1fr;
        gap: 18px;
        padding: 18px;
    }

    .ndp-book-cover-wrap { width: 112px; }
    .ndp-book-info h3 { font-size: 18px; }
    .ndp-book-info p { margin-bottom: 14px; font-size: 13px; }
    .ndp-book-buy { font-size: 11.5px; padding: 8px 11px; }

    .ndp-cv-callout {
        grid-template-columns: 48px 1fr;
        gap: 16px;
        padding: 22px 18px;
    }

    .ndp-cv-callout__icon { width: 48px; height: 48px; border-radius: 14px; }
    .ndp-cv-callout__icon .ndp-icon { width: 22px; height: 22px; }
    .ndp-cv-callout__actions { grid-column: 1 / -1; display:grid; grid-template-columns:1fr; width:100%; }
    .ndp-cv-callout__actions .ndp-btn { width:100%; justify-content:center; }

    .ndp-feature-card {
        min-height: auto;
        grid-template-columns: 46px 1fr;
        gap: 14px;
        padding: 20px;
    }
    .ndp-feature-card__icon { width: 46px; height: 46px; }


    .ndp-quote {
        width: 100%;
        margin-top: 42px;
        border-radius: 20px;
        padding: 30px 24px 28px 28px;
    }

    .ndp-quote::before { top: 24px; bottom: 24px; width: 3px; }
    .ndp-quote__mark { font-size: 70px; margin-bottom: 16px; }
    .ndp-quote blockquote { max-width: none; font-size: 20px; line-height: 1.6; }
    .ndp-quote__by { margin-top: 18px; font-size: 11px; }

    .ndp-end {
        flex-direction: column;
        align-items: stretch;
        padding: 25px 22px;
    }
}

@media (max-width: 420px) {
    .ndp-profile { width: calc(100vw - 16px); }
    .ndp-stats { grid-template-columns: 1fr; }
    .ndp-stat { min-height: 130px; }
    .ndp-portrait { aspect-ratio: 4 / 3.4; }
}


@media (max-width: 420px) {
    .ndp-quote {
        padding: 26px 20px 24px 24px;
        border-radius: 18px;
    }
    .ndp-quote__mark { font-size: 62px; }
    .ndp-quote blockquote { font-size: 18px; line-height: 1.62; }
}

@media (prefers-reduced-motion: reduce) {
    .ndp-profile *,
    .ndp-profile *::before,
    .ndp-profile *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}


/* v1.5.2 final quote guard — immune to theme blockquote/pullquote rules */
@media (max-width: 720px) {
    .ndp-profile .ndp-quote {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 36px !important;
        padding: 24px 22px !important;
        border-radius: 18px !important;
    }
    .ndp-profile .ndp-quote__text {
        max-width: none !important;
        font-size: 18px !important;
        line-height: 1.6 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
    .ndp-profile .ndp-quote__by {
        margin-top: 16px !important;
        font-size: 10.5px !important;
    }
}
@media (max-width: 420px) {
    .ndp-profile .ndp-quote {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
    .ndp-profile .ndp-quote__text {
        font-size: 17px !important;
        line-height: 1.62 !important;
    }
}
