/* ===== INTERNAL PAGES ===== */

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, #00476d 0%, #0077b6 100%);
  padding: 60px 0 40px;
  color: #ffffff;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-hero .breadcrumb {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.page-hero p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
}

/* Filter Bar */
.filter-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 16px 0;
}

.filter-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-bar select,
.filter-bar input[type="search"] {
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #ffffff;
  min-width: 180px;
}

.filter-bar input[type="search"] {
  min-width: 250px;
}

.filter-bar .btn-filter {
  background: #00476d;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-bar .btn-filter:hover {
  background: #003a5a;
}

/* Content Grid */
.archive-content {
  padding: 48px 0 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Stretched Link Utility */
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

/* Card */
.content-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
}

.content-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.content-card .card-thumb {
  height: 180px;
  background: #e9ecef;
  overflow: hidden;
}

.content-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card .card-body {
  padding: 20px;
}

.content-card .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.content-card .card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00476d;
  background: #e0f0ff;
  padding: 3px 8px;
  border-radius: 4px;
}

.content-card .card-date {
  font-size: 12px;
  color: #6c757d;
}

.content-card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
  margin-bottom: 8px;
}

.content-card .card-title a {
  color: inherit;
  transition: color 0.2s;
  position: relative;
  z-index: 2;
}

.content-card .card-title a:hover {
  color: #00476d;
}

.content-card .card-thumb a {
  position: relative;
  z-index: 2;
}

.content-card .card-excerpt {
  font-size: 14px;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 12px;
}

.content-card .card-link {
  font-size: 14px;
  font-weight: 500;
  color: #00476d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.content-card .card-link:hover {
  text-decoration: underline;
}

/* List View (for regulação) */
.content-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.list-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.list-item .list-icon {
  font-size: 24px;
  color: #00476d;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #e0f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-item .list-body {
  flex: 1;
}

.list-item .list-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 2px;
}

.list-item .list-title a {
  color: inherit;
}

.list-item .list-title a:hover {
  color: #00476d;
}

.list-item .list-desc {
  font-size: 14px;
  color: #6c757d;
}

/* Pagination */
.archive-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  border: 1px solid #dee2e6;
  transition: all 0.2s;
}

.archive-pagination .page-numbers:hover {
  background: #e0f0ff;
  color: #00476d;
  border-color: #00476d;
}

.archive-pagination .page-numbers.current {
  background: #00476d;
  color: #ffffff;
  border-color: #00476d;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #6c757d;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #adb5bd;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

/* Contato Page */
.contact-section {
  padding: 60px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: #00476d;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: #e0f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #00476d;
  flex-shrink: 0;
}

.contact-info-item .text h4 {
  font-size: 14px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 2px;
}

.contact-info-item .text p,
.contact-info-item .text a {
  font-size: 14px;
  color: #495057;
}

.contact-info-item .text a:hover {
  color: #00476d;
}

.contact-form h2 {
  font-size: 24px;
  font-weight: 700;
  color: #00476d;
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00476d;
  box-shadow: 0 0 0 3px rgba(0,71,109,0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-submit {
  background: #00476d;
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form .btn-submit:hover {
  background: #003a5a;
}

/* Map placeholder */
.contact-map {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 24px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .filter-bar .container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar select,
  .filter-bar input[type="search"] {
    min-width: 100%;
  }
}

/* ===== ARTIGO DETALHES (single-producao) ===== */
/* Figma node: 4902:4159 "Artigo Detalhes"
   Design tokens: Montserrat, #00476d primary, #6C757D secondary,
   #212529 body, #f8f9fa light bg, #e7f1ff blue bg, #dee2e6 borders,
   Container: 1200px, Title: 44px, H2: 28px, H3: 20px */

/* ─── Hero Section ───────────────────────────────────────── */
.artigo-hero {
  background: #e7f1ff;
  padding: 80px 24px;
}

.artigo-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.artigo-hero__badge {
  display: inline-block;
  background: #00476d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.5;
}

.artigo-hero__title {
  font-size: 44px;
  font-weight: 700;
  color: #00476d;
  line-height: 1.2;
  margin: 0;
}

.artigo-hero__subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

/* ─── Metadata ───────────────────────────────────────────── */
.artigo-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: baseline;
}

.artigo-hero__meta-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  color: #495057;
  line-height: 1.5;
}

.artigo-hero__meta-item i {
  font-size: 16px;
}

.artigo-hero__meta-label {
  opacity: 0.8;
}

/* ─── Action Buttons (Hero) ──────────────────────────────── */
.artigo-hero__actions {
  display: flex;
  gap: 12px;
}

.artigo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 4.8px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #00476d;
  cursor: pointer;
}

.artigo-btn--primary {
  background: #00476d;
  color: #ffffff;
}

.artigo-btn--primary:hover {
  background: #003550;
}

.artigo-btn--outline {
  background: transparent;
  color: #00476d;
}

.artigo-btn--outline:hover {
  background: rgba(0, 71, 109, 0.05);
}

.artigo-btn--sm {
  font-size: 14px;
  padding: 5px 9px;
  border-radius: 3.2px;
}

/* ─── Content Section ────────────────────────────────────── */
.artigo-content-section {
  background: #ffffff;
  padding: 80px 24px;
}

.artigo-content-section__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 800px 1fr;
  gap: 56px;
  align-items: start;
}

/* ─── Main Column ────────────────────────────────────────── */
.artigo-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

/* ─── Section blocks ─────────────────────────────────────── */
.artigo-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.artigo-section__title {
  font-size: 28px;
  font-weight: 700;
  color: #00476d;
  line-height: 1.2;
  margin: 0;
}

.artigo-section__body {
  font-size: 16px;
  line-height: 1.7;
  color: #212529;
}

.artigo-section__body p {
  margin: 0 0 16px;
}

.artigo-section__body p:last-child {
  margin-bottom: 0;
}

/* ─── Como Citar ─────────────────────────────────────────── */
.artigo-citar {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.artigo-citar__title {
  font-size: 28px;
  font-weight: 700;
  color: #00476d;
  line-height: 1.2;
  margin: 0;
}

.artigo-citar__tabs {
  display: flex;
  border-bottom: 1px solid #dee2e6;
}

.artigo-citar__tab {
  padding: 9px 17px;
  font-size: 16px;
  font-weight: 400;
  color: #6c757d;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.2s;
}

.artigo-citar__tab--active {
  background: #ffffff;
  color: #00476d;
  font-weight: 700;
  border-color: #ced4da;
}

.artigo-citar__content {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  padding: 16px;
}

.artigo-citar__panel {
  display: none;
}

.artigo-citar__panel--active {
  display: block;
}

.artigo-citar__panel p {
  font-size: 15px;
  line-height: 1.7;
  color: #212529;
  margin: 0;
}

.artigo-citar__actions {
  display: flex;
  gap: 12px;
}

/* ─── Materiais Complementares ───────────────────────────── */
.artigo-materiais {
  display: flex;
  flex-wrap: wrap;
  gap: 19px 22px;
}

.artigo-material-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 21px;
  width: calc(50% - 11px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artigo-material-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.artigo-material-card__type {
  display: flex;
  align-items: center;
  gap: 8px;
}

.artigo-material-card__type i {
  font-size: 20px;
  color: #00476d;
}

.artigo-material-card__type-label {
  font-size: 11px;
  font-weight: 700;
  color: #00476d;
  background: #ffffff;
  padding: 1px 8px;
  border-radius: 4px;
}

.artigo-material-card__size {
  font-size: 11px;
  color: #6c757d;
}

.artigo-material-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.3;
}

.artigo-material-card__desc {
  font-size: 13px;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

.artigo-material-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00476d;
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.artigo-material-card__btn:hover {
  background: #003550;
}

/* ─── Publicações Relacionadas ───────────────────────────── */
.artigo-relacionadas {
  display: flex;
  gap: 20px;
}

.artigo-relacionada-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.artigo-relacionada-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.artigo-relacionada-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.artigo-relacionada-card__badge {
  background: #e7f1ff;
  color: #00476d;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  line-height: 1.5;
}

.artigo-relacionada-card__year {
  font-size: 12px;
  color: #6c757d;
}

.artigo-relacionada-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #212529;
  line-height: 1.3;
  margin: 0;
}

.artigo-relacionada-card__desc {
  font-size: 13px;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

.artigo-relacionada-card__link {
  font-size: 13px;
  font-weight: 500;
  color: #00476d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.artigo-relacionada-card__link:hover {
  text-decoration: underline;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.artigo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: sticky;
  top: 100px;
}

/* Search box */
.artigo-sidebar__search-box {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
}

.artigo-sidebar__search-input {
  flex: 1;
  padding: 7px 13px;
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
  font-family: inherit;
  color: #212529;
  outline: none;
}

.artigo-sidebar__search-input::placeholder {
  color: #6c757d;
}

.artigo-sidebar__search-input:focus {
  border-color: #00476d;
}

.artigo-sidebar__search-btn {
  background: #6c757d;
  border: 1px solid #6c757d;
  border-radius: 0 4px 4px 0;
  color: #ffffff;
  padding: 7px 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artigo-sidebar__search-btn:hover {
  background: #5a6268;
}

/* Sidebar blocks */
.artigo-sidebar__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.artigo-sidebar__heading {
  font-size: 20px;
  font-weight: 700;
  color: #00476d;
  line-height: 1.2;
  margin: 0;
}

/* Editorias list */
.artigo-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.artigo-sidebar__list li {
  padding: 6px 0;
}

.artigo-sidebar__list a {
  font-size: 13px;
  color: #495057;
  text-decoration: none;
  transition: color 0.2s;
}

.artigo-sidebar__list a:hover {
  color: #00476d;
}

/* Tags */
.artigo-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.artigo-sidebar__tag-pill {
  display: inline-block;
  background: #e7f1ff;
  color: #00476d;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  line-height: 1.5;
  transition: all 0.2s;
}

.artigo-sidebar__tag-pill:hover {
  background: #00476d;
  color: #ffffff;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1280px) {
  .artigo-content-section__grid {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 992px) {
  .artigo-hero {
    padding: 48px 24px;
  }

  .artigo-hero__title {
    font-size: 32px;
  }

  .artigo-content-section {
    padding: 48px 24px;
  }

  .artigo-content-section__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .artigo-sidebar {
    position: static;
  }

  .artigo-material-card {
    width: 100%;
  }

  .artigo-relacionadas {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .artigo-hero {
    padding: 32px 16px;
  }

  .artigo-hero__title {
    font-size: 26px;
  }

  .artigo-hero__subtitle {
    font-size: 16px;
  }

  .artigo-hero__meta {
    flex-direction: column;
    gap: 8px;
  }

  .artigo-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .artigo-btn {
    font-size: 16px;
    justify-content: center;
  }

  .artigo-content-section {
    padding: 32px 16px;
  }

  .artigo-section__title,
  .artigo-citar__title {
    font-size: 22px;
  }

  .artigo-citar__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COMMENTS SECTION
   ═══════════════════════════════════════════════════════════════ */

.artigo-comments-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.artigo-comments-section__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-comments {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #dee2e6;
}

/* Comments title */
.epsm-comments__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #00476d;
  margin-bottom: 24px;
}

/* Comments list */
.epsm-comments__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.epsm-comments__list .epsm-comment {
  margin-bottom: 24px;
}

.epsm-comments__list .children {
  list-style: none;
  padding-left: 48px;
  margin-top: 16px;
}

/* Single comment */
.epsm-comment__body {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
}

.epsm-comment__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.epsm-comment__avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.epsm-comment__meta {
  display: flex;
  flex-direction: column;
}

.epsm-comment__author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #212529;
}

.epsm-comment__date {
  font-size: 13px;
  color: #6c757d;
}

.epsm-comment__content {
  font-size: 15px;
  line-height: 1.6;
  color: #212529;
}

.epsm-comment__content p {
  margin: 0;
}

.epsm-comment__moderation {
  display: block;
  color: #856404;
  background: #fff3cd;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 13px;
}

.epsm-comment__footer {
  margin-top: 8px;
}

.epsm-comment__reply a {
  font-size: 13px;
  color: #00476d;
  text-decoration: none;
  font-weight: 500;
}

.epsm-comment__reply a:hover {
  text-decoration: underline;
}

/* Login notice */
.epsm-comments__login-notice {
  background: #e7f1ff;
  border: 1px solid #b6d4fe;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.epsm-comments__login-notice p {
  font-size: 16px;
  color: #212529;
  margin-bottom: 16px;
}

.epsm-comments__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #00476d;
  color: #fff;
  margin: 0 6px;
  transition: background .2s;
}

.epsm-comments__btn:hover {
  background: #003552;
  color: #fff;
}

.epsm-comments__btn--outline {
  background: transparent;
  border: 2px solid #00476d;
  color: #00476d;
}

.epsm-comments__btn--outline:hover {
  background: #00476d;
  color: #fff;
}

.epsm-comments__closed {
  font-size: 14px;
  color: #6c757d;
  font-style: italic;
}

/* Comment form */
#respond {
  margin-top: 32px;
}

#respond .comment-reply-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #00476d;
  margin-bottom: 16px;
}

#respond .comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  margin-bottom: 4px;
}

#respond .comment-form textarea,
#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color .2s;
}

#respond .comment-form textarea:focus,
#respond .comment-form input:focus {
  outline: none;
  border-color: #00476d;
  box-shadow: 0 0 0 3px rgba(0, 71, 109, .1);
}

#respond .comment-form .form-submit input[type="submit"] {
  background: #00476d;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

#respond .comment-form .form-submit input[type="submit"]:hover {
  background: #003552;
}

/* Comment navigation */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
  font-size: 14px;
}

.comment-navigation a {
  color: #00476d;
  text-decoration: none;
}

.comment-navigation a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .epsm-comments__list .children {
    padding-left: 24px;
  }

  .epsm-comments__login-notice {
    padding: 24px 16px;
  }

  .epsm-comments__btn {
    display: flex;
    justify-content: center;
    margin: 8px 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LISTAGEM PRODUÇÃO — Figma "Listagem Artigos" (4900:1370)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero ────────────────────────────────────────────────── */
.listagem-hero {
  background: linear-gradient(135deg, #00476d 0%, #003550 100%);
  padding: 60px 0 48px;
  color: #ffffff;
}

.listagem-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listagem-hero__breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 6px;
  align-items: center;
}

.listagem-hero__breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

.listagem-hero__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 8px 0 0;
}

.listagem-hero__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.listagem-hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0;
}

/* ─── Filter Bar ──────────────────────────────────────────── */
.listagem-filters {
  background: #ffffff;
  border-bottom: 1px solid #dee2e6;
  padding: 20px 0;
}

.listagem-filters__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.listagem-filters__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listagem-filters__search {
  display: flex;
  width: 100%;
}

.listagem-filters__search input {
  flex: 1;
  padding: 10px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 6px 0 0 6px;
  outline: none;
  color: #212529;
}

.listagem-filters__search input:focus {
  border-color: #00476d;
}

.listagem-filters__search input::placeholder {
  color: #6c757d;
}

.listagem-filters__search-btn {
  background: #6c757d;
  border: 1px solid #6c757d;
  border-radius: 0 6px 6px 0;
  color: #ffffff;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.listagem-filters__search-btn:hover {
  background: #5a6268;
}

.listagem-filters__selects {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.listagem-filters__selects select {
  padding: 9px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #ffffff;
  color: #212529;
  min-width: 160px;
  cursor: pointer;
}

.listagem-filters__selects select:focus {
  border-color: #00476d;
  outline: none;
}

/* ─── Featured Section ────────────────────────────────────── */
.listagem-featured {
  background: #f8f9fa;
  padding: 48px 0;
}

.listagem-featured__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.listagem-featured__title {
  font-size: 32px;
  font-weight: 700;
  color: #00476d;
  margin: 0 0 24px;
}

.listagem-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.listagem-featured-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.listagem-featured-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.listagem-featured-card__badge {
  display: inline-block;
  background: #e7f1ff;
  color: #00476d;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.listagem-featured-card__year {
  font-size: 13px;
  color: #6c757d;
}

.listagem-featured-card__image {
  display: block;
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: #e9ecef;
  text-decoration: none;
}

.listagem-featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listagem-featured-card__title a {
  color: inherit;
  text-decoration: none;
}

.listagem-featured-card__title a:hover {
  color: #00476d;
}

.listagem-featured-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #adb5bd;
}

.listagem-featured-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listagem-featured-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #00476d, #0077b6);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.listagem-featured-card__btn:hover {
  opacity: 0.9;
}

/* ─── Content Grid (main + sidebar) ──────────────────────── */
.listagem-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.listagem-content__grid {
  display: grid;
  grid-template-columns: 800px 1fr;
  gap: 56px;
  align-items: start;
}

/* ─── Main Column ─────────────────────────────────────────── */
.listagem-main__heading {
  font-size: 32px;
  font-weight: 700;
  color: #00476d;
  margin: 0 0 24px;
}

.listagem-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ─── Publication Card ────────────────────────────────────── */
.pub-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border-radius: 12px;
}

.pub-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.pub-card__title-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pub-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #212529;
  line-height: 1.3;
  margin: 0;
}

.pub-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.pub-card__title a:hover {
  color: #00476d;
}

.pub-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pub-card__meta-year {
  font-size: 13px;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pub-card__meta-year i {
  font-size: 12px;
}

.pub-card__meta-dot {
  width: 4px;
  height: 4px;
  background: #dee2e6;
  border-radius: 50%;
  flex-shrink: 0;
}

.pub-card__meta-cat {
  font-size: 13px;
  font-weight: 500;
  color: #00476d;
}

.pub-card__meta-editoria {
  font-size: 13px;
  color: #6c757d;
}

/* Action buttons */
.pub-card__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pub-card__action-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #495057;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.pub-card__action-btn:hover {
  background: #f8f9fa;
  border-color: #00476d;
  color: #00476d;
}

/* Authors */
.pub-card__authors {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #495057;
}

.pub-card__authors i {
  font-size: 14px;
  color: #6c757d;
}

/* Excerpt */
.pub-card__excerpt {
  font-size: 15px;
  color: #212529;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.pub-card__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-card__tags > i {
  font-size: 14px;
  color: #6c757d;
}

.pub-card__tag {
  display: inline-block;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s;
}

.pub-card__tag:hover {
  background: #e7f1ff;
  border-color: #00476d;
  color: #00476d;
}

/* DOI footer */
.pub-card__doi {
  border-top: 1px solid #dee2e6;
  padding-top: 13px;
  font-size: 12px;
  color: #6c757d;
}

.pub-card__doi a {
  color: #00476d;
  text-decoration: none;
}

.pub-card__doi a:hover {
  text-decoration: underline;
}

/* ─── Pagination ──────────────────────────────────────────── */
.listagem-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.listagem-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s;
}

.listagem-pagination .page-numbers:hover {
  background: #f8f9fa;
  border-color: #00476d;
  color: #00476d;
}

.listagem-pagination .page-numbers.current {
  background: #00476d;
  border-color: #00476d;
  color: #ffffff;
}

.listagem-pagination .page-numbers.dots {
  border: none;
  cursor: default;
}

/* ─── Empty State ─────────────────────────────────────────── */
.listagem-empty {
  text-align: center;
  padding: 80px 24px;
  color: #6c757d;
}

.listagem-empty i {
  font-size: 48px;
  margin-bottom: 16px;
}

.listagem-empty h3 {
  font-size: 20px;
  font-weight: 600;
  color: #212529;
  margin: 0 0 8px;
}

.listagem-empty p {
  font-size: 15px;
  margin: 0;
}

/* ─── Listagem Responsive ─────────────────────────────────── */
@media (max-width: 1280px) {
  .listagem-content__grid {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .listagem-hero__title {
    font-size: 28px;
  }

  .listagem-featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listagem-content__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 576px) {
  .listagem-hero {
    padding: 40px 0 32px;
  }

  .listagem-hero__title {
    font-size: 24px;
  }

  .listagem-filters__selects {
    flex-direction: column;
  }

  .listagem-filters__selects select {
    min-width: 100%;
  }

  .listagem-featured__grid {
    grid-template-columns: 1fr;
  }

  .pub-card__header {
    flex-direction: column;
  }

  .pub-card__actions {
    align-self: flex-end;
  }
}

/* Artigos relacionados (curados) — meta epsm_producao_artigos_relacionados */
.artigo-artrel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.artigo-artrel__item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; transition: background .15s, border-color .15s; }
.artigo-artrel__item:hover { background: #e7f1ff; border-color: #00476d; }
.artigo-artrel__item > .bi { color: #00476d; font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.artigo-artrel__link { color: #00476d; font-weight: 600; text-decoration: none; line-height: 1.4; }
.artigo-artrel__link:hover { text-decoration: underline; }
.artigo-artrel__year { color: #6c757d; font-weight: 400; margin-left: 6px; }
.artigo-artrel__link .bi-box-arrow-up-right { font-size: 12px; margin-left: 6px; }
