/* Elementor + entry content typography alignment with the Fabrica clone */
.entry-content,
.elementor {
  color: #0a0a0a;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6 {
  font-family: "Inter", "Inter Placeholder", sans-serif;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 0 0 0.75em;
}

.entry-content p,
.elementor p {
  margin: 0 0 1em;
}

.entry-content a,
.elementor a {
  color: inherit;
}

.entry-content ul,
.entry-content ol,
.elementor ul,
.elementor ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

.fabrica-entry-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.fabrica-entry-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.fabrica-entry-meta {
  margin-top: 10px;
  margin-bottom: 26px;
  opacity: 0.66;
}

.fabrica-entry-image-wrap {
  margin: 0 0 26px;
}

.fabrica-entry-image {
  border-radius: 16px;
  display: block;
  width: 100%;
  height: auto;
}

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

.fabrica-archive-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.fabrica-archive-link {
  color: inherit;
  display: block;
  height: 100%;
  padding: 0 0 20px;
  text-decoration: none;
}

.fabrica-archive-thumb {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.fabrica-archive-title,
.fabrica-archive-excerpt {
  margin: 16px 18px 0;
}

.fabrica-archive-title {
  font-size: 1.35rem;
}

.fabrica-archive-excerpt {
  opacity: 0.72;
}

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

@media (max-width: 809px) {
  .fabrica-editable-inner {
    padding: 44px 20px;
  }

  .fabrica-archive-grid {
    grid-template-columns: 1fr;
  }

  .fabrica-entry-card {
    padding: 22px;
  }
}
