.organization-showcase {
  --org-heading-font: Georgia, "Times New Roman", serif;
  --org-body-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 70vh;
  background-color: var(--org-background);
  background-image: var(--org-background-image, none);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--org-text);
  font-family: var(--org-body-font);
}

.organization-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--org-background-overlay);
  content: "";
}

.organization-showcase[data-background-position="top"] {
  background-position: center top;
}

.organization-showcase[data-background-position="left"] {
  background-position: left center;
}

.organization-showcase[data-background-position="right"] {
  background-position: right center;
}

.organization-showcase[data-heading-font="editorial"] {
  --org-heading-font: Palatino, "Palatino Linotype", Georgia, serif;
}

.organization-showcase[data-heading-font="modern"] {
  --org-heading-font: "Trebuchet MS", Arial, sans-serif;
}

.organization-showcase[data-body-font="humanist"] {
  --org-body-font: "Trebuchet MS", Arial, sans-serif;
}

.organization-showcase[data-body-font="serif"] {
  --org-body-font: Georgia, "Times New Roman", serif;
}

.organization-showcase h1,
.organization-showcase h2,
.organization-showcase h3,
.organization-showcase .organization-profile-content h2,
.organization-showcase .organization-profile-content h3,
.organization-showcase .organization-profile-content h4 {
  color: var(--org-primary);
  font-family: var(--org-heading-font);
}

.organization-showcase .market-section-kicker {
  color: var(--org-primary);
}

.organization-showcase__hero {
  order: 0;
  border-bottom: 5px solid var(--org-accent);
  background: var(--org-primary);
  color: var(--org-primary-ink);
}

.organization-showcase__hero h1,
.organization-showcase__hero .market-section-kicker,
.organization-showcase__hero a,
.organization-showcase__hero .organization-showcase__lead {
  color: var(--org-primary-ink);
}

.organization-showcase__hero > img,
.organization-showcase__hero > .organization-logo-placeholder {
  padding: 12px;
  background: var(--org-surface);
}

.organization-showcase .market-button {
  border-color: var(--org-accent);
  background: var(--org-accent);
  color: var(--org-accent-ink);
}

.organization-showcase .market-button--secondary {
  border-color: var(--org-primary-ink);
  background: transparent;
  color: var(--org-primary-ink);
}

.organization-showcase > section {
  border-top: 1px solid var(--org-accent);
  background: var(--org-surface-glass);
  color: var(--org-text);
}

.organization-showcase .organization-rides,
.organization-showcase .organization-gallery {
  background: var(--org-background-glass);
}

.organization-showcase .organization-profile-content {
  border-color: var(--org-accent);
  background: var(--org-surface);
  color: var(--org-text);
  font-family: var(--org-body-font);
}

.organization-showcase .organization-profile-content a,
.organization-showcase .organization-gallery-link,
.organization-showcase .organization-vehicle-card > a {
  color: var(--org-primary);
}

.organization-showcase .organization-video-card video {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #11171d;
}

.organization-showcase .ride-card,
.organization-showcase .organization-vehicle-card,
.organization-showcase .organization-photo-grid figure,
.organization-showcase .organization-people-grid article {
  border-color: var(--org-accent);
  background: var(--org-surface);
  color: var(--org-text);
}

.organization-showcase .organization-vehicle-card > .organization-byline {
  background: var(--org-surface);
}

.organization-showcase .ride-card h3,
.organization-showcase .organization-vehicle-card h3,
.organization-showcase .organization-people-grid h3 {
  color: var(--org-primary);
  font-family: var(--org-heading-font);
}

.organization-showcase .ride-card__term {
  border-color: var(--org-accent);
}

.organization-showcase .ride-card__term time strong {
  color: var(--org-primary);
}

.organization-showcase .ride-card__term time span {
  color: var(--org-text);
}

.organization-showcase .ride-card__date,
.organization-showcase .availability {
  background: var(--org-primary);
  color: var(--org-primary-ink);
}

.profile-preview-notice {
  position: sticky;
  z-index: 1900;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 10px 18px;
  border: 0;
  border-bottom: 2px solid #efc660;
  border-radius: 0;
  background: #701b17;
  color: #fff7df;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  text-align: center;
}

.profile-branding-editor {
  border-top: 5px solid #dca842;
  border-bottom: 5px solid #dca842;
  background: #f8f2e4;
}

.profile-branding-editor > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: #142734;
  color: #f8f3e8;
}

.profile-branding-editor > header h2 {
  margin: 2px 0 0;
  font: 700 30px/1.1 Georgia, serif;
}

.profile-brand-preview {
  display: grid;
  gap: 3px;
  min-height: 112px;
  padding: 17px 20px;
  border: 2px solid var(--preview-accent, #dca842);
  border-radius: 5px;
  background: var(--preview-background, #f8f5ed);
  color: var(--preview-text, #251711);
}

.profile-brand-preview small {
  color: var(--preview-primary, #7d1715);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-brand-preview strong {
  color: var(--preview-primary, #7d1715);
  font: 700 25px/1.1 var(--preview-heading-font, Georgia, serif);
}

.profile-brand-preview span {
  font-family: var(--preview-body-font, system-ui, sans-serif);
}

.profile-branding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-branding-editor fieldset {
  min-width: 0;
  margin: 0;
  padding: 20px 22px 24px;
  border: 0;
}

.profile-branding-editor fieldset + fieldset {
  border-left: 1px solid #c5ac7a;
}

.profile-branding-editor legend {
  padding: 0;
  color: #701b17;
  font: 700 21px Georgia, serif;
}

.profile-branding-colors,
.profile-branding-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.profile-branding-colors label,
.profile-branding-type label {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.profile-branding-colors label > strong,
.profile-branding-type label > strong {
  color: #5f211a;
  font-size: 12px;
  text-transform: uppercase;
}

.profile-branding-colors label > span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.profile-branding-colors input[type="color"] {
  width: 52px;
  height: 44px;
  padding: 2px;
  border: 1px solid #8f744d;
  background: #fff;
  cursor: pointer;
}

.profile-branding-colors output {
  overflow: hidden;
  font-family: Consolas, monospace;
  text-overflow: ellipsis;
}

.profile-branding-type select,
.profile-branding-type input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px;
  border: 1px solid #8f744d;
  background: #fffdf8;
  color: #251711;
}

.profile-background-preview {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border: 1px solid #8f744d;
}

.profile-background-clear {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #b99a61;
  background: #f5e8cd;
  font-size: 12px;
  font-weight: 800;
}

.profile-background-clear input {
  width: 18px;
  height: 18px;
  accent-color: #7d1715;
}

.profile-overlay-field {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
}

.profile-overlay-field > strong,
.profile-overlay-field .errorlist {
  grid-column: 1 / -1;
}

.profile-overlay-field input {
  width: 100%;
  accent-color: #7d1715;
}

.profile-overlay-field output {
  min-width: 54px;
  text-align: right;
}

.profile-map-status-editor {
  border-top: 1px solid #c5ac7a !important;
}

.profile-map-status-editor > p {
  margin: 4px 0 16px;
  color: #6d5944;
  font-size: 13px;
}

.profile-map-status-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
}

.profile-map-status-toggle input {
  width: 20px;
  height: 20px;
  accent-color: #7d1715;
}

.profile-map-status-limits,
.profile-map-status-colors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.profile-map-status-colors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 13px;
}

.profile-map-status-limits label,
.profile-map-status-colors label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.profile-map-status-limits label > strong,
.profile-map-status-colors label > strong {
  color: #5f211a;
  font-size: 12px;
  text-transform: uppercase;
}

.profile-map-status-limits input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px;
  border: 1px solid #8f744d;
  background: #fffdf8;
  color: #251711;
}

.profile-map-status-colors label > span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.profile-map-status-colors input[type="color"] {
  width: 52px;
  height: 44px;
  padding: 2px;
  border: 1px solid #8f744d;
  background: #fff;
  cursor: pointer;
}

.profile-map-status-colors output {
  overflow: hidden;
  font-family: Consolas, monospace;
  text-overflow: ellipsis;
}

.profile-section-editor {
  border-left: 0 !important;
  border-top: 1px solid #c5ac7a !important;
}

.profile-section-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.profile-section-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 7px 9px;
  border: 1px solid #b99a61;
  border-radius: 4px;
  background: #fffdf8;
}

.profile-section-row[draggable="true"] {
  cursor: grab;
}

.profile-section-row.is-dragging {
  opacity: .5;
}

.profile-section-handle {
  color: #785f3b;
  font-size: 20px;
  text-align: center;
}

.profile-section-row label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-section-row input {
  width: 19px;
  height: 19px;
  accent-color: #7d1715;
}

.profile-section-row > div {
  display: flex;
  gap: 5px;
}

.profile-section-row button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #7d1715;
  border-radius: 4px;
  background: #7d1715;
  color: #fff8e8;
  font-size: 20px;
  cursor: pointer;
}

.profile-section-row button:disabled {
  opacity: .35;
  cursor: default;
}

@media (max-width: 900px) {
  .profile-branding-editor > header,
  .profile-branding-grid {
    grid-template-columns: 1fr;
  }

  .profile-branding-editor fieldset + fieldset {
    border-top: 1px solid #c5ac7a;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .organization-showcase {
    background-attachment: scroll;
  }

  .profile-preview-notice {
    top: 0;
    align-items: center;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .profile-branding-editor > header,
  .profile-branding-editor fieldset {
    padding-right: 14px;
    padding-left: 14px;
  }

  .profile-branding-colors,
  .profile-branding-type,
  .profile-map-status-limits,
  .profile-map-status-colors {
    grid-template-columns: 1fr;
  }

  .profile-overlay-field {
    grid-column: auto;
  }

  .profile-section-row {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .profile-section-row > div {
    grid-column: 2;
  }
}
.profile-external-booking {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--heritage-gold, #cda447) 72%, transparent);
  background: rgba(255, 252, 240, 0.92);
}

.profile-external-booking > legend {
  padding: 0 0.45rem;
  color: #6f1f16;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 700;
}

.profile-external-booking > p {
  margin: 0 0 0.85rem;
}
