/* =========================================================
   i-GIS WEB – style.css (stabil: csak a table-body görög)
   ========================================================= */

/* ===== 1) Változók ===== */
:root {
  --accent: #1f4fa3;
  --accent-soft: #eef3fb;
  --card-soft: #f7f9fe;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --bg: #ffffff;

  --radius: 14px;
  --header-height: 60px;
  --footer-height: 30px;
}

/* Sötét mód – CSAK változók felülírása */
html[data-theme="dark"] {
  --bg: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --card-soft: #0b1220;
  --accent-soft: #0b1e3a;
}

/* ===== 2) Reset / alap ===== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow: hidden; /* fontos: az oldal ne görgessen */
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== 3) Fejléc + csík ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000; /* minden fölé */
  min-height: var(--header-height);

  background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible; /* KRITIKUS: dropdown ne legyen levágva */
}

/* "fényfolt" háttér */
header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s infinite ease-in-out;
  z-index: 0;
}

/* villogó csík a fejléc alatt */
header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099ff, #00d4ff);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  z-index: 0;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.30;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.50;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Header belső elemek */
header .brand,
header nav {
  position: relative;
  z-index: 1;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  animation: slideInBrand 1s ease-out;
}

@keyframes slideInBrand {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.brand a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand a:hover {
  color: #00d4ff;
}

/* LOGÓ: ne feszítse szét a 60px-es fejlécet */
header img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

/* Nav - csak linkek */
nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: #fff;
  border-bottom-color: rgba(0, 212, 255, 0.5);
}

nav a[aria-current="page"] {
  color: #00d4ff;
  border-bottom-color: rgba(0, 212, 255, 0.7);
}

/* Header actions (gombok) - jobbra */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@media (min-width: 641px) {
  header {
    padding: 0 40px;
    justify-content: space-between;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
  }
  
  header .brand {
    justify-self: start;
  }
  
  header nav {
    justify-self: center;
  }
  
  header .header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 14px;
  }
}

/* ===== 4) Main: NEM görög – a belső elem fog ===== */
main {
  position: relative;
  height: calc(100vh - var(--header-height) - var(--footer-height));
  margin-top: var(--header-height);
  margin-bottom: var(--footer-height);

  overflow: hidden; /* kulcs */
  padding: 34px 40px;

  width: 100%;
  margin-left: auto;
  margin-right: auto;

  display: flex;
  flex-direction: column;
  min-height: 0; /* kulcs */
}

/* ===== 5) Lábléc + csík ===== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  min-height: var(--footer-height);

  background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
  color: #fff;
  font-size: 0.9rem;

  display: flex;
  align-items: center;
  padding: 0 40px;
  overflow: visible;
}

/* villogó csík a lábléc FELETT */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099ff, #00d4ff);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.site-footer .footer-left {
  flex: 1;
  padding: 8px 0;
  opacity: 0.9;
}

.site-footer .footer-right {
  flex-shrink: 0;
  padding: 8px 0;
  opacity: 0.9;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer a:hover {
  color: #00d4ff;
  text-decoration: underline;
  opacity: 1;
}

/* ===== 6) Téma gomb ===== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
  color: #fff;
}

/* ===== 7) Nyelvválasztó + profil + dropdownok ===== */
.language-selector,
.user-profile {
  position: relative;
}

.language-btn,
.profile-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}

.language-btn:hover,
.profile-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
  color: #fff;
}

.language-dropdown,
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1e3a5f;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 180px;
  display: none;

  z-index: 9999; /* KRITIKUS: main fölé */
  overflow: hidden;
}

.language-dropdown.show,
.profile-dropdown.show {
  display: block;
}

.language-dropdown a,
.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.column-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
  user-select: none;
}

.column-option input[type="checkbox"] {
  display: none;
}

.column-option .checkbox-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.column-option:last-child {
  border-bottom: none;
}

.column-option:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.language-dropdown a:last-child,
.profile-dropdown a:last-child {
  border-bottom: none;
}

.language-dropdown a:hover,
.profile-dropdown a:hover {
  background: rgba(0, 212, 255, 0.15);
  color: #fff;
  padding-left: 20px;
}

.language-dropdown a.active {
  background: rgba(0, 212, 255, 0.25);
  color: #00d4ff;
  font-weight: 600;
}

.profile-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.profile-name {
  font-weight: 500;
  font-size: 0.9rem;
}

/* ===== 8) Projektek tábla: stabil scroll ===== */
.table-wrap {
  flex: 1;
  min-height: 0; /* kulcs */
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  align-items: center;
  justify-content: flex-start;
}

.table-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  background: transparent;
  position: relative;
}

.table-toolbar .new-project-btn {
  margin-left: auto;
}

.table-toolbar .column-selector {
  position: relative;
}

.table-toolbar .column-btn {
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  color: var(--muted);
}

.table-toolbar .column-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.table-toolbar .column-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.table-toolbar .column-dropdown.show {
  display: block;
}

.view-toggle {
  display: flex;
  gap: 4px;
  background: var(--card-soft);
  border-radius: 12px;
  padding: 4px 6px; /* oldalt picit több */
  border: 1px solid var(--border);

  height: 42px; /* EZ a lényeg */
  align-items: center; /* ikonok függőleges közép */
}

.view-btn {
  padding: 4px 10px; /* kisebb felső–alsó padding */
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px; /* fix magasság az ikonnak */
  width: 40px; /* fix szélesség */
  color: var(--muted);
}

.view-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.view-btn.active {
  background: var(--accent);
  color: #fff;
}

.view-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.project-search {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--card-soft);
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
  width: 280px;
}

.project-search:focus {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(31, 79, 163, 0.1);
}

.project-search::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.new-project-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(31, 79, 163, 0.2);
}

.new-project-btn:hover {
  background: color-mix(in srgb, var(--accent) 85%, #000);
  box-shadow: 0 4px 12px rgba(31, 79, 163, 0.3);
  transform: translateY(-1px);
}

.new-project-btn:active {
  transform: translateY(0);
}

/* Fejléc: fix, NEM görög */
.table-head {
  flex-shrink: 0;
  width: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

/* Törzs: flexibilis, görög */
.table-body {
  flex: 1;
  min-height: 0; /* kulcs */
  width: auto;

  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  overflow-y: auto; /* függőleges scroll */
  overflow-x: hidden;
  border-radius: var(--radius);
  background: var(--bg);
}

/* Scrollbar elrejtés (de görgethető marad) */
.table-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.table-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.project-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 12px;

  background: var(--card-soft); /* ugyanaz a háttér */
  border: 1px solid var(--border); /* ugyanaz a keret */

  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.projects-table {
  width: auto;
  border-collapse: collapse;
  table-layout: auto;
  margin: 0 auto;
}

/* oszlop-szélességek - automatikus, tartalom alapján */
.col-date,
.col-created_at {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-status {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-pictures {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-note {
  min-width: 150px;
  max-width: 300px;
}

.col-creator {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-processing_time {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-media_size {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-orthomosaic_size {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-point_cloud_count {
  white-space: nowrap;
  padding: 4px 16px;
}

.col-gps_coords,
.col-gps {
  white-space: nowrap;
  text-align: center;
  padding: 4px 16px;
}

.col-public_link,
.col-link {
  white-space: nowrap;
  text-align: center;
  padding: 4px 10px;
}

.col-project_name {
  /* Hosszú nevek tördelése */
  max-width: 400px;
  white-space: normal;
  word-wrap: break-word;
}

.gps-link,
.external-link {
  font-size: 1.3rem;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.gps-link:hover,
.external-link:hover {
  opacity: 1;
  transform: scale(1.3);
}

.projects-table th,
.projects-table td {
  border-left: none !important;
  border-right: none !important;
}

.table-head th {
  text-align: left;
  padding: 12px 16px;
  background: var(--card-soft);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.table-head th.sortable {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.table-head th.sortable:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.sort-arrows {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  margin-left: 6px;
  opacity: 0.3;
  transition: opacity 0.2s ease;
  vertical-align: middle;
  position: relative;
}

.table-head th.sortable:hover .sort-arrows {
  opacity: 0.6;
}

.sort-arrows .arrow-up,
.sort-arrows .arrow-down {
  font-size: 0.6rem;
  line-height: 0.6;
  color: var(--muted);
  display: block;
}

.sort-arrows .arrow-up {
  position: relative;
  left: 4px;
}

.sort-arrows .arrow-down {
  position: relative;
  left: -4px;
}

/* Aktív rendezés jelzése */
.table-head th.sortable.sort-asc .arrow-up {
  opacity: 1;
  color: var(--accent);
}

.table-head th.sortable.sort-desc .arrow-down {
  opacity: 1;
  color: var(--accent);
}

.table-body td {
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  text-align: left;
  font-size: 0.85rem;
}

.table-body tr {
  cursor: pointer;
}

.table-body tr:hover {
  background: rgba(31, 79, 163, 0.06);
}

/* ===== 9) Megjegyzés mező ===== */
.note-input {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
}

.note-input:empty:before,
.note-input::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.note-input:hover {
  border-bottom-color: rgba(31, 79, 163, 0.2);
}

.note-input:focus {
  cursor: text;
  border-bottom-color: var(--accent);
  background: transparent;
}

/* ===== 9b) Kártya nézet ===== */
.cards-view {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px 0;
  overflow-y: auto;
  align-content: start;
  
  /* Scrollbar elrejtése */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cards-view::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px 16px 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  /* Fix magasság */
  height: 250px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 79, 163, 0.15);
  border-color: var(--accent);
}

.card-title {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  text-align: left;
  
  /* Egysoros ellipszis */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-image-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-soft);
}

.card-image {
  width: 100%;
  height: 170px; /* kicsit alacsonyabb */
  object-fit: cover;
  display: block;
  margin-bottom: 10px; /* alsó tér */
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-image-placeholder {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-soft);
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-date {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.card-body .note-input {
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ===== 10) Státusz badge (egységes) ===== */
.project-card .status-badge,
.table-body .status-badge {
  padding: 4px 8px;
  font-size: 0.7rem;
  gap: 6px;
}

.project-card .status-badge::before,
.table-body .status-badge::before {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 18%, transparent);
}

/* Kártyákon csak az ikon, szöveg nélkül - tiszta kör */
.project-card .status-badge {
  font-size: 0;
  padding: 0;
  width: 16px;
  height: 16px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-shrink: 0;
  background: transparent;
  border: none;
}

.project-card .status-badge::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: none;
  flex-shrink: 0;
}

.status-badge {
  --c: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  color: color-mix(in srgb, var(--c) 85%, #000);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent);
}

.status-badge.done {
  --c: #16a34a;
}

.status-badge.error {
  --c: #dc2626;
}

.status-badge.ready {
  --c: #f59e0b;
}

.status-badge.processing {
  --c: #2563eb;
}

.status-badge.processing::before {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--c) 35%, transparent);
  border-top-color: var(--c);
  border-radius: 50%;
  box-shadow: none;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== 10) Mobil és tablet ===== */
@media (max-width: 640px) {
  :root {
    --header-height: 180px;
    --footer-height: 40px;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-selector,
  .user-profile {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .profile-name {
    display: none;
  }

  main {
    padding: 20px 16px;
  }

  .site-footer {
    padding: 0 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-footer .footer-left,
  .site-footer .footer-right {
    padding: 4px 0;
  }

  header img {
    height: 54px !important;
    max-height: 54px !important;
  }

  .cards-view {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card-image,
  .card-image-placeholder {
    height: 180px;
  }
  
  .project-card {
    padding: 10px 14px 14px 14px;
    gap: 8px;
    height: 230px;
  }
  
  .card-title {
    font-size: 0.9rem;
  }
}

/* Tablet - 2 oszlop */
@media (min-width: 641px) and (max-width: 1024px) {
  main {
    padding: 34px 24px;
  }
  
  .cards-view {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
}

/* Nagy desktop - több oszlop */
@media (min-width: 1920px) {
  .cards-view {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
  }
}
