.icon-list .item-text p:last-of-type {
    margin-bottom: 0;
}

.icon-list .icon-badge {
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.icon-list .icon-badge svg {
    width: 2rem;
    height: 2rem;
}

.icon-list .icon-badge svg path {
    fill: var(--colour-mi-brown);
}

/* ==========================================================================
   Hotspot Integration for Content List Block
   ========================================================================== */

.content-list .bg-img {
    position: relative;
    overflow: visible;
}

.content-list .bg-img img {
    border-radius: var(--br-3);
}

.content-list .hotspot-point {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Elevate hotspot layer on hover or when active so tooltip stays on top */
.content-list .hotspot-point:hover,
.content-list .hotspot-point.is-active {
    z-index: 30;
}

.content-list .hotspot-button {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--colour-mi-yellow, #ffd700);
    border: 3px solid #ffffff;
    cursor: pointer;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.content-list .hotspot-button:hover,
.content-list .hotspot-point.is-active .hotspot-button {
    transform: scale(1.15);
    background-color: var(--colour-mi-brown, #5f4b18);
}

.content-list .hotspot-button::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background-color: var(--colour-mi-yellow, #ffd700);
    opacity: 0.6;
    animation: hotspot-pulse 2s infinite ease-in-out;
    z-index: -1;
}

.content-list .hotspot-button:hover::before,
.content-list .hotspot-point.is-active .hotspot-button::before {
    animation: none;
    opacity: 0;
}

@keyframes hotspot-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Tooltip Card */
.content-list .hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 20rem;
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: var(--br-1, 8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 40;
}

.content-list .hotspot-tooltip::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
}

.content-list .hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.content-list .hotspot-point:hover .hotspot-tooltip,
.content-list .hotspot-point.is-active .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.content-list .hotspot-description p {
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.content-list .hotspot-description p:last-child {
    margin-bottom: 0;
}

/* Dynamic Top Edge Flip (.flip-bottom) */
.content-list .hotspot-point.flip-bottom .hotspot-tooltip {
    bottom: auto;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(-10px);
}

.content-list .hotspot-point.flip-bottom .hotspot-tooltip::before {
    top: auto;
    bottom: 100%;
}

.content-list .hotspot-point.flip-bottom .hotspot-tooltip::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #ffffff transparent;
}

.content-list .hotspot-point.flip-bottom:hover .hotspot-tooltip,
.content-list .hotspot-point.flip-bottom.is-active .hotspot-tooltip {
    transform: translateX(-50%) translateY(0);
}

/* Mobile Breakpoint */
@media (max-width: 600px) {
    .content-list .hotspot-tooltip {
        width: 80vw;
        padding: 0.85rem;
    }
}