/* ============================================================================
 * KhamaleonLab project overrides for NtBitacora
 * --------------------------------------------------------------------------
 * Loaded after nt_core/css/nt-bitacora.css. These rules were ported from the
 * former flat stylesheet and contain only project-specific visual behavior.
 * ========================================================================== */

.txt-primary {
    color: var(--ks-color-primary);
}

.show-numbers li {
    list-style-type: decimal !important;
    list-style-position: inside !important;
    display: list-item !important;
}

.show-discs li {
    list-style-type: disc !important;
    list-style-position: inside !important;
    display: list-item !important;
}

.a11y-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.blog-card__title {
    max-height: 12rem;
    -webkit-line-clamp: 4;
}

.blog-card__excerpt {
    flex-grow: 0;
}

.blog-card__footer a {
    font-size: 1.1rem;
}

.post__title {
    font-weight: 700;
}

.post__content a {
    border: 0.1rem solid var(--ks-color-primary);
}

.whatsapp-contact-section a {
    border: none;
    color: #FFF;
}

.post__content a.blue-link-b {
    border: 0.1rem solid #0A7EF5;
    color: #0A7EF5;
    font-weight: bold;
    padding: 0.3rem 0.5rem;
}

.post__content a.blue-link-b:hover {
    text-decoration: underline;
}

.post__tag:hover {
    border: none;
}

.sidebar-widget__list {
    padding: 0 0 0 1.5rem;
    font-size: 1.5rem;
}

.sidebar-widget__list li {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ks-border-color, #e0e0e0);
    list-style-type: disc;
}

.author-bio {
    padding: 0;
}

/* Reusable content styles used by KhamaleonLab's editorial posts. */
:root {
    --color-text-body: #333333;
    --color-accent-blue: #0A7EF5;
    --color-accent-gray: #C6C6C6;
    --color-borde-sutil: #e0e0e0;
}

.post-content-body {
    display: grid;
    grid-template-columns: 1fr min(75ch, 100%) 1fr;
    gap: 1rem;
}

.post-content-body > * {
    grid-column: 2;
}

.lead {
    font-size: 1.25em;
    line-height: 1.6;
    color: var(--color-text-body);
    margin-bottom: 2em;
}

.styled-quote {
    margin: 2em 0;
    padding-left: 1.5em;
    border-left: 6px solid var(--color-accent-gray);
    font-style: italic;
    color: #555;
}

.styled-quote p {
    margin-bottom: 1em;
}

.styled-quote p:last-child {
    margin-bottom: 0;
}

.image-wide {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
}

figure figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #777;
    margin-top: 0.75em;
}

.post-content-body h3 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.post-content-body ul,
.post-content-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.post-content-body li {
    margin-bottom: 0.5em;
}
