.jg-apt-tabs{--accent:#0d1b2a;--muted:#6b7280}
.jg-apt-tabs__nav{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem;justify-content:flex-start}
.jg-apt-tabs__btn,.jg-chip{padding:.5rem .9rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;cursor:pointer;font-weight:600;color:#111827}
.jg-apt-tabs__btn[aria-selected='true'], .jg-chip[aria-pressed='true']{background:var(--accent);color:#fff;border-color:var(--accent)}
.jg-apt-tabs__panel{display:none}
.jg-apt-tabs__panel[data-active='true']{display:block;animation:fade .18s ease-in}
@keyframes fade{from{opacity:.5;transform:translateY(2px)}to{opacity:1;transform:none}}
.jg-apt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.jg-apt-card{border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden;background:#fff}
.jg-apt-card__img img{width:100%;height:180px;object-fit:cover;display:block}
.jg-apt-card__body{padding:.9rem}
.jg-apt-card__title{font-weight:700;margin:0 0 .25rem;font-size:1rem}
.jg-apt-list{margin:.5rem 0 0;padding:0;list-style:none}
.jg-apt-list li{display:flex;justify-content:space-between;border-top:1px dashed #f0f0f0;padding:.35rem 0;font-size:.92rem;color:#111827}
.jg-apt-meta{color:var(--muted);font-size:.85rem}
.jg-apt-cta{margin-top:.75rem;display:inline-block;background:#111827;color:#fff;padding:.45rem .75rem;border-radius:.5rem;text-decoration:none}

/* Alignments */
.jg-apt-tabs--align-left  .jg-apt-tabs__nav{justify-content:flex-start}
.jg-apt-tabs--align-center .jg-apt-tabs__nav{justify-content:center}
.jg-apt-tabs--align-right .jg-apt-tabs__nav{justify-content:flex-end}
.jg-apt-cards-align-left  .jg-apt-card__body{text-align:left}
.jg-apt-cards-align-center .jg-apt-card__body{text-align:center}
.jg-apt-cards-align-right .jg-apt-card__body{text-align:right}

/* Filterable Chips layout */
.jg-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}

/* Accordion layout */
.jg-acc{border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden}
.jg-acc__item + .jg-acc__item{border-top:1px solid #e5e7eb}
.jg-acc__hdr{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;background:#f9fafb;cursor:pointer;font-weight:700}
.jg-acc__body{display:none;padding:1rem}
.jg-acc__body[data-open='true']{display:block;animation:fade .18s ease-in}
