/* Match the 1250px content grid used by Editoriale and Studii si analize. */
body.page-id-3983 .elementor.elementor-3983 {
  margin-bottom: 80px;
}
body.page-id-3983 .elementor-3983 > .elementor-section {
  width: calc(100% - 48px);
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}
/* Progressive enhancement: the original Elementor content remains the fallback. */
body.page-id-3983 .filia-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: calc(100% - 48px);
  max-width: 1250px;
  margin: 40px auto 0;
  align-items: start;
}
body.page-id-3983 .filia-report-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 360px;
  padding: 28px;
  border: 1px solid #b0b5c133;
  border-radius: 15px;
  box-shadow: 0 5px 5px rgba(18, 63, 82, .035);
  box-sizing: border-box;
}
body.page-id-3983 .filia-report-card.is-expanded { height: auto; min-height: 360px; }
body.page-id-3983 .filia-report-card h2.filia-report-title {
  margin: 0 0 18px;
  font-family: Anton, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}
body.page-id-3983 .filia-report-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0 0 14px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.page-id-3983 .filia-report-toggle {
  align-self: flex-start;
  border: 0;
  padding: 4px 0;
  margin: 0 0 18px;
  background: transparent;
  color: #232629;
  font: 600 14px/1.5 Montserrat, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
body.page-id-3983 .filia-report-toggle:focus-visible { outline: 2px solid #ef1922; outline-offset: 5px; }
body.page-id-3983 .filia-report-details { margin-bottom: 20px; }
body.page-id-3983 .filia-report-details .elementor-widget { margin-bottom: 18px; }
body.page-id-3983 .filia-report-details .elementor-widget:last-child { margin-bottom: 0; }
body.page-id-3983 .filia-report-details ul { padding-left: 20px; list-style-position: outside; }
body.page-id-3983 .filia-report-details li { margin-bottom: 8px; }
body.page-id-3983 .filia-report-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
body.page-id-3983 .filia-report-actions .elementor-widget-button { width: auto; margin: 0; }
body.page-id-3983 .filia-report-actions .elementor-button { white-space: normal; }
body.page-id-3983 .filia-report-card [hidden] { display: none !important; }
body.page-id-3983 .elementor-3983 > .elementor-section > .elementor-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  max-width: none;
}
body.page-id-3983 .elementor-3983 > .elementor-section > .elementor-container > .elementor-column {
  width: 100%;
  min-width: 0;
}
body.page-id-3983 .elementor-3983 > .elementor-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
  margin: 0;
  padding: 32px 28px;
  align-content: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
}
body.page-id-3983 .elementor-3983 .elementor-column:has(> .elementor-widget-wrap:not(:has(> .elementor-element))) {
  display: none;
}
body.page-id-3983 .elementor-3983 .elementor-column > .elementor-widget-wrap > .elementor-widget-button:last-child {
  margin-top: auto;
}
@media (max-width: 1024px) {
  body.page-id-3983 .filia-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  body.page-id-3983 .elementor-3983 > .elementor-section > .elementor-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 767px) {
  body.page-id-3983 .filia-report-grid { grid-template-columns: minmax(0, 1fr); width: calc(100% - 40px); }
  body.page-id-3983 .filia-report-card { padding: 24px; }
  body.page-id-3983 .elementor.elementor-3983 {
    margin-bottom: 48px;
  }
  body.page-id-3983 .elementor-3983 > .elementor-section {
    width: calc(100% - 40px);
  }
  body.page-id-3983 .elementor-3983 > .elementor-section > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-id-3983 .elementor-3983 > .elementor-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 28px 24px;
  }
}
