/*
Theme Name: Crusader Ministries
Description: Classic WordPress theme preserving the Crusader Ministries V2 design with native editable pages, menus, logo and portable local media. Inquiry processing is supplied by the separate companion plugin.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Crusader Ministries
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crusader-ministries
Tags: custom-logo, custom-menu, featured-images, wide-blocks, translation-ready
SPDX-License-Identifier: GPL-2.0-or-later
*/

/* Original styles are enqueued first, in their published order. These rules
 * cover only WordPress-generated content and do not replace the mobile design. */
#cm-site .cmwp-prose { width: min(100%, 1100px); margin: 0 auto; padding: 64px clamp(24px, 6vw, 80px); }
#cm-site .cmwp-prose > h1, #cm-site .cmwp-prose .entry-title { font-size: clamp(34px, 5vw, 58px); margin-bottom: 24px; }
#cm-site .cmwp-entry-content p { margin: 0 0 1.3em; }
#cm-site .cmwp-entry-content h2, #cm-site .cmwp-entry-content h3 { margin: 1.5em 0 .65em; }
#cm-site .cmwp-entry-content a, #cm-site .cmwp-post-list .entry-title a, #cm-site .cmwp-pagination a { text-decoration: underline; text-underline-offset: .15em; }
#cm-site .cmwp-entry-content img, #cm-site .cmwp-prose video { max-width: 100%; height: auto; }
#cm-site .cmwp-entry-content iframe { max-width: 100%; }
#cm-site .cmwp-entry-content figure { max-width: 100%; }
#cm-site .cmwp-entry-content blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 2px solid var(--cm-gold); }
#cm-site .cmwp-entry-content pre { overflow: auto; padding: 20px; background: #e9e1d5; }
#cm-site .cmwp-entry-content table { width: 100%; border-collapse: collapse; }
#cm-site .cmwp-entry-content th, #cm-site .cmwp-entry-content td { padding: 10px; border: 1px solid var(--cm-line); }
#cm-site .cmwp-entry-meta { font-size: 12px; color: var(--cm-muted); margin: 0 0 20px; }
#cm-site .cmwp-post-list > article { padding: 30px 0; border-bottom: 1px solid var(--cm-line); }
#cm-site .cmwp-post-list .entry-title { font-size: clamp(26px, 3vw, 38px); }
#cm-site .cmwp-pagination { margin: 36px 0; }
#cm-site .cmwp-pagination .page-numbers { display: inline-block; padding: 6px 12px; }
#cm-site .cmwp-search-form { display: flex; gap: 12px; align-items: end; margin: 24px 0; }
#cm-site .cmwp-search-form label { flex: 1; margin: 0; }
#cm-site .cmwp-search-form input { margin: 0; }
#cm-site .cmwp-search-form button { flex-shrink: 0; }
#cm-site .cmwp-comments { border-top: 1px solid var(--cm-line); margin-top: 40px; padding-top: 30px; }
#cm-site .cmwp-comments h2, #cm-site .cmwp-comments h3 { margin: 0 0 24px; }
#cm-site .cmwp-comments .comment-list { padding-left: 0; list-style: none; }
#cm-site .cmwp-comments .comment { margin: 24px 0; }
#cm-site .cmwp-comments .comment-body { border-bottom: 1px solid var(--cm-line); padding-bottom: 24px; }
#cm-site .cmwp-comments .comment-meta { font-size: 12px; margin-bottom: 12px; }
#cm-site .cmwp-comments .avatar { vertical-align: middle; margin-right: 8px; }
#cm-site .cmwp-comments .comment-content p { margin: 0 0 1em; }
#cm-site .cmwp-comments .comment-reply-link { text-decoration: underline; }
#cm-site .cmwp-comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: start; }
#cm-site .cmwp-comments .comment-form-cookies-consent label { margin: 0; }
#cm-site .cmwp-comments input[type=submit] { width: auto; cursor: pointer; background: var(--cm-dark); color: var(--cm-paper); }
#cm-site .cm-submenu { padding-left: 12px; }
#cm-site .cmwp-offline-notice { margin: 0 0 20px; }
#cm-site .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#cm-site .screen-reader-text:focus { position: static; width: auto; height: auto; margin: 0; clip: auto; white-space: normal; }
#cm-site .alignleft { float: left; margin: 0 24px 24px 0; }
#cm-site .alignright { float: right; margin: 0 0 24px 24px; }
#cm-site .aligncenter { display: block; margin-left: auto; margin-right: auto; }
#cm-site .wp-caption-text { font-size: 12px; color: var(--cm-muted); }
#cm-site .sticky { border-left: 2px solid var(--cm-gold); padding-left: 20px; }
#cm-site .bypostauthor > .comment-body { border-left: 2px solid var(--cm-gold); padding-left: 16px; }
@media (max-width: 500px) {
  #cm-site .cmwp-prose { padding-top: 44px; padding-bottom: 44px; }
  #cm-site .cmwp-search-form { align-items: stretch; flex-direction: column; }
  #cm-site .alignleft, #cm-site .alignright { float: none; margin: 0 0 24px; }
}
