/* Christ the King: rules Elementor's kit can't express. Scope two classes deep (kit rules win otherwise). */
body .ctk-content .elementor-widget-container img.alignright { float: right; margin: 0 0 1.25rem 1.5rem; }
body .ctk-content .elementor-widget-container img.alignleft { float: left; margin: 0 1.5rem 1.25rem 0; }
body .ctk-content .elementor-widget-container img.aligncenter { display: block; margin: 1.5rem auto; }
body .ctk-content .elementor-widget-container img { max-width: 100%; height: auto; }
body .ctk-content .elementor-widget-container ul { margin: 0 0 1.25rem 1.25rem; }
body .ctk-content .elementor-widget-container .wp-audio-shortcode { margin: 1rem 0 1.5rem; }
body .ctk-content .elementor-widget-container::after { content: ""; display: table; clear: both; }
@media (max-width: 767px) {
	body .ctk-content .elementor-widget-container img.alignright,
	body .ctk-content .elementor-widget-container img.alignleft { float: none; display: block; margin: 1rem auto; }
}

/* Gravity Forms (contact) in brand style. */
body .gform_wrapper.gravity-theme .gform_footer input[type=submit] { background: #901e21; color: #fff; border: 0; border-radius: 0; padding: 14px 32px; font-family: mr-eaves-modern, sans-serif; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
body .gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover { background: #6f1619; }
body .gform_wrapper.gravity-theme input[type=text], body .gform_wrapper.gravity-theme input[type=email], body .gform_wrapper.gravity-theme textarea { border: 1px solid #cfcfcf; border-radius: 0; padding: 10px 12px; font-family: inherit; font-size: 18px; }

/* Mailchimp embed on Weekly Updates: drop its fixed white box and Helvetica. */
body #mc_embed_signup { background: transparent; font: inherit; }
body #mc_embed_signup input.email { border: 1px solid #cfcfcf; border-radius: 0; padding: 10px 12px; font-size: 18px; min-height: 48px; }
body #mc_embed_signup .button { background: #901e21; border-radius: 0; height: auto; padding: 12px 28px; font-family: mr-eaves-modern, sans-serif; font-size: 18px; text-transform: uppercase; }
body #mc_embed_signup input.email, body #mc_embed_signup .button { width: 100%; max-width: 100%; box-sizing: border-box; margin: 0 0 12px; white-space: normal; line-height: 1.2; }
body #mc_embed_signup .clear { display: block; float: none; width: 100%; }
/* Mailchimp's own stylesheet loads after ours, so out-specify it. */
body #mc_embed_signup form input.button { display: block; width: 100%; overflow: visible; }

/* Sermon lists: homepage cards on the dark band; Loop Grid cards on the archive and single sermon. */
body .ctk-sermons .elementor-post__excerpt p { margin-bottom: 0; }
body .ctk-sermon-cards .elementor-post { background: #fff; padding: 28px 28px 26px; border-top: 4px solid #901e21; }
body .ctk-sermon-cards .elementor-post__title { margin-bottom: 10px; }
body .ctk-sermon-grid .ctk-sermon-card { transition: box-shadow .2s ease, transform .2s ease; }
body .ctk-sermon-grid .ctk-sermon-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-3px); }
body .ctk-sermon-grid .ctk-sermon-card .elementor-widget-theme-post-featured-image a { display: block; }
body .ctk-sermon-grid .ctk-sermon-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
body .ctk-sermon-grid .ctk-sermon-card h3 a { color: inherit; }
/* Bigger tap area for the text-style Listen link without moving it. */
body .ctk-sermon-grid .ctk-sermon-card .elementor-widget-button .elementor-button { padding-top: 14px; padding-bottom: 14px; margin: -14px 0; }
body .ctk-sermon-grid .ctk-sermon-card h3 a:hover { color: #901e21; }

/* Theme Builder header nav: keep the bar on one line between 1025 and 1200px. */
@media (min-width: 1025px) and (max-width: 1200px) {
	body .elementor-location-header .elementor-nav-menu--main .elementor-item { padding-left: 9px; padding-right: 9px; }
}

/* Contact lives in the header button on desktop; show the menu copy only in the mobile/tablet dropdown. */
body .elementor-nav-menu--main .ctk-mobile-only { display: none; }

/* Homepage and sermon pages on phones: two sermon cards is enough before "All sermons". */
@media (max-width: 767px) {
	body.home .ctk-sermon-grid .e-loop-item:nth-child(n+3 of .e-loop-item),
	body.single-post .ctk-sermon-grid .e-loop-item:nth-child(n+3 of .e-loop-item) { display: none; }
}

/* Series artwork in the sermon sidebar: show the whole graphic. */
body .ctk-series-art img { width: 100%; height: auto; display: block; box-shadow: 0 6px 20px rgba(0,0,0,.10); }
