/* Read More link - center on mobile */
@media (max-width: 768px) {
  .wp-block-buttons {
    justify-content: center !important;
  }
  .wp-block-button {
    text-align: center !important;
  }
  .wp-block-read-more {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }
  .uagb-block-e0db3edd {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .uagb-block-e0db3edd .uagb-buttons__wrap {
    justify-content: center !important;
  }
  div.wp-container-core-group-is-layout-2c90304e.wp-block-group {
    align-items: center !important;
  }
}	
body p, body li, body td {
  font-size: 20px !important;
  font-family: 'PT Serif', Georgia, serif !important;
}

/* Blog listing — post titles smaller */
.blog .entry-title,
.blog .entry-title a,
.blog h2.entry-title,
.blog h2.entry-title a,
.archive .entry-title,
.archive .entry-title a {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

/* Blog listing + single posts — all body text 20px minimum */
.blog body,
.blog p,
.blog li,
.blog span,
.blog div,
.single body,
.single p,
.single li,
.single span,
.single .entry-content,
.single .entry-content p,
.single .entry-content li,
.single .entry-content blockquote,
.ast-blog-meta-container,
.ast-blog-single-element.ast-taxonomy-container a,
.entry-meta,
.entry-meta * {
  font-size: 20px !important;
}
/* Wider article content */
.single #primary,
.single .site-content .ast-container,
.single .entry-content {
  max-width: 1200px !important;
}

.ast-narrow-container .site-content .ast-container,
.ast-separate-container.ast-right-sidebar #primary,
.ast-separate-container.ast-left-sidebar #primary {
  max-width: 1200px !important;
}

@media (max-width: 768px) {
    .wp-block-post-content h1,
    .entry-content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    .wp-block-post-content .hero-subhead,
    .entry-content p {
        font-size: 18px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 768px) {
    .wp-block-button,
    .wp-block-button__link {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
        padding: 16px 20px !important;
        font-size: 14px !important;
        text-align: center !important;
    }
    .wp-block-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 769px) {
    .wp-block-buttons .wp-block-button {
        flex: 1 1 0 !important;
        max-width: 400px !important;
    }
    .wp-block-buttons .wp-block-button__link {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
        padding: 16px 24px !important;
        text-align: center !important;
    }
    .wp-block-buttons {
        display: flex !important;
        gap: 16px !important;
        justify-content: center !important;
        align-items: stretch !important;
    }
}




/* Target exact Astra footer wrappers from DevTools */
html body .ast-header-html,
html body .ast-header-html.inner-link-style-,
html body .ast-builder-html-element,
html body [data-section="section-fb-html-1"],
html body .ast-above-footer-wrap,
html body .ast-below-footer-wrap,
html body .site-below-footer-wrap,
html body .site-above-footer-wrap,
html body .footer-widget-area,
html body #colophon,
html body .ast-footer-overlay,
html body .ast-builder-grid-row-container,
html body .ast-builder-grid-row-container-inner,
html body .ast-builder-grid-row {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Custom footer */
#ll-footer .site-footer {
    background: #ffffff !important;
    width: 100%;
    padding: 60px 40px 40px;
    border-top: none !important;
}

#ll-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

#ll-footer .footer-logo {
    height: 90px !important;
    width: auto !important;
    display: block !important;
}

/* Social icons */
#ll-footer .footer-social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
}

#ll-footer .footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    text-decoration: none !important;
    transition: transform 0.2s, opacity 0.2s;
    padding: 0 !important;
}

#ll-footer .footer-social a:hover {
    transform: translateY(-2px);
}

#ll-footer .social-icon {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s;
}

#ll-footer .footer-social a:hover .social-icon {
    opacity: 0.75;
}

/* Nav links */
#ll-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
}

#ll-footer .footer-nav a,
#ll-footer .footer-nav a:link,
#ll-footer .footer-nav a:visited {
    font-family: Georgia, serif !important;
    font-size: 14px !important;
    color: #555555 !important;
    text-decoration: none !important;
    transition: color 0.2s;
    white-space: nowrap;
}

#ll-footer .footer-nav a:hover {
    color: #2B5B7E !important;
}

#ll-footer .footer-nav .sep {
    color: #cccccc !important;
    font-size: 12px;
}

#ll-footer .footer-divider {
    width: 100%;
    height: 1px;
    background: #E2D2C3;
}

#ll-footer .footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* All bottom text same size and color as nav */
#ll-footer .footer-copy,
#ll-footer .footer-copyright,
#ll-footer a.footer-credit,
#ll-footer a.footer-credit:link,
#ll-footer a.footer-credit:visited {
    font-size: 14px !important;
    color: #555555 !important;
    margin: 0 !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
    font-family: Georgia, serif !important;
    font-style: normal !important;
}

#ll-footer a.footer-credit {
    transition: color 0.2s;
    margin-top: 4px !important;
    display: inline-block !important;
}

#ll-footer a.footer-credit:hover {
    color: #E2725B !important;
}

@media (max-width: 600px) {
    #ll-footer .site-footer { padding: 48px 20px 32px; }
    #ll-footer .footer-copy,
    #ll-footer .footer-copyright,
    #ll-footer a.footer-credit { font-size: 13px !important; }
    #ll-footer .footer-social a,
    #ll-footer .social-icon { width: 44px !important; height: 44px !important; }
}

/* Mobile blog archive cards - wider edge-to-edge spacing */
@media (max-width: 921px) {
  body.blog #content,
  body.blog .site-content,
  body.blog #content > .ast-container,
  body.blog .site-content > .ast-container,
  body.blog #primary,
  body.blog main#main,
  body.blog .ast-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.blog.ast-separate-container #content > .ast-container,
  body.blog .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.blog .ast-blog-layout-4-grid article.ast-article-post,
  body.blog.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    flex: 0 0 calc(100vw - 12px) !important;
    margin-left: calc(50% - 50vw + 6px) !important;
    margin-right: calc(50% - 50vw + 6px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.blog .ast-blog-layout-4-grid .ast-article-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75em !important;
    box-sizing: border-box !important;
  }

  body.blog .ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section:first-child .post-thumb-img-content,
  body.blog .ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content {
    margin-left: -0.75em !important;
    margin-right: -0.75em !important;
    margin-top: -0.75em !important;
  }
}

/* Blog metadata cleanup - remove duplicate Blog/category labels and comments */
.blog .ast-taxonomy-container,
.archive .ast-taxonomy-container,
.single-post .ast-taxonomy-container,
.ast-related-post .entry-meta,
.blog .comments-link,
.archive .comments-link,
.single-post .comments-link {
  display: none !important;
}

.single-post .posted-by a[href*="/author/thehealthydigital/"],
.single-post .posted-by a[href*="/author/dipa-chauhan/"] {
  text-transform: none !important;
}
.page-id-3431 .site-header { display: none !important; }
.page-id-3498 .site-header { display: none !important; }
.page-id-3486 .site-header { display: none !important; }
.page-id-3595 .site-header { display: none !important; }