    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle,rgba(39, 127, 168, 1) 0%, rgba(27, 79, 99, 1) 41%);
      min-height: 100vh;
      padding: 2rem 1rem;
      color: #111827;
      position: relative; 
    }

    /* --- NYELVVÁLASZTÓ --- */
    .language-selector {
      position: absolute;
      top: 1.5rem;
      left: 1.5rem;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 999px;
      padding: 0.4rem 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      z-index: 100;
    }
    
    .lang-label {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .lang-icon { width: 14px; height: 14px; fill: currentColor; }

    .lang-link {
      font-size: 0.85rem;
      color: #fff;
      font-weight: 700;
      text-decoration: none;
      background: rgba(0, 0, 0, 0.2);
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      transition: background 0.2s;
    }
    .lang-link:hover { background: rgba(0, 0, 0, 0.4); }

    /* --- ALAP STÍLUSOK --- */
    .header {
      text-align: center;
      margin-bottom: 2.5rem;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      padding-top: 1rem;
    }

    .header-title-wrapper {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 0.5rem;
    }

    .header-logo {
      height: clamp(2.5rem, 6vw, 4rem); 
      width: auto;
      flex-shrink: 0;
      object-fit: contain;
    }

    .header h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 800;
      background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0; 
      letter-spacing: -0.02em;
    }
    
    /* --- NEWS SECTION --- */
    .news-section-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #ffffff;
      text-align: left;
      margin-top: 2rem;
      margin-bottom: -0.5rem;
      padding-left: 0.2rem;
    }

    /* NEWS SCROLL */
    .news-grid {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important; /* Nem engedi új sorba törni */
      overflow-x: auto !important;   /* Vízszintes görgetősáv bekapcsolása */
      scroll-snap-type: x mandatory;
      gap: 1rem;
      margin: 1.5rem 0 2rem 0;
      width: 100%;
      padding-bottom: 1rem;
      -webkit-overflow-scrolling: touch;
    }

    /* Scroll bar design */
    .news-grid::-webkit-scrollbar {
      height: 8px;
    }
    .news-grid::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.1); 
      border-radius: 4px;
    }
    .news-grid::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.4); 
      border-radius: 4px;
    }
    .news-grid::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.6); 
    }

    .news-item {
      display: flex;
      flex-direction: column;
      text-decoration: none;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      position: relative;
      flex: 0 0 220px !important; /* Fix szélesség, hogy ne nyomódjanak össze */
      max-width: 220px !important;
      scroll-snap-align: start;
    }

    .news-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
    
    .news-item::after {
      content: "Citește tot articolul";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgb(39, 127, 168);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      font-weight: 700;
      opacity: 0;
      transform: translateY(100%);
      transition: all 0.3s ease-in-out;
      z-index: 10;
    }
    .news-item:hover::after { opacity: 1; transform: translateY(0); }
    .news-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
    .news-title { padding: 0.6rem; font-size: 0.85rem; font-weight: 700; color: #1f2937; text-align: center; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    
    /* FILTER BUTTONS */
    .filters { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 1.2rem; flex-wrap: wrap; }
    .filter-btn { padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); color: #f9fafb; font-size: 0.85rem; font-weight: 500; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.2s ease; }
    .filter-btn:hover { background: rgba(255,255,255,0.22); }
    .filter-btn.active { background: #22c55e; border-color: #22c55e; color: #022c22; }

    .filter-select {
      padding: 0.4rem 2rem 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.6);
      background: rgba(255,255,255,0.12) url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') no-repeat right 0.5rem center;
      background-size: 18px; color: #f9fafb; font-size: 0.85rem; font-weight: 500; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.2s ease; appearance: none; outline: none;
    }
    .filter-select:hover { background-color: rgba(255,255,255,0.22); }
    .filter-select:focus { border-color: #22c55e; }
    .filter-select option { background: #1b4f63; color: #ffffff; }

    /* --- GRAND CARDS --- */
    .grant-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
    .grant-card { border-radius: 14px; padding: 1.2rem 1.3rem 1.3rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); display: flex; flex-direction: column; gap: 0.55rem; position: relative; overflow: hidden; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.3); }
    .grant-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.18); }
    .grant-tag { position: absolute; top: 0; right: 0; padding: 0.25rem 0.7rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; border-bottom-left-radius: 12px; color: #fff; }
    .grant-tag.open { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 4px 12px rgba(34,197,94,0.3); }
    .grant-tag.closed { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 4px 12px rgba(239,68,68,0.4); }
    .grant-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.18rem 0.55rem; border-radius: 999px; font-size: 0.75rem; background: rgba(0,0,0,0.06); color: #444; align-self: flex-start; }
    .grant-title { font-size: 1.02rem; font-weight: 700; color: #111827; line-height: 1.3; margin-right: 2.5rem; }
    .grant-meta { font-size: 0.8rem; color: #4b5563; display: flex; flex-direction: column; gap: 0.3rem; }
    .grant-body { font-size: 0.78rem; color: #374151; line-height: 1.45; margin-top: 0.2rem; }
    .grant-footer { margin-top: auto; padding-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: space-between; }
    .grant-deadline { font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; }
    .grant-deadline.open { color: #166534; }
    .grant-deadline.closed { color: #b91c1c; }
    .grant-deadline span.dot { width: 8px; height: 8px; border-radius: 999px; }
    .grant-deadline.open span.dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
    .grant-deadline.closed span.dot { background: #f97373; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.22); }
    .grant-link { font-size: 0.78rem; font-weight: 600; color: #2563eb; text-decoration: none; }
    .grant-link:hover { text-decoration: underline; }
    .grant-highlight { font-size: 0.78rem; color: #2563eb; background: rgba(37,99,235,0.07); padding: 0.18rem 0.55rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem; }
    
    /* --- FOOTER TEXT --- */
    .footer-disclaimer {
      text-align: center;
      margin-top: 3rem;
      padding: 1rem;
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.65);
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.4;
    }

    /* RESPONSIVE */
    @media (max-width: 992px) { .grant-board { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 768px) {
      .header { padding: 0 0.5rem; max-width: 100%; overflow: hidden; padding-top: 2rem; }
      .language-selector { top: 1rem; left: 1rem; padding: 0.3rem 0.5rem; }
      .lang-text { display: none; }
      .news-section-title { text-align: center; }
      
      .news-grid::-webkit-scrollbar { height: 4px; }
      .news-item { flex: 0 0 160px !important; max-width: 160px !important; }

      .news-title { padding: 0.5rem; font-size: 0.85rem; }
      .news-item::after { font-size: 1rem; }

    }
    @media (max-width: 650px) { .grant-board { grid-template-columns: 1fr; } }