.ramiro-home-knowledge {
  padding: 0px 0 var(--section-break-desktop);
  background: var(--ramiro-white, #ffffff);
}

.ramiro-home-knowledge__intro {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--ramiro-text, #2d2623);
}

.ramiro-home-knowledge__intro > *:first-child {
  margin-top: 0;
}

.ramiro-home-knowledge__intro > *:last-child {
  margin-bottom: 0;
}

.ramiro-home-knowledge__featured {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--ramiro-line, #e8dfda);
  border-radius: 34px;
  background: var(--ramiro-white, #ffffff);
  box-shadow: 0 16px 36px rgba(45, 38, 35, 0.05);
}

.ramiro-home-knowledge__featured-media,
.ramiro-home-knowledge__mini-media {
  display: block;
  overflow: hidden;
  background: var(--ramiro-contact-soft, #fbf8f6);
  color: inherit;
}

.ramiro-home-knowledge__featured-media {
  min-height: 420px;
  border-radius: 28px;
}

.ramiro-home-knowledge__mini-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 26px 26px 0 0;
}

.ramiro-home-knowledge__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.28s ease;
}

.ramiro-home-knowledge__featured-media:hover .ramiro-home-knowledge__image,
.ramiro-home-knowledge__mini-media:hover .ramiro-home-knowledge__image {
  transform: scale(1.035);
}

.ramiro-home-knowledge__image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(
    135deg,
    rgba(174, 46, 40, 0.08),
    rgba(45, 38, 35, 0.04)
  );
  color: var(--ramiro-red, #ae2e28);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ramiro-home-knowledge__marker {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(45, 38, 35, 0.72);
}

.ramiro-home-knowledge__date {
  display: block;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ramiro-text, #2d2623);
}

.ramiro-home-knowledge__featured-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--ramiro-text, #2d2623);
}

.ramiro-home-knowledge__featured-title a,
.ramiro-home-knowledge__mini-title a {
  color: inherit;
  text-decoration: none;
}

.ramiro-home-knowledge__featured-title a:hover,
.ramiro-home-knowledge__mini-title a:hover {
  color: var(--ramiro-red, #ae2e28);
}

.ramiro-home-knowledge__excerpt {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 21px;
  line-height: 1.58;
  color: rgba(45, 38, 35, 0.78);
}

.ramiro-home-knowledge__secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.ramiro-home-knowledge__mini {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--ramiro-line, #e8dfda);
  border-radius: 30px;
  background: var(--ramiro-white, #ffffff);
  box-shadow: 0 12px 28px rgba(45, 38, 35, 0.04);
}

.ramiro-home-knowledge__mini-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 30px 30px;
}

.ramiro-home-knowledge__mini-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ramiro-text, #2d2623);
}

.ramiro-home-knowledge__mini-excerpt {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.58;
  color: rgba(45, 38, 35, 0.76);
}

.ramiro-home-knowledge__mini-body .ramiro-btn {
  margin-top: auto;
}

.ramiro-home-knowledge__actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 1180px) {
  .ramiro-home-knowledge__featured {
    grid-template-columns: 1fr;
  }

  .ramiro-home-knowledge__featured-media {
    min-height: 360px;
  }

  .ramiro-home-knowledge__secondary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .ramiro-home-knowledge {
    padding: 0px 0 var(--section-break-tablet);
  }
}

@media (max-width: 760px) {
  .ramiro-home-knowledge {
    padding: 0px 0 var(--section-break-mobile);
  }

  .ramiro-home-knowledge__intro,
  .ramiro-home-knowledge__excerpt {
    font-size: 17px;
    line-height: 1.65;
  }

  .ramiro-home-knowledge__featured {
    padding: 20px;
    border-radius: 26px;
    gap: 22px;
  }

  .ramiro-home-knowledge__featured-media {
    min-height: 250px;
    border-radius: 22px;
  }

  .ramiro-home-knowledge__featured-title {
    font-size: 34px;
    line-height: 1.07;
  }

  .ramiro-home-knowledge__mini {
    border-radius: 26px;
  }

  .ramiro-home-knowledge__mini-media {
    border-radius: 22px 22px 0 0;
  }

  .ramiro-home-knowledge__mini-body {
    padding: 22px;
  }
}
