/* All Industries hub (/industry/all): resources/views/category/industries-all.php.
   Shared by every region; the accent is each site's own --theme-color. Content is
   1180px wide, 92% of the screen below that and a 16px gutter on phones, as on
   the homepages. */
.cbl-ind-page {
    --ind-accent: var(--theme-color, #0BAF9A);
    --ind-soft: #eef8f6;
    --ind-ink: #172033;
    --ind-muted: #5b6675;
    --ind-line: #e6ebef;
    --ind-surface: #f7f9fb;
    color: var(--ind-ink);
    line-height: 1.6;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
    .cbl-ind-page {
        --ind-soft: color-mix(in srgb, var(--ind-accent) 10%, #fff);
    }
}

.cbl-ind-wrap {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.cbl-ind-page h1,
.cbl-ind-page h2,
.cbl-ind-page h3 {
    color: var(--ind-ink);
    letter-spacing: normal;
    text-transform: none;
}

/* breadcrumb */
.cbl-ind-crumbs {
    padding: 14px 0;
    border-bottom: 1px solid var(--ind-line);
    font-size: 14px;
}

.cbl-ind-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbl-ind-crumbs li {
    color: var(--ind-muted);
}

.cbl-ind-crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: #b6bec8;
}

.cbl-ind-crumbs a {
    color: var(--ind-ink);
}

.cbl-ind-crumbs a:hover {
    color: var(--ind-accent);
}

/* shared bits */
.cbl-ind-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ind-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cbl-ind-section {
    padding: clamp(44px, 6vw, 72px) 0;
}

.cbl-ind-section-tint {
    background: var(--ind-surface);
}

.cbl-ind-head {
    max-width: 740px;
    margin: 0 auto 36px;
    text-align: center;
}

.cbl-ind-head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.2;
}

.cbl-ind-head p {
    margin: 0;
    color: var(--ind-muted);
    font-size: 16px;
}

.cbl-ind-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    border: 2px solid var(--ind-accent);
    border-radius: 10px;
    background: var(--ind-accent);
    color: #fff;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cbl-ind-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(23, 32, 51, .16);
}

/* hero */
.cbl-ind-hero {
    padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 64px);
    background:
        radial-gradient(circle at 12% 20%, var(--ind-soft) 0, transparent 42%),
        radial-gradient(circle at 88% 80%, var(--ind-soft) 0, transparent 40%),
        linear-gradient(180deg, #f4fafc 0%, #fff 100%);
    text-align: center;
}

.cbl-ind-hero h1 {
    max-width: 820px;
    margin: 0 auto 16px;
    font-size: clamp(30px, 4.4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
}

.cbl-ind-hero h1 span {
    color: var(--ind-accent);
}

.cbl-ind-lead {
    max-width: 680px;
    margin: 0 auto 28px;
    color: var(--ind-muted);
    font-size: clamp(15px, 1.4vw, 17px);
}

.cbl-ind-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto 28px;
}

.cbl-ind-search i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--ind-muted);
    pointer-events: none;
}

.cbl-ind-search input {
    width: 100%;
    height: 56px;
    padding: 0 20px 0 50px;
    border: 1px solid var(--ind-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 32, 51, .08);
    color: var(--ind-ink);
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cbl-ind-search input:focus {
    border-color: var(--ind-accent);
    box-shadow: 0 0 0 4px var(--ind-soft), 0 10px 30px rgba(23, 32, 51, .08);
}

.cbl-ind-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbl-ind-stats li {
    padding: 8px 16px;
    border: 1px solid var(--ind-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ind-muted);
    font-size: 14px;
}

.cbl-ind-stats strong {
    color: var(--ind-ink);
}

/* popular industries: photo cards. The product photo sits on its own white
   panel, uncovered, with the name and box count on a strip underneath. */
.cbl-ind-popular {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.cbl-ind-photo {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ind-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 32, 51, .06);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.cbl-ind-photo-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.cbl-ind-photo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.cbl-ind-photo-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--ind-line);
}

.cbl-ind-photo-name {
    display: block;
    color: var(--ind-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.cbl-ind-photo-meta {
    display: block;
    color: var(--ind-muted);
    font-size: 13px;
}

.cbl-ind-photo-go {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ind-soft);
    color: var(--ind-accent);
    font-size: 14px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.cbl-ind-photo:hover {
    border-color: var(--ind-accent);
    box-shadow: 0 16px 36px rgba(23, 32, 51, .12);
    transform: translateY(-4px);
}

.cbl-ind-photo:hover .cbl-ind-photo-media img {
    transform: scale(1.05);
}

.cbl-ind-photo:hover .cbl-ind-photo-go {
    background: var(--ind-accent);
    color: #fff;
    transform: translateX(2px);
}

/* A-Z directory */
.cbl-ind-count {
    margin: -12px 0 22px;
    color: var(--ind-muted);
    font-size: 14px;
    text-align: center;
}

.cbl-ind-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cbl-ind-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--ind-line);
    border-radius: 16px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cbl-ind-card[hidden] {
    display: none;
}

.cbl-ind-card:hover {
    border-color: var(--ind-accent);
    box-shadow: 0 14px 34px rgba(23, 32, 51, .09);
    transform: translateY(-3px);
}

.cbl-ind-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.cbl-ind-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--ind-soft);
    color: var(--ind-accent);
    font-size: 22px;
}

.cbl-ind-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.cbl-ind-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.cbl-ind-card h3 a {
    color: inherit;
}

.cbl-ind-card h3 a:hover {
    color: var(--ind-accent);
}

.cbl-ind-types-count {
    color: var(--ind-muted);
    font-size: 13px;
}

.cbl-ind-line {
    margin: 0 0 14px;
    color: var(--ind-muted);
    font-size: 15px;
}

.cbl-ind-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.cbl-ind-chips a {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--ind-line);
    border-radius: 999px;
    background: var(--ind-surface);
    color: var(--ind-ink);
    font-size: 13px;
    line-height: 1.4;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.cbl-ind-chips a:hover {
    border-color: var(--ind-accent);
    background: var(--ind-soft);
    color: var(--ind-accent);
}

.cbl-ind-chips .cbl-ind-chip-more {
    border-style: dashed;
    background: #fff;
    color: var(--ind-accent);
    font-weight: 600;
}

/* keeps the link on the same line in every card of a row */
.cbl-ind-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--ind-accent);
    font-weight: 700;
}

.cbl-ind-card-link i {
    transition: transform .2s ease;
}

.cbl-ind-card-link:hover {
    color: var(--ind-accent);
}

.cbl-ind-card-link:hover i {
    transform: translateX(4px);
}

.cbl-ind-empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 24px;
    border: 1px dashed var(--ind-line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.cbl-ind-empty[hidden] {
    display: none;
}

.cbl-ind-empty > i {
    margin-bottom: 12px;
    color: var(--ind-accent);
    font-size: 34px;
}

.cbl-ind-empty h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.cbl-ind-empty p {
    margin: 0 0 20px;
    color: var(--ind-muted);
}

/* why us */
.cbl-ind-why {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbl-ind-why li {
    padding: 26px 22px;
    border: 1px solid var(--ind-line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.cbl-ind-why i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--ind-soft);
    color: var(--ind-accent);
    font-size: 22px;
}

.cbl-ind-why h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.cbl-ind-why p {
    margin: 0;
    color: var(--ind-muted);
    font-size: 15px;
}

/* FAQ */
.cbl-ind-faq {
    max-width: 860px;
    margin: 0 auto;
}

.cbl-ind-faq details {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--ind-line);
    border-radius: 12px;
    background: #fff;
}

.cbl-ind-faq details[open] {
    border-color: var(--ind-accent);
}

.cbl-ind-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    color: var(--ind-ink);
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.cbl-ind-faq summary::-webkit-details-marker {
    display: none;
}

.cbl-ind-faq summary::after {
    content: "\f078";
    flex: none;
    color: var(--ind-accent);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform .2s ease;
}

.cbl-ind-faq details[open] summary::after {
    transform: rotate(180deg);
}

.cbl-ind-faq details p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--ind-muted);
    font-size: 15px;
}

/* quote CTA */
.cbl-ind-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ind-accent) 0%, #172033 130%);
    color: #fff;
}

.cbl-ind-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
}

.cbl-ind-cta p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
}

.cbl-ind-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cbl-ind-btn-light {
    border-color: #fff;
    background: #fff;
    color: var(--ind-ink);
}

.cbl-ind-btn-light:hover {
    color: var(--ind-ink);
}

.cbl-ind-btn-ghost {
    border-color: rgba(255, 255, 255, .7);
    background: transparent;
}

/* responsive */
@media (max-width: 1199px) {
    .cbl-ind-why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .cbl-ind-popular {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cbl-ind-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cbl-ind-popular {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .cbl-ind-photo-body {
        padding: 12px;
    }

    .cbl-ind-photo-name {
        font-size: 15px;
    }

    .cbl-ind-photo-meta {
        font-size: 12px;
    }

    .cbl-ind-photo-go {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .cbl-ind-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbl-ind-cta {
        text-align: center;
        justify-content: center;
    }

    .cbl-ind-cta-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .cbl-ind-wrap {
        width: calc(100% - 32px);
    }

    .cbl-ind-why {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbl-ind-card {
        padding: 18px;
    }

    .cbl-ind-cta-actions .cbl-ind-btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cbl-ind-page *,
    .cbl-ind-page *::after {
        transition: none !important;
    }
}
