/* =========================================
   SIMPLE RELATIONSHIP SECRETS – CLEAN CSS
   Safe for WordPress.com + Astra
========================================= */

/* Blog & Archive card styling */
body.blog article,
body.archive article {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    margin-bottom: 48px;
    overflow: hidden;
}

/* Space around blog list */
body.blog main,
body.archive main {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Improve featured image corners */
body.blog article img,
body.archive article img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Slightly improve text spacing */
body.blog article h2,
body.archive article h2 {
    line-height: 1.4;
}

/* Mobile spacing fix */
@media (max-width: 768px) {
    body.blog main,
    body.archive main {
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* =========================================
   Blog Card Hover Effect (Subtle & Premium)
========================================= */

body.blog article,
body.archive article {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.blog article:hover,
body.archive article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}
/* =========================================
   Mobile Blog Fine-Tuning
========================================= */

@media (max-width: 768px) {

    /* Reduce side padding for more content space */
    body.blog main,
    body.archive main {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Slightly reduce card shadow on mobile */
    body.blog article,
    body.archive article {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
        margin-bottom: 32px;
    }

    /* Improve title readability */
    body.blog article h2,
    body.archive article h2 {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    /* Improve excerpt readability */
    body.blog article p,
    body.archive article p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
p {
  margin-bottom: 1.1em;
}
p {
  margin-bottom: 1em;
}

ul, ol {
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}
p + ul,
p + ol {
  margin-top: -0.5em;
}
ol, ul {
  margin-top: 0;
}
.entry-content ol,
.entry-content ul {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.entry-content li:first-child {
  margin-top: 0 !important;
}
.entry-content h3,
.entry-content h4 {
  margin-bottom: 0.3em !important;
}
.entry-content h3,
.entry-content h4 {
  margin-bottom: 0 !important;
}
.entry-content .wp-block-list {
  margin-top: 0 !important;
}
.entry-content .wp-block-list {
  margin-top: -0.2em !important;
}
.entry-content p:has(+ .wp-block-list) {
  margin-bottom: 0.3em !important;
}
.entry-content p:has(+ .wp-block-list) {
  margin-bottom: 0 !important;
}
.single-post .site-content {
  background-color: #f7f8fa;
}
.single-post .site-content {
  background-color: #f7f8fa;
}
.single-post .site-content {
  padding-top: 30px;
  padding-bottom: 30px;
}
.single-post {
  background-color: #f8f9fa;
}
/* Make blog cards equal height */
.post,
.blog-card,
article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Push read more/meta to bottom */
.post-content,
.entry-content {
    flex-grow: 1;
}
/* Make blog cards equal height */
.ast-post-format- {
    height: 100%;
}

.ast-blog-post {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Force excerpt same height */
.ast-blog-post .entry-content p {
    min-height: 72px;
}

/* Keep Read More at bottom */
.ast-blog-post .read-more {
    margin-top: auto;
}
.ast-blog-layout-3 .ast-article-post {
    display: flex;
    flex-direction: column;
}

.ast-blog-layout-3 .ast-article-inner {
    height: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}