/* Funciones Page Styles */
.funciones-page {
  width: 100%;
}

.funciones-page__header {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.funciones-page__title {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: #0a0a0a;
  margin-top: 1rem;
}

.funciones-page__content {
  width: 100%;
}

/* Accordion Item */
.funciones-accordion-item {
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
}

.funciones-accordion-item:last-child {
  border-bottom: none;
}

.funciones-accordion-details {
  width: 100%;
}

.funciones-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  width: 100%;
  list-style: none; /* Hide default marker */
}

/* Hide default arrow in webkit */
.funciones-accordion-trigger::-webkit-details-marker {
  display: none;
}

.funciones-accordion-title {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #0a0a0a;
}

.funciones-accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #a3a3a3;
  transition: transform 0.2s ease;
}

.funciones-accordion-details[open] .funciones-accordion-icon {
  transform: rotate(180deg);
}

.funciones-accordion-panel {
  padding-bottom: 32px;
}

.funciones-accordion-panel-inner {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .funciones-accordion-panel-inner {
    flex-direction: row;
  }
}

.funciones-accordion-desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.funciones-accordion-desc p {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #525252;
  margin: 0;
}

/* Strong tags in the description act as title sometimes */
.funciones-accordion-desc h3,
.funciones-accordion-desc strong {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #0a0a0a;
  display: block;
  margin-bottom: 8px;
}

.funciones-accordion-bullets {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

/* Handle the markup inside field_item_bullets */
.funciones-accordion-bullets ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.funciones-accordion-bullets li {
  position: relative;
  padding-left: 32px; /* space for the icon */
  font-family: var(--font-sans, "Inter", sans-serif);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #525252;
}

.funciones-accordion-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0; /* aligned with the first line of text */
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6663 5L7.49967 14.1667L3.33301 10' stroke='%23b21e27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.funciones-accordion-bullets li strong {
  font-weight: 700;
  color: #0a0a0a;
}
