.page-intro-content > :first-child { margin-top: 0; }
.page-intro-content > :last-child { margin-bottom: 0; }
.page-intro-content h1,.page-intro-content h2,.page-intro-content h3,.page-intro-content h4 { color: #8a3b00; font-family: "Lora", serif; line-height: 1.25; }
.page-intro-content h1 { font-size: 2rem; }.page-intro-content h2 { font-size: 1.65rem; }.page-intro-content h3 { font-size: 1.3rem; }
.page-intro-content p,.page-intro-content li { color: #765c47; line-height: 1.75; }
.page-intro-content ul,.page-intro-content ol { padding-left: 1.4rem; }
.page-intro-content a { color: #c95500; font-weight: 700; text-decoration: underline; }
.page-intro-content img,.page-intro-content video { display:block; max-width:100%; height:auto; margin:18px auto; border-radius:5px; }
.page-intro-content table { width: 100%; margin: 18px 0; border-collapse: collapse; }
.page-intro-content th,.page-intro-content td { padding: 10px 12px; border: 1px solid #ead8c8; text-align: left; }
.page-intro-content th { background: #fff1e6; color: #8a3b00; }
.rich-description > :first-child { margin-top: 0; }
.rich-description > :last-child { margin-bottom: 0; }
.rich-description p { margin: 0 0 8px; line-height: 1.55; }
.rich-description ul,.rich-description ol { margin: 0 0 8px; padding-left: 20px; }
.rich-description img,.rich-description video { display: block; max-width: 100%; height: auto; margin: 10px 0; border-radius: 4px; }

/* Keep the editor controls separate from the admin form's primary action button. */
.admin-form .jodit-container {
  --jd-color-panel: #ffffff;
  --jd-color-border: #d9dee7;
  --jd-color-icon: #4b5563;
  border: 1px solid #d9dee7;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.admin-form .jodit-toolbar__box,
.admin-form .jodit-status-bar {
  background: #f8fafc;
}
.admin-form .jodit-container button,
.admin-form .jodit-container .jodit-toolbar-button,
.admin-form .jodit-container .jodit-toolbar-button__button {
  width: auto;
  min-height: 32px;
  margin: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #4b5563;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.admin-form .jodit-container button:hover,
.admin-form .jodit-container .jodit-toolbar-button:hover,
.admin-form .jodit-container .jodit-toolbar-button__button:hover {
  background: #fff1e6;
  color: #c95500;
}
.admin-form .jodit-container .jodit-toolbar-button_active,
.admin-form .jodit-container .jodit-toolbar-button_active .jodit-toolbar-button__button,
.admin-form .jodit-container .jodit-toolbar-button[aria-pressed="true"] {
  background: #ffe0c7;
  color: #a94300;
}
.admin-form .jodit-container .jodit-workplace {
  background: #fff;
}
.admin-form .jodit-container .jodit-wysiwyg {
  min-height: 360px;
  padding: 18px;
}
.admin-form > button[type="submit"] {
  border-radius: 3px;
  background: #c95500;
  box-shadow: none;
}
.admin-form > button[type="submit"]:hover {
  background: #a94300;
}

.page-content-editor-page { max-width: 1120px; }
.editor-page-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.editor-page-heading .admin-kicker { margin: 0 0 6px; color: #c95500; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.editor-page-heading h1 { margin: 0; font-size: 2.15rem; }
.content-editor-form { max-width: none; gap: 22px; margin-top: 0; padding: 30px; border-top: 3px solid #fc6c00; }
.content-form-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #e8ecf1; }
.content-editor-form label { display: grid; gap: 7px; margin: 0; color: #303846; }
.content-editor-form label > span { font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.content-editor-form input:not([type="file"]),.content-editor-form textarea:not(#page-content-editor) { width: 100%; box-sizing: border-box; background: #fff; }
.content-editor-form input:not([type="file"]):focus,.content-editor-form textarea:not(#page-content-editor):focus { outline: 2px solid #ffd6b7; border-color: #fc6c00; }
.content-editor-form .banner-upload-field { align-content: start; }
.content-editor-form input[type="file"] { width: 100%; box-sizing: border-box; padding: 8px; border: 1px dashed #cbd3de; border-radius: 3px; background: #fafbfd; }
.content-editor-form input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 0; border-radius: 2px; background: #fff1e6; color: #a94300; font: 700 .72rem "DM Sans", sans-serif; text-transform: uppercase; cursor: pointer; }
.content-editor-form .editor-field { gap: 8px; }
.content-editor-actions { display: flex; justify-content: flex-end; padding-top: 3px; }
.content-editor-form .content-editor-actions button { min-width: 148px; margin: 0; background: #c95500; }
.content-editor-form .content-editor-actions button:hover { background: #a94300; }
@media (max-width: 760px) { .content-editor-form { padding: 20px; }.content-form-grid { grid-template-columns: 1fr; gap: 16px; }.editor-page-heading h1 { font-size: 1.75rem; }.content-editor-actions { justify-content: stretch; }.content-editor-form .content-editor-actions button { width: 100%; } }
