.comunicados-table {
  min-width: 980px;
}

.comunicados-col--titulo {
  width: 46%;
}

.comunicados-col--data {
  width: 16%;
}

.comunicados-col--flags {
  width: 16%;
}

.comunicados-col--acoes {
  width: 22%;
}

.comunicados-table .cell-titulo {
  overflow-wrap: anywhere;
}

.external-link-inline {
  font-size: 0.73rem;
  color: #2563eb;
}

.status-badge--info {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.comunicados-public-page {
  background:
    radial-gradient(circle at 8% 14%, rgba(59, 130, 246, 0.12), transparent 34%),
    radial-gradient(circle at 90% 74%, rgba(16, 185, 129, 0.11), transparent 32%),
    linear-gradient(145deg, #f7fbff 0%, #edf5ff 50%, #f2fbf8 100%);
}

.comunicados-public-container {
  max-width: 1220px;
}

.public-head {
  margin-bottom: 1.25rem;
}

.public-chip {
  border-radius: 999px;
  border: 1px solid rgba(19, 71, 130, 0.2);
  background: rgba(255, 255, 255, 0.75);
  color: #1d4f85;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.public-title {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: #123a67;
}

.public-subtitle {
  color: #4b647f;
  margin-top: 0.2rem;
}

.public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(17, 68, 126, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -34px rgba(9, 42, 80, 0.75);
}

.public-card--destaque {
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.25), 0 20px 40px -34px rgba(9, 42, 80, 0.75);
}

.public-card__header {
  background: linear-gradient(105deg, #334155 0%, #475569 100%);
  padding: 0.7rem 0.9rem;
}

.public-card__header--destaque {
  background: linear-gradient(105deg, #1e3a8a 0%, #2563eb 100%);
}

.public-card__body {
  padding: 1rem;
}

.public-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: #64748b;
}

.public-card__meta--header {
  color: rgba(255, 255, 255, 0.94);
  justify-content: space-between;
}

.public-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  font-weight: 700;
  background: #dbeafe;
  color: #1e3a8a;
  border: 1px solid #93c5fd;
}

.public-badge--header {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.public-card__title {
  margin-top: 0.45rem;
  font-weight: 800;
  color: #1f3f66;
  line-height: 1.35;
}

.public-card__summary {
  margin-top: 0.35rem;
  color: #475569;
  font-size: 0.88rem;
}

.public-card__actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.read-more-link {
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
}

.external-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.65rem;
  padding: 0.32rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #ecfdf3;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.external-link-btn--large {
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}

.public-detail-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 68, 126, 0.12);
  border-radius: 1rem;
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: 0 20px 40px -34px rgba(9, 42, 80, 0.75);
}

.back-link {
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 600;
}

.public-detail-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-top: 0.4rem;
  color: #173e69;
  font-weight: 800;
}

.public-detail-summary {
  margin-top: 0.55rem;
  color: #4b647f;
}

.public-detail-content {
  margin-top: 1rem;
  color: #334155;
  line-height: 1.65;
}

.public-detail-content p {
  margin-bottom: 0.8rem;
}

.public-detail-cta {
  margin-top: 1rem;
}

.public-empty {
  grid-column: 1 / -1;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #fff;
  color: #64748b;
  padding: 2rem 1rem;
}

.public-empty i {
  font-size: 2.2rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

@media (max-width: 1100px) {
  .public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .comunicados-table {
    min-width: 860px;
  }

  .public-grid {
    grid-template-columns: 1fr;
  }

  .public-title,
  .public-detail-title {
    font-size: 1.55rem;
  }
}
