ul {
	list-style-position: inside;
}
p.x-small {
	font-size: x-small;
}
p.xx-small {
	font-size: xx-small;
}
blockquote {
	border-left: 3px solid #2e486a;
    display: flex;
    padding-left: 15px;
}
.page-link {
    color: #2e486b !important;
}
.page-item.active .page-link {
    background: #2e486b !important;
    color: #fff !important;
}
/* Both widgets are slow to load, so hold their space and shimmer instead of showing
   an empty box. mli-loading clears itself; cap10-loading is cleared by our JS. */
.mli-loading,
.cap10-skeleton__bar {
    background: linear-gradient(90deg, #f2f4f7 25%, #e6eaf0 37%, #f2f4f7 63%);
    background-size: 400% 100%;
    animation: cap10-widget-shimmer 1.4s ease-in-out infinite;
    border-radius: 4px;
}

/* Height the car hire widget ends up at. */
.mli-loading {
    min-height: 341px;
}

/* 300px is what the calculator's own script sets before the widget reports its
   real size, so the box doesn't move when it takes over. */
.involveme_embed {
    min-height: 300px;
    position: relative;
}

/* The iframe is added next to the skeleton, so the skeleton has to sit on top of
   it. pointer-events stops it swallowing clicks. */
.cap10-skeleton {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.involveme_embed:not(.cap10-loading) .cap10-skeleton {
    display: none;
}

.cap10-skeleton__bar {
    height: 40px;
}

.cap10-skeleton__bar--title {
    height: 24px;
    width: 45%;
}

.cap10-skeleton__bar--button {
    height: 44px;
    width: 160px;
    margin-top: auto;
}

/* Dots and message sit together in the middle, not as a footnote under the bars. */
.cap10-skeleton__status {
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cap10-skeleton__dots {
    display: flex;
    gap: 8px;
}

.cap10-skeleton__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2e486a;
    animation: cap10-dot-pulse 1.2s ease-in-out infinite;
}

.cap10-skeleton__dots span:nth-child(2) {
    background: #b8222f;
    animation-delay: 0.16s;
}

.cap10-skeleton__dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes cap10-dot-pulse {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.45; }
    40%           { transform: scale(1); opacity: 1; }
}

/* Fades in late, so a quick load doesn't flash a message nobody has time to read.
   It keeps its space while hidden, so the dots above it don't shift. */
.cap10-skeleton__message {
    max-width: 30rem;
    margin: 0;
    padding: 14px 20px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    color: #2e486a;
    opacity: 0;
    animation: cap10-skeleton-message-in 400ms ease-out 700ms forwards;
}

@keyframes cap10-skeleton-message-in {
    to { opacity: 1; }
}

@media (max-width: 991.98px) {
    .mli-loading {
        min-height: 355px;
    }
}

@media (max-width: 575.98px) {
    .mli-loading {
        min-height: 424px;
    }
}

@keyframes cap10-widget-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .mli-loading,
    .cap10-skeleton__bar,
    .cap10-skeleton__dots span {
        animation: none;
    }

    /* Keep the delay, drop the fade. Removing the animation outright would leave
       the message stuck at opacity 0. */
    .cap10-skeleton__message {
        animation-duration: 0s;
    }
}
