/* About Us — Eduma-style inner page layout */

.page-about-us #main-content.site-content.about-us-wrap {
    padding: 0 0 72px;
    font-family: "Open Sans", Roboto, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    background: #fff;
}

.page-about-us .about-us-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Active nav: About Us parent */
.page-about-us .nav-desktop > li.has-submenu > a[aria-current="page"],
.page-about-us .nav-mobile > li.has-submenu > a[aria-current="page"] {
    color: var(--yellow-dark);
}

/* WP thim-widget-heading: empty title + short line, then gallery image */
.page-about-us .about-us-heading-decoration {
    padding: 28px 0 20px;
    text-align: center;
}
.page-about-us .about-us-heading-decoration__line {
    display: inline-block;
    width: 48px;
    height: 2px;
    background: #333;
    vertical-align: middle;
}

/* Same short rule above hero image — tighter spacing before Join Our Team */
.page-about-us .about-us-heading-decoration--team {
    margin-top: -52px;
    padding: 0 0 30px;
    text-align: center;
}

.page-about-us .about-hero-photo {
    margin: 0 0 0;
    padding: 0;
    text-align: center;
}
.page-about-us .about-hero-photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    vertical-align: middle;
}

/* Quote block */
.page-about-us .about-quote {
    margin: 0;
    padding: 40px 20px 36px;
    text-align: center;
}
.page-about-us .about-quote p {
    margin: 0 auto 16px;
    max-width: 720px;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: #333;
}
.page-about-us .about-quote cite {
    display: block;
    font-family: "Open Sans", Roboto, system-ui, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}
.page-about-us .about-quote .about-quote-author {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #777;
}

.page-about-us .about-rule {
    margin: 0 0 40px;
    border: none;
    border-top: 1px solid #e6e6e6;
}

/* Video section — live WP uses centered orange title + ~80% width embed */
.page-about-us .about-video-heading {
    margin: 0 0 20px;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    color: #ff6600;
    text-align: center;
}

/* Same YouTube thumbnail + pill CTA pattern as video-courses.html — widths via video-courses.css */
.page-about-us .about-daniel-video {
    max-width: 80%;
    margin: 0 auto 44px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .page-about-us .about-daniel-video {
        max-width: 100%;
    }
}
.page-about-us .about-daniel-video .video-btn-yt {
    margin: 22px 0 0;
}

/* Who / What — two columns */
.page-about-us .about-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
    align-items: start;
    margin-top: 48px;
    margin-bottom: 0;
}

/* Parallax band between copy blocks and team (WP vc_parallax) */
.page-about-us .about-parallax-band {
    margin: 48px -20px 80px;
    min-height: 460px;
    background-color: #6b7a88;
    background-image: url("wp-content/uploads/2015/11/bg-parallax-about-us.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media (max-width: 900px) {
    .page-about-us .about-parallax-band {
        margin-left: 0;
        margin-right: 0;
        min-height: 280px;
        background-attachment: scroll;
    }
}
@media (max-width: 767px) {
    .page-about-us .about-two-cols {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Who / What — yellow accent bar + uppercase title; body left-aligned with bar */
.page-about-us .about-col-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.page-about-us .about-col-head__accent {
    width: 3px;
    flex-shrink: 0;
    border-radius: 1px;
    background: var(--yellow);
    /* Match title font metrics so em scales; a bit taller than one line */
    font-size: clamp(14px, 1.65vw, 17px);
    min-height: calc(1.35em + 12px);
}
.page-about-us .about-col-head__title {
    margin: 0;
    flex: 1;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(14px, 1.65vw, 17px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.35;
    color: #222;
}
.page-about-us .about-col-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #555;
}

/* Join Our Team */
.page-about-us .about-team-section {
    padding-top: 16px;
}
.page-about-us .about-team-heading {
    margin: 0 0 56px;
    text-align: center;
}
.page-about-us .about-team-heading-btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 14px 40px;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(16px, 2.1vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    background: var(--yellow);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-about-us .about-team-heading-btn:hover {
    background: var(--yellow-dark);
    color: #222;
}
.page-about-us .about-team-heading-btn:focus-visible {
    outline: 2px solid var(--yellow-dark);
    outline-offset: 3px;
}

.page-about-us .about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .page-about-us .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}
@media (max-width: 500px) {
    .page-about-us .about-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Team cards — reference layout: full-bleed photo, padded text, tri-color rule */
.page-about-us .about-team-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    text-align: left;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}
.page-about-us .about-team-card__media {
    margin: 30px 0 0;
    padding: 0;
    line-height: 0;
    background: #fff;
}
.page-about-us .about-team-card__media img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    vertical-align: middle;
    object-fit: cover;
    aspect-ratio: 270 / 275;
}
.page-about-us .about-team-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 32px 44px;
    min-height: 0;
}
.page-about-us .about-team-card h4 {
    margin: 0 0 6px;
    font-family: Roboto, "Open Sans", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.page-about-us .about-team-card h4 a {
    color: #333;
    text-decoration: none;
}

.page-about-us .about-team-card h4 a:visited {
    color: #333;
}

.page-about-us .about-team-card h4 a:hover {
    color: var(--yellow);
}

.page-about-us .about-team-card h4 a:focus-visible {
    outline: 2px solid var(--yellow-dark);
    outline-offset: 2px;
}
.page-about-us .about-team-card .about-team-role {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 12px;
    line-height: 1.4;
}
.page-about-us .about-team-card__rule {
    flex-shrink: 0;
    height: 2px;
    margin: 0 0 20px;
    border-radius: 1px;
    background: linear-gradient(
        to right,
        var(--yellow) 0%,
        var(--yellow) 33%,
        #2ecc71 33%,
        #2ecc71 66%,
        #c0392b 66%,
        #c0392b 100%
    );
}
.page-about-us .about-team-card__bio {
    margin: 0;
    font-family: Roboto, "Open Sans", system-ui, sans-serif;
    font-size: 0.85rem;
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: #999;
}
