/*
Theme Name: Timbba Blog (Appro child)
Theme URI: https://timbba.com/
Description: Child theme of Appro for blog.timbba.com. Gives the blog the main timbba.com page's header, footer, typeface, type scale and page design - tinted section bands, cards, the "Get in touch" section - so the two read as one site. Every front-end template is this theme's own; the rules below are ported from, or built on, the main page's stylesheet. Being a child theme, nothing here is touched by WordPress, plugin or Appro updates.
Author: Subtlelabs
Template: appro
Version: 1.1.0
Text Domain: appro-timbba
*/

/* ------------------------------------------------------------------ */
/* 1. The main site's design tokens, verbatim from timbba.com         */
/* ------------------------------------------------------------------ */
:root {
  --ink: #0F1237; --ink-2: #3B3F6B; --ink-3: #6D7195;
  --indigo: #1D2591; --indigo-deep: #15157D; --indigo-soft: #E9ECF8; --indigo-tint: #F3F4FB;
  --leaf: #6FA317; --leaf-deep: #426900; --lime: #C1F281; --lime-soft: #EEF8DC;
  --rust: #B4532A; --rust-soft: #F8E7DE;
  --paper: #FAFAF7; --paper-2: #FFFFFF; --line: #E2E4EE; --line-2: #C9CCDE; --frame: #1A1D45;
  --shadow: 0 30px 70px -32px rgba(15,18,55,.5); --shadow-s: 0 10px 30px -18px rgba(15,18,55,.35);
  --hero-a: #15157D; --hero-b: #2E3192; --hero-glow: rgba(193,242,129,.35);
  --r: 16px; --r-s: 10px;
  --display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

/* Manrope, self-hosted - the same two files the main page serves, so the
   blog never depends on Google Fonts and the glyphs match exactly. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ------------------------------------------------------------------ */
/* 2. Typeface and type scale, as on the main page                    */
/* ------------------------------------------------------------------ */
/* "medium" is the browser's own default - 16px unless the visitor has changed
   it - which is what the main page runs at, so the two scale together with the
   visitor's setting too (and a plugin's 10px root cannot shrink the rems). */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: medium; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body,
body.custom-background {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea, .btn { font-family: var(--body); }
a { color: var(--indigo); text-decoration: none; }
a:hover, a:focus { color: var(--indigo-deep); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
/* pretty, not balance: the first line fills before a second is started */
h1, h2, h3, h4, h5, h6 { font-family: var(--display); color: var(--ink); line-height: 1.06; letter-spacing: -0.015em; text-wrap: pretty; }
h3, h4, h5, h6 { line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }   /* the main page's h2 size: right for a post title */
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
img { max-width: 100%; height: auto; }

/* The main page's "eyebrow" label, for category names and dates */
.tb-eyebrow { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-deep); font-weight: 600; font-feature-settings: "tnum" 1; }

/* ------------------------------------------------------------------ */
/* 3. Layout helpers and buttons (prefixed tb- so no plugin's generic */
/*    class names can restyle them)                                     */
/* ------------------------------------------------------------------ */
.tb-wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 20px; }
.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font-weight: 600; font-size: 1rem; line-height: 1.55; border: 1.5px solid transparent; cursor: pointer; font-family: var(--body); text-decoration: none !important; transition: transform .15s ease, background .15s ease, color .15s ease; }
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn-solid, .tb-btn-solid:hover, .tb-btn-solid:focus { background: var(--indigo); color: #fff; }
.tb-btn-solid:hover { background: var(--indigo-deep); }
.tb-btn-leaf, .tb-btn-leaf:hover, .tb-btn-leaf:focus { background: var(--lime); color: #0F1237; }
.tb-btn-leaf:hover { background: #d4f79a; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ */
/* 4. Header - the main page's .nav, rule for rule                     */
/* ------------------------------------------------------------------ */
/* The main page uses position: sticky. Here a plugin stylesheet sets
   overflow-x: hidden on body, which can stop sticky from sticking, so the bar
   is fixed instead and the page starts below it; it looks the same. */
.tb-nav { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body { padding-top: calc(71px + env(safe-area-inset-top, 0px)); }   /* 70px bar + 1px border */
@media (max-width: 760px) { body { padding-top: calc(55px + env(safe-area-inset-top, 0px)); } }
@supports not (background: color-mix(in srgb, #fff 50%, transparent)) { .tb-nav { background: rgba(250,250,247,.92); } }
.tb-nav .tb-wrap { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.tb-nav .tb-logo { display: inline-flex; align-items: center; }
.tb-nav .tb-logo img { height: 34px; width: auto; display: block; }
.tb-nav .tb-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.tb-nav .tb-links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; text-decoration: none; }
.tb-nav .tb-links a:hover { color: var(--indigo); text-decoration: none; }
.tb-nav .tb-links a[aria-current="page"] { color: var(--indigo); }
.tb-nav .tb-links a.tb-btn-solid { color: #fff; }   /* the link colour above would otherwise win over the button's white */
.tb-nav .tb-links a.tb-btn-solid:hover { color: #fff; background: var(--indigo-deep); }
.tb-nav .tb-cta { margin-left: 6px; padding: 10px 18px; }
.tb-nav .tb-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; color: var(--ink); cursor: pointer; font-size: 1.1rem; line-height: 1; }
@media (max-width: 960px) {
  .tb-nav .tb-links { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--paper-2); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .tb-nav .tb-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tb-nav .tb-links .tb-cta { margin: 12px 0 0; border-bottom: 0; }
  .tb-nav.open .tb-links { display: flex; }
  .tb-nav .tb-burger { display: inline-flex; }
}
@media (max-width: 760px) {
  .tb-nav { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }   /* as the main page's scrolled bar: 54px, line as a shadow */
  .tb-nav .tb-wrap { min-height: 54px; }
  .tb-nav .tb-logo img { height: 26px; }
  .tb-nav .tb-burger { padding: 6px 9px; }
  .tb-nav .tb-links { top: 54px; }
}

body.admin-bar .tb-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tb-nav { top: 46px; } }

/* ------------------------------------------------------------------ */
/* 5. Footer - the main page's footer.site                             */
/* ------------------------------------------------------------------ */
.tb-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; font-size: .9rem; color: var(--ink-3); background: var(--paper); }
.tb-footer .tb-wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.tb-footer img { height: 26px; width: auto; display: block; }
.tb-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.tb-footer nav a { display: inline-block; padding-block: 5px; color: var(--indigo); }
.tb-footer span b { color: var(--ink); }
@media (max-width: 760px) {
  .tb-footer { padding: 26px 0 30px; font-size: .84rem; }
  .tb-footer .tb-wrap { gap: 10px 18px; }
  .tb-footer nav { gap: 6px 16px; }
}

/* ------------------------------------------------------------------ */
/* 6. Blog pages - built from the main page's patterns: tinted section */
/*    bands with an eyebrow, heading and lede; cards like its module   */
/*    cards; the hero's indigo for the call to action                  */
/* ------------------------------------------------------------------ */
.tb-main { display: block; }
.tb-band { padding-block: clamp(44px, 6vw, 80px); }
.tb-head { display: grid; gap: 14px; max-width: 760px; }
.tb-head h1, .tb-head h2, .tb-contact h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
.tb-lede { margin: 0; font-size: 1.2rem; color: var(--ink-2); max-width: 58ch; }
.tb-section-title { margin: clamp(40px, 5vw, 60px) 0 20px; font-size: 1.35rem; font-weight: 700; }

/* the heading band over lists and articles: the main page's tint, fading to the page */
.tb-list-head, .tb-article-head { background: linear-gradient(180deg, var(--indigo-tint), var(--paper)); border-bottom: 1px solid var(--line); }
/* the blog home band: the main page's indigo gradient and lime glow, kept short so posts show first */
.tb-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 100%); padding-block: clamp(26px, 3vw, 40px); }
.tb-hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; width: 520px; aspect-ratio: 1; right: -120px; top: -300px; background: radial-gradient(closest-side, var(--hero-glow), transparent 70%); }
.tb-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 20px clamp(28px, 4vw, 64px); align-items: center; }
.tb-hero-text { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.tb-hero-tools, .tb-hero .tb-search { min-width: 0; }
.tb-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #E6E9FF; }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(193,242,129,.22); }
.tb-hero h1 { margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.tb-hero h1 em { font-style: normal; color: var(--lime); }
.tb-hero-lede { margin: 0; font-size: 1.02rem; line-height: 1.55; color: rgba(255,255,255,.78); }
.tb-hero-tools { display: grid; gap: 12px; }
.tb-hero .tb-search { margin: 0; width: 100%; max-width: none; background: #fff; border: 0; border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: 0 20px 40px -24px rgba(5,8,60,.7); }
.tb-hero .tb-search:focus-within { box-shadow: 0 0 0 4px rgba(193,242,129,.45), 0 20px 40px -24px rgba(5,8,60,.7); }
.tb-hero .tb-search .tb-btn, .tb-hero .tb-search .tb-btn:hover, .tb-hero .tb-search .tb-btn:focus { background: var(--lime); color: #0F1237; padding: 10px 22px; font-weight: 700; }
.tb-hero .tb-search .tb-btn:hover { background: #d4f79a; }
.tb-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; }
.tb-topics span { color: rgba(255,255,255,.65); margin-right: 2px; }
.tb-topics a { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.tb-topics a:hover, .tb-topics a:focus-visible { background: var(--lime); border-color: var(--lime); color: #0F1237; }

/* "Latest": the newest post large with its title over the picture, the next three beside it */
.tb-section-title--first { margin-top: 0; }
.tb-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.tb-card.tb-card--lead { min-height: clamp(340px, 34vw, 460px); justify-content: flex-end; border: 0; background: var(--hero-a); color: #fff; }
.tb-card--lead .tb-card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.tb-card--lead .tb-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,60,.05) 15%, rgba(10,12,60,.6) 45%, rgba(10,12,60,.95) 100%); }
.tb-card--lead .tb-card-body { position: relative; flex: none; gap: 10px; text-shadow: 0 1px 14px rgba(5,8,60,.55); padding: clamp(22px, 2.6vw, 34px); }
.tb-card--lead .tb-eyebrow { color: var(--lime); }
.tb-card--lead .tb-card-title { font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; max-width: 26ch; }
.tb-card--lead .tb-card-title a, .tb-card--lead:hover .tb-card-title a { color: #fff; }
.tb-card--lead .tb-card-excerpt { color: rgba(255,255,255,.82); -webkit-line-clamp: 2; max-width: 62ch; }
.tb-card--lead .tb-more { color: var(--lime); }
.tb-top-list { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tb-card.tb-card--row { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); align-items: stretch; }
.tb-card--row .tb-card-media { aspect-ratio: auto; height: 100%; min-height: 104px; }
.tb-card--row .tb-card-body { align-content: center; gap: 6px; padding: 14px 16px; }
.tb-card--row .tb-eyebrow { font-size: .68rem; }
.tb-card--row .tb-card-title { font-size: 1rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* the list heading: title and intro on the left, search on the right, in one short band */
.tb-list-head { padding-block: clamp(26px, 3.2vw, 44px); }
.tb-list-head .tb-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 16px clamp(28px, 4vw, 64px); align-items: end; }
.tb-list-head .tb-head { gap: 10px; }
.tb-list-head h1 { font-size: clamp(1.8rem, 2.9vw, 2.5rem); line-height: 1.15; }
.tb-list-head .tb-lede { font-size: 1.05rem; }
.tb-list-head .tb-search { margin-top: 0; max-width: none; }

/* search */
.tb-search { margin-top: 26px; display: flex; align-items: center; gap: 8px; max-width: 540px; background: var(--paper-2); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 6px 6px 6px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.tb-search:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
.tb-search svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.tb-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 8px 4px; outline: none; }
.tb-search .tb-btn { padding: 10px 20px; font-size: .95rem; }

/* the list */
.tb-list { padding-block: clamp(28px, 3.5vw, 48px) clamp(56px, 7vw, 96px); }
.tb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* a card, the main page's module card: white on the paper, hairline, 16px corners, lifts on hover */
.tb-card { position: relative; display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); border-color: var(--line-2); }
.tb-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo-soft); }
.tb-card-media img, .tb-card-media picture { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tb-card:hover .tb-card-media img { transform: scale(1.03); }
.tb-card-body { flex: 1; display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; }
.tb-card-title { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.tb-card-title a { color: var(--ink); text-decoration: none; }
.tb-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card is the link */
.tb-card:hover .tb-card-title a { color: var(--indigo); }
.tb-card-title a:focus-visible { outline: 0; }
.tb-card:has(a:focus-visible) { outline: 3px solid var(--leaf); outline-offset: 3px; }
.tb-card-excerpt { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb-more { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--indigo); }
.tb-more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.tb-card:hover .tb-more svg { transform: translateX(3px); }

/* the newest post, wide */
.tb-card--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.tb-card--featured .tb-card-media { aspect-ratio: auto; min-height: 320px; }
.tb-card--featured .tb-card-body { align-content: center; gap: 14px; padding: clamp(24px, 3.4vw, 44px); }
.tb-card--featured .tb-card-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.tb-card--featured .tb-card-excerpt { font-size: 1.05rem; -webkit-line-clamp: 4; }

/* a row in the article's rail */
.tb-card--mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0; overflow: visible; }
.tb-rail-title + .tb-card--mini { border-top: 0; }
.tb-card--mini:hover { transform: none; box-shadow: none; }
.tb-card--mini .tb-card-media { aspect-ratio: 1; border-radius: 10px; }
.tb-card--mini .tb-card-body { padding: 0; gap: 4px; }
.tb-card--mini .tb-eyebrow { font-size: .68rem; letter-spacing: .12em; color: var(--ink-3); }
.tb-card--mini .tb-card-title { font-size: .95rem; line-height: 1.35; }

/* pages of the list */
.tb-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(36px, 5vw, 56px); }
.tb-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 16px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper-2); color: var(--ink); font-weight: 600; text-decoration: none; }
.tb-pagination a.page-numbers:hover { border-color: var(--indigo); color: var(--indigo); }
.tb-pagination .page-numbers.current { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.tb-pagination .page-numbers.dots { border: 0; background: none; }
.tb-empty { display: grid; gap: 12px; }
.tb-empty h2 { margin: 0; }
.tb-empty p { margin: 0 0 18px; color: var(--ink-2); }

/* an article: heading band */
.tb-article-head { padding-block: clamp(24px, 3vw, 40px); }
.tb-article-hero { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tb-article-hero.has-media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.tb-article-intro { max-width: 760px; }
.tb-article-head .tb-article-title { font-size: clamp(1.8rem, 2.9vw, 2.6rem); line-height: 1.15; }
.tb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; font-size: .9rem; color: var(--ink-3); }
.tb-crumbs a { color: var(--ink-2); }
.tb-article-title { margin: 12px 0 0; }
.tb-article-head .tb-lede { margin-top: 14px; font-size: 1.05rem; }
.tb-byline { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.tb-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--indigo); color: var(--lime); font-weight: 800; font-size: .9rem; }

/* an article: reading column and rail */
.tb-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4.5vw, 64px); align-items: start; padding-block: clamp(32px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.tb-article { min-width: 0; }
.tb-page { max-width: 820px; padding-block: clamp(32px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.tb-article-media { margin: 0; }
.tb-article-media img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow-s); }

/* the text itself: about 70 characters a line, open leading */
.tb-prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.tb-prose > :first-child { margin-top: 0; }
.tb-prose p { margin: 0 0 1.25em; }
.tb-prose h2 { margin: 1.9em 0 .6em; font-size: clamp(1.45rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.2; }
.tb-prose h3 { margin: 1.6em 0 .5em; font-size: 1.25rem; font-weight: 600; }
.tb-prose h4 { margin: 1.4em 0 .4em; font-size: 1.08rem; font-weight: 600; }
.tb-prose ul, .tb-prose ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.tb-prose li { margin-bottom: .45em; padding-left: .2em; }
.tb-prose li::marker { color: var(--leaf); font-weight: 700; }
.tb-prose a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tb-prose a:hover { text-decoration-thickness: 2px; }
.tb-prose strong, .tb-prose b { color: var(--ink); font-weight: 700; }
.tb-prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--leaf); background: var(--lime-soft); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 1.1rem; color: var(--ink); }
.tb-prose blockquote p:last-child { margin-bottom: 0; }
.tb-prose img { border-radius: var(--r-s); height: auto; }
.tb-prose figure { margin: 1.6em 0; }
.tb-prose figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 8px; }
.tb-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.tb-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; display: block; overflow-x: auto; }
.tb-prose th, .tb-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.tb-prose th { background: var(--indigo-tint); font-weight: 600; }
.tb-prose .addtoany_share_save_container { margin: 0 0 1.6em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tb-prose .addtoany_header { margin: 0; font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.tb-prose .addtoany_list a { text-decoration: none; }
.tb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.tb-tags a { font-size: .85rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; color: var(--ink-2); background: var(--paper-2); text-decoration: none; }
.tb-tags a:hover { border-color: var(--indigo); color: var(--indigo); }

/* previous / next, as the main page's contact rows */
.tb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(36px, 5vw, 52px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.tb-postnav-item { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tb-postnav-item:hover { border-color: var(--indigo); box-shadow: var(--shadow-s); transform: translateY(-2px); color: var(--ink); }
.tb-postnav-item small { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.tb-postnav-item b { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.tb-postnav-next { grid-column: 2; text-align: right; }

/* the rail: the hero's indigo for the call to action, then the latest articles */
.tb-rail { position: sticky; top: 100px; display: grid; gap: 22px; }
.tb-cta-card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 12px; padding: 26px; border-radius: var(--r); color: #fff; background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); box-shadow: 0 30px 60px -34px rgba(21,21,125,.7); }
.tb-cta-card::before { content: ""; position: absolute; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--hero-glow), transparent 70%); z-index: -1; }
.tb-cta-card .tb-eyebrow { color: var(--lime); }
.tb-cta-card h2 { margin: 0; color: #fff; font-size: 1.4rem; line-height: 1.15; }
.tb-cta-card p { margin: 0; color: #D8DBF2; font-size: .95rem; line-height: 1.55; }
.tb-cta-card .tb-btn { justify-self: start; margin-top: 6px; padding: 12px 20px; }
.tb-rail-block { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 8px; }
.tb-rail-title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }

/* "More from the blog" */
.tb-more-posts { background: var(--paper-2); border-top: 1px solid var(--line); }
.tb-more-posts .tb-head { margin-bottom: 28px; }

/* ------------------------------------------------------------------ */
/* 7. "Get in touch" - the main page's contact section                 */
/* ------------------------------------------------------------------ */
.tb-contact { background: var(--indigo-tint); border-top: 1px solid var(--line); }
.tb-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.tb-contact h2 { margin-top: 12px; }
.tb-contact .tb-lede { margin-top: 14px; }
.tb-reach { display: grid; gap: 12px; margin-top: 26px; }
.tb-way { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
a.tb-way:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); color: var(--ink); }
.tb-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.tb-ic svg { width: 24px; height: 24px; }
.tb-ic-wa { background: #E7F8EC; color: #1FA855; }
.tb-way small { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tb-way b { font-size: 1.05rem; font-weight: 600; }
.tb-form-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.tb-form { display: grid; gap: 14px; margin: 0; }
.tb-form label { display: grid; gap: 6px; margin: 0; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.tb-form input, .tb-form select, .tb-form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: var(--paper); color: var(--ink); width: 100%; }
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 4px var(--indigo-soft); }
.tb-form textarea { min-height: 90px; resize: vertical; }
.tb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tb-form .tb-btn { width: 100%; }   /* full width, as on timbba.com */
.tb-form .tb-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.tb-hint { margin: 0; font-size: .84rem; color: var(--ink-3); }
.tb-err { margin: 0; color: #B3261E; font-size: .9rem; }
.tb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tb-sent { display: grid; gap: 10px; justify-items: start; padding: 10px 0; }
.tb-sent b { font-family: var(--display); font-size: 1.3rem; }
.tb-sent p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------------------------ */
/* 8. Smaller screens - the main page's breakpoints                    */
/* ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-card--featured { grid-template-columns: 1fr; }
  .tb-card--featured .tb-card-media { min-height: 0; aspect-ratio: 16 / 9; }
  .tb-article-layout { grid-template-columns: 1fr; }
  .tb-list-head .tb-wrap { grid-template-columns: minmax(0, 1fr); }
  .tb-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .tb-top { grid-template-columns: minmax(0, 1fr); }
  .tb-top-list { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tb-card.tb-card--row { grid-template-columns: 1fr; }
  .tb-card--row .tb-card-media { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .tb-article { max-width: none; }
  .tb-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 860px) {
  .tb-contact-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .tb-band { padding-block: 40px; }
  .tb-head { gap: 10px; }
  .tb-head h1, .tb-head h2, .tb-contact h2 { font-size: clamp(1.7rem, 7.2vw, 2.1rem); }
  .tb-lede { font-size: 1rem; }
  .tb-list { padding-block: 28px 56px; }
  .tb-grid { grid-template-columns: 1fr; gap: 16px; }
  .tb-hero .tb-search .tb-btn { padding: 9px 14px; }
  .tb-hero-lede { font-size: .95rem; }
  .tb-card.tb-card--lead { min-height: 360px; }
  .tb-card--lead .tb-card-media::after { background: linear-gradient(180deg, rgba(10,12,60,.15) 0%, rgba(10,12,60,.7) 35%, rgba(10,12,60,.95) 100%); }
  .tb-hero-badge { font-size: .66rem; letter-spacing: .08em; }
  .tb-hero .tb-search { padding-left: 12px; }
  .tb-hero h1 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .tb-hero-lede { line-height: 1.5; }
  .tb-topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px; scroll-padding-inline: 20px; }
  .tb-topics::-webkit-scrollbar { display: none; }
  .tb-topics a, .tb-topics span { flex: none; white-space: nowrap; }
  .tb-top-list { grid-template-columns: 1fr; gap: 12px; }
  .tb-card.tb-card--row { grid-template-columns: 112px minmax(0, 1fr); }
  .tb-card--row .tb-card-media { aspect-ratio: auto; height: 100%; min-height: 92px; }
  .tb-card-body { padding: 16px 18px 18px; }
  .tb-card--featured .tb-card-body { padding: 18px 18px 20px; }
  .tb-search { margin-top: 18px; }
  .tb-search .tb-btn { padding: 9px 14px; }
  .tb-article-head .tb-lede { font-size: 1rem; }
  .tb-article-hero.has-media { grid-template-columns: 1fr; }
  .tb-prose { font-size: 1rem; line-height: 1.7; }
  .tb-rail { grid-template-columns: 1fr; }
  .tb-postnav { grid-template-columns: 1fr; }
  .tb-postnav-next { grid-column: auto; }
  .tb-reach { gap: 8px; margin-top: 18px; }
  .tb-way { padding: 10px 12px; grid-template-columns: 40px 1fr; gap: 10px; }
  .tb-ic { width: 40px; height: 40px; }
  .tb-way b { font-size: .98rem; }
  .tb-form { gap: 10px; }
  .tb-row { grid-template-columns: 1fr; gap: 10px; }
  .tb-form label { font-size: .8rem; }
  .tb-form input, .tb-form select, .tb-form textarea { padding: 9px 10px; }
  .tb-form textarea { min-height: 70px; }
  .tb-hint { display: none; }
  .tb-form-card { padding: 18px; }
}
