/* CSS för Verksamhetskort  Plugin v6.0 */

.vv-curved-hero-section {
    height: 380px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 50% 60px; 
    border-bottom-right-radius: 50% 60px;
}

.vv-wrapper {
    margin-top: -70px; 
    padding: 80px 20px;
}

.vv-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.vv-header-text {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.vv-header-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: #253D42;
    margin-bottom: 20px;
}

.vv-header-text p, 
.vv-header-text div {
    font-size: 16px;
    line-height: 1.7;
    color: #586165;
}

.vv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.vv-card {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.vv-card:hover {
    transform: translateY(-10px);
}

.vv-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.vv-card-content {
    padding: 60px 30px 30px 30px;
    transition: background-color 0.4s ease;
}

.vv-card-icon {
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80px;
    width: 80px;
    background-color: #E3F2FD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: border-color 0.4s ease;
    padding: 15px;
    box-sizing: border-box;
}

.vv-card-icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.vv-card-content h3, 
.vv-card-content p, 
.vv-card-content div, 
.vv-card-content a {
    color: #ffffff !important;
}

.vv-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.vv-card-content p, 
.vv-card-content div {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

.vv-card-content .read-more-link {
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .vv-curved-hero-section {
        height: 250px;
        border-radius: 0;
    }
    .vv-wrapper {
        margin-top: 0;
        padding: 40px 15px;
    }
    .vv-header-text h1 {
        font-size: 36px;
    }
}