/**
 * Theme Name:      Your Church Admin Child Theme
 * Theme URI:       https://www.elegantthemes.com/gallery/divi/
 * Description:     A child theme for Divi created by Creative Courtney.
 * Author:          Creative Courtney
 * Author URI:      https://www.creativecourtney.com/
 * Template:         Divi
 * Version:         1.0.0
 * Text Domain:     your-church-admin-child-theme
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

/* YCA site CSS (moved from Divi Theme Options > Custom CSS) */
body,p,li,a,input,textarea,.et_pb_module{font-family:'Inter',system-ui,sans-serif;}
h1,h2,h3,h4,h5,h6,.et_pb_module h1,.et_pb_module h2,.et_pb_module h3,.et_pb_module h4{font-family:'Lora',Georgia,serif;font-weight:600;}
body{background-color:#FAF6EF;color:#2B2118;}
@media(max-width:980px){.et-l--header .et_pb_section_1_tb_header .dvmm_content{width:90%!important;max-width:90%!important;margin:0 auto!important;padding:0!important}.et-l--header .et_pb_section_1_tb_header .dvmm_logo_img{width:min(200px,52vw)!important}html,body{overflow-x:clip}}

/* Branded 404 (header is transparent, so the page needs a dark hero behind it) */
.yca-404{background:#06263A;color:#fff;padding:190px 24px 150px;text-align:center}
.yca-404__inner{max-width:680px;margin:0 auto}
.yca-404__eyebrow{color:#2E97D0;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:14px;margin:0 0 12px}
.yca-404 h1{color:#fff;font-size:clamp(32px,5vw,52px);line-height:1.15;margin:0 0 16px;padding:0}
.yca-404 p{color:rgba(255,255,255,.82);font-size:18px;line-height:1.6;margin:0 0 28px}
.yca-404__actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-bottom:32px}
.yca-404__btn{display:inline-block;padding:16px 36px;border:1.5px solid #2E97D0;border-radius:6px;background:#2E97D0;color:#06263A!important;font-family:Inter,sans-serif;font-size:16px;font-weight:600;letter-spacing:.32px;line-height:20px;text-transform:none;text-decoration:none;transition:background-color .3s,color .3s,border-color .3s}
.yca-404__btn:hover{background:#4AAEE0;border-color:#4AAEE0;color:#06263A!important}
#main-content.yca-404{background:#06263A!important;color:#fff;padding:190px 24px 150px;min-height:60vh}
#main-content.yca-404 .yca-404__inner{position:relative;z-index:1}
#main-content.yca-404 h1{font-family:"Plus Jakarta Sans", "Arial Black", sans-serif;font-weight:700;letter-spacing:-1.5px}

/* Unified buttons: same size, weight, spacing everywhere (matches the home hero button) */
body #page-container .et_pb_section a.et_pb_button:not(.et_pb_button_0_tb_header){padding:16px 36px!important;font-family:Inter,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:20px!important;letter-spacing:.32px!important;border-width:1.5px!important;border-style:solid!important;border-radius:6px!important;text-transform:none!important}
body.page-id-1708 #page-container .et_pb_section a.et_pb_button_2,body.page-id-1700 #page-container .et_pb_section a.et_pb_button_0{border-color:#2E97D0!important}
body #page-container .et-l--header a.et_pb_button_0_tb_header{letter-spacing:.32px!important}
/* Mobile menu CTA */
.et-l--header .et_pb_section_2_tb_header .dvmm_button{background-color:#2E97D0!important;color:#06263A!important;font-family:Inter,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:20px!important;letter-spacing:.32px!important;padding:16px 36px!important;border:1.5px solid #2E97D0!important;border-radius:6px!important;text-transform:none!important}
/* Client portal login button */
#loginform input[type=submit],#loginform .button-primary,#loginform #wp-submit{background:#2E97D0!important;color:#06263A!important;border:1.5px solid #2E97D0!important;border-radius:6px!important;font-family:Inter,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:20px!important;letter-spacing:.32px!important;padding:16px 36px!important;text-transform:none!important;box-shadow:none!important;text-shadow:none!important}
#loginform input[type=submit]:hover,#loginform .button-primary:hover{background:#4AAEE0!important;border-color:#4AAEE0!important}
html body #page-container #loginform p.login-submit input#wp-submit.button.button-primary{background:#2E97D0!important;background-image:none!important;color:#06263A!important;border:1.5px solid #2E97D0!important;border-radius:6px!important;font-family:Inter,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:20px!important;letter-spacing:.32px!important;padding:16px 36px!important;text-transform:none!important;box-shadow:none!important;width:auto!important;height:auto!important}
html body #page-container #loginform p.login-submit input#wp-submit.button.button-primary:hover{background:#4AAEE0!important;border-color:#4AAEE0!important}

/* YCA mobile revisions - Nov 24 */
@media(max-width:767px){
html,body{overflow-x:hidden!important;max-width:100%!important}
html body #page-container .et_pb_section_0 .et_pb_image_0{width:60%!important;max-width:60%!important;margin-left:auto!important;margin-right:auto!important}
html body #page-container .et_pb_text_0 h1,html body #page-container .et_pb_post_title_0 h1,html body #page-container h1.entry-title{font-size:36px!important;line-height:38.88px!important;font-weight:800!important;letter-spacing:-0.72px!important}
html body.home #page-container .et_pb_text_4 h2,html body.home #page-container .et_pb_text_8 h2,html body.page-id-1698 #page-container .et_pb_text_1 h2{font-size:30px!important;line-height:34.5px!important;letter-spacing:-0.3px!important}
}
/* YCA desktop heading scale - Nov 24 */
@media(min-width:981px){
html body #page-container h2.yca-cta-h,html body.home #page-container .et_pb_text_9 h2,html body.page-id-1700 #page-container .et_pb_text_9 h2{font-size:52px!important;line-height:56.16px!important;letter-spacing:-1.3px!important}
html body #page-container .et_pb_post_title_0 h1,html body #page-container h1.entry-title{font-size:54px!important;line-height:58.32px!important;letter-spacing:-1.08px!important}
}

/* YCA slide-out menu links: white in all states */
html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li a,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li a:link,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li a:visited,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li a:active,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li.current-menu-item>a,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li.current-menu-item a,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li.current_page_item>a,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li a .dvmm_link_text,html body .et-l--header .et_pb_section_2_tb_header .dvmm_menu li.current-menu-item a .dvmm_link_text{color:#fff!important}

/* YCA hero CLS: reserve hero height so nothing re-centers on load */
@media(min-width:981px){
html body.home #page-container .et_pb_section_0 .et_pb_row_0{align-items:flex-start!important}
html body.home #page-container .et_pb_section_0 .et_pb_row_0 .et_pb_column_0{min-height:545px}
html body.home #page-container .et_pb_section_0 .et_pb_row_0 .et_pb_column_1{min-height:549px}
}

/* YCA header padding early: same rule as the layout CSS, loaded in head to avoid a 14px shift */
.et-l--header .et_pb_section_0_tb_header{padding-top:14px!important;padding-bottom:14px!important}

/* YCA header logo early: reserve logo size in head CSS */
@media(min-width:981px){.et-l--header .et_pb_image_wrap{width:300px}.et-l--header .et_pb_image_wrap img{width:300px;max-width:100%;height:auto;aspect-ratio:2560/502}}

/* YCA header logo block */
.et-l--header .et_pb_image_wrap{display:block;min-height:59px}.et-l--header .et_pb_image_wrap picture{display:block}.et-l--header .et_pb_image_wrap img{display:block}

/* YCA hero cards early */
.et_pb_column:has(.yca-hero-cards){position:relative}.et_pb_text:has(.yca-hero-cards){inset:0;pointer-events:none;position:absolute!important;margin:0!important}.et_pb_text:has(.yca-hero-cards) .et_pb_text_inner{position:absolute;inset:0}.yca-hero-cards{position:absolute;inset:0}
