/* =====================================================================
   Blog (blog.php + blog-sidebar.php): It'sMyZodiac gold / cream theme.
   Fully custom CSS, no utility framework. Uses the tokens from
   site-theme.css (--nav-space, --font-display, --site-ink) with fallbacks.
   Every class is prefixed .bl- so nothing leaks into other pages.
   Load order: site-theme.css (global), then this file via $extraHead.
   ===================================================================== */

.bl-page { padding-bottom: 36px; color: var(--site-ink, #252a35); }

/* ---- Hero --------------------------------------------------------- */
.bl-hero {
  position: relative; margin-top: calc(var(--nav-space, 74px) * -1); overflow: hidden;
  padding: calc(var(--nav-space, 74px) + 18px) 0 26px;
  background: radial-gradient(ellipse 68% 80% at 50% 0%, rgba(255, 255, 255, .98), transparent 76%),
              linear-gradient(145deg, #f8fbff 0%, #f5f8fc 55%, #fff8e7 100%);
}
.bl-hero-inner { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.bl-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; color: #6b7280; font-size: 13px; }
.bl-breadcrumb a { color: #8a6a12; font-weight: 600; text-decoration: none; }
.bl-breadcrumb a:hover { text-decoration: underline; }
.bl-kicker { margin: 0 0 8px; color: #8a6a12; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.bl-hero h1 {
  margin: 0; max-width: 820px; color: #252a35; font-family: var(--font-display);
  font-size: clamp(28px, 5.4vw, 46px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance;
}
.bl-dateline { margin: 8px 0 0; color: #596274; font-size: 12px; font-weight: 600; }
.bl-lead { max-width: 720px; margin: 16px 0 20px; color: #4b5160; font-size: 15px; line-height: 1.75; }

/* ---- Category pills (horizontal scroll, scrollbar hidden) --------- */
.bl-pills {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.bl-pills::-webkit-scrollbar { display: none; }
.bl-pill {
  flex: 0 0 auto; padding: 8px 14px; border: 1px solid #e8e1d1; border-radius: 99px; background: #fff;
  color: #596274; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
a.bl-pill:hover { border-color: #d8bd72; background: #fffaf0; }
.bl-pill.is-active {
  border-color: transparent; color: #211807;
  background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c); box-shadow: 0 6px 14px rgba(216, 156, 41, .25);
}

/* ---- Layout ------------------------------------------------------- */
.bl-wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding-top: 28px; }
.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
/*.bl-main { min-width: 0; }*/
.bl-main {
    box-sizing: border-box;
    min-width: 0;
    padding: 20px;
    border: 1px solid #e9e5db;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(37, 42, 53, 0.045);
}

/* ---- Cards -------------------------------------------------------- */
.bl-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid #e9e5db; border-radius: 18px; 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-card:hover { transform: translateY(-4px); border-color: #d8bd72; box-shadow: 0 16px 34px rgba(32, 42, 59, .09); }
.bl-card:focus-visible, .bl-mini:focus-visible, .bl-page-link:focus-visible, .bl-pill:focus-visible,
.bl-tag:focus-visible, .bl-btn:focus-visible, .bl-cat-list a:focus-visible {
  outline: 3px solid rgba(217, 174, 74, .6); outline-offset: 3px;
}

.bl-media {
  position: relative; overflow: hidden; aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, #fff8e7 0%, #f5f8fc 100%);
}
.bl-media img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out, ease);
}
.bl-card:hover .bl-media img { transform: scale(1.04); }
.bl-media-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #d9ae4a; font-size: 40px; opacity: .85;
}
.bl-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 99px;
  color: #211807; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c); box-shadow: 0 6px 14px rgba(216, 156, 41, .3);
}

.bl-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 10px; color: #6b7280; font-size: 12px; font-weight: 600; }
.bl-cat { color: #8a6a12; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bl-dot { color: #c9c2b0; }
.bl-card-title {
  margin: 0 0 8px; color: #252a35; /*font-family: var(--font-display, Georgia, serif);*/
  font-size: 20px; font-weight: 700; line-height: 1.3; text-wrap: balance; transition: color .2s ease;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card:hover .bl-card-title { color: #8a6a12; }
.bl-card-excerpt {
  margin: 0; color: #596274; font-size: 14px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-more { margin-top: auto; padding-top: 14px; color: #8a6a12; font-size: 13px; font-weight: 800; }
.bl-card:hover .bl-more span { display: inline-block; transform: translateX(3px); }

/* Featured (first post, page 1 only) */
.bl-card--featured { margin: 0 0 22px; border-radius: 20px; box-shadow: 0 10px 28px rgba(32, 42, 59, .06); }
.bl-card--featured .bl-card-title { font-size: clamp(22px, 3.2vw, 28px); }
.bl-card--featured .bl-card-body { padding: 20px; }

.bl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* ---- Pagination --------------------------------------------------- */
.bl-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 34px 0 6px; }
.bl-page-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid #e8e1d1; border-radius: 99px; background: #fff; color: #596274; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
a.bl-page-link:hover { border-color: #d8bd72; background: #fffaf0; }
.bl-page-link--wide { padding: 0 16px; }
.bl-page-link.is-current {
  border-color: transparent; color: #211807;
  background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c); box-shadow: 0 6px 14px rgba(216, 156, 41, .25);
}
.bl-page-gap { min-width: 20px; color: #8a8f99; text-align: center; }

/* ---- Empty state -------------------------------------------------- */
.bl-empty {
  padding: 40px 22px; border: 1px solid #f0dca6; border-radius: 20px; background: #fff8e7; text-align: center;
}
.bl-empty-icon { display: block; margin: 0 0 10px; color: #d9ae4a; font-size: 34px; line-height: 1; }
.bl-empty h2 { margin: 0 0 8px; color: #252a35; /*font-family: var(--font-display, Georgia, serif);*/ font-size: 24px; font-weight: 700; }
.bl-empty p { max-width: 460px; margin: 0 auto 20px; color: #596274; font-size: 15px; line-height: 1.7; }

/* ---- Buttons ------------------------------------------------------ */
.bl-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 99px; color: #211807; font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c); box-shadow: 0 9px 20px rgba(216, 156, 41, .28);
  transition: transform .2s var(--ease-out, ease), box-shadow .2s ease;
}
.bl-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(216, 156, 41, .36); }
.bl-btn--ghost { border-color: #d8bd72; color: #6b520d; background: #fff; box-shadow: none; }
.bl-btn--ghost:hover { background: #fffaf0; box-shadow: 0 10px 22px rgba(32, 42, 59, .08); }

/* ---- Sidebar ------------------------------------------------------ */
.bl-sidebar { display: grid; gap: 18px; min-width: 0; }
.bl-widget {
  padding: 18px; border: 1px solid #e9e5db; border-radius: 18px; background: #fff;
  box-shadow: 0 5px 14px rgba(32, 42, 59, .045);
}
.bl-widget--gold { border-color: #f0dca6; background: #fff8e7; }
.bl-widget-title {
  display: flex; align-items: center; gap: 7px; margin: 0 0 14px; color: #8a6a12;
  font-family: var(--font-sans, system-ui, sans-serif); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.bl-star { flex: 0 0 auto; }

.bl-mini-list, .bl-rank-list, .bl-cat-list { margin: 0; padding: 0; list-style: none; }
.bl-mini-list, .bl-rank-list { display: grid; gap: 14px; }
.bl-mini { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.bl-thumb { flex: 0 0 auto; width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: #f3ecd6; }
.bl-thumb--ph { display: flex; align-items: center; justify-content: center; color: #d9ae4a; font-size: 16px; background: linear-gradient(135deg, #fff8e7, #f5f8fc); }
.bl-mini-title {
  color: #4b5160; font-size: 13px; font-weight: 600; line-height: 1.45; transition: color .2s ease;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-mini:hover .bl-mini-title { color: #8a6a12; }
.bl-rank {
  flex: 0 0 auto; width: 24px; color: #e3d29a; font-family: var(--font-display, Georgia, serif);
  font-size: 24px; font-weight: 700; line-height: 1; transition: color .2s ease;
}
.bl-mini:hover .bl-rank { color: #d9ae4a; }

.bl-cat-list li + li { border-top: 1px dashed #eee6cf; }
.bl-cat-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0;
  color: #4b5160; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease;
}
.bl-cat-list a:hover { color: #8a6a12; }
.bl-count { padding: 2px 9px; border-radius: 99px; color: #8a6a12; font-size: 12px; font-weight: 800; background: #fff8e7; }

.bl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-tag {
  padding: 6px 11px; border: 1px solid #efe5c4; border-radius: 99px; background: #faf6ea;
  color: #6b520d; font-size: 12px; font-weight: 700; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.bl-tag:hover { border-color: transparent; color: #211807; background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c); }

.bl-widget--cta { text-align: center; }
.bl-cta-title { margin: 0 0 4px; color: #252a35; /*font-family: var(--font-display, Georgia, serif);*/ font-size: 19px; font-weight: 700; line-height: 1.3; }
.bl-cta-text { margin: 0 0 16px; color: #596274; font-size: 13px; line-height: 1.6; }

/* ---- WhatsApp band + disclaimer ----------------------------------- */
.bl-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 40px 0 0; padding: 20px;
  border: 1px solid #f0dca6; border-radius: 18px; background: #fff8e7;
}
.bl-cta div { display: flex; flex-direction: column; gap: 4px; }
.bl-cta strong { color: #252a35; font-size: 17px; font-weight: 800; }
.bl-cta span { color: #596274; font-size: 14px; }
.bl-note { margin: 28px 0 0; color: #6b7280; font-size: 13px; line-height: 1.6; text-align: center; }

/* ---- Responsive --------------------------------------------------- */
@media (min-width: 600px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 26px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .bl-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (min-width: 700px) {
  .bl-card--featured { display: grid; grid-template-columns: 1.1fr 1fr; }
  .bl-card--featured .bl-media { aspect-ratio: auto; min-height: 280px; }
  .bl-card--featured .bl-card-body { justify-content: center; padding: 26px; }
  .bl-card--featured .bl-more { margin-top: 0; }
}
@media (min-width: 900px) {
  .bl-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .bl-sidebar {
    position: sticky; top: calc(var(--nav-space, 74px) + 16px);
    max-height: calc(100vh - var(--nav-space, 74px) - 32px); overflow-y: auto; padding: 2px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .bl-sidebar::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) {
  .bl-card-body { padding: 16px; }
  .bl-page-link--wide { padding: 0 12px; }
}
@media (max-width: 599px) {
    .bl-main {
        padding: 12px;
        border-radius: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card, .bl-media img, .bl-btn { transition: none; }
  .bl-card:hover, .bl-btn:hover { transform: none; }
  .bl-card:hover .bl-media img { transform: none; }
}


.bl-card-title,
.bl-empty h2,
.bl-cta-title {
    font-family: var(--font-sans, sans-serif);
}



