/* Oswalt Team Directory frontend - 1.2.17
   Refines the main /our-team/ cards so the featured team cards match the
   approved concept more closely: balanced 50/50 card layout, three consistent
   angled employee images, and a cleaner top-to-bottom photo rail. */

body.oswalt-team-directory-storefront .columns {
    display: block !important;
}

body.oswalt-team-directory-storefront .column.main {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

body.oswalt-team-directory-storefront .sidebar-main,
body.oswalt-team-directory-storefront .sidebar-additional {
    display: none !important;
}

/* Team Directory controls its own vertical spacing. Prevent the active
   footer/theme styles from adding 50px top and 100px bottom page-main padding. */
body.oswalt-team-directory-storefront .page-main {
    padding-top: 0 !important;
    padding-bottom: 63px !important;
}

.oswalt-directory-page,
.oswalt-team-page,
.oswalt-employee-page {
    width: 100%;
    max-width: none;
    margin: 0 0 34px;
    box-sizing: border-box;
}

.oswalt-employee-page {
    margin-bottom: 0;
}

.oswalt-directory-page *,
.oswalt-team-page *,
.oswalt-employee-page * {
    box-sizing: border-box;
}

/* Individual team page hero. The /our-team/ landing page has its own
   editorial hero further below. */
.oswalt-team-hero {
    width: 100%;
    padding: 30px 28px 32px;
    margin: 0 0 30px;
    background: linear-gradient(110deg, #f5f7fa, #fff);
    border-bottom: 1px solid #eef1f5;
}

.oswalt-team-hero__inner {
    width: 100%;
    padding: 0;
}

.oswalt-team-hero h1 {
    margin: 0 0 11px;
    color: #102a56;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 700;
}

.oswalt-team-hero h1:after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 12px;
    background: #d5202f;
}

.oswalt-team-hero p,
.oswalt-team-hero__copy {
    max-width: none;
    width: 100%;
    margin: 0;
    color: #27364d;
    font-size: 17px;
    line-height: 1.58;
}

.oswalt-team-hero__copy p {
    margin: 0 0 8px;
}

.oswalt-team-hero__copy p:last-child {
    margin-bottom: 0;
}

/* 1.1.7 Team page header refinement. */
.oswalt-team-page .oswalt-team-hero {
    padding: 30px 28px 20px;
    margin-bottom: 20px;
    background: #fff;
    border-bottom: 0;
}

.oswalt-team-page .oswalt-team-hero__copy,
.oswalt-team-page .oswalt-team-hero p {
    max-width: none;
    width: 100%;
}

/* Main /our-team/ editorial landing page - 1.2.11.
   Restore the selected concept: full-width stacked cards with three angled
   employee images running top-to-bottom on the right. */
.oswalt-directory-editorial {
    background: #fff;
}

.oswalt-directory-editorial__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    width: 100%;
    min-height: 168px;
    margin: 0 0 16px;
    padding: 24px 28px 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(16,42,86,.055), transparent 24%),
        radial-gradient(circle at 68% 72%, rgba(16,42,86,.035), transparent 28%),
        linear-gradient(108deg, #fafbfc 0%, #fff 60%, #f1f5f8 100%);
    border-bottom: 1px solid #edf0f4;
}

.oswalt-directory-editorial__hero-inner {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.oswalt-directory-editorial__kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 8px;
    color: #d5202f;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.oswalt-directory-editorial__kicker span {
    display: block;
    flex: 0 0 27px;
    width: 27px;
    height: 2px;
    background: #d5202f;
}

.oswalt-directory-editorial__hero h1 {
    margin: 0 0 9px;
    color: #102a56;
    font-family: inherit;
    font-size: clamp(54px, 5.2vw, 78px);
    line-height: .88;
    font-weight: 800;
    letter-spacing: -.05em;
}

.oswalt-directory-editorial__hero p {
    width: min(690px, 100%);
    margin: 0;
    color: #27364d;
    font-size: 15px;
    line-height: 1.43;
}

.oswalt-directory-editorial__hero-aside {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-self: end;
    width: 150px;
    padding: 7px 0 7px 24px;
    border-left: 2px solid #d5202f;
    color: #102a56;
    font-size: 9px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: .27em;
    text-transform: uppercase;
}

.oswalt-team-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 28px;
}

.oswalt-team-feature {
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: stretch;
    width: 100%;
    height: 210px;
    min-height: 210px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe4ea;
    box-shadow: 0 2px 8px rgba(16,42,86,.05);
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.oswalt-team-feature:visited {
    color: inherit !important;
    text-decoration: none !important;
}

.oswalt-team-feature:hover,
.oswalt-team-feature:focus {
    color: inherit !important;
    text-decoration: none !important;
    border-color: #c8d2dd;
    box-shadow: 0 7px 18px rgba(16,42,86,.10);
    transform: translateY(-2px);
}

.oswalt-team-feature:focus-visible {
    outline: 3px solid #0756a6;
    outline-offset: 3px;
}

.oswalt-team-feature__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 24px 28px 22px;
    background: #fff;
}

.oswalt-team-feature__rule {
    display: block;
    flex: 0 0 auto;
    width: 27px;
    height: 3px;
    margin-bottom: 10px;
    background: #d5202f;
}

.oswalt-team-feature__title {
    display: block;
    margin: 0 0 10px;
    color: #102a56;
    font-family: inherit;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.oswalt-team-feature__description {
    display: -webkit-box;
    width: 100%;
    margin: 0 0 12px;
    overflow: hidden;
    color: #354258;
    font-size: 15px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.oswalt-team-feature__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: #d5202f !important;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.oswalt-team-feature:hover .oswalt-team-feature__link,
.oswalt-team-feature:focus .oswalt-team-feature__link {
    color: #a81724 !important;
}

.oswalt-team-feature__link span {
    font-size: 17px;
    line-height: 1;
}

.oswalt-team-feature__visual {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 0;
    height: 100%;
    min-height: 0;
    overflow: visible;
    background: #fff;
}

/* 1.2.11: no white dividers or overlay rectangles. Each employee panel is
   clipped into the same parallelogram and overlaps the next panel so the
   photographs touch edge-to-edge while retaining the shared diagonal angle. */
.oswalt-team-feature__panel {
    position: relative;
    display: block;
    flex: 0 0 36%;
    align-self: stretch;
    min-width: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    margin-left: -4%;
    background: #fff;
    clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%);
}

.oswalt-team-feature__panel:first-child {
    margin-left: 0;
    z-index: 1;
}

.oswalt-team-feature__panel:nth-child(2) {
    z-index: 2;
}

.oswalt-team-feature__panel:nth-child(3) {
    z-index: 3;
}

.oswalt-team-feature__panel:last-child {
    flex-basis: 36%;
    margin-right: -4%;
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}




/* 1.2.17: compact darker seam shadow.
   Only the second and third employee panels receive the shadow. */
.oswalt-team-feature__panel:not(:first-child)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    clip-path: polygon(
        11% 0,
        13.2% 0,
        2.2% 100%,
        0 100%
    );
    background: linear-gradient(
        90deg,
        rgba(7, 24, 44, .38) 0%,
        rgba(7, 24, 44, .18) 55%,
        rgba(7, 24, 44, 0) 100%
    );
    filter: blur(.2px);
}

.oswalt-team-feature__team-image,
.oswalt-team-feature__visual-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    object-fit: cover;
    object-position: 50% 22%;
}

.oswalt-team-feature__team-image {
    z-index: 1;
    transition: transform .25s ease;
}

.oswalt-team-feature:hover .oswalt-team-feature__team-image,
.oswalt-team-feature:focus .oswalt-team-feature__team-image {
    transform: scale(1.015);
}

.oswalt-team-feature__visual-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(135deg, #102a56, #071c39);
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}

.oswalt-team-feature__visual-placeholder > span {
    max-width: 100px;
}

.oswalt-directory-careers {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    width: calc(100% - 56px);
    min-height: 102px;
    margin: 14px 28px 0;
    padding: 18px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 50%, rgba(16,42,86,.07), transparent 22%),
        linear-gradient(100deg, #eef3f8 0%, #f9fbfd 72%, #edf2f7 100%);
    border: 1px solid #dfe6ee;
}

.oswalt-directory-careers__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-right: 2px solid #d5202f;
    padding-right: 14px;
}

.oswalt-directory-careers__icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: #102a56;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oswalt-directory-careers__kicker {
    margin-bottom: 3px;
    color: #102a56;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.oswalt-directory-careers h2 {
    margin: 0 0 2px;
    color: #102a56;
    font-family: inherit;
    font-size: 26px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.03em;
}

.oswalt-directory-careers p {
    margin: 0;
    color: #4a5568;
    font-size: 12.5px;
    line-height: 1.35;
}

.oswalt-directory-careers__action a,
.oswalt-directory-careers__action a:visited {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 158px;
    justify-content: center;
    padding: 13px 20px;
    background: #d5202f !important;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
}

.oswalt-directory-careers__action a:hover,
.oswalt-directory-careers__action a:focus {
    background: #b71926 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.oswalt-directory-careers__action a:visited {
    background: #d5202f !important;
    color: #fff !important;
}

.oswalt-directory-careers__action span {
    font-size: 18px;
    line-height: 1;
}

/* Employee cards - 1.1.7 editorial team-page design.
   Cards flow left-to-right using auto-fit grid tracks. Populated rows stretch
   across the full available width. Small teams are capped separately below so
   one to four employees do not expand into oversized cards. */
.oswalt-employee-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    width: 100%;
    padding: 0 28px 12px !important;
    align-items: stretch;
}


/* Keep genuinely small teams from producing oversized cards.
   :has() is used only for the 1-4 employee cases. Teams with 5+ employees use
   the normal auto-fit grid above and fill each populated row left-to-right. */
.oswalt-employee-grid:has(> .oswalt-employee-card:only-child) {
    grid-template-columns: minmax(0, 280px);
}

.oswalt-employee-grid:has(> .oswalt-employee-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 280px));
}

.oswalt-employee-grid:has(> .oswalt-employee-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 280px));
}

.oswalt-employee-grid:has(> .oswalt-employee-card:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 280px));
}

.oswalt-employee-card {
    position: relative;
    display: block !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    aspect-ratio: 0.52;
    min-height: 470px;
    overflow: hidden;
    background: #0a1828;
    border: 0;
    border-radius: 2px;
    color: #fff;
    text-decoration: none !important;
    box-shadow: 0 2px 7px rgba(16, 42, 86, .16);
    transition: box-shadow .18s ease, transform .18s ease;
}

.oswalt-employee-card:hover,
.oswalt-employee-card:focus {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(16, 42, 86, .24);
    transform: translateY(-3px);
}

.oswalt-employee-card:focus-visible {
    outline: 3px solid #0756a6;
    outline-offset: 3px;
}

.oswalt-team-page .oswalt-employee-card__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 0;
    background: #e7eaee;
}

.oswalt-team-page .oswalt-employee-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: 50% 24% !important;
    transition: transform .22s ease;
}

.oswalt-employee-card:hover .oswalt-employee-card__image img,
.oswalt-employee-card:focus .oswalt-employee-card__image img {
    transform: scale(1.018);
}

.oswalt-employee-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #e7eaee;
}

.oswalt-employee-card__body {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    padding: 22px 16px 17px !important;
    color: #fff;
    background:
        linear-gradient(
            180deg,
            rgba(5, 15, 27, 0) 24%,
            rgba(5, 15, 27, .08) 38%,
            rgba(5, 15, 27, .58) 61%,
            rgba(5, 15, 27, .91) 79%,
            rgba(5, 15, 27, .99) 100%
        );
}

.oswalt-employee-card__name {
    display: block !important;
    width: min-content;
    max-width: 100%;
    margin: 0 0 8px !important;
    color: #fff;
    font-size: 31px;
    line-height: .9;
    font-weight: 800;
    letter-spacing: -.035em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}

.oswalt-employee-card__title {
    display: inline-block !important;
    width: auto;
    min-height: 0;
    margin: 0 0 15px !important;
    padding: 3px 8px 4px;
    background: #fff;
    color: #d5202f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

/* Public contact information remains plain text inside the full-card profile
   link so the entire card stays one valid, clickable destination. */
.oswalt-employee-card__contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    margin: 0 0 13px;
    padding: 0;
    border: 0;
}

.oswalt-employee-card__contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    width: 100%;
    color: #f7f9fc;
    font-size: 12.5px;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.oswalt-employee-card__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

.oswalt-employee-card__contact-icon svg {
    display: block;
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    fill: #ef2636;
}

.oswalt-employee-card__contact-text {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.oswalt-text-link {
    display: inline-flex !important;
    align-items: center;
    margin-top: 0;
    color: #fff;
    font-size: 13.5px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .42);
}

.oswalt-text-link span {
    color: #ef2636;
    margin-left: 6px;
    font-size: 18px;
    line-height: 1;
    vertical-align: 0;
}

/* Employee profile - 1.1.0 editorial layout. */
.oswalt-employee-page.oswalt-employee-editorial {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.oswalt-employee-editorial__hero {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    width: 100%;
    min-height: 760px;
    margin: 0;
    background: #fff;
    overflow: hidden;
}

.oswalt-employee-editorial__portrait {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #eef1f4;
}

.oswalt-employee-editorial__portrait:after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 32%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 42%, #fff 100%);
}

.oswalt-employee-editorial__portrait img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 30%;
}

.oswalt-employee-editorial__content {
    align-self: top;
    min-width: 0;
    padding: 46px 42px 44px 14px;
}

.oswalt-employee-editorial__kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #d5202f;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.oswalt-employee-editorial__kicker:after {
    content: "";
    width: 58px;
    height: 2px;
    background: #d5202f;
}

.oswalt-employee-editorial__content h1 {
    margin: 0 0 11px;
    color: #102a56;
    font-size: clamp(54px, 5.8vw, 112px);
    line-height: .88;
    font-weight: 800;
    letter-spacing: -.045em;
    text-transform: uppercase;
    transform: scaleX(0.7);
    transform-origin: left;
    width: min-content;
}

.oswalt-employee-editorial__title {
    margin: 0 0 9px;
    color: #d5202f;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.oswalt-employee-editorial__team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    color: #102a56;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.oswalt-employee-editorial__team:hover {
    color: #0756a6;
    text-decoration: none;
}

.oswalt-employee-editorial__team-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
}

.oswalt-employee-editorial__team-icon svg {
    width: 22px;
    height: 22px;
    fill: #102a56;
}

.oswalt-employee-editorial__lead {
    max-width: 700px;
    margin: 0 0 14px;
    color: #102a56;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.oswalt-employee-editorial__bio {
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    color: #303b4d;
    font-size: 16px;
    line-height: 1.62;
}

.oswalt-employee-editorial__bio p {
    margin: 0 0 10px;
}

.oswalt-employee-editorial__bio p:last-child {
    margin-bottom: 0;
}

.oswalt-employee-editorial__details {
    width: 100%;
    margin-top: 6px;
}

.oswalt-employee-editorial__details-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 11px;
    color: #d5202f;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.oswalt-employee-editorial__details-heading:after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #aeb7c4;
}

.oswalt-employee-editorial__details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid #dce2e9;
}

.oswalt-employee-editorial__detail {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    min-width: 0;
    min-height: 76px;
    padding: 13px 10px 12px 0;
    border-bottom: 1px solid #dce2e9;
}

.oswalt-employee-editorial__detail:nth-child(odd) {
    padding-right: 18px;
    border-right: 1px solid #dce2e9;
}

.oswalt-employee-editorial__detail:nth-child(even) {
    padding-left: 18px;
}

.oswalt-employee-editorial__detail dt {
    display: contents;
}

.oswalt-employee-editorial__detail-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 2px;
}

.oswalt-employee-editorial__detail-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #102a56;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oswalt-employee-editorial__detail dt > span:last-child {
    grid-column: 2;
    grid-row: 1;
    color: #102a56;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
}

.oswalt-employee-editorial__detail dd {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin: 3px 0 0;
    color: #3e4a5e;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.oswalt-employee-editorial__detail dd a {
    color: #0756a6;
    text-decoration: none;
}

.oswalt-employee-editorial__detail dd a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .oswalt-directory-editorial__hero {
        grid-template-columns: minmax(0, 1fr) 145px;
    }

    .oswalt-directory-editorial__hero-aside {
        width: 125px;
        padding-left: 18px;
    }

    .oswalt-team-feature {
        grid-template-columns: 50% 50%;
    }

    .oswalt-team-feature__content,
    .oswalt-team-feature__visual,
    .oswalt-team-feature__panel,
    .oswalt-team-feature__team-image,
    .oswalt-team-feature__visual-placeholder {
        min-height: 210px;
        height: 210px;
    }

    .oswalt-directory-careers {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .oswalt-directory-careers__action {
        grid-column: 2;
    }

.oswalt-employee-editorial__hero {
        grid-template-columns: 44% 56%;
        min-height: 660px;
    }

    .oswalt-employee-editorial__portrait {
        min-height: 660px;
    }

    .oswalt-employee-editorial__content {
        padding: 36px 28px 34px 6px;
    }

    .oswalt-employee-editorial__content h1 {
        font-size: clamp(45px, 6vw, 66px);
    }

    .oswalt-employee-editorial__details-grid {
        grid-template-columns: 1fr;
    }

    .oswalt-employee-editorial__detail,
    .oswalt-employee-editorial__detail:nth-child(odd),
    .oswalt-employee-editorial__detail:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-right: 0;
    }
}

@media (max-width: 700px) {
    .oswalt-directory-editorial__hero {
        display: block;
        min-height: 0;
        padding: 25px 18px 23px;
        margin-bottom: 16px;
    }

    .oswalt-directory-editorial__hero h1 {
        font-size: clamp(48px, 15vw, 64px);
    }

    .oswalt-directory-editorial__hero p {
        font-size: 14.5px;
    }

    .oswalt-directory-editorial__hero-aside {
        display: none;
    }

    .oswalt-team-features {
        gap: 14px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .oswalt-team-feature {
        grid-template-columns: 1fr;
    }

    .oswalt-team-feature__content {
        order: 2;
        min-height: 0;
        padding: 18px;
    }

    .oswalt-team-feature__visual {
        order: 1;
        min-height: 176px;
        height: 176px;
    }

    .oswalt-team-feature__panel,
    .oswalt-team-feature__team-image,
    .oswalt-team-feature__visual-placeholder {
        min-height: 176px;
        height: 176px;
    }

    .oswalt-team-feature__panel {
        flex-basis: 36%;
        margin-left: -4%;
    }

    .oswalt-team-feature__panel:first-child {
        margin-left: 0;
    }

    .oswalt-directory-careers {
        grid-template-columns: 1fr;
        gap: 14px;
        width: calc(100% - 36px);
        margin: 18px 18px 0;
        padding: 20px;
    }

    .oswalt-directory-careers__icon {
        width: 54px;
        height: 54px;
        border-right: 0;
        border-bottom: 2px solid #d5202f;
        padding: 0 0 9px;
    }

    .oswalt-directory-careers__action {
        grid-column: auto;
    }

    .oswalt-directory-careers__action a {
        width: 100%;
    }

.oswalt-employee-grid {
        grid-template-columns: 1fr !important;
    }


.oswalt-team-hero {
        padding: 22px 18px 24px;
        margin-bottom: 22px;
    }

    .oswalt-team-hero h1 {
        font-size: 30px;
    }
.oswalt-employee-grid {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
.oswalt-employee-editorial__hero {
        display: block;
        min-height: 0;
    }

    .oswalt-employee-editorial__portrait {
        min-height: 480px;
        height: 62vh;
        max-height: 640px;
    }

    .oswalt-employee-editorial__portrait:after {
        top: auto;
        left: 0;
        right: 0;
        bottom: -1px;
        width: 100%;
        height: 25%;
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
    }

    .oswalt-employee-editorial__content {
        padding: 12px 20px 28px;
    }

    .oswalt-employee-editorial__content h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .oswalt-employee-editorial__title {
        font-size: 21px;
    }

    .oswalt-employee-editorial__lead {
        font-size: 17px;
    }

    .oswalt-employee-editorial__bio {
        font-size: 15px;
    }
}


/* 1.2.12 main teams page sizing.
   Desktop cards have one fixed shared height so copy and all three images
   always reach the exact top and bottom edges of the card. */
@media (min-width: 901px) {
    .oswalt-team-feature {
        grid-template-columns: 50% 50%;
        height: 210px;
        min-height: 210px;
    }

    .oswalt-team-feature__content,
    .oswalt-team-feature__visual,
    .oswalt-team-feature__panel {
        height: 100%;
        min-height: 0;
    }

    .oswalt-team-feature__team-image,
    .oswalt-team-feature__visual-placeholder {
        height: 100%;
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .oswalt-team-feature {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .oswalt-team-feature__content {
        height: auto;
        min-height: 0;
        padding: 22px 22px 18px;
    }

    .oswalt-team-feature__visual {
        height: 180px;
        min-height: 180px;
    }

    .oswalt-team-feature__panel {
        height: 100%;
        min-height: 0;
    }

    .oswalt-team-feature__team-image,
    .oswalt-team-feature__visual-placeholder {
        height: 100%;
        min-height: 0;
    }
}




@media (max-width: 900px) {
    .oswalt-team-feature__panel:not(:first-child)::before {
        background: linear-gradient(
            90deg,
            rgba(7, 24, 44, .30) 0%,
            rgba(7, 24, 44, .14) 55%,
            rgba(7, 24, 44, 0) 100%
        );
        filter: blur(.2px);
    }
}
