.markers-general {
    padding: 0.5rem 0 2rem;
}

.markers-general-hero {
    margin-bottom: 1.5rem;
}

.markers-general-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: none;
}

.markers-general-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.markers-general-subtitle {
    color: #6b7280;
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.markers-section {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.markers-callout {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    padding: 1rem;
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.markers-callout-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9f1ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.markers-callout h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.markers-callout p {
    margin: 0;
    color: #374151;
}

.markers-example {
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gradient-frequency {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.18) 0%, rgba(40, 100, 200, 0.18) 100%);
    border: 1px solid transparent;
}

.gradient-frequency::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #f5c2c7 0%, #bcd8ff 100%);
    opacity: 0.9;
    z-index: 0;
}

.gradient-frequency .card-body {
    position: relative;
    z-index: 1;
    background: transparent;
    border-radius: 0.75rem;
}

.frequency-arrow {
    --arrow-offset: 0.9rem;
    --arrow-width: 56px;
    --arrow-stem-ratio: 0.32; /* stem width relative to arrow width */
    --arrow-tip-start: 78%;    /* where the tip begins (height) */
    --arrow-color-start: #30c57b;
    --arrow-color-end: #1f9d64;
    width: var(--arrow-width);
    align-self: stretch;
    height: auto;
    margin-top: var(--arrow-offset);
    min-height: 0;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--arrow-color-start) 0%, var(--arrow-color-end) 100%);
    clip-path: polygon(
        50% 0,
        calc(50% + (var(--arrow-stem-ratio) * 50%)) 0,
        calc(50% + (var(--arrow-stem-ratio) * 50%)) var(--arrow-tip-start),
        100% var(--arrow-tip-start),
        50% 100%,
        0 var(--arrow-tip-start),
        calc(50% - (var(--arrow-stem-ratio) * 50%)) var(--arrow-tip-start),
        calc(50% - (var(--arrow-stem-ratio) * 50%)) 0
    );
}

.gradient-frequency .card-body {
    padding-top: 0.75rem;
}

.markers-example-block .markers-list {
    margin-bottom: 0.4rem;
}

.markers-example-header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.35rem;
}

.markers-example-line {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0.4rem;
}

.markers-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    background: #e5e7eb;
    flex-shrink: 0;
}

.markers-pill-en { background: #e0f2fe; color: #0f3a65; }
.markers-pill-ru { background: #dcf4e4; color: #1f4c33; }
.markers-pill-note { background: #fef3c7; color: #92400e; }

.markers-pill-en,
.markers-pill-ru {
    display: none;
}

.markers-example-quote {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.35rem;
}

.markers-example-translate {
    color: #374151;
}

.markers-example-note {
    color: #4b5563;
    margin-bottom: 0.35rem;
}

.markers-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #1f2937;
}

.markers-list-spaced li + li {
    margin-top: 0.35rem;
}

.markers-list-tight {
    padding-left: 1rem;
    margin: 0;
}

.markers-list-tight li + li {
    margin-top: 0.2rem;
}

.markers-list-icon {
    list-style: none;
    padding: 0;
    margin: 0;
}

.markers-list-icon li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.markers-list-icon li:last-child {
    border-bottom: 0;
}

.markers-list-icon i {
    width: 1.15rem;
    text-align: center;
    color: #64748b;
    margin-top: 0.1rem;
}

.markers-tip {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.75rem;
    padding: 0.85rem;
    color: #166534;
}

.markers-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 0 0.35rem 0;
}

.markers-label i {
    font-size: 0.95rem;
}

.markers-accent-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.markers-accent {
    margin: 0;
    color: #475569;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.accent-chip {
    padding: 0.1rem 0.5rem;
}

.accent-color {
    color: #0f6ddf;
}

.accent-badge {
    vertical-align: middle;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.15rem 0.65rem;
}

.accent-badge-bs {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 0.6rem;
    background: #cfe8da;
    color: #0a3a25;
    border: 1px solid #a4d3b6;
    font-weight: 700;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    top: -1px;
}

.markers-label-soft {
    background: #e9f2ff;
    color: #123a7a;
    border: 1px solid #c8dcff;
}

.markers-list-pills {
    list-style: none;
    padding: 0;
    margin: 0;
}

.markers-list-pills li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.markers-list-pills li:last-child {
    border-bottom: 0;
}

.markers-list-pills .markers-example-quote,
.markers-list-pills .markers-example-translate {
    margin: 0;
}

.markers-list-pills .markers-example-line {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 0;
    flex-wrap: nowrap;
}

.markers-list-steps {
    margin-top: 0.4rem;
}

.markers-step-row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.6rem;
    align-items: center;
}

.markers-step-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.markers-pill-status {
    min-width: 30px;
    justify-content: center;
    font-weight: 800;
    color: #fff;
}

.markers-pill-positive { background: #22c55e; }
.markers-pill-negative { background: #ef4444; }
.markers-pill-question { background: #0ea5e9; }

.markers-note-inline {
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.markers-divider {
    border-top: 1px solid #e5e7eb;
    margin: 0.5rem 0 0.25rem;
}

.markers-combo-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
}

.markers-combo-title {
    font-weight: 700;
    color: #0f172a;
}

.markers-marker-translate {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
}

.markers-marker-translate .markers-pill {
    min-width: 36px;
    font-size: 0.7rem;
}

.markers-combo-variant {
    border: 1px dashed #d4d4d8;
    border-radius: 0.85rem;
    padding: 0.9rem;
    background: #fafafa;
}

.markers-combo-variant-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.65rem;
}

.markers-combo-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.markers-combo-column {
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.markers-combo-column:first-child {
    text-align: right;
}

.markers-combo-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.markers-combo-column li + li {
    margin-top: 0.2rem;
}

.markers-combo-compact .markers-combo-column {
    padding: 0.6rem;
}

.markers-combo-compact .markers-combo-plus {
    width: 36px;
    height: 36px;
}

.markers-glossary-times {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.markers-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.2;
}

.markers-chip-blue {
    background: #e8f1ff;
    color: #0f3a7a;
    border-color: #c7dbff;
}

.markers-chip-green {
    background: #e6f6ee;
    color: #1f4c33;
    border-color: #c8e8d8;
}

.markers-chip-gray {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.markers-list-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.markers-list-tags li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.markers-combo-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fff4cc;
    color: #a16207;
    font-weight: 800;
    border: 1px solid #ffe9a3;
}

.markers-combo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    align-items: center;
}

.markers-combo-step {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.65rem 0.8rem;
}

.markers-combo-arrow {
    text-align: center;
    font-weight: 800;
    color: #475569;
}

.markers-combo-chips {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.markers-combo-chips-plus {
    font-weight: 800;
    color: #475569;
}

@media (max-width: 768px) {
    .markers-callout {
        padding: 0.85rem;
    }

    .markers-callout h3 {
        font-size: 1.05rem;
    }
}
