/* =====================================================================
   Blog post (blog-post.php): It'sMyZodiac gold / cream theme.
   Fully custom CSS, no utility framework. Load AFTER blog.css, which
   provides the hero, layout, sidebar, tags, buttons and WhatsApp band.
   The article body itself is styled by content.css (.article-content).
   ===================================================================== */

/* ---- Hero additions ----------------------------------------------- */
.bl-hero--post h1 { max-width: 880px; font-size: clamp(28px, 5vw, 42px); }
.bl-crumb-current {
  max-width: min(46ch, 100%); overflow: hidden; color: #596274; text-overflow: ellipsis; white-space: nowrap;
}
.bl-kicker--link { display: inline-block; text-decoration: none; }
.bl-kicker--link:hover { text-decoration: underline; text-underline-offset: 3px; }

.bl-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 16px 0 0;
  color: #596274; font-size: 13px; font-weight: 500;
}
.bl-byline strong { color: #252a35; font-weight: 700; }
.bl-avatar {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  color: #211807; font-family: var(--font-display, Georgia, serif); font-size: 16px; font-weight: 700;
  background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c);
}
.bl-avatar--lg { width: 54px; height: 54px; font-size: 22px; }

/* 404 */
.bl-hero--center { padding-bottom: 72px; text-align: center; }
.bl-hero--center h1, .bl-hero--center .bl-lead { margin-right: auto; margin-left: auto; }
.bl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---- Featured image ----------------------------------------------- */
.bl-hero-image {
  position: relative; overflow: hidden; margin: 0 0 28px; aspect-ratio: 1200 / 630;
  border: 1px solid #e9e5db; border-radius: 20px; background: linear-gradient(135deg, #fff8e7, #f5f8fc);
  box-shadow: 0 10px 28px rgba(32, 42, 59, .07);
}
.bl-hero-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- Article body ------------------------------------------------- */
/* Typography, headings, lists, quotes, tables and code come from content.css (.article-content),
   so posts match the rest of the site. Only gaps that are specific to blog posts are filled here,
   scoped so no other page is affected. */
.bl-article { margin: 0 0 32px; padding: 8px; }
/*
.bl-article {
    box-sizing: border-box;
    margin: 0 0 32px;
    padding: 26px;
    border: 1px solid #e9e5db;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(37, 42, 53, 0.045);
}
*/

.bl-post-page .article-content > :last-child { margin-bottom: 0; }
.bl-post-page .article-content > table { display: block; max-width: 100%; overflow-x: auto; }   /* raw tables without .table-wrap */
.bl-post-page .article-content iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; margin: 1.5rem 0; border: 0; border-radius: 12px; }
.bl-post-page .article-content video { display: block; max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: 12px; }

/* ---- Tags / author / share ---------------------------------------- */
.bl-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid #ece6d6; }

.bl-author-box {
  display: flex; align-items: center; gap: 16px; margin: 0 0 24px; padding: 18px;
  border: 1px solid #f0dca6; border-radius: 18px; background: #fff8e7;
}
.bl-author-label { margin: 0; color: #6b7280; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bl-author-name { margin: 2px 0 4px; color: #252a35; font-size: 17px; font-weight: 800; }
.bl-author-note { margin: 0; color: #596274; font-size: 13px; line-height: 1.6; }
.bl-author-note a { color: #8a6a12; font-weight: 700; text-underline-offset: 3px; }

.bl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; }
.bl-share-label { margin-right: 4px; color: #596274; font-size: 13px; font-weight: 700; }
.bl-share-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid #e8e1d1; border-radius: 50%; background: #fff; color: #596274; text-decoration: none;
  transition: transform .2s var(--ease-out, ease), border-color .2s ease, color .2s ease, background .2s ease;
}
.bl-share-btn:hover { transform: translateY(-3px); border-color: #d8bd72; background: #fffaf0; color: #8a6a12; }
.bl-share-btn:focus-visible { outline: 3px solid rgba(217, 174, 74, .6); outline-offset: 3px; }

.bl-cta--inline { margin: 0 0 40px; }

/* ---- Related reading ---------------------------------------------- */
.bl-block { margin: 0 0 40px; }
.bl-section-title {
  margin: 0 0 16px; padding-left: 14px; border-left: 4px solid #d9ae4a; color: #252a35;
  font-family: var(--font-display, Georgia, serif); font-size: clamp(21px, 3vw, 27px); font-weight: 700; line-height: 1.25;
}
.bl-related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bl-related {
  display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #e9e5db; border-radius: 16px; background: #fff;
  color: inherit; text-decoration: none; box-shadow: 0 5px 14px rgba(32, 42, 59, .045);
  transition: transform .25s var(--ease-out, ease), border-color .25s ease, box-shadow .25s ease;
}
.bl-related:hover { transform: translateY(-3px); border-color: #d8bd72; box-shadow: 0 14px 30px rgba(32, 42, 59, .08); }
.bl-related:focus-visible, .bl-postnav-link:focus-visible { outline: 3px solid rgba(217, 174, 74, .6); outline-offset: 3px; }
.bl-related-thumb { flex: 0 0 auto; width: 88px; height: 60px; border-radius: 10px; object-fit: cover; background: #f3ecd6; }
.bl-related-thumb--ph { display: flex; align-items: center; justify-content: center; color: #d9ae4a; font-size: 20px; background: linear-gradient(135deg, #fff8e7, #f5f8fc); }
.bl-related-text { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.bl-related-title {
  color: #252a35; font-size: 14px; font-weight: 700; line-height: 1.4; transition: color .2s ease;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-related:hover .bl-related-title { color: #8a6a12; }
.bl-related-date { color: #6b7280; font-size: 12px; font-weight: 600; }

/* ---- Previous / next ---------------------------------------------- */
.bl-postnav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0 0 8px; padding-top: 28px; border-top: 1px solid #ece6d6; }
.bl-postnav-link {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid #e9e5db; border-radius: 16px; background: #fff;
  color: inherit; text-decoration: none; box-shadow: 0 5px 14px rgba(32, 42, 59, .045);
  transition: transform .25s var(--ease-out, ease), border-color .25s ease, box-shadow .25s ease;
}
.bl-postnav-link:hover { transform: translateY(-3px); border-color: #d8bd72; box-shadow: 0 14px 30px rgba(32, 42, 59, .08); }
.bl-postnav-link--next { text-align: right; }
.bl-postnav-label { color: #8a6a12; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bl-postnav-title {
  color: #252a35; font-family: var(--font-display, Georgia, serif); font-size: 16px; font-weight: 700; line-height: 1.4; transition: color .2s ease;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-postnav-link:hover .bl-postnav-title { color: #8a6a12; }

/* ---- Responsive --------------------------------------------------- */
@media (min-width: 600px) {
  .bl-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-postnav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-postnav-link--next { grid-column: 2; }
}
@media (max-width: 599px) {
    .bl-hero-image {
        border-radius: 16px;
    }

    
    .bl-article {
        padding: 6px;
        border-radius: 16px;
    }
    
    
    .bl-author-box {
        align-items: flex-start;
    }
}
@media (prefers-reduced-motion: reduce) {
  .bl-related, .bl-postnav-link, .bl-share-btn { transition: none; }
  .bl-related:hover, .bl-postnav-link:hover, .bl-share-btn:hover { transform: none; }
}

.bl-article p {
    font-weight: 450;
}



