﻿/* ============================================================
   Bubs blog treatment (2026-08-28): single posts + archive.
   Content untouched; presentation only.
   ============================================================ */

/* ---------- single post article ---------- */
.bubs-article .site-main { max-width: 100%; }
.bubs-article .inside-article { max-width: 780px; margin: 0 auto; padding: 48px 22px 30px; }
.bubs-article .entry-header { text-align: center; margin-bottom: 34px; }
.bubs-article h1.entry-title {
  font-family: Anton, sans-serif; font-weight: 400; color: #2a3a4d;
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; margin: 0 0 14px;
}
.bubs-article .entry-header .entry-meta {
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #8a94a0;
}
.bubs-article .entry-header .entry-meta a { color: #8a94a0; }

.bubs-article .entry-content {
  font-size: 17.5px; line-height: 1.75; color: #333a41;
}
.bubs-article .entry-content p { margin: 0 0 1.4em; }
.bubs-article .entry-content h2,
.bubs-article .entry-content h3 {
  font-family: Anton, sans-serif; font-weight: 400; color: #2a3a4d; line-height: 1.15;
}
.bubs-article .entry-content h2 { font-size: clamp(24px, 3vw, 32px); margin: 1.9em 0 .6em; padding-top: .3em; }
.bubs-article .entry-content h3 { font-size: clamp(20px, 2.4vw, 25px); margin: 1.6em 0 .5em; }
.bubs-article .entry-content h2::after {
  content: ""; display: block; width: 44px; height: 3.5px; background: #f15922; margin-top: 10px; border-radius: 2px;
}
.bubs-article .entry-content a { color: #c9461a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.bubs-article .entry-content a:hover { color: #f15922; }
.bubs-article .entry-content ul, .bubs-article .entry-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.bubs-article .entry-content li { margin-bottom: .55em; }
.bubs-article .entry-content li::marker { color: #f15922; font-weight: 700; }
.bubs-article .entry-content img {
  border-radius: 14px; box-shadow: 0 16px 34px -18px rgba(42,58,77,.4);
  margin: 1.6em auto; display: block; max-width: 100%; height: auto;
}
.bubs-article .entry-content blockquote {
  border-left: 4px solid #f15922; background: #fbfaf6; margin: 1.6em 0;
  padding: 18px 22px; border-radius: 0 12px 12px 0; font-style: normal; color: #2a3a4d;
}
.bubs-article .entry-content figure { margin: 1.6em 0; }
.bubs-article .entry-content figcaption { text-align: center; font-size: 13px; color: #8a94a0; margin-top: 8px; }
/* tame the old posts' inline-styled floats on mobile */
@media (max-width: 640px) {
  .bubs-article .entry-content img { float: none !important; width: 100% !important; margin: 1.2em 0 !important; }
}
/* hide GP's default entry footer meta (categories/tags junk) */
.bubs-article footer.entry-meta { display: none; }

/* ---------- "keep reading" related block ---------- */
.bubs-post-related {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin: 56px -50vw 0; background: #fbfaf6; border-top: 1px solid #eee9dd;
  padding: 56px 22px 64px; font-family: Montserrat, sans-serif;
}
.bubs-post-related .in { max-width: 1060px; margin: 0 auto; }
.bubs-post-related h2 {
  font-family: Anton, sans-serif; font-weight: 400; color: #2a3a4d;
  font-size: clamp(26px, 3.5vw, 36px); text-align: center; margin: 0 0 30px;
}
.bubs-post-related .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .bubs-post-related .grid { grid-template-columns: 1fr; } }
.bubs-post-related .card {
  background: #fff; border: 1px solid #e4e1d8;
  border-radius: 14px; padding: 20px 20px 18px; text-decoration: none; display: block;
  box-shadow: 0 10px 24px -18px rgba(42,58,77,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bubs-post-related .card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(42,58,77,.45); }
.bubs-post-related .card .k {
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c9461a; display: block; margin-bottom: 8px;
}
.bubs-post-related .card .t { color: #2a3a4d; font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.bubs-post-related .cta {
  margin-top: 30px; text-align: center;
}
.bubs-post-related .cta p { color: #5c6570; margin: 0 0 14px; font-size: 15px; }
.bubs-post-related .cta a {
  display: inline-block; background: #f15922; color: #fff; font-weight: 800;
  padding: 14px 30px; border-radius: 999px; text-decoration: none; transition: background .15s, transform .15s;
}
.bubs-post-related .cta a:hover { background: #c9461a; transform: translateY(-2px); }

/* ---------- blog archive / index cards ---------- */
.blog .site-main, .archive .site-main { max-width: 1080px; margin: 0 auto; padding: 30px 22px 60px; }
.blog .site-main article, .archive .site-main article {
  background: #fff; border: 1px solid #e4e1d8; border-radius: 16px;
  margin-bottom: 22px; overflow: hidden; box-shadow: 0 12px 28px -20px rgba(42,58,77,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog .site-main article:hover, .archive .site-main article:hover {
  transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(42,58,77,.45);
}
.blog .inside-article, .archive .inside-article { padding: 26px 28px; }
.blog h2.entry-title a, .archive h2.entry-title a {
  font-family: Anton, sans-serif; font-weight: 400; color: #2a3a4d; font-size: clamp(22px, 2.6vw, 28px); text-decoration: none;
}
.blog h2.entry-title a:hover, .archive h2.entry-title a:hover { color: #f15922; }
.blog .entry-meta, .archive .entry-meta { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: #8a94a0; }
.blog .entry-summary, .archive .entry-summary { color: #4a525a; font-size: 15.5px; line-height: 1.65; }
.blog .read-more, .archive .read-more { color: #c9461a; font-weight: 700; }


/* related block sits inside entry-content: out-rank the article typography rules */
.bubs-article .entry-content .bubs-post-related h2 { color: #2a3a4d; margin: 0 0 30px; text-align: center; }
.bubs-article .entry-content .bubs-post-related h2::after { display: none; }
.bubs-article .entry-content .bubs-post-related a.card { text-decoration: none; font-weight: 400; color: inherit; }
.bubs-article .entry-content .bubs-post-related a.card:hover { color: inherit; }
.bubs-article .entry-content .bubs-post-related .card .t { color: #2a3a4d; text-decoration: none; }
.bubs-article .entry-content .bubs-post-related .cta a { color: #fff; text-decoration: none; }
