.demographics-hero { display: flex; min-height: 285px; align-items: center; color: #fff; background-image: linear-gradient(90deg, rgba(16, 22, 20, .88) 0%, rgba(16, 22, 20, .68) 42%, rgba(16, 22, 20, .12) 100%), var(--demographics-hero-image); background-position: center 48%; background-size: cover; }
.demographics-hero-inner { padding-block: 30px; }
.demographics-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; color: rgba(255, 255, 255, .95); font-size: 14px; }
.demographics-breadcrumb a { color: inherit; text-decoration: none; }
.demographics-breadcrumb a:hover { text-decoration: underline; }
.demographics-hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(42px, 5vw, 60px); font-weight: 850; letter-spacing: -.035em; line-height: 1.02; }
.demographics-title-rule { display: block; width: 185px; height: 3px; margin: 17px 0 13px; background: #b8491b; }
.demographics-hero-inner > p { max-width: 550px; margin: 0; color: #fff; font-size: 18px; line-height: 1.5; }
.demographics-content { padding-block: 20px 38px; background: #fff; }
.demographics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.demographics-card { position: relative; display: flex; min-height: 235px; align-items: stretch; overflow: hidden; border-radius: 10px; background: #fffaf5; isolation: isolate; }
.demographics-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fffaf5 0%, rgba(255,250,245,.98) 43%, rgba(255,250,245,.86) 57%, rgba(255,250,245,.08) 100%); content: ""; }
.demographics-card-image { position: absolute; z-index: -2; top: 0; right: 0; width: 55%; height: 100%; object-fit: cover; object-position: center; }
.demographics-card-copy { width: 68%; padding: 13px 18px 16px; }
.demographics-card-heading { display: flex; min-height: 61px; align-items: center; gap: 13px; margin-bottom: 4px; }
.demographics-card-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 50%; background: #a73714; color: #fff; }
.demographics-card:nth-child(3n + 2) .demographics-card-icon { background: #c08a3d; }
.demographics-card:nth-child(3n) .demographics-card-icon { background: #24743b; }
.demographics-card:nth-child(4) .demographics-card-icon { background: #115282; }
.demographics-card:nth-child(7) .demographics-card-icon { background: #760c26; }
.demographics-card-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demographics-card-heading h2 { margin: 0; color: #502012; font-size: clamp(18px, 1.5vw, 23px); font-weight: 800; line-height: 1.1; }
.demographics-card-copy > p { max-width: 270px; margin: 5px 0 0 5px; color: #303030; font-size: 15px; line-height: 1.42; }
.demographics-card-education { min-height: 128px; grid-column: 1 / -1; }
.demographics-card-education::after { background: linear-gradient(90deg, #fffaf5 0%, rgba(255,250,245,.98) 54%, rgba(255,250,245,.72) 68%, rgba(255,250,245,.02) 100%); }
.demographics-card-education .demographics-card-image { width: 48%; }
.demographics-card-education .demographics-card-copy { width: 72%; padding: 10px 23px; }
.demographics-card-education .demographics-card-heading { margin-bottom: 0; }
.demographics-card-education .demographics-card-copy > p { max-width: 770px; margin-left: 76px; }
@media (max-width: 900px) { .demographics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .demographics-card-copy { width: 74%; } .demographics-card-education { grid-column: 1 / -1; } }
@media (max-width: 620px) { .demographics-hero { min-height: 260px; background-position: 62% center; } .demographics-hero-inner { padding-block: 24px; } .demographics-breadcrumb { font-size: 12px; } .demographics-hero h1 { font-size: clamp(38px, 11vw, 48px); } .demographics-hero-inner > p { font-size: 16px; } .demographics-content { padding-block: 14px 28px; } .demographics-grid { grid-template-columns: 1fr; gap: 12px; } .demographics-card { min-height: 220px; } .demographics-card-copy { width: 72%; padding: 12px 15px; } .demographics-card-heading { gap: 10px; } .demographics-card-icon { width: 50px; height: 50px; flex-basis: 50px; } .demographics-card-icon svg { width: 26px; height: 26px; } .demographics-card-heading h2 { font-size: 19px; } .demographics-card-copy > p { font-size: 14px; } .demographics-card-education { min-height: 180px; grid-column: auto; } .demographics-card-education .demographics-card-copy { width: 84%; padding: 12px 15px; } .demographics-card-education .demographics-card-image { width: 58%; } .demographics-card-education .demographics-card-copy > p { margin-left: 0; } }
