/* ============================================
   Petsure Approach Widget
   ============================================ */

/* Layout */
.petsure-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.petsure-approach-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
}

/* Background Image */
.petsure-approach-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.petsure-approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Shine/glare diagonal effect on hover */
.petsure-approach-image {
    overflow: hidden;
}

.petsure-approach-image-placeholder {
    background: linear-gradient(135deg, var(--petsure-primary), var(--petsure-accent));
    opacity: 0.3;
}

/* Overlay Card */
.petsure-approach-card {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 30px 24px;
    background: var(--petsure-white);
    border-radius: 16px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.petsure-approach-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--petsure-accent-rgb), 0.1);
    color: var(--petsure-accent);
    margin-bottom: 14px;
}

.petsure-approach-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.petsure-approach-icon i {
    font-size: 26px;
    color: var(--petsure-accent);
}

.petsure-approach-card-title {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--petsure-primary) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3;
}

.petsure-approach-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--petsure-text);
    margin: 0;
}

/* Bottom Section */
.petsure-approach-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding: 24px 20px;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 20px;
}

.petsure-approach-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Avatars (overlapping) */
.petsure-approach-avatars {
    display: flex;
    align-items: center;
}

.petsure-approach-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--petsure-white);
    margin-left: -8px;
    flex-shrink: 0;
}

.petsure-approach-avatar:first-child {
    margin-left: 0;
}

.petsure-approach-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Phone Icon */
.petsure-approach-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--petsure-accent);
    color: var(--petsure-white);
    flex-shrink: 0;
}

.petsure-approach-phone-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.petsure-approach-phone-icon i {
    font-size: 18px;
}

/* Bottom Text */
.petsure-approach-bottom-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--petsure-text);
    max-width: 340px;
}

.petsure-approach-bottom-text a {
    color: var(--petsure-accent);
}

/* Right side: Rating */
.petsure-approach-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.petsure-approach-rating-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--petsure-primary);
    line-height: 1;
}

.petsure-approach-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.petsure-approach-star {
    display: inline-flex;
    line-height: 1;
    color: var(--petsure-accent);
    fill: var(--petsure-accent);
}

.petsure-approach-star svg {
    width: 18px;
    height: 18px;
    display: block;
}

.petsure-approach-star-empty {
    color: rgba(var(--petsure-primary-rgb), 0.15);
    fill: rgba(var(--petsure-primary-rgb), 0.15);
}

.petsure-approach-rating-label {
    font-size: 13px;
    color: var(--petsure-text);
    line-height: 1;
}

/* Heading centering */
.petsure-text-center {
    text-align: center;
}

.petsure-approach-heading {
    text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .petsure-approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .petsure-approach-grid {
        grid-template-columns: 1fr;
    }

    .petsure-approach-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .petsure-approach-bottom-left {
        flex-direction: column;
        align-items: flex-start;
    }
}