/* SawBean Industries Showcase — responsive, theme-safe component */
.sawbean-industries {
    --sb-green: #003b23;
    --sb-green-deep: #002d1b;
    --sb-gold: #f6c945;
    --sb-cream: #fff9df;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(12px, 2vw, 24px);
    box-sizing: border-box;
    color: #fff;
    font-family: inherit;
    user-select: text;
    -webkit-user-select: text;
}
.sawbean-industries *,
.sawbean-industries *::before,
.sawbean-industries *::after { box-sizing: border-box; }

.sawbean-industries__grid {
    display: grid;
    grid-template-columns: repeat(var(--sawbean-columns, 4), minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 22px);
    align-items: stretch;
}
.sawbean-industry-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 17px;
    background: var(--sb-green);
    box-shadow: 0 2px 7px rgba(0, 30, 18, .16);
    border: 1px solid rgba(246, 201, 69, .12);
    transition: transform .22s ease, box-shadow .22s ease;
}
.sawbean-industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(0, 30, 18, .19);
}
.sawbean-industry-card__photo {
    width: 100%;
    aspect-ratio: 1.78 / 1;
    overflow: hidden;
    background: #dce7e2;
}
.sawbean-industry-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sawbean-industry-card__content {
    flex: 1;
    padding: clamp(12px, 1.35vw, 18px) clamp(13px, 1.5vw, 19px) clamp(14px, 1.55vw, 20px);
    background: linear-gradient(145deg, #004329 0%, var(--sb-green-deep) 100%);
}
.sawbean-industry-card__heading {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.1vw, 15px);
    min-height: 48px;
    margin: 0 0 7px;
}
.sawbean-industry-card__icon {
    display: block;
    flex: 0 0 clamp(42px, 4.4vw, 54px);
    width: clamp(42px, 4.4vw, 54px);
    height: clamp(42px, 4.4vw, 54px);
    object-fit: contain;
}
.sawbean-industry-card__heading h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: clamp(15px, 1.45vw, 21px) !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em;
}
.sawbean-industry-card__content p {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,.97) !important;
    font-size: clamp(13px, 1.16vw, 16px) !important;
    line-height: 1.42 !important;
    font-weight: 400;
}
.sawbean-industries__ribbon {
    width: 100%;
    max-width: 100%;
    margin: clamp(24px, 3vw, 38px) auto 0;
    line-height: 0;
}
.sawbean-industries__ribbon img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 900px) {
    .sawbean-industries__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .sawbean-industry-card__heading h3 { font-size: clamp(17px, 2.2vw, 21px) !important; }
    .sawbean-industry-card__content p { font-size: clamp(14px, 1.7vw, 16px) !important; }
    .sawbean-industry-card__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .sawbean-industries__ribbon { width: 100%; }
}

/* Mobile */
@media (max-width: 560px) {
    .sawbean-industries { padding: 10px; }
    .sawbean-industries__grid { grid-template-columns: 1fr; gap: 14px; }
    .sawbean-industry-card { border-radius: 14px; }
    .sawbean-industry-card__photo { aspect-ratio: 2.05 / 1; }
    .sawbean-industry-card__content { padding: 13px 16px 16px; }
    .sawbean-industry-card__heading { gap: 12px; min-height: 46px; }
    .sawbean-industry-card__icon { width: 46px; height: 46px; flex-basis: 46px; }
    .sawbean-industry-card__heading h3 { font-size: 19px !important; }
    .sawbean-industry-card__content p { font-size: 15px !important; line-height: 1.45 !important; }
    .sawbean-industries__ribbon { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .sawbean-industry-card { transition: none; }
    .sawbean-industry-card:hover { transform: none; }
}
