.smi-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
width: 100%;
}

@keyframes smiRotateBorder {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}

.smi-card {
position: relative;
background-color: #ffffff;
border-radius: 12px;
padding: 28px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
transition: box-shadow 0.3s ease, transform 0.3s ease;
box-sizing: border-box;
overflow: hidden;
z-index: 1;
}

.smi-card::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 300%;
height: 300%;
background: conic-gradient(
from 0deg,
transparent 0%,
transparent 10%,
rgba(0, 82, 254, 0.4) 20%,
var(--theme-palette-color-1, #0052fe) 50%,
rgba(0, 82, 254, 0.4) 85%,
transparent 95%,
transparent 100%
);
transform: translate(-50%, -50%) rotate(0deg);
opacity: 0;
transition: opacity 0.3s ease;
z-index: -2;
pointer-events: none;
}

.smi-card::after {
content: "";
position: absolute;
inset: 2px;
background-color: #ffffff;
border-radius: 10px;
z-index: -1;
pointer-events: none;
}

.smi-card:hover {
box-shadow: 0 12px 32px rgba(0, 82, 254, 0.12), 0 2px 6px rgba(0, 0, 0, 0.03);
transform: translateY(-2px);
}

.smi-card:hover::before {
opacity: 1;
animation: smiRotateBorder 4s linear infinite;
}

.smi-card__interactive-link {
position: relative;
z-index: 3;
text-decoration: none;
color: inherit;
}

.smi-card__header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 20px;
}

.smi-card__brand {
display: flex;
flex-direction: column;
gap: 8px;
}

.smi-card__logo-wrapper {
max-width: 160px;
max-height: 48px;
}

.smi-card__logo {
max-width: 100%;
height: auto;
max-height: 48px;
object-fit: contain;
display: block;
}

.smi-card__company-title {
font-size: 15px;
font-weight: 600;
line-height: 1.3;
color: #1a1a1a;
transition: color 0.2s ease;
}

a.smi-card__company-title:hover {
color: var(--theme-palette-color-1, #0052fe);
}

.smi-card__ratings {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
font-size: 13px;
color: #666666;
}

.smi-card__rating-item {
transition: color 0.2s ease;
}

.smi-card__rating-item:hover {
color: var(--theme-palette-color-1, #0052fe);
}

.smi-card__rating-item strong {
font-weight: 700;
color: #1a1a1a;
}

.smi-card__body {
margin: 20px 0;
flex-grow: 1;
}

.smi-card__main-stat {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px 0;
    min-height: calc(22px * 1.35 * 2); 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smi-card__result-box {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 8px;
}

.smi-card__result-value {
font-size: 28px;
font-weight: 600;
color: var(--theme-palette-color-1, #0052fe);
line-height: 1;
}

.smi-card__result-desc {
font-size: 15px;
font-weight: 400;
color: #444444;
line-height: 1.4;
}

.smi-card__taxonomies {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}

.smi-card__tag {
font-size: 12px;
font-weight: 500;
background-color: var(--theme-palette-color-1);
color: #fff;
padding: 4px 10px;
border-radius: 6px;
transition: background-color 0.2s ease, color 0.2s ease;
}

.smi-card__tag:hover {
background-color: var(--theme-palette-color-2);
color: #ffffff;
}

.smi-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}
.smi-card__footer a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.smi-card__footer svg,
.smi-card__footer img,
.smi-card__footer i {
    display: block;
    vertical-align: middle;
}

.smi-card__social-wrapper {
    display: flex;
    gap: 5px;
}


.smi-card__main-link {
font-size: 15px;
font-weight: 600;
color: var(--theme-palette-color-1, #0052fe);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
}

.smi-card__main-link::after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
}

.smi-card__link-arrow {
transition: transform 0.2s ease;
}

.smi-card:hover .smi-card__link-arrow {
transform: translateX(4px);
}

@media (max-width: 768px) {
.smi-grid {
grid-template-columns: 1fr;
}

.smi-card {
    padding: 20px;
}

.smi-card__header {
    flex-direction: column;
    align-items: flex-start;
}

.smi-card__ratings {
    align-items: flex-start;
}
}