/* Mobile design audit (Oct 29 2026). Phones only: every rule that changes the layout sits inside max-width:767px.
   Tablets (768px+) and computers (1025px+) are not touched. */
.hag-m-only{display:none}

@media (max-width:767px){
.hag-m-only{display:block}
.hag-wfull,.hag-mfull{display:none}

/* ---- Type scale ------------------------------------------------------ */
h1.entry-title,.hag-orig-title,.hag-video-card h1,.hag-topic-archive h1{font-size:30px;line-height:1.2}
.hag-library-title,.elementor-post__title,.elementor-post__title a,.hag-video-grid h2{font-size:21px!important;line-height:1.3}
.elementor-post__excerpt p{font-size:17px!important;line-height:1.6}
.elementor-post__meta-data,.elementor-post__meta-data span,.elementor-post-date,.hag-devo-library-date,.hag-library-topics,.hag-library-subtitle{font-size:14px;line-height:1.5}
.elementor-widget-theme-post-content p,.elementor-widget-theme-post-content li,.hag-study-body p,.hag-study-body li,
body.page-id-1231 .elementor-widget-text-editor p,body.page-id-1231 .elementor-widget-text-editor li,body.page-id-1231 .elementor-widget-icon-list .elementor-icon-list-text,
body.page-id-1275 .elementor-widget-text-editor p,body.page-id-1119 .elementor-widget-text-editor p,
.elementor-element-ea2bf79 p,.elementor-element-ea2bf79,.elementor-element-8bde9a1,.elementor-element-8bde9a1 p{font-size:17px;line-height:1.65}
body.page-id-1231 .elementor-widget-text-editor p,body.page-id-1231 .elementor-widget-text-editor li,body.page-id-1231 .elementor-widget-icon-list .elementor-icon-list-text,body.page-id-1275 .elementor-widget-text-editor p,body.page-id-1119 .elementor-widget-text-editor p,body.page-id-1275 .elementor-widget-text-editor li,body.page-id-1119 .elementor-widget-text-editor li,.elementor-element-ea2bf79 p,.elementor-element-8bde9a1 p{font-size:17px!important;line-height:1.65!important}
.elementor-widget-theme-post-content p,.hag-study-body p{margin:0 0 1.1em}
.hag-study-body h2,.elementor-widget-theme-post-content h2,h2.hag-subhead{font-size:25px;line-height:1.25;color:#10243f;margin:32px 0 16px}
.hag-study-body h3,.elementor-widget-theme-post-content h3,.hag-study-body .hag-study-qa h3{font-size:21px;line-height:1.3;color:#10243f}
.hag-study-body blockquote{padding:16px}
.elementor-element-ea2bf79 .elementor-widget-container,.elementor-element-ea2bf79 .elementor-widget-container *,.elementor-element-8bde9a1 .elementor-widget-container{color:#334155}
/* the devotional's encouragement: short paragraphs on phones */
.elementor-element-ea2bf79 .hag-chunk{display:block;margin:0 0 1.1em}
.elementor-element-ea2bf79 .hag-chunk:last-child{margin-bottom:0}
figcaption,.wp-caption-text{font-size:14px;line-height:1.5}
.wp-caption,figure{margin-bottom:20px}

/* ---- Small controls -------------------------------------------------- */
html body .font-size-controls{gap:8px;padding:4px 12px}
html body .font-size-controls .font-size-btn{width:44px;height:44px;min-width:44px}
.elementor-menu-toggle{min-width:48px;min-height:48px;display:inline-flex!important;align-items:center;justify-content:center}
.elementor-location-footer .elementor-social-icons-wrapper,.elementor-widget-social-icons .elementor-social-icons-wrapper{display:flex;flex-wrap:wrap;gap:12px;--grid-column-gap:0px}
.elementor-widget-social-icons .elementor-social-icon{width:46px;height:46px;font-size:18px}
.elementor-widget-social-icons .elementor-grid-item{margin:0!important}
.elementor-field-group .elementor-field,.elementor-field-group select,.elementor-field-group input[type=text],.elementor-field-group input[type=email],.elementor-field-group input[type=tel]{min-height:48px;font-size:16px!important}
.elementor-field-group textarea.elementor-field{min-height:144px;font-size:16px!important}
.elementor-field-group{margin-bottom:12px}
.elementor-field-label{font-size:15px}
.elementor-field-type-checkbox .elementor-field-option,.elementor-field-type-acceptance .elementor-field-option{display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 0}
.elementor-field-type-checkbox input[type=checkbox],.elementor-field-type-acceptance input[type=checkbox]{width:24px;height:24px;flex:none;margin:0}
.elementor-field-type-checkbox .elementor-field-option label,.elementor-field-type-acceptance label{display:block;flex:1;cursor:pointer;font-size:16px;line-height:1.4}
.hag-study-tags,.hag-library-topics{display:flex;flex-wrap:wrap;gap:8px;font-size:0!important;padding:0;background:none;border-radius:0;margin:0 0 14px}
.hag-library-topics{margin:10px 0 0}
.hag-study-tags a,.hag-library-topics a,.elementor .hag-study-tags a,.elementor .hag-library-topics a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;box-sizing:border-box;font-size:15px!important;line-height:1.3;white-space:nowrap;max-width:100%;background:#fbf6ee;border:1px solid #d9cdb5;border-radius:999px;text-decoration:none!important;color:#10243f}
.hag-library-item .hag-library-topics{display:flex}
.hag-library-item .hag-library-title{display:block}
.hag-topic-archive .page-numbers,.page-numbers,.elementor-pagination .page-numbers,.hag-topic-pagination .page-numbers a,.hag-topic-pagination .page-numbers span,.hag-devo-library-nav a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;box-sizing:border-box}
.hag-topic-pagination .page-numbers,.elementor-pagination,.nav-links{display:flex;flex-wrap:wrap;gap:8px}
.hag-devo-library-nav{flex-wrap:wrap;gap:12px}
.jp-relatedposts-items .jp-relatedposts-post,.jp-relatedposts-items-visual .jp-relatedposts-post{float:none!important;width:100%!important;max-width:none!important;margin:0 0 12px!important;padding:0!important;box-sizing:border-box}
.jp-relatedposts-post-title a,.jp-relatedposts-post a.jp-relatedposts-post-a{display:flex;align-items:center;min-height:48px;padding:10px 0}
.jp-relatedposts-post-title{margin:0}
.hag-jump{margin:0 0 20px}
.hag-jump a{display:inline-flex;align-items:center;min-height:48px;padding:0 4px;font-weight:700;color:#825b22;text-decoration:underline;text-underline-offset:3px}
.hag-onpage{margin:0 0 28px;padding:16px;background:#fbf6ee;border-left:5px solid #b38b4d;border-radius:0 10px 10px 0}
.hag-onpage .hag-onpage-title{font-size:19px;margin:0 0 8px;color:#10243f}
.hag-onpage ol{margin:0;padding-left:1.3em}
.hag-onpage li{margin:0}
.hag-onpage a{display:block;padding:10px 0;min-height:24px;color:#10243f;text-decoration:underline;text-underline-offset:3px;font-size:17px;line-height:1.35}
html{scroll-padding-top:90px}

.elementor-element-ea2bf79 .elementor-widget-container,.elementor-element-ea2bf79 .hag-chunk{font-size:17px!important;line-height:1.65!important}
.elementor-nav-menu--dropdown a.elementor-item,.elementor-nav-menu--dropdown .elementor-sub-item{min-height:48px;display:flex;align-items:center}
/* ---- Buttons --------------------------------------------------------- */
.hag-book-button,.elementor-button{max-width:100%;white-space:normal}

/* ---- Blogs ----------------------------------------------------------- */
.elementor-post__badge{display:none!important}
.hag-m-hide{display:none!important}
.hag-more-posts{display:flex!important;margin:20px auto 8px;width:auto}
.elementor-posts-container.elementor-grid{gap:20px!important;grid-row-gap:20px!important}
.elementor-posts .elementor-post__card{padding:0;height:auto!important;min-height:0!important}
.elementor-posts .elementor-post__thumbnail__link{margin-bottom:0!important}
.elementor-posts .elementor-post__avatar{margin:16px 20px 0!important;height:44px!important;display:flex!important;line-height:0}
.elementor-posts .elementor-post__avatar+.elementor-post__text,.elementor-posts .elementor-post__text{margin-top:12px!important}
.elementor-posts .elementor-post__text{padding:0 20px;margin-bottom:0}
.elementor-posts .elementor-post__title{margin:0 0 12px!important}
.elementor-posts .elementor-post__excerpt{margin:0 0 20px!important;height:auto!important}
.elementor-posts .elementor-post__excerpt p{height:auto!important;max-height:none!important}
.elementor-posts .elementor-post__read-more-wrapper{margin:0}
.elementor-posts .elementor-post__meta-data{padding:12px 20px 16px}
.elementor-posts .elementor-post__read-more{display:inline-flex;align-items:center;min-height:44px;margin:0!important;font-size:15px!important}

/* ---- Home ------------------------------------------------------------ */
body.home .elementor-element-29ed8b59{display:none}
body.home .elementor-476{display:flex;flex-direction:column}
body.home .elementor-476>.elementor-section{order:5;width:100%}
body.home .elementor-476>.elementor-element-3281f642{order:1}
body.home .elementor-476>.elementor-element-bfa2dbe{order:2}
body.home .elementor-element-4b6bae51 .hag-h-icon{display:inline-block;width:30px;height:27px;margin-right:10px;vertical-align:-4px;color:#a97c2b}
body.home .elementor-element-4b6bae51 .hag-h-icon svg{width:100%;height:100%;display:block}
body.home .elementor-element-78521159,body.home .elementor-element-59bc15bf{display:none}
.hag-home-mx p{margin:0 0 20px;font-size:17px;line-height:1.6;color:#334155}
.hag-home-mbtn{margin:0 0 8px;text-align:center}
.hag-home-mbtn a.hag-book-button{display:inline-flex;color:#fff!important;text-decoration:none!important;opacity:1}
.hag-wshort p{margin:0 0 12px}
.hag-more summary{display:inline-flex;align-items:center;min-height:48px;cursor:pointer;font-weight:700;color:#d9b876;text-decoration:underline;text-underline-offset:3px;list-style:none}
.hag-more summary::-webkit-details-marker{display:none}
.hag-more summary::before{content:"+";margin-right:8px;font-size:20px;text-decoration:none;display:inline-block}
.hag-more[open] summary::before{content:"\2212"}
.hag-more[open] summary{margin-bottom:8px}

/* ---- Libraries and topics ------------------------------------------- */
.hag-library{gap:12px}
.hag-library-item{padding:16px 16px 16px 18px}
.hag-library-card{padding:24px 16px}
ul.hag-all-topics .hag-library-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:8px 16px}
ul.hag-all-topics .hag-library-item .hag-library-title{flex:1;min-width:0}
ul.hag-all-topics .hag-library-item .hag-library-topics{margin:0;font-size:14px!important;color:#5b6170;flex:none;display:block}
.hag-topic-archive{padding:32px 16px 40px}

/* ---- Pages ----------------------------------------------------------- */
.hag-study-tags>span:not(:has(a)),.hag-library-topics>span:not(:has(a)){display:none}
.hag-book-single{display:flex;flex-direction:column}
.hag-book-single>*{order:5}
.hag-book-single>.hag-back-link{order:1}
.hag-book-single>.hag-book-layout{order:2;display:flex;flex-direction:column}
.hag-book-single>.hag-vb-banner{order:3;margin:32px 0 0}
.hag-book-single>.hag-more-books{order:4}
.hag-book-layout>article{display:contents}
.hag-book-layout>article>*{order:3}
.hag-book-layout>article>.hag-book-latest-label{order:0}
.hag-book-layout>article>h1{order:1;margin-top:0}
.hag-book-layout>div:first-child{order:2}

.hag-video-single .hag-vb-banner{display:none}
.hag-video-single{margin:16px auto}
body.page-id-1441 main,.hag-thanks main{padding-top:0}
.hag-thanks-home{display:block!important;margin:32px 0 0;text-align:center}
.hag-thanks-home a{display:inline-flex}
body.page-id-1441 h1,body.page-id-1441 h2{font-size:30px;line-height:1.2}
body.page-id-1441 main{padding:32px 16px}

/* ---- Blog category archive: same card, type and spacing as the Blogs page ---- */
.category main#content{padding:0 16px 40px}
.category .page-header h1.entry-title{font-family:"Fraunces",Georgia,serif;color:#10243f;font-size:30px;line-height:1.2;margin:24px 0 8px}
.category .archive-description,.category .archive-description p{font-size:17px;line-height:1.6;color:#2a2f3a;margin:0 0 20px}
.category .page-content{display:flex;flex-direction:column;gap:20px}
.category .page-content>article.post{display:flex;flex-direction:column;background:#fff;border-radius:3px;box-shadow:0 2px 10px rgba(15,35,64,.08);padding:0 0 20px;overflow:hidden}
.category .page-content>article.post>a{order:1;display:block}
.category .page-content>article.post>a img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.category .page-content>article.post>h2.entry-title{order:2;margin:16px 20px 12px;font-family:"Fraunces",Georgia,serif;font-size:21px;line-height:1.3;font-weight:700}
.category .page-content>article.post>h2.entry-title a{color:#10243f;text-decoration:none}
.category .page-content>article.post>p{order:3;margin:0 20px;font-size:17px;line-height:1.6;color:#4a505c}
.category .pagination{display:flex;justify-content:space-between;gap:8px;margin-top:28px;font-size:17px}
.category .pagination a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:#10243f}

/* ---- Daily Devotionals archive: visible heading, same gutters as the library page ---- */
.hag-archive-title{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;margin:0 0 16px;font-family:"Fraunces",Georgia,serif;font-size:30px;line-height:1.2;color:#10243f}
.elementor-1405>.elementor-section{padding-top:32px!important}
.elementor-1405 .elementor-column-gap-extended>.elementor-column>.elementor-element-populated{padding-left:0!important;padding-right:0!important}

/* ---- What We Believe: the core-value explanations match the list above them ---- */
.elementor-element-0e3ddca em,.elementor-element-0e3ddca i{font-style:normal}

/* ---- Round 2 ---- */
html body .elementor-widget.elementor-widget-theme-post-content p,html body .elementor-widget.elementor-widget-theme-post-content li,html body .elementor-widget.hag-study-body p,html body .elementor-widget.hag-study-body li,html body .hag-study-body.hag-study-body p,html body .hag-study-body.hag-study-body li{font-size:17px!important;line-height:1.65!important}
.elementor-widget-theme-post-content figcaption,.elementor-widget-theme-post-content .wp-caption-text{font-size:14px!important;line-height:1.5!important}
.elementor-element-ea2bf79,.elementor-element-ea2bf79 *,.elementor-element-8bde9a1,.elementor-element-8bde9a1 *{color:#334155!important}
.elementor-element-8bde9a1 .elementor-widget-container{font-size:17px!important;line-height:1.65!important}
.hag-onpage ol{list-style:none;padding:0}
.hag-onpage li{padding:0}
.hag-book-card h2,.hag-book-card h3{font-size:21px;line-height:1.3}
.elementor-element-280edeb1{min-height:220px!important;background-position:20% 40%!important}
html body .elementor-widget.elementor-element-8bde9a1 p,html body .elementor-widget.elementor-element-ea2bf79 p{font-size:17px!important;line-height:1.65!important;color:#334155!important}

/* ---- Round 3 (Billy, Oct 29): About paragraphs, Topics search, Prayer labels ---- */
.hag-about-body .hag-chunk2{display:block;margin:0 0 1.1em}
.hag-about-body .hag-chunk2:last-child{margin-bottom:0}
.hag-topic-find{margin:0 0 16px}
.hag-topic-find label{display:block;margin:0 0 6px;font-weight:700;color:#10243f;font-size:16px}
.hag-topic-find input{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:0 14px;font:inherit;font-size:16px;color:#10243f;background:#fff;border:1px solid #d9cdb5;border-radius:8px}
.hag-topic-none{margin:12px 0;color:#5b6170;font-size:16px}
body.page-id-1119 [data-elementor-type="wp-page"] .elementor-field-group:not(.elementor-field-type-checkbox):not(.elementor-field-type-submit) .elementor-field-label.elementor-screen-only{position:static!important;top:auto!important;width:auto!important;height:auto!important;margin:0 0 6px!important;overflow:visible!important;clip:auto!important;display:block;font-size:16px;font-weight:700;color:#10243f}
}
