.portal-event[hidden],.editorial-news[hidden]{display:none!important}.portal-event{display:flex;align-items:center;gap:16px;padding:14px 18px;margin:12px 0 18px;border:1px solid #638b6c88;border-radius:8px;background:linear-gradient(110deg,#24534333,var(--panel));min-width:0}.portal-event>img{width:58px;height:58px;object-fit:contain;flex:none}.portal-event-copy{min-width:0;flex:1}.portal-event h2{font:23px/1.25 Georgia;margin:4px 0}.portal-event p{font-size:13px;line-height:1.6;margin:5px 0;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.portal-event .portal-kicker{font-size:9px}.portal-event>.portal-button{flex:none;font-size:12px;min-height:38px;padding:8px 12px}.editorial-news{margin:0 0 24px;min-width:0}.editorial-news>h2{font:24px Georgia;margin:6px 0 14px}.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editorial-card{padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--panel);min-width:0;overflow-wrap:anywhere}.editorial-card>img{width:100%;height:125px;object-fit:cover;border-radius:5px;margin-bottom:8px}.editorial-card h3{font:21px/1.3 Georgia;margin:8px 0 12px}.editorial-meta{font-size:10px;color:var(--muted);margin:0}.editorial-summary{font-size:13px;line-height:1.6;color:var(--muted);white-space:pre-line}.editorial-card summary{cursor:pointer;color:var(--gold);font-size:12px;padding:8px 0}.editorial-body{white-space:pre-wrap;font-size:13px;line-height:1.8;border-top:1px solid var(--line);padding-top:12px}.editorial-news>.portal-button{margin-top:12px}@media(max-width:600px){.portal-event{padding:12px;gap:10px;flex-wrap:wrap}.portal-event>img{width:40px;height:40px}.portal-event h2{font-size:20px}.portal-event p{font-size:12px}.portal-event>.portal-button{margin-left:auto}.editorial-grid{grid-template-columns:1fr}.editorial-card{padding:13px}.editorial-card h3{font-size:20px}}
.editorial-card:only-child{grid-column:1/-1}

/* Event artwork uses the full banner; item illustrations keep their small icon layout. */
.portal-event:has(>img[src^="/img/events/"]){position:relative;isolation:isolate;overflow:hidden;min-height:104px;padding:12px 16px;background:#121714;border-color:#688b6a99;color:#f1ece1}
.portal-event>img[src^="/img/events/"]{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.portal-event:has(>img[src^="/img/events/"]):before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0c1413e8 0%,#0c1413b8 48%,#0c141338 100%);pointer-events:none}
.portal-event:has(>img[src^="/img/events/"]) .portal-event-copy{max-width:100%}
.portal-event:has(>img[src^="/img/events/"]) h2{font-size:22px;color:#f3eee3}
.portal-event:has(>img[src^="/img/events/"]) p{color:#d1d4c8}
.portal-event:has(>img[src^="/img/events/"]) .portal-kicker{color:#dfc395}
.portal-event:has(>img[src^="/img/events/"])>.portal-button{margin-left:auto;background:#1b705b;color:white;border-color:#58a68b;box-shadow:0 2px 12px #0004}
@media(max-width:600px){
 .portal-event:has(>img[src^="/img/events/"]){min-height:100px;padding:11px 13px;gap:12px;align-content:center}
 .portal-event:has(>img[src^="/img/events/"]) .portal-event-copy{max-width:100%;flex-basis:auto}
 .portal-event:has(>img[src^="/img/events/"]) h2{font-size:20px}
 .portal-event>img[src^="/img/events/"]{object-position:68% center}
 .portal-event:has(>img[src^="/img/events/"]):before{background:linear-gradient(90deg,#0c1413ec,#0c1413af 70%,#0c14135c)}
 .portal-event:has(>img[src^="/img/events/"])>.portal-button{margin-left:0}
}
.portal-events[hidden]{display:none!important}
.portal-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0;min-width:0}
.portal-events:not([hidden])+#tibia-dzis{margin-top:0}
.portal-events .portal-event{margin:0;min-height:104px;padding:12px 16px;gap:12px;box-sizing:border-box}
.portal-events .portal-event:only-child{grid-column:1/-1}
.portal-events .portal-event .portal-event-copy{max-width:none}
.portal-events .portal-event h2{font-size:22px;line-height:1.2;margin:3px 0;overflow-wrap:anywhere}
.portal-events .portal-event p{font-size:12px;line-height:1.4;margin:4px 0}
.portal-events .portal-event>.portal-button{font-size:11px;min-height:32px;padding:6px 10px;margin-left:auto}
.portal-event-countdown{display:inline-block;margin-top:5px;padding:3px 7px;border:1px solid #c5b07c66;border-radius:4px;background:#091813ba;color:#f0d9a5;font:600 11px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:700px){.portal-events{grid-template-columns:1fr;gap:8px;margin-bottom:10px}.portal-events .portal-event{min-height:100px;padding:11px 13px;flex-wrap:nowrap;align-items:center}.portal-events .portal-event .portal-event-copy{flex-basis:auto;min-width:0}.portal-events .portal-event h2{font-size:20px}.portal-events .portal-event p{font-size:11px}.portal-events .portal-event>.portal-button{max-width:90px;white-space:normal;text-align:center}.portal-events .portal-kicker{font-size:8px}}
