/* Surcam Digital Panel 2026: white panel with text and an image grid, as in the merged prototype */
.sdg {
	--sdg-ink: #0e1213; --sdg-ink-2: #4b5458; --sdg-muted: #566064; --sdg-rule: #d3dbdb; --sdg-rule-strong: #b9c4c4;
	--sdg-mineral: #eef2f2; --sdg-mineral-2: #e2e8e8; --sdg-accent: #03695e; --sdg-accent-hover: #025a51; --sdg-ease: cubic-bezier(0.23, 1, 0.32, 1);
	font-family: "IBM Plex Sans", system-ui, sans-serif; color: var(--sdg-ink); -webkit-font-smoothing: antialiased;
}
.sdg *, .sdg *::before, .sdg *::after { box-sizing: border-box; }
.sdg h2, .sdg p, .sdg ul, .sdg li, .sdg figure { margin: 0; padding: 0; }
.sdg ul { list-style: none; }
.sdg .sdg__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sdg svg { width: 1.0625rem; height: 1.0625rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--sdg-ease); }

.sdg__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(20, 25, 27, .06), 0 24px 48px -32px rgba(20, 25, 27, .28); }
.sdg__text { display: grid; align-content: center; gap: 18px; padding: clamp(32px, 4vw, 56px); }
.sdg .sdg__h { max-width: 14ch; font-family: inherit; font-size: clamp(2rem, 1.35rem + 2.1vw, 3.125rem); font-weight: 600; line-height: 1.04; letter-spacing: -.022em; color: var(--sdg-ink); text-wrap: balance; }
.sdg .sdg__p { max-width: 46ch; font-size: 1.0625rem; line-height: 1.55; color: var(--sdg-ink-2); text-wrap: pretty; }
.sdg .sdg__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 6px; border-top: 1px solid var(--sdg-rule); }
.sdg .sdg__list li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--sdg-rule); font-size: .96875rem; line-height: 1.35; }
.sdg .sdg__v { color: var(--sdg-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sdg .sdg__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sdg .sdg__btn, .sdg .sdg__btn:hover, .sdg .sdg__btn:focus { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 18px; border: 0; border-radius: 6px; font-family: inherit; font-size: .9375rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--sdg-ease); }
.sdg .sdg__btn--solid, .sdg .sdg__btn--solid:hover, .sdg .sdg__btn--solid:focus { background-color: var(--sdg-accent); box-shadow: none; color: #fff; }
.sdg .sdg__btn--line, .sdg .sdg__btn--line:hover, .sdg .sdg__btn--line:focus { background-color: transparent; box-shadow: inset 0 0 0 1px var(--sdg-rule-strong); color: var(--sdg-ink); }
.sdg .sdg__btn:active { transform: scale(.97); }
.sdg .sdg__btn:focus-visible { outline: 2px solid var(--sdg-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.sdg .sdg__btn--solid:hover { background-color: var(--sdg-accent-hover); }
	.sdg .sdg__btn--line:hover { box-shadow: inset 0 0 0 1px var(--sdg-ink); }
	.sdg .sdg__btn:hover svg:last-child { transform: translateX(3px); }
}

.sdg__art { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; min-height: 460px; padding: 2px; background: var(--sdg-mineral-2); }
.sdg .sdg__art figure { position: relative; display: grid; place-items: center; overflow: hidden; background: #fff; }
.sdg .sdg__art img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sdg .sdg__art .sdg__cover { grid-row: span 2; background: var(--sdg-mineral); }
.sdg .sdg__art .sdg__cover img { width: 72%; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 2px 4px rgba(20, 25, 27, .08), 0 30px 50px -22px rgba(20, 25, 27, .45); }
.sdg .sdg__art figcaption { position: absolute; left: 12px; bottom: 10px; padding: 3px 8px; border-radius: 3px; background: rgba(255, 255, 255, .92); color: var(--sdg-muted); font-size: .75rem; font-style: normal; line-height: 1.4; }

@media (max-width: 960px) { .sdg__panel { grid-template-columns: minmax(0, 1fr); } .sdg__art { min-height: 340px; } }
@media (max-width: 560px) { .sdg .sdg__list { grid-template-columns: minmax(0, 1fr); } .sdg .sdg__cta .sdg__btn { flex: 1 1 auto; justify-content: center; } .sdg__panel { border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .sdg *, .sdg *::before { transition: none !important; } }

/* Phones: the main link full width, the catalog and libraries side by side */
@media (max-width: 560px) {
	.sdg .sdg__cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
	.sdg .sdg__cta .sdg__btn:first-child { grid-column: 1 / -1; }
	.sdg .sdg__cta .sdg__btn, .sdg .sdg__cta .sdg__btn:hover, .sdg .sdg__cta .sdg__btn:focus { min-width: 0; padding: 0 8px; font-size: .875rem; line-height: 1.2; text-align: center; white-space: normal; justify-content: center; }
	.sdg .sdg__cta .sdg__btn--line svg:first-child { display: none; }
}