.hoz-single-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding: 34px 0 64px;
}

.hoz-single-layout--no-toc {
    grid-template-columns: minmax(0, 1fr);
}

.hoz-toc {
    position: sticky;
    top: 88px;
    min-width: 0;
}

.hoz-toc.is-empty {
    display: none;
}

.hoz-toc-inner {
    padding: 16px;
    border: 1px solid var(--hoz-line);
    border-radius: var(--hoz-radius);
    background: var(--hoz-surface);
    box-shadow: var(--hoz-shadow-sm);
}

.hoz-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.hoz-toc-head .hoz-eyebrow {
    margin: 0;
}

.hoz-toc-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hoz-soft);
    font-family: var(--hoz-mono);
    font-size: 9.5px;
    white-space: nowrap;
}

.hoz-toc-time .hoz-icon {
    width: 12px;
    height: 12px;
}

.hoz-toc-progress {
    height: 3px;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--hoz-line);
}

.hoz-toc-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--hoz-accent);
    transform: scaleX(0);
    transform-origin: left center;
}

.hoz-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-height: calc(100vh - 290px);
    overflow-y: auto;
    padding-right: 2px;
}

.hoz-toc-link {
    display: block;
    padding: 6px 9px;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    color: var(--hoz-muted);
    font-size: 11.5px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hoz-toc-link--h3 {
    padding-left: 20px;
    font-size: 10.5px;
}

.hoz-toc-link:hover {
    color: var(--hoz-accent);
    background: var(--hoz-surface-2);
}

.hoz-toc-link.is-active {
    border-left-color: var(--hoz-accent);
    background: var(--hoz-accent-soft);
    color: var(--hoz-accent-2);
    font-weight: 650;
}

.hoz-toc-share {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--hoz-line);
}

.hoz-toc-share-label {
    display: block;
    margin-bottom: 7px;
    color: var(--hoz-soft);
    font-family: var(--hoz-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hoz-toc-share-buttons {
    display: flex;
    gap: 5px;
}

.hoz-toc-share-buttons a,
.hoz-toc-share-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--hoz-line);
    border-radius: 50%;
    background: var(--hoz-surface);
    color: var(--hoz-muted);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hoz-toc-share-buttons a:hover,
.hoz-toc-share-buttons button:hover {
    border-color: var(--hoz-accent);
    background: var(--hoz-accent-soft);
    color: var(--hoz-accent);
}

.hoz-toc-share-buttons .hoz-icon {
    width: 14px;
    height: 14px;
}

.hoz-toc-toggle {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid var(--hoz-line);
    border-radius: 6px;
    background: var(--hoz-surface);
    color: var(--hoz-muted);
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
}

.hoz-toc-toggle .hoz-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.hoz-toc.is-open .hoz-toc-toggle .hoz-icon {
    transform: rotate(180deg);
}

.hoz-case-single {
    min-width: 0;
}

.hoz-case-inner {
    padding: 34px;
    border: 1px solid var(--hoz-line);
    border-radius: var(--hoz-radius-lg);
    background: var(--hoz-surface);
    box-shadow: var(--hoz-shadow-sm);
}

.hoz-case-head {
    margin-bottom: 24px;
}

.hoz-case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.hoz-case-title {
    max-width: 860px;
    margin: 0;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hoz-passport {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--hoz-radius-lg);
    background:
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.3), transparent 40%),
        linear-gradient(145deg, #111c33, var(--hoz-graphite));
    color: #fff;
}

.hoz-passport::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.6;
}

.hoz-passport-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.hoz-passport-head .hoz-eyebrow {
    margin: 0;
    color: #93c5fd;
}

.hoz-passport-head h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.hoz-passport-stamp {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(147, 197, 253, 0.4);
    border-radius: 50%;
    color: #93c5fd;
}

.hoz-passport-stamp .hoz-icon {
    width: 26px;
    height: 26px;
}

.hoz-passport-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 22px;
}

.hoz-passport .hoz-score-label {
    color: rgba(255, 255, 255, 0.68);
}

.hoz-passport .hoz-score-value {
    color: #fff;
}

.hoz-passport .hoz-score-track {
    background: rgba(255, 255, 255, 0.16);
}

.hoz-passport-verdict {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: var(--hoz-radius-sm);
    background: rgba(255, 255, 255, 0.05);
}

.hoz-passport-verdict-label {
    display: block;
    margin-bottom: 4px;
    color: #93c5fd;
    font-family: var(--hoz-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hoz-passport-verdict p {
    margin: 0;
    color: #e2e8f0;
    font-size: 13.5px;
    line-height: 1.6;
}

.hoz-case-zone {
    margin-top: 26px;
}

.hoz-zone-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--hoz-accent);
    color: var(--hoz-accent-2);
    font-family: var(--hoz-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hoz-zone-label .hoz-icon {
    width: 15px;
    height: 15px;
}

.hoz-case-zone--author {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--hoz-line);
}

.hoz-prose {
    min-width: 0;
    color: var(--hoz-text);
    font-size: 16px;
    line-height: 1.72;
}

.hoz-prose > *:first-child {
    margin-top: 0;
}

.hoz-prose h2 {
    margin: 1.5em 0 0.6em;
    font-size: clamp(23px, 2.3vw, 29px);
}

.hoz-prose h3 {
    margin: 1.3em 0 0.5em;
    font-size: clamp(19px, 1.9vw, 23px);
}

.hoz-prose p {
    margin: 0 0 1.05em;
}

.hoz-prose a {
    color: var(--hoz-accent);
    text-underline-offset: 3px;
}

.hoz-prose ul,
.hoz-prose ol {
    margin: 0 0 1.15em;
    padding-left: 1.35em;
}

.hoz-prose li {
    margin-bottom: 0.35em;
}

.hoz-prose blockquote {
    margin: 1.4em 0;
    padding: 14px 18px;
    border-left: 4px solid var(--hoz-accent);
    border-radius: 0 var(--hoz-radius-sm) var(--hoz-radius-sm) 0;
    background: var(--hoz-accent-soft);
    color: var(--hoz-muted);
    font-style: italic;
}

.hoz-prose img {
    display: block;
    margin: 1.4em auto;
    border-radius: var(--hoz-radius);
    box-shadow: var(--hoz-shadow-sm);
}

.hoz-prose figure {
    margin: 1.4em 0;
}

.hoz-prose figcaption {
    margin-top: 6px;
    color: var(--hoz-soft);
    font-size: 12px;
    text-align: center;
}

.hoz-prose table {
    width: 100%;
    margin: 1.4em 0;
    border-collapse: collapse;
    font-size: 14px;
}

.hoz-prose th,
.hoz-prose td {
    padding: 9px 10px;
    border: 1px solid var(--hoz-line);
    text-align: left;
    vertical-align: top;
}

.hoz-prose th {
    background: var(--hoz-surface-2);
    font-weight: 700;
}

.hoz-prose code {
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--hoz-surface-2);
    color: var(--hoz-accent-2);
    font-family: var(--hoz-mono);
    font-size: 0.9em;
}

.hoz-prose pre {
    overflow-x: auto;
    padding: 14px;
    border-radius: var(--hoz-radius-sm);
    background: var(--hoz-graphite);
    color: #e2e8f0;
}

.hoz-prose pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.hoz-author-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #dbeafe;
    border-left: 4px solid var(--hoz-accent);
    border-radius: var(--hoz-radius);
    background: var(--hoz-accent-soft);
}

.hoz-author-card-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hoz-author-card-text {
    min-width: 0;
}

.hoz-author-card-text .hoz-eyebrow {
    margin-bottom: 3px;
}

.hoz-author-card-text h2 {
    margin: 0 0 5px;
    font-size: 22px;
}

.hoz-author-card-text h2 a {
    color: var(--hoz-text);
    text-decoration: none;
}

.hoz-author-card-text h2 a:hover {
    color: var(--hoz-accent);
}

.hoz-author-card-text p {
    margin: 8px 0 0;
    color: var(--hoz-muted);
    font-size: 13px;
    line-height: 1.6;
}

.hoz-author-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hoz-author-card-stats span {
    padding: 5px 9px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--hoz-muted);
    font-size: 10.5px;
}

.hoz-author-card-stats strong {
    color: var(--hoz-accent-2);
    font-family: var(--hoz-mono);
    font-weight: 800;
}


.hoz-conclusion {
    margin: 32px 0;
    padding: 22px;
    border: 1px solid #a7f3d0;
    border-radius: var(--hoz-radius);
    background: var(--hoz-green-bg);
}

.hoz-conclusion-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.hoz-conclusion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.hoz-conclusion-icon .hoz-icon {
    width: 22px;
    height: 22px;
}

.hoz-conclusion-head .hoz-eyebrow {
    margin: 0;
    color: #047857;
}

.hoz-conclusion-head h2 {
    margin: 0;
    font-size: 21px;
}

.hoz-case-footer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--hoz-line);
}

.hoz-case-footer-title {
    display: block;
    margin-bottom: 7px;
    color: var(--hoz-soft);
    font-family: var(--hoz-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hoz-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.hoz-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hoz-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--hoz-line);
    border-radius: 999px;
    background: var(--hoz-surface);
    color: var(--hoz-muted);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hoz-share-btn:hover {
    border-color: #bfdbfe;
    background: var(--hoz-accent-soft);
    color: var(--hoz-accent-2);
}

.hoz-share-btn .hoz-icon {
    width: 14px;
    height: 14px;
}

.hoz-share-btn--telegram:hover {
    border-color: #bfdbfe;
    color: #0284c7;
}

.hoz-share-btn--whatsapp:hover {
    border-color: #a7f3d0;
    background: var(--hoz-green-bg);
    color: #047857;
}

.hoz-share-btn--vk:hover {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.hoz-contrast {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--hoz-line);
}

.hoz-contrast-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.hoz-contrast-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.hoz-contrast-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hoz-accent-2);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.hoz-contrast-label .hoz-icon {
    width: 14px;
    height: 14px;
}

.hoz-contrast-item .hoz-card {
    height: 100%;
    padding: 16px;
}

.hoz-contrast-item .hoz-card-title {
    font-size: 15px;
}

.hoz-contrast-item .hoz-card-scores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 16px;
}

.hoz-infinite-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px 0 0;
    padding: 18px;
    border: 1px dashed var(--hoz-line-strong);
    border-radius: var(--hoz-radius);
    background: var(--hoz-surface);
    color: var(--hoz-muted);
    font-size: 12px;
}

.hoz-loader-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #bfdbfe;
    border-top-color: var(--hoz-accent);
    border-radius: 50%;
    animation: hoz-spin 0.8s linear infinite;
}

@keyframes hoz-spin {
    to {
        transform: rotate(360deg);
    }
}

.hoz-share-btn.is-copied {
    border-color: var(--hoz-green);
    background: var(--hoz-green-bg);
    color: #047857;
}


.hoz-toc-share-buttons button.is-copied {
    border-color: var(--hoz-green);
    background: var(--hoz-green-bg);
    color: #047857;
}

