/* Тело статьи (news_details, blog) */
.news-body-rich .gdi-news-devlog {
    font-size: 1.05rem;
    color: #3d4459;
}

.news-body-rich .gdi-news-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 1.25rem;
}

.news-body-rich .gdi-news-badge span {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #720aa4, #050a24);
    animation: gdiNewsBadgePulse 2.4s ease-in-out infinite;
}

@keyframes gdiNewsBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(114, 10, 164, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(114, 10, 164, 0); }
}

.news-body-rich .gdi-news-badge em {
    font-style: normal;
    font-size: 0.85rem;
    color: #6c757d;
}

.news-body-rich .gdi-news-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #050a24;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(114, 10, 164, 0.08), rgba(5, 10, 36, 0.04));
    border-left: 4px solid #720aa4;
}

.news-body-rich .gdi-news-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 1.5rem;
}

.news-body-rich .gdi-news-highlight {
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f9fc;
    border: 1px solid #e8ecf4;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-body-rich .gdi-news-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(5, 10, 36, 0.08);
}

.news-body-rich .gdi-news-highlight strong {
    display: block;
    font-size: 1.35rem;
    color: #720aa4;
    margin-bottom: 4px;
}

.news-body-rich .gdi-news-highlight span {
    font-size: 0.88rem;
    color: #5c647d;
}

.news-body-rich h3 {
    margin-top: 1.75rem !important;
    font-size: 1.1rem !important;
    color: #050a24 !important;
}

.news-body-rich .gdi-news-list {
    padding-left: 0;
    list-style: none;
    margin: 0 0 1.25rem;
}

.news-body-rich .gdi-news-list li {
    position: relative;
    padding: 0.65rem 0 0.65rem 2rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px dashed #e8ecf4;
}

.news-body-rich .gdi-news-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 1.35rem;
    height: 1.35rem;
    line-height: 1.35rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #720aa4;
    border-radius: 50%;
}

.news-body-rich .gdi-news-steps {
    counter-reset: gdiStep;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.news-body-rich .gdi-news-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8ecf4;
}

.news-body-rich .gdi-news-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #050a24, #720aa4);
    border-radius: 10px;
}

.news-body-rich .gdi-news-quote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #050a24 0%, #2a0a4a 55%, #720aa4 100%);
    color: #fff;
    border-left: none !important;
}

.news-body-rich .gdi-news-quote p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95) !important;
}

.news-body-rich .gdi-news-cta-wrap {
    margin-top: 1.75rem;
    text-align: center;
}

.news-body-rich a.gdi-news-cta {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #720aa4, #050a24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-body-rich a.gdi-news-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(114, 10, 164, 0.35);
}

.news-body-rich .gdi-news-ai p {
    margin-bottom: 1rem;
    line-height: 1.75;
    animation: gdiNewsParaIn 0.5s ease backwards;
}

.news-body-rich .gdi-news-ai p:nth-child(1) { animation-delay: 0.05s; }
.news-body-rich .gdi-news-ai p:nth-child(2) { animation-delay: 0.12s; }
.news-body-rich .gdi-news-ai p:nth-child(3) { animation-delay: 0.18s; }

.news-body-rich .gdi-news-ai h3 {
    color: #720aa4 !important;
    margin-top: 1.5rem !important;
}

.news-body-rich .gdi-news-ai strong {
    color: #050a24;
    background: linear-gradient(120deg, rgba(114, 10, 164, 0.12), transparent);
    padding: 0 0.2em;
    border-radius: 4px;
}

@keyframes gdiNewsParaIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-body-rich .gdi-news-source {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed #dee2e6;
    font-size: 0.9rem;
}
