.nexta-site .wrap {
    width: calc(100% - 64px);
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 0;
}

.nexta-site .nexta-main {
    min-width: 0;
    min-height: 42vh;
    padding-top: 28px;
    padding-bottom: 54px;
}

.nexta-site .nexta-loop {
    min-width: 0;
}

.nexta-site .nexta-entry {
    min-width: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.nexta-site .nexta-entry:first-child {
    padding-top: 0;
}

.nexta-site .entry-title {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.nexta-site .entry-title a:hover {
    color: var(--nexta-link);
}

.nexta-site .entry-content {
    min-width: 0;
}

.nexta-site .entry-content > :first-child {
    margin-top: 0;
}

.nexta-site .entry-content > :last-child {
    margin-bottom: 0;
}

.nexta-site .entry-content p {
    font-size: 17px;
    line-height: 1.75;
}

.nexta-site .page-heading {
    padding: 8px 0 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.nexta-site .page-heading h1 {
    max-width: 950px;
    margin: 12px 0;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.nexta-site .archive-description {
    max-width: 740px;
    color: var(--muted);
}

.nexta-site .nexta-pagination {
    padding-top: 24px;
}

.nexta-site .nexta-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexta-site .nexta-pagination .page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid var(--nexta-control-border);
    border-radius: 6px;
    background: var(--nexta-control-bg);
}

.nexta-site .nexta-pagination .current {
    color: var(--nexta-on-brand);
    border-color: var(--nexta-link);
    background: var(--nexta-brand-surface);
}

.nexta-site .nexta-empty-state {
    max-width: 740px;
    padding: 28px 0 48px;
}


/* Breadcrumb trail — shared by singular pages/posts and archive templates. */
.nexta-site .nexta-breadcrumbs {
    min-width: 0;
    margin: 0 0 26px;
    color: var(--nexta-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.nexta-site .nexta-breadcrumbs__list {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nexta-site .nexta-breadcrumbs__item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nexta-site .nexta-breadcrumbs__item + .nexta-breadcrumbs__item::before {
    display: inline-block;
    margin: 0 10px;
    color: var(--nexta-text-muted);
    content: "/";
}

.nexta-site .nexta-breadcrumbs a {
    color: var(--nexta-link);
    text-decoration: none;
    text-underline-offset: 3px;
}

.nexta-site .nexta-breadcrumbs a:hover {
    color: var(--nexta-link-hover);
    text-decoration: underline;
}

.nexta-site .nexta-breadcrumbs a:focus-visible {
    outline: 2px solid var(--nexta-focus);
    outline-offset: 3px;
    border-radius: 2px;
}

.nexta-site .nexta-breadcrumbs [aria-current="page"] {
    color: var(--nexta-text);
}

@media (max-width: 540px) {
    .nexta-site .nexta-breadcrumbs {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .nexta-site .nexta-breadcrumbs__item + .nexta-breadcrumbs__item::before {
        margin-inline: 8px;
    }
}

@media (max-width: 540px) {
    .nexta-site .wrap {
        width: 100%;
        padding-inline: 16px;
    }

    .nexta-site .nexta-main {
        padding-top: 22px;
        padding-bottom: 38px;
    }

    .nexta-site .entry-title {
        font-size: 24px;
    }

    .nexta-site .page-heading h1 {
        font-size: clamp(27px, 8vw, 32px);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .nexta-site .entry-title {
        font-size: 22px;
    }
}
