/*
 * WordPress-only additions. The design itself lives untouched in style.css.
 */

/* Keep the sticky header below the admin toolbar for logged-in users. */
.admin-bar .sticky-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sticky-header { top: 46px; } }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* Enquiry form */
.mn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mn-form-notice { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; font-weight: 600; background: #e8f6ee; color: #146c43; }
.mn-form-notice.is-invalid, .mn-form-notice.is-error { background: #fdecea; color: #a4262c; }

/* Editor content on pages and posts */
.mn-entry { max-width: 860px; margin: 0 auto; }
.mn-entry > * + * { margin-top: 1.2em; }
.mn-entry img { max-width: 100%; height: auto; border-radius: var(--radius, 12px); }
.mn-entry ul, .mn-entry ol { padding-left: 1.4em; list-style: revert; }
.mn-entry a { color: var(--theme-color); text-decoration: underline; }
.mn-entry .alignleft { float: left; margin: 0 1.5em 1em 0; }
.mn-entry .alignright { float: right; margin: 0 0 1em 1.5em; }
.mn-entry .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.mn-entry .wp-caption-text, .mn-entry figcaption { font-size: 14px; opacity: .75; margin-top: 8px; }
.mn-entry-thumb { margin-bottom: 40px; }
.mn-entry-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; margin-bottom: 30px; }
.mn-entry-meta i { color: var(--theme-color); margin-right: 6px; }
.mn-pagination { margin-top: 50px; }
.mn-pagination .nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.mn-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 50px; background: var(--light-color2); font-weight: 700; }
.mn-pagination .page-numbers.current, .mn-pagination .page-numbers:hover { background: var(--theme-color); color: #fff; }
.mn-empty { text-align: center; }

/* Contact Form 7 — matches the .form-control / .form-check / .tv-btn design */
.wpcf7 form p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 select.form-control { appearance: auto; }
.wpcf7 .wpcf7-acceptance { display: block; margin: 4px 0 24px; font-size: 14px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.wpcf7 .wpcf7-acceptance input { margin-top: 5px; accent-color: var(--theme-color2); }
.wpcf7 button.tv-btn { border: 0; cursor: pointer; font: inherit; }
.wpcf7-not-valid-tip { color: #d63638; font-size: 13px; margin-top: 6px; display: block; }
.wpcf7 .wpcf7-not-valid { border-color: #d63638; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 12px 18px; border-radius: 12px; border-width: 1px; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #46b450; background: #eefaf0; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #d63638; background: #fdf0f0; }
.wpcf7-spinner { margin: 0 0 0 12px; }
