/* 
 * Plugin Styles: iLovePDF Style Grid
 */

/* Grid Container */
.ilp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    /* Space between cards */
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Tool Card */
.ilp-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    /* Remove underline from links */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    /* Make all cards same height */
}

/* Hover Effect: Lift up + Shadow */
.ilp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #f8f9fa;
    /* Slightly lighter border on hover */
}

/* Icon / SVG Area */
.ilp-icon {
    font-size: 40px;
    color: #e5322d;
    /* iLovePDF Red */
    margin-bottom: 15px;
    display: inline-block;
}

/* Tool Title */
.ilp-card h3 {
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Tool Description */
.ilp-card p {
    color: #666666;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ilp-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        /* 1 column on mobile */
        gap: 15px;
    }
}