Preserve HTML during CDN rewrites and refine SHNU benefits layout
This commit is contained in:
@@ -387,6 +387,38 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
|
||||
.catalog-content .overline { margin-bottom: .4rem; }
|
||||
.catalog-content .actions { margin-top: auto; padding-top: 1rem; }
|
||||
|
||||
.hero-shnu-sc ~ #benefits { background: #f7f9fe; padding-block: clamp(3.25rem, 6vw, 6rem); }
|
||||
.hero-shnu-sc ~ #benefits .section-heading { margin-bottom: 1.25rem; }
|
||||
.hero-shnu-sc ~ #benefits h2 { font-size: clamp(1.85rem, 3.35vw, 3rem); }
|
||||
.hero-shnu-sc ~ #benefits .rich > p { margin-bottom: .85rem; }
|
||||
.hero-shnu-sc ~ #benefits .rich > ul { padding-left: 1.35rem; }
|
||||
.hero-shnu-sc ~ #benefits .rich > ul li + li { margin-top: .35rem; }
|
||||
.hero-shnu-sc ~ #benefits .rich > ul li::marker { color: var(--accent); }
|
||||
.hero-shnu-sc ~ #benefits .rich > img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 .75rem 2.25rem #101c341a;
|
||||
}
|
||||
@media (min-width: 52rem) {
|
||||
.hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
|
||||
gap: .8rem clamp(2rem, 5vw, 5.5rem);
|
||||
align-content: center;
|
||||
}
|
||||
.hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) > .rich { display: contents; }
|
||||
.hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) :is(.section-heading, .rich > p, .rich > ul) {
|
||||
grid-column: 1;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) .rich > img {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / span 3;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
|
||||
.copyright-service #materials .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
||||
.copyright-service #why .choice-card { background: #e9f0ff; border-color: #7599ec; box-shadow: inset 0 3px var(--accent); }
|
||||
.copyright-service #why .choice-card h3 { color: var(--accent-deep); }
|
||||
|
||||
Reference in New Issue
Block a user