.site-modern.site-about :is(h1, h2, h3, p) { float: none; width: auto; border: 0; }
.site-modern.site-about picture { display: contents; }
.site-modern .about-hero .ef-hero__text { max-width: 520px; }
.site-modern .about-hero h1 { font-size: clamp(38px, 4.3vw, 56px); }
.site-modern .about-visual { position: relative; display: grid; place-items: center; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.site-modern .about-visual__orbit { position: absolute; width: 88%; aspect-ratio: 1; border: 2px dashed rgba(33,101,232,.2); border-radius: 50%; }
.site-modern .about-visual__image { position: relative; display: grid; place-items: center; width: 82%; aspect-ratio: 1; padding: 8%; border: 1px solid #e4ebf6; border-radius: 50%; background: linear-gradient(160deg, #fff 10%, #f0f5ff 100%); box-shadow: 0 22px 48px rgba(31,59,99,.1); }
.site-modern .about-visual__image img { display: block; width: 100%; height: auto; object-fit: contain; }
/* Photo variant: the square photo fills the circle (same look as the SAF-T / e-Transport heroes) */
.site-modern .about-visual__image--photo { overflow: hidden; padding: 0; border: 8px solid #fff; background: #fff; box-shadow: 0 0 0 1px rgba(33,101,232,.12), 0 30px 60px rgba(23,38,61,.2); }
.site-modern .about-visual__image--photo picture { display: contents; }
.site-modern .about-visual__image--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.site-modern .about-visual__logo { position: absolute; right: 2%; bottom: 6%; display: grid; place-items: center; width: 25%; aspect-ratio: 1; padding: 5%; border-radius: 50%; background: linear-gradient(180deg, #fff, #e8f0ff); box-shadow: inset 0 2px 0 #fff, 0 0 0 8px rgba(255,255,255,.8), 0 12px 25px rgba(23,38,61,.14); }
.site-modern .about-visual__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-modern .about-visual__dot { position: absolute; z-index: 1; border-radius: 50%; }
.site-modern .about-visual__dot--blue { top: 12%; right: 9%; width: 16px; height: 16px; background: #2165e8; }
.site-modern .about-visual__dot--green { bottom: 17%; left: 6%; width: 11px; height: 11px; background: #3bb54a; }
.site-modern .about-visual__dot--orange { top: 19%; left: 10%; width: 10px; height: 10px; background: #f46a25; }
.site-modern .about-story { padding: 66px 24px; }
.site-modern .about-story__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(32px, 5vw, 72px); max-width: 1160px; margin: 0 auto; }
.site-modern .about-story h2 { margin: 0; color: var(--site-ink); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; }
.site-modern .about-story h2 span { color: var(--site-blue); }
.site-modern .about-story__inner > p { margin: 0; color: var(--site-muted); font-family: var(--site-font-body); font-size: 17px; line-height: 1.8; }
.site-modern .about-history { padding: 80px 24px 88px; background: #f6f9fe; scroll-margin-top: 120px; }
.site-modern .about-history__inner, .site-modern .about-testimonials__inner { max-width: 1160px; margin: 0 auto; }
/* Timeline: vertical line in the centre, year badge on the line, cards alternating left / right */
.site-modern .about-timeline { position: relative; display: grid; gap: 22px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.site-modern .about-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #2165e8 0%, #9cbcf5 100%); transform: translateX(-50%); }
.site-modern .about-timeline__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.site-modern .about-timeline__item time { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; display: inline-flex; justify-content: center; align-items: center; min-width: 72px; padding: 8px 12px; border: 3px solid #f6f9fe; border-radius: 999px; color: #fff; background: linear-gradient(180deg, #2c6de5 0%, #2165e8 48%, #1d57c8 100%); box-shadow: 0 8px 18px rgba(33,101,232,.28); font-family: var(--site-font-body); font-size: 15px; font-weight: 700; line-height: 1.2; }
.site-modern .about-timeline__item > div { position: relative; grid-row: 1; padding: 22px 24px; border: 1px solid #e2eaf6; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(31,59,99,.05); transition: transform .2s, box-shadow .2s; }
.site-modern .about-timeline__item > div:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(31,59,99,.1); }
.site-modern .about-timeline__item:nth-child(odd) > div { grid-column: 1; }
.site-modern .about-timeline__item:nth-child(even) > div { grid-column: 3; }
/* Small arrow from the card towards the line */
.site-modern .about-timeline__item > div::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border: 1px solid #e2eaf6; background: #fff; transform: translateY(-50%) rotate(45deg); }
.site-modern .about-timeline__item:nth-child(odd) > div::after { right: -8px; border-bottom: 0; border-left: 0; }
.site-modern .about-timeline__item:nth-child(even) > div::after { left: -8px; border-top: 0; border-right: 0; }
.site-modern .about-timeline__item h3 { margin: 0 0 8px; color: var(--site-ink); font-size: 18px; line-height: 1.4; }
.site-modern .about-timeline__item p { margin: 0; color: var(--site-muted); font-family: var(--site-font-body); font-size: 15px; line-height: 1.7; }
.site-modern .about-testimonials { padding: 80px 24px 96px; }
.site-modern .about-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.site-modern .about-quote { display: flex; flex-direction: column; margin: 0; padding: 30px; border: 1px solid #e2eaf6; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(31,59,99,.06); }
.site-modern .about-quote__mark { color: #2165e8; font: 700 46px/1 Georgia,serif; }
.site-modern .about-quote blockquote { flex: 1; margin: 8px 0 24px; color: #3b4c63; font-family: var(--site-font-body); font-size: 17px; line-height: 1.7; }
.site-modern .about-quote figcaption { display: flex; flex-direction: column; gap: 4px; color: var(--site-muted); font-size: 14px; }
.site-modern .about-quote figcaption strong { color: var(--site-ink); font-family: var(--site-font-heading); font-size: 16px; }
@media (max-width: 900px) {
    .site-modern .about-visual { width: min(86vw, 400px); }
    .site-modern .about-story__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
    .site-modern .about-hero h1 { font-size: clamp(30px, 8vw, 40px); }
    .site-modern .about-visual { width: min(82vw, 360px); }
    .site-modern .about-story { padding: 48px 20px; }
    .site-modern .about-history { padding: 56px 20px 64px; }
    .site-modern .about-quotes { grid-template-columns: minmax(0, 1fr); }
    /* Mobile: line on the left, every card on the right */
    .site-modern .about-timeline { gap: 18px; }
    .site-modern .about-timeline::before { left: 34px; }
    .site-modern .about-timeline__item { grid-template-columns: 68px minmax(0, 1fr); align-items: start; }
    .site-modern .about-timeline__item time { grid-column: 1; min-width: 60px; padding: 6px 8px; font-size: 13px; }
    .site-modern .about-timeline__item:nth-child(n) > div { grid-column: 2; padding: 18px; }
    .site-modern .about-timeline__item:nth-child(n) > div::after { top: 22px; left: -8px; right: auto; border: 1px solid #e2eaf6; border-top: 0; border-right: 0; }
    .site-modern .about-testimonials { padding: 56px 20px 64px; }
    .site-modern .about-quote { padding: 24px; }
}
@media (max-width: 360px) {
    .site-modern .about-timeline__item { grid-template-columns: 58px minmax(0, 1fr); }
    .site-modern .about-timeline::before { left: 29px; }
    .site-modern .about-timeline__item time { min-width: 52px; font-size: 12px; }
}
