.gerfor-guides-table-wrap {
  --gg-primario: #e86130;
  --gg-primario-oscuro: #c94d20;
  --gg-tinta: #58595b;
  --gg-gris: #929497;
  --gg-linea: #e3e3e3;
  overflow-x: auto;
  background: #fff;
}

.gerfor-guides-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-weight: 400;
  color: var(--gg-tinta);
  background: #fff;
}

.gerfor-guides-table th,
.gerfor-guides-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--gg-linea);
  background: #fff;
  font-weight: 400;
}

.gerfor-guides-table thead th {
  font-weight: 700;
  white-space: nowrap;
}

.gerfor-guides-table tbody tr:hover td {
  background: #fafafa;
}

.gerfor-guides-title {
  font-weight: 400;
  color: var(--gg-tinta);
}

.gerfor-guides-button {
  display: inline-block;
  padding: 8px 14px;
  background: var(--gg-primario);
  color: #fff !important;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.gerfor-guides-button:hover {
  background: var(--gg-primario-oscuro);
}

.gerfor-guides-nopdf {
  display: inline-block;
  padding: 8px 14px;
  background: #c7c8ca;
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
  cursor: not-allowed;
}

.gerfor-guides-empty {
  padding: 16px;
  color: var(--gg-tinta);
}

.gerfor-guides-code {
  font-family: monospace;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Accordion layout ===== */
.gerfor-guides-accordion {
  --gg-primario: #e86130;
  --gg-primario-oscuro: #c94d20;
  --gg-tinta: #58595b;
  --gg-linea: #e3e3e3;
  background: #fff;
}

.gerfor-guides-acc-item {
  border: none;
  border-bottom: 1px solid var(--gg-linea);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.gerfor-guides-acc-item:last-child {
  border-bottom: none;
}

.gerfor-guides-acc-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--gg-primario);
  text-align: left;
  transition: background 0.2s ease;
}

.gerfor-guides-acc-button:hover,
.gerfor-guides-acc-button.active {
  background: #f7f7f7;
}

.gerfor-guides-acc-icon {
  color: var(--gg-primario);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.gerfor-guides-acc-button.active .gerfor-guides-acc-icon {
  transform: rotate(180deg);
}

.gerfor-guides-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.gerfor-guides-acc-panel .gerfor-guides-table {
  margin: 0;
  font-size: 14px;
}

.gerfor-guides-acc-panel .gerfor-guides-table thead th {
  background: #fff;
  color: var(--gg-tinta);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px 24px;
  border-bottom: 1px solid var(--gg-linea);
}

.gerfor-guides-acc-panel .gerfor-guides-table td {
  padding: 12px 24px;
}

@media (max-width: 640px) {
  .gerfor-guides-table th,
  .gerfor-guides-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* ===== Hard overrides: beat theme/Elementor specificity ===== */
.gerfor-guides-accordion .gerfor-guides-acc-button,
.gerfor-guides-accordion .gerfor-guides-acc-button:focus,
.gerfor-guides-accordion .gerfor-guides-acc-button:hover,
.gerfor-guides-accordion .gerfor-guides-acc-button.active {
  background: #fff !important;
  color: #e86130 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 20px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.gerfor-guides-accordion .gerfor-guides-acc-button:hover {
  background: #f7f7f7 !important;
}

.gerfor-guides-accordion .gerfor-guides-acc-icon {
  color: #e86130 !important;
  font-size: 20px !important;
  transform: none !important;
}

.gerfor-guides-accordion .gerfor-guides-table th,
.gerfor-guides-accordion .gerfor-guides-table td,
.gerfor-guides-table-wrap .gerfor-guides-table th,
.gerfor-guides-table-wrap .gerfor-guides-table td {
  background: #fff !important;
  color: #58595b !important;
  border: 1px solid #e3e3e3 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

.gerfor-guides-accordion .gerfor-guides-table thead th,
.gerfor-guides-table-wrap .gerfor-guides-table thead th {
  font-weight: 700 !important;
  background: #fff !important;
  color: #58595b !important;
  text-align: left !important;
}

.gerfor-guides-accordion .gerfor-guides-table tr:nth-child(even) td,
.gerfor-guides-accordion .gerfor-guides-table tr:hover td,
.gerfor-guides-table-wrap .gerfor-guides-table tr:nth-child(even) td {
  background: #fff !important;
}

.gerfor-guides-accordion .gerfor-guides-table tr:hover td,
.gerfor-guides-table-wrap .gerfor-guides-table tr:hover td {
  background: #fafafa !important;
}

.gerfor-guides-accordion .gerfor-guides-title,
.gerfor-guides-table-wrap .gerfor-guides-title {
  font-weight: 400 !important;
  color: #58595b !important;
}

.gerfor-guides-accordion .gerfor-guides-button,
.gerfor-guides-table-wrap .gerfor-guides-button {
  background: #e86130 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.gerfor-guides-accordion .gerfor-guides-button:hover,
.gerfor-guides-table-wrap .gerfor-guides-button:hover {
  background: #c94d20 !important;
}

.gerfor-guides-accordion .gerfor-guides-nopdf,
.gerfor-guides-table-wrap .gerfor-guides-nopdf {
  background: #c7c8ca !important;
  color: #fff !important;
  pointer-events: none;
}

/* Elementor widget containers must not paint the accordion */
.elementor-widget-shortcode .gerfor-guides-acc-button,
.elementor-widget-html .gerfor-guides-acc-button,
.elementor .gerfor-guides-acc-button {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background-color: #fff;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  pointer-events: auto;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #e86130;
  text-decoration: none;
  text-transform: none;
  text-align: left;
  transition: background 0.2s ease;
}

.elementor-widget-shortcode .gerfor-guides-acc-button.active,
.elementor-widget-shortcode .gerfor-guides-acc-button:hover,
.elementor-widget-html .gerfor-guides-acc-button.active,
.elementor-widget-html .gerfor-guides-acc-button:hover,
.elementor .gerfor-guides-acc-button.active,
.elementor .gerfor-guides-acc-button:hover {
  background-color: #f7f7f7;
}
