/* Consentimiento: las acciones de aceptar/rechazar tienen idéntica importancia visual */
.cookie-banner{position:fixed;z-index:1000;bottom:18px;left:20px;right:20px;max-width:760px;margin:auto;background:#fff;color:#102536;border:1px solid #cadbd2;border-radius:18px;padding:22px;box-shadow:0 16px 70px #07152155;font:15px/1.5 system-ui,sans-serif}
.cookie-banner h2{font-size:1.28rem;margin:0 0 8px;color:#102536}.cookie-banner p{margin:0 0 14px}.cookie-banner a{color:#205b3e;text-decoration:underline}.cookie-actions{display:flex;gap:12px;flex-wrap:wrap}.cookie-actions button{flex:1;min-width:170px;padding:12px 16px;border-radius:10px;font-weight:750;font-size:1rem;cursor:pointer;border:2px solid #174a34;background:#174a34;color:white}.cookie-actions button:hover{background:#256447;border-color:#256447}.cookie-actions button:focus-visible,.cookie-settings:focus-visible{outline:3px solid #70bc32;outline-offset:3px}.cookie-settings{font:inherit;border:0;background:transparent;text-decoration:underline;color:inherit;cursor:pointer;padding:0}.cookie-pref{margin-top:9px;font-size:.85rem;color:#486054}
@media(max-width:540px){.cookie-banner{bottom:10px;padding:17px;left:20px;right:20px}.cookie-actions{flex-direction:column}.cookie-actions button{width:100%}}

/* Sólo afecta a la fila de enlaces legales del pie de página. */
.footer-links > .footer-legal-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 8px;
  width: 100%;
}
.footer .footer-legal-inline > a,
.footer .footer-legal-inline > .cookie-settings {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: baseline;
}
.footer .footer-legal-inline > .cookie-settings {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.footer .footer-legal-inline > .cookie-settings:hover {
  color: var(--accent, #a7f26c);
}
@media(max-width:760px) {
  .footer-links > .footer-legal-inline {
    justify-content: flex-start;
    column-gap: 14px;
  }
}

/* Enlace legal y configuracion de cookies: misma fila real del footer. */
.footer .footer-links .footer-legal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px 20px;
  width: 100%;
}
.footer .footer-links .footer-legal-actions > a,
.footer .footer-links .footer-legal-actions > button.cookie-settings {
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  background: none;
  margin: 0;
  padding: 0;
  display: inline;
  min-width: 0;
  width: auto;
  height: auto;
  text-align: left;
}
.footer .footer-links .footer-legal-actions > button.cookie-settings:hover {color: var(--accent, #a7f26c)}
@media (max-width: 760px) {
  .footer .footer-links .footer-legal-actions { justify-content: flex-start; }
}
