/* series.css - page-specific styles only */

.group-card {
    position: relative;
    padding: 24px 22px;
    background: var(--bg-soft);
    border-radius: 14px;
    overflow: hidden;
    /* Series cards are NOT clickable — they're informational only */
    cursor: default;
    transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
    opacity: 0;
    transform: translateY(20px);
    animation: groupCardIn .6s var(--ease) forwards;
    text-align: left;
    display: block;
    border: none;
    width: 100%;
  }

.group-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

.group-language {
    font-size: 13px;
    color: var(--ink-mute);
    font-weight: 500;
  }

.group-language strong {
    color: var(--teal);
    font-weight: 700;
  }

.search-result-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
  }

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .ch-hero { padding-top: 130px; }
    .nav-menu { display: none; }
    .burger { display: flex; }
    .ch-hero h1.heading { font-size: clamp(2.2rem, 9vw, 3.2rem); }
    .toolbar { flex-direction: column; align-items: stretch; }
    .toolbar-left { justify-content: flex-start; }
    .search-trigger { width: 100%; min-width: 0; }
    .groups-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .group-card { padding: 18px 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .wa-float { bottom: 18px; right: 18px; width: 54px; height: 54px; font-size: 26px; }
    .search-popup { top: 8vh; }
  }
