.aa-blog-callout,
.aa-blog-chart {
    margin: clamp(1.75rem, 4vw, 3rem) 0;
    border-radius: 1rem;
}

.aa-blog-callout {
    border: 1px solid rgba(201, 168, 76, 0.38);
    border-left: 5px solid #c9a84c;
    background: #fffaf0;
    padding: clamp(1.15rem, 3vw, 1.6rem);
}

.aa-blog-callout--ink {
    border-color: #292932;
    background: #15151b;
    color: #faf8f5;
}

.aa-blog-callout--plain {
    border-color: rgba(13, 13, 18, 0.12);
    border-left-color: rgba(13, 13, 18, 0.35);
    background: #fff;
}

.aa-blog-callout h2 {
    margin: 0 0 0.55rem;
    color: inherit;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.aa-blog-callout div > :first-child,
.aa-blog-chart > :first-child {
    margin-top: 0;
}

.aa-blog-callout div > :last-child,
.aa-blog-chart > :last-child {
    margin-bottom: 0;
}

.aa-blog-chart {
    border: 1px solid rgba(13, 13, 18, 0.1);
    background: #fff;
    padding: clamp(1.15rem, 3vw, 1.65rem);
    box-shadow: 0 16px 42px rgba(13, 13, 18, 0.055);
}

.aa-blog-chart figcaption {
    margin-bottom: 1.25rem;
    color: #16161c;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 850;
    line-height: 1.25;
}

.aa-blog-chart__plot {
    display: grid;
    gap: 0.85rem;
}

.aa-blog-chart__row {
    display: grid;
    grid-template-columns: minmax(7rem, 0.8fr) minmax(8rem, 2fr) minmax(4rem, auto);
    gap: 0.75rem;
    align-items: center;
}

.aa-blog-chart__label {
    color: #4f515c;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.35;
}

.aa-blog-chart__track {
    height: 0.8rem;
    overflow: hidden;
    border-radius: 999px;
    background: #ece9df;
}

.aa-blog-chart__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #a8872d, #d6b95e);
}

.aa-blog-chart__row strong {
    color: #24252c;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.aa-blog-chart__source {
    margin: 1rem 0 0;
    color: #72747e;
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .aa-blog-chart__row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .aa-blog-chart__track {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media print {
    .aa-blog-callout,
    .aa-blog-chart {
        break-inside: avoid;
        box-shadow: none;
    }

    .aa-blog-chart__bar {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
