/* ============================================
   BGP - Big Girth Protocol - CSS Styles (Isolated)
   Все стили изолированы внутри .bgp-wrapper
   ============================================ */

/* --- RESET & BASE для изоляции --- */
.bgp-wrapper {
    /* Сброс базовых стилей только внутри контейнера */
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
    /* padding убран - форум управляет всеми отступами */
}

.bgp-wrapper *,
.bgp-wrapper *::before,
.bgp-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.bgp-wrapper a {
    color: inherit;
    text-decoration: none;
}

.bgp-wrapper a:hover {
    text-decoration: underline;
}

.bgp-wrapper ul {
    list-style: none;
}

.bgp-wrapper svg {
    display: block;
}

/* --- ОСНОВНОЙ КОНТЕЙНЕР --- */
.bgp-container {
    /* max-width убран - ширина адаптируется под контейнер форума */
    /* padding по бокам убран - форум даёт свои отступы */
    margin: 0 auto;
}

/* ============================================
   1. INFO BLOCK - Информационный блок
   ============================================ */
.bgp-info-block {
    background: #f0fdf6; /* светло-зелёный фон */
    border-left: 5px solid #00a86b; /* зелёный акцент */
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.bgp-info-block__content {
    display: flex;
    gap: 12px;
}

.bgp-info-block__icon {
    flex-shrink: 0;
}

.bgp-info-block__icon-box {
    width: 40px;
    height: 40px;
    background-color: #10b981; /* emerald-500 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgp-info-block__icon-box .bgp-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.bgp-info-block__text {
    flex: 1;
}

.bgp-info-block__paragraph {
    color: #1f2937; /* gray-800 */
    line-height: 1.625;
    margin-bottom: 12px;
}

.bgp-info-block__paragraph:last-child {
    margin-bottom: 0;
}

.bgp-info-block__paragraph a:not(.bgp-telegram-link),
.bgp-text-paragraph a:not(.bgp-telegram-link) {
    color: #2563eb; /* blue-600 */
    text-decoration: none;
    background: linear-gradient(#2563eb, #2563eb) no-repeat center bottom / 0% 2px;
    padding-bottom: 2px;
    transition: background-size 0.3s ease;
}

.bgp-info-block__paragraph a:not(.bgp-telegram-link):hover,
.bgp-text-paragraph a:not(.bgp-telegram-link):hover {
    background-size: 100% 2px;
}

/* Telegram Link - кнопка */
.bgp-telegram-link {
    background-color: #0088cc;
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.15s ease;
}

.bgp-telegram-link:hover {
    background-color: #006699;
    transform: scale(1.05);
}

.bgp-telegram-icon {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

/* ============================================
   2. HEADER - Главный заголовок MGVP
   ============================================ */
.bgp-header {
    margin-top: 32px;
    margin-bottom: 32px;
}

.bgp-header__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.bgp-header__left {
    flex: 1;
}

.bgp-header__title {
    font-size: 1.875rem; /* 30px - text-3xl */
    line-height: 1.2;
    color: #111827; /* gray-900 */
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 4px solid #3b82f6; /* blue-500 */
    display: inline-block;
}

.bgp-header__description {
    color: #4b5563; /* gray-600 */
    margin-top: 16px;
    line-height: 1.625;
}

.bgp-header__logo {
    display: flex;
    gap: 8px;
    opacity: 0.5;
}

.bgp-logo-letter {
    width: 48px;
    height: 48px;
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af; /* gray-400 */
    font-size: 20px;
    font-weight: 500;
}

/* ============================================
   3. TABLE OF CONTENTS - Оглавление
   ============================================ */
.bgp-toc {
    background: linear-gradient(to bottom right, #eff6ff, #eef2ff); /* blue-50 to indigo-50 */
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #dbeafe; /* blue-100 */
    margin-bottom: 32px;
}

.bgp-toc__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.bgp-toc__icon-box {
    width: 40px;
    height: 40px;
    background-color: #3b82f6; /* blue-500 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgp-toc__icon-box .bgp-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.bgp-toc__title {
    font-size: 1.25rem; /* 20px - text-xl */
    color: #111827; /* gray-900 */
    margin: 0;
}

.bgp-toc__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

.bgp-toc__item {
    /* Пусто - стили на ссылке */
}

.bgp-toc__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151; /* gray-700 */
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.bgp-toc__link:hover {
    color: #2563eb; /* blue-600 */
    background-color: #dbeafe; /* blue-100 */
}

.bgp-chevron-icon {
    width: 16px;
    height: 16px;
    color: #3b82f6; /* blue-500 */
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.bgp-toc__link:hover .bgp-chevron-icon {
    transform: translateX(4px);
}

/* ============================================
   SECTION HEADER - Заголовок раздела
   ============================================ */
.bgp-section-header {
    margin-top: 32px;
    margin-bottom: 24px;
    scroll-margin-top: 80px; /* Отступ при прокрутке к якорю */
}

.bgp-section-header__content {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(to right, #f3f4f6, #f9fafb); /* gray-100 to gray-50 */
    border-left: 4px solid #3b82f6; /* blue-500 */
    padding: 16px 24px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.bgp-section-header__icon-box {
    width: 40px;
    height: 40px;
    background-color: #3b82f6; /* blue-500 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bgp-section-header__icon-box .bgp-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.bgp-section-header__title {
    font-size: 1.5rem; /* 24px - text-2xl */
    color: #111827; /* gray-900 */
    margin: 0;
    font-weight: 500;
}

/* ============================================
   SECTION CONTENT - Содержимое раздела
   ============================================ */
.bgp-section-content {
    margin-bottom: 32px;
}

.bgp-text-paragraph {
    color: #374151; /* gray-700 */
    line-height: 1.625;
    margin-bottom: 16px;
}

.bgp-text-paragraph:last-child {
    margin-bottom: 0;
}

.bgp-text-paragraph strong {
    font-weight: 600;
    color: #111827; /* gray-900 */
}

/* ============================================
   SECTION DIVIDER - Разделитель между секциями
   ============================================ */
.bgp-section-divider {
    margin-top: 48px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgp-section-divider__line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #93c5fd, transparent); /* blue-300 */
}

/* ============================================
   BENEFITS LIST - Список преимуществ
   ============================================ */
.bgp-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bgp-benefit-item {
    display: flex;
    gap: 12px;
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6; /* gray-100 - рамка со всех сторон */
    border-left: 4px solid #22c55e; /* green-500 - толстая левая рамка */
}

.bgp-benefit-icon {
    width: 20px;
    height: 20px;
    color: #16a34a; /* green-600 */
    flex-shrink: 0;
    margin-top: 2px;
}

.bgp-benefit-text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
    flex: 1;
}

.bgp-benefit-text strong {
    color: #111827; /* gray-900 */
    font-weight: 600;
    display: inline;
}

/* ============================================
   TELEGRAM BLOCK - Блок с контактом Telegram
   ============================================ */
.bgp-telegram-block {
    position: relative;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 8px;
    border: 2px dashed #60a5fa; /* blue-400 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

/* Corner dots (4 штуки) */
.bgp-telegram-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #3b82f6; /* blue-500 */
    border-radius: 50%;
}

.bgp-telegram-dot--tl {
    top: -4px;
    left: -4px;
}

.bgp-telegram-dot--tr {
    top: -4px;
    right: -4px;
}

.bgp-telegram-dot--bl {
    bottom: -4px;
    left: -4px;
}

.bgp-telegram-dot--br {
    bottom: -4px;
    right: -4px;
}

/* Иконка Telegram в углу */
.bgp-telegram-block__icon {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    background-color: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bgp-telegram-icon-large {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.bgp-telegram-block__text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
    padding-right: 2rem; /* pr-8 для отступа от иконки */
    margin: 0;
}

/* ============================================
   EQUIPMENT LIST - Список оборудования
   ============================================ */
.bgp-equipment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin-bottom: 24px;
}

.bgp-equipment-item {
    display: flex;
    gap: 12px;
    border-left: 4px solid #eab308; /* yellow-500 */
    padding-left: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.bgp-equipment-number {
    color: #374151; /* gray-700 */
    font-weight: 600;
    min-width: 24px;
    flex-shrink: 0;
}

.bgp-equipment-text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
}

.bgp-equipment-text strong {
    color: #111827; /* gray-900 */
    font-weight: 600;
}

/* ============================================
   HEATING LIST - Список вариантов прогрева
   ============================================ */
.bgp-heating-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin-bottom: 16px;
}

.bgp-heating-item {
    display: flex;
    gap: 12px;
    border-left: 4px solid #ef4444; /* red-500 */
    padding-left: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.bgp-heating-number {
    color: #374151; /* gray-700 */
    font-weight: 600;
    min-width: 24px;
    flex-shrink: 0;
}

.bgp-heating-text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
}

/* ============================================
   ALERT BOX - Блок предупреждения/информации
   ============================================ */
.bgp-alert-box {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
}

.bgp-alert-box--warning {
    background-color: #fff7ed; /* orange-50 */
}

.bgp-alert-icon {
    width: 20px;
    height: 20px;
    color: #ea580c; /* orange-600 */
    flex-shrink: 0;
    margin-top: 2px;
}

.bgp-alert-text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
    margin: 0;
}

.bgp-alert-text strong {
    color: #111827; /* gray-900 */
}

/* ============================================
   HIGHLIGHT TEXT - Выделенный текст
   ============================================ */
.bgp-highlight-text {
    background-color: #FEF9C1; /* Точный цвет из оригинала */
    color: #374151; /* gray-700 */
    line-height: 1.625;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

/* ============================================
   PRINCIPLES LIST - Список принципов
   ============================================ */
.bgp-principles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.bgp-principle-item {
    display: flex;
    gap: 12px;
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6; /* gray-100 */
}

.bgp-principle-icon {
    width: 20px;
    height: 20px;
    color: #16a34a; /* green-600 */
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.bgp-principle-text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
}

/* ============================================
   BULLET LIST - Маркированный список
   ============================================ */
.bgp-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 16px;
    list-style: none;
    margin-bottom: 16px;
}

.bgp-bullet-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bgp-bullet-dot {
    width: 8px;
    height: 8px;
    background-color: #3b82f6; /* blue-500 */
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.bgp-bullet-text {
    color: #374151; /* gray-700 */
    line-height: 1.625;
}

/* ============================================
   ALERT BOX - Danger variant
   ============================================ */
.bgp-alert-box--danger {
    background-color: #fef2f2; /* red-50 */
}

.bgp-alert-icon--danger {
    color: #dc2626; /* red-600 */
}

/* ============================================
   PROTOCOL TABLES - Таблицы протоколов
   ============================================ */
.bgp-protocols-wrapper {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bgp-protocol-table {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb; /* gray-200 */
    overflow: hidden;
}

/* Protocol Header */
.bgp-protocol-header {
    background: linear-gradient(to right, #111827, #000000, #111827); /* gray-900 → black → gray-900 */
    padding: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Decorative blur elements */
.bgp-protocol-header__blur {
    position: absolute;
    border-radius: 50%;
}

.bgp-protocol-header__blur--top {
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    opacity: 0.1;
    filter: blur(64px);
}

.bgp-protocol-header__blur--bottom {
    bottom: 0;
    left: 0;
    width: 96px;
    height: 96px;
    opacity: 0.1;
    filter: blur(40px);
}

/* Color variants for headers */
.bgp-protocol-header--blue {
    border-bottom: 4px solid #3b82f6; /* blue-500 */
}

.bgp-protocol-header--blue .bgp-protocol-header__blur--top {
    background-color: #3b82f6;
}

.bgp-protocol-header--blue .bgp-protocol-header__blur--bottom {
    background-color: #60a5fa; /* blue-400 */
}

.bgp-protocol-header--orange {
    border-bottom: 4px solid #f97316; /* orange-500 */
}

.bgp-protocol-header--orange .bgp-protocol-header__blur--top {
    background-color: #f97316;
}

.bgp-protocol-header--orange .bgp-protocol-header__blur--bottom {
    background-color: #fb923c; /* orange-400 */
}

.bgp-protocol-header--purple {
    border-bottom: 4px solid #a855f7; /* purple-500 */
}

.bgp-protocol-header--purple .bgp-protocol-header__blur--top {
    background-color: #a855f7;
}

.bgp-protocol-header--purple .bgp-protocol-header__blur--bottom {
    background-color: #c084fc; /* purple-400 */
}

.bgp-protocol-header--red {
    border-bottom: 4px solid #ef4444; /* red-500 */
}

.bgp-protocol-header--red .bgp-protocol-header__blur--top {
    background-color: #ef4444;
}

.bgp-protocol-header--red .bgp-protocol-header__blur--bottom {
    background-color: #f87171; /* red-400 */
}

.bgp-protocol-header__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.bgp-protocol-title {
    font-size: 1.25rem; /* 20px */
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.025em;
    margin: 0;
}

.bgp-protocol-emoji {
    font-size: 1.25rem;
}

.bgp-protocol-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem; /* 14px */
}

.bgp-protocol-meta__text {
    color: #d1d5db; /* gray-300 */
}

.bgp-protocol-badge {
    padding: 4px 12px;
    border-radius: 6px;
    color: #ffffff;
    font-family: monospace;
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bgp-protocol-badge--blue {
    background-color: #3b82f6; /* blue-500 */
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.bgp-protocol-badge--orange {
    background-color: #f97316; /* orange-500 */
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.bgp-protocol-badge--purple {
    background-color: #a855f7; /* purple-500 */
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.3);
}

.bgp-protocol-badge--red {
    background-color: #ef4444; /* red-500 */
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3);
}

/* Table wrapper */
.bgp-table-wrapper {
    overflow-x: auto;
}

/* Table */
.bgp-table {
    width: 100%;
    border-collapse: collapse;
}

.bgp-table-head-row {
    background-color: #f1f5f9; /* slate-100 */
    border-bottom: 2px solid #94a3b8; /* slate-400 */
}

.bgp-table-th {
    padding: 16px 24px;
    text-align: left;
    color: #374151; /* gray-700 */
    font-weight: 500;
    font-size: 0.875rem;
}

.bgp-table-row {
    border-bottom: 1px solid #f3f4f6; /* gray-100 */
    transition: background-color 0.15s ease;
}

.bgp-table-row--even {
    background-color: #ffffff;
}

.bgp-table-row--odd {
    background-color: rgba(249, 250, 251, 0.5); /* gray-50/50 */
}

.bgp-table-row:hover {
    background-color: #eff6ff; /* blue-50 для всех строк по умолчанию */
}

.bgp-protocol-header--orange ~ .bgp-table-wrapper .bgp-table-row:hover {
    background-color: #fff7ed; /* orange-50 */
}

.bgp-protocol-header--purple ~ .bgp-table-wrapper .bgp-table-row:hover {
    background-color: #faf5ff; /* purple-50 */
}

.bgp-protocol-header--red ~ .bgp-table-wrapper .bgp-table-row:hover {
    background-color: #fef2f2; /* red-50 */
}

.bgp-table-td {
    padding: 16px 24px;
    font-size: 0.875rem;
    color: #1f2937; /* gray-800 */
}

.bgp-table-td:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827; /* gray-900 */
}

.bgp-table-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.bgp-table-icon--blue {
    color: #3b82f6; /* blue-500 */
}

.bgp-table-icon--orange {
    color: #f97316; /* orange-500 */
}

.bgp-table-icon--purple {
    color: #a855f7; /* purple-500 */
}

.bgp-table-icon--red {
    color: #ef4444; /* red-500 */
}

/* ============================================
   TIMELINE - Временная шкала (История методики)
   ============================================ */
.bgp-timeline-wrapper {
    margin-bottom: 48px;
}

.bgp-timeline {
    width: 100%;
    max-width: 64rem; /* 1024px - max-w-5xl */
    margin: 0 auto;
    position: relative;
}

/* Градиентная линия роста */
.bgp-timeline__line {
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #cbd5e1, #60a5fa, #2563eb); /* slate-300 → blue-400 → blue-600 */
    border-radius: 9999px;
}

/* Контейнер событий */
.bgp-timeline__events {
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Одно событие */
.bgp-timeline__event {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Карточки с годом (сверху) */
.bgp-timeline__year-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0; /* slate-200 */
    margin-bottom: 16px;
    transition: all 0.15s ease;
}

.bgp-timeline__year-card--small {
    padding: 8px 12px;
}

.bgp-timeline__year-card--medium {
    padding: 8px 16px;
}

.bgp-timeline__year-card--large {
    padding: 12px 20px;
}

.bgp-timeline__year-card--xlarge {
    padding: 16px 32px;
}

/* Текст года */
.bgp-timeline__year-text {
    color: #475569; /* slate-600 */
    text-align: center;
}

.bgp-timeline__year-text--small {
    font-size: 0.875rem; /* 14px - text-sm */
}

.bgp-timeline__year-text--medium {
    font-size: 1rem; /* 16px - text-base */
}

.bgp-timeline__year-text--large {
    font-size: 1.125rem; /* 18px - text-lg */
}

.bgp-timeline__year-text--xlarge {
    font-size: 1.25rem; /* 20px - text-xl */
}

/* Кружки на линии */
.bgp-timeline__circle {
    position: relative;
    z-index: 10;
    background-color: #3b82f6; /* blue-500 */
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bgp-timeline__circle--small {
    width: 12px;
    height: 12px;
}

.bgp-timeline__circle--medium {
    width: 16px;
    height: 16px;
}

.bgp-timeline__circle--large {
    width: 20px;
    height: 20px;
}

.bgp-timeline__circle--xlarge {
    width: 32px;
    height: 32px;
    background-color: #2563eb; /* blue-600 */
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2); /* ring-4 ring-blue-200 */
}

/* Карточки с названием (снизу) */
.bgp-timeline__title-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 16px;
    transition: all 0.15s ease;
}

.bgp-timeline__title-card--small {
    padding: 8px 12px;
}

.bgp-timeline__title-card--medium {
    padding: 8px 16px;
}

.bgp-timeline__title-card--large {
    padding: 12px 20px;
}

.bgp-timeline__title-card--xlarge {
    padding: 16px 32px;
}

/* Финальная карточка - подсветка */
.bgp-timeline__title-card--highlight {
    background-color: #2563eb; /* blue-600 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(37, 99, 235, 0.2); /* shadow-xl + ring */
}

/* Текст названия */
.bgp-timeline__title-text {
    text-align: center;
    white-space: nowrap;
}

.bgp-timeline__title-text--small {
    font-size: 0.875rem; /* 14px - text-sm */
    color: #0f172a; /* slate-900 */
}

.bgp-timeline__title-text--medium {
    font-size: 1rem; /* 16px - text-base */
    color: #0f172a; /* slate-900 */
}

.bgp-timeline__title-text--large {
    font-size: 1.125rem; /* 18px - text-lg */
    color: #0f172a; /* slate-900 */
}

.bgp-timeline__title-text--xlarge {
    font-size: 1.25rem; /* 20px - text-xl */
    color: #0f172a; /* slate-900 */
}

.bgp-timeline__title-text--highlight {
    color: #ffffff;
}

/* ============================================
   RESPONSIVE - Адаптивность
   ============================================ */

/* Планшеты и меньше */
@media (max-width: 768px) {
    .bgp-toc__list {
        grid-template-columns: 1fr;
    }
    
    .bgp-header__content {
        flex-direction: column;
    }
    
    .bgp-header__logo {
        align-self: center;
    }
    
    .bgp-info-block__content {
        flex-direction: column;
    }
    
    /* Timeline - вертикальная раскладка на планшетах */
    .bgp-timeline__events {
        flex-direction: column;
        gap: 32px;
        padding-left: 20px;
    }
    
    .bgp-timeline__line {
        top: 0;
        left: 20px;
        right: auto;
        bottom: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, #cbd5e1, #60a5fa, #2563eb);
    }
    
    .bgp-timeline__event {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
    
    .bgp-timeline__year-card {
        margin-bottom: 0;
        order: 2;
    }
    
    .bgp-timeline__circle {
        order: 1;
        margin: 0;
    }
    
    .bgp-timeline__title-card {
        margin-top: 0;
        order: 3;
    }
}

/* Мобильные */
@media (max-width: 480px) {
    .bgp-wrapper {
        padding: 16px 0;
    }
    
    .bgp-container {
        padding: 0 12px;
    }
    
    .bgp-header__title {
        font-size: 1.5rem; /* 24px */
    }
    
    .bgp-logo-letter {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .bgp-section-header__content {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .bgp-section-header__title {
        font-size: 1.25rem; /* 20px */
    }
    
    .bgp-section-header__icon-box {
        width: 32px;
        height: 32px;
    }
    
    .bgp-section-header__icon-box .bgp-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Timeline - компактные размеры на мобильных */
    .bgp-timeline__year-card--small,
    .bgp-timeline__year-card--medium {
        padding: 6px 10px;
    }
    
    .bgp-timeline__year-card--large {
        padding: 8px 14px;
    }
    
    .bgp-timeline__year-card--xlarge {
        padding: 10px 20px;
    }
    
    .bgp-timeline__title-card--small,
    .bgp-timeline__title-card--medium {
        padding: 6px 10px;
    }
    
    .bgp-timeline__title-card--large {
        padding: 8px 14px;
    }
    
    .bgp-timeline__title-card--xlarge {
        padding: 10px 20px;
    }
    
    .bgp-timeline__year-text--small,
    .bgp-timeline__title-text--small {
        font-size: 0.75rem; /* 12px */
    }
    
    .bgp-timeline__year-text--medium,
    .bgp-timeline__title-text--medium {
        font-size: 0.875rem; /* 14px */
    }
    
    .bgp-timeline__year-text--large,
    .bgp-timeline__title-text--large {
        font-size: 1rem; /* 16px */
    }
    
    .bgp-timeline__year-text--xlarge,
    .bgp-timeline__title-text--xlarge {
        font-size: 1.125rem; /* 18px */
    }
    
    /* Protocol Tables - адаптивные размеры на мобильных */
    .bgp-protocol-header {
        padding: 16px;
    }
    
    .bgp-protocol-title {
        font-size: 1rem; /* 16px */
    }
    
    .bgp-protocol-meta {
        font-size: 0.75rem; /* 12px */
    }
    
    .bgp-protocol-badge {
        padding: 2px 8px;
        font-size: 0.625rem; /* 10px */
    }
    
    .bgp-table-th,
    .bgp-table-td {
        padding: 12px 16px;
        font-size: 0.75rem; /* 12px */
    }
    
    .bgp-table-icon {
        width: 14px;
        height: 14px;
    }
}

/* ==============================================
   PHASES LIST STYLES (Костяк программы)
   ============================================== */

.bgp-phases-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bgp-phase-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.bgp-phase-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bgp-phase-text {
    flex: 1;
    padding-top: 4px;
}

.bgp-phase-title {
    color: #111827;
    font-weight: 600;
}

.bgp-phase-desc {
    color: #374151;
}

/* ==============================================
   FEATURES BOX STYLES (Костяк программы)
   ============================================== */

.bgp-features-box {
    background: linear-gradient(to right, #eff6ff, #eef2ff);
    padding: 1.25rem;
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
    margin-bottom: 1rem;
}

.bgp-features-title {
    color: #111827;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.bgp-features-icon {
    width: 20px;
    height: 20px;
    color: #2563eb;
}

.bgp-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bgp-feature-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.bgp-feature-dot {
    width: 6px;
    height: 6px;
    background-color: #3b82f6;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.bgp-feature-item span:last-child {
    color: #374151;
}

/* ==============================================
   PROGRAM INFOGRAPHIC STYLES (Костяк программы)
   ============================================== */

.bgp-infographic {
    display: flex;
    gap: 3rem;
    padding: 2rem 0;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    padding: 2rem 1.5rem;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .bgp-infographic {
        flex-wrap: nowrap;
    }
}

/* Legend Section */
.bgp-infographic__legend {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .bgp-infographic__legend {
        width: auto;
    }
}

.bgp-infographic__legend-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    line-height: 1.4;
}

.bgp-legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bgp-legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bgp-legend-bar {
    width: 96px;
    height: 28px;
    border-radius: 0.25rem;
}

.bgp-legend-bar--blue {
    background-color: #6B9BD1;
}

.bgp-legend-bar--green {
    background-color: #4CAF50;
}

.bgp-legend-bar--yellow-red {
    background: linear-gradient(135deg, #FFD54F 0%, #FF8A65 50%, #E53935 100%);
}

.bgp-legend-bar--purple {
    background-color: #AB47BC;
}

.bgp-legend-bar--lightblue {
    background-color: #64B5F6;
}

.bgp-legend-bar--gray {
    background-color: #9E9E9E;
}

.bgp-legend-info {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.bgp-legend-phase {
    font-size: 0.875rem;
    color: #1f2937;
    white-space: nowrap;
    min-width: 60px;
}

.bgp-legend-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.3;
}

.bgp-legend-desc small {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Chart Section */
.bgp-infographic__chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bgp-chart-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.4;
    font-size: 1rem;
}

.bgp-chart-subtitle {
    font-size: 1.125rem;
}

.bgp-chart-percent {
    font-size: 1.875rem;
}

.bgp-chart-wrapper {
    width: 100%;
    max-width: 450px;
    margin-top: -2rem;
}

.bgp-chart-svg {
    width: 100%;
    height: auto;
}

.bgp-chart-segment {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    cursor: pointer;
    transform-origin: 200px 150px;
    filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.2));
    animation: bgp-slice-appear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.bgp-chart-segment:nth-child(2) { animation-delay: 0.05s; }
.bgp-chart-segment:nth-child(3) { animation-delay: 0.1s; }
.bgp-chart-segment:nth-child(4) { animation-delay: 0.15s; }
.bgp-chart-segment:nth-child(5) { animation-delay: 0.2s; }
.bgp-chart-segment:nth-child(6) { animation-delay: 0.25s; }
.bgp-chart-segment:nth-child(7) { animation-delay: 0.3s; }
.bgp-chart-segment:nth-child(8) { animation-delay: 0.35s; }

@keyframes bgp-slice-appear {
    0% {
        transform: scale(0) rotate(-30deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.bgp-chart-segment:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.3));
}

/* Фаза 7 (первый сегмент) - без увеличения, только тень */
.bgp-chart-segment:first-of-type:hover {
    transform: scale(1);
    filter: drop-shadow(2px 4px 10px rgba(0,0,0,0.35));
}

/* Тултип для диаграммы */
.bgp-chart-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 100;
    text-align: center;
    line-height: 1.5;
}

.bgp-chart-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #111827;
}

.bgp-chart-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.bgp-chart-wrapper {
    position: relative;
}

/* Центральный круг */
.bgp-chart-center {
    animation: bgp-center-appear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

@keyframes bgp-center-appear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Блик */
.bgp-chart-glare {
    animation: bgp-glare-appear 1s ease 0.8s backwards;
    pointer-events: none;
}

@keyframes bgp-glare-appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive для Infographic */
@media (max-width: 768px) {
    .bgp-infographic {
        gap: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .bgp-infographic__legend-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .bgp-legend-bar {
        width: 80px;
        height: 24px;
    }
    
    .bgp-chart-title {
        font-size: 0.875rem;
    }
    
    .bgp-chart-subtitle {
        font-size: 1rem;
    }
    
    .bgp-chart-percent {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bgp-infographic {
        gap: 1.5rem;
        padding: 1rem 0.75rem;
    }
    
    .bgp-legend-bar {
        width: 64px;
        height: 20px;
    }
    
    .bgp-legend-phase,
    .bgp-legend-desc {
        font-size: 0.75rem;
    }
    
    .bgp-legend-phase {
        min-width: 50px;
    }
}

/* ==============================================
   MEASUREMENTS LIST STYLES (Замеры)
   ============================================== */

.bgp-measurements-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bgp-measurement-item {
    display: flex;
    gap: 0.75rem;
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3b82f6;
}

.bgp-measurement-content {
    flex: 1;
}

.bgp-measurement-title {
    color: #111827;
    font-weight: 600;
}

.bgp-measurement-desc {
    color: #374151;
}

.bgp-formula-block {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bgp-formula {
    background-color: #FEF9C1; /* Точный цвет из оригинала */
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875rem;
}

.bgp-formula-note {
    color: #4b5563;
    font-size: 0.875rem;
    margin: 0;
}

/* Alert Boxes (Замеры) */
.bgp-alert {
    padding: 1.25rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.bgp-alert--orange {
    background-color: #fff7ed;
    border-color: #f97316;
}

.bgp-alert--green {
    background-color: #f0fdf4;
    border-color: #22c55e;
}

.bgp-alert--red {
    background-color: #fef2f2;
    border-color: #ef4444;
}

.bgp-alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bgp-alert--orange .bgp-alert-icon {
    color: #ea580c;
}

.bgp-alert p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

.bgp-alert span {
    color: #374151;
    line-height: 1.6;
}

/* ==============================================
   ABBREVIATION TABLE STYLES (Замеры)
   ============================================== */

.bgp-abbrev-table {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.bgp-abbrev-table__header {
    padding: 1.5rem;
    padding-bottom: 0;
}

.bgp-abbrev-table__title {
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.bgp-abbrev-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .bgp-abbrev-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bgp-abbrev-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.bgp-abbrev-badge {
    flex-shrink: 0;
    width: 80px;
    height: 32px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
}

.bgp-abbrev-info {
    flex: 1;
    min-width: 0;
}

.bgp-abbrev-full {
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bgp-abbrev-desc {
    color: #4b5563;
    font-size: 0.75rem;
}

.bgp-abbrev-table__footer {
    background-color: #eff6ff;
    padding: 0.75rem 1.5rem;
    border-top: 2px solid #bfdbfe;
}

.bgp-abbrev-table__footer p {
    color: #374151;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive для Abbreviation Table */
@media (max-width: 480px) {
    .bgp-abbrev-table__header {
        padding: 1rem;
    }
    
    .bgp-abbrev-table__title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .bgp-abbrev-grid {
        gap: 0.75rem;
        padding-bottom: 1rem;
    }
    
    .bgp-abbrev-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .bgp-abbrev-badge {
        width: 70px;
        height: 28px;
        font-size: 0.625rem;
    }
    
    .bgp-abbrev-full {
        font-size: 0.75rem;
    }
    
    .bgp-abbrev-desc {
        font-size: 0.625rem;
    }
    
    .bgp-abbrev-table__footer {
        padding: 0.5rem 1rem;
    }
    
    .bgp-abbrev-table__footer p {
        font-size: 0.75rem;
    }
}

/* ==============================================
   ADVANCED TECHNIQUES LIST (Усложнение методики)
   ============================================== */

.bgp-advanced-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #374151;
}

.bgp-advanced-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.bgp-advanced-icon {
    width: 20px;
    height: 20px;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
}

.bgp-advanced-item span {
    flex: 1;
}

/* ==============================================
   NUANCES GRID (Нюансы & фишечки)
   ============================================== */

.bgp-nuances-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .bgp-nuances-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bgp-nuance-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: linear-gradient(to bottom right, #ffffff, #f9fafb);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.bgp-nuance-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.02);
}

.bgp-nuance-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bgp-nuance-card:hover .bgp-nuance-icon {
    transform: scale(1.1);
}

.bgp-nuance-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.bgp-nuance-icon--blue {
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.bgp-nuance-icon--rose {
    background: linear-gradient(to bottom right, #f43f5e, #db2777);
    box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.2);
}

.bgp-nuance-icon--emerald {
    background: linear-gradient(to bottom right, #10b981, #0d9488);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.bgp-nuance-icon--orange {
    background: linear-gradient(to bottom right, #f97316, #dc2626);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.2);
}

.bgp-nuance-icon--purple {
    background: linear-gradient(to bottom right, #a855f7, #7c3aed);
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.2);
}

.bgp-nuance-icon--amber {
    background: linear-gradient(to bottom right, #f59e0b, #eab308);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.bgp-nuance-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bgp-nuance-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bgp-nuance-number {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to bottom right, currentColor, currentColor);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bgp-nuance-number--blue {
    color: #3b82f6;
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
}

.bgp-nuance-number--rose {
    color: #f43f5e;
    background: linear-gradient(to bottom right, #f43f5e, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
}

.bgp-nuance-number--emerald {
    color: #10b981;
    background: linear-gradient(to bottom right, #10b981, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
}

.bgp-nuance-number--orange {
    color: #f97316;
    background: linear-gradient(to bottom right, #f97316, #dc2626);
    -webkit-background-clip: text;
    background-clip: text;
}

.bgp-nuance-number--purple {
    color: #a855f7;
    background: linear-gradient(to bottom right, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

.bgp-nuance-number--amber {
    color: #f59e0b;
    background: linear-gradient(to bottom right, #f59e0b, #eab308);
    -webkit-background-clip: text;
    background-clip: text;
}

.bgp-nuance-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.bgp-nuance-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.bgp-nuance-example {
    background: linear-gradient(to right, #FEF9C1, #fde68a);
    border-left: 4px solid #eab308;
    padding: 0.75rem 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin-top: 0.75rem;
}

.bgp-nuance-example-text {
    font-family: monospace;
    font-size: 0.875rem;
    color: #1f2937;
    margin: 0;
}

/* Responsive для Nuances */
@media (max-width: 768px) {
    .bgp-nuances-grid {
        gap: 1.5rem;
    }
    
    .bgp-nuance-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .bgp-nuance-icon {
        width: 56px;
        height: 56px;
    }
    
    .bgp-nuance-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .bgp-nuances-grid {
        gap: 1rem;
    }
    
    .bgp-nuance-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .bgp-nuance-icon {
        width: 48px;
        height: 48px;
    }
    
    .bgp-nuance-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .bgp-nuance-number {
        font-size: 1.125rem;
    }
    
    .bgp-nuance-title {
        font-size: 0.875rem;
    }
    
    .bgp-nuance-text {
        font-size: 0.75rem;
    }
}

/* ==============================================
   FAQ SECTION (Частые вопросы)
   ============================================== */

.bgp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bgp-faq-item {
    border: 1px solid #eeeeee;
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.bgp-faq-item[open] {
    border: 1px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.bgp-faq-question {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    color: #222222;
    list-style: none;
    position: relative;
    padding-right: 48px;
}

.bgp-faq-item[open] .bgp-faq-question {
    color: #3b82f6;
}

.bgp-faq-question::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border: solid currentColor;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 8px;
    transition: transform 0.3s ease;
}

.bgp-faq-item[open] .bgp-faq-question::after {
    transform: translateY(-50%) rotate(-135deg);
    color: #3b82f6;
}

.bgp-faq-question::-webkit-details-marker {
    display: none;
}

.bgp-faq-answer {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #444444;
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}

.bgp-faq-answer p {
    margin-bottom: 0.75rem;
}

.bgp-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ==============================================
   EPILOG SECTION (Эпилог)
   ============================================== */

.bgp-quote-container {
    max-width: 48rem;
    margin: 2rem auto;
    position: relative;
}

.bgp-quote-box {
    position: relative;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: rotate(-1deg);
    border: 8px double #fbbf24;
}

.bgp-quote-star {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fbbf24;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.bgp-quote-star span {
    color: #111827;
}

.bgp-quote-mark {
    position: absolute;
    font-size: 3.75rem;
    color: #fcd34d;
    line-height: 1;
}

.bgp-quote-mark--left {
    top: 1rem;
    left: 1rem;
}

.bgp-quote-mark--right {
    bottom: 1rem;
    right: 1rem;
}

.bgp-quote-text {
    line-height: 1.6;
    color: #111827;
    text-align: center;
    margin: 0;
}

/* Links Grid */
.bgp-wrapper .bgp-links-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    list-style: none !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .bgp-wrapper .bgp-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.bgp-wrapper .bgp-link-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: auto !important;
}

.bgp-wrapper .bgp-link-card::before,
.bgp-wrapper .bgp-link-card::after {
    content: none !important;
}

.bgp-wrapper .bgp-link-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    text-decoration: none !important;
}

.bgp-wrapper .bgp-link-icon {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    background-color: #eff6ff !important;
    border-radius: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease;
    order: 0 !important;
    vertical-align: middle !important;
}

.bgp-wrapper .bgp-link-card:hover .bgp-link-icon {
    background-color: #dbeafe !important;
}

.bgp-wrapper .bgp-link-icon svg {
    width: 20px !important;
    height: 20px !important;
    color: #2563eb !important;
    display: block !important;
}

.bgp-wrapper .bgp-link-text {
    color: #374151 !important;
    transition: color 0.2s ease;
    text-decoration: none !important;
    flex: 1 !important;
    order: 1 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.bgp-wrapper .bgp-link-card:hover .bgp-link-text {
    color: #2563eb !important;
    text-decoration: none !important;
}

/* Featured Link Card (выделенные ссылки) */
.bgp-wrapper .bgp-link-card.bgp-link-card--featured {
    position: relative !important;
    border: 1px solid #fbbf24 !important;
    background: #ffffff !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured::before {
    content: none !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured::after {
    content: "MUST READ" !important;
    display: block !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    background: #dc2626 !important;
    color: white !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    z-index: 10 !important;
    width: auto !important;
    height: auto !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured:hover .bgp-link-text {
    color: #b45309 !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured .bgp-link-icon {
    background: #fef3c7 !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured:hover .bgp-link-icon {
    background: #fde68a !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured .bgp-link-icon svg {
    display: none !important;
}

.bgp-wrapper .bgp-link-card.bgp-link-card--featured .bgp-link-icon::before {
    content: "⭐" !important;
    font-size: 18px !important;
    display: block !important;
}

/* Responsive для FAQ и Epilog */
@media (max-width: 768px) {
    .bgp-quote-box {
        padding: 2.5rem 2rem;
    }
    
    .bgp-quote-mark {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .bgp-faq-question {
        font-size: 15px;
        padding: 14px 18px;
        padding-right: 44px;
    }
    
    .bgp-faq-answer {
        font-size: 14px;
        padding: 14px 18px;
    }
    
    .bgp-quote-box {
        padding: 2rem 1.5rem;
        border-width: 4px;
    }
    
    .bgp-quote-mark {
        font-size: 2.5rem;
    }
    
    .bgp-quote-star {
        padding: 0.25rem 1rem;
    }
    
    .bgp-link-card {
        padding: 0.75rem;
    }
    
    .bgp-link-icon {
        width: 36px;
        height: 36px;
    }
    
    .bgp-link-text {
        font-size: 0.875rem;
    }
}

