/* Scoped Food Factory page only */
.by-food {
    font-family: Kanit, sans-serif;
    color: #113985;
    font-size: 14px
}

.by-food * {
    box-sizing: border-box
}

.by-food h1,
.by-food h2,
.by-food h3 {
    font-weight: 700;
    line-height: 1.3;
    color: #07358d
}

.by-food h2 {
    font-size: clamp(23px, 2.2vw, 30px)
}

.by-food p {
    color: #56687f;
    line-height: 1.65
}

.fd-section {
    padding: 36px 0
}

.fd-pale {
    background: #eff7ff
}

.fd-center {
    text-align: center;
    margin-bottom: 23px
}

.fd-heading {
    margin-bottom: 20px
}

.fd-center p,
.fd-heading p {
    margin: 0
}

.fd-hero {
    background-image: url('../../images/industries/food-factory/bg.webp');
    background-position: center;
    background-size: cover;
    overflow: hidden
}

.fd-hero-copy {
    padding: 34px 0
}

.fd-breadcrumb {
    font-size: 11px;
    color: #7c94ab;
    margin-bottom: 17px
}

.fd-breadcrumb a {
    color: #6688b4;
    text-decoration: none
}

.fd-label {
    border: 1px solid #97b6e9;
    color: #1045a1;
    border-radius: 4px;
    font-size: 11px;
    padding: 3px 9px;
    font-weight: 700
}

.fd-hero h1 {
    font-size: clamp(29px, 3vw, 43px);
    margin: 15px 0
}

.fd-hero p {
    font-size: 14px;
    max-width: 630px
}

.fd-hero-image {
    height: 370px;
    position: relative
}

.fd-hero-image img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.fd-checks {
    display: flex;
    gap: 12px 20px;
    flex-wrap: wrap;
    margin: 17px 0 23px
}

.fd-checks span {
    font-size: 12px;
    color: #133a87;
    font-weight: 600
}

.fd-checks i {
    color: #ed1429;
    margin-right: 5px
}

.fd-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.fd-btn-red,
.fd-btn-line,
.fd-btn-blue {
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #ea1528;
    cursor: pointer
}

.fd-btn-red {
    background: #e80e22;
    color: #fff
}

.fd-btn-red:hover {
    background: #bb041b;
    color: #fff
}

.fd-btn-line {
    background: #fff;
    color: #1647a3;
    border-color: #1647a3
}

.fd-btn-blue {
    background: #083a9d;
    border-color: #083a9d;
    color: #fff
}

.fd-use,
.fd-service,
.fd-project {
    border: 1px solid #dce6f4;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
    height: 100%
}

.fd-use img,
.fd-service img,
.fd-project img {
    width: 100%;
    height: 135px;
    object-fit: cover
}

.fd-use>div,
.fd-service>div,
.fd-project>div {
    padding: 12px
}

.fd-use h3,
.fd-service h3,
.fd-project h3 {
    font-size: 15px;
    margin: 0 0 7px
}

.fd-use h3 i,
.fd-service h3 i {
    color: #0a55c8;
    font-size: 21px;
    margin-right: 7px
}

.fd-use p,
.fd-service p,
.fd-project p {
    font-size: 12px;
    margin-bottom: 4px
}

.fd-problem {
    height: 100%;
    border: 1px solid #d4e4fa;
    border-radius: 5px;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 15px 11px;
    text-decoration: none;
    min-height: 186px
}

.fd-problem>i {
    color: #f01830;
    font-size: 27px
}

.fd-problem strong {
    font-size: 14px;
    color: #06378d;
    line-height: 1.4;
    margin: 8px 0
}

.fd-problem p {
    font-size: 11px;
    margin: 0 0 9px
}

.fd-problem small {
    font-size: 11px;
    color: #0b49a2;
    margin-top: auto;
    font-weight: 600
}

.fd-problem-photo {
    width: 100%;
    height: 100%;
    min-height: 190px;
    max-height: 290px;
    object-fit: cover;
    border-radius: 6px
}

.fd-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-bottom: 17px
}

.fd-title-row p {
    margin: 0
}

.fd-title-row>a {
    font-size: 12px;
    color: #0049af;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600
}

.fd-product {
    background: #fff;
    border: 1px solid #dce7f4;
    border-radius: 5px;
    overflow: hidden;
    height: 100%
}

.fd-product-img {
    display: block;
    background: #f4f8fc
}

.fd-product-img img {
    width: 100%;
    object-fit: contain
}

.fd-product-body {
    padding: 11px
}

.fd-product-body small {
    font-size: 10px;
    color: #e32232
}

.fd-product h3 {
    font-size: 13px;
    min-height: 34px;
    margin: 5px 0
}

.fd-product a,
.fd-service a,
.fd-project a {
    color: #0646a5;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600
}

.fd-consult {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 12px;
    margin-top: 15px;
    background: #fff;
    border: 1px solid #d8e8fc;
    border-radius: 6px
}

.fd-consult img {
    width: 130px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px
}

.fd-consult strong {
    color: #073a92
}

.fd-consult p {
    font-size: 12px;
    margin: 0
}

.fd-consult .fd-btn-red {
    margin-left: auto;
    white-space: nowrap;
    color: #fff
}

.fd-diagram {
    background: #fff;
    border: 1px solid #cce0fc;
    border-radius: 5px;
    padding: 18px
}

.fd-diagram svg {
    width: 100%;
    height: auto
}

.fd-process {
    padding: 0;
    list-style: none;
    counter-reset: fd
}

.fd-process li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #24446c
}

.fd-process li:before {
    counter-increment: fd;
    content: counter(fd);
    background: #053b9e;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 700
}

.fd-service a,
.fd-project a {
    display: inline-block;
    margin-top: 6px
}

.fd-project img {
    height: 145px
}

.fd-related {
    background: #fff;
    border: 1px solid #dfeafb;
    border-radius: 5px;
    padding: 16px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    min-height: 92px;
    text-decoration: none;
    color: #0940a1;
    font-size: 12px;
    font-weight: 600;
    text-align: center
}

.fd-related i {
    font-size: 24px
}

.fd-faq .accordion-item {
    border: 1px solid #dce7f5;
    margin-bottom: 7px;
    border-radius: 4px;
    overflow: hidden
}

.fd-faq .accordion-button {
    font-size: 13px;
    color: #0c358a;
    font-weight: 600;
    padding: 10px 15px;
    background: #fff;
    box-shadow: none
}

.fd-faq .accordion-body {
    font-size: 12px;
    color: #55667d
}

.fd-inquiry {
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 6px;
    padding: 22px;
    height: 100%
}

.fd-inquiry label {
    font-size: 12px;
    color: #52647d;
    margin-bottom: 3px
}

.fd-inquiry .form-control {
    font-size: 13px;
    border-color: #dce7f5
}

.fd-inquiry .fd-form-note {
    font-size: 11px;
    margin: 12px 0
}

.fd-contact {
    height: 100%;
    background: #072b83;
    color: #fff;
    padding: 23px;
    border-radius: 6px
}

.fd-contact h3 {
    color: #fff;
    font-size: 22px
}

.fd-contact p {
    color: #e7eeff;
    font-size: 14px
}

.fd-contact i {
    color: #fff;
    margin-right: 9px
}

.fd-contact-link {
    display: inline-block;
    background: #12a15a;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none
}

.fd-contact-small {
    font-size: 12px !important;
    margin-top: 20px
}

@media(max-width:991px) {
    .fd-hero-image {
        height: 260px
    }

    .fd-hero-image:before {
        display: none
    }

    .fd-problem-photo {
        max-height: 230px
    }

    .fd-consult {
        flex-wrap: wrap
    }

    .fd-consult .fd-btn-red {
        margin-left: 0
    }
}

@media(max-width:575px) {
    .fd-section {
        padding: 28px 0
    }

    .fd-hero h1 {
        font-size: 27px
    }

    .fd-use img {
        height: 112px
    }

    .fd-product-img img {
        height: 115px
    }

    .fd-title-row {
        align-items: flex-start;
        flex-direction: column
    }

    .fd-consult img {
        width: 90px
    }

    .fd-problem {
        min-height: 170px
    }

    .fd-hero-copy {
        padding: 24px 0
    }
}