/* Custom Styles for Industry Showcase Plugin */

/* ------------------------------------------- */
/* 1. Grid Layout */
/* ------------------------------------------- */

.industry-showcase-grid {
    display: grid;
    gap: 40px; /* Space between rows and columns */
    max-width: 1200px;
    margin: 40px auto;
}

/* Default to 2 columns, as per the image */
.industries-cols-2 {
    grid-template-columns: 1fr 1fr; 
}

/* Optional: Add styles for different column counts if you use the shortcode attribute */
.industries-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* ------------------------------------------- */
/* 2. Industry Item and Header */
/* ------------------------------------------- */

.industry-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.industry-header {
    display: flex;
    align-items: center; /* Vertically align icon and title */
    margin-bottom: 15px;
}

.industry-item h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}


/* ------------------------------------------- */
/* 3. Icon Styling (Mimic the image's look) */
/* ------------------------------------------- */

.industry-icon-wrap {
    width: 60px;
    height: 60px;
    border: 2px solid #e74c3c; /* Red border color */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0; /* Prevents icon from shrinking on smaller screens */
}

.industry-icon-wrap i {
    font-size: 24px;
    color: #e74c3c; /* Red icon color */
}

/* ------------------------------------------- */
/* 4. Description and Link */
/* ------------------------------------------- */

.industry-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-top: 0;
    margin-bottom: 15px;
}

.industry-learn-more {
    color: #e74c3c; /* Red text color */
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: auto; /* Pushes the link to the bottom */
    display: inline-block; /* Allows vertical margin/padding */
}

.industry-learn-more:hover {
    text-decoration: underline;
    color: #c0392b; /* Darker red on hover */
}

/* ------------------------------------------- */
/* 5. Responsive Adjustments */
/* ------------------------------------------- */

@media (max-width: 768px) {
    .industry-showcase-grid {
        grid-template-columns: 1fr; /* Single column on tablets/mobile */
        gap: 30px;
        margin: 20px auto;
    }
}