/* WordPress / Gutenberg wrappers for the Amarosa Farm design.
   Loaded after styles.css. */

.wp-site-blocks,
.wp-block-post-content,
main.wp-block-group {
	margin: 0;
	padding: 0;
}

/* Template-part wrappers would trap the sticky header inside their own height. */
.wp-site-blocks > .wp-block-template-part {
	display: contents;
}

/* Buttons, captions and loose words are paragraphs in the editor; on the page
   the paragraph steps aside so they sit exactly as designed. */
p.btn-wrap,
p.span-wrap {
	display: contents;
}

/* Home hero: the phone-sized crop is a <picture> inside .hero__media. */
.hero__media > picture {
	display: contents;
}

/* Photo tiles: the link lives on the photo; the caption lets clicks through. */
.photo-tile > a {
	display: block;
	height: 100%;
	color: inherit;
}

.photo-tile__caption {
	pointer-events: none;
}

/* Lists built from blocks keep the design's bare list. */
.wp-block-list.breadcrumb,
.wp-block-list.hero__pillars,
.wp-block-list.tag-list,
.wp-block-list.carousel__track,
.wp-block-list.feature-cards,
.wp-block-list.check-list {
	list-style: none;
}

/* Contact form messages. */
.form-status {
	margin: 0 0 var(--space-5);
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.form-status.is-sent {
	background: #e6f4ea;
	color: #1e5631;
}

.form-status.is-error {
	background: #fdecea;
	color: #8a1c1c;
}

.form {
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Leftover plugins (e.g. Elementor's global fonts) must not change the design's type. */
body h1, body h2, body h3, body h4, body .display, body .display-italic { font-family: var(--font-display) !important; }
body .fade-band h2, body .site-footer h2, body .prose h3 { font-family: var(--font-body) !important; }

/* Leftover plugin button styles must not restyle the design's buttons. */
body .reel__toggle { position: absolute !important; right: var(--space-3) !important; bottom: var(--space-3) !important; width: 2.5rem !important; height: 2.5rem !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; display: grid !important; place-items: center !important; border: 1px solid rgba(255,255,255,0.6) !important; border-radius: 50% !important; background: rgba(14,26,20,0.55) !important; color: #fff !important; box-shadow: none !important; line-height: 1 !important; }
body .reel__toggle:hover { background: rgba(14,26,20,0.85) !important; }
body .reel__toggle svg { width: 1rem !important; height: 1rem !important; fill: currentColor !important; }
body .reel__toggle .i-pause, body .reel__toggle[data-playing="false"] .i-play { display: block !important; }
body .reel__toggle .i-play, body .reel__toggle[data-playing="false"] .i-pause { display: none !important; }
body .carousel__btn { width: 40px !important; height: 40px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; display: grid !important; place-items: center !important; border: 1px solid var(--color-border) !important; border-radius: 50% !important; background: #fff !important; color: var(--c-ink-900) !important; box-shadow: none !important; }
body .carousel__btn:hover { background: var(--color-accent) !important; border-color: var(--color-accent) !important; color: #fff !important; }
body .carousel__btn svg { width: 16px !important; height: 16px !important; display: block !important; stroke: currentColor !important; fill: none !important; }
body .carousel__dot { width: 9px !important; height: 9px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--c-sand-300) !important; }
body .carousel__dot[aria-current="true"] { background: var(--color-accent) !important; }
body .listing__thumbs button { padding: 0 !important; min-height: 0 !important; background: none !important; border: 2px solid transparent !important; border-radius: var(--radius-sm) !important; box-shadow: none !important; }
body .listing__thumbs button:hover, body .listing__thumbs button[aria-current="true"] { border-color: var(--color-accent) !important; }
body .lightbox__close { width: 2.75rem !important; height: 2.75rem !important; padding: 0 !important; border: 1px solid rgba(255,255,255,0.6) !important; border-radius: 50% !important; background: rgba(14,26,20,0.6) !important; color: #fff !important; }
@media (max-width: 960px) {
  body .nav-toggle { width: 46px !important; height: 46px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--c-red-700) !important; color: #fff !important; box-shadow: none !important; }
}
body .btn { border-radius: var(--radius-sm) !important; }
