/* The homepage (approved homepage demo v0.81, Gréti): the hero and its plan slider, the 12 questions' fan and chips,
   the trap cards, the newest posts' cards. Cut from the demo's CSS (landing hero and sections, fooldal.css) to the
   rules this page's markup uses and site.css / pages.css do not already carry, in the demo's order. Left out with
   their markup: the prototype bar, the phase-2 selector, the reserve card, the cookie bar, the legal placeholders; the
   site frame's rules (header, band, form, footer) stay in site.css, the same on every page. */

/* the demo's inline styles, as classes (CSP: no style attribute): the colour above the arc, the marks' delays */
.arcwrap.prev-night{--prev:var(--night)}
.d1{--d:.35s}.d2{--d:.9s}.d3{--d:1.45s}.d4{--d:2s}.d5{--d:2.55s}

.hero{--h-bg:var(--night);--h-fg:var(--cream);--h-sub:#C9D9D6;--h-kick:var(--vivid);--h-arc:var(--vivid);--h-input:var(--paper);background:var(--h-bg);color:var(--h-fg);transition:background .4s,color .4s}
.hero .wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center;padding-block:64px 72px}
.sub{font-size:18px;line-height:1.55;color:var(--h-sub);margin:0 0 32px;max-width:30em}
.st small{font-weight:500;color:#5D656B;font-size:14px}
.plan .lbl{font-family:var(--font);font-size:6.2px;font-weight:600;fill:var(--ink)}
@media (max-width:860px){
 .hero .wrap{grid-template-columns:minmax(0,1fr);gap:32px;padding-block:40px 48px}
 .st small{display:none}
}
.only-touch{display:none}
@media (hover:none){
 .only-touch{display:inline}
 .only-mouse{display:none}
}
/* the trap cards: assets/traps/traps.css, shared with the landing */
.get{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.fan{position:relative;height:440px}
.fan img{position:absolute;top:30px;left:50%;width:min(58%,250px);height:auto;border-radius:2px 18px 2px 2px;border:1px solid rgba(255,255,255,.12)}
.fan img:nth-child(1){transform:translateX(-95%) rotate(-9deg)}
.fan img:nth-child(2){transform:translateX(-5%) rotate(8deg) translateY(10px)}
.fan img:nth-child(3){transform:translateX(-50%) rotate(-1deg) translateY(-14px)}
.chips{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:0 0 26px;padding:0;list-style:none}
.chips li{background:var(--paper);color:var(--ink);border-radius:var(--arc-sm);padding:8px 14px;font-weight:700;font-size:15px;line-height:28px;height:44px;white-space:nowrap}
.chips b{color:var(--deep);font-size:20px;line-height:1;margin-right:4px}
@media (max-width:860px){
 .get{grid-template-columns:minmax(0,1fr);gap:28px}
 .fan{height:330px}
 .fan img{width:min(50%,190px)}
}
.hero :focus-visible{outline:3px solid var(--vivid);outline-offset:2px}
.hero{position:relative;overflow:hidden;overflow:clip;isolation:isolate}
.hero::before{content:"";position:absolute;z-index:-1;right:-140px;bottom:-220px;width:620px;height:620px;border-radius:50%;border:2px dashed rgba(28,191,176,.28)}
.hero::after{content:"";position:absolute;z-index:-1;left:-90px;top:-120px;width:300px;height:300px;border-radius:0 0 300px 0;background:rgba(30,111,114,.35)}
.hero .copy .btnw{margin-top:4px}
.hero .wrap{padding-block:36px 56px}
.slider{min-width:0}
.sl-view{overflow:hidden;overflow:clip;border-radius:2px 36px 2px 2px;touch-action:pan-y;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
.sl-track{display:flex;transition:transform .95s cubic-bezier(.65,.05,.25,1)}
.slide{flex:0 0 100%;min-width:0;margin:0;background:var(--paper);color:var(--ink);padding:22px 22px 16px;transition:opacity .95s,transform .95s;user-select:none}
.slide:not(.on){opacity:.35;transform:scale(.94)}
.slide .pbox{aspect-ratio:4/3;max-width:100%}
.slide svg.plan{display:block;width:100%;height:100%;pointer-events:none}
.plan .lbl{font-size:7px}
.motion .slide.on .pm .ring{animation:ring 1.5s ease-out 2;animation-delay:calc(var(--d,0s) + .3s)}
.slide .st .num{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;margin:1px -2px 0 -4px;border-radius:50%;background:var(--ink);color:#fff;font-size:11px;font-weight:800}
.motion .slide.on .cap .st{animation:rise .5s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0s)}
.slide .pname{margin:10px 0 0;font-size:13px;font-weight:600;color:#5D656B;line-height:1.4}
.slide .cap{border-top:1px solid var(--sand);margin-top:8px;padding-top:12px;display:grid;gap:8px;align-content:start}
@media (min-width:641px) and (max-width:860px),(min-width:1220px){
 .slide .cap{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,auto);grid-auto-flow:column;column-gap:20px}
}
.slide .st{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:15px;font-weight:600;line-height:1.4}
.slide .st .mk{margin-top:1px}
.slide .st small{display:block;font-weight:500;color:#5D656B;font-size:13px}
.motion .slide.on .pm{animation:pop .55s cubic-bezier(.3,1.6,.5,1) both;animation-delay:var(--d,0s)}
.sl-ctrl{display:flex;align-items:center;gap:6px;margin-top:16px;flex-wrap:wrap}
.sl-btn{width:var(--tap);height:var(--tap);border-radius:50%;border:1.5px solid rgba(247,244,239,.55);background:transparent;color:var(--cream);display:grid;place-items:center;cursor:pointer;transition:background .25s,border-color .25s}
.sl-btn:hover{background:rgba(247,244,239,.12);border-color:var(--cream)}
.sl-dots{display:flex}
.sl-dot{width:var(--tap);height:var(--tap);display:grid;place-items:center;background:none;border:0;padding:0;cursor:pointer}
.sl-dot span{position:relative;display:block;width:10px;height:10px;border-radius:5px;background:rgba(247,244,239,.38);overflow:hidden;transition:width .45s cubic-bezier(.4,.1,.2,1),background .3s}
.sl-dot[aria-current="true"] span{width:34px;background:rgba(247,244,239,.3)}
.sl-dot span i{position:absolute;inset:0;background:var(--vivid);transform:scaleX(0);transform-origin:left}
.sl-dot[aria-current="true"] span i{animation:dotfill var(--dur,9s) linear forwards}
.slider.held .sl-dot span i{animation-play-state:paused}
.slider.stopped .sl-dot[aria-current="true"] span i{animation:none;transform:scaleX(1)}
.sl-pause{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:var(--tap);padding:0 16px;font:inherit;font-size:14px;font-weight:700;color:var(--cream);background:transparent;border:1.5px solid rgba(247,244,239,.55);border-radius:var(--arc-sm);cursor:pointer}
.sl-pause:hover{border-color:var(--cream);background:rgba(247,244,239,.12)}
.sl-pause .i-play, .sl-pause.paused .i-pause{display:none}
.sl-pause.paused .i-play{display:block}
@media (prefers-reduced-motion:reduce){
 .sl-track, .slide, .sl-dot span{transition:none}
 .slide:not(.on){transform:none}
}
.motion .hero .copy>*{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.motion .hero .copy>:nth-child(2){animation-delay:.12s}
.motion .hero .copy>:nth-child(3){animation-delay:.24s}
.motion .hero .copy>:nth-child(4){animation-delay:.36s}
.motion .hero .slider{animation:rise 1s .2s cubic-bezier(.2,.7,.2,1) both}
.motion .traps.rv .trap, .motion .posts.rv .post{opacity:0;transform:translateY(30px);transition:opacity .7s,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i,0) * .11s)}
.motion .traps.rv.in .trap, .motion .posts.rv.in .post{opacity:1;transform:none}
.motion .posts.rv.in .post:hover{transform:translateY(-5px)}
.on-cream .chips li{background:var(--sand)}
.on-cream .fan img{border:1px solid var(--line);box-shadow:-4px 10px 26px -8px rgba(74,56,36,.32)}
.motion .fan img{transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}
.motion .fan:not(.in) img{transform:translateX(-50%) rotate(0) translateY(20px)!important}
.hero .btnw svg.arc path{stroke:var(--vivid)}
.hero .btnw svg.arc circle{fill:var(--vivid)}
.traps-foot a{color:var(--deep);font-weight:700;text-underline-offset:3px}
.trap .no{color:var(--deep-text)}
.trap:nth-child(2) .face{border-left-color:var(--vivid)}
.trap:nth-child(3) .face{border-left-color:var(--night)}
.trap:nth-child(4) .face{border-left-color:var(--mid)}
.post .more{margin-top:auto;padding-top:6px;font-weight:700;color:var(--deep);display:inline-flex;gap:6px;align-items:center}
.post .more i, .btn2 i{font-style:normal;transition:transform .3s}
.post:hover .more i, .btn2:hover i{transform:translateX(5px)}
.allposts{margin:32px 0 0}
@media (max-width:860px){
 .hero .wrap{gap:28px}
 .slide{padding:14px 14px 12px}
 .slide .st{font-size:14px}
 .slide .st small{display:none}
 .hero::before{width:380px;height:380px;right:-160px;bottom:-140px}
}
@media (max-width:640px){
 .sl-pause span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .sl-pause{padding:0;width:var(--tap);justify-content:center}
}
.more{margin:28px 0 0}
@keyframes pop{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}
@keyframes dotfill{to{transform:scaleX(1)}}

/* ---------- live site ---------- */
/* the newest posts: the demo drew sample plans on tinted grounds (sand, mist, terra); the live cards carry each post's
   hero, a drawing contained like the blog's tile, a 3D picture filling the frame (blog.css, v0.24) */
.thumb.tb-sand{--tb:var(--sand)}
.thumb.tb-mist{--tb:var(--mist)}
/* the demo's third, terra tint is off-brand: the cards alternate sand and mist, like the blog's (owner, Telegram 3325) */
.post .thumb img.plan{display:block;width:72%;height:auto;aspect-ratio:72/52.5;object-fit:contain;transition:transform .7s cubic-bezier(.2,.7,.2,1);filter:drop-shadow(0 8px 12px rgba(74,56,36,.18))}
.post:hover .thumb img.plan{transform:scale(1.06) rotate(-1.2deg)}
.post .thumb.photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.post:hover .thumb.photo img{transform:scale(1.04)}
.post:focus-visible{outline:3px solid var(--deep);outline-offset:3px}
/* ---- Background decor on the homepage (style sheet 6.8 proposal; Anita TG 3569; demo: dekor-osszehasonlitas-v0.10, Ritmus).
   Goes into home.css, which only the homepage loads, so #blog (also a card id on /ingyenes) and #ki-all-mogotte (also on
   /rolunk and the landing) are not touched elsewhere. Nothing here carries information: pseudo-elements only, z-index -1,
   no pointer events, nothing a screen reader reads. The drawings are files (not data: URIs): the CSP sends
   img-src 'self' (Teo, PR #68 B1). Colour: mid turquoise #2BA8A4 (style sheet 2: decor only), and #F0EDE6
   for the question mark (new decor tone, 1.07:1 on the cream). ---- */
#ingyenes,#kerdesek,#ki-all-mogotte{position:relative;isolation:isolate;overflow:clip}
#ingyenes::before,#ingyenes::after,#ki-all-mogotte::before,#ki-all-mogotte::after{content:"";position:absolute;z-index:-1;pointer-events:none}

/* 12 questions (#ingyenes, cream): the 8 px notebook grid (1 px at 13 %), the living set at the bottom left and the desk with
   a laptop and its chair at the top right, both the shared symbol module's drawings (livjel v0.16.1) as a no-fill line, at
   0.32 over the drawing's own .55 (about .18 in all) */
#ingyenes{background-image:url("../site/notebook-grid-8.svg")}
#ingyenes::before{left:-36px;bottom:-24px;width:264px;height:198px;opacity:0.32;background:no-repeat center/contain url("decor-living.svg")}
#ingyenes::after{right:190px;top:8px;width:79px;height:72px;opacity:0.32;background:no-repeat center/contain url("decor-desk.svg")}

/* Who's behind it (#ki-all-mogotte, sand): the grid anchored at the bottom edge; a dotted arc around the top left corner; a
   dashed "triangle" on the bottom right whose base is the section boundary; the sand behind the sign-up band's rounded corner
   (the band's .arcwrap) gets the same grid, in phase */
#ki-all-mogotte{background-image:url("../site/notebook-grid-8.svg");background-position:left bottom}
.arcwrap:has(> #feliratkozas){background-image:url("../site/notebook-grid-8.svg")}
#ki-all-mogotte::before{left:-227px;top:-334px;width:454px;height:454px;border-radius:50%;border:2px dotted rgba(43,168,164,.5)}
#ki-all-mogotte::after{left:calc(50% + 220px);bottom:0;width:568px;height:160px;background:no-repeat left bottom/568px 160px url("decor-triangle.svg")}

/* FAQ (#kerdesek, cream): no grid; one large question mark in the logo's face, tone on tone, beside the list, from 1272 px */
#kerdesek::before{content:"?";position:absolute;z-index:-1;pointer-events:none;right:calc(50% - 654px);top:50%;transform:translateY(-50%);
  font-family:var(--font);font-weight:800;font-size:733px;line-height:1;color:#F0EDE6}
@media (max-width:1271px){#kerdesek::before{content:none}}

/* The scale bar on the lower edge of "Apró hibák" (#csapdak): a hairline with a long tick every 50 px and short ticks every
   10 px, no numbers, edge to edge, ticks hanging into the next section, a closing long tick at the right end. On the section
   AFTER #csapdak, so it stays when the blog block is left out (fewer than three live posts) and #kerdesek follows */
#csapdak + .sec{position:relative}
#csapdak + .sec::after{content:"";position:absolute;top:0;left:0;right:0;height:12px;pointer-events:none;
  background:url("decor-scale.svg") repeat-x left top/50px 12px;background-repeat:round no-repeat;border-right:1px solid rgba(43,168,164,.38)}

/* one column (up to 860 px, where .get and .about stack): the living set whole in its own strip under the content (the section
   grows by it), no desk; the small triangle beside the button */
@media (max-width:860px){
 #ingyenes{padding-bottom:172px}
 #ingyenes::before{left:auto;right:16px;bottom:12px;width:160px;height:120px}
 #ingyenes::after{content:none}
 #ki-all-mogotte::after{left:240px;width:170px;height:85px;background:no-repeat left bottom/170px 85px url("decor-triangle-small.svg")}
}
/* phone: the arc smaller, clear of the photo */
@media (max-width:640px){
 #ki-all-mogotte::before{left:-134px;top:-223px;width:268px;height:268px}
}
