/* Author public site — professional standalone feel */
.nv-site--author .niviskar-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
}

.nv-site--author .niviskar-header {
    background: color-mix(in srgb, var(--nv-card) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}

.nv-site--author .niviskar-header__inner {
    max-width: 1180px;
    padding: .85rem 1rem;
}

.nv-author-hero {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    margin-bottom: 2.25rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: none;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--nv-primary) 92%, #000) 0%, color-mix(in srgb, var(--nv-accent) 70%, var(--nv-primary)) 100%);
    color: #fff;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--nv-primary) 28%, transparent);
}

.nv-author-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,.16), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 35%);
    pointer-events: none;
}

.nv-author-hero > * { position: relative; z-index: 1; }

.nv-author-hero__kicker {
    color: rgba(255,255,255,.72);
    font-weight: 600;
}

.nv-author-hero__title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -.02em;
}

.nv-author-hero__tagline,
.nv-author-hero__bio {
    color: rgba(255,255,255,.88);
}

.nv-author-hero__avatar img {
    border-color: rgba(255,255,255,.45);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.nv-author-hero .nv-author-social__link {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
    color: #fff;
}

.nv-author-hero .nv-author-social__link:hover {
    background: rgba(255,255,255,.2);
}

.nv-author-hero .nv-btn--primary {
    background: #fff;
    color: var(--nv-primary);
    border: none;
    font-weight: 700;
}

.nv-author-hero .nv-btn--ghost {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

.nv-author-hero .nv-btn--ghost:hover {
    background: rgba(255,255,255,.18);
}

.nv-site--author .nv-section {
    margin-bottom: 2.75rem;
}

.nv-site--author .nv-section__head h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    letter-spacing: -.01em;
}

.nv-site--author .niviskar-grid {
    gap: 1.35rem;
}

.nv-site--author .niviskar-card {
    border-radius: calc(var(--nv-radius, 12px) + 2px);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.nv-site--author a.niviskar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px color-mix(in srgb, var(--nv-primary) 14%, transparent);
}

.nv-author-footer {
    margin-top: 3rem;
    padding: 2.5rem 1rem 1.5rem;
    background: color-mix(in srgb, var(--nv-primary) 8%, var(--nv-card));
    border-top: 1px solid color-mix(in srgb, var(--nv-muted) 18%, transparent);
}

.nv-author-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr);
    gap: 2rem 2.5rem;
    align-items: start;
}

.nv-author-footer__brand {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.nv-author-footer__name {
    display: block;
    font-size: 1.15rem;
    line-height: 1.3;
}

.nv-author-footer__tagline {
    margin: 0;
    color: var(--nv-muted);
    line-height: 1.55;
    font-size: .95rem;
    max-width: 34ch;
}

.nv-author-footer__social {
    margin-top: .15rem;
}

.nv-author-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nv-author-footer__contact .nv-author-footer__title {
    width: 100%;
}

.nv-author-footer__contact-lead {
    max-width: 28ch;
    margin-inline: auto;
}

.nv-author-footer__contact-social {
    justify-content: center;
    margin: .65rem 0 0;
}

.nv-author-footer__brand strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: .35rem;
}

.nv-author-footer__brand p {
    margin: 0;
    color: var(--nv-muted);
    line-height: 1.55;
    font-size: .95rem;
}

.nv-author-footer__title {
    margin: 0 0 .75rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--nv-muted);
}

.nv-author-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem .85rem;
}

.nv-author-footer__nav a {
    color: var(--nv-text);
    text-decoration: none;
    font-size: .95rem;
}

.nv-author-footer__nav a:hover {
    color: var(--nv-primary);
    text-decoration: underline;
}

.nv-author-footer__contact p {
    margin: 0 0 .5rem;
    color: var(--nv-muted);
    font-size: .95rem;
    line-height: 1.5;
}

.nv-author-footer__bottom {
    max-width: 1180px;
    margin: 1.75rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--nv-muted) 20%, transparent);
    text-align: center;
    color: var(--nv-muted);
    font-size: .88rem;
}

.nv-page-masthead {
    margin: 1rem 0 1.75rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--nv-radius, 12px);
    background: var(--nv-card);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-page-masthead__title {
    margin: 0 0 .35rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.nv-page-masthead__lead {
    margin: 0;
    color: var(--nv-muted);
    line-height: 1.55;
}

.nv-site--author .nv-page-header {
    margin: 1rem 0 1.75rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--nv-radius, 12px);
    background: var(--nv-card);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-site--author .nv-page-header h1 {
    margin: 0 0 .35rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.nv-site--author .nv-page-header__lead {
    margin: 0;
    color: var(--nv-muted);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .nv-author-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .nv-author-footer__nav {
        grid-template-columns: 1fr 1fr;
    }

    .nv-author-footer__tagline {
        max-width: none;
    }

    .nv-author-footer__contact-lead {
        max-width: none;
    }

    .nv-author-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nv-author-hero__actions {
        justify-content: center;
    }
}

.nv-prose {
    line-height: 1.7;
    font-size: 1.02rem;
    color: var(--nv-text);
}

.nv-prose h2,
.nv-prose h3,
.nv-prose h4 {
    color: var(--nv-primary);
    margin: 1.5rem 0 .75rem;
    line-height: 1.3;
}

.nv-prose p { margin: 0 0 1rem; }

.nv-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.nv-prose a { color: var(--nv-primary); }

.nv-prose ul,
.nv-prose ol {
    margin: 0 0 1rem;
    padding-inline-start: 1.35rem;
}

.nv-site--author .niviskar-contact {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--nv-card);
    border-radius: var(--nv-radius);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: var(--nv-shadow);
}

.nv-site--author .niviskar-contact h1 {
    margin-top: 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.nv-site--author .niviskar-contact__form {
    margin-top: 1.25rem;
}

.nv-site--author .niviskar-contact__status {
    margin-top: 1rem;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .95rem;
}

.nv-site--author .niviskar-contact__status[data-ok="1"] {
    background: #dcfce7;
    color: #166534;
}

.nv-site--author .niviskar-contact__status[data-error="1"] {
    background: #fee2e2;
    color: #991b1b;
}

/* Content detail pages — card frames matching portal */

.nv-naverok-detail {
    margin-top: 1.75rem;
    padding: 1.5rem;
    background: var(--nv-card);
    border-radius: var(--nv-radius, 12px);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-naverok-detail--gotar .niviskar-detail__content,
.nv-naverok-detail--pirtuk .niviskar-detail__content,
.nv-naverok-detail--vidyo .niviskar-detail__content {
    background: var(--nv-card);
    border-radius: var(--nv-radius, 12px);
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
    line-height: 1.75;
}

.nv-article-hero {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 42%);
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--nv-card);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    border-radius: var(--nv-radius, 12px);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-article-hero__title {
    margin: 0;
    color: var(--nv-primary);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.25;
}

.nv-article-hero__figure {
    margin: 0;
    border-radius: calc(var(--nv-radius, 12px) - 2px);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-article-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .nv-article-hero {
        grid-template-columns: 1fr;
    }
    .nv-article-hero__figure {
        order: -1;
    }
}

.nv-site--author .nv-article-body {
    margin-top: 1.25rem;
    line-height: 1.7;
    font-size: 1.02rem;
}

.nv-site--author .nv-vidyo-detail-header {
    margin-bottom: 1rem;
}

.nv-site--author .nv-vidyo-detail__description {
    margin-top: 1.5rem;
}

.nv-naverok-detail-header {
    margin-bottom: 1.5rem;
}

.nv-naverok-detail-header h1 {
    margin: .75rem 0;
    color: var(--nv-primary);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.25;
}

.nv-book-showcase {
    display: grid;
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--nv-card);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    border-radius: var(--nv-radius, 12px);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-book-showcase__body {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--nv-card);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    border-radius: var(--nv-radius, 12px);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-naverok-author-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: var(--nv-card);
    border-radius: var(--nv-radius, 12px);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.nv-naverok-author-box__avatar img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.nv-naverok-author-box__label {
    margin: 0;
    font-size: .8rem;
    text-transform: uppercase;
    color: var(--nv-muted);
    font-weight: 700;
}

.nv-naverok-author-box__name {
    margin: .15rem 0;
    font-size: 1.15rem;
}

.nv-naverok-author-box__name a {
    color: var(--nv-primary);
    text-decoration: none;
}

.nv-naverok-author-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .85rem;
}

/* Comment form card frame */
.niviskar-comment-form {
    margin-top: 2rem;
    padding: 1.25rem;
    background: var(--nv-card);
    border: 1px solid color-mix(in srgb, var(--nv-muted) 16%, transparent);
    border-radius: var(--nv-radius, 12px);
    box-shadow: var(--nv-shadow, 0 4px 16px rgba(15,23,42,.06));
}

.niviskar-comment-form h2 {
    margin-top: 0;
    color: var(--nv-primary);
}

@media (max-width: 640px) {
    .nv-naverok-author-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 900px) {
    .nv-book-showcase {
        grid-template-columns: 1fr;
    }
    .nv-book-showcase__cover {
        justify-self: center;
        max-width: 280px;
    }
}

.nv-site--author .nv-page--bio {
    margin-top: 1.75rem;
}

.nv-site--author .niviskar-contact {
    margin-top: 1.75rem;
}

.nv-page--static {
    max-width: 820px;
    margin: 0 auto;
}
