/* Forecast card in the event detail sidebar. Images are decorative; data stays HTML. */
body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather {
  width:100%; max-width:100%; min-width:0; margin:0; padding:0 14px 16px;
  overflow:hidden; box-sizing:border-box; border:1px solid #c5c5c5; border-radius:20px;
  background:#f8f8f7; color:#182028; box-shadow:0 10px 24px rgba(0,0,0,.13);
  font-family:'Manrope',Arial,sans-serif; container-type:inline-size;
}
body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather > h3 {
  display:flex; align-items:center; justify-content:center; gap:8px;
  min-height:88px; margin:0 -14px 0!important; padding:12px 8px 0!important;
  background:linear-gradient(180deg,rgba(255,250,244,.16) 0%,rgba(255,250,244,.82) 64%,#fffaf4 100%),url('/plugins/extend/grdesign_events/public/images/event-detail-fb66a5f02015a2dc.jpg') center 78%/cover;
  color:#172029!important; text-align:center!important; text-shadow:none!important;
  font:400 35px/1 'Cal Sans','Manrope',Arial,sans-serif!important;
}
.grde-sidebox--weather > h3::before { content:'☀'; font:normal 35px/1 Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__subtitle {
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin:0 -14px 14px; padding:0 10px 14px; background:#f8f8f7;
  color:#5a646b; text-align:center; font-size:11px; line-height:1.35;
}
.grde-sidebox--weather .grde-weather__subtitle::before,.grde-sidebox--weather .grde-weather__subtitle::after {
  content:''; height:1px; flex:1; background:#b9c0c4;
}
.grde-sidebox--weather .grde-weather__section { margin:0 0 20px; }
.grde-sidebox--weather .grde-weather__local-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:11px; }
.grde-sidebox--weather .grde-weather__local-heading h4 { margin:0!important; }
.grde-sidebox--weather .grde-weather__event-pill { flex:none; padding:6px 9px; border:1px solid #c5c9cc; border-radius:999px; background:rgba(255,255,255,.75); color:#343d44; font:600 11px/1.2 'Manrope',Arial,sans-serif; white-space:nowrap; }
.grde-sidebox--weather .grde-weather__event-pill[hidden] { display:none!important; }
.grde-sidebox--weather .grde-weather__section+.grde-weather__section {
  margin:0 -14px; padding:17px 14px 0; border-top:1px solid #c9cdd0;
  background:linear-gradient(90deg,#f8f8f7 48%,rgba(248,248,247,.78)),
    url('/plugins/extend/grdesign_events/public/images/event-detail-fb66a5f02015a2dc.jpg') right top/auto 88px no-repeat;
}
body.is-grde-events-page .grde-page--detail .grde-sidebox--weather .grde-weather__section h4 {
  display:flex; align-items:center; margin:0 0 11px!important;
  color:#172029!important; text-align:left!important; text-shadow:none!important;
  font:400 21px/1.15 'Cal Sans','Manrope',Arial,sans-serif!important;
}
.grde-sidebox--weather .grde-weather__section:first-of-type h4::before { content:'⌖'; margin-right:7px; font:normal 24px/1 Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__section:nth-of-type(2) h4::before { content:'◇'; margin-right:7px; font:normal 24px/1 Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__hint { margin:0 0 8px; color:#647078; font-size:11px; line-height:1.4; }
.grde-sidebox--weather .grde-weather__days,.grde-sidebox--weather .grde-weather__regions {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px;
}
.grde-sidebox--weather .grde-weather__day {
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:'date icon' 'description temp'; align-items:center;
  min-width:0; min-height:66px; gap:2px 5px; padding:9px 10px;
  border:1px solid #c4c9cc; border-radius:11px;
  background:linear-gradient(110deg,#fff,#e8edef); color:#172029;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
}
.grde-sidebox--weather .grde-weather__day strong { grid-area:date; min-width:0; font:400 17px/1.15 'Cal Sans','Manrope',Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__day span { grid-area:description; color:#5d6870; font-size:11px; }
.grde-sidebox--weather .grde-weather__day b { grid-area:temp; justify-self:end; white-space:nowrap; font:700 12px/1.15 'Manrope',Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__icon { grid-area:icon; color:#465158; font:normal 27px/1 Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__icon svg { display:block; width:1em; height:1em; }
.grde-sidebox--weather .grde-weather__day--featured {
  grid-template-columns:minmax(0,1fr) 42px auto; min-height:112px; margin-bottom:10px; padding:12px 10px;
  overflow:hidden; border-color:#a7adb1;
  background:linear-gradient(90deg,rgba(43,51,57,.92) 0%,rgba(83,92,98,.92) 44%,rgba(246,247,247,.94) 55%,rgba(245,246,246,.9) 100%),
    url('/plugins/extend/grdesign_events/public/images/event-detail-fb66a5f02015a2dc.jpg') center 68%/cover;
}
.grde-sidebox--weather .grde-weather__day--featured strong { color:#fff; font-size:22px; }
.grde-sidebox--weather .grde-weather__day--featured span { color:#fff; font-size:12px; }
.grde-sidebox--weather .grde-weather__day--featured b { font-size:16px; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__icon { font-size:40px; }
.grde-sidebox--weather .grde-weather__day--region {
  grid-template-columns:minmax(0,1fr) auto; min-height:82px; padding-left:66px; overflow:hidden;
}
.grde-sidebox--weather .grde-weather__day--region::before {
  content:''; position:absolute; inset:0 auto 0 0; width:58px; border-right:1px solid #c4c9cc;
  --grde-city-sprite:url(/plugins/extend/grdesign_events/public/images/event-detail-53f35f95f6ef16a0.jpg); background-image:var(--grde-city-sprite);
  background-size:200% 200%; background-position:left top;
}
.grde-sidebox--weather .grde-weather__day--region:nth-child(2)::before { background-position:right top; }
.grde-sidebox--weather .grde-weather__day--region:nth-child(3)::before { background-position:left bottom; }
.grde-sidebox--weather .grde-weather__day--region:nth-child(4)::before { background-position:right bottom; }
.grde-sidebox--weather .grde-weather__day--region strong { font-size:16px; }
.grde-sidebox--weather .grde-weather__city { display:none; }
.grde-sidebox--weather .grde-weather__source { margin:17px 0 0; padding:11px 3px 0; border-top:1px solid #ccd1d4; color:#5c6870; font-size:11px; }
.grde-sidebox--weather .grde-weather__source a { color:inherit; text-decoration:underline; }
@container (max-width:390px) {
  .grde-weather__days,.grde-weather__regions { grid-template-columns:1fr; }
}
/* Match the event calendar palette and the reference's angled featured strip. */
body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather {
  border-color:#ddc9ae; background:#fffaf4; color:#1d2b35;
}
body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather > h3 { color:#1d2b35!important; }
.grde-sidebox--weather > h3::before,
.grde-sidebox--weather .grde-weather__section:first-of-type h4::before,
.grde-sidebox--weather .grde-weather__section:nth-of-type(2) h4::before { color:#ed8500; }
.grde-sidebox--weather .grde-weather__subtitle { background:#fffaf4; }
.grde-sidebox--weather .grde-weather__event-pill { border-color:#e8bd82; background:#fff4e4; color:#865017; }
.grde-sidebox--weather .grde-weather__day { border-color:#dfd1c0; background:linear-gradient(120deg,#fff,#f7f0e7); }
.grde-sidebox--weather .grde-weather__icon { color:#c87313; }
.grde-sidebox--weather .grde-weather__day--featured { isolation:isolate; border-color:#df9a3d; }
.grde-sidebox--weather .grde-weather__day--featured::before {
  content:''; position:absolute; z-index:0; inset:0 auto 0 0; width:45%;
  background:linear-gradient(120deg,#e66f00,#ffab20);
  clip-path:polygon(0 0,100% 0,88% 100%,0 100%);
}
.grde-sidebox--weather .grde-weather__day--featured strong,
.grde-sidebox--weather .grde-weather__day--featured span,
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__icon,
.grde-sidebox--weather .grde-weather__day--featured b { position:relative; z-index:1; }
.grde-sidebox--weather .grde-weather__day--featured strong { font-size:24px; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__icon { color:#e68100; }
.grde-sidebox--weather .grde-weather__day--featured b { padding-left:8px; border-left:1px solid #d4954d; color:#1d2b35; }
.grde-sidebox--weather .grde-weather__day--region::before { border-color:#dccbb5; }
.grde-sidebox--weather .grde-weather__source a { color:#be6500; }
html:not([data-gr-theme="light"]) body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather {
  border-color:#454b50; background:#1c2226; color:#f3f5f6;
}
html:not([data-gr-theme="light"]) body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather > h3 { color:#f3f5f6!important; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__subtitle { background:#1c2226; color:#c2cbd0; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__section h4 { color:#f3f5f6!important; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__hint { color:#bac4ca; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__day:not(.grde-weather__day--featured) {
  border-color:#495258; background:linear-gradient(120deg,#2b3338,#222a2e); color:#f3f5f6;
}
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__day span { color:#c6ced2; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__day--featured b { color:#19232b; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__source { color:#bbc5ca; }
/* Revised heading, featured day and rotating regional capitals. */
body.is-grde-events-page .grde-page--detail .grde-detail__aside > .grde-sidebox--weather > h3 {
  font:400 clamp(42px,5vw,58px)/1 'Cal Sans','Manrope',Arial,sans-serif!important;
  text-shadow:0 0 5px #fffaf4,0 0 15px #fffaf4,0 0 30px #fffaf4!important;
}
.grde-sidebox--weather > h3::before { display:none!important; }
.grde-sidebox--weather .grde-weather__day--featured {
  grid-template-columns:43% 17% minmax(0,1fr);
  grid-template-rows:auto auto;
  grid-template-areas:'date icon temp' 'description icon temp';
  align-items:center; min-height:108px; padding:13px 13px; column-gap:5px;
}
.grde-sidebox--weather .grde-weather__day--featured::before { width:47%; }
.grde-sidebox--weather .grde-weather__day--featured strong { align-self:end; font-size:clamp(19px,2.6vw,28px); line-height:1.05; white-space:nowrap; }
.grde-sidebox--weather .grde-weather__day--featured span { align-self:start; font-size:13px; font-weight:700; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__icon { justify-self:center; align-self:center; font-size:clamp(32px,4vw,46px); }
.grde-sidebox--weather .grde-weather__day--featured b { justify-self:end; align-self:center; padding:0; border:0; font:400 clamp(16px,2vw,23px)/1 'Cal Sans','Manrope',Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__regions { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.grde-sidebox--weather .grde-weather__region-slot { min-width:0; transition:opacity .24s ease,transform .24s ease; }
.grde-sidebox--weather .grde-weather__region-slot.is-changing { opacity:0; transform:translateY(5px); }
.grde-sidebox--weather .grde-weather__day--region {
  grid-template-columns:minmax(0,1fr) auto; grid-template-areas:'date icon' 'description temp';
  width:100%; min-height:126px; padding:51px 8px 9px; gap:3px 4px;
  transition:opacity .45s ease,transform .45s ease;
}
.grde-sidebox--weather .grde-weather__day--region.is-entering { opacity:0; transform:translateY(7px); }
.grde-sidebox--weather .grde-weather__day--region::before {
  inset:0 0 auto; width:100%; height:43px; border-right:0; border-bottom:1px solid #dccbb5;
  background-color:#d9d9d9; background-image:linear-gradient(150deg,#e9e9e9,#a6a6a6);
  background-size:cover; background-position:center;
}
.grde-sidebox--weather .grde-weather__day--region[data-city="Praha"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Plzeň"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Brno"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Ostrava"]::before {
  background-image:var(--grde-city-sprite); background-size:200% 200%;
}
.grde-sidebox--weather .grde-weather__day--region[data-city="Praha"]::before { background-position:left top; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Plzeň"]::before { background-position:right top; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Brno"]::before { background-position:left bottom; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Ostrava"]::before { background-position:right bottom; }
.grde-sidebox--weather .grde-weather__day--region .grde-weather__city {
  display:block; left:50%; top:0; bottom:auto; width:54px; height:42px; transform:translateX(-50%); color:#525960;
}
.grde-sidebox--weather .grde-weather__day--region[data-city="Praha"] .grde-weather__city,
.grde-sidebox--weather .grde-weather__day--region[data-city="Plzeň"] .grde-weather__city,
.grde-sidebox--weather .grde-weather__day--region[data-city="Brno"] .grde-weather__city,
.grde-sidebox--weather .grde-weather__day--region[data-city="Ostrava"] .grde-weather__city { display:none; }
.grde-sidebox--weather .grde-weather__day--region strong { font-size:clamp(12px,1.4vw,16px); overflow-wrap:anywhere; }
.grde-sidebox--weather .grde-weather__day--region span { font-size:11px; }
.grde-sidebox--weather .grde-weather__day--region b { font-size:10px; }
.grde-sidebox--weather .grde-weather__day--region .grde-weather__icon { font-size:22px; }
@container (max-width:430px) {
  .grde-sidebox--weather .grde-weather__regions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:300px) {
  .grde-sidebox--weather .grde-weather__regions { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .grde-sidebox--weather .grde-weather__day--region,
  .grde-sidebox--weather .grde-weather__region-slot { transition:none; }
}
/* Individual monochrome thumbnails for the remaining regional capitals. */
.grde-sidebox--weather .grde-weather__day--region { --grde-regional-sprite:url(/plugins/extend/grdesign_events/public/images/event-detail-d171059aab6e2e9d.jpg); }
.grde-sidebox--weather .grde-weather__day--region[data-city="České Budějovice"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Karlovy Vary"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Ústí nad Labem"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Liberec"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Hradec Králové"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Pardubice"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Jihlava"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Olomouc"]::before,
.grde-sidebox--weather .grde-weather__day--region[data-city="Zlín"]::before {
  background-image:var(--grde-regional-sprite); background-size:300% 300%;
}
.grde-sidebox--weather .grde-weather__day--region[data-city="České Budějovice"]::before { background-position:0% 0%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Karlovy Vary"]::before { background-position:50% 0%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Ústí nad Labem"]::before { background-position:100% 0%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Liberec"]::before { background-position:0% 50%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Hradec Králové"]::before { background-position:50% 50%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Pardubice"]::before { background-position:100% 50%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Jihlava"]::before { background-position:0% 100%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Olomouc"]::before { background-position:50% 100%; }
.grde-sidebox--weather .grde-weather__day--region[data-city="Zlín"]::before { background-position:100% 100%; }
.grde-sidebox--weather .grde-weather__day--region .grde-weather__city { display:none!important; }

.grde-sidebox--weather .grde-weather__place { margin:0 0 12px; color:#5d6870; font:500 13px/1.4 'Manrope',Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__place strong { color:#1d2b35; font-weight:700; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__place { color:#b8c1c7; }
html:not([data-gr-theme="light"]) .grde-sidebox--weather .grde-weather__place strong { color:#f3f5f6; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__temperatures { display:flex; flex-direction:column; align-items:flex-end; justify-self:end; gap:8px; min-width:0; white-space:normal; text-align:right; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__temperatures > span { display:flex; flex-direction:column; align-items:flex-end; align-self:flex-end; grid-area:auto; color:#1d2b35; white-space:nowrap; text-align:right; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__temperatures > span > span { align-self:flex-end; grid-area:auto; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__temperatures small { color:#676767; font:600 12px/1.1 'Manrope',Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__temperature-low > span { color:#1d2b35; font:700 14px/1.1 'Manrope',Arial,sans-serif; }
.grde-sidebox--weather .grde-weather__day--featured .grde-weather__temperature-high > span { color:#1d2b35; font:400 clamp(18px,2vw,25px)/1.05 'Cal Sans','Manrope',Arial,sans-serif; }
@media (max-width:767px) {
  .grde-sidebox--weather .grde-weather__section--regions { display:none!important; }
}
