/* Remaining activity detail pages use the established promotion design. */
.event-hero{display:grid;grid-template-columns:minmax(0,1fr);position:relative;isolation:isolate;min-height:310px;overflow:hidden;border:1px solid #316b46;border-radius:11px;background:#06351f url('../assets/game-category-background.optimized.webp') center/cover}
.event-hero-copy{grid-area:1/1;position:relative;z-index:1;align-self:center;justify-self:right;width:44%;box-sizing:border-box;margin:0 3% 0 0;padding:25px 0;direction:ltr;text-align:left}
.event-hero h1{color:#fff2bd;font-size:28px;line-height:1.8;margin:13px 0 19px;overflow-wrap:break-word}
.event-hero-art{grid-area:1/1;align-self:center;justify-self:left;display:block;width:48%;height:auto;max-height:270px;object-fit:contain;margin:24px 0 24px 3%;border-radius:10px;box-shadow:0 7px 20px #00170c33}
.event-download{display:inline-flex;align-items:center;justify-content:center;min-width:215px;min-height:46px;box-sizing:border-box;padding:10px 19px;line-height:1.8;font-size:13px;text-align:center;white-space:normal}
.promotion-event-page .code-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:0 28px;align-items:center;direction:ltr}
.promotion-event-page #code-about-title{grid-column:1;grid-row:1;align-self:end;margin-bottom:15px}
.promotion-event-page .code-about-content{grid-column:1;grid-row:2;align-self:start;min-width:0}
.promotion-event-page .code-about-art{grid-column:2;grid-row:1/3;align-self:center;min-width:0}
.promotion-event-page .code-about-image{width:100%;max-width:none;height:auto;margin:0;border-radius:10px}
.promotion-event-page .code-reward-table{max-width:100%}
@media(max-width:800px){.promotion-event-page .code-overview{display:flex;flex-direction:column;gap:18px}.promotion-event-page #code-about-title{order:0;width:100%;margin:0}.promotion-event-page .code-about-art{order:1;width:100%}.promotion-event-page .code-about-content{order:2;width:100%}}
@media(max-width:600px){.event-hero{min-height:0;grid-template-rows:minmax(180px,auto) auto;border-radius:10px}.event-hero-copy{display:contents}.event-hero-copy>.reward-active{position:absolute;right:3%;top:11px;font-size:8px;padding:2px 7px}.event-hero h1{grid-area:1/1;align-self:center;justify-self:right;box-sizing:border-box;width:45%;margin:0 3% 0 0;padding:31px 0 10px;font-size:clamp(14px,3.8vw,21px);line-height:1.8}.event-hero-art{grid-area:1/1;width:47%;height:auto;max-height:155px;margin:21px 0 15px 3%;border-radius:7px}.event-download{grid-column:1;grid-row:2;justify-self:center;width:calc(100% - 30px);min-width:0;min-height:46px;margin:10px 15px 17px;font-size:13px;padding:10px 13px}.promotion-event-page .code-overview{padding:18px 14px}.promotion-event-page .code-reward-table th,.promotion-event-page .code-reward-table td{font-size:12px;line-height:1.85;overflow-wrap:anywhere}}
@media(max-width:360px){.event-hero h1{font-size:13px}.event-hero-art{max-height:145px}.event-download{font-size:12px}}

.event-full-banner{min-height:0;background:#06351f;grid-template-rows:auto}.event-full-banner .event-hero-art{grid-area:1/1;width:100%;height:auto;max-height:none;aspect-ratio:1916/821;object-fit:contain;margin:0;border-radius:0;box-shadow:none}.event-full-banner .event-hero-copy{width:43%;margin-right:3%;padding:20px 0}.event-full-banner h1{color:#fff;text-shadow:0 1px 4px #063b1a70}@media(max-width:600px){.event-full-banner{grid-template-rows:auto auto}.event-full-banner .event-hero-copy{display:contents}.event-full-banner .event-hero-copy>.reward-active{right:3%;top:9px}.event-full-banner h1{grid-area:1/1;width:43%;margin:0 3% 0 0;padding:23px 0 7px;font-size:clamp(12px,3.5vw,19px);line-height:1.75}.event-full-banner .event-hero-art{width:100%;height:auto;max-height:none;margin:0;object-fit:contain}.event-full-banner .event-download{grid-area:2/1}}
/* Full-banner artwork must remain behind the heading when its wrapper uses display:contents. */
.event-full-banner .event-hero-art{position:relative;z-index:0}.event-full-banner .event-hero-copy{z-index:2}.event-full-banner h1{position:relative;z-index:2;visibility:visible;opacity:1}.event-full-banner .event-hero-copy>.reward-active{z-index:3}.event-full-banner .event-download{position:relative;z-index:2}
