/* Ecostaff company-directory UI layer. */
.ecostaff-company-card-meta,
.ecostaff-company-card-tags,
.ecostaff-company-card-rating {
    margin-top: 8px;
}

.ecostaff-company-card-tags span {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 3px 8px;
    border-radius: 12px;
    background: #f4f6f7;
    font-size: 12px;
    line-height: 18px;
}

.ecostaff-company-card-rating {
    font-size: 13px;
    font-weight: 600;
}

.ecostaff-company-card-rating .star {
    color: #f5b301;
}

.ecostaff-company-dashboard .ecostaff-stat-card {
    height: 100%;
    padding: 22px;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 4px;
}

.ecostaff-company-dashboard .ecostaff-stat-value {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 8px;
}

.ecostaff-company-dashboard .ecostaff-stat-label {
    color: #59636e;
}

.ecostaff-profile-progress {
    height: 10px;
    margin: 14px 0 10px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf0f2;
}

.ecostaff-profile-progress > span {
    display: block;
    height: 100%;
    background: #7bb52f;
}

.ecostaff-profile-checklist {
    margin: 15px 0 0;
    padding-left: 20px;
}

.ecostaff-company-status-badge {
    display: inline-block;
    padding: 4px 9px;
    margin-left: 6px;
    border-radius: 12px;
    background: #eef6e5;
    color: #527c1d;
    font-size: 12px;
    font-weight: 600;
}

.ecostaff-company-facts .value a,
.ecostaff-company-facts .value {
    word-break: break-word;
}

/* Company profile sections added in v1.6.0. */
.ecostaff-company-section {
    margin-bottom: 34px;
}

.ecostaff-section-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ecostaff-company-header-services,
.ecostaff-expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ecostaff-company-header-services {
    margin: 8px 0;
}

.ecostaff-company-header-services span,
.ecostaff-expertise-tags span {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 14px;
    background: #f4f6f7;
    font-size: 12px;
    line-height: 18px;
}

.ecostaff-company-header-meta > div {
    margin: 5px 0;
}

.ecostaff-company-header-rating span:first-child,
.ecostaff-review-stars {
    color: #f5b301;
}

/* v1.8.12 Company expertise redesign: grouped rows instead of a wall of cards. */
.ecostaff-expertise-panels {
    display: grid;
    gap: 16px;
}

.ecostaff-expertise-panel {
    overflow: hidden;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    background: #fff;
}

.ecostaff-expertise-panel.is-primary {
    border-left: 3px solid #7bb52f;
}

.ecostaff-expertise-panel-head {
    padding: 16px 18px 13px;
    border-bottom: 1px solid #edf0f2;
    background: #fbfcfc;
}

.ecostaff-expertise-panel-head h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.ecostaff-expertise-panel-head p {
    margin: 4px 0 0;
    color: #7a838a;
    font-size: 12px;
    line-height: 1.45;
}

.ecostaff-expertise-row {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 15px 18px;
}

.ecostaff-expertise-row + .ecostaff-expertise-row {
    border-top: 1px solid #f0f2f3;
}

.ecostaff-expertise-label {
    padding-top: 3px;
    color: #2d3236;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.ecostaff-company-expertise .ecostaff-expertise-tags {
    gap: 7px;
}

.ecostaff-company-expertise .ecostaff-expertise-tags span {
    padding: 4px 9px;
    border: 1px solid #edf0f2;
    border-radius: 999px;
    background: #f7f8f9;
    color: #5b646b;
    line-height: 18px;
}

.ecostaff-expertise-panel.is-primary .ecostaff-expertise-tags span {
    background: #f5f8f1;
}

.ecostaff-term-toggle {
    appearance: none;
    border: 0;
    padding: 4px 7px;
    background: transparent;
    color: #5f8f20;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
}

.ecostaff-term-toggle:hover,
.ecostaff-term-toggle:focus {
    color: #3f6116;
    text-decoration: underline;
}

.ecostaff-section-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ecostaff-section-heading-row .title-detail-employer {
    margin-bottom: 0;
}

.ecostaff-section-count {
    color: #727272;
    font-size: 12px;
}

.ecostaff-case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ecostaff-case-study-grid.ecostaff-case-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.ecostaff-case-study-card {
    overflow: hidden;
    border: 1px solid #e3e8eb;
    border-radius: 8px;
    background: #fff;
}

.ecostaff-case-study-body {
    padding: 22px;
}

.ecostaff-case-study-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.ecostaff-case-study-summary {
    margin: 0 0 16px;
    color: #4f5963;
}

.ecostaff-case-study-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.ecostaff-case-study-facts span {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f7f9fa;
    font-size: 12px;
    line-height: 1.45;
}

.ecostaff-case-study-facts strong {
    display: block;
    margin-bottom: 2px;
    color: #727272;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.ecostaff-case-study-details {
    margin: 16px 0;
}

.ecostaff-case-study-details p {
    margin: 6px 0;
}

.ecostaff-case-study-story {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.ecostaff-case-study-story > div {
    padding: 14px;
    border: 1px solid #edf0f2;
    border-radius: 6px;
    background: #fff;
}

.ecostaff-case-study-story h4 {
    margin: 0 0 7px;
    font-size: 13px;
}

.ecostaff-case-study-story p {
    margin: 0;
}

.ecostaff-case-study-story .ecostaff-case-study-results {
    border-color: #dcebc9;
    background: #f6faef;
}

.ecostaff-case-study-source {
    margin: 18px 0 0;
}

.ecostaff-case-study-source a {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #7bb52f;
    border-radius: 4px;
    color: #527c1d;
    font-weight: 600;
}

.ecostaff-case-study-source a:hover,
.ecostaff-case-study-source a:focus {
    background: #eef6e5;
    color: #3f6116;
}

.ecostaff-profile-freshness {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 18px;
    color: #727272;
    font-size: 12px;
}

.ecostaff-case-study-image {
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: #f4f6f7;
}

.ecostaff-case-study-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecostaff-reviews-note {
    margin-top: 10px;
    color: #727272;
    font-size: 13px;
}

.reviews-section .review-item h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: #727272;
}

.reviews-section .reviewer-name strong,
.reviews-section .reviewer-name span {
    display: block;
}

.reviews-section .reviewer-name span {
    margin-top: 4px;
    color: #727272;
}

.reviews-section .review-item-more[hidden] {
    display: none !important;
}

@media (max-width: 991px) {
    .ecostaff-case-study-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ecostaff-case-study-story {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ecostaff-case-study-grid,
    .ecostaff-case-study-facts {
        grid-template-columns: 1fr;
    }

    .ecostaff-case-study-body {
        padding: 18px;
    }
}


@media (max-width: 767px) {
    .ecostaff-expertise-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 15px;
    }

    .ecostaff-expertise-panel-head {
        padding: 14px 15px 12px;
    }
}

/* v1.6.6 canonical headquarters selectors */
.ecostaff-location-select {
    width: 100%;
    min-height: 44px;
}
.ecostaff-location-status {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}
.ecostaff-location-warning {
    color: #9a6700;
}

/* v1.8.7 Company Profile Case Study readability */
.ecostaff-company-profile > .ecostaff-case-studies {
    width: 100%;
    margin-top: 6px;
}

.ecostaff-case-study-story p,
.ecostaff-case-study-details,
.ecostaff-case-study-facts span {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

@media (max-width: 1199px) {
    .ecostaff-company-profile > .ecostaff-case-studies .ecostaff-case-study-grid {
        grid-template-columns: 1fr;
    }
}



/* v1.8.13 Company Profile polish and Ecostaff footer. */
#apus-footer,
.apus-footer {
    display: none !important;
}

.ecostaff-company-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 7px 0 2px;
}

.ecostaff-company-trust-row .ecostaff-company-status-badge {
    margin-left: 0;
    border: 1px solid #dcebc9;
    background: #f6faef;
}

.ecostaff-company-trust-row .ecostaff-company-status-badge.is-verified {
    border-color: #cfe4b3;
    color: #466d16;
}

.ecostaff-company-trust-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border: 1px solid #eceff1;
    border-radius: 999px;
    background: #fff;
    color: #59636e;
    font-size: 12px;
    line-height: 18px;
}

.ecostaff-company-trust-rating > span:first-child {
    color: #f5b301;
}

.ecostaff-expertise-panels {
    gap: 12px;
}

.ecostaff-expertise-panel-head {
    padding: 14px 16px 11px;
}

.ecostaff-expertise-row {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 15px;
    padding: 12px 16px;
}

.ecostaff-term-toggle {
    padding: 3px 9px;
    border: 1px solid #dce8cf;
    border-radius: 999px;
    background: #f7faF3;
    text-decoration: none;
}

.ecostaff-term-toggle:hover,
.ecostaff-term-toggle:focus {
    border-color: #bcd599;
    background: #eef6e5;
    text-decoration: none;
}

.ecostaff-company-profile .ecostaff-company-facts .list {
    margin: 0;
    padding: 0;
}

.ecostaff-company-profile .ecostaff-company-facts .list > li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px solid #eef1f2;
}

.ecostaff-company-profile .ecostaff-company-facts .list > li:last-child {
    border-bottom: 0;
}

.ecostaff-company-profile .ecostaff-company-facts .icon {
    flex: 0 0 32px;
    width: 32px;
}

.ecostaff-company-profile .ecostaff-company-facts .details {
    min-width: 0;
}

.ecostaff-company-profile .ecostaff-company-facts .text {
    margin-bottom: 3px;
    color: #7a838a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ecostaff-company-profile .ecostaff-company-facts .value {
    color: #30363b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.ecostaff-case-study-grid.ecostaff-case-count-1 {
    width: 100%;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}

.ecostaff-case-study-grid.ecostaff-case-count-1 .ecostaff-case-study-image {
    aspect-ratio: 16 / 6;
}

.ecostaff-profile-freshness-final {
    padding-top: 2px;
    margin-top: 16px;
    margin-bottom: 30px;
}

.ecostaff-site-footer {
    margin-top: 0;
    background: #222426;
    color: #b7bdc2;
}

.ecostaff-footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(150px, 1fr));
    gap: 48px;
    padding: 50px 0 38px;
}

.ecostaff-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: .01em;
}

.ecostaff-footer-logo:hover,
.ecostaff-footer-logo:focus {
    color: #fff;
}

.ecostaff-footer-mark {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 7px solid #7bb52f;
    border-radius: 50%;
}

.ecostaff-footer-mark:after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: -4px;
    width: 11px;
    height: 7px;
    border-radius: 8px;
    background: #7bb52f;
    transform: rotate(-23deg);
}

.ecostaff-footer-brand p {
    max-width: 420px;
    margin: 18px 0 0;
    color: #aab1b6;
    font-size: 14px;
    line-height: 1.75;
}

.ecostaff-footer-column h2 {
    margin: 2px 0 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.ecostaff-footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ecostaff-footer-column li + li {
    margin-top: 9px;
}

.ecostaff-footer-column a,
.ecostaff-footer-legal a {
    color: #b7bdc2;
    font-size: 13px;
}

.ecostaff-footer-column a:hover,
.ecostaff-footer-column a:focus,
.ecostaff-footer-legal a:hover,
.ecostaff-footer-legal a:focus {
    color: #fff;
}

.ecostaff-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 0 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #8f979d;
    font-size: 12px;
}

.ecostaff-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 991px) {
    .ecostaff-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 42px;
    }
}

@media (max-width: 767px) {
    .ecostaff-company-trust-row {
        margin-top: 9px;
    }

    .ecostaff-expertise-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 12px 14px;
    }

    .ecostaff-case-study-grid.ecostaff-case-count-1 {
        max-width: none;
    }

    .ecostaff-case-study-grid.ecostaff-case-count-1 .ecostaff-case-study-image {
        aspect-ratio: 16 / 8;
    }

    .ecostaff-footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0 30px;
    }

    .ecostaff-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* v1.8.14 Profile strength, working expertise toggles, QA review preview, brand-aligned footer. */
.ecostaff-company-profile .ecostaff-company-header {
    margin: 34px 0 40px;
    padding: 28px 30px;
    border: 1px solid #e5e9ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(32, 38, 43, .07);
}

.ecostaff-company-profile .ecostaff-company-header .employer-thumbnail {
    margin-right: 26px;
}

.ecostaff-company-profile .ecostaff-company-header .inner-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 148px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #edf0f2;
    border-radius: 10px;
    background: #fff;
}

.ecostaff-company-profile .ecostaff-company-header .inner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ecostaff-company-profile .ecostaff-company-header .candidate-title {
    margin-bottom: 7px;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 600;
}

.ecostaff-company-profile .ecostaff-company-header-services {
    margin: 11px 0 10px;
}

.ecostaff-company-profile .ecostaff-company-header-services span {
    border: 1px solid #edf0f2;
    background: #f7f8f9;
    color: #59636e;
}

.ecostaff-company-profile .ecostaff-company-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 7px;
}

.ecostaff-company-profile .ecostaff-company-header-meta > div {
    margin: 0;
}

.ecostaff-company-profile .candidate-detail-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 245px;
    margin-left: auto;
}

.ecostaff-company-profile .candidate-detail-buttons .btn {
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.ecostaff-company-profile .candidate-detail-buttons .ecostaff-visit-site {
    border-color: #7bb52f;
    background: #7bb52f;
    color: #fff;
}

.ecostaff-company-profile .candidate-detail-buttons .ecostaff-visit-site:hover,
.ecostaff-company-profile .candidate-detail-buttons .ecostaff-visit-site:focus {
    border-color: #679a27;
    background: #679a27;
    color: #fff;
}

.ecostaff-company-profile .candidate-detail-buttons .ecostaff-review-cta {
    border: 1px solid #7bb52f;
    background: #fff;
    color: #527c1d;
}

.ecostaff-company-profile .candidate-detail-buttons .ecostaff-review-cta:hover,
.ecostaff-company-profile .candidate-detail-buttons .ecostaff-review-cta:focus {
    background: #f4f8ef;
    color: #3f6116;
}

.ecostaff-company-status-badge.is-researched {
    border-color: #e6eaed;
    background: #f7f8f9;
    color: #667078;
}

.ecostaff-company-trust-rating {
    text-decoration: none;
}

.ecostaff-company-trust-rating:hover,
.ecostaff-company-trust-rating:focus {
    border-color: #dbe6cf;
    color: #404a51;
    text-decoration: none;
}

.ecostaff-rating-stars,
.ecostaff-reviews-stars {
    color: #f5b301;
    letter-spacing: 1px;
}

.ecostaff-qa-preview-label {
    margin-left: 4px;
    padding-left: 7px;
    border-left: 1px solid #e7eaec;
    color: #8a6d1d;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.ecostaff-company-expertise .ecostaff-term-overflow[hidden] {
    display: none !important;
}

/* Reviews are visually treated as first-class profile content instead of legacy job-board rows. */
.ecostaff-company-profile .reviews-section {
    margin-top: 38px;
}

.ecostaff-reviews-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.ecostaff-reviews-title-row .title-detail-employer {
    margin-bottom: 3px;
}

.ecostaff-reviews-subtitle {
    margin: 0;
    color: #7a838a;
    font-size: 13px;
}

.ecostaff-reviews-score {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
    padding: 12px 15px;
    border: 1px solid #e5e9ec;
    border-radius: 8px;
    background: #fff;
}

.ecostaff-reviews-score-number {
    color: #22272b;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.ecostaff-reviews-count {
    margin-top: 2px;
    color: #7a838a;
    font-size: 11px;
}

.ecostaff-qa-preview-notice {
    margin: 0 0 16px;
    padding: 10px 13px;
    border: 1px solid #ead9a7;
    border-radius: 6px;
    background: #fff9e8;
    color: #7b6424;
    font-size: 12px;
}

.ecostaff-company-profile .reviews-section .reviews-list {
    padding: 0;
}

.ecostaff-company-profile .reviews-section .review-item {
    margin: 0 0 16px;
    padding: 24px;
    border: 1px solid #e5e9ec;
    border-radius: 9px;
    background: #fff;
}

.ecostaff-company-profile .reviews-section .review-item.is-qa-review {
    border-left: 3px solid #d4a72c;
}

.ecostaff-company-profile .reviews-section .review-item,
.ecostaff-company-profile .reviews-section .review-item * {
    font-family: inherit;
}

.ecostaff-company-profile .reviews-section .reviewer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.ecostaff-company-profile .reviews-section .reviewer-name {
    margin-left: 14px;
}

.ecostaff-company-profile .reviews-section .rating-summ strong {
    font-size: 22px;
}

.ecostaff-company-profile .reviews-section .rating-list {
    margin-top: 22px;
}

.ecostaff-qa-review-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 6px;
    border-radius: 999px;
    background: #fff3cd;
    color: #80671b;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Footer uses the live Ecostaff logo and the same dark + green visual language as the site header. */
.ecostaff-site-footer {
    border-top: 3px solid #7bb52f;
    background: #252525;
}

.ecostaff-footer-logo {
    min-height: 40px;
}

.ecostaff-footer-logo-target {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

.ecostaff-footer-logo-image {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

.ecostaff-footer-logo-fallback {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.ecostaff-footer-main {
    padding-top: 44px;
}

.ecostaff-footer-column h2 {
    position: relative;
    padding-bottom: 9px;
}

.ecostaff-footer-column h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: #7bb52f;
}

.ecostaff-footer-column a:hover,
.ecostaff-footer-column a:focus,
.ecostaff-footer-legal a:hover,
.ecostaff-footer-legal a:focus {
    color: #98d901;
}

@media (max-width: 991px) {
    .ecostaff-company-profile .ecostaff-company-header .flex-middle {
        align-items: flex-start;
    }

    .ecostaff-company-profile .candidate-detail-buttons {
        max-width: none;
        margin-top: 18px;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .ecostaff-company-profile .ecostaff-company-header {
        margin-top: 20px;
        padding: 20px;
    }

    .ecostaff-company-profile .ecostaff-company-header .flex-middle {
        display: block;
    }

    .ecostaff-company-profile .ecostaff-company-header .employer-thumbnail {
        margin: 0 0 18px;
    }

    .ecostaff-company-profile .ecostaff-company-header .inner-image {
        width: 112px;
        height: 112px;
    }

    .ecostaff-company-profile .ecostaff-company-header-meta {
        display: block;
    }

    .ecostaff-company-profile .ecostaff-company-header-meta > div {
        margin: 6px 0;
    }

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

    .ecostaff-reviews-score {
        width: 100%;
    }

    .ecostaff-company-profile .reviews-section .review-item {
        padding: 18px;
    }
}


/* v1.8.15 Final Company Profile review layout and hero rating polish. */
.ecostaff-company-rating-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 8px 0 2px;
    color: #4f5961;
    font-size: 13px;
    text-decoration: none;
}

.ecostaff-company-rating-line:hover,
.ecostaff-company-rating-line:focus {
    color: #3f6116;
    text-decoration: none;
}

.ecostaff-company-rating-line strong {
    color: #30363b;
    font-size: 15px;
}

.ecostaff-company-rating-separator {
    color: #b5bbc0;
}

.ecostaff-star-meter {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: auto;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
}

.ecostaff-star-meter.is-small {
    font-size: 15px;
}

.ecostaff-star-segment {
    display: inline-block;
    color: transparent;
    background: linear-gradient(90deg, #f5b301 0 var(--ecostaff-star-fill), #d9dde0 var(--ecostaff-star-fill) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecostaff-reviews-fullwidth {
    width: 100%;
    margin-top: 46px;
}

.ecostaff-reviews-fullwidth .ecostaff-reviews-title-row {
    margin-bottom: 14px;
}

.ecostaff-reviews-summary-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 520px);
    gap: 34px;
    align-items: center;
    margin: 0 0 22px;
    padding: 20px 22px;
    border: 1px solid #e5e9ec;
    border-radius: 10px;
    background: #fff;
}

.ecostaff-reviews-overall-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    align-items: center;
}

.ecostaff-reviews-overall-number {
    grid-row: 1 / span 2;
    color: #22272b;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.ecostaff-reviews-overall-count {
    color: #7a838a;
    font-size: 12px;
}

.ecostaff-reviews-distribution {
    display: grid;
    gap: 7px;
}

.ecostaff-rating-distribution-row {
    display: grid;
    grid-template-columns: 32px minmax(120px, 1fr) 44px;
    gap: 9px;
    align-items: center;
    color: #69737b;
    font-size: 12px;
}

.ecostaff-rating-distribution-track {
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf0f2;
}

.ecostaff-rating-distribution-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f5b301;
}

.ecostaff-rating-distribution-value {
    text-align: right;
}

.ecostaff-review-list-item[hidden],
.ecostaff-rating-details[hidden] {
    display: none !important;
}

.ecostaff-company-profile .reviews-section .ecostaff-review-card {
    margin: 0 0 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e9ec;
    border-radius: 10px;
    background: #fff;
}

.ecostaff-company-profile .reviews-section .ecostaff-review-card.is-qa-review {
    border-left: 3px solid #d4a72c;
}

.ecostaff-review-card-main {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 225px;
    min-height: 235px;
}

.ecostaff-review-reviewer,
.ecostaff-review-project,
.ecostaff-review-score-panel {
    padding: 22px 24px;
}

.ecostaff-review-reviewer,
.ecostaff-review-project {
    border-right: 1px solid #edf0f2;
}

.ecostaff-review-eyebrow {
    margin-bottom: 12px;
    color: #727b82;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
}

.ecostaff-review-person {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ecostaff-company-profile .reviews-section .ecostaff-review-person .reviewer-photo {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
}

.ecostaff-company-profile .reviews-section .ecostaff-review-person .reviewer-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecostaff-company-profile .reviews-section .ecostaff-review-person .reviewer-name {
    margin-left: 13px;
}

.ecostaff-review-meta-list,
.ecostaff-review-project-facts {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ecostaff-review-meta-list li,
.ecostaff-review-project-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #68737b;
    font-size: 13px;
}

.ecostaff-review-meta-list img,
.ecostaff-review-project-facts img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ecostaff-review-project-title {
    margin: 0 0 8px !important;
    color: #22272b !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
}

.ecostaff-review-project-type {
    margin-bottom: 12px;
    color: #69737b;
    font-size: 12px;
}

.ecostaff-review-project-facts {
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 8px 18px;
    margin-bottom: 18px;
}

.ecostaff-review-feedback {
    margin-top: 18px;
}

.ecostaff-review-feedback .ecostaff-review-eyebrow {
    margin-bottom: 6px;
}

.ecostaff-review-feedback p,
.ecostaff-review-score-copy {
    margin: 0;
    color: #5d676f;
    font-size: 14px;
    line-height: 1.55;
}

.ecostaff-review-score-panel {
    background: #fbfcfc;
}

.ecostaff-review-score-value {
    margin-bottom: 3px;
    color: #3e474e;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.ecostaff-review-score-value span {
    color: #7b858c;
    font-size: 16px;
    font-weight: 500;
}

.ecostaff-review-score-copy {
    margin-top: 14px;
}

.ecostaff-review-date {
    margin-top: 9px;
    color: #8a9298;
    font-size: 11px;
}

.ecostaff-review-rating-toggle,
.ecostaff-review-text-action,
.ecostaff-reviews-list-toggle {
    border: 0;
    background: transparent;
    color: #527c1d;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.ecostaff-review-rating-toggle,
.ecostaff-review-text-action {
    display: inline-flex;
    margin-top: 14px;
    padding: 0;
    font-size: 12px;
}

.ecostaff-review-rating-toggle:hover,
.ecostaff-review-rating-toggle:focus,
.ecostaff-review-text-action:hover,
.ecostaff-review-text-action:focus {
    color: #3f6116;
    text-decoration: underline;
}

.ecostaff-rating-details {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #e8ecee;
}

.ecostaff-rating-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667078;
    font-size: 12px;
}

.ecostaff-rating-detail-row strong {
    color: #353c42;
}

.ecostaff-company-profile .reviews-section .review-item-more {
    padding: 22px 24px;
    border-top: 1px solid #edf0f2;
    background: #fcfdfd;
}

.ecostaff-company-profile .reviews-section .review-item-more h3 {
    margin-top: 0;
    color: #30363b;
    font-size: 15px;
    text-transform: none;
}

.ecostaff-company-profile .reviews-section .review-item-more h4 {
    color: #59636e;
}

.ecostaff-reviews-list-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.ecostaff-reviews-list-toggle {
    min-width: 190px;
    padding: 10px 18px;
    border: 1px solid #7bb52f;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
}

.ecostaff-reviews-list-toggle:hover,
.ecostaff-reviews-list-toggle:focus {
    background: #f4f8ef;
    color: #3f6116;
}

@media (max-width: 991px) {
    .ecostaff-review-card-main {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .ecostaff-review-score-panel {
        grid-column: 1 / -1;
        border-top: 1px solid #edf0f2;
    }

    .ecostaff-review-reviewer {
        border-right: 1px solid #edf0f2;
    }

    .ecostaff-review-project {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .ecostaff-reviews-summary-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ecostaff-review-card-main {
        grid-template-columns: 1fr;
    }

    .ecostaff-review-reviewer,
    .ecostaff-review-project,
    .ecostaff-review-score-panel {
        padding: 18px;
        border-right: 0;
    }

    .ecostaff-review-reviewer,
    .ecostaff-review-project {
        border-bottom: 1px solid #edf0f2;
    }

    .ecostaff-review-project-facts {
        grid-template-columns: 1fr;
    }
}

/* v1.9.21 - Company logo fallback. Missing logos never hide an otherwise directory-ready Company. */
.ecostaff-company-logo-initial {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: #f4f8ee;
    color: #5d8d22;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.ecostaff-company-profile .ecostaff-company-header .ecostaff-company-logo-initial.is-profile {
    font-size: 54px;
}

/* v1.9.27 claim verification UX */
.ecostaff-claim-public-notice {
    margin: 18px 0 0;
    padding: 12px 16px;
    border: 1px solid #dbe5cf;
    border-left: 4px solid #7bb52f;
    border-radius: 8px;
    background: #f8fbf4;
    color: #26311d;
}
.ecostaff-claim-public-notice.is-warning { border-left-color: #c98a00; background: #fff9e8; }
.ecostaff-claim-public-notice.is-error { border-left-color: #b32d2e; background: #fff4f4; }
.ecostaff-claim-public-notice.is-info { border-left-color: #2271b1; background: #f2f8fc; }
.ecostaff-claim-cta.disabled { opacity: .7; cursor: default; pointer-events: none; }
.ecostaff-claim-pending-note a { text-decoration: underline; }
