/* ═══════════════════════════════════════════════
   Ákotí Cards — Pure CSS

   <div class="akoti-card">
     <div class="akoti-card-header">
       <h3 class="akoti-card-title">Title</h3>
       <span class="akoti-card-action">View All</span>
     </div>
     <div class="akoti-card-body">Content</div>
     <div class="akoti-card-footer">Footer</div>
   </div>

   Variants: .akoti-card-flat, .akoti-card-bordered, .akoti-card-elevated
   Colors:   .akoti-card-primary, .akoti-card-dark
   Clickable: .akoti-card-clickable
   ═══════════════════════════════════════════════ */

.akoti-card {
  background: white;
  border: 1px solid rgba(26, 47, 94, 0.1);
  border-radius: 16px 6px 16px 6px;
  overflow: hidden;
  font-family: 'Outfit', system-ui, sans-serif;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.akoti-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  gap: 12px;
}

.akoti-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #1e1e24;
}

.akoti-card-subtitle {
  font-size: 12px;
  color: #8a8a96;
  margin-top: 2px;
}

.akoti-card-action {
  font-size: 12px;
  font-weight: 600;
  color: #1a2f5e;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
}
.akoti-card-action:hover { color: #a8c8e8; }

.akoti-card-body {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a56;
}

.akoti-card-body:first-child { padding-top: 20px; }

.akoti-card-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(26,47,94,0.06);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Image at top */
.akoti-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ── Variants ──────────────────────────────────────── */

.akoti-card-flat {
  border: none;
  box-shadow: none;
  background: #f8f9fa;
}

.akoti-card-bordered {
  box-shadow: none;
  border-width: 2px;
}

.akoti-card-elevated {
  border: none;
  box-shadow: 0 4px 16px rgba(26,47,94,0.08);
}

/* Clickable */
.akoti-card-clickable {
  cursor: pointer;
}
.akoti-card-clickable:hover {
  border-color: #a8c8e8;
  border-radius: 6px 16px 6px 16px;
  box-shadow: 0 4px 16px rgba(26,47,94,0.1);
  transform: translateY(-2px);
}
.akoti-card-clickable:active { transform: translateY(0); }

/* Color variants */
.akoti-card-primary {
  background: #1a2f5e;
  border-color: #1a2f5e;
}
.akoti-card-primary .akoti-card-title { color: white; }
.akoti-card-primary .akoti-card-body { color: rgba(255,255,255,0.8); }
.akoti-card-primary .akoti-card-action { color: #a8c8e8; }
.akoti-card-primary .akoti-card-footer { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

.akoti-card-dark {
  background: #1e1e24;
  border-color: #1e1e24;
}
.akoti-card-dark .akoti-card-title { color: white; }
.akoti-card-dark .akoti-card-body { color: rgba(255,255,255,0.7); }

/* ── Dark mode ─────────────────────────────────────── */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .akoti-card { background: #1e1e24; border-color: rgba(255,255,255,0.08); }
  :root:not([data-theme="light"]) .akoti-card-title { color: #e0e0e4; }
  :root:not([data-theme="light"]) .akoti-card-body { color: #9a9aa6; }
  :root:not([data-theme="light"]) .akoti-card-footer { border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .akoti-card-flat { background: #2a2a32; }
}
