/**
 * Término del glosario (/glosario/{slug}) — artículo fluido, sin cajas.
 */

.gt-page {
    background: #f8fafc;
}

.gt-hero {
    text-align: left;
    padding-bottom: 2.75rem;
}


.gt-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.gt-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.gt-breadcrumb a:hover {
    color: #c7d2fe;
}

.gt-breadcrumb span.sep {
    color: rgba(255, 255, 255, 0.35);
}

.gt-breadcrumb span.current {
    color: #fff;
    font-weight: 600;
}

.gt-hero-text h1 {
    font-size: clamp(1.85rem, 4vw, 2.5rem) !important;
    margin-bottom: 0.65rem !important;
    line-height: 1.15 !important;
}

.gt-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.75rem;
}

.gt-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.gt-chip i {
    font-size: 0.72rem;
    color: #a5b4fc;
}

.gt-main {
    padding: 2.5rem 0 3.5rem;
    background: #f8fafc;
}

.gt-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .gt-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: 2.5rem;
        align-items: start;
    }
}

.gt-content {
    min-width: 0;
}

.gt-aside {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gt-aside .gt-more {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    margin-top: 0;
}

.gt-aside .gt-more + .gt-more {
    margin-top: 1rem;
}

.gt-aside .gt-promo {
    margin-top: 1rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #4f46e5;
    border-radius: 14px;
}

.gt-def-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.gt-def-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #334155;
    margin: 0;
}

.gt-def-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}

.gt-def-top h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gt-share {
    display: flex;
    gap: 6px;
}

.gt-share-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.gt-share-btn:hover {
    color: #4f46e5;
    background: #f1f5f9;
}

.gt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.gt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s;
}

.gt-btn-outline {
    color: #475569;
    background: transparent;
    border: 1px solid #e2e8f0;
}

.gt-btn-outline:hover {
    color: #4f46e5;
    border-color: #c7d2fe;
    background: #f8fafc;
}

.gt-btn-primary {
    background: #4f46e5;
    color: #fff;
    border: none;
}

.gt-btn-primary:hover {
    color: #fff;
    background: #4338ca;
}

.gt-term-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 0;
}

.gt-nav-term {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 48%;
    text-decoration: none;
    color: inherit;
}

.gt-nav-term:hover .name {
    color: #4f46e5;
}

.gt-nav-term.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.gt-nav-term .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #94a3b8;
}

.gt-nav-term .name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
}

.gt-nav-term.next {
    text-align: right;
    align-items: flex-end;
    margin-left: auto;
}

.gt-more h3 {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 0 0 0.75rem;
}

.gt-more + .gt-more {
    margin-top: 2rem;
}

.gt-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.gt-link-list a {
    color: #4338ca;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.gt-link-list a:hover {
    text-decoration: underline;
}

.gt-link-list--block {
    flex-direction: column;
    gap: 0.35rem;
}

.gt-link-list--block a {
    color: #334155;
    font-weight: 600;
}

.gt-link-list--block a:hover {
    color: #4f46e5;
}

.gt-promo p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.gt-promo .gt-btn-primary {
    display: inline-flex;
}

@media (max-width: 767px) {
    .gt-term-nav {
        flex-direction: column;
        gap: 1.25rem;
    }

    .gt-nav-term,
    .gt-nav-term.next {
        max-width: 100%;
        text-align: left;
        align-items: flex-start;
        margin-left: 0;
    }
}
