.path-node .region-breadcrumb {
  display: none;
}

.path-node #block-email-machine-site-branding .site-name {
  display: none;
}

.content-header {
  background-color: transparent !important;
  padding-top: 0.5rem;
  display: none;
}

#block-email-machine-site-branding img {
 max-width: 100px !important;
}
/* Email node view overrides */

/* Target only email message nodes */
.page-node-type-email-message {
  /* Remove Claro's default styling */
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  
  /* Force email styles to take precedence */
  font-family: inherit !important;
  line-height: inherit !important;
}

/* Remove Claro's content wrapper styling for email nodes */
.page-node-type-email-message .node__content {
  background: none;
  padding: 0;
  margin: 0;
}

/* Override Claro's field styling */
.page-node-type-email-message .field {
  margin: 0;
  padding: 0;
}

/* Override Claro's paragraph styling */
.page-node-type-email-message .paragraph {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

/* Ensure email tables render properly */
.page-node-type-email-message td:not(.sb) {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin-block: unset !important;
}

@media only screen and (max-width:600px) {
  .page-node-type-email-message table {
    width: 100% !important;
  }
}

.page-node-type-email-message table {
  margin-block: initial;
} 


.page-node-type-email-message tr, .page-node-type-email-message .draggable-table.tabledrag-disabled tr {
  color: unset !important;
  background: unset !important;
}

.page-node-type-email-message tr {
  border-bottom: none !important;
}

.page-node-type-email-message td {
  height: auto !important;
}


/* Hide any admin/editing UI elements if needed */
.page-node-type-email-message .contextual {
  display: none;
}

div#block-email-machine-content {
  margin-top: 1rem;
}

.media-library-item .media-library-item__preview .field svg, 
.media-library-item .media-library-item__preview .field img {
  object-fit: contain !important;
}

/* Entity Clone Form Styling */
.entity-clone-form {
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hide entity clone form elements while keeping them functional */
.entity-clone-form .hidden-clone-element {
  display: none !important;
}

/* Hide the default instructional text */
.entity-clone-form > p:not(:first-child) {
  display: none !important;
}

.entity-clone-form #clone-description {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid #007cba;
  margin-bottom: 1.5rem;
}

.entity-clone-form .form-actions {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.entity-clone-form .button {
  margin: 0 0.5rem;
  min-width: 120px;
}

#toolbar-item-administration-tray .toolbar-logo img {
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
  object-position: center;
  width: 50px;
}