.card {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    border: var(--border-light);
    box-shadow: var(--shadow-card);
}

.card-header {
    padding: 0.75rem 1.5rem;
    background: var(--bg-radial-circle);
    color: var(--black-blue);
    font-family: var(--font-title);
    text-align: left;
}

.card-body {
    padding: 1.5rem 2rem;
}

.band {
    display: flex;
    background-color: #FFF;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    border: var(--border-light);
    position: relative;
    overflow: hidden;
}

.band .status-marker {
    position: absolute;
    top: 0;
    height: 100%;
    width: 0.5rem;
}

/* Editorial pull quote: navy rules above and below, icon cutting the top rule (its background matches the page ground) */
.quote {
    position: relative;
    margin-inline: 0;
    margin-bottom: 0;
    padding: 4rem 0 3.2rem;
    border-top: 2px solid var(--blue-dark);
    border-bottom: 2px solid var(--blue-dark);

    & p {
        max-width: 36em;
        margin: 0 auto;
        font-size: clamp(1.8rem, 1.52rem + 0.75vw, 2rem);
        line-height: 1.6;
        letter-spacing: -0.01em;
        text-wrap: pretty;
    }

    & .quote-icon {
        position: absolute;
        top: 0;
        left: 50%;
        translate: -50% -50%;
        width: 6.4rem;
        height: 3.4rem;
        padding: 0 1.6rem;
        background: var(--blue-grey);
    }
}

.number{
    margin-right: 1rem;
    padding-left: 0.1rem;
    width: 4.2rem;
    background-color: var(--yellow);
    text-align: center;
    line-height: 1.2;
    font-family: monospace;
    font-size: 3rem;
    font-weight: 600;
    border: 0.25rem solid #000;
    border-radius: 100%;
}

.strong-red{
    color: #ff0000;
    font-weight: 600;
}

.line-1{
    width: 100%;
    height: 1px;
}
.line-2{
    width: 100%;
    height: 2px;
}

.subtitle-line-txt{
    white-space: nowrap;
    margin-left: 1rem;
    margin-right: 1rem;
    color: #000;
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 600;
}

.progress-bar {
    position: relative;
    overflow: hidden;
    height: 1.5rem;
    background: var(--grey-lavender);
    border-radius: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Gauge with the label inside: two stacked copies of the label, dark on the white track, white on the gradient fill clipped to --p % */
.gauge {
    display: grid;
    width: 100%;
    height: 2.4rem;
    color: var(--blue-dark);
    background-color: #fff;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    border-radius: 99px;
    box-shadow: inset 0 1px 3px rgb(10 44 98 / 15%);
    overflow: hidden;

    & span {
        display: grid;
        place-items: center;
        grid-area: 1 / 1;
    }

    & span + span {
        color: #fff;
        background: linear-gradient(90deg, var(--gradient-blue), var(--gradient-violet));
        clip-path: inset(0 calc((100 - var(--p)) * 1%) 0 0 round 99px);
        transition: clip-path 0.3s ease;
    }
}

.box-dashed-green {
    padding: 1.5rem;
    background-color: var(--white-green);
    color: #000;
    border: 2px dashed var(--green);
    border-radius: 15px;
}

.timeline {
    position: relative;
    padding-left: 2rem;

    &::before {
        content: '';
        position: absolute;
        left: 0.5rem;
        top: 0.5rem;
        bottom: 0.5rem;
        width: 2px;
        background: linear-gradient(180deg, var(--blue-light), var(--blue-dark));
    }
}

.timeline-item {
    position: relative;

    &::before {
        content: '';
        position: absolute;
        left: -1.75rem;
        top: 0.4rem;
        width: 12px;
        height: 12px;
        background: var(--blue-light);
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 0 0 2px var(--blue-light);
    }
}

/* Author box (compAuthorBox): room under the photo for the rating badge straddling its bottom edge */
.author-photo {
    padding-bottom: 1.2rem;
    text-decoration: none;
}
.author-badge {
    padding-block: 0.2rem;
    left: 50%;
    bottom: 0;
    translate: -50% 0;
}
