/**
 * Project overrides.
 *
 * Loaded after style.css with a filemtime() version, so edits here appear
 * immediately without a cache clear.
 */

html {
	scroll-behavior: smooth;
}

/* Keep in-page anchors clear of the fixed admin bar. */
#contact {
	scroll-margin-top: 2rem;
}

.admin-bar #contact {
	scroll-margin-top: 4.5rem;
}

/* Header menu drop-downs. */
.mfs-nav .menu-item-has-children:hover > .mfs-sub-menu {
	display: block;
}

/* Pagination. */
.mfs-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.125rem;
	color: #000e21;
	font-weight: 500;
	transition: all 0.2s;
}

.mfs-pagination .page-numbers:hover,
.mfs-pagination .page-numbers.current {
	background: #cd9e70;
	border-color: #cd9e70;
	color: #000e21;
}

#gallery img{
	height: 200px;
    width: 100%;
}
/* -------------------------------------------------------------------------
 * Contact Form 7, matched to the design's form markup.
 *
 * CF7 wraps every control in its own <span> and renders the acceptance
 * checkbox as a nested label, so the design's `gap-3` on the consent row has
 * nothing to act on. These rules rebuild that layout.
 * ---------------------------------------------------------------------- */

/* The submit button is followed by the (hidden) response output, so space-y-6
   would otherwise leave a gap under the button inside the card. */
.mfs-form .wpcf7-form > input[type="submit"] {
	margin-bottom: 0;
}

/* The spinner is only visibility:hidden when idle, so it still reserved 32px
   under the button. Keep it out of the flow until the form is submitting. */
.mfs-form .wpcf7-spinner {
	display: none;
}

.mfs-form form.submitting .wpcf7-spinner {
	display: block;
}

/* Consent row: checkbox and label side by side, as in the design. */
.mfs-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.mfs-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	cursor: pointer;
}

.mfs-form .wpcf7-acceptance input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin: 0.25rem 0 0;
	flex-shrink: 0;
	accent-color: #cd9e70;
}

.mfs-form .wpcf7-list-item-label {
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 400;
	color: rgba(0, 14, 33, 0.7);
}

/* Comment list. */
.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	margin-left: 2rem;
	margin-top: 1.5rem;
}

.comment-body {
	border: 1px solid #f3f4f6;
	border-radius: 0.125rem;
	padding: 1.5rem;
}

.comment-author img {
	border-radius: 9999px;
	vertical-align: middle;
	margin-right: 0.75rem;
}
@media (max-width: 767px) {
    #gallery img {
        height: auto;
        width: 100%;
    }
}