/**
 * /about-us/ page-specific styles (auto-linked by the {slug}-page.css
 * convention; serves the EN page and the /sp/ twin — same slug).
 *
 * 2026-07 remake: team-photo hero (images/eko4-team-hero.jpg), the named
 * zoom-box team grid removed (its vendored CSS dropped with it), timeline
 * markup kept from the old builder page with a modern skin below. The
 * counters strip now uses service-page.css's frosted-glass default (the
 * old teal override is gone).
 *
 * Cascade note: service-page.css and service-page-vendored.css are printed
 * in the BODY, after this head-linked sheet — overrides here need either
 * an extra class (.au-hero) or the #Content prefix to win.
 */

/* 1) HERO — the team photo is bright and full of faces, so a softer navy
      veil than service-page.css's default left gradient: text stays
      readable on the left, the team stays visible on the right. */
.page-template-single-landing-page-tpl .service-page-header-img.au-hero::before {
    background: linear-gradient(90deg, rgba(3, 36, 71, 0.90) 0%, rgba(3, 36, 71, 0.66) 32%, rgba(8, 41, 72, 0.30) 58%, rgba(8, 41, 72, 0.16) 100%);
}
.au-hero .au-hero-cta {
    margin-top: 24px;
}
/* The outline button sits on the dark gradient here — make it white. The
   base .ct-btn-outline colors carry !important, so these must too (the
   .au-hero prefix supplies the winning specificity). */
.au-hero .ct-btn-outline {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.85);
}
.au-hero .ct-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

/* 2) TEAM BAND (replaces the named zoom-box grid — no individual faces). */
.au-team {
    background: #f7f9fb;
    padding: 55px 0 50px;
    text-align: center;
}
.au-team h2 {
    margin-bottom: 10px;
}
.au-team-sub {
    color: #616161;
    max-width: 760px;
    margin: 0 auto 34px;
}
.au-team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.au-team-card {
    flex: 1 1 280px;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 34px 28px 30px;
    box-shadow: 0 12px 30px rgba(8, 41, 72, 0.08);
}
.au-team-card i {
    display: block;
    font-size: 34px;
    color: #0272b2;
    margin-bottom: 14px;
}
.au-team-card h3 {
    font-size: 19px;
    line-height: 1.3;
    color: #082948;
    margin-bottom: 10px;
}
.au-team-card p {
    color: #616161;
    margin-bottom: 0;
}
.au-team-join {
    margin-top: 32px;
    color: #616161;
}

/* 3) TIMELINE — same markup as the old builder page, modern skin: one
      solid center line instead of the parent-theme dotted PNGs, brand-blue
      dots, navy years and titles, card-style images. The #Content-prefixed
      rules outrank service-page-vendored.css's stripes/textline PNGs. */
.timeline_items {
    margin: 0 !important;
    position: relative;
    padding-top: 6px;
}
.timeline_items::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: #e3e8ef;
}
.timeline_items li {
    margin: 0 !important;
    list-style: none !important;
    width: 45%;
    padding: 0 0 38px 55%;
    position: relative;
}
.timeline_items li:nth-child(even) {
    padding: 0 55% 38px 0;
}
.timeline_items li h3 {
    font-size: 26px;
    line-height: 32px;
}
.timeline_items li h3::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #0272b2;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0272b2;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    top: 9px;
    margin-left: -8px;
    display: block;
    z-index: 1;
}
.timeline_items li:nth-child(even) h3 {
    text-align: right;
}
.timeline_items li h3 span {
    position: absolute;
    right: 55%;
    top: 2px;
    padding-right: 30px;
    font-size: 28px;
    line-height: 34px;
    color: #082948;
    font-weight: 700;
}
.timeline_items li:nth-child(even) h3 span {
    left: 55%;
    right: auto;
    padding-right: 0;
    padding-left: 30px;
}
#Content .timeline_items li .desc {
    background: none;
}
#Content .timeline_items li .desc::before {
    display: none;
}
.timeline-main-title {
    margin-bottom: 4px;
    color: #082948;
    font-weight: 700;
}
#Content .timeline-row img {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(8, 41, 72, 0.12);
    margin: 12px 10px 0;
}
@media only screen and (max-width: 767px) {
    .timeline_items::before {
        left: 24px;
    }
    .timeline_items li,
    .timeline_items li:nth-child(even) {
        width: auto;
        padding: 0 0 32px 60px;
    }
    .timeline_items li h3,
    .timeline_items li:nth-child(even) h3 {
        text-align: left;
    }
    .timeline_items li h3::before {
        left: 24px;
        margin-left: -5px;
    }
    .timeline_items li h3 span,
    .timeline_items li:nth-child(even) h3 span {
        position: static;
        display: inline-block;
        padding: 0;
        margin-bottom: 6px;
    }
    #Content .timeline_items li .desc,
    #Content .timeline_items li:nth-child(even) .desc {
        text-align: left;
    }
}

/* 4) Awards & media section. */
.ct-awards {
    background: #fff;
    padding: 55px 0 50px;
    text-align: center;
}
.ct-awards h2 {
    margin-bottom: 14px;
}
.ct-awards-sub {
    color: #616161;
    max-width: 880px;
    margin: 0 auto 10px;
}
.ct-awards-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 12px;
    align-items: center;
    justify-content: center;
    margin: 30px auto 10px;
    max-width: 880px; /* 5 cells per row -> the 10 logos wrap 5 + 5 */
}
/* Uniform cells so the wall wraps into even, centered rows (bare max-height
   sizing left a ragged 9 + 2 wrap). #Content prefix: the vendored base has
   `#Content img { height:auto }`, which outranks a bare class selector. */
#Content .ct-awards-logos img {
    flex: 0 0 160px;
    max-width: 160px;
    height: 74px;
    object-fit: contain;
}
.ct-awards h3 {
    margin-top: 40px;
}
#Content .ct-awards-media img {
    flex-basis: 150px;
    max-width: 150px;
    height: 52px;
}
.ct-awards-community {
    margin-top: 35px;
    color: #616161;
}
.ct-awards-community img {
    max-height: 64px;
    display: block;
    margin: 0 auto 12px;
}

/* 5) ORIGIN STORY band (2026-08: Shumen founding + name story). Same card
      language as .au-team, on the alternating grey band. */
.au-story {
    background: #f7f9fb;
    padding: 55px 0 50px;
    text-align: center;
}
.au-story h2 {
    margin-bottom: 10px;
}
.au-story-sub {
    color: #616161;
    max-width: 760px;
    margin: 0 auto 34px;
}
.au-story-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    text-align: left;
}
.au-story-card {
    flex: 1 1 400px;
    max-width: 520px;
    background: #fff;
    border-radius: 12px;
    padding: 30px 28px 26px;
    box-shadow: 0 12px 30px rgba(8, 41, 72, 0.08);
}
.au-story-card i {
    display: block;
    font-size: 30px;
    color: #0272b2;
    margin-bottom: 12px;
}
.au-story-card h3 {
    font-size: 19px;
    line-height: 1.3;
    color: #082948;
    margin-bottom: 10px;
}
.au-story-card p {
    color: #616161;
    margin-bottom: 0;
}

/* 6) AWARD CARDS (2026-08: replace the flat logo wall; each chip echoes
      what the badge image itself says). The .is-dark card carries the
      white-on-transparent Innovation & Excellence badge. #Content prefix
      on imgs: the vendored base's `#Content img` outranks bare classes. */
.au-award-featured {
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: 880px;
    margin: 34px auto 30px;
    background: #f7f9fb;
    border-radius: 12px;
    padding: 30px 34px;
    text-align: left;
}
#Content .au-award-featured img {
    max-height: 260px;
    width: auto;
    flex: 0 0 auto;
}
.au-award-featured-text h3 {
    font-size: 20px;
    line-height: 1.35;
    color: #082948;
    margin: 4px 0 10px;
}
.au-award-featured-text p {
    color: #616161;
    margin-bottom: 0;
}
.au-award-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}
.au-award-card {
    flex: 1 1 300px;
    max-width: 340px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 26px 24px 22px;
}
#Content .au-award-card > img {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    margin-bottom: 14px;
}
.au-award-card h3 {
    font-size: 17px;
    line-height: 1.35;
    color: #082948;
    margin-bottom: 8px;
}
.au-award-card p {
    color: #616161;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}
.au-award-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 10px;
}
.au-award-chip.is-winner {
    background: #0272b2;
    color: #fff;
}
.au-award-chip.is-commended {
    color: #0272b2;
    border: 1px solid #0272b2;
}
.au-award-chip.is-finalist {
    color: #616161;
    border: 1px solid #c9d2dc;
}
.au-award-card.is-dark {
    background: #082948;
    border-color: #082948;
}
.au-award-card.is-dark h3 {
    color: #fff;
}
.au-award-card.is-dark p {
    color: #c7d3e0;
}
.au-award-card.is-dark .au-award-chip.is-winner {
    background: #fff;
    color: #082948;
}
@media only screen and (max-width: 767px) {
    .au-award-featured {
        flex-direction: column;
        text-align: center;
        padding: 26px 22px;
    }
    #Content .au-award-featured img {
        max-height: 200px;
    }
}

/* 7) USP grid (2026-08). Inverse of the story band: white section, grey
      cards, four per row on desktop. */
.au-usp {
    background: #fff;
    padding: 55px 0 50px;
    text-align: center;
}
.au-usp h2 {
    margin-bottom: 10px;
}
.au-usp-sub {
    color: #616161;
    max-width: 760px;
    margin: 0 auto 34px;
}
.au-usp-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    text-align: left;
    margin-bottom: 8px;
}
.au-usp-card {
    flex: 1 1 240px;
    max-width: 262px;
    background: #f7f9fb;
    border-radius: 12px;
    padding: 26px 22px 22px;
}
.au-usp-card i {
    display: block;
    font-size: 28px;
    color: #0272b2;
    margin-bottom: 12px;
}
.au-usp-card h3 {
    font-size: 16px;
    line-height: 1.35;
    color: #082948;
    margin-bottom: 8px;
}
.au-usp-card p {
    color: #616161;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}
.au-usp .ct-cta-row {
    margin-top: 26px;
}
