﻿
/* =========================================================
   TAJ ABOUT + TEAM MOBILE V1
   Mobile-only redesign for:
   - /about
   - legacy team listing (if routed)
   - /team/<member>

   No copy changes. No desktop changes. No image crop/zoom.
========================================================= */

@media (max-width: 767px) {

  :root {
    --taj-at-gutter: 18px;
    --taj-at-navy: #003a5b;
    --taj-at-deep: #073650;
    --taj-at-orange: #f58220;
    --taj-at-ink: #17384e;
    --taj-at-muted: #667884;
    --taj-at-line: rgba(0,58,91,.11);
    --taj-at-soft: #eef4f7;
    --taj-at-shadow: 0 16px 38px rgba(9,48,70,.09);
  }

  /* ========================
     Shared breadcrumb
  ======================== */
  html.taj-about-mobile-v1 .taj-breadcrumb-unified,
  html.taj-member-mobile-v1 .taj-breadcrumb-unified,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-unified {
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 20px 44px rgba(0,36,55,.16);
  }

  html.taj-about-mobile-v1 .taj-breadcrumb-photo-strip,
  html.taj-member-mobile-v1 .taj-breadcrumb-photo-strip,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-photo-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0b4565;
  }

  html.taj-about-mobile-v1 .taj-breadcrumb-photo-strip img,
  html.taj-member-mobile-v1 .taj-breadcrumb-photo-strip img,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-photo-strip img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    scale: 1 !important;
  }

  html.taj-about-mobile-v1 .taj-breadcrumb-caption,
  html.taj-member-mobile-v1 .taj-breadcrumb-caption,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-caption {
    padding: 46px var(--taj-at-gutter) 18px !important;
  }

  html.taj-about-mobile-v1 .taj-breadcrumb-caption .section-title,
  html.taj-member-mobile-v1 .taj-breadcrumb-caption .section-title,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-caption .section-title {
    margin-bottom: 8px !important;
    font-size: clamp(30px,8.6vw,38px) !important;
    line-height: 1.38 !important;
    text-wrap: balance;
  }

  html.taj-about-mobile-v1 .taj-breadcrumb-trail li,
  html.taj-about-mobile-v1 .taj-breadcrumb-trail a,
  html.taj-member-mobile-v1 .taj-breadcrumb-trail li,
  html.taj-member-mobile-v1 .taj-breadcrumb-trail a,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-trail li,
  html.taj-leaders-mobile-v1 .taj-breadcrumb-trail a {
    font-size: 12.5px !important;
  }

  html.taj-about-team-motion .taj-breadcrumb-photo-strip {
    opacity: .72;
    filter: blur(8px) saturate(.84);
    transition:
      opacity .9s cubic-bezier(.18,.72,.2,1),
      filter 1s cubic-bezier(.18,.72,.2,1);
  }

  html.taj-about-team-motion.taj-about-team-hero-live .taj-breadcrumb-photo-strip {
    opacity: 1;
    filter: blur(0) saturate(1.035);
  }

  .taj-at-hero-sheen,
  .taj-at-media-sheen,
  .taj-at-media-glow {
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
  }

  .taj-at-hero-sheen,
  .taj-at-media-sheen {
    inset: 0;
    z-index: 8;
    opacity: 0;
    translate: 125% 0;
    background:
      linear-gradient(
        112deg,
        transparent 16%,
        rgba(255,255,255,0) 33%,
        rgba(255,255,255,.40) 49%,
        rgba(245,130,32,.12) 56%,
        rgba(255,255,255,0) 69%,
        transparent 84%
      );
  }

  html.taj-about-team-motion.taj-about-team-hero-live .taj-at-hero-sheen {
    animation: tajAtHeroSheen 1.45s cubic-bezier(.18,.72,.2,1) .18s 1 both;
  }

  /* ========================
     Shared live media
  ======================== */
  html.taj-about-team-motion [data-taj-at-media] {
    position: relative !important;
    isolation: isolate !important;
    opacity: .46 !important;
    translate: 0 18px !important;
    filter: saturate(.82) contrast(.97) !important;
    transition:
      opacity .70s cubic-bezier(.18,.72,.2,1),
      translate .76s cubic-bezier(.18,.72,.2,1),
      filter .88s ease,
      box-shadow .48s ease !important;
  }

  html.taj-about-team-motion [data-taj-at-media].is-inview {
    opacity: 1 !important;
    translate: 0 0 !important;
    filter: saturate(1) contrast(1) !important;
    box-shadow:
      0 18px 40px rgba(0,42,66,.13),
      inset 0 1px 0 rgba(255,255,255,.48) !important;
  }

  html.taj-about-team-motion [data-taj-at-media] > img {
    opacity: .70 !important;
    filter: blur(7px) saturate(.84) contrast(.97) !important;
    transform: none !important;
    scale: 1 !important;
    transition:
      opacity .72s cubic-bezier(.18,.72,.2,1),
      filter .88s cubic-bezier(.18,.72,.2,1) !important;
  }

  html.taj-about-team-motion [data-taj-at-media].is-inview > img {
    opacity: 1 !important;
    filter: blur(0) saturate(1.035) contrast(1.015) !important;
    animation: tajAtImageTone 5.8s ease-in-out 1s infinite !important;
  }

  .taj-at-media-glow {
    z-index: 7;
    top: 8%;
    right: -34%;
    width: 46%;
    height: 82%;
    opacity: 0;
    filter: blur(18px);
    background:
      radial-gradient(circle,
        rgba(245,130,32,.24) 0%,
        rgba(245,130,32,.08) 40%,
        transparent 72%);
  }

  html.taj-about-team-motion [data-taj-at-media].is-inview > .taj-at-media-glow {
    animation: tajAtMediaGlow 6s ease-in-out .9s infinite;
  }

  html.taj-about-team-motion [data-taj-at-media].is-inview > .taj-at-media-sheen {
    animation: tajAtMediaSheen 1.3s cubic-bezier(.18,.72,.2,1) .12s 1 both;
  }

  html.taj-about-team-motion [data-taj-at-block] {
    opacity: 0;
    translate: 0 18px;
    transition:
      opacity .62s cubic-bezier(.18,.72,.2,1),
      translate .70s cubic-bezier(.18,.72,.2,1),
      box-shadow .35s ease;
    transition-delay: var(--taj-at-delay,0ms);
  }

  html.taj-about-team-motion [data-taj-at-block].is-inview {
    opacity: 1;
    translate: 0 0;
  }

  html.taj-about-team-motion .taj-at-pressed {
    translate: 0 2px !important;
    filter: brightness(.97) !important;
  }

  /* ========================
     ABOUT page
  ======================== */
  html.taj-about-mobile-v1 .about-area.style-one.ptb-120 {
    padding-top: 62px !important;
    padding-bottom: 68px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .taj-heading {
    margin-bottom: 28px !important;
    font-size: clamp(23px,6.7vw,29px) !important;
    line-height: 1.72 !important;
    text-wrap: balance;
  }

  html.taj-about-mobile-v1 .about-area.style-one .row.align-items-center {
    gap: 22px;
  }

  html.taj-about-mobile-v1 .taj-clean-media-frame {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  html.taj-about-mobile-v1 .about-img-wrap {
    width: 88%;
    margin-inline: auto;
    border-radius: 25px !important;
    overflow: hidden !important;
    background: #f5f8fa;
    box-shadow: var(--taj-at-shadow);
  }

  html.taj-about-mobile-v1 .about-img-wrap img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  html.taj-about-mobile-v1 .about-content {
    padding: 0 !important;
  }

  html.taj-about-mobile-v1 .about-content > h3 {
    margin-bottom: 18px !important;
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: var(--taj-at-ink);
  }

  html.taj-about-mobile-v1 .taj-about-service-tags {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
    margin: 20px 0 20px !important;
  }

  html.taj-about-mobile-v1 .taj-about-service-tags li {
    min-height: 82px;
    margin: 0 !important;
    padding: 14px 12px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--taj-at-line);
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#f7fafb);
    box-shadow: 0 10px 24px rgba(13,52,72,.055);
    font-size: 12.5px !important;
    line-height: 1.65;
  }

  html.taj-about-mobile-v1 .taj-about-service-tags li i {
    color: var(--taj-at-orange);
    font-size: 21px;
  }

  html.taj-about-mobile-v1 .taj-about-service-cta {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    padding-inline: 16px !important;
    border: 1px solid rgba(0,58,91,.13);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,58,91,.07);
  }

  /* Mission */
  html.taj-about-mobile-v1 .about-area.style-two.pb-90 {
    padding-top: 66px !important;
    padding-bottom: 66px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two > .container > .text-center {
    margin-bottom: 6px;
  }

  html.taj-about-mobile-v1 .about-area.style-two .section-title {
    margin-bottom: 28px !important;
    font-size: clamp(26px,7vw,31px) !important;
    line-height: 1.55 !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .row.align-items-stretch {
    gap: 16px;
  }

  html.taj-about-mobile-v1 .about-area.style-two .about-content.bg-white {
    padding: 0 !important;
    background: transparent !important;
  }

  html.taj-about-mobile-v1 .taj-about-mission-card {
    margin-bottom: 12px !important;
    padding: 20px 18px !important;
    border-radius: 20px !important;
    border: 1px solid var(--taj-at-line);
    box-shadow: 0 13px 30px rgba(13,52,72,.065);
  }

  html.taj-about-mobile-v1 .features-wrap {
    margin-bottom: 0 !important;
    padding: 16px !important;
    gap: 14px;
    border: 1px solid var(--taj-at-line);
    border-radius: 20px;
    background: #fff;
  }

  html.taj-about-mobile-v1 .features-wrap .feature-img {
    width: 104px !important;
    flex: 0 0 104px;
    overflow: hidden;
  }

  html.taj-about-mobile-v1 .features-wrap .feature-img img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  html.taj-about-mobile-v1 .features-wrap .feature-info {
    flex: 1 1 0;
    min-width: 0;
  }

  html.taj-about-mobile-v1 .about-area.style-two .about-img-wrap.position-relative {
    min-height: 290px !important;
    margin-top: 0;
    border-radius: 24px !important;
  }

  /* Why choose us */
  html.taj-about-mobile-v1 .wh-area.style-two {
    padding-top: 70px !important;
    padding-bottom: 72px !important;
  }

  html.taj-about-mobile-v1 .wh-area.style-two .row.align-items-center {
    gap: 26px;
  }

  html.taj-about-mobile-v1 .wh-title.position-md-sticky {
    position: static !important;
  }

  html.taj-about-mobile-v1 .wh-title .section-title {
    margin-bottom: 26px !important;
    font-size: clamp(26px,7vw,31px) !important;
    line-height: 1.6 !important;
  }

  html.taj-about-mobile-v1 .taj-about-why-media-pair {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  html.taj-about-mobile-v1 .taj-about-why-media-item {
    width: auto !important;
    padding: 0 !important;
  }

  html.taj-about-mobile-v1 .taj-about-why-media {
    overflow: hidden;
    border-radius: 21px;
    box-shadow: 0 13px 30px rgba(13,52,72,.08);
  }

  html.taj-about-mobile-v1 .taj-about-why-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-inline: calc(var(--taj-at-gutter) * -1);
    padding: 4px var(--taj-at-gutter) 18px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid::-webkit-scrollbar {
    display: none;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid .taj-principle-item {
    flex: 0 0 82%;
    min-height: 205px;
    padding: 21px 19px !important;
    border: 1px solid var(--taj-at-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(13,52,72,.065);
    scroll-snap-align: start;
  }

  html.taj-about-mobile-v1 .taj-principle-title {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  html.taj-about-mobile-v1 .taj-principle-description {
    font-size: 13px !important;
    line-height: 1.95 !important;
  }

  /* Team on About: horizontal editorial rail, not long desktop stack */
  html.taj-about-mobile-v1 .taj-team-section {
    padding-top: 72px !important;
    padding-bottom: 76px !important;
    overflow: hidden;
    background:
      linear-gradient(180deg,#f7fafb 0%,#eef4f7 100%) !important;
  }

  html.taj-about-mobile-v1 .taj-team-header {
    margin-bottom: 28px !important;
    padding-inline: var(--taj-at-gutter);
  }

  html.taj-about-mobile-v1 .taj-team-title {
    font-size: clamp(28px,7.7vw,34px) !important;
    line-height: 1.55 !important;
    text-wrap: balance;
  }

  html.taj-about-mobile-v1 .taj-team-intro {
    font-size: 13.5px !important;
    line-height: 2 !important;
  }

  html.taj-about-mobile-v1 .taj-team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-inline: 0 !important;
    padding: 4px var(--taj-at-gutter) 20px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--taj-at-gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html.taj-about-mobile-v1 .taj-team-grid::-webkit-scrollbar {
    display: none;
  }

  html.taj-about-mobile-v1 .taj-team-member {
    flex: 0 0 87% !important;
    min-width: 0;
    padding: 14px 14px 20px !important;
    border: 1px solid var(--taj-at-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 15px 34px rgba(13,52,72,.075);
    scroll-snap-align: start;
  }

  html.taj-about-mobile-v1 .taj-team-media {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 20px !important;
  }

  html.taj-about-mobile-v1 .taj-team-media img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  html.taj-about-mobile-v1 .taj-team-member-head {
    padding-top: 17px;
    gap: 10px;
  }

  html.taj-about-mobile-v1 .taj-team-name {
    font-size: 18px !important;
  }

  html.taj-about-mobile-v1 .taj-team-position,
  html.taj-about-mobile-v1 .taj-team-role,
  html.taj-about-mobile-v1 .taj-team-expertise-list {
    font-size: 12.5px !important;
    line-height: 1.85 !important;
  }

  html.taj-about-mobile-v1 .taj-team-expertise {
    padding-top: 14px !important;
  }

  /* About final contact */
  html.taj-about-mobile-v1 .taj-contact-section {
    padding-top: 74px !important;
    padding-bottom: 80px !important;
    border-radius: 32px 32px 0 0;
  }

  html.taj-about-mobile-v1 .taj-contact-teaser-card {
    padding: 23px 20px 21px !important;
    border-radius: 23px !important;
  }

  html.taj-about-mobile-v1 .taj-contact-teaser-card .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }

  html.taj-about-mobile-v1 .taj-contact-teaser-or {
    white-space: nowrap !important;
    font-size: 11.5px !important;
  }

  /* ========================
     MEMBER profile page
  ======================== */
  html.taj-member-mobile-v1 .container.style-one.pt-120.pb-70 {
    padding-top: 62px !important;
    padding-bottom: 56px !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile {
    gap: 0 !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile > .col-lg-5 {
    margin-bottom: 0 !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile .taj-team-media {
    width: 86%;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 26px !important;
    box-shadow: var(--taj-at-shadow);
  }

  html.taj-member-mobile-v1 .taj-team-profile .taj-team-media img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile > .col-lg-7 {
    position: relative;
    z-index: 3;
    margin-top: -22px;
  }

  html.taj-member-mobile-v1 .taj-team-member-head {
    margin-bottom: 0 !important;
    padding: 22px 19px 18px !important;
    border: 1px solid var(--taj-at-line);
    border-radius: 22px 22px 0 0;
    background: rgba(255,255,255,.97);
    box-shadow: 0 14px 32px rgba(13,52,72,.075);
  }

  html.taj-member-mobile-v1 .taj-team-name {
    font-size: 25px !important;
    line-height: 1.5 !important;
  }

  html.taj-member-mobile-v1 .taj-team-position {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  html.taj-member-mobile-v1 .taj-team-role {
    margin: 0 !important;
    padding: 18px 19px 16px !important;
    border-inline: 1px solid var(--taj-at-line);
    background: #fff;
    font-size: 13.5px !important;
    line-height: 2 !important;
  }

  html.taj-member-mobile-v1 .taj-team-expertise {
    margin: 0 !important;
    padding: 18px 19px 20px !important;
    border: 1px solid var(--taj-at-line);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: #fff;
  }

  html.taj-member-mobile-v1 .taj-team-expertise-list {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px !important;
  }

  html.taj-member-mobile-v1 .taj-team-expertise-list li {
    margin: 0 !important;
    padding: 10px 9px !important;
    border: 1px solid rgba(0,58,91,.09);
    border-radius: 14px;
    background: #f5f9fa;
    font-size: 11.5px !important;
    line-height: 1.7 !important;
  }

  /* Related articles: horizontal rail */
  html.taj-member-mobile-v1 .container.style-one.pb-70 {
    padding-bottom: 58px !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-inline: calc(var(--taj-at-gutter) * -1);
    padding: 4px var(--taj-at-gutter) 18px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html.taj-member-mobile-v1 .taj-team-article-list::-webkit-scrollbar {
    display: none;
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief {
    flex: 0 0 82% !important;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--taj-at-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(13,52,72,.065);
    scroll-snap-align: start;
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief-media {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 8px;
    overflow: hidden;
    background: linear-gradient(145deg,#fff,#eef4f7);
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief-media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 180px;
    object-fit: contain !important;
    transform: none !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief-content {
    padding: 18px 17px !important;
  }

  /* Siblings: compact 2-up */
  html.taj-member-mobile-v1 .container.style-one.pb-100 {
    padding-bottom: 58px !important;
  }

  html.taj-member-mobile-v1 .taj-team-siblings {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-card {
    min-width: 0;
    padding: 16px 11px !important;
    border: 1px solid var(--taj-at-line);
    border-radius: 20px !important;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13,52,72,.06);
  }

  html.taj-member-mobile-v1 .taj-team-teaser-avatar {
    width: 76px !important;
    height: 76px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-name {
    font-size: 14px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-role {
    font-size: 10.5px !important;
    line-height: 1.65 !important;
  }

  html.taj-member-mobile-v1 .container.style-one.pb-120 {
    padding-bottom: 78px !important;
  }

  html.taj-member-mobile-v1 .taj-highlight-card {
    padding: 30px 20px 27px !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 44px rgba(0,42,66,.16);
  }

  html.taj-member-mobile-v1 .taj-highlight-card .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }

  /* ========================
     Legacy team listing
  ======================== */
  html.taj-leaders-mobile-v1 .container.style-one.pt-120.pb-120 {
    padding-top: 64px !important;
    padding-bottom: 76px !important;
  }

  html.taj-leaders-mobile-v1 .container.style-one.pt-120.pb-120 > .row.justify-content-center {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-inline: calc(var(--taj-at-gutter) * -1);
    padding: 0 var(--taj-at-gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html.taj-leaders-mobile-v1 .container.style-one.pt-120.pb-120 > .row.justify-content-center::-webkit-scrollbar {
    display: none;
  }

  html.taj-leaders-mobile-v1 .container.style-one.pt-120.pb-120 > .row.justify-content-center > .col-xl-4 {
    flex: 0 0 84% !important;
    width: auto !important;
    padding: 0 !important;
    scroll-snap-align: start;
  }

  html.taj-leaders-mobile-v1 .team-card {
    margin-bottom: 0 !important;
  }

  html.taj-leaders-mobile-v1 .team-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  /* ========================
     Shared Back-to-top
  ======================== */
  html.taj-about-team-motion #progress-wrap.progress-wrap {
    left: max(14px,env(safe-area-inset-left)) !important;
    right: auto !important;
    bottom: max(16px,env(safe-area-inset-bottom)) !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg,#0b4565 0%,#003a5b 100%) !important;
    box-shadow:
      0 12px 26px rgba(0,42,66,.22),
      0 0 0 3px rgba(245,130,32,.10) !important;
  }

  html.taj-about-team-motion #progress-wrap.progress-wrap svg {
    display: none !important;
  }

  html.taj-about-team-motion #progress-wrap.progress-wrap::after {
    content: "↑" !important;
    position: static !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    transform: none !important;
  }

  html.taj-about-team-motion #progress-wrap.progress-wrap::before {
    content: "" !important;
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px;
    background: #f58220 !important;
    box-shadow: 0 0 0 3px rgba(245,130,32,.12);
  }
}


@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  @keyframes tajAtHeroSheen {
    0% { translate: 125% 0; opacity: 0; }
    24% { opacity: .80; }
    100% { translate: -125% 0; opacity: 0; }
  }

  @keyframes tajAtMediaSheen {
    0% { translate: 125% 0; opacity: 0; }
    24% { opacity: .80; }
    100% { translate: -125% 0; opacity: 0; }
  }

  @keyframes tajAtMediaGlow {
    0%,100% { right: -34%; opacity: .10; }
    50% { right: 84%; opacity: .60; }
  }

  @keyframes tajAtImageTone {
    0%,100% {
      filter: blur(0) saturate(1.02) contrast(1.01) brightness(1);
    }
    50% {
      filter: blur(0) saturate(1.10) contrast(1.035) brightness(1.025);
    }
  }
}


@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  html.taj-about-team-motion [data-taj-at-media],
  html.taj-about-team-motion [data-taj-at-media] > img,
  html.taj-about-team-motion [data-taj-at-block],
  html.taj-about-team-motion .taj-at-media-glow,
  html.taj-about-team-motion .taj-at-media-sheen,
  html.taj-about-team-motion .taj-at-hero-sheen,
  html.taj-about-team-motion .taj-breadcrumb-photo-strip {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    translate: 0 0 !important;
    filter: none !important;
  }
}

/* =========================================================
   TAJ ABOUT + TEAM MOBILE V1.1
   Visual QA correction from video 20.

   Keeps content and V1 motion engine.
   Fixes:
   - oversized manifesto/section typography
   - dead vertical gaps
   - broken About services CTA text
   - Mission/Vision into true mobile 2-up composition
   - denser, more editorial Team rail
   - real horizontal related-article rail on member pages
   - tighter member profile rhythm
   - cleaner Back-to-top
========================================================= */

@media (max-width: 767px) {

  /* ======================================================
     ABOUT — opening manifesto
  ====================================================== */
  html.taj-about-mobile-v1 .about-area.style-one.ptb-120 {
    padding-top: 46px !important;
    padding-bottom: 50px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .container.style-one > .row:first-child {
    margin-bottom: 22px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .taj-heading {
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 18px 21px !important;

    border: 1px solid rgba(0,58,91,.10) !important;
    border-radius: 21px !important;

    background:
      linear-gradient(145deg,#ffffff 0%,#f7fafb 100%) !important;

    box-shadow:
      0 13px 30px rgba(13,52,72,.065) !important;

    color: #17384e !important;

    font-size: 18.5px !important;
    font-weight: 700 !important;
    line-height: 1.95 !important;

    text-align: right !important;
    text-wrap: pretty !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .taj-heading::before {
    content: "" !important;
    display: block !important;

    width: 42px !important;
    height: 3px !important;

    margin: 0 0 14px auto !important;

    border-radius: 999px !important;

    background:
      linear-gradient(90deg,#f58220,#d45c24) !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .row.align-items-center {
    gap: 18px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .taj-clean-media-frame {
    margin-bottom: 0 !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .about-img-wrap {
    width: min(74%, 265px) !important;
    margin: 0 auto 4px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-one .about-content > h3 {
    margin: 0 0 16px !important;

    font-size: 16px !important;
    font-weight: 750 !important;
    line-height: 1.95 !important;

    text-align: right !important;
  }

  /* Service tags: keep the good 2x2 mobile composition. */
  html.taj-about-mobile-v1 .taj-about-service-tags {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;

    margin: 18px 0 16px !important;
  }

  html.taj-about-mobile-v1 .taj-about-service-tags li {
    min-height: 104px !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 13px 10px !important;

    text-align: center !important;

    font-size: 11.8px !important;
    line-height: 1.65 !important;
  }

  html.taj-about-mobile-v1 .taj-about-service-tags li i {
    width: 40px !important;
    height: 40px !important;

    font-size: 18px !important;
  }

  /* V1 made this white but inherited the primary link's white text.
     Explicitly restore readable CTA copy. */
  html.taj-about-mobile-v1 .taj-about-service-cta {
    width: 100% !important;
    min-height: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    margin: 0 !important;
    padding: 7px 8px 7px 16px !important;

    color: #003a5b !important;

    border: 1px solid rgba(0,58,91,.13) !important;
    border-radius: 16px !important;

    background: #ffffff !important;

    box-shadow:
      0 12px 28px rgba(0,58,91,.075) !important;
  }

  html.taj-about-mobile-v1 .taj-about-service-cta > span:first-child {
    display: block !important;

    color: #003a5b !important;

    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
  }

  html.taj-about-mobile-v1 .taj-about-service-cta .taj-ui-link__icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;

    display: grid !important;
    place-items: center !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 12px !important;

    background: #003a5b !important;
    color: #ffffff !important;
  }

  html.taj-about-mobile-v1 .taj-about-service-cta .taj-ui-link__icon i {
    color: #ffffff !important;
  }


  /* ======================================================
     ABOUT — Mission/Vision
  ====================================================== */
  html.taj-about-mobile-v1 .about-area.style-two.pb-90 {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .section-title {
    margin-bottom: 24px !important;

    font-size: 25px !important;
    line-height: 1.55 !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .row.align-items-stretch {
    gap: 14px !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .about-content > .row {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;

    gap: 10px !important;

    margin: 0 !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .about-content > .row > .col-md-6 {
    width: auto !important;

    padding: 0 !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .about-content > .row > .col-12 {
    grid-column: 1 / -1 !important;

    width: auto !important;

    padding: 0 !important;
  }

  html.taj-about-mobile-v1 .taj-about-mission-card {
    min-height: 168px !important;

    margin: 0 !important;
    padding: 18px 14px 17px !important;

    border-radius: 19px !important;
  }

  html.taj-about-mobile-v1 .taj-about-mission-card h3 {
    margin-bottom: 8px !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  html.taj-about-mobile-v1 .taj-about-mission-card p {
    font-size: 11.7px !important;
    line-height: 1.9 !important;
  }

  html.taj-about-mobile-v1 .features-wrap {
    margin-top: 2px !important;
    padding: 14px !important;

    gap: 12px !important;

    border-radius: 19px !important;
  }

  html.taj-about-mobile-v1 .features-wrap .feature-img {
    width: 88px !important;
    flex: 0 0 88px !important;
  }

  html.taj-about-mobile-v1 .features-wrap .feature-info h3 {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  html.taj-about-mobile-v1 .features-wrap .feature-list li {
    font-size: 11px !important;
    line-height: 1.75 !important;
  }

  html.taj-about-mobile-v1 .about-area.style-two .about-img-wrap.position-relative {
    min-height: 248px !important;

    border-radius: 22px !important;
  }


  /* ======================================================
     ABOUT — Why / principles
  ====================================================== */
  html.taj-about-mobile-v1 .wh-area.style-two {
    padding-top: 52px !important;
    padding-bottom: 56px !important;
  }

  html.taj-about-mobile-v1 .wh-area.style-two .row.align-items-center {
    gap: 20px !important;
  }

  html.taj-about-mobile-v1 .wh-title .section-title {
    margin-bottom: 20px !important;

    font-size: 24px !important;
    line-height: 1.65 !important;
  }

  html.taj-about-mobile-v1 .wh-content > p,
  html.taj-about-mobile-v1 .wh-title + p {
    font-size: 13px !important;
    line-height: 2 !important;
  }

  html.taj-about-mobile-v1 .taj-about-why-media-pair {
    gap: 10px !important;
  }

  html.taj-about-mobile-v1 .taj-about-why-media {
    border-radius: 19px !important;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid {
    gap: 12px !important;

    padding-bottom: 14px !important;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid .taj-principle-item {
    flex-basis: 76% !important;
    min-height: 188px !important;

    padding: 18px 17px !important;
  }


  /* ======================================================
     ABOUT — Team
  ====================================================== */
  html.taj-about-mobile-v1 .taj-team-section {
    padding-top: 56px !important;
    padding-bottom: 62px !important;
  }

  html.taj-about-mobile-v1 .taj-team-header {
    margin-bottom: 22px !important;
  }

  html.taj-about-mobile-v1 .taj-team-title {
    max-width: 340px !important;

    margin-inline: auto !important;

    font-size: 25px !important;
    line-height: 1.62 !important;
  }

  html.taj-about-mobile-v1 .taj-team-intro {
    max-width: 335px !important;

    margin-inline: auto !important;

    font-size: 12.5px !important;
    line-height: 1.95 !important;
  }

  html.taj-about-mobile-v1 .taj-team-grid {
    gap: 12px !important;

    padding-bottom: 16px !important;
  }

  html.taj-about-mobile-v1 .taj-team-member {
    flex: 0 0 80% !important;

    padding: 11px 11px 17px !important;

    border-radius: 22px !important;
  }

  html.taj-about-mobile-v1 .taj-team-media {
    margin-bottom: 14px !important;

    border-radius: 18px !important;
  }

  html.taj-about-mobile-v1 .taj-team-member-head {
    padding-top: 0 !important;
  }

  html.taj-about-mobile-v1 .taj-team-name {
    font-size: 16.5px !important;
    line-height: 1.6 !important;
  }

  html.taj-about-mobile-v1 .taj-team-position {
    font-size: 11px !important;
    line-height: 1.7 !important;
  }

  html.taj-about-mobile-v1 .taj-team-role {
    min-height: 0 !important;

    margin-bottom: 14px !important;

    font-size: 11.8px !important;
    line-height: 1.85 !important;
  }

  html.taj-about-mobile-v1 .taj-team-expertise {
    padding-top: 11px !important;
  }

  html.taj-about-mobile-v1 .taj-team-expertise-list {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;

    gap: 7px !important;
  }

  html.taj-about-mobile-v1 .taj-team-expertise-list li {
    min-width: 0 !important;

    padding: 7px 8px !important;

    border: 1px solid rgba(0,58,91,.08) !important;
    border-radius: 11px !important;

    background: #f6f9fa !important;

    font-size: 9.8px !important;
    line-height: 1.6 !important;
  }

  html.taj-about-mobile-v1 .taj-team-closing {
    margin-top: 26px !important;
  }


  /* ======================================================
     ABOUT — Final contact
  ====================================================== */
  html.taj-about-mobile-v1 .taj-contact-section {
    padding-top: 58px !important;
    padding-bottom: 64px !important;
  }

  html.taj-about-mobile-v1 .taj-contact-title {
    font-size: 26px !important;
    line-height: 1.62 !important;
  }


  /* ======================================================
     MEMBER — Profile rhythm
  ====================================================== */
  html.taj-member-mobile-v1 .container.style-one.pt-120.pb-70 {
    padding-top: 46px !important;
    padding-bottom: 44px !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile .taj-team-media {
    width: min(80%, 282px) !important;

    border-radius: 24px !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile > .col-lg-7 {
    margin-top: -18px !important;
  }

  html.taj-member-mobile-v1 .taj-team-member-head {
    padding: 19px 17px 16px !important;

    border-radius: 20px 20px 0 0 !important;
  }

  html.taj-member-mobile-v1 .taj-team-name {
    font-size: 22px !important;
  }

  html.taj-member-mobile-v1 .taj-team-role {
    padding: 16px 17px 14px !important;

    font-size: 12.5px !important;
    line-height: 1.9 !important;
  }

  html.taj-member-mobile-v1 .taj-team-expertise {
    padding: 16px 17px 17px !important;

    border-radius: 0 0 20px 20px !important;
  }

  html.taj-member-mobile-v1 .taj-team-expertise-list {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;

    gap: 7px !important;
  }

  html.taj-member-mobile-v1 .taj-team-expertise-list li {
    padding: 8px 7px !important;

    font-size: 10.5px !important;
    line-height: 1.65 !important;
  }


  /* ======================================================
     MEMBER — Related articles
     V1 selector was correct but inherited Knowledge layout was
     still winning on children. This fully defines the mobile rail.
  ====================================================== */
  html.taj-member-mobile-v1
  .taj-knowledge-supporting.taj-team-article-list {
    display: flex !important;
    flex-flow: row nowrap !important;

    grid-template-columns: none !important;

    gap: 12px !important;

    width: auto !important;

    margin-inline:
      calc(var(--taj-at-gutter) * -1) !important;

    padding:
      4px var(--taj-at-gutter) 16px !important;

    overflow-x: auto !important;
    overflow-y: visible !important;

    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: var(--taj-at-gutter) !important;

    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html.taj-member-mobile-v1
  .taj-knowledge-supporting.taj-team-article-list::-webkit-scrollbar {
    display: none !important;
  }

  html.taj-member-mobile-v1
  .taj-knowledge-supporting.taj-team-article-list
  > .taj-knowledge-brief {
    flex: 0 0 80% !important;

    width: 80% !important;
    min-width: 80% !important;
    max-width: 80% !important;

    display: grid !important;
    grid-template-columns: 94px minmax(0,1fr) !important;
    grid-template-rows: 1fr !important;

    margin: 0 !important;

    overflow: hidden !important;

    border-radius: 20px !important;

    scroll-snap-align: start !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief
  > .taj-knowledge-brief-media {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 94px !important;
    min-width: 94px !important;
    height: 100% !important;
    min-height: 154px !important;

    padding: 7px !important;

    border-radius: 0 !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief
  > .taj-knowledge-brief-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: 140px !important;

    object-fit: contain !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief
  > .taj-knowledge-brief-content {
    grid-column: 2 !important;
    grid-row: 1 !important;

    min-width: 0 !important;
    min-height: 154px !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 15px 13px 13px !important;

    text-align: right !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list .taj-knowledge-category-text {
    font-size: 9.5px !important;
    line-height: 1.5 !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list .taj-knowledge-brief-content h3 {
    margin: 7px 0 10px !important;

    font-size: 12.5px !important;
    line-height: 1.72 !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list .taj-ui-link {
    margin-top: auto !important;

    font-size: 10.5px !important;
  }


  /* ======================================================
     MEMBER — sibling team cards
  ====================================================== */
  html.taj-member-mobile-v1 .container.style-one.pb-100 {
    padding-bottom: 46px !important;
  }

  html.taj-member-mobile-v1 .taj-team-siblings {
    gap: 10px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-card {
    min-height: 160px !important;

    padding: 13px 8px !important;

    border-radius: 18px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-avatar {
    width: 66px !important;
    height: 66px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-name {
    font-size: 12.5px !important;
  }

  html.taj-member-mobile-v1 .taj-team-teaser-role {
    font-size: 9.5px !important;
    line-height: 1.55 !important;
  }

  html.taj-member-mobile-v1 .container.style-one.pb-120 {
    padding-bottom: 62px !important;
  }


  /* ======================================================
     Back-to-top — remove notification-like orange dot.
  ====================================================== */
  html.taj-about-team-motion #progress-wrap.progress-wrap {
    width: 40px !important;
    height: 40px !important;

    border:
      1px solid rgba(255,255,255,.16) !important;

    box-shadow:
      0 10px 22px rgba(0,42,66,.20),
      inset 0 2px 0 #f58220 !important;
  }

  html.taj-about-team-motion #progress-wrap.progress-wrap::before {
    display: none !important;
  }

  html.taj-about-team-motion #progress-wrap.progress-wrap::after {
    font-size: 19px !important;
  }
}

/* =========================================================
   TAJ ABOUT + TEAM MOBILE V1.2
   Structural QA correction from video 22.
========================================================= */
@media (max-width: 767px) {

  /* Prevent document-level horizontal drift from rails. */
  html.taj-about-mobile-v1,
  html.taj-member-mobile-v1,
  html.taj-leaders-mobile-v1,
  html.taj-about-mobile-v1 body,
  html.taj-member-mobile-v1 body,
  html.taj-leaders-mobile-v1 body,
  html.taj-about-mobile-v1 #smooth-wrapper,
  html.taj-member-mobile-v1 #smooth-wrapper,
  html.taj-leaders-mobile-v1 #smooth-wrapper,
  html.taj-about-mobile-v1 #smooth-content,
  html.taj-member-mobile-v1 #smooth-content,
  html.taj-leaders-mobile-v1 #smooth-content {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  html.taj-about-mobile-v1 .wh-area.style-two .container,
  html.taj-about-mobile-v1 .taj-team-section .container,
  html.taj-member-mobile-v1 .container.style-one {
    max-width: 100% !important;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid,
  html.taj-about-mobile-v1 .taj-team-grid,
  html.taj-member-mobile-v1 .taj-team-article-list {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overscroll-behavior-inline: contain !important;
  }

  html.taj-about-mobile-v1 .taj-about-principles-grid {
    padding: 4px 0 14px !important;
  }
  html.taj-about-mobile-v1 .taj-team-grid {
    padding: 4px 0 16px !important;
  }

  html.taj-about-mobile-v1 .taj-about-why-media-pair,
  html.taj-about-mobile-v1 .taj-about-why-media-item,
  html.taj-about-mobile-v1 .wh-title,
  html.taj-about-mobile-v1 .wh-content {
    transform: none !important;
  }

  html.taj-about-mobile-v1 .wh-area.style-two .row {
    margin-inline: 0 !important;
  }

  html.taj-about-mobile-v1 .wh-area.style-two .row > [class*="col-"] {
    min-width: 0 !important;
    padding-inline: 0 !important;
  }

  html.taj-about-mobile-v1 .taj-team-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  html.taj-about-mobile-v1 .taj-team-member {
    flex: 0 0 82% !important;
    max-width: 82% !important;
  }

  /* Member breadcrumb: image first, compact name below. */
  html.taj-member-mobile-v1 .taj-team-breadcrumb.taj-breadcrumb-unified {
    display: block !important;
    overflow: hidden !important;
    border-radius: 0 0 26px 26px !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(0,42,66,.09) !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-photo-strip {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
    background: linear-gradient(180deg,#eef4f7 0%,#fff 100%) !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-photo-strip picture {
    display: block !important;
    width: 100% !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-photo-strip img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    scale: 1 !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-caption {
    position: relative !important;
    grid-area: auto !important;
    align-self: auto !important;
    padding: 12px 18px 14px !important;
    background: #fff !important;
    border-top: 1px solid rgba(0,58,91,.08) !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-brandbg {
    display: none !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb-title {
    margin: 0 0 7px !important;
    color: #17384e !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    text-shadow: none !important;
    text-wrap: balance !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-trail {
    gap: 7px !important;
  }

  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-trail li,
  html.taj-member-mobile-v1 .taj-team-breadcrumb .taj-breadcrumb-trail a {
    color: #667884 !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
  }

  /* Tighter profile chapter. */
  html.taj-member-mobile-v1 .container.style-one.pt-120.pb-70 {
    padding-top: 38px !important;
    padding-bottom: 34px !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile .taj-team-media {
    width: min(76%,270px) !important;
  }

  html.taj-member-mobile-v1 .taj-team-profile > .col-lg-7 {
    margin-top: -14px !important;
  }

  /* Related articles: clean editorial rows, no clipped side-peeking rail. */
  html.taj-member-mobile-v1 .taj-knowledge-supporting.taj-team-article-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list > .taj-knowledge-brief {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 104px minmax(0,1fr) !important;
    grid-template-rows: 1fr !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,58,91,.10) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 13px 30px rgba(13,52,72,.065) !important;
    scroll-snap-align: none !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list > .taj-knowledge-brief > .taj-knowledge-brief-media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 104px !important;
    min-width: 104px !important;
    height: 100% !important;
    min-height: 150px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(145deg,#fff,#eef4f7) !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list > .taj-knowledge-brief > .taj-knowledge-brief-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: 136px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list > .taj-knowledge-brief > .taj-knowledge-brief-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    min-height: 150px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 14px 13px !important;
    text-align: right !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-category-text {
    font-size: 9.5px !important;
    line-height: 1.5 !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief-content h3 {
    margin: 7px 0 10px !important;
    font-size: 12.5px !important;
    line-height: 1.72 !important;
    text-wrap: pretty !important;
  }

  html.taj-member-mobile-v1 .taj-team-article-list .taj-ui-link {
    min-height: 38px !important;
    margin-top: auto !important;
    font-size: 10.5px !important;
  }

  html.taj-member-mobile-v1 .container.style-one.pb-70 { padding-bottom: 40px !important; }
  html.taj-member-mobile-v1 .container.style-one.pb-100 { padding-bottom: 40px !important; }
  html.taj-member-mobile-v1 .container.style-one.pb-120 { padding-bottom: 54px !important; }

  html.taj-about-team-motion #progress-wrap.progress-wrap::before {
    display: none !important;
  }
}

/* =========================================================
   TAJ ABOUT + TEAM MOBILE V1.3
   Final member-content polish from video 21.

   Fixes:
   - related articles are side-by-side on mobile
   - sibling member cards always show complete role text
   - sibling cards no longer sit half-visible during reveal
   - no new copy, no desktop change
========================================================= */

@media (max-width: 767px) {

  /* ======================================================
     MEMBER RELATED ARTICLES — true 2-up mobile editorial grid
  ====================================================== */
  html.taj-member-mobile-v1
  .taj-knowledge-supporting.taj-team-article-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    scroll-snap-type: none !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(0,58,91,.10) !important;
    border-radius: 19px !important;

    background: #ffffff !important;

    box-shadow:
      0 12px 28px rgba(13,52,72,.065) !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief
  > .taj-knowledge-brief-media {
    width: 100% !important;
    min-width: 0 !important;
    height: 118px !important;
    min-height: 118px !important;

    display: grid !important;
    place-items: center !important;

    padding: 8px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background:
      linear-gradient(145deg,#ffffff,#eef4f7) !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief
  > .taj-knowledge-brief-media img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-height: 102px !important;

    object-fit: contain !important;
    object-position: center !important;

    transform: none !important;
    scale: 1 !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief
  > .taj-knowledge-brief-content {
    min-width: 0 !important;
    min-height: 178px !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 13px 11px 12px !important;

    text-align: right !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  .taj-knowledge-category-text {
    margin-bottom: 6px !important;

    font-size: 9px !important;
    line-height: 1.55 !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  .taj-knowledge-brief-content h3 {
    margin: 0 0 10px !important;

    font-size: 11.5px !important;
    font-weight: 750 !important;
    line-height: 1.72 !important;

    text-wrap: pretty !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  .taj-knowledge-brief-content h3 a {
    color: #17384e !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  .taj-ui-link {
    min-height: 36px !important;

    margin-top: auto !important;

    font-size: 10px !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  .taj-ui-link__icon {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }

  /* If the article count is odd, the final article gets a deliberate
     full-width editorial treatment instead of looking like a missing card. */
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;

    display: grid !important;
    grid-template-columns: 112px minmax(0,1fr) !important;
    grid-template-rows: 1fr !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:last-child:nth-child(odd)
  > .taj-knowledge-brief-media {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 112px !important;
    height: 100% !important;
    min-height: 146px !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:last-child:nth-child(odd)
  > .taj-knowledge-brief-content {
    grid-column: 2 !important;
    grid-row: 1 !important;

    min-height: 146px !important;

    padding: 14px 13px 12px !important;
  }


  /* ======================================================
     OTHER TEAM MEMBERS — stable 2-up cards, complete text
  ====================================================== */
  html.taj-member-mobile-v1
  .taj-team-siblings {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;

    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
  }

  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 188px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 5px !important;

    padding: 14px 9px 13px !important;

    overflow: visible !important;

    border: 1px solid rgba(0,58,91,.09) !important;
    border-radius: 18px !important;

    background:
      linear-gradient(145deg,#ffffff 0%,#f6f9fa 100%) !important;

    box-shadow:
      0 11px 26px rgba(13,52,72,.055) !important;

    text-align: center !important;
  }

  /* Do not leave one sibling semi-transparent while the other is visible.
     This section is navigational, so stable readability is more important
     than another reveal animation. */
  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-card[data-taj-at-block],
  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-card[data-taj-at-block].is-inview {
    opacity: 1 !important;
    translate: 0 0 !important;

    transition:
      transform .18s ease,
      box-shadow .18s ease !important;
  }

  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-avatar {
    width: 70px !important;
    height: 70px !important;
    flex: 0 0 70px !important;

    margin: 0 0 8px !important;
  }

  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-name {
    display: block !important;

    width: 100% !important;

    color: #17384e !important;

    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;

    white-space: normal !important;
    overflow: visible !important;
  }

  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-role {
    display: block !important;

    width: 100% !important;
    min-height: 48px !important;

    color: #667884 !important;

    font-size: 9.7px !important;
    font-weight: 550 !important;
    line-height: 1.65 !important;

    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
  }

  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-role span[dir="ltr"] {
    display: inline !important;

    white-space: normal !important;
  }

  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-card:active {
    transform: translateY(1px) scale(.98) !important;
  }


  /* Keep the gap into the closing CTA intentional, not oversized. */
  html.taj-member-mobile-v1
  .container.style-one.pb-100 {
    padding-bottom: 34px !important;
  }
}

/* =========================================================
   TAJ ABOUT + TEAM MOBILE V1.4
   Final article-card repair from video 23.

   Root cause:
   team-member-rc2.css leaves align-items:center on the article card.
   V1.3 changed the card to flex-column but did not neutralize that
   inherited alignment, so the content column collapsed to min-content
   width and Persian titles wrapped almost character-by-character.

   Fix:
   - force card children to stretch
   - force content to full width
   - keep image above content
   - preserve 2-up layout
   - keep odd last article as full-width editorial row
========================================================= */

@media (max-width: 767px) {

  /* 2-up article cards: image top, text below, full usable width */
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd)) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    padding: 0 !important;

    box-sizing: border-box !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  > .taj-knowledge-brief-media {
    align-self: stretch !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 118px !important;
    min-height: 118px !important;
    flex: 0 0 118px !important;

    margin: 0 !important;

    box-sizing: border-box !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  > .taj-knowledge-brief-content {
    align-self: stretch !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    flex: 1 1 auto !important;

    padding: 13px 11px 12px !important;

    box-sizing: border-box !important;

    overflow: visible !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  .taj-knowledge-category-text,
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  .taj-knowledge-brief-content h3,
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  .taj-knowledge-brief-content h3 a,
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  .taj-ui-link {
    width: 100% !important;
    max-width: 100% !important;

    white-space: normal !important;

    word-break: normal !important;
    overflow-wrap: normal !important;

    writing-mode: horizontal-tb !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  .taj-knowledge-brief-content h3 {
    min-height: 78px !important;

    font-size: 11.5px !important;
    line-height: 1.72 !important;

    text-align: right !important;
  }

  /* Keep CTA compact rather than forcing it into a narrow intrinsic column. */
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:not(:last-child:nth-child(odd))
  .taj-ui-link {
    width: fit-content !important;
    max-width: 100% !important;

    align-self: flex-start !important;

    margin-top: auto !important;
  }


  /* Odd final article: keep the successful full-width editorial row. */
  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:last-child:nth-child(odd) {
    align-items: stretch !important;

    width: 100% !important;
    max-width: 100% !important;
  }

  html.taj-member-mobile-v1
  .taj-team-article-list
  > .taj-knowledge-brief:last-child:nth-child(odd)
  > .taj-knowledge-brief-content {
    width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
  }


  /* Other-team cards were visually correct in video 23.
     Keep them readable and stable. */
  html.taj-member-mobile-v1
  .taj-team-siblings
  .taj-team-teaser-role {
    min-height: 48px !important;

    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
  }
}

/* TAJ ABOUT MOBILE TYPOGRAPHY FLOOR V1 */
@media (max-width: 767px) {
    html.taj-about-mobile-v1 .taj-team-role,
    html.taj-about-mobile-v1 .taj-team-position,
    html.taj-about-mobile-v1 .taj-team-teaser-role,
    html.taj-about-mobile-v1 .taj-contact-teaser-or,
    html.taj-about-mobile-v1 p.fs-xxl-18 {
        font-size: 12px !important;
    }
}
/* /TAJ ABOUT MOBILE TYPOGRAPHY FLOOR V1 */

/* TAJ MEMBER MOBILE ARTICLE TITLE FLOOR V1 */
@media (max-width: 767px) {
    html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief-content h3,
    html.taj-member-mobile-v1 .taj-team-article-list .taj-knowledge-brief:not(:last-child:nth-child(odd)) .taj-knowledge-brief-content h3 {
        font-size: 12px !important;
    }
}
/* /TAJ MEMBER MOBILE ARTICLE TITLE FLOOR V1 */

/* ==========================================================================
   TAJ TEAM PROFILE IMAGE POSITION V1 FIXED
   Intentional portrait framing only — no zoom, size, or layout changes.
   ========================================================================== */
@media (min-width: 768px) {
  body img[src*="taj-team-mobina.jpg"] {
    object-position: 61% center !important;
  }

  body img[src*="taj-team-mohammadreza.jpg"] {
    object-position: 59% center !important;
  }

  body img[src*="taj-team-saeedeh.jpg"] {
    object-position: 58% center !important;
  }
}

