/* Post meta: keep Avada styles, only fix layout */
.post-meta,
.single-post .post .post-meta,
.fusion-body .post-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.post-meta .published-by,
.post-meta .share {
  min-width: 0;
}

.post-meta .published-by {
  flex: 1 1 auto;
}

.post-meta .share {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.post-meta .published-by .fusion-meta-info,
.post-meta .published-by .fusion-meta-info * {
  max-width: 100%;
}

.post-meta .share .fusion-sharing-box {
  margin: 0;
}

.post-meta .share .fusion-sharing-box h4 {
  margin: 0 12px 0 0;
}

.post-meta .share .fusion-sharing-box,
.post-meta .share .fusion-social-networks {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .post-meta,
  .single-post .post .post-meta,
  .fusion-body .post-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
  }

  .post-meta .share {
    justify-content: flex-start;
  }

  .post-meta .share .fusion-sharing-box {
    align-items: flex-start;
  }
}

/* Report download modal */
html.acf-report-modal-open,
body.acf-report-modal-open {
  overflow: hidden;
}

.acf-report-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.acf-report-modal[aria-hidden="false"] {
  display: block;
}

.acf-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.acf-report-modal__dialog {
  position: relative;
  max-width: 520px;
  margin: 10vh auto;
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.acf-report-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.acf-report-modal__title {
  margin: 0 0 6px;
}

.acf-report-modal__subtitle {
  margin: 0 0 16px;
  opacity: 0.85;
}

.acf-report-modal__label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.acf-report-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.acf-report-modal__error {
  min-height: 20px;
  margin-top: 10px;
  color: #b00020;
}

.acf-report-modal__submit {
  margin-top: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .acf-report-modal__dialog {
    margin: 12vh 16px;
    max-width: none;
  }
}

