.publications-page {
  background: #f4f6f7;
  color: #051320;
}

.publications-page .wrap-menu-desktop {
  background: rgba(5, 19, 32, 0.96);
}

@media (min-width: 992px) {
  .publications-page .container-menu-desktop:not(.fix-menu-desktop) .wrap-menu-desktop {
    height: 124px;
  }

  .publications-page .container-menu-desktop:not(.fix-menu-desktop) .limiter-menu-desktop {
    margin-top: 0;
  }
}

.publications-hero {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  padding: 175px 0 92px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 25%, rgba(35, 201, 240, 0.24), transparent 27%),
    linear-gradient(120deg, #051320 0%, #101b50 52%, #4d2c93 100%);
}

.publications-hero::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -52%;
  width: 50%;
  height: 84%;
  background: #f94e42;
  transform: rotate(-8deg);
  opacity: 0.92;
}

.publications-hero-shape {
  position: absolute;
  pointer-events: none;
}

.publications-hero-shape-one {
  top: 115px;
  right: 17%;
  width: 250px;
  height: 250px;
  border: 48px solid rgba(202, 217, 72, 0.15);
  border-radius: 50%;
}

.publications-hero-shape-two {
  top: 0;
  right: 3%;
  width: 28%;
  height: 100%;
  background: linear-gradient(180deg, rgba(35, 201, 240, 0.18), rgba(29, 94, 224, 0.08));
  transform: skewX(-15deg);
}

.publications-hero-content {
  position: relative;
  z-index: 2;
}

.publications-breadcrumb {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.publications-breadcrumb:hover {
  color: #cad948 !important;
}

.publications-eyebrow,
.publications-section-kicker {
  display: block;
  margin-bottom: 10px;
  color: #cad948;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.publications-hero h1 {
  margin: 0 0 20px;
  max-width: 800px;
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.publications-hero-content > p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.55;
}

.publications-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.publications-stat {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 205px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.publications-stat strong {
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.publications-stat span {
  max-width: 115px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.publications-catalog {
  padding: 0 0 100px;
}

.publications-filter-panel {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(5, 19, 32, 0.13);
}

.publications-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e7ebee;
}

.publications-filter-heading h2 {
  margin: 0;
  color: #051320;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 31px;
  font-weight: 800;
}

.publications-section-kicker {
  margin-bottom: 4px;
  color: #4d2c93;
}

.publications-clear {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  color: #4d2c93;
  background: transparent;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.publications-clear:disabled {
  color: #a6afb5;
  cursor: default;
}

.publications-filters {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 18px;
  padding-top: 24px;
}

.publications-field label {
  display: block;
  margin-bottom: 8px;
  color: #2c3944;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.publications-input-wrap {
  position: relative;
}

.publications-input-wrap > i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  color: #677681;
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.publications-field input,
.publications-field select {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 45px;
  border: 1px solid #d9e0e5;
  border-radius: 12px;
  outline: 0;
  color: #051320;
  background: #f8fafb;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.publications-field select {
  appearance: none;
  cursor: pointer;
}

.publications-select-wrap::after {
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 16px;
  color: #677681;
  font-family: FontAwesome;
  transform: translateY(-50%);
  pointer-events: none;
}

.publications-field input:focus,
.publications-field select:focus {
  border-color: #4d2c93;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(77, 44, 147, 0.1);
}

.publications-results-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 38px 2px 22px;
}

.publications-results-bar p,
.publications-results-bar span {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
}

.publications-results-bar p {
  color: #051320;
  font-size: 17px;
  font-weight: 800;
}

.publications-results-bar span {
  color: #6f7d87;
  font-size: 13px;
}

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

.publication-card {
  --type-color: #4d2c93;
  --type-rgb: 77, 44, 147;
  --type-background:
    linear-gradient(145deg, rgba(var(--type-rgb), 0.18), rgba(var(--type-rgb), 0.07)),
    #f3f5f7;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e3e8eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(5, 19, 32, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.publication-card[data-type="Livro"] {
  --type-color: #4d2c93;
  --type-rgb: 77, 44, 147;
}

.publication-card[data-type="Capítulo"] {
  --type-color: #1d5ee0;
  --type-rgb: 29, 94, 224;
}

.publication-card[data-type="Artigo"] {
  --type-color: #00766c;
  --type-rgb: 0, 118, 108;
}

.publication-card[data-type="Evento"] {
  --type-color: #c23842;
  --type-rgb: 194, 56, 66;
}

.publication-card[data-type="Dissertação"] {
  --type-color: #875600;
  --type-rgb: 135, 86, 0;
}

.publication-card[data-type="Tese"] {
  --type-color: #7a1f5b;
  --type-rgb: 122, 31, 91;
}

.publication-card:nth-child(3n + 2) {
  --type-background:
    linear-gradient(165deg, rgba(var(--type-rgb), 0.13), rgba(var(--type-rgb), 0.035)),
    #f8f7f4;
}

.publication-card:nth-child(3n) {
  --type-background:
    linear-gradient(125deg, rgba(var(--type-rgb), 0.22), rgba(var(--type-rgb), 0.05)),
    #eef3f6;
}

.publication-card:hover {
  border-color: var(--type-color);
  box-shadow: 0 18px 40px rgba(5, 19, 32, 0.13);
  transform: translateY(-5px);
}

.publication-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.publication-card-link:hover {
  color: inherit !important;
  font-weight: inherit;
  text-decoration: none;
}

.publication-card-link:focus-visible {
  outline: 4px solid rgba(29, 94, 224, 0.35);
  outline-offset: -4px;
}

.publication-card-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 245px;
  padding: 25px;
  overflow: hidden;
  background: var(--type-background);
}

.publication-card-image::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.publication-card-image img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 78%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 11px 13px rgba(5, 19, 32, 0.17));
  transition: transform 0.3s;
}

.publication-card:hover .publication-card-image img {
  transform: scale(1.035);
}

.publication-type {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--type-color);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.publication-card-body h3 {
  margin: 0 0 17px;
  color: #051320;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.publication-authors {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 9px;
  align-items: start;
  margin-bottom: 14px;
  color: #64727c;
}

.publication-authors i {
  margin-top: 4px;
  color: var(--type-color);
}

.publication-authors p,
.publication-context {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.publication-context {
  margin-bottom: 17px;
  padding: 11px 12px;
  border-left: 3px solid var(--type-color);
  border-radius: 0 8px 8px 0;
  color: #50606b;
  background: #f6f8f1;
}

.publication-access {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e7ebee;
  color: var(--type-color);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.publication-access-disabled {
  color: #8a979f;
}

.publication-card-unavailable:hover {
  border-color: #e3e8eb;
  box-shadow: 0 6px 18px rgba(5, 19, 32, 0.06);
  transform: none;
}

.publication-card[hidden] {
  display: none !important;
}

.publications-empty {
  padding: 70px 24px;
  border: 1px dashed #c9d1d6;
  border-radius: 18px;
  text-align: center;
  background: #fff;
}

.publications-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1d5ee0, #4d2c93);
  font-size: 21px;
}

.publications-empty h3 {
  margin: 0 0 7px;
  color: #051320;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.publications-empty p {
  margin: 0;
  color: #6f7d87;
  font-family: "DM Sans", Arial, sans-serif;
}

.publications-load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 38px;
}

.publications-load-more {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  min-height: 50px;
  padding: 12px 25px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #1d5ee0, #4d2c93, #f94e42);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.publications-load-more:hover {
  box-shadow: 0 10px 25px rgba(77, 44, 147, 0.2);
  transform: translateY(-2px);
}

.publications-load-more[hidden],
.publications-empty[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  .publications-hero {
    min-height: 520px;
    padding-top: 145px;
  }

  .publications-filters {
    grid-template-columns: 1fr 1fr;
  }

  .publications-field-title {
    grid-column: 1 / -1;
  }

  .publications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .publications-hero {
    min-height: auto;
    padding: 125px 0 92px;
  }

  .publications-hero::after {
    right: -25%;
    opacity: 0.4;
  }

  .publications-hero-shape-one {
    right: -90px;
  }

  .publications-hero h1 {
    font-size: 51px;
  }

  .publications-hero-content > p {
    font-size: 17px;
  }

  .publications-stat {
    flex: 1 1 150px;
    min-width: 0;
  }

  .publications-filter-panel {
    margin-top: -34px;
    padding: 23px 18px;
    border-radius: 17px;
  }

  .publications-filter-heading {
    align-items: flex-start;
  }

  .publications-filter-heading h2 {
    font-size: 25px;
  }

  .publications-clear {
    flex: none;
    font-size: 0;
  }

  .publications-clear i {
    font-size: 16px;
  }

  .publications-filters {
    grid-template-columns: 1fr;
  }

  .publications-field-title {
    grid-column: auto;
  }

  .publications-results-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-top: 30px;
  }

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

  .publication-card-image {
    height: 230px;
  }
}
