/* TH5 — Telet-owned fallback template layout. */
.telet-content-shell {
    box-sizing: border-box;
    inline-size: min(100% - 2rem, 70rem);
    margin-inline: auto;
    padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.telet-content-header,
.telet-entry,
.telet-empty-state {
    min-inline-size: 0;
}

.telet-content-header {
    margin-block-end: 1.5rem;
}

.telet-content-title,
.telet-entry__title {
    overflow-wrap: anywhere;
}

.telet-content-description,
.telet-entry__content,
.telet-entry__excerpt {
    max-inline-size: 100%;
}

.telet-content-list {
    display: grid;
    gap: 1.5rem;
}

.telet-entry--summary {
    display: grid;
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.telet-entry__media img {
    display: block;
    inline-size: 100%;
    block-size: auto;
}

.telet-entry__content img,
.telet-entry__content iframe,
.telet-entry__content video {
    max-inline-size: 100%;
}

.telet-entry__pages,
.telet-content-shell .navigation {
    margin-block-start: 1.5rem;
}

.telet-empty-state {
    max-inline-size: 42rem;
}

.telet-empty-state > p {
    color: var(--boss-public-muted, #5e6874);
    line-height: 1.65;
    max-inline-size: 38rem;
}

.telet-recovery-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-block-start: 1.25rem;
}

.telet-recovery-action {
    align-items: center;
    border: 1px solid var(--boss-public-border, #d9e3ee);
    border-radius: 0.78rem;
    color: var(--boss-public-text, #1d1d1b);
    display: inline-flex;
    font-family: var(--boss-font-ui, "Nunito", system-ui, sans-serif);
    font-weight: 800;
    justify-content: center;
    min-block-size: var(--boss-control-min-size, 44px);
    padding: 0.68rem 0.9rem;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.telet-recovery-action--primary {
    background: var(--boss-public-accent-strong, #006fae);
    border-color: var(--boss-public-accent-strong, #006fae);
    color: #fff;
}

.telet-recovery-action:hover {
    background: color-mix(in srgb, var(--boss-public-accent, #009fe3) 7%, transparent);
    border-color: color-mix(in srgb, var(--boss-public-accent, #009fe3) 35%, var(--boss-public-border, #d9e3ee));
}

.telet-recovery-action--primary:hover {
    background: color-mix(in srgb, var(--boss-public-accent-strong, #006fae) 90%, #000);
}

.telet-recovery-action:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--boss-public-accent, #009fe3) 24%, transparent);
    outline: 2px solid transparent;
}

.telet-recovery-action:active {
    transform: translateY(1px);
}

@media (max-width: 42rem) {
    .telet-content-shell {
        inline-size: min(100% - 1.25rem, 70rem);
        padding-block: 1.25rem 2rem;
    }

    .telet-entry--summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .telet-recovery-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .telet-recovery-action {
        inline-size: 100%;
    }
}
