/* Page editor UI — scoped with .page-editor-ui on the root wrapper */
.page-editor-ui .pe-admin-toolbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #2d2e2d;
  color: #fff;
  z-index: 2147483000;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.page-editor-ui .pe-admin-toolbar.pe-active {
  display: flex;
}
body.pe-edit-mode {
  padding-top: 56px;
  cursor: crosshair;
}
body.pe-edit-mode .pe-admin-toolbar,
body.pe-edit-mode .pe-login-overlay,
body.pe-edit-mode .pe-edit-overlay,
body.pe-edit-mode .pe-toast,
body.pe-edit-mode .pe-backend-status {
  cursor: default;
}
.page-editor-ui .pe-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  margin-left: 8px;
}
.page-editor-ui .pe-btn-save {
  background: #2e7d32;
  color: #fff;
}
.page-editor-ui .pe-btn-save:hover {
  background: #1b5e20;
}
.page-editor-ui .pe-btn-exit {
  background: #c62828;
  color: #fff;
}
.page-editor-ui .pe-btn-exit:hover {
  background: #b71c1c;
}
.page-editor-ui .pe-btn-logout {
  background: #ff9800;
  color: #fff;
}
.page-editor-ui .pe-btn-logout:hover {
  background: #f57c00;
}
.page-editor-ui .pe-btn-server {
  background: #455a64;
  color: #fff;
}
.page-editor-ui .pe-btn-server:hover:not(:disabled) {
  background: #37474f;
}
.page-editor-ui .pe-status {
  font-size: 13px;
  opacity: 0.9;
}
.page-editor-ui .pe-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 2147483600;
  align-items: center;
  justify-content: center;
}
.page-editor-ui .pe-overlay.pe-open {
  display: flex;
}
.page-editor-ui .pe-panel {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  max-width: 560px;
  width: 92%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow: auto;
}
.page-editor-ui .pe-panel h2 {
  margin: 0 0 20px;
  font-size: 22px;
  color: #2d2e2d;
}
.page-editor-ui .pe-field {
  margin-bottom: 14px;
}
.page-editor-ui .pe-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}
.page-editor-ui .pe-field input,
.page-editor-ui .pe-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.page-editor-ui .pe-field input[type='file'] {
  padding: 8px 0;
  border: none;
  font-size: 13px;
}
.page-editor-ui .pe-hint {
  font-size: 12px;
  color: #666;
  line-height: 1.45;
  margin-top: 6px;
}
.page-editor-ui .pe-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.page-editor-ui .pe-field textarea {
  min-height: 120px;
  resize: vertical;
}
.page-editor-ui .pe-field input:focus,
.page-editor-ui .pe-field textarea:focus {
  outline: 0;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.page-editor-ui .pe-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.page-editor-ui .pe-actions button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.page-editor-ui .pe-primary {
  background: #2e7d32;
  color: #fff;
}
.page-editor-ui .pe-primary:hover {
  background: #1b5e20;
}
.page-editor-ui .pe-secondary {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}
.page-editor-ui .pe-secondary:hover {
  background: #e8e8e8;
}
.page-editor-ui .pe-error {
  color: #c62828;
  font-size: 13px;
  margin-top: 8px;
}
.page-editor-ui .pe-toast {
  position: fixed;
  top: 68px;
  right: 16px;
  padding: 14px 18px;
  background: #c8e6c9;
  color: #1b5e20;
  border-radius: 4px;
  z-index: 2147483400;
  display: none;
  font-size: 14px;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.page-editor-ui .pe-toast.pe-show {
  display: block;
  animation: pe-slide 0.25s ease;
}
.page-editor-ui .pe-toast.pe-err {
  background: #ffcdd2;
  color: #b71c1c;
}
@keyframes pe-slide {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.page-editor-ui .pe-backend-status {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 6px 10px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 11px;
  color: #555;
  z-index: 2147483200;
  display: none;
}
.page-editor-ui .pe-backend-status.pe-show {
  display: block;
}
.pe-open-login {
  cursor: pointer;
}

/* --- Footer: replace broken fluid grid with stable columns (all pages) --- */
#footer-sections .fe-68022969dce9900f7efadfe8 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem clamp(1rem, 5vw, 4rem);
  row-gap: 2rem;
  grid-template: none !important;
  grid-template-rows: none !important;
  grid-template-columns: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  padding: 0.5rem 0 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
#footer-sections .fe-68022969dce9900f7efadfe8 > .fe-block {
  grid-area: unset !important;
  flex: 1 1 240px;
  max-width: 320px;
  min-width: min(100%, 220px);
}
#footer-sections .fe-68022969dce9900f7efadfe8 .fe-block-0552d0fc4cac966c39eb {
  order: 1;
}
#footer-sections .fe-68022969dce9900f7efadfe8 .fe-block-6a4ffe8b1d4add36b9ba {
  order: 2;
}
#footer-sections .fe-68022969dce9900f7efadfe8 .fe-block-a3a8cbb4fedb070b09ff {
  order: 3;
}
#footer-sections .fe-68022969dce9900f7efadfe8 .fe-block-yui_3_17_2_1_1744972029427_2791 {
  order: 4;
  flex-basis: 100%;
  max-width: none;
  text-align: center;
}
#footer-sections .fe-68022969dce9900f7efadfe8 h4.site-footer-heading,
#footer-sections .fe-68022969dce9900f7efadfe8 h4,
#footer-sections .sqs-html-content h4 {
  white-space: normal !important;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
#footer-sections .fe-68022969dce9900f7efadfe8 .sqs-html-content p {
  margin: 0 0 0.5rem;
  line-height: 1.55;
}
#footer-sections .fe-68022969dce9900f7efadfe8 a {
  text-decoration: none;
}
#footer-sections .fe-68022969dce9900f7efadfe8 a:hover {
  text-decoration: underline;
}
#footer-sections .fe-block-a3a8cbb4fedb070b09ff h4:empty {
  display: none;
}
