/* publicacoes_single.css */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap");

.publicacoes-header-banner {
  height: 227px;
  background: url(../images/servicos-hero.png) no-repeat center center;
  background-size: cover;
  position: relative;
  margin-left: 50%;
  transform: translateX(-50vw);
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-overlay {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.banner-overlay h1 {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: calc(42px * var(--var-fontscale));
}

.publicacoes-container {
  display: flex;
  gap: 57px;
  margin: 27px auto;
  font-family: "Montserrat", sans-serif;
  align-items: flex-start;
  margin-bottom: 0px;
}

.single-publicacoes-breadcrumb {
  margin-bottom: 24px;
}

.publicacoes-article-body {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
}

.article-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.pub-date {
  color: #64748b;
  font-size: calc(14px * var(--var-fontscale));
  font-weight: 500;
}

.meta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  background: transparent;
  border: none;
  color: #1a82c4;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: calc(14px * var(--var-fontscale));
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-title {
  color: #1e293b;
  font-family: "Montserrat", sans-serif;
  font-size: calc(28px * var(--var-fontscale));
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-summary {
  color: #475569;
  font-family: "Montserrat", sans-serif;
  font-size: calc(16px * var(--var-fontscale));
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
}

.single-publicacao-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.article-content {
  color: #334155;
  font-family: "Open Sans", sans-serif;
  font-size: calc(16px * var(--var-fontscale));
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Attachments Styling */
.publicacoes-single-attachments {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
}

.single-attachments-title {
  font-family: "Montserrat", sans-serif;
  font-size: calc(18px * var(--var-fontscale));
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-attachments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-attachment-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-decoration: none;
  color: #1a82c4;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: calc(14px * var(--var-fontscale));
  transition: all 0.2s ease;
}

.single-attachment-link:hover {
  background: #f1f5f9;
  border-color: #1a82c4;
  transform: translateX(4px);
}

.single-attachment-link .file-icon {
  flex-shrink: 0;
  stroke: #1a82c4;
}

.single-attachment-link .file-name {
  word-break: break-all;
}

.single-attachment-link .file-desc {
  color: #64748b;
  font-weight: 400;
  font-size: calc(13px * var(--var-fontscale));
}
