/* ================================
   KADENCE THEME CUSTOM STYLING
   Navigation + Footer
   Safer for Pages and Posts
   ================================ */

/* ==== NAVIGATION MENU STYLING ==== */

.main-navigation .menu-item > a {
    color: #ffffff !important;
}

.main-navigation .menu-item > a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

/* Active menu item - safer than border/padding */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
    color: #ffffff !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Sub-menu */
.main-navigation .sub-menu .menu-item > a {
    color: #ffffff !important;
}

.main-navigation .sub-menu .menu-item > a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

/* Mobile menu */
.mobile-navigation .menu-item > a {
    color: #ffffff !important;
}

.mobile-navigation .menu-item > a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

.mobile-navigation .current-menu-item > a,
.mobile-navigation .current-menu-ancestor > a,
.mobile-navigation .current_page_item > a,
.mobile-navigation .current_page_ancestor > a {
    color: #ffffff !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* ==== SINGLE POST SPACING FIX ==== */

.single-post .site-main {
    padding-top: 80px;
}

/* ==== FOOTER ==== */

body .site-footer,
.site .site-footer,
#page .site-footer,
html body .site-footer {
    background: #131928 !important;
}

.site-footer,
body.wp-admin-bar .site-footer,
body .site .site-footer {
    background-color: #131928 !important;
    background-image: none !important;
}

/* ==== BLOG / SINGLE POST BRAND STYLING ==== */

.single-post {
    background: #131928;
}

.single-post .site-main {
    padding-top: 96px;
    padding-bottom: 64px;
}

.single-post .content-bg,
.single-post .entry.single-entry {
    background: #ffffff !important;
    color: var(--global-palette3, #1f2933);
    border-radius: 4px;
    box-shadow: none;
}

.single-post .entry-content,
.single-post .single-content {
    color: var(--global-palette3, #1f2933);
    font-family: var(--global-body-font-family, Montserrat, sans-serif);
    font-size: 18px;
    line-height: 1.65;
}

.single-post .entry-content > * {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    color: #ff6c2b;
    font-family: var(--global-heading-font-family, Montserrat, sans-serif);
    font-weight: 800;
    line-height: 1.18;
}

.single-post .entry-content h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-top: 0;
    margin-bottom: 24px;
}

.single-post .entry-content h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin-top: 44px;
    margin-bottom: 16px;
}

.single-post .entry-content p,
.single-post .entry-content li {
    color: var(--global-palette3, #1f2933);
}

.single-post .entry-content p {
    margin-bottom: 20px;
}

.single-post .entry-content a {
    color: var(--global-palette1, #e47b02);
    font-weight: 700;
}

.single-post .entry-content img,
.single-post .entry-content figure {
    max-width: 100%;
}

.single-post .sharedaddy,
.single-post .jp-relatedposts {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--global-palette3, #1f2933);
}

@media (max-width: 767px){
    .single-post .site-main {
        padding-top: 72px;
        padding-bottom: 40px;
    }

    .single-post .content-bg,
    .single-post .entry.single-entry {
        border-radius: 0;
    }

    .single-post .entry-content,
    .single-post .single-content {
        font-size: 17px;
    }
}

/* ==== BLOG BUTTON LINK FIX ==== */

.single-post .entry-content .wp-block-button__link,
.single-post .entry-content .wp-element-button {
    background: #ff6c2b;
    color: #ffffff !important;
    border-radius: 4px;
    font-family: var(--global-heading-font-family, Montserrat, sans-serif);
    font-weight: 800;
    text-decoration: none;
}

.single-post .entry-content .wp-block-button__link:hover,
.single-post .entry-content .wp-block-button__link:focus,
.single-post .entry-content .wp-element-button:hover,
.single-post .entry-content .wp-element-button:focus {
    background: #d9571f;
    color: #ffffff !important;
    text-decoration: none;
}

/* ==== BLOG EXTRA WIDGETS HIDDEN ==== */

.single-post .sharedaddy,
.single-post .sd-sharing-enabled,
.single-post .sd-like,
.single-post .jp-relatedposts,
.single-post .post-navigation,
.single-post .navigation.post-navigation,
.single-post #comments,
.single-post .comments-area,
.single-post .comment-respond {
    display: none !important;
}

/* ==== BLOG H1 TITLE SCALE ==== */

.single-post .entry-content h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-top: 0;
    margin-bottom: 24px;
}


/* ==== BLOG POST UX/UI REFINEMENT ==== */

body.single-post {
    background-color: #131928;
    background-image:
        linear-gradient(rgba(19, 25, 40, 0.84), rgba(19, 25, 40, 0.92)),
        url('https://eden-ministries.org/wp-content/uploads/2025/06/SCHOOL-WEBPAGE-BANNER.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.single-post .site-main {
    padding-top: 88px;
    padding-bottom: 72px;
}

.single-post .entry.single-entry,
.single-post .content-bg {
    border-radius: 6px;
    overflow: hidden;
}

.single-post .entry-content,
.single-post .single-content {
    font-size: 18px;
    line-height: 1.7;
}

.single-post .entry-content h1.wp-block-heading {
    font-size: clamp(2.35rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 26px;
}

.single-post .entry-content h2.wp-block-heading {
    font-size: clamp(1.65rem, 2.3vw, 2rem);
    line-height: 1.22;
    margin-top: 54px;
    margin-bottom: 18px;
}

.single-post .entry-content p {
    margin-bottom: 22px;
}

.single-post .entry-content .wp-block-buttons {
    margin-top: 34px;
    margin-bottom: 30px;
}

.single-post .entry-content .wp-block-button__link,
.single-post .entry-content .wp-element-button {
    padding: 14px 22px;
}

@media (max-width: 767px){
    body.single-post {
        background-attachment: scroll;
        background-position: center top;
    }

    .single-post .site-main {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .single-post .entry.single-entry,
    .single-post .content-bg {
        border-radius: 0;
    }

    .single-post .entry-content h1.wp-block-heading {
        font-size: 2.15rem;
    }

    .single-post .entry-content h2.wp-block-heading {
        font-size: 1.55rem;
        margin-top: 42px;
    }
}


/* ==== MOBILE POST READING EXPERIENCE ==== */
@media (max-width: 640px){
  body.single-post #main.site-main {
    width: 100%;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  body.single-post #primary.content-area {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  body.single-post article.entry.content-bg.single-entry {
    width: calc(100vw - 24px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
    box-shadow: none;
  }

  body.single-post .entry-content.single-content {
    width: auto;
    max-width: none;
    padding: 24px 20px 30px;
    font-size: 17px;
    line-height: 1.68;
  }

  body.single-post .entry-content h1.wp-block-heading,
  body.single-post .entry-content h1 {
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
  }

  body.single-post .entry-content h2.wp-block-heading,
  body.single-post .entry-content h2 {
    font-size: clamp(1.45rem, 6vw, 1.7rem);
    line-height: 1.18;
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
  }

  body.single-post .entry-content p {
    margin-bottom: 1.25rem;
  }

  body.single-post .entry-content hr.wp-block-separator,
  body.single-post .entry-content .wp-block-separator {
    max-width: 160px;
    margin-top: 2.2rem;
    margin-bottom: 2.2rem;
  }

  body.single-post .entry-content givebutter-widget,
  body.single-post .entry-content iframe[src*="givebutter"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }

  body.single-post .sharedaddy,
  body.single-post .sd-like,
  body.single-post .entry-footer,
  body.single-post .post-navigation {
    display: none !important;
  }
}


/* ==== MOBILE POST WIDTH TUNING ==== */
@media (max-width: 640px){
  body.single-post .content-container.site-container {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.single-post #main.site-main,
  body.single-post #main.site-main .content-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-post article.entry.content-bg.single-entry {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-post .entry-content-wrap {
    padding: 0 !important;
  }

  body.single-post .entry-content.single-content {
    padding: 24px 18px 30px !important;
  }

  body.single-post .entry-content h1.wp-block-heading,
  body.single-post .entry-content h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.15rem) !important;
    line-height: 1.1 !important;
  }
}


/* ==== MOBILE POST HEADER CLEARANCE ==== */
@media (max-width: 640px){
  body.single-post.mobile-transparent-header #main.site-main,
  body.single-post.transparent-header #main.site-main {
    padding-top: 72px !important;
  }
}


/* FINAL POST MOBILE FIX */
@media(max-width:768px){body.single-post .content-container.site-container{padding-left:14px!important;padding-right:14px!important}body.single-post .entry-content-wrap{padding:0!important}body.single-post .entry-content.single-content{padding:28px 24px 34px!important;font-size:19px!important;line-height:1.62!important}body.single-post .entry-content h1.wp-block-heading,body.single-post .entry-content h1,body.single-post h1.wp-block-heading,body.single-post h1.entry-title{font-size:40px!important;line-height:1.08!important;letter-spacing:0!important;margin:0 0 24px!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}body.single-post .entry-content h2.wp-block-heading,body.single-post .entry-content h2{font-size:28px!important;line-height:1.18!important}}
@media(max-width:480px){body.single-post .entry-content.single-content{padding:24px 18px 30px!important;font-size:17px!important;line-height:1.68!important}body.single-post .entry-content h1.wp-block-heading,body.single-post .entry-content h1,body.single-post h1.wp-block-heading,body.single-post h1.entry-title{font-size:31px!important;line-height:1.1!important;margin-bottom:20px!important}body.single-post .entry-content h2.wp-block-heading,body.single-post .entry-content h2{font-size:23px!important;line-height:1.2!important}}


/* FINAL SINGLE POST LOGO CLEARANCE */
@media(max-width:768px){body.single-post.mobile-transparent-header #main.site-main,body.single-post.transparent-header #main.site-main{padding-top:145px!important}}
@media(max-width:480px){body.single-post.mobile-transparent-header #main.site-main,body.single-post.transparent-header #main.site-main{padding-top:120px!important}}


/* SINGLE POST PHOTO BACKGROUND */
body.single-post{background-color:#172335!important;background-image:linear-gradient(rgba(12,24,38,.74),rgba(12,24,38,.82)),url('https://i0.wp.com/eden-ministries.org/wp-content/uploads/2025/07/PHOTO-2025-07-03-10-09-10.jpg?w=1400&ssl=1')!important;background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important;background-attachment:fixed!important}body.single-post #wrapper,body.single-post .site{background:transparent!important}@media(max-width:768px){body.single-post{background-attachment:scroll!important;background-position:center top!important}}


/* FINAL FOOTER UX POLISH */
.site-footer{background:#111827!important}.site-footer-wrap{position:relative}.site-footer-wrap:before{content:"Eden Ministries provides Christ-centered care, education, healthcare, and discipleship for vulnerable children in Zimbabwe.  Partner With Us";display:block;max-width:980px;margin:0 auto;padding:38px 24px 26px;text-align:center;color:#fff;font-size:20px;line-height:1.55;font-weight:500}.site-footer-wrap:before{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0));border-bottom:1px solid rgba(255,255,255,.12)}.eden-seals-container{padding:22px 20px 20px!important;background:transparent!important}.seals-wrapper{gap:24px!important}.seal-image{width:64px!important;height:64px!important;object-fit:contain!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.28))}.eden-footer-container{padding:34px 24px 22px!important}.eden-footer-grid{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;gap:34px!important;align-items:start!important}.eden-footer-grid h3{font-size:19px!important;margin-bottom:14px!important;color:#fff!important}.contact-info,.org-info{color:rgba(255,255,255,.82)!important;font-size:15px!important;line-height:1.65!important}.contact-row,.org-row{margin-bottom:8px!important}.eden-copyright-bar{margin-top:26px!important;padding-top:18px!important;border-top:1px solid rgba(255,255,255,.14)!important;color:rgba(255,255,255,.68)!important}.footer-social-wrap .social-button{width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;background:rgba(255,255,255,.06)!important}.footer-social-wrap .social-button:hover{background:#ff6b35!important;border-color:#ff6b35!important}@media(max-width:768px){.site-footer-wrap:before{padding:32px 26px 24px;font-size:18px;line-height:1.55}.eden-footer-grid{grid-template-columns:1fr!important;text-align:center!important;gap:24px!important}.contact-row,.org-row{max-width:360px;margin-left:auto!important;margin-right:auto!important}.seal-image{width:58px!important;height:58px!important}.eden-footer-container{padding-top:24px!important}.footer-social-wrap{justify-content:center!important}}


/* FINAL DESKTOP FOOTER LAYOUT */
@media(min-width:769px){.site-footer{background:#111827!important}.site-footer-wrap:before{content:"Eden Ministries provides Christ-centered care, education, healthcare, and discipleship for vulnerable children in Zimbabwe."!important;max-width:920px!important;padding:44px 24px 18px!important;font-size:22px!important;line-height:1.45!important}.site-middle-footer-wrap:after{content:"Partner With Us";display:block;width:max-content;margin:0 auto 30px;padding:13px 24px;border-radius:4px;background:#ff6b35;color:#fff;font-size:15px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;box-shadow:0 10px 24px rgba(0,0,0,.25)}.site-bottom-footer-inner-wrap{max-width:1040px!important;margin:0 auto!important;padding:0 24px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(220px,.55fr)!important;gap:42px!important;align-items:start!important}.site-footer-bottom-section-1{grid-column:1 / span 2!important;width:auto!important}.site-footer-bottom-section-2{grid-column:3!important;width:auto!important;align-self:start!important;padding-top:30px!important}.eden-footer-container{max-width:none!important;padding:32px 0 22px!important}.eden-footer-grid{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;gap:42px!important;align-items:start!important}.eden-footer-grid h3{font-size:20px!important;margin-bottom:16px!important}.contact-info,.org-info{font-size:15.5px!important;line-height:1.7!important}.contact-row,.org-row{margin-bottom:9px!important}.eden-copyright-bar{grid-column:1 / -1!important;margin-top:30px!important;padding-top:20px!important;text-align:left!important}.eden-seals-container{background:transparent!important;padding:26px 20px 18px!important}.seals-wrapper{gap:28px!important;justify-content:center!important}.seal-image{width:78px!important;height:78px!important;max-width:78px!important;max-height:none!important;object-fit:contain!important}.footer-social-wrap{justify-content:center!important;gap:14px!important}.footer-social-wrap .social-button{width:46px!important;height:46px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;background:rgba(255,255,255,.07)!important}.footer-social-wrap .social-button:hover{background:#ff6b35!important;border-color:#ff6b35!important;transform:translateY(-1px)}}


/* FINAL DESKTOP FOOTER WIDTH TUNE */
@media(min-width:769px){.site-bottom-footer-inner-wrap{max-width:1120px!important;grid-template-columns:minmax(0,1fr) minmax(0,.78fr) 280px!important}.site-footer-bottom-section-2{min-width:280px!important}.footer-social-wrap{display:flex!important;flex-wrap:nowrap!important;gap:12px!important}.footer-social-wrap .social-button{flex:0 0 46px!important}}


/* FINAL DESKTOP FOOTER SOCIAL GRID */
@media(min-width:769px){.site-footer-bottom-section-2 .footer-social-wrap,.site-footer-bottom-section-2 .footer-social-inner-wrap{display:grid!important;grid-template-columns:repeat(2,46px)!important;gap:12px!important;justify-content:center!important;justify-items:center!important}.site-footer-bottom-section-2 .social-button{margin:0!important}}


:root{--eden-blue:#23384d;--eden-orange:#f25f2c;--eden-ink:#26323d;--eden-muted:#5f6b75;--eden-bg:#f7f5f0;--eden-line:rgba(35,56,77,.12)}


@media(max-width:768px){.kb-row-layout-id2264_92d4bb-4b .kt-btn-wrap{width:100%!important;margin:0 0 10px!important}}



/* FAQ ABOUT EDEN MINISTRIES REFINEMENT */
.kb-row-layout-id2264_ai_faq_01,
.kb-row-layout-id2264_ai_faq_01 > .kt-row-column-wrap,
.kb-row-layout-id2264_ai_faq_01 .kadence-column2264_ai_faq_col,
.kb-row-layout-id2264_ai_faq_01 .kadence-column2264_ai_faq_col > .kt-inside-inner-col{
  background:#ffffff!important;
}
.kb-row-layout-id2264_ai_faq_01 .eden-faq-section{
  background:#ffffff!important;
  border:0!important;
  box-shadow:none!important;
}
.kb-row-layout-id2264_ai_faq_01 .eden-faq-label{
  display:none!important;
}
.kb-row-layout-id2264_ai_faq_01 .eden-faq-card{
  background:#ffffff!important;
  border:2px solid #ff6c2b!important;
  box-shadow:none!important;
  border-radius:18px!important;
}
.kb-row-layout-id2264_ai_faq_01 .eden-faq-card h3{
  color:#1f2933!important;
}
.kb-row-layout-id2264_ai_faq_01 .eden-faq-card p{
  color:#374151!important;
}



/* INTERIOR PAGE HERO NAV OVERLAY FIX */
body:not(.home).transparent-header .content-area{
  margin-top:0!important;
}
body:not(.home).transparent-header.content-title-style-hide .entry-content > .kb-row-layout-wrap:first-child.kt-row-has-bg{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
}
body:not(.home).transparent-header.content-title-style-hide .entry-content > .kb-row-layout-wrap:first-child.kt-row-has-bg > .kt-row-column-wrap{
  max-width:var(--global-content-width,1290px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}



/* SINGLE POST MAIN HEADING SIZE */
body.single-post .entry-content h1.wp-block-heading,
body.single-post .single-content h1.wp-block-heading{
  font-size:clamp(30px,4vw,46px)!important;
  line-height:1.12!important;
  margin-bottom:22px!important;
}
@media(max-width:767px){
  body.single-post .entry-content h1.wp-block-heading,
  body.single-post .single-content h1.wp-block-heading{
    font-size:30px!important;
    line-height:1.15!important;
  }
}



/* SINGLE POST FINAL TITLE AND TOP SPACING */
body.single-post .content-wrap,
body.single-post article.single-entry,
body.single-post article.entry{
  margin-top:72px!important;
}
body.single-post .entry-content h1.wp-block-heading,
body.single-post .single-content h1.wp-block-heading{
  font-size:clamp(27px,2.5vw,30px)!important;
  line-height:1.18!important;
  margin-bottom:18px!important;
}
@media(max-width:767px){
  body.single-post .content-wrap,
  body.single-post article.single-entry,
  body.single-post article.entry{
    margin-top:54px!important;
  }
  body.single-post .entry-content h1.wp-block-heading,
  body.single-post .single-content h1.wp-block-heading{
    font-size:26px!important;
    line-height:1.2!important;
  }
}
