@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@200;300;400;500;600&family=Rubik:wght@300;400;500&display=swap');


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-heading: 'Bricolage Grotesque', 'Helvetica', sans-serif;
  --font-body: 'Rubik', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --border: #E0E0E0; /* світло-сірий для розділення секцій */
  --bg: #FFFFFF; /* чисто білий фон */
  --text: #333333; /* темно-сірий для основного тексту */
  --text-secondary: #555555; /* середньо-сірий для вторинного тексту */
  --text-tertiary: #777777; /* світло-сірий для допоміжного тексту */
  --accent: #ff427e;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HEADER */

.site-header {
  margin-top: 80px;
  margin-bottom: 100px;
  padding: 0 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.name {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
}

/* CONTAINER */

.container {
  max-width: 1200px;
  margin: 0 auto 120px auto;
  padding: 0 32px;
}

/* FILTERS */

.filters {
  display: flex;
  gap: 24px;
  margin-bottom: 64px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  padding-bottom: 16px;
}

.filters button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-tertiary);
  text-transform: lowercase;
  padding: 4px 0;
  transition: color 0.2s ease;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  position: relative;
}

.filters button:hover {
  color: var(--text);
}

.filters button.active {
  color: var(--accent);
}

/* GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 48px;
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 40px;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin-top: 60px;
    margin-bottom: 64px;
  }
  
  .name {
    font-size: 36px;
  }
  
  .container {
    padding: 0 24px;
  }
  
  .filters {
    gap: 20px;
    margin-bottom: 48px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* CARD */

.card {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  transition: border-color 0.25s ease,
}

.meta {
  position: relative;
  display: inline-block;
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-weight: 400;
}

.card.featured .meta::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 4px rgba(255, 77, 0, 0);
  }
}

.title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.org {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-weight: 300;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: 'IBM Plex Mono', monospace;
}

.tags li {
  background: transparent;
  padding: 4px 0;
}

.tags li::before {
  content: '#';
  opacity: 0.5;
}

.link {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', monospace;
  transition: opacity 0.2s ease;
}

.link:hover {
  opacity: 0.7;
}

.link::before {
  content: '↗ ';
}

.site-footer {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}
