/* Informula Challenge Steps — every lépcső tinted with its own blue (--acc / --accrgb,
   set per group inline by the widget). */
.infch{--acc:#20738C;--accrgb:32,115,140;--navy:#173255;display:flex;flex-direction:column;gap:26px;width:100%;}

/* group header */
.infch-ghead{display:flex;align-items:center;gap:18px;margin-top:14px;}
.infch-ghead:first-child{margin-top:0;}
.infch-gnum{flex:0 0 auto;width:52px;height:52px;border-radius:50%;border:2px solid var(--acc);color:var(--acc);display:inline-flex;align-items:center;justify-content:center;font-family:"Space Grotesk",sans-serif;font-weight:600;font-size:20px;letter-spacing:1px;background:rgba(var(--accrgb),.08);}
.infch-gt{display:flex;flex-direction:column;gap:2px;}
.infch-glabel{font-family:"DM Sans",sans-serif;font-size:12px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--acc);}
/* Gold, not ink, on the lépcső title — client feedback 2026-09-10. The tint is
   the deep brand gold (#917226), not the pale #D8BC78: pale gold on a white
   card is ~1.8:1 and unreadable, this one measures 4.53:1 and clears WCAG AA
   for body text, so the heading stays legible at the 18px mobile size too.
   The widget writes --gold inline, so the editor can still override it. */
.infch-gtitle{font-family:"Space Grotesk",sans-serif;font-size:22px;font-weight:600;color:var(--gold,#917226);}
.infch-gline{flex:1 1 auto;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(var(--accrgb),.45),rgba(var(--accrgb),0));}

/* card — 4px left bar carries the lépcső colour so the grouping reads at a glance */
.infch-card{background:#fff;border:1px solid #ECE7DB;border-left:4px solid var(--acc);border-radius:20px;box-shadow:0 5px 20px rgba(0,0,0,.05);overflow:hidden;transition:box-shadow .25s,transform .25s;}
.infch-item:hover .infch-card{box-shadow:0 8px 26px rgba(var(--accrgb),.16);}
.infch-prob{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 32px;cursor:pointer;}
.infch-probtx{flex:1 1 auto;min-width:0;}
/* The numbered challenge lines ("1. …" … "6. …") take the same gold — see the
   note on .infch-gtitle for why it is the deep tint. */
.infch-ptitle{margin:0 0 8px;font-family:"Space Grotesk",sans-serif;font-size:22px;font-weight:600;color:var(--gold,#917226);}
.infch-pbody{margin:0;font-family:"DM Sans",sans-serif;font-size:16px;line-height:1.6;color:#6F756D;}
.infch-cta{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;background:var(--acc);color:#fff;border:none;border-radius:100px;padding:13px 26px;font-family:"DM Sans",sans-serif;font-size:13px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;cursor:pointer;transition:background .25s,color .25s,box-shadow .25s,filter .25s;box-shadow:0 4px 14px rgba(var(--accrgb),.28);}
.infch-cta:hover{background:var(--acc);color:#fff;filter:brightness(1.12);}
.infch-chev{width:14px;height:14px;transition:transform .3s;}
.infch-open .infch-chev{transform:rotate(180deg);}
.infch-open .infch-cta{background:transparent;color:var(--acc);box-shadow:inset 0 0 0 1.5px var(--acc);}
/* The theme reset styles a bare button:focus exactly like :hover, so a clicked button
   kept the hover colour after closing. Hold the accent unless the pointer is really on it. */
.infch-cta:focus:not(:hover){background:var(--acc);color:#fff;}
.infch-open .infch-cta:focus:not(:hover){background:transparent;color:var(--acc);}
.infch-cta:focus-visible{outline:2px solid var(--acc);outline-offset:2px;}

/* solution panel (grid-rows collapse) */
.infch-sol{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease;}
.infch-open .infch-sol{grid-template-rows:1fr;}
.infch-solwrap{overflow:hidden;min-height:0;}
.infch-solin{margin:0 32px 26px;background:rgba(var(--accrgb),.07);border:3px solid var(--acc);border-radius:12px;padding:22px 28px;}
.infch-slabel{display:block;font-family:"DM Sans",sans-serif;font-size:12px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--acc);margin-bottom:8px;}
.infch-stitle{margin:0 0 6px;font-family:"Space Grotesk",sans-serif;font-size:19px;font-weight:600;color:#1E1E1E;}
.infch-sbody{margin:0 0 12px;font-family:"DM Sans",sans-serif;font-size:15px;line-height:1.6;color:#3d423c;}
.infch-results{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:6px;}
.infch-results li{position:relative;padding-left:24px;font-family:"DM Sans",sans-serif;font-size:15px;line-height:1.5;color:#1E1E1E;}
.infch-results li::before{content:"";position:absolute;left:0;top:4px;width:14px;height:14px;border-radius:50%;background:var(--acc);-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" d="M2.5 8.5l3.5 3.5 7-8"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" d="M2.5 8.5l3.5 3.5 7-8"/></svg>') center/contain no-repeat;}
.infch-stat{display:inline-block;background:var(--navy);color:#fff;border-radius:8px;padding:9px 14px;font-family:"DM Sans",sans-serif;font-size:13px;line-height:1.5;}

/* progressive-reveal states (only used when data-mode="progressive") */
.infch-hidden{display:none!important;}
@keyframes infchIn{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}
.infch-in{animation:infchIn .55s ease both;}

@media (max-width:767px){
  .infch-prob{flex-direction:column;align-items:flex-start;gap:16px;padding:22px 22px;}
  .infch-cta{align-self:stretch;justify-content:center;}
  .infch-solin{margin:0 22px 22px;padding:18px 20px;}
  .infch-gtitle{font-size:18px;}
  .infch-gnum{width:44px;height:44px;font-size:17px;}
}
