.halloween-stories-page{background:#303030 var(--launch-background) center top / var(--paper-tile-size) auto repeat;max-width:1435px;min-height:100vh;color:var(--cream);margin-inline:auto;padding:117px 24px 175px;position:relative}.halloween-stories-back{min-height:44px;position:absolute;top:32px;left:24px}.halloween-stories-heading{text-align:center}.halloween-stories-heading h1{font:italic 64px/1.2 var(--display);opacity:.9;margin:0}.halloween-stories-heading>p{max-width:997px;font:250 24px/28px var(--sans);margin:13px auto 0}.halloween-stories-collection{max-width:1107px;margin:115px auto 0}.halloween-stories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 37px;display:grid}.halloween-story-card{color:#303030;background:#f3ede1;min-width:0;padding:19px 18px}.halloween-story-card:nth-child(4n+1),.halloween-story-card:nth-child(4n+4){background-color:#ebe3d0}.halloween-story-card-inner{border:3px solid #303030;border-image:var(--halloween-story-frame) 3 stretch;flex-direction:column;height:333px;padding:27px 27px 18px;display:flex}.halloween-story-card h2,.halloween-reader h2{font:italic 30.336px/1.2 var(--display);overflow-wrap:anywhere;margin:0}.halloween-story-card h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.halloween-story-author{font:10.489px/1.5 var(--editorial);letter-spacing:1.5733px;text-transform:uppercase;overflow-wrap:anywhere;margin:3px 0 0}.halloween-story-excerpt{-webkit-line-clamp:9;white-space:pre-wrap;overflow-wrap:anywhere;min-height:0;max-height:177px;font:13px/1.4 var(--typewriter,"Courier New", monospace);letter-spacing:.65px;-webkit-box-orient:vertical;flex:1;margin:30px 0 24px;display:-webkit-box;overflow:hidden}.halloween-reading-button{color:#eae4e0;min-height:37px;font:13.214px/1.3 var(--rustic);background:#5d5550;border:0;border-radius:0;justify-content:center;align-self:flex-start;align-items:center;gap:6px;padding:6px 15px;display:inline-flex}.halloween-story-card .halloween-reading-button{flex-shrink:0;margin-top:auto}.halloween-reading-button:hover{filter:brightness(1.16)}.halloween-reading-button img{object-fit:contain;flex-shrink:0;width:29px;height:31px;transform:translateY(4px)rotate(-10.47deg)}.halloween-stories-status{text-align:center;font:250 18px/28px var(--sans);padding:36px 0}.halloween-stories-status p{margin:0 0 18px}.halloween-stories-status .halloween-reading-button{margin-inline:auto}.halloween-load-stories{margin:42px auto 0;display:flex}.halloween-stories-navigation{font:14px/1.5 var(--editorial);flex-wrap:wrap;justify-content:center;gap:16px 32px;margin:70px auto 0;display:flex}.halloween-stories-navigation a{text-underline-offset:4px;padding-block:12px;text-decoration:underline}.halloween-reader{color:#303030;background:#f3ede1;border:0;width:min(900px,100vw - 32px);max-height:calc(100dvh - 48px);padding:19px 23px;overflow:auto}.halloween-reader::backdrop{background:#303030cc}.halloween-reader-inner{border:3px solid #303030;border-image:var(--halloween-story-frame) 3 stretch;padding:22px 28px 24px;position:relative}.halloween-reader h2{padding-right:20px;font-size:40px}.halloween-reader .halloween-story-author{font-size:13px}.halloween-reader-close{color:#5d5550;width:36px;height:36px;font:26px/1 var(--sans);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:1px;right:2px}.halloween-reader-body{scrollbar-color:#afa89f transparent;scrollbar-width:thin;max-height:min(720px,100dvh - 260px);margin-top:25px;padding-right:12px;overflow:auto}.halloween-reader-body p{white-space:pre-wrap;overflow-wrap:anywhere;font:18px/1.65 var(--typewriter,"Courier New", monospace);letter-spacing:.65px;margin:0}.halloween-reader-body .halloween-reading-button{margin-top:18px}body:has(.halloween-reader[open]){overflow:hidden}@media (max-width:800px){.halloween-stories-page{padding:95px 24px 110px}.halloween-stories-back{top:24px}.halloween-stories-heading h1{font-size:48px}.halloween-stories-heading>p{max-width:620px;margin-top:18px;font-size:18px;line-height:27px}.halloween-stories-collection{margin-top:65px}.halloween-stories-grid{grid-template-columns:minmax(0,535px);justify-content:center;gap:28px}.halloween-story-card-inner{min-height:333px}}@media (max-width:560px){.halloween-stories-page{padding:82px 18px 90px}.halloween-stories-back{left:18px}.halloween-stories-heading h1{font-size:43px}.halloween-stories-heading>p{font-size:16px;line-height:25px}.halloween-stories-collection{margin-top:45px}.halloween-story-card{padding:13px}.halloween-story-card-inner{padding:24px 20px 20px}.halloween-story-card h2{font-size:28px}.halloween-reader h2{font-size:32px}.halloween-story-excerpt{margin-top:25px}.halloween-reader{padding:13px}.halloween-reader-inner{padding:27px 18px 22px}.halloween-reader-body{max-height:calc(100dvh - 250px);padding-right:10px}.halloween-reader-body p{font-size:17px}.halloween-stories-navigation{flex-direction:column;align-items:center;gap:4px}}
