.updates-intro {
  color: #475569;
  max-width: 920px;
  margin: -10px 0 24px;
  line-height: 1.75;
}

.community-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.community-actions a.community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  padding: 14px 18px;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.community-actions a.community-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  filter: brightness(0.96);
}

.community-actions a.community-button.telegram { background: #2563eb; }
.community-actions a.community-button.youtube { background: #dc2626; }
.community-actions a.community-button.whatsapp { background: #16a34a; }

.updates-filter-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  margin: 24px 0;
}

.updates-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.updates-filter-grid input,
.updates-filter-grid select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px 14px;
  color: #0f172a;
  font-size: 0.95rem;
  min-height: 48px;
}

.updates-filter-grid input:focus,
.updates-filter-grid select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.updates-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  -webkit-overflow-scrolling: touch;
}

.updates-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.updates-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eff6ff;
  color: #0f172a;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 1px solid #dbeafe;
  white-space: nowrap;
}

.updates-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: middle;
  word-break: break-word;
}

.updates-table th:first-child,
.updates-table td:first-child {
  width: 34%;
}

.updates-table th:last-child,
.updates-table td:last-child {
  width: 130px;
}

.updates-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.updates-table tbody tr:hover {
  background: #eef6ff;
}

.update-title-cell strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

.update-title-cell span {
  color: #64748b;
  font-size: 0.92rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-new { background: #dcfce7; color: #166534; }
.status-updated { background: #dbeafe; color: #1d4ed8; }
.status-important { background: #ffedd5; color: #c2410c; }
.status-expired { background: #fee2e2; color: #b91c1c; }

.updates-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff !important;
  padding: 9px 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.updates-action:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.updates-empty-state {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  color: #475569;
  margin-top: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.detail-panel,
.detail-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.detail-sidebar .community-actions {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 20px;
}

.detail-section {
  margin-top: 24px;
}

.detail-section h3 {
  margin-bottom: 10px;
  color: #0f172a;
}

.detail-section p,
.detail-section li {
  color: #475569;
  line-height: 1.75;
}

.link-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.link-list a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-row a,
.share-row button {
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  padding: 10px 12px;
  font-weight: 700;
  text-decoration: none;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f8fafc;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: #475569;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 900px) {
  .community-actions,
  .updates-filter-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .updates-table {
    min-width: 780px;
  }
}
