/**
 * /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;
}
