/* BeeFixPro v20 refinements
   Full-photo knowledge hero and compact two-technician service folio. */

/* ---------------------------------------------------------
   BLOG — one photographic composition with a glass fade
   --------------------------------------------------------- */
body.blog-page .editorial-hero {
    padding: 34px 0 56px;
}

body.blog-page .blog-hero__shell {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    border: 0;
    border-radius: 31px;
    background: #dedbd5;
    box-shadow: 0 26px 66px rgba(31, 30, 27, .15);
}

body.blog-page .blog-hero__shell::before {
    display: none;
}

body.blog-page .blog-hero__media {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: inherit;
    background: #dedbd5;
}

body.blog-page .blog-hero__media::before {
    z-index: 1;
    display: block;
    inset: 0;
    height: auto;
    background:
        linear-gradient(180deg, transparent 0 48%, rgba(255, 255, 255, .05) 58%, rgba(255, 255, 255, .42) 76%, rgba(255, 255, 255, .78) 100%),
        linear-gradient(90deg, rgba(25, 24, 22, .04), transparent 42%);
    content: "";
    pointer-events: none;
}

body.blog-page .blog-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #dedbd5;
}

body.blog-page .editorial-hero__content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-items: end;
    gap: 30px;
    margin: 0;
    padding: 145px 38px 28px;
    border: 0;
    background: linear-gradient(180deg, transparent 0, rgba(255, 255, 255, .08) 18%, rgba(255, 255, 255, .50) 55%, rgba(255, 255, 255, .82) 100%);
    box-shadow: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
}

body.blog-page .blog-hero__intro,
body.blog-page .blog-hero__controls {
    min-width: 0;
}

body.blog-page .blog-hero__intro {
    padding: 21px 23px 20px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .43));
    box-shadow: 0 16px 34px rgba(32, 30, 25, .10), inset 0 1px 0 rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    backdrop-filter: blur(8px) saturate(1.05);
}

body.blog-page .editorial-hero h1 {
    margin: 12px 0 9px;
    font-size: clamp(37px, 4vw, 58px);
    line-height: .88;
    letter-spacing: -.045em;
}

body.blog-page .editorial-hero__lead {
    max-width: 670px;
    margin: 0;
    color: #5f5a51;
    font-size: 15px;
    line-height: 1.55;
}

body.blog-page .blog-hero__controls {
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 251, 242, .48));
    box-shadow: 0 16px 34px rgba(32, 30, 25, .10), inset 0 1px 0 rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    backdrop-filter: blur(8px) saturate(1.05);
}

body.blog-page .blog-hero__control-label {
    margin-bottom: 11px;
}

body.blog-page .blog-hero__controls .editorial-hero__actions {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.blog-page .blog-hero__controls .editorial-button {
    min-height: 54px;
    padding: 13px 17px;
}

body.blog-page .blog-hero__controls .editorial-hero__facts {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.blog-page .blog-hero__controls .editorial-hero__facts li {
    min-width: 0;
    min-height: 48px;
    padding: 9px 10px;
    border-color: rgba(128, 111, 81, .17);
    background: rgba(255, 255, 255, .54);
}

/* ---------------------------------------------------------
   REVIEWS — compact BeeFixPro field-service folio
   --------------------------------------------------------- */
body.reviews-page .reviews-team {
    padding: 56px 0;
    background: #f4f5f4;
}

body.reviews-page .reviews-team > .container {
    width: calc(100% - 30px);
    max-width: 1180px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.reviews-page .reviews-team > .container::before {
    display: none;
}

.team-folio {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid #d9d9d4;
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 5%, rgba(213, 159, 55, .11), transparent 22%),
        linear-gradient(145deg, #ffffff, #f8f7f3 72%);
    box-shadow: 0 24px 58px rgba(31, 31, 28, .09), inset 0 1px 0 #fff;
}

.team-folio::before,
.team-folio::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.team-folio::before {
    top: 0;
    left: 34px;
    width: 128px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #b97609, #ffcb52, rgba(255, 203, 82, 0));
}

.team-folio::after {
    right: -78px;
    bottom: -92px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(175, 115, 18, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(214, 161, 59, .035);
}

.team-folio__intro {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: end;
    gap: 24px;
    padding: 0 2px 20px;
    border-bottom: 1px solid #dfded8;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
}

.team-folio__intro h2 {
    max-width: 610px;
    margin: 8px 0 0;
    color: #25231f;
    font-family: "Barlow", sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.035em;
}

.team-folio__intro > p {
    max-width: 510px;
    margin: 0 0 1px;
    color: #68645d;
    font-size: 14px;
    line-height: 1.6;
}

.team-folio__credentials {
    display: flex;
    grid-column: 1 / -1;
    gap: 8px;
    margin-top: -9px;
}

.team-folio__credentials span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #dedbd3;
    border-radius: 999px;
    color: #4e4941;
    background: rgba(255, 255, 255, .76);
    font-family: "Barlow", sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.team-folio__credentials i {
    color: #aa6900;
}

.team-folio__roster {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 18px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-folio__member {
    position: relative;
    display: grid;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid #dddcd7;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 13px 29px rgba(38, 37, 33, .07);
    grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
}

.team-folio__member::before {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 19px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #eeaa23;
    box-shadow: 0 0 0 5px rgba(238, 170, 35, .12);
    content: "";
}

.team-folio__portrait {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    margin: 0;
    background: #dedede;
}

.team-folio__portrait::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, .15));
    content: "";
    pointer-events: none;
}

.team-folio__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.team-folio__status {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 12px;
    color: #28251f;
    background: rgba(255, 252, 245, .82);
    box-shadow: 0 8px 20px rgba(18, 18, 17, .10);
    font-family: "Barlow", sans-serif;
    font-size: 10px;
    font-weight: 800;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.team-folio__status i {
    color: #a96700;
}

.team-folio__member-copy {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 27px 24px 24px;
}

.team-folio__number {
    position: absolute;
    top: 12px;
    right: 15px;
    color: rgba(48, 44, 37, .07);
    font-family: "Barlow", sans-serif;
    font-size: 45px;
    font-weight: 900;
    line-height: 1;
}

.team-folio__member-copy small {
    color: #986000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.team-folio__member-copy h3 {
    margin: 6px 0 8px;
    color: #25231f;
    font-family: "Barlow", sans-serif;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.team-folio__member-copy p {
    max-width: 235px;
    margin: 0;
    color: #6b675f;
    font-size: 12px;
    line-height: 1.55;
}

.team-folio__standard {
    position: relative;
    z-index: 1;
    display: grid;
    overflow: hidden;
    border: 1px solid #dddbd4;
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(230px, 1.25fr);
}

.team-folio__standard > div {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
}

.team-folio__standard > div + div {
    border-left: 1px solid #e2e0da;
}

.team-folio__standard i {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 11px;
    color: #996000;
    background: #fff0ca;
}

.team-folio__standard span,
.team-folio__standard strong,
.team-folio__standard small {
    display: block;
}

.team-folio__standard strong {
    color: #332f29;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 850;
}

.team-folio__standard small {
    margin-top: 2px;
    color: #777269;
    font-size: 9px;
}

.team-folio__signature {
    position: relative;
    align-items: flex-start !important;
    flex-direction: column;
    justify-content: center;
    padding-left: 24px !important;
    background: linear-gradient(135deg, #fff8e8, #f4f0e7);
}

.team-folio__signature::before {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 12px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(#f2bb3c, #9a6000);
    content: "";
}

.team-folio__signature span {
    color: #a06400;
    font-family: "Barlow", sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .03em;
}

.team-folio__signature small {
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 1199px) {
    body.blog-page .editorial-hero__content {
        gap: 18px;
        padding: 120px 26px 22px;
        grid-template-columns: minmax(0, 1fr) minmax(325px, .78fr);
    }

    body.blog-page .blog-hero__intro,
    body.blog-page .blog-hero__controls {
        padding: 17px;
    }

    body.blog-page .editorial-hero h1 {
        font-size: clamp(34px, 4vw, 49px);
    }

    .team-folio__standard {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-folio__signature {
        display: none !important;
    }
}

@media (max-width: 991px) {
    body.blog-page .editorial-hero {
        padding: 24px 0 48px;
    }

    body.blog-page .blog-hero__shell {
        aspect-ratio: auto;
        overflow: hidden;
    }

    body.blog-page .blog-hero__media {
        position: relative;
        height: auto;
        aspect-ratio: 1672 / 941;
    }

    body.blog-page .blog-hero__media::before {
        background: linear-gradient(180deg, transparent 0 66%, rgba(255, 255, 255, .40) 84%, rgba(255, 255, 255, .72) 100%);
    }

    body.blog-page .editorial-hero__content {
        position: relative;
        margin-top: -70px;
        padding: 78px 22px 22px;
        background: linear-gradient(180deg, transparent 0, rgba(255, 255, 255, .55) 39px, rgba(255, 255, 255, .91) 70px, #fff 112px);
        grid-template-columns: 1fr;
    }

    body.blog-page .blog-hero__intro,
    body.blog-page .blog-hero__controls {
        background: rgba(255, 255, 255, .62);
    }

    .team-folio__intro {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .team-folio__credentials {
        grid-column: auto;
        margin-top: 0;
    }

    .team-folio__member {
        min-height: 212px;
        grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
    }

    .team-folio__portrait {
        min-height: 212px;
    }

    .team-folio__member-copy {
        padding: 22px 18px;
    }
}

@media (max-width: 767px) {
    body.blog-page .editorial-hero {
        padding-top: 16px;
    }

    body.blog-page .blog-hero__shell {
        border-radius: 23px;
    }

    body.blog-page .editorial-hero__content {
        gap: 11px;
        margin-top: -52px;
        padding: 60px 13px 13px;
    }

    body.blog-page .blog-hero__intro,
    body.blog-page .blog-hero__controls {
        padding: 15px;
        border-radius: 17px;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    body.blog-page .editorial-hero h1 {
        margin-top: 8px;
        font-size: clamp(33px, 9.2vw, 44px);
    }

    body.blog-page .blog-hero__controls .editorial-hero__facts {
        display: flex;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    body.blog-page .blog-hero__controls .editorial-hero__facts::-webkit-scrollbar {
        display: none;
    }

    body.blog-page .blog-hero__controls .editorial-hero__facts li {
        min-width: 135px;
    }

    body.reviews-page .reviews-team {
        padding: 42px 0;
    }

    .team-folio {
        padding: 20px;
        border-radius: 24px;
    }

    .team-folio__intro h2 {
        font-size: clamp(33px, 9vw, 43px);
    }

    .team-folio__roster {
        grid-template-columns: 1fr;
    }

    .team-folio__member {
        grid-template-columns: minmax(135px, 38%) minmax(0, 1fr);
    }

    .team-folio__standard {
        grid-template-columns: 1fr;
    }

    .team-folio__standard > div {
        min-height: 58px;
    }

    .team-folio__standard > div + div {
        border-top: 1px solid #e2e0da;
        border-left: 0;
    }
}

@media (max-width: 520px) {
    body.blog-page .blog-hero__controls .editorial-hero__actions {
        grid-template-columns: 1fr;
    }

    .team-folio {
        padding: 16px;
    }

    .team-folio__credentials {
        display: grid;
        align-items: stretch;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-folio__credentials span {
        justify-content: center;
        padding-inline: 7px;
        font-size: 9px;
    }

    .team-folio__roster {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-folio__member {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .team-folio__portrait {
        min-height: 148px;
        height: 148px;
    }

    .team-folio__status {
        right: 7px;
        bottom: 7px;
        left: 7px;
        min-height: 29px;
        padding: 5px;
        font-size: 8px;
    }

    .team-folio__member-copy {
        min-height: 100px;
        justify-content: flex-start;
        padding: 16px 12px 13px;
    }

    .team-folio__member-copy h3 {
        margin: 4px 0 0;
        font-size: 23px;
    }

    .team-folio__member-copy p {
        display: none;
    }

    .team-folio__number {
        top: 8px;
        right: 9px;
        font-size: 33px;
    }

    .team-folio__member-copy small {
        padding-right: 24px;
        font-size: 7px;
        line-height: 1.3;
    }

    .team-folio__standard {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-folio__standard > div {
        min-height: 92px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding: 9px 5px;
        text-align: center;
    }

    .team-folio__standard > div + div {
        border-top: 0;
        border-left: 1px solid #e2e0da;
    }

    .team-folio__standard strong {
        font-size: 10px;
        line-height: 1.2;
    }

    .team-folio__standard small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.blog-page .blog-hero__intro,
    body.blog-page .blog-hero__controls,
    .team-folio__member {
        transition: none;
    }
}
