.cac-container {
    width: 100%;
}

/* Base Card Styles */
.cac-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    background-color: var(--card-bg, #5b9dd9);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 300ms cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
}

/* Mouse over "zoom out a small bit" and color swap */
.cac-card:hover,
.cac-card:focus-within {
    transform: scale(0.97); /* Zoom out / scale down slightly */
    background-color: var(--card-bg-hover, #4a8bc8) !important;
}

/* Active focus outline */
.cac-card:focus-visible {
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 7px #3b82f6;
}

.cac-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    min-height: inherit;
    box-sizing: border-box;
    flex-grow: 1;
}

/* Circle icon in top right */
.cac-card-top {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
}

.cac-card-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 16px;
    color: #ffffff;
}

.cac-card-icon-circle svg {
    width: 1em;
    height: 1em;
    fill: #ffffff;
}

/* Bottom content alignment block */
.cac-card-bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.cac-card-pretitle {
    display: block;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.cac-card-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    word-wrap: break-word;
}

.cac-card-text {
    margin: 8px 0 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.cac-card-cta {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    align-self: flex-start;
}

/* REDUCED MOTION SUPPORT */
@media (prefers-reduced-motion: reduce) {
    .cac-card {
        transition-duration: 0.01ms !important;
        transform: none !important;
    }
}
