/* RoboMorrow Halloween Edition 1.0.0. Every rule is scoped to the target post. */
body.rm-halloween-special {
  --rmhw-paper: #fffaf3;
  --rmhw-ink: #241c17;
  --rmhw-line: #dfb88d;
  --rmhw-orange: #ce571f;
  --rmhw-label: "HALLOWEEN 2026\a ROBO/MORROW PO ZMROKU";
  background: #f4dec0;
}
html[lang^="en"] body.rm-halloween-special {
  --rmhw-label: "HALLOWEEN 2026\a ROBO/MORROW AFTER DARK";
}
body.rm-halloween-special .site-header {
  background: #fff9ef;
  border-bottom-color: #bc793f;
}
body.rm-halloween-special .rm-nav-shell {
  border-top-color: #ddc7a8;
  box-shadow: 0 3px 0 #e7934e;
}
body.rm-halloween-special #main {
  position: relative;
  isolation: isolate;
  background: linear-gradient(90deg, #f2d9b8 0%, #faedda 21%, #fff8ec 50%, #faedda 79%, #f2d9b8 100%);
}
body.rm-halloween-special #main::before,
body.rm-halloween-special #main::after {
  content: "";
  position: absolute;
  top: 0;
  width: min(18vw, 250px);
  height: min(18vw, 250px);
  background: url("corner-web.svg") left top / contain no-repeat;
  opacity: .52;
  pointer-events: none;
  z-index: 0;
}
body.rm-halloween-special #main::before { left: 0; }
body.rm-halloween-special #main::after { right: 0; transform: scaleX(-1); }
body.rm-halloween-special .rm-single {
  position: relative;
  z-index: 1;
  padding-top: 52px;
}
body.rm-halloween-special .rm-single-header {
  position: relative;
  width: min(100%, 1120px);
  min-height: 250px;
  padding-right: 210px;
  margin: 0 auto 32px;
}
body.rm-halloween-special .rm-single-header::before {
  content: var(--rmhw-label);
  display: table;
  white-space: pre-line;
  padding: 12px 20px 12px 17px;
  margin-bottom: 25px;
  border-left: 5px solid #ff934f;
  border-radius: 2px 8px 8px 2px;
  background: #251d22;
  color: #ffe8c9;
  font: 750 11px/1.6 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 1.8px;
}
body.rm-halloween-special .rm-single-header::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 175px;
  top: 76px;
  right: -4px;
  background: url("pumpkin.svg") center / contain no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 13px 12px rgba(143, 67, 18, .12));
}
body.rm-halloween-special .rm-single-header .rm-kicker {
  color: #964418;
  font-size: 11px;
}
body.rm-halloween-special .rm-single-header h1 {
  color: var(--rmhw-ink);
  text-wrap: balance;
}
body.rm-halloween-special .rm-single-meta { color: #79563d; }
body.rm-halloween-special .rm-single > .rm-container > .rm-featured {
  display: block;
  width: min(100%, 1120px);
  max-height: none;
  height: auto;
  object-fit: contain;
  margin: 0 auto 36px;
  border: 10px solid var(--rmhw-paper);
  box-shadow: 0 18px 48px rgba(105, 62, 25, .12);
}
body.rm-halloween-special .rm-halloween-article {
  position: relative;
  max-width: 924px !important;
  padding: 36px 41px 42px;
  border: 1px solid #e6c8a2;
  border-radius: 18px;
  background: var(--rmhw-paper);
  box-shadow: 0 14px 44px rgba(116, 72, 28, .07);
}
body.rm-halloween-special .rm-halloween-article::before,
body.rm-halloween-special .rm-halloween-article::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
body.rm-halloween-special .rm-halloween-article::before {
  left: -133px;
  top: 0;
  width: 84px;
  height: 315px;
  background: url("hanging-spider.svg") center / contain no-repeat;
}
body.rm-halloween-special .rm-halloween-article::after {
  right: -170px;
  bottom: 110px;
  width: 140px;
  height: 123px;
  background: url("pumpkin.svg") center / contain no-repeat;
}
body.rm-halloween-special .rm-halloween-intro {
  background: #251e27 !important;
  border-color: #4e3743 !important;
  border-top-color: #ff934f !important;
  border-radius: 12px !important;
}
body.rm-halloween-special .rm-halloween-article a {
  color: #9a4015;
  text-decoration-thickness: 1px;
}
body.rm-halloween-special .rm-halloween-project {
  position: relative;
  margin-top: 42px !important;
  padding-top: 34px !important;
  border-top: 1px solid #d8a36d !important;
  scroll-margin-top: 25px;
}
body.rm-halloween-special .rm-halloween-project::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 42px;
  height: 36px;
  background: var(--rmhw-paper) url("pumpkin.svg") center / 36px auto no-repeat;
  box-shadow: 8px 0 0 var(--rmhw-paper);
  pointer-events: none;
}
body.rm-halloween-special .rm-halloween-project h2 { color: #2a211b; }
body.rm-halloween-special .rm-halloween-article [role="navigation"] a {
  background: #fff2df !important;
  border-color: #e4c29a !important;
}
body.rm-halloween-special .rm-halloween-article .rmav {
  border-color: #dec4a7;
  box-shadow: 0 8px 24px rgba(96, 54, 19, .06);
}
body.rm-halloween-special .rm-halloween-article .rmav-caption { background: #fffdf9; }
body.rm-halloween-special .rm-halloween-article details { border-color: #e0c4a0 !important; }
body.rm-halloween-special .rm-halloween-article summary::marker { color: #bf501c; }
body.rm-halloween-special .rm-halloween-article a:focus-visible,
body.rm-halloween-special .rm-halloween-article summary:focus-visible {
  outline: 3px solid #bb4a13;
  outline-offset: 4px;
}

@media (min-width: 1201px) {
  body.rm-halloween-special .rm-entry { overflow: visible; }
}
@media (max-width: 1200px) {
  body.rm-halloween-special .rm-halloween-article::before,
  body.rm-halloween-special .rm-halloween-article::after { display: none; }
  body.rm-halloween-special .rm-single-header { padding-right: 164px; }
  body.rm-halloween-special .rm-single-header::after { width: 150px; height: 132px; top: 95px; right: 0; }
}
@media (max-width: 760px) {
  body.rm-halloween-special #main::before,
  body.rm-halloween-special #main::after { width: 105px; height: 105px; opacity: .32; }
  body.rm-halloween-special .rm-single { padding-top: 34px; }
  body.rm-halloween-special .rm-single-header { min-height: 0; padding-right: 0; margin-bottom: 26px; }
  body.rm-halloween-special .rm-single-header::before {
    max-width: calc(100% - 94px);
    font-size: 9px;
    letter-spacing: 1.1px;
    padding: 10px 12px;
    margin-bottom: 24px;
  }
  body.rm-halloween-special .rm-single-header::after { width: 84px; height: 74px; top: -9px; right: 0; }
  body.rm-halloween-special .rm-single-header h1 { font-size: clamp(29px, 8vw, 40px); line-height: 1.12; }
  body.rm-halloween-special .rm-single > .rm-container > .rm-featured { border-width: 5px; margin-bottom: 24px; }
  body.rm-halloween-special .rm-halloween-article { padding: 24px 17px 30px; border-radius: 12px; }
  body.rm-halloween-special .rm-halloween-intro { padding: 22px 18px !important; }
  body.rm-halloween-special .rm-halloween-article [role="navigation"] {
    position: relative;
    padding-bottom: 108px;
    margin-bottom: 32px !important;
  }
  body.rm-halloween-special .rm-halloween-article [role="navigation"]::after {
    content: "";
    position: absolute;
    width: 54px;
    height: 105px;
    bottom: 0;
    right: 12px;
    background: url("hanging-spider.svg") center bottom / 54px auto no-repeat;
    pointer-events: none;
  }
}
@media print {
  body.rm-halloween-special,
  body.rm-halloween-special #main { background: white; }
  body.rm-halloween-special #main::before,
  body.rm-halloween-special #main::after,
  body.rm-halloween-special .rm-single-header::before,
  body.rm-halloween-special .rm-single-header::after,
  body.rm-halloween-special .rm-halloween-article::before,
  body.rm-halloween-special .rm-halloween-article::after,
  body.rm-halloween-special .rm-halloween-project::before,
  body.rm-halloween-special .rm-halloween-article [role="navigation"]::after { display: none; }
  body.rm-halloween-special .rm-single-header { padding-right: 0; }
  body.rm-halloween-special .rm-halloween-article { border: 0; padding: 0; box-shadow: none; }
  body.rm-halloween-special .rm-halloween-article [role="navigation"] { padding-bottom: 0; }
}
