/* WordPress-only adjustments. Not part of the static design export. */

/* Admin bar: keep the sticky header and the mobile drawer below it. */
.admin-bar .ej-hdr { inset-block-start: 32px; }
.admin-bar .ej-mob { inset-block-start: calc(var(--ej-hdr-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .ej-hdr { inset-block-start: 46px; }
  .admin-bar .ej-mob { inset-block-start: calc(var(--ej-hdr-h) + 46px); }
}
@media (max-width: 600px) {
  /* WP un-fixes the admin bar here, so it scrolls away with the page. */
  .admin-bar .ej-hdr { inset-block-start: 0; }
}

/* Contact without the form: the two side cards share the full width. */
.ej-contact--solo { grid-template-columns: 1fr; }
.ej-contact--solo .ej-contact__side { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .ej-contact--solo .ej-contact__side { grid-template-columns: 1fr; } }

/* News: "previous page" reuses the right chevron, mirrored. */
.ej-pag__prev svg { transform: scaleX(-1); }
[dir="rtl"] .ej-pag__prev svg { transform: none; }
.ej-nempty { margin-block: 10px 30px; color: var(--ej-muted); }

/* ATS tool: selected-file name under a drop-zone, and a loading state on the run button. */
.ej-drop-zone__file { display: block; margin-block-start: 8px; font-weight: 600; font-size: 12.5px; color: var(--ej-blue); word-break: break-all; }
.ej-drop-zone.is-drag { border-color: var(--ej-blue); background: var(--ej-blue-50); }
[data-run-ats][disabled] { opacity: .7; cursor: default; }
