/* Public teasers of the member features (owner order 01.12.2026, 04-kararlar.md §18; src/pages/member-teasers.mjs).
   Cards in the site's card language (.cap, .offer-box: white card, line, mint left rule on hover, large radius); the
   drawing sits on the dark ink tile of the menu thumbnails (.sn-thumb). Motion only with prefers-reduced-motion:
   no-preference; otherwise every drawing stands still in its finished state. The accent follows the site
   (--site-accent of <site>-site.css), mint on the hub, horticulture and livestock. */
.mt-sec { --mt-acc: var(--site-accent, var(--brand-mint)); }
.mt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mt-grid > li { display: flex; min-width: 0; }
.mt-card { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 14px 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--fg); text-decoration: none; box-shadow: var(--shadow); transition: border-color var(--dur-1) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.mt-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.mt-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.mt-vis { display: block; height: 76px; margin: 0 0 4px; border-radius: 10px; overflow: hidden; color: var(--mt-acc); background: radial-gradient(80% 90% at 50% 15%, rgba(66, 211, 156, 0.16), rgba(66, 211, 156, 0) 70%), var(--ink-1); box-shadow: inset 0 0 0 1px rgba(66, 211, 156, 0.26); }
.mt-vis svg { display: block; width: 100%; height: 100%; }
.mt-k { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); }
.mt-k svg { width: 13px; height: 13px; flex: none; }
.mt-card .h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.mt-text { margin: 0; color: var(--fg-2); font-size: 0.9rem; line-height: 1.5; }
.mt-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.mt-names li { font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--chip); color: var(--chip-fg); }
.mt-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 0.86rem; font-weight: 700; color: var(--link); }
.mt-go svg { width: 15px; height: 15px; transition: transform var(--dur-1) var(--ease); }
.mt-card:hover .mt-go svg { transform: translateX(3px); }
@media (max-width: 1180px) { .mt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) { .mt-grid { grid-template-columns: minmax(0, 1fr); } .mt-vis { height: 64px; } }

/* drawing parts */
.mt-vis .mt-line { stroke: #cfe6da; stroke-opacity: 0.55; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mt-vis .mt-soft { stroke-opacity: 0.18; }
.mt-vis .mt-dash { stroke: var(--mt-acc); stroke-opacity: 0.9; stroke-dasharray: 3 3; }
.mt-vis .mt-acc, .mt-vis .mt-dot, .mt-vis .mt-bars rect { fill: var(--mt-acc); }
.mt-vis .mt-beam path { fill: var(--mt-acc); opacity: 0.16; }
.mt-vis .mt-scan { stroke: #d8f36a; stroke-width: 1.6; stroke-linecap: round; opacity: 0.8; }
.mt-vis .mt-pin { fill: var(--mt-acc); fill-opacity: 0.25; stroke: var(--mt-acc); stroke-width: 1.4; }
.mt-vis .mt-ring { stroke: var(--mt-acc); stroke-width: 1.2; opacity: 0.45; }
.mt-vis .mt-bars rect { opacity: 0.85; }
.mt-vis .mt-write path { stroke: var(--mt-acc); stroke-opacity: 0.9; }
.mt-vis .mt-tick { stroke: #d8f36a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .mt-vis .mt-a-pulse { animation: mt-pulse 3.2s var(--ease-in-out) infinite; }
  .mt-vis .mt-a-scan { animation: mt-scan 3.2s var(--ease-in-out) infinite; }
  .mt-vis .mt-a-ring { transform-box: fill-box; transform-origin: center; animation: mt-ring 2.6s var(--ease) infinite; }
  .mt-vis .mt-a-bob { animation: mt-bob 2.6s var(--ease-in-out) infinite; }
  .mt-vis .mt-a-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: mt-bar 3s var(--ease-in-out) infinite; }
  .mt-vis .mt-a-write { stroke-dasharray: 28; animation: mt-write 3.6s var(--ease) infinite; }
  .mt-vis .mt-a-tick { stroke-dasharray: 24; animation: mt-tick 3.6s var(--ease) infinite; }
  .mt-vis .mt-a-draw { animation: mt-draw 4s linear infinite; }
  .mt-vis .mt-a-orbit { transform-origin: 60px 33px; animation: mt-orbit 6s linear infinite; }
  .mt-vis .mt-d2 { animation-delay: 0.3s; }
  .mt-vis .mt-d3 { animation-delay: 0.6s; }
}
@keyframes mt-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes mt-scan { 0% { transform: translateX(0); } 50% { transform: translateX(60px); } 100% { transform: translateX(0); } }
@keyframes mt-ring { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes mt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes mt-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } }
@keyframes mt-write { 0% { stroke-dashoffset: 28; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 28; } }
@keyframes mt-tick { 0%, 40% { stroke-dashoffset: 24; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
@keyframes mt-draw { to { stroke-dashoffset: -24; } }
@keyframes mt-orbit { to { transform: rotate(360deg); } }
