/* Best Compliments Section */
.compliments {
    text-align: center;
    margin: 50px 0;
}

.compliments-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 0 10px;
}

.comp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    /* Wider for family details */
    margin-bottom: 20px;
}

.comp-item.wide {
    max-width: 650px;
}

.comp-frame {
    width: 100%;
    /* Allow height to adjust based on image */
    height: auto;
    border-radius: 10px;
    border: 3px solid var(--antique-gold);
    padding: 5px;
    background: white;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.comp-frame:hover {
    transform: scale(1.02);
    border-color: var(--kanjeevaram-maroon);
}

.comp-img {
    width: 100%;
    height: auto;
    display: block;
    /* Remove bottom whitespace */
    border-radius: 6px;
}

.comp-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--kanjeevaram-maroon);
    line-height: 1.2;
    margin-bottom: 2px;
}

.comp-relation {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

.family-name {
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-light);
}