/* DBS case studies. The editable content lives in custom/dbs-content.html. */
.finance-page [hidden]{display:none!important}
.finance-card.gsg{background:linear-gradient(135deg,#203347,#516d81)}
.gsg-wordmark{display:inline-flex;flex-direction:column;line-height:1.1;color:#fff;white-space:nowrap}
.gsg-wordmark b{font:500 40px/1 var(--serif);letter-spacing:.02em}.gsg-wordmark small{font-size:10px;letter-spacing:.02em;margin-top:5px}
.hero-logos .gsg-wordmark b{font-size:23px}.hero-logos .gsg-wordmark small{font-size:7px;margin-top:2px}
.finance-card.gsg .card-bottom{font-size:clamp(19px,2.3vw,29px)}
.finance-page .project-tabs button{opacity:1;color:#62625d;min-height:44px}.finance-page .project-tabs button[aria-pressed=true]{color:#191919}
#dbs-content{margin-top:42px}.dbs-project-switch{display:flex;gap:14px;border-block:1px solid #ceccc4;padding:18px 0;margin-bottom:50px}
.dbs-project-switch button{display:flex;align-items:center;gap:14px;background:transparent;padding:16px 22px;border-radius:8px;font-size:12px;color:#65615d}.dbs-project-switch button span{font-size:18px;color:#191919}
.dbs-project-switch button[aria-selected=true]{background:#e7e3db;box-shadow:inset 0 -2px #a33135}
.dbs-opening{max-width:850px;margin-bottom:38px}.dbs-opening h3{font-size:clamp(36px,4.5vw,60px);margin:16px 0 24px;letter-spacing:-.025em}.dbs-opening>p:last-child{font-size:19px;color:#595956;line-height:1.8;max-width:760px}
.dbs-panel{scroll-margin-top:110px;outline-offset:8px}.dbs-figure{margin:0 0 26px}.dbs-figure>img{display:block;width:100%;height:auto;border-radius:12px}.dbs-figure figcaption{font-size:13px;line-height:1.6;color:#595956;margin-top:14px}
.marketplace-hero{background:#eae7e0;border-radius:12px;padding:6% 8% 22px}.marketplace-hero img{max-width:1000px;margin:auto}.marketplace-hero figcaption{text-align:center}
.device-line{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6%;background:#eae7e0;border-radius:12px;padding:45px 7%}.device-line img{width:100%;height:330px;object-fit:contain}.device-line span{display:block;text-align:center;font-size:13px;margin-top:22px}
.dbs-image-pair{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:30px}.dbs-image-pair img{height:300px;object-fit:contain;background:#eae7e0}
.home-planner-pair{display:grid;grid-template-columns:1fr 3fr;gap:6%;align-items:center;background:#eae7e0;padding:4%;border-radius:12px}.home-planner-pair>img:first-child{max-height:460px;object-fit:contain}.home-planner-pair figcaption{grid-column:1/-1}
.dbs-continue{display:flex;justify-content:space-between;width:100%;padding:30px 0;margin:15px 0 55px;border-top:1px solid #ceccc4!important;background:none;font-family:var(--serif)!important;font-size:clamp(26px,3vw,38px)!important;text-align:left}

.dbs-design-copy{max-width:760px;margin:24px 0}.dbs-design-copy h4{font-weight:400;font-size:25px;margin:0 0 14px}.dbs-design-copy p{font-size:17px;line-height:1.8;color:#595956}
.dbs-panel .case-section p+p{margin-top:20px}
.dbs-quotes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:10px 0 20px}.dbs-quotes figure{margin:0;background:#e9e5dd;border-top:3px solid #a33135;border-radius:0 0 12px 12px;padding:32px}.dbs-quotes blockquote{font-family:var(--serif);font-size:27px;line-height:1.4;margin:0 0 28px}.dbs-quotes figcaption{font-size:12px;color:#595956}.finance-page .project-meta dd{color:#595956}
@media(max-width:809px){.finance-page .carousel-controls{gap:12px;padding:12px 14px}.finance-page .project-tabs{gap:14px}.finance-page .round-button{flex:none;width:38px;height:38px}.hero-logos{gap:16px}.hero-logos .gsg-wordmark b{font-size:21px}.hero-logos .gsg-wordmark small{font-size:6px}.dbs-project-switch{gap:8px;margin-bottom:36px;padding:12px 0}.dbs-project-switch button{gap:8px;padding:14px 10px;font-size:10px;flex:1}.dbs-project-switch button span{font-size:14px}.dbs-opening>p:last-child{font-size:16px}.device-line{grid-template-columns:repeat(2,minmax(0,1fr));padding:28px 8%;gap:30px 14%}.device-line img{height:245px}.device-line span{margin-top:12px}.dbs-image-pair,.dbs-quotes{grid-template-columns:1fr;gap:18px}.dbs-image-pair img{height:auto}.dbs-quotes figure{padding:25px}.dbs-quotes blockquote{font-size:24px}.home-planner-pair{gap:5%;padding:5%;grid-template-columns:1fr 2fr}.dbs-figure figcaption{font-size:12px}.dbs-design-copy p{font-size:16px}.dbs-design-copy h4{font-size:23px}.marketplace-hero{padding:10% 5% 20px}}
@media(max-width:359px){.finance-page .carousel-controls{gap:8px;padding-inline:8px}.finance-page .project-tabs{gap:10px}.dbs-project-switch button{padding-inline:7px}.dbs-project-switch button span{font-size:13px}}
.dbs-project-switch{scroll-margin-top:100px}
.dbs-research-findings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid #ceccc4;padding:30px 0 40px}.dbs-research-findings h4{font:500 27px/1.2 var(--serif);margin:18px 0}.dbs-research-findings p{font-size:16px;line-height:1.8;color:#595956}.research-quotes{margin-bottom:32px}
@media(max-width:809px){.dbs-research-findings{grid-template-columns:1fr;gap:28px}.dbs-research-findings h4{margin:10px 0 14px;font-size:28px}}

/* Cargo screens retain their full proportions, with an accessible full-size view. */
.marketplace-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}
.marketplace-research-photo{max-width:800px;margin:0 auto 30px}
.cargo-figure{margin-bottom:34px}.dbs-image-link{display:block;border-radius:12px;overflow:hidden;background:#eae7e0;cursor:zoom-in}
.dbs-image-link img{display:block;width:100%;height:auto}.dbs-image-link:focus-visible{outline:3px solid #9d3037;outline-offset:5px}
.cargo-figure figcaption a{display:inline-block;margin-left:8px;color:#353530;text-decoration:underline;text-underline-offset:3px}
@media(max-width:809px){.marketplace-screens{grid-template-columns:1fr;gap:0}.cargo-figure{margin-bottom:28px}.marketplace-research-photo{margin-bottom:0}}

.institution-content{margin-top:42px}.finance-process-map{max-width:650px;margin-inline:auto}.finance-admin-figure{max-width:1000px;margin-inline:auto}
.institution-content .case-section p+p{margin-top:20px}
/* Project details sit beside the introduction, matching the other case studies. */
.finance-context{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,2fr);gap:64px;align-items:start;margin:0 0 48px}
.finance-context .project-meta{display:flex;flex-direction:column;gap:28px;border:0;padding:0;margin:0;min-width:0}
.finance-context .project-meta>div{width:100%;min-width:0}
.finance-context .project-meta dt{margin-bottom:10px}
.finance-context .project-meta dd{font-size:14px;line-height:1.7}
.finance-context .dbs-opening{min-width:0;margin:0}
.finance-context .dbs-opening h3{font-size:clamp(32px,3.8vw,52px)}
@media(max-width:809px){.finance-context{grid-template-columns:minmax(0,1fr);gap:36px;margin-bottom:36px}.finance-context .project-meta{gap:24px}}
.home-planner-pair>.dbs-image-link{background:transparent}
.home-planner-pair>.dbs-image-link:first-child img{max-height:460px;object-fit:contain}
.device-line .dbs-image-link{background:transparent}.device-line .dbs-image-link img{height:330px;object-fit:contain}
.marketplace-hero>.dbs-image-link{max-width:1000px;margin:auto}
.ilex-investor .dbs-image-link{background:#102c3d}
@media(max-width:809px){.device-line .dbs-image-link img{height:245px}}
