/* Adeo Marketing Webb 2.0 – article system 2.0 */

.guide-card:before{display:none!important}

.guide-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,340px);
  gap:20px;
  align-items:center;
  margin:0 0 14px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.025);
}
.guide-filter-list{display:flex;flex-wrap:wrap;gap:8px}
.guide-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background:rgba(255,255,255,.025);
  font-size:.8rem;
  font-weight:700;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s var(--ease);
}
.guide-filter:hover{color:var(--text);border-color:rgba(255,255,255,.2);transform:translateY(-1px)}
.guide-filter.is-active{color:#fff;background:var(--orange);border-color:var(--orange)}

.guide-search{position:relative;display:flex;align-items:center;min-width:0}
.guide-search svg{position:absolute;left:15px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;color:var(--muted);pointer-events:none}
.guide-search input{
  width:100%;
  min-height:48px;
  padding:0 16px 0 44px;
  border:1px solid var(--line);
  border-radius:15px;
  outline:0;
  background:rgba(255,255,255,.035);
  color:var(--text);
}
.guide-search input::placeholder{color:rgba(250,250,251,.4)}
.guide-search input:focus{border-color:rgba(255,92,0,.55);box-shadow:0 0 0 3px rgba(255,92,0,.08)}

.guide-result-row{display:flex;justify-content:flex-end;margin:0 2px 20px;color:var(--muted);font-size:.76rem}
.guide-card[hidden]{display:none!important}
.guide-category-link{color:var(--adeo-stone);transition:color .2s ease}
.guide-category-link:hover{color:var(--text)}
.guide-empty{margin-top:28px;padding:48px 32px;border:1px solid var(--line);border-radius:24px;text-align:center;background:rgba(255,255,255,.025)}
.guide-empty h2{margin:0 0 12px;font-size:clamp(2rem,5vw,3.4rem);line-height:1.05}
.guide-empty>p:not(.eyebrow){margin:0 auto 24px;max-width:520px;color:var(--muted)}

.article-category{color:var(--adeo-stone);font-weight:700}
.article-category:hover{color:var(--text)}
.related-guides{margin-top:12px;margin-bottom:72px}
.related-guides__head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.related-guides__head h2{margin:0;font-size:clamp(2.25rem,4vw,4rem);line-height:1.03;letter-spacing:-.012em}
.related-guides__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.related-guide-card{display:flex;flex-direction:column;min-height:280px;padding:25px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.025)}
.related-guide-card h3{margin:0 0 14px;font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.1;letter-spacing:-.01em}
.related-guide-card>p:not(.eyebrow){margin:0 0 22px;color:var(--muted);line-height:1.62}
.related-guide-card .text-link{margin-top:auto}

.next-article{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end;margin-bottom:34px;padding:30px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));transition:transform .25s var(--ease),border-color .25s ease}
.next-article:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.18)}
.next-article .eyebrow{grid-column:1/-1;margin-bottom:0}
.next-article strong{max-width:900px;font-size:clamp(1.8rem,3.4vw,3rem);line-height:1.07;letter-spacing:-.012em}
.next-article__arrow{font-size:2rem;line-height:1}

html[data-theme="light"] .guide-toolbar,
html[data-theme="light"] .guide-empty,
html[data-theme="light"] .related-guide-card,
html[data-theme="light"] .next-article{background:#fff;border-color:rgba(21,21,23,.11);box-shadow:0 16px 45px rgba(21,21,23,.04)}
html[data-theme="light"] .guide-filter{background:#fff;color:rgba(21,21,23,.64);border-color:rgba(21,21,23,.12)}
html[data-theme="light"] .guide-filter:hover{color:#151517;border-color:rgba(21,21,23,.22)}
html[data-theme="light"] .guide-filter.is-active{background:var(--orange);border-color:var(--orange);color:#fff}
html[data-theme="light"] .guide-search input{background:#fff;color:#151517;border-color:rgba(21,21,23,.13)}
html[data-theme="light"] .guide-search input::placeholder{color:rgba(21,21,23,.4)}

@media(max-width:859px){
  .guide-toolbar{grid-template-columns:1fr;gap:14px;padding:14px;border-radius:19px}
  .guide-filter-list{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .guide-filter-list::-webkit-scrollbar{display:none}
  .guide-filter{flex:0 0 auto;min-height:40px;padding:8px 13px}
  .guide-search input{min-height:50px}
  .guide-result-row{margin-bottom:18px}
  .related-guides{margin-bottom:58px}
  .related-guides__head{display:block}
  .related-guides__head .text-link{margin-top:12px}
  .related-guides__grid{grid-template-columns:1fr;gap:18px}
  .related-guide-card{min-height:0;padding:22px}
  .next-article{padding:24px 22px;border-radius:22px}
}

@media(max-width:520px){
  .guide-toolbar{margin-inline:-1px}
  .guide-search input{font-size:16px}
  .guide-empty{padding:36px 22px}
  .related-guides__head h2{font-size:2.25rem}
  .next-article{grid-template-columns:1fr}
  .next-article__arrow{justify-self:start}
}
