/* BST light design refresh (2026-12-03). Loaded after the old WordPress styles on every page.
   Scope: posts, archives and the sidebar. Homepage (Elementor) and landing pages are left alone. */

:root {
  --bst-ink: #1f2933;
  --bst-text: #3d4852;
  --bst-muted: #6b7785;
  --bst-blue: #0a8fd0;
  --bst-blue-dark: #076fa3;
  --bst-line: #e6eaef;
  --bst-soft: #f5f8fb;
  --bst-radius: 12px;
  --bst-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
}

/* ---------- page background and cards ---------- */
/* the old theme drew a 1px vertical line down the page centre with a background image */
body.ast-separate-container { background-color: #f3f6f9; background-image: none !important; }
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .comments-area .comment-respond {
  border-radius: var(--bst-radius);
  box-shadow: var(--bst-shadow);
}
@media (min-width: 922px) {
  .ast-separate-container .ast-article-single { margin-top: 2em; }
  .ast-separate-container.ast-two-container #secondary { margin-top: 96px; } /* header overlays the top 90px */
  .ast-right-sidebar #primary { border-right: 0; }
  .ast-right-sidebar #secondary { border-left: 0; }
}

/* ---------- single post ---------- */
.single .entry-title,
.page .entry-header .entry-title {
  color: var(--bst-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.single .entry-meta,
.single .entry-meta * { color: var(--bst-muted); font-size: 14px; }
.single .entry-meta a:hover { color: var(--bst-blue); }
.single .entry-header { margin-bottom: 1.75em; padding-bottom: 1.25em; border-bottom: 1px solid var(--bst-line); }

.single .entry-content {
  color: var(--bst-text);
  font-size: 17px;
  line-height: 1.75;
}
.single .entry-content p { margin-bottom: 1.3em; }
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
  color: var(--bst-ink);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.8em;
  margin-bottom: .6em;
}
.single .entry-content h2 { font-size: 1.6em; }
.single .entry-content h3 { font-size: 1.3em; }
.single .entry-content a:not(.wp-block-button__link):not(.ez-toc-link) {
  color: var(--bst-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.single .entry-content a:not(.wp-block-button__link):hover { color: var(--bst-blue-dark); }
.single .entry-content ul,
.single .entry-content ol { margin-left: 1.4em; margin-bottom: 1.3em; }
.single .entry-content li { margin-bottom: .4em; }
.single .entry-content strong { color: var(--bst-ink); }

.single .entry-content img,
.single .entry-content iframe,
.single .entry-content .wp-block-embed__wrapper { border-radius: 10px; }
.single .entry-content iframe[src*="libsyn"] { border-radius: 10px; }

.single .entry-content blockquote {
  border-left: 4px solid var(--bst-blue);
  background: var(--bst-soft);
  border-radius: 0 10px 10px 0;
  padding: 1em 1.4em;
  margin: 1.5em 0;
  font-style: normal;
  color: var(--bst-ink);
}
.single .entry-content blockquote p:last-child { margin-bottom: 0; }

/* table of contents box */
.single #ez-toc-container {
  background: var(--bst-soft);
  border: 1px solid var(--bst-line);
  border-radius: 10px;
  box-shadow: none;
  padding: 1em 1.4em;
}
.single #ez-toc-container a { color: var(--bst-text); text-decoration: none; }
.single #ez-toc-container a:hover { color: var(--bst-blue); }

/* tags and post navigation */
.single .ast-tags-meta,
.single .cat-links,
.single .tags-links { font-size: 14px; }
.single .post-navigation { border-top: 1px solid var(--bst-line); }
.single .post-navigation a { color: var(--bst-ink); font-weight: 600; }
.single .post-navigation a:hover { color: var(--bst-blue); }

/* related posts */
.ast-single-related-posts-container { border-radius: var(--bst-radius); box-shadow: var(--bst-shadow); }
.ast-related-post-title a { color: var(--bst-ink); }
.ast-related-post-title a:hover { color: var(--bst-blue); }

/* ---------- archives (category, tag, search) ---------- */
.ast-archive-post .entry-title a { color: var(--bst-ink); }
.ast-archive-post .entry-title a:hover { color: var(--bst-blue); }
.ast-separate-container .ast-article-post { transition: box-shadow .2s ease, transform .2s ease; }
.ast-separate-container .ast-article-post:hover { box-shadow: 0 2px 4px rgba(16,24,40,.05), 0 10px 28px rgba(16,24,40,.10); }
.ast-archive-post .ast-excerpt-container,
.ast-archive-post .ast-excerpt-container p { color: var(--bst-text); line-height: 1.7; }
.ast-pagination a,
.ast-pagination span.current { border-radius: 8px; }

/* ---------- sidebar ---------- */
.ast-separate-container.ast-two-container #secondary .widget {
  border-radius: var(--bst-radius);
  box-shadow: var(--bst-shadow);
  padding: 1.6em 1.5em;
}
#secondary .widget-title,
#secondary .widget h2 {
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bst-ink);
  margin-bottom: .9em;
}
#secondary .widget_recent_entries ul { margin: 0; list-style: none; }
#secondary .widget_recent_entries li {
  line-height: 1.45;
  padding: .55em 0;
  border-bottom: 1px solid var(--bst-line);
  margin: 0;
}
#secondary .widget_recent_entries li:last-child { border-bottom: 0; }
#secondary .widget_recent_entries a { color: var(--bst-text); font-size: 14.5px; }
#secondary .widget_recent_entries a:hover { color: var(--bst-blue); }

/* playbook card */
#secondary .bst-playbook { text-align: left; line-height: 1.5; }
.bst-playbook .bst-pb-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bst-blue);
  margin: 0 0 .8em;
}
.bst-playbook img { display: block; width: 100%; height: auto; border-radius: 8px; margin-bottom: 1em; }
.bst-playbook .bst-pb-title { font-size: 19px; line-height: 1.3; color: var(--bst-ink); margin: 0 0 .4em; }
.bst-playbook .bst-pb-desc { font-size: 14.5px; color: var(--bst-text); margin: 0 0 1.1em; }
.bst-playbook .bst-pb-btn {
  display: block;
  text-align: center;
  background: var(--bst-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: .75em 1em;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s ease;
}
.bst-playbook .bst-pb-btn:hover { background: var(--bst-blue-dark); }
.bst-playbook .bst-pb-all {
  display: block;
  text-align: center;
  font-size: 13px;
  margin-top: .8em;
  color: var(--bst-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bst-playbook .bst-pb-all:hover { color: var(--bst-blue); }

/* ---------- small screens ---------- */
@media (max-width: 921px) {
  .single .entry-content { font-size: 16.5px; }
  .ast-separate-container .ast-article-single { border-radius: 0; box-shadow: none; }
}

/* ---------- card grid (category/tag archives, related episodes) ---------- */
.archive #primary,
.archive.ast-right-sidebar #primary { width: 100% !important; max-width: 1240px; margin-left: auto; margin-right: auto; float: none; }
.archive #primary .site-main { padding: 0; }
.bst-grid { display: grid; gap: 28px; margin: 0 0 2em; }
.bst-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bst-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .bst-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .bst-grid-3, .bst-grid-2 { grid-template-columns: 1fr; } }

.bst-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--bst-radius);
  box-shadow: var(--bst-shadow);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  margin: 0;
}
.bst-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,24,40,.05), 0 12px 30px rgba(16,24,40,.12); }
.bst-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9eef3; }
.bst-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.bst-card:hover .bst-card-img img { transform: scale(1.03); }
.bst-card-noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1d3c56, #0a8fd0); }
.bst-card-noimg span { color: #fff; font-family: Montserrat, sans-serif; font-weight: 700; letter-spacing: .04em; opacity: .9; }
.bst-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.2em 1.4em 1.4em; }
.bst-card-date { font-size: 13px; color: var(--bst-muted); margin: 0 0 .4em; }
.bst-card-title { font-size: 19px !important; line-height: 1.35 !important; font-weight: 700; margin: 0 0 .5em !important; text-transform: none !important; }
.bst-card-title a { color: var(--bst-ink); text-decoration: none; }
.bst-card-title a:hover { color: var(--bst-blue); }
.bst-card-excerpt { font-size: 15px; line-height: 1.6; color: var(--bst-text); margin: 0 0 1em; }
.bst-card-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--bst-blue); text-decoration: none; }
.bst-card-more:hover { color: var(--bst-blue-dark); }

/* related episodes under a post */
.bst-related { background: transparent !important; box-shadow: none !important; padding: 2.5em 0 0 !important; }
.bst-related .ast-related-posts-title { font-size: 22px; font-weight: 700; color: var(--bst-ink); text-transform: none; margin-bottom: 1em; }
.bst-related .bst-card-title { font-size: 17px !important; }
.bst-related .bst-card-excerpt { display: none; }

/* ---------- tablet / phone header (broken on the old WordPress site too) ---------- */
@media (max-width: 921px) {
  /* menu button was white on a white header, so it looked missing */
  .ast-header-break-point .main-header-menu-toggle,
  .ast-header-break-point .main-header-menu-toggle .ahfb-svg-iconset svg,
  .ast-header-break-point .main-header-menu-toggle svg { color: var(--bst-ink) !important; fill: var(--bst-ink) !important; }
  .ast-header-break-point .main-header-menu-toggle { background: transparent !important; padding: 8px !important; }
  .ast-header-break-point .main-header-menu-toggle svg { width: 26px; height: 26px; }
  /* open menu: white panel with dark links */
  .ast-mobile-header-content { background: #fff !important; box-shadow: 0 10px 24px rgba(16,24,40,.12); }
  .ast-mobile-header-content .menu-link { color: var(--bst-ink) !important; }
  /* the header floats over the page, so push content below it (homepage hero is designed to sit under it) */
  body:not(.home) #content { padding-top: 76px; }
}

/* BreakoutOS sidebar box (dark, matches breakoutos.com) */
.ast-separate-container.ast-two-container #secondary .widget.bst-bos {
  background: radial-gradient(120% 80% at 50% 0%, #17324a 0%, #0d1b2a 55%, #0a141f 100%);
  color: #c9d6e2;
  text-align: left;
  line-height: 1.5;
}
.bst-bos .bst-bos-logo { display: block; width: 150px; height: auto; margin: 0 0 1em; }
.bst-bos .bst-bos-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #7fb8e0; margin: 0 0 .7em;
}
.bst-bos .bst-bos-title { font-size: 22px; line-height: 1.2; color: #4fb6ee; margin: 0 0 .5em; font-weight: 800; }
.bst-bos .bst-bos-title span { color: #e8eef4; display: block; }
.bst-bos .bst-bos-desc { font-size: 14.5px; color: #b6c4d1; margin: 0 0 1.2em; }
.bst-bos .bst-bos-btn {
  display: block; text-align: center; background: #4fb6ee; color: #0a141f !important;
  font-weight: 700; font-size: 15px; padding: .75em 1em; border-radius: 999px; text-decoration: none;
  transition: background .15s ease;
}
.bst-bos .bst-bos-btn:hover { background: #7cc9f3; }
