/* States Archive Grid & Card Styles */
.states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .states-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .states-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .states-grid { grid-template-columns: 1fr; }
}

.tax-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.tax-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.tax-card-img-wrapper {
    position: relative;
    height: 140px;
    background: #f1f5f9;
}

.tax-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tax-card-map-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.tax-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tax-card-content h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #0f172a;
}

.tax-card-meta {
    font-size: 12px;
    color: #475569;
    margin-bottom: 15px;
    flex-grow: 1;
}

.tax-card-meta p {
    margin: 0 0 8px 0;
}

.tax-card-meta strong {
    color: #0f172a;
}

.tax-card-btn {
    display: block;
    text-align: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #2563eb;
    font-weight: 600;
    font-size: 13px;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.tax-card-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}
