/* 
   VPS Teaser Box Styles
*/

.vps-teaser-box {
    display: flex;
    flex-direction: column;
    border: 1px solid #d1d5db; /* thin gray border */
    background-color: #e6f0eb; /* pale green background */
    font-family: "Campton", sans-serif;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Image section */
.vps-teaser-image {
    width: 100%;
}

.vps-teaser-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Content section */
.vps-teaser-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.vps-teaser-headline {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
}

.vps-teaser-headline a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vps-teaser-headline a:hover {
    color: #2d3748;
}

.vps-teaser-text {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.vps-teaser-text p {
    margin: 0 0 0.5rem 0;
}

.vps-teaser-text p:last-child {
    margin-bottom: 0;
}

.vps-teaser-action {
    margin-top: auto;
}

.vps-teaser-button {
    display: inline-block;
    background-color: #f0ee4c; /* vps-yellow */
    color: #323649;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.vps-teaser-button:hover {
    background-color: #e3e03c;
    color: #323649;
}

/* Responsive: Side by Side on larger screens */
@media (min-width: 768px) {
    .vps-teaser-box {
        flex-direction: row;
    }

    .vps-teaser-image {
        width: 250px;
        max-width: 30%;
        flex-shrink: 0;
    }
    
    .vps-teaser-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .vps-teaser-content {
        padding: 2rem;
    }
}
