/* Homepage case studies: the existing brand palette with an editorial hierarchy. */
#section4.section-case-editorial { background: #fff; color: #002f4d; }
.section-case-editorial .project-showcase__inner { width: 66.666667%; margin: auto; padding: 110px 0 42px; height: auto; }
.case-editorial-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 26px; }
.case-editorial-eyebrow, .case-story__kicker { font-size: 10px; letter-spacing: .13em; font-weight: 600; }
.case-editorial-eyebrow { color: #6d7c85; margin: 0 0 12px; }
.case-editorial-heading h2 { margin: 0; }
.case-editorial-intro { max-width: 440px; width: 48%; }
.case-editorial-intro p { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.case-editorial-intro span { display: block; color: #697a85; font-size: 13px; line-height: 1.8; }
.case-editorial-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; }
.case-story { overflow: hidden; background: #fff; border: 1px solid #dde3e6; border-radius: 4px; min-width: 0; }
.case-story--featured { grid-row: span 2; }
.case-story__image { display: block; position: relative; overflow: hidden; background: #f1f4f5; }
.case-story__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-story--featured .case-story__image { height: clamp(175px, 24vh, 280px); }
.case-story--featured .case-story__image img { object-position: center 46%; }
.case-story__number { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 32px; height: 32px; background: #fff; color: #C82126; font-size: 12px; font-weight: 600; }
.case-story__copy { padding: 22px 24px; }
.case-story__kicker { color: #C82126; margin: 0 0 8px; }
.section-case-editorial .case-story h3 { font-size: 22px; line-height: 1.35; margin: 0 0 12px; font-weight: 600; }
.case-story h3 a { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #002f4d; text-decoration: none; }
.case-story h3 a:hover { color: #C82126; }
.case-story a:focus-visible, .case-editorial-footer a:focus-visible { outline: 2px solid #C82126; outline-offset: 5px; }
.case-story h3 a span { color: #C82126; font-size: 22px; }
.case-story__lead { font-size: 14px; margin: 0 0 9px; font-weight: 500; }
.case-story__description { color: #61737f; font-size: 13px; line-height: 1.85; margin: 0; }
.case-story__tags { border-top: 1px solid #e6eaed; padding-top: 13px; margin: 16px 0 0; font-size: 10px; letter-spacing: .04em; color: #75838b; }
.case-story--compact { display: grid; grid-template-columns: 34% 1fr; }
.case-story--compact .case-story__copy { padding: 20px; }
.case-story--compact h3 { font-size: 19px; }
.case-editorial-footer { display: flex; gap: 28px; align-items: center; border-top: 1px solid #dce3e7; margin-top: 24px; padding-top: 18px; }
.case-editorial-footer p { flex: 1; font-size: 13px; color: #627682; margin: 0; }
.case-editorial-footer a { font-size: 12px; color: #002f4d; text-decoration: none; }
.case-editorial-footer a:last-child { color: #C82126; }
.case-editorial-footer a span { margin-left: 12px; }
.case-editorial-footer a:hover { text-decoration: underline; }
@media (min-width: 992px) and (max-height: 800px) {
 .section-case-editorial .project-showcase__inner { padding-top: 92px; padding-bottom: 24px; }
 .case-editorial-heading { margin-bottom: 18px; }
 .case-story__copy, .case-story--compact .case-story__copy { padding: 16px 18px; }
 .case-story__tags { margin-top: 10px; padding-top: 9px; }
 .case-story__lead { display: block; }
 .case-editorial-footer { margin-top: 16px; padding-top: 13px; }
}
@media (max-width: 1199px) {
 .section-case-editorial .project-showcase__inner { width: 78%; }
 .case-story--compact { grid-template-columns: 29% 1fr; }
}
@media (max-width: 991px) {
 #section4.section-case-editorial { padding: 0; }
 .section-case-editorial .project-showcase__inner { width: 90%; padding: 64px 0; }
 .case-editorial-grid { gap: 14px; }
 .case-story--compact { display: block; }
 .case-story--compact .case-story__image { height: 150px; }
 .case-story--featured .case-story__image { height: 260px; }
}
@media (max-width: 600px) {
 .case-editorial-heading { display: block; }
 .case-editorial-intro { width: 100%; margin-top: 20px; }
 .case-editorial-grid { grid-template-columns: 1fr; }
 .case-story--featured { grid-row: auto; }
 .case-story--featured .case-story__image { height: 220px; }
 .case-story--compact { display: block; }
 .case-story--compact .case-story__image { height: auto; }
 .case-story--compact .case-story__image img { height: auto; object-fit: contain; }
 .case-story__copy, .case-story--compact .case-story__copy { padding: 18px; }
 .case-editorial-footer { flex-wrap: wrap; gap: 14px 24px; }
 .case-editorial-footer p { flex: 0 0 100%; }
}
/* Keep the expanded bilingual copy readable within desktop full-page sections. */
.section-case-editorial .case-story__description { line-height: 1.7; }
.section-case-editorial .case-story__tags { line-height: 1.6; }
.section-case-editorial .case-story__lead { line-height: 1.65; }
@media (min-width: 992px) and (max-height: 900px) {
 .section-case-editorial .case-story--compact { grid-template-columns: 25% 1fr; }
 .section-case-editorial .case-story--compact h3 { font-size: 18px; margin-bottom: 9px; }
 .section-case-editorial .case-story__description { font-size: 12px; line-height: 1.6; }
 .section-case-editorial .case-story__tags { font-size: 10px; line-height: 1.5; margin-top: 10px; padding-top: 9px; }
 .section-case-editorial .case-story__lead { font-size: 13px; }
 .section-case-editorial .case-story__copy { padding: 14px 18px; }
 .section-case-editorial .case-editorial-grid { gap: 16px; }
}
@media (min-width: 992px) and (max-height: 900px) {
 .section-case-editorial .project-showcase__inner { width: 78%; }
}
@media (min-width: 992px) and (max-height: 720px) {
 .section-case-editorial .project-showcase__inner { width: 82%; padding-top: 86px; padding-bottom: 20px; }
 .section-case-editorial .case-editorial-heading { margin-bottom: 16px; }
 .section-case-editorial .case-editorial-eyebrow { margin-bottom: 6px; }
 .section-case-editorial .case-story--featured .case-story__image { height: 150px; }
 .section-case-editorial .case-story__copy { padding: 12px 16px; }
 .section-case-editorial .case-story__kicker { margin-bottom: 5px; }
 .section-case-editorial .case-editorial-footer { margin-top: 12px; padding-top: 10px; }
}
@media (min-width: 992px) and (max-height: 720px) {
 .section-case-editorial .case-editorial-heading h2 { font-size: 36px; line-height: 1.15; }
 .section-case-editorial .case-editorial-intro p { font-size: 17px; line-height: 1.4; margin-bottom: 5px; }
 .section-case-editorial .case-editorial-intro span { font-size: 12px; line-height: 1.5; }
 .section-case-editorial .case-editorial-grid { grid-template-columns: 1fr 1.15fr; }
 .section-case-editorial .case-story__kicker { line-height: 1.3; }
 .section-case-editorial .case-story--compact { grid-template-columns: 22% 1fr; }
 .section-case-editorial .case-story--compact .case-story__copy { padding: 10px 14px; }
 .section-case-editorial .case-story__tags { margin-top: 8px; padding-top: 7px; }
}
