.comparisonSection { width: 100%; gap: var(--Space-x6); background-color: var(--Base-Surface-Primary-light-Normal); border-radius: var(--Corner-radius-lg); padding: var(--Space-x6) var(--Space-x2); } .header { display: flex; flex-direction: column; gap: var(--Space-x1); margin: 0 auto; align-items: center; text-align: center; } .title { text-align: center; color: var(--Text-Heading); } .preamble { margin: 0; white-space: pre-wrap; } .link { display: flex; align-items: center; gap: var(--Space-x05); } .tierMatchList { display: flex; flex-direction: column; } .title { color: var(--Text-Heading); } .tierDetails { overflow: hidden; background-color: var(--Base-Surface-Primary-light-Normal); transition: background-color 200ms; transition-delay: 50ms; border-bottom: 1px solid var(--Base-Border-Subtle); &:hover, &[open] { background-color: var(--Base-Surface-Primary-light-Hover); .comparisonIcon { background-color: var(--Base-Surface-Primary-light-Normal); } } &[open] { .chevron { transform: rotate(180deg); } &::details-content { block-size: auto; } } &::details-content { block-size: 0; transition: block-size 0.4s, content-visibility 0.4s; transition-behavior: allow-discrete; } } .iconWrapper { position: absolute; right: var(--Space-x1); } .chevron { transition: transform 200ms; flex-shrink: 0; } .tierSummary { list-style: none; &::marker, &::-webkit-details-marker { display: none; } } .columnHeaders { display: grid; grid-template-columns: 1fr 1fr; align-items: center; row-gap: var(--Space-x2); margin-bottom: var(--Space-x2); place-items: center; } .scandicImage { max-height: 46px; max-width: 215px; height: auto; width: 100%; } .sasImage { max-height: 40px; max-width: 215px; height: auto; width: 100%; } .tierTitles { cursor: pointer; padding: var(--Space-x05); position: relative; width: 100%; height: 64px; align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; } .tierTitle { flex-grow: 1; z-index: 1; text-align: center; } .comparisonIcon { background-color: var(--Base-Surface-Secondary-light-Normal); border-radius: 50%; width: 32px; height: 32px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; z-index: 1; transition: background-color 0.3s; transition-delay: 50ms; } .tierContent { padding: var(--Space-x3); display: flex; flex-direction: column; gap: var(--Space-x2); } .tierInfo { display: grid; gap: var(--Space-x2); } .htmlContent { gap: 0; & ul { padding: 0; } } .columnTitle { width: 100%; position: relative; text-align: center; & > span { position: relative; padding: 0 var(--Space-x1); background-color: white; white-space: nowrap; } &::before { position: absolute; bottom: calc(50% - 1px); content: ""; display: block; height: 1px; width: 100%; background-color: var(--Base-Border-Normal); } } @media (min-width: 768px) { .tierInfo { grid-template-columns: 1fr 1fr; gap: 0; } a.ctaButton { width: fit-content; margin: 0 auto; } .columnHeaders { column-gap: var(--Space-x3); } }