/* About Us: the story as a path, with a line joining problem, aim and approach down the page,
   and Our Goal as full-width rows. Remove the <link> in about.html to revert. */

.about-us-story-grid {
    grid-template-columns: 1fr !important;
    position: relative;
    padding-left: 4rem;
    gap: 1.25rem !important;
}
.about-us-story-grid::before {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 2.4rem;
    bottom: 2.4rem;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #0a55c4, rgba(61, 142, 240, 0.4));
}
.about-us-story-card-outer {
    position: relative;
    overflow: visible !important;
    height: auto !important;
}
.about-us-story-card-outer::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: calc(1.35rem + 1.5px - 4rem - 13px);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0a55c4;
    box-shadow: 0 0 0 6px rgba(207, 225, 253, 0.95);
}
.about-us-story-card-inner {
    text-align: left !important;
    padding: 1.75rem 2.25rem !important;
}
.about-us-story-label,
.about-us-story-title,
.about-us-story-text {
    text-align: left !important;
}

/* Our Goal: icon on the left, text on the right, one row each */
.about-us-values-list {
    grid-template-columns: 1fr !important;
}
.about-us-values-list li {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.1rem;
    align-items: center;
    text-align: left !important;
}
.about-us-values-icon {
    grid-row: 1 / span 2;
    margin: 0 !important;
}
.about-us-values-list strong,
.about-us-values-list span:not(.about-us-values-icon) {
    text-align: left !important;
}

/* Phones: a tighter path so the cards keep their width */
@media (max-width: 700px) {
    .about-us-story-grid {
        padding-left: 2.5rem;
    }
    .about-us-story-grid::before {
        left: 0.8rem;
    }
    .about-us-story-card-outer::before {
        left: calc(0.8rem + 1.5px - 2.5rem - 10px);
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 4px rgba(207, 225, 253, 0.95);
    }
    .about-us-story-card-inner {
        padding: 1.25rem 1.35rem !important;
    }
}
