/* Project details share the event sections, typography and full-width glow layers. */
.dre-project { color: var(--dre-text); }
.dre-project .dres-section__inner { padding-top: 80px; padding-bottom: 80px; }
.dre-project__hero { background: #fff; --dre-glow-opacity: .13; }
.dre-project .dre-project__hero-inner { padding-top: 48px; }
.dre-project__back { display: inline-flex; align-items: center; gap: 10px; color: var(--dre-text); text-decoration: none; font-size: 16px; margin-bottom: 40px; transition: color .2s ease; }
.dre-project__back:hover { color: var(--dre-pink); text-decoration: none; }
.dre-project__back > .dre-button-icon,
.dre-project__button--back > .dre-button-icon { transform: rotate(180deg); }
.dre-project__hero .dres-programm__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.dre-project__edition { display: inline-block; padding: 5px 12px; border: 1px solid var(--dre-border); border-radius: 33px; background: #fff; color: var(--dre-pink); font-size: 14px; font-weight: 700; line-height: 1.3; }
.dre-project .dre-project__title { max-width: 100%; width: fit-content; margin: 0 0 var(--dre-title-content-gap); font-size: clamp(32px, 4.5vw, 64px); line-height: 1.12; overflow-wrap: anywhere; }
.dre-project__company { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; font-weight: 400; margin: 0; }
.dre-project__lead { max-width: 760px; margin: 16px 0 0; font-weight: 300; }
.dre-project__overview { --dre-glow-opacity: .09; }
.dre-project .dres-speakers__heading { color: var(--dre-text); margin: 0 0 var(--dre-title-content-gap); }
.dre-project__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.dre-project__grid > * { min-width: 0; }
.dre-project .dre-project__copy { margin-top: 0; overflow-wrap: anywhere; font-weight: 300; }
.dre-project__copy > :last-child { margin-bottom: 0; }
.dre-project__copy p { margin: 0 0 24px; }
.dre-project__copy h3 { font-size: 24px; font-weight: 700; line-height: 1.3; margin: 36px 0 20px; }
.dre-project__copy ul, .dre-project__copy ol { margin: 0 0 24px 22px; }
.dre-project__copy li + li { margin-top: 10px; }
.dre-project__copy a { color: var(--dre-pink); text-decoration: underline; text-underline-offset: 3px; }
.dre-project__copy a:hover { text-decoration-thickness: 2px; }
.dre-project__figure { margin: 0; }
.dre-project__image { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #f5f5f5; border: 1px solid var(--dre-border); border-radius: 24px; }
.dre-project__figure figcaption { color: #686868; font-size: 14px; font-weight: 300; line-height: 1.5; margin-top: 12px; overflow-wrap: anywhere; }
.dre-project__image-placeholder { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 24px; background: #111; color: #fff; --dre-glow-opacity: .55; }
.dre-project__image-placeholder > span { position: relative; padding: 24px; }
.dre-project__facts { margin: 28px 0 0; }
.dre-project__facts > div + div { margin-top: 16px; }
.dre-project__facts dt { font-weight: 700; margin: 0 0 4px; }
.dre-project__facts dd { font-weight: 300; margin: 0; overflow-wrap: anywhere; }
.dre-project a.dre-project__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; margin-top: 28px; border: 1px solid var(--dre-pink); border-radius: 33px; background: transparent; color: var(--dre-pink); font-weight: 400; line-height: 1.4; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.dre-project a.dre-project__button:hover { color: #fff; background: var(--dre-pink); text-decoration: none; }
.dre-project a:focus-visible { outline: 2px solid var(--dre-pink); outline-offset: 5px; }
.dre-project__navigation { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--dre-border); }
.dre-project__navigation a.dre-project__button { margin: 0; }
@media (min-width: 992px) {
    .dre-project__media { position: sticky; top: calc(var(--dre-header-offset) + var(--dre-admin-bar-height) + 24px); }
}
@media (max-width: 991px) {
    .dre-project__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .dre-project__media { order: -1; }
    .dre-project__image { max-height: 460px; }
}
@media (max-width: 575px) {
    .dre-project .dres-section__inner { padding-top: 48px; padding-bottom: 48px; }
    .dre-project .dre-project__hero-inner { padding-top: 24px; }
    .dre-project__back { margin-bottom: 28px; }
    .dre-project__hero .dres-programm__eyebrow { gap: 10px; }
    .dre-project__image { max-height: 360px; }
    .dre-project__navigation { margin-top: 40px; }
    .dre-project__navigation a.dre-project__button { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .dre-project a { transition: none; }
}
/* A browser-native modal with a reversible image zoom; ordinary links work without JS. */
.dre-project__image-link { display: block; border-radius: 24px; cursor: zoom-in; }
.dre-project__image-link:focus-visible { outline: 2px solid var(--dre-pink); outline-offset: 5px; }
html.dre-project-zoom-open { overflow: hidden; }
html.dre-project-zoom-open body { overflow: hidden; box-sizing: border-box; padding-right: calc(var(--dre-project-zoom-scrollbar, 0px) + var(--dre-project-zoom-padding, 0px)); }
.dre-project-lightbox { position: fixed; inset: 0; width: 100vw; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; overscroll-behavior: contain; }
.dre-project-lightbox::backdrop { background: transparent; }
.dre-project-lightbox__shade { position: absolute; inset: 0; background: rgb(12 12 12 / .88); cursor: zoom-out; }
.dre-project-lightbox__image { position: absolute; display: block; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 20px 80px rgb(0 0 0 / .28); transform-origin: 0 0; user-select: none; }
body .dre-project-lightbox__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #777; border-radius: 50%; background: #151515; color: #fff; cursor: pointer; line-height: 1; box-shadow: none; transition: background-color .2s ease, border-color .2s ease; }
body .dre-project-lightbox__close:hover { border-color: var(--dre-pink); background: var(--dre-pink); color: #fff; }
body .dre-project-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.dre-project-lightbox__close svg { display: block; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    body .dre-project-lightbox__close { transition: none; }
}
/* Keep project website and optional documents on separate lines. */
.dre-project__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.dre-project .dre-project__actions .dre-project__button { margin-top: 0; max-width: 100%; }
.dre-project__actions .gb-button-text { overflow-wrap: anywhere; }
.dre-project__actions .dre-button-icon { flex-shrink: 0; }
.dre-project__actions:empty { display: none; }
