.editar_oferta {
  margin-bottom: 40px;
  animation: fade-in 0.5s ease-in;
  background-color: var(--blanco);
  margin: 0 auto;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid var(--secundario);
}

.editar_oferta p {
  padding-bottom: 10px !important;
}

.editar_oferta_btn {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}

.content_oferta {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 1080px;
  margin-bottom: 20px;
  animation: fade-in 0.5s ease-in;
  background-color: var(--blanco);
  margin: 4% auto 0;
  padding: clamp(20px, 5vw, 46px);
  border: 1px solid #dbe4dc;
  box-shadow: 0 14px 38px rgba(10, 49, 17, 0.09);
  border-radius: 18px;
}

.content_oferta-header {
  display: grid;
  justify-items: start;
  margin-bottom: 26px;
}

.content_oferta-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(52, 239, 90, 0.11);
  color: var(--secundario);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.content_oferta h1 {
  margin-bottom: 0;
  color: var(--secundario);
  text-align: left;
  font-size: clamp(29px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.content_oferta-divider {
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--secundario);
}

.content_oferta-info {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.content_oferta-info p {
  text-align: left;
}

.content_oferta-featured-image {
  width: 100%;
  margin: 0 0 32px;
  border: 1px solid #dbe4dc;
  overflow: hidden;
  border-radius: 14px;
  background: #eef3ef;
}

.content_oferta-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content_oferta-main {
  min-width: 0;
  color: #29372d;
  line-height: 1.7;
}

.content_oferta-main > :first-child {
  margin-top: 0;
}

.content_oferta-main > :last-child {
  margin-bottom: 0;
}

.content_oferta-main h2,
.content_oferta-main h3,
.content_oferta-main h4 {
  margin-top: 1.4em;
  color: var(--secundario);
  line-height: 1.25;
}

.content_oferta-main a {
  color: var(--secundario);
  font-weight: 700;
  text-underline-offset: 3px;
}

.content_oferta-sidebar {
  min-width: 0;
  padding: clamp(17px, 3vw, 24px);
  border: 1px solid #dbe4dc;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7f9f7, #eef4ef);
}

.content_oferta-sidebar h3 {
  margin: 0 0 14px;
  color: var(--secundario);
  font-size: 19px;
  line-height: 1.25;
}

.content_oferta-sidebar ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.content_oferta-sidebar li {
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #dbe4dc;
  overflow-wrap: anywhere;
}

.content_oferta-sidebar li::marker,
.content_oferta-sidebar li::before,
.content_oferta-sidebar li::after {
  display: none !important;
  content: none !important;
}

.content_oferta-sidebar .button,
.content_oferta-sidebar button.button {
  display: inline-flex !important;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 4px 8px 0 0 !important;
  text-decoration: none !important;
}

.content_oferta-sidebar .button::before,
.content_oferta-sidebar .button::after {
  display: none !important;
  content: none !important;
}

.button,
.modal-button {
  padding: 8px 16px !important;
  border-radius: 200px !important;
  background-color: var(--secundario) !important;
  box-shadow: none !important;
  border: none !important;
  color: var(--blanco) !important;
  cursor: pointer !important;
  width: auto !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.button:hover,
.modal-button:hover {
  opacity: 0.9;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.acf-field-delete-post {
  padding: 0 !important;
}

@media only screen and (min-width: 1000px) {
  .container-wrap {
    /* margin-bottom: 380px; */
    z-index: 0;
  }

  .content_oferta-info {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 40px;
  }

  .content_oferta-sidebar {
    position: sticky;
    top: 30px;
  }
}

@media only screen and (max-width: 1000px) {
  .content_oferta-sidebar {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .content_oferta {
    border-radius: 14px;
  }

  .content_oferta-header {
    margin-bottom: 22px;
  }

  .content_oferta-featured-image {
    margin-bottom: 24px;
  }

  .content_oferta-featured-image img {
    aspect-ratio: 4 / 3;
  }

  .content_oferta-sidebar .button,
  .content_oferta-sidebar button.button {
    width: 100% !important;
    margin-right: 0 !important;
  }
}
