/*
 * Content architecture pass for Dongguan Huyi Technology.
 * The original Aigocy geometry and motion remain intact; these rules only
 * remove repeated modules from the visitor-facing composition.
 */

/* Keep the home page focused on capability proof: the logo rail, delivery
 * advantages, process, reusable components, stack, and team all belong here.
 * The full service accordion remains on the dedicated capability page. */
.company-home .section-statistic,
.company-home .section-awards,
.company-home .section-testimonials,
.company-home .section-pricing,
.company-home .section-faqs,
.company-home .section-services,
.company-home .section-process {
    display: none !important;
}

/* Four representative solutions belong on the home page; the blockchain
 * asset-insight case remains available in full on the success-case page. */
.company-home .section-featured-works .featured-works-list > div:nth-child(n + 5) {
    display: none !important;
}

.company-home .section-contact .form-contact,
.company-home .section-contact .col-lg-6:last-child {
    display: none !important;
}

.company-home .section-contact .col-lg-6:first-child {
    width: 100%;
}

.company-home .section-contact .col-left {
    max-width: 720px;
}

/* About combines company trust, the technical stack, and team capability. */
.company-about .section-partner,
.company-about .section-statistic,
.company-about .section-awards,
.company-about .section-testimonials,
.company-about .section-faqs,
.company-about .section-contact {
    display: none !important;
}

/* The capability page has its own delivery flow and capability map. */
.company-service .section-services,
.company-service .section-partner,
.company-service .section-pricing,
.company-service .section-faqs,
.company-service .section-contact,
.company-service-single .section-faqs,
.company-service-single .section-contact {
    display: none !important;
}

/* The delivery flow is a static three-card composition, not a carousel. */
.company-service .company-process-grid {
    margin-left: 0;
    overflow: visible;
}

.company-service .company-process-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.company-service .company-process-cards .process-card {
    height: 100%;
}

@media (max-width: 1199px) {
    .company-service .company-process-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .company-service .company-process-cards {
        grid-template-columns: 1fr;
    }
}

/* Work pages should let the work breathe. */
.company-work .section-delay,
.company-work .section-pricing,
.company-work .section-faqs,
.company-work .section-contact,
.company-work-single .section-testimonials {
    display: none !important;
}

/* One article layout is enough for the public site; keep alternate files as backup. */
.company-blog-standard .blog-sidebar,
.company-blog-two-columns .blog-sidebar,
.company-blog-three-columns .blog-sidebar,
.company-blog-single .comment-wrap,
.company-blog-single .post-comment,
.company-blog-single .blog-sidebar {
    display: none !important;
}

.company-blog-standard .section-blog .row > .col-lg-7,
.company-blog-two-columns .section-blog .row > .col-lg-7,
.company-blog-three-columns .section-blog .row > .col-lg-7,
.company-blog-single .section-blog .row > .col-lg-7 {
    width: 100%;
}

.company-blog-single .section-blog .row > .col-lg-4 {
    display: none !important;
}

/* The public article index uses one editorial lead story followed by a
 * two-column knowledge grid. The data attributes are deliberately simple so
 * FastAdmin can later render the same structure from category, summary,
 * cover, reading-time, and detail-url fields. */
.company-editorial-blog {
    background: #f7f7f7;
}

.company-editorial-blog .container {
    width: 100%;
    max-width: 1180px;
}

.company-blog-intro,
.company-blog-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
}

.company-blog-intro {
    margin-bottom: 56px;
}

.company-blog-intro .heading-sub,
.company-blog-list-heading .heading-sub {
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 14px;
    letter-spacing: .08em;
}

.company-blog-intro .heading-title,
.company-blog-list-heading .heading-title {
    margin: 0;
    line-height: 1.2;
}

.company-blog-intro > p,
.company-blog-list-heading > p {
    max-width: 390px;
    margin: 0 0 3px;
    line-height: 1.8;
}

.company-blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    min-height: 470px;
    overflow: hidden;
    border: 1px solid rgba(17, 19, 21, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(17, 19, 21, .06);
}

.company-blog-featured-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.company-blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-blog-featured-label {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 19, 21, .82);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.company-blog-featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 56px;
}

.company-blog-featured-content h2 {
    max-width: 420px;
    margin: 18px 0 18px;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.16;
}

.company-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.company-blog-meta .infor_sub {
    margin: 0;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

.company-blog-read-time {
    color: rgba(17, 19, 21, .48);
    font-size: 13px;
}

.company-blog-summary {
    max-width: 440px;
    margin: 0 0 28px;
    line-height: 1.8;
}

.company-blog-list-heading {
    margin: 112px 0 34px;
}

.company-blog-list-heading .heading-title {
    font-size: 32px;
}

.company-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.company-blog-card {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(0, 1fr);
    min-height: 246px;
    overflow: hidden;
    border: 1px solid rgba(17, 19, 21, .08);
    border-radius: 14px;
    background: #fff;
}

.company-blog-card .blog-image {
    min-height: 246px;
}

.company-blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-blog-card .blog-content {
    justify-content: space-between;
    padding: 26px 24px;
}

.company-blog-card h3 {
    margin: 12px 0 12px;
    font-size: 21px;
    line-height: 1.35;
}

.company-blog-card .infor_name {
    -webkit-line-clamp: 2;
}

.company-blog-card .company-blog-summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
    line-height: 1.65;
}

.company-blog-card .tf-btn-2 {
    align-self: flex-start;
    padding: 10px 16px;
    font-size: 14px;
}

.company-blog-pagination {
    margin-top: 48px;
}

@media (max-width: 1199px) {
    .company-blog-featured-content {
        padding: 42px;
    }

    .company-blog-card {
        grid-template-columns: 1fr;
    }

    .company-blog-card .blog-image {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .company-blog-intro,
    .company-blog-list-heading {
        display: block;
    }

    .company-blog-intro {
        margin-bottom: 34px;
    }

    .company-blog-intro > p,
    .company-blog-list-heading > p {
        margin-top: 18px;
    }

    .company-blog-featured {
        display: block;
        min-height: 0;
    }

    .company-blog-featured-media {
        min-height: 250px;
    }

    .company-blog-featured-label {
        top: 16px;
        left: 16px;
    }

    .company-blog-featured-content {
        padding: 30px 24px 32px;
    }

    .company-blog-featured-content h2 {
        margin: 14px 0;
        font-size: 30px;
    }

    .company-blog-list-heading {
        margin: 70px 0 26px;
    }

    .company-blog-list-heading .heading-title {
        font-size: 28px;
    }

    .company-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .company-blog-card {
        display: grid;
        grid-template-columns: minmax(120px, .72fr) minmax(0, 1fr);
        min-height: 0;
    }

    .company-blog-card .blog-image {
        min-height: 212px;
    }

    .company-blog-card .blog-content {
        padding: 20px 16px;
    }

    .company-blog-card h3 {
        margin: 9px 0;
        font-size: 18px;
    }

    .company-blog-card .company-blog-summary {
        display: none;
    }

    .company-blog-card .tf-btn-2 {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .company-blog-card {
        display: block;
    }

    .company-blog-card .blog-image {
        min-height: 180px;
    }
}

/* Contact is the only page with a full conversion form. */
.company-contact .section-faqs,
.company-contact .section-contact .tf-social-1 {
    display: none !important;
}

.company-contact .wg-map {
    display: flex;
}

.company-contact .company-map-iframe {
    min-height: 420px;
}

@media (max-width: 767px) {
    .company-contact .company-map-iframe {
        min-height: 360px;
    }
}

@media (max-width: 991px) {
    .company-home .section-contact .col-lg-6:first-child {
        width: 100%;
    }
}
