/* =========================================================
   Marketer Coffee Blog — monochrome posts & listings
   Prefix: mcb-
   ========================================================= */
.mcb {
  --ink: #0B0B0B;
  --bone: #F3F2EE;
  --line: #E3E1DB;
  --muted: #6E6C67;
  --faint: #A9A6A0;
  --ok: #1E9E57;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --hdr: calc(72px + var(--wp-admin--admin-bar--height, 0px));
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.mcb *, .mcb *::before, .mcb *::after { box-sizing: border-box; }
.mcb a { color: inherit; }
.mcb img { max-width: 100%; height: auto; }
.mcb h1, .mcb h2, .mcb h3, .mcb h4 { font-family: var(--sans); color: var(--ink); text-transform: none; }

.mcb-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.mcb-narrow { max-width: 880px; }

/* ---------- Shared bits ---------- */
.mcb-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .7rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; line-height: 1.2;
  letter-spacing: .02em; color: var(--ink) !important; text-decoration: none !important;
  white-space: nowrap; transition: border-color .2s, background .2s;
}
a.mcb-chip:hover { border-color: var(--ink); }
.mcb-chip span { color: var(--faint); }
.mcb-chip.is-active, .mcb-chip-dark { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.mcb-chip.is-active span { color: rgba(255,255,255,.55); }

.mcb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.4rem; margin: 0;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff !important;
  font-family: var(--sans); font-size: .9rem; font-weight: 700; line-height: 1;
  text-decoration: none !important; text-transform: none; letter-spacing: 0;
  white-space: nowrap; cursor: pointer; transition: background .2s, color .2s;
}
.mcb-btn:hover { background: #fff; color: var(--ink) !important; }
.mcb-btn-ghost { background: #fff; color: var(--ink) !important; }
.mcb-btn-ghost:hover { background: var(--ink); color: #fff !important; }
.mcb-btn-light { background: #fff; border-color: #fff; color: var(--ink) !important; }
.mcb-btn-light:hover { background: transparent; color: #fff !important; }
.mcb-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(30,158,87,.22); flex-shrink: 0; }

.mcb-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.4rem; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.mcb-crumb a { color: var(--muted) !important; text-decoration: none !important; }
.mcb-crumb a:hover { color: var(--ink) !important; }
.mcb-crumb span { color: var(--faint); }

/* Widget shell (Tidio-like card) */
.mcb-w { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 24px 48px -32px rgba(0,0,0,.28); overflow: hidden; }
.mcb-w-hd { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.mcb-w-pct { font-family: var(--mono); font-size: .74rem; font-weight: 500; color: var(--muted); }
.mcb-w-bd { padding: 1rem 1.1rem 1.15rem; }

/* ---------- Hero ---------- */
.mcb-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  background-color: #fff;
  background-image: radial-gradient(rgba(11,11,11,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  border-bottom: 1px solid var(--line);
}
.mcb-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }
.mcb-hero > * { position: relative; z-index: 1; }
.mcb .mcb-title { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.mcb-paged { color: var(--faint); font-weight: 700; }
.mcb-lead { max-width: 720px; margin: 1.1rem 0 0; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }

.mcb-meta { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 1rem 2rem; margin-top: 2rem; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.mcb-meta-author { display: flex; align-items: center; gap: .8rem; text-decoration: none !important; }
.mcb-avatar { width: 44px !important; height: 44px !important; border-radius: 50%; object-fit: cover; margin: 0 !important; }
.mcb-meta-author strong { display: block; font-size: .95rem; font-weight: 700; }
.mcb-meta-author em { display: block; font-style: normal; font-size: .8rem; color: var(--muted); }
.mcb-meta-facts { display: flex; gap: 1.75rem; margin: 0 !important; padding: 0; list-style: none; }
.mcb-meta-facts li { margin: 0 !important; display: grid; gap: .15rem; }
.mcb-meta-facts span { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.mcb-meta-facts time, .mcb-meta-facts strong { font-size: .92rem; font-weight: 700; }

.mcb-cover { margin: 2.5rem auto 0; }
.mcb-cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }

/* ---------- Single layout ---------- */
.mcb-single .mcb-container { max-width: 1480px; }
.mcb-layout { display: grid; grid-template-columns: 240px minmax(0, 740px) minmax(300px, 360px); justify-content: space-between; gap: 3rem; align-items: start; padding-top: 3rem; padding-bottom: 4rem; }
.mcb-layout.mcb-no-toc { grid-template-columns: 240px minmax(0, 740px); justify-content: start; gap: 4rem; }
.mcb-layout.mcb-no-cta { grid-template-columns: minmax(0, 760px) minmax(300px, 360px); justify-content: center; gap: 4rem; }
.mcb-layout.mcb-no-toc.mcb-no-cta { grid-template-columns: minmax(0, 760px); justify-content: center; }
.mcb-toc-mobile { display: none; }
.mcb-aside { position: sticky; top: calc(var(--hdr) + 2rem); display: grid; gap: 1rem; max-height: calc(100vh - var(--hdr) - 4rem); }
.mcb-toc { display: flex; flex-direction: column; min-height: 0; }
.mcb-toc .mcb-w-bd { overflow-y: auto; min-height: 0; scrollbar-width: thin; }

.mcb-toc-list, .mcb-toc-sub { list-style: none; margin: 0 !important; padding: 0 !important; }
.mcb-toc-list li { margin: 0 !important; }
.mcb-toc-list a {
  position: relative; display: block; padding: .45rem 0 .45rem 1rem;
  font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--muted) !important; text-decoration: none !important;
  transition: color .2s;
}
.mcb-toc-list a::before { content: ''; position: absolute; left: 0; top: .9rem; width: 5px; height: 5px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.mcb-toc-list a:hover, .mcb-toc-list a.is-active { color: var(--ink) !important; }
.mcb-toc-list a.is-active::before { background: var(--ink); transform: scale(1.5); }
.mcb-toc-sub a { padding-left: 1.9rem; font-size: .84rem; font-weight: 500; }
.mcb-toc-sub a::before { left: .95rem; width: 4px; height: 4px; }

.mcb-side-cta .mcb-w-bd { display: grid; gap: .8rem; padding: 1.2rem 1.15rem 1.25rem; }
.mcb-side-who { display: inline-flex; align-items: center; gap: .55rem; }
.mcb-side-t { margin: 0; font-size: 1.12rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.mcb-side-x { margin: 0 0 .3rem; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.mcb-side-cta .mcb-btn { width: 100%; min-height: 48px; font-size: .88rem; }

/* ---------- Article typography ---------- */
.mcb-content { min-width: 0; font-size: 1.08rem; line-height: 1.8; color: #2A2927; }
.mcb-content > *:first-child { margin-top: 0; }
.mcb-content p, .mcb-content ul, .mcb-content ol, .mcb-content figure, .mcb-content blockquote, .mcb-content .mcb-table, .mcb-content pre { margin: 0 0 1.5rem; }
.mcb-content h2, .mcb-content h3, .mcb-content h4 { scroll-margin-top: calc(var(--hdr) + 2rem); }
.mcb-content h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.18; letter-spacing: -.03em; }
.mcb-content h3 { margin: 2.4rem 0 .8rem; font-size: 1.32rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.mcb-content h4 { margin: 2rem 0 .6rem; font-size: 1.1rem; font-weight: 700; }
.mcb-content a { color: var(--ink) !important; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(11,11,11,.3); transition: text-decoration-color .2s; }
.mcb-content a:hover { text-decoration-color: var(--ink); }
.mcb-content strong, .mcb-content b { color: var(--ink); font-weight: 700; }
.mcb-content ul, .mcb-content ol { padding-left: 1.4rem; }
.mcb-content li { margin: 0 0 .55rem; padding-left: .25rem; }
.mcb-content ul > li::marker { color: var(--ink); }
.mcb-content ol > li::marker { font-family: var(--mono); font-size: .9em; font-weight: 700; color: var(--ink); }
.mcb-content img { border-radius: 16px; }
.mcb-content figure { max-width: 100%; }
.mcb-content figcaption, .mcb-content .wp-caption-text { margin-top: .6rem; font-size: .84rem; line-height: 1.5; color: var(--muted); text-align: center; }
.mcb-content hr { height: 1px; margin: 3rem 0; border: 0; background: var(--line); }

.mcb-content blockquote {
  position: relative; padding: 1.5rem 1.6rem 1.5rem 1.8rem; border: 0; border-left: 3px solid var(--ink);
  background: var(--bone); border-radius: 0 16px 16px 0;
  font-size: 1.12rem; font-style: normal; line-height: 1.65; color: var(--ink);
}
.mcb-content blockquote p:last-child { margin-bottom: 0; }
.mcb-content blockquote cite { display: block; margin-top: .8rem; font-family: var(--mono); font-size: .76rem; font-style: normal; color: var(--muted); }

.mcb-content code { padding: .12em .4em; border-radius: 6px; background: var(--bone); font-family: var(--mono); font-size: .86em; color: var(--ink); }
.mcb-content pre { padding: 1.2rem 1.4rem; border-radius: 14px; background: var(--ink); color: #EDEBE6; overflow-x: auto; font-size: .86rem; line-height: 1.65; }
.mcb-content pre code { padding: 0; background: none; color: inherit; }

.mcb-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.mcb-content table { width: 100%; min-width: 520px; margin: 0 !important; border-collapse: collapse; border: 0; font-size: .92rem; line-height: 1.5; }
.mcb-content th, .mcb-content td { padding: .85rem 1rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mcb-content thead th, .mcb-content tr:first-child th { background: var(--ink); color: #fff; font-weight: 700; font-size: .84rem; }
.mcb-content tbody tr:last-child td { border-bottom: 0; }
.mcb-content tbody tr:nth-child(even) td { background: #FAFAF8; }
.mcb-content .wp-block-table { margin: 0 0 1.5rem; }
.mcb-content .wp-block-table .mcb-table { margin: 0; }

/* Gutenberg callouts / theme message boxes → widget look */
.mcb-content .wp-block-group.has-background, .mcb-content .message-box, .mcb-content .pro-tip, .mcb-content .wp-block-pullquote {
  padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bone) !important; color: var(--ink) !important;
}
.mcb-content .wp-block-button__link { border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 700; padding: .9rem 1.5rem; }
.mcb-content .wp-block-image img, .mcb-content .wp-block-embed iframe { border-radius: 16px; }
.mcb-content iframe { max-width: 100%; }
.mcb-content .wp-block-details, .mcb-content details { margin: 0 0 .75rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; }
.mcb-content details summary { cursor: pointer; font-weight: 700; color: var(--ink); }

.mcb-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 0; }


/* Reading progress */
.mcb-progress { position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); height: 3px; z-index: 99999; pointer-events: none; }
.mcb-progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ---------- Cards ---------- */
.mcb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mcb-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .25s; }
.mcb-card:hover { border-color: var(--ink); box-shadow: 0 26px 50px -34px rgba(0,0,0,.4); transform: translateY(-3px); }
.mcb-card-img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bone); overflow: hidden; border-bottom: 1px solid var(--line); }
.mcb-card-img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.mcb-card:hover .mcb-card-img img { transform: scale(1.03); }
.mcb-card-ph {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.1rem; inset: 0;
  background-color: var(--bone); background-image: radial-gradient(rgba(11,11,11,.12) 1px, transparent 1.2px); background-size: 18px 18px;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink);
}
.mcb-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.35rem 1.4rem 1.3rem; }
.mcb .mcb-card-t { margin: 0 0 .65rem; font-size: 1.18rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.mcb-card-t a { text-decoration: none !important; }
.mcb-card-t a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.mcb-card { position: relative; }
.mcb-card-x { margin: 0 0 1.2rem; font-size: .94rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcb-card-ft { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.mcb-card-ft .mcb-chip { position: relative; z-index: 2; }
.mcb-card-facts { display: flex; gap: .9rem; margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.mcb-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.mcb-card-meta .mcb-chip { position: relative; z-index: 2; }

/* ---------- Archive ---------- */
.mcb-hero-list { padding: 4.5rem 0 2.5rem; }
.mcb-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 3rem; align-items: end; }
.mcb-search { position: relative; display: flex; align-items: center; gap: .4rem; margin: 0; padding: .4rem .4rem .4rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 20px 40px -30px rgba(0,0,0,.35); transition: border-color .2s; }
.mcb-search:focus-within { border-color: var(--ink); }
.mcb-search svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.mcb .mcb-search input[type="search"] { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 .3rem; border: 0; background: transparent; box-shadow: none; font-family: var(--sans); font-size: .95rem; color: var(--ink); outline: none; }
.mcb .mcb-search button { min-height: 44px; height: 44px; margin: 0; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--sans); font-size: .85rem; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1; cursor: pointer; }
.mcb-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.mcb-cats .mcb-chip { padding: .5rem .9rem; font-size: .76rem; }

.mcb-list { padding: 3rem 0 5rem; }
.mcb-feat { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.mcb-feat:hover { border-color: var(--ink); box-shadow: 0 30px 60px -40px rgba(0,0,0,.45); }
.mcb-feat-img { position: relative; display: block; min-height: 360px; background: var(--bone); border-right: 1px solid var(--line); }
.mcb-feat-img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.mcb-feat-body { display: flex; flex-direction: column; padding: 2.4rem 2.4rem 2.2rem; }
.mcb .mcb-feat-t { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.mcb-feat-t a { text-decoration: none !important; }
.mcb-feat .mcb-card-x { -webkit-line-clamp: 4; font-size: 1rem; margin-bottom: 1.3rem; }
.mcb-feat-ft { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mcb-feat-by { display: flex; align-items: center; gap: .7rem; }
.mcb-feat-by strong { display: block; font-size: .9rem; }
.mcb-feat-by time { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.mcb-feat-by .mcb-avatar { width: 40px !important; height: 40px !important; }

.mcb-pagination { margin-top: 3rem; }
.mcb-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0; padding: 0; list-style: none; border: 0; }
.mcb-pagination li { margin: 0 !important; border: 0 !important; }
.mcb-pagination .page-numbers:not(ul) {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--mono); font-size: .82rem; font-weight: 500; line-height: 1; color: var(--ink) !important; text-decoration: none !important;
  transition: border-color .2s;
}
.mcb-pagination a.page-numbers:hover { border-color: var(--ink); }
.mcb-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.mcb-pagination .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; }

.mcb-empty { max-width: 520px; margin: 0 auto; padding: 3rem 2rem; text-align: center; border: 1px dashed var(--line); border-radius: 20px; }
.mcb-empty p { color: var(--muted); }
.mcb-empty-t { font-size: 1.4rem; font-weight: 800; color: var(--ink) !important; margin-bottom: .4rem; }

/* ---------- Related, comments, CTA ---------- */
.mcb-related { padding: 4.5rem 0; background: var(--bone); border-top: 1px solid var(--line); }
.mcb-sec-hd { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.mcb .mcb-sec-hd h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }

.mcb-comments { padding: 4rem 0; border-top: 1px solid var(--line); }
.mcb-comments h3, .mcb-comments .comments-title, .mcb-comments .comment-reply-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.mcb-comments input[type="text"], .mcb-comments input[type="email"], .mcb-comments input[type="url"], .mcb-comments textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; background: #fff; padding: .8rem 1rem; font-family: var(--sans); font-size: .95rem;
}
.mcb-comments textarea { min-height: 150px; }
.mcb-comments input:focus, .mcb-comments textarea:focus { border-color: var(--ink); outline: none; box-shadow: none; }
.mcb-comments input[type="submit"], .mcb-comments .submit { min-height: 48px; padding: 0 1.5rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-transform: none; letter-spacing: 0; }
.mcb-comments .comment-list { list-style: none; padding: 0; }
.mcb-comments .comment-body, .mcb-comments .comment-inner { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 1rem; }

.mcb-cta { padding: 4.5rem 0; background: var(--ink); color: #fff; }
.mcb-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.mcb-cta-t { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.mcb-cta-x { max-width: 620px; margin: .8rem 0 0; font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.66); }
.mcb-cta .mcb-btn { min-height: 54px; padding: 0 1.7rem; font-size: .95rem; flex-shrink: 0; }

/* Focus */
.mcb a:focus-visible, .mcb button:focus-visible, .mcb summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  /* Two columns: content + TOC; consultation CTA stays in the bottom band */
  .mcb-aside-l { display: none; }
  .mcb-layout, .mcb-layout.mcb-no-cta { grid-template-columns: minmax(0, 1fr) 320px; justify-content: stretch; gap: 3rem; }
  .mcb-layout.mcb-no-toc, .mcb-layout.mcb-no-toc.mcb-no-cta { grid-template-columns: minmax(0, 760px); justify-content: center; }
}
@media (max-width: 1100px) {
  .mcb-layout, .mcb-layout.mcb-no-cta { grid-template-columns: minmax(0, 1fr) 290px; gap: 2.5rem; }
  .mcb-hero-row { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; align-items: start; }
  .mcb-search { max-width: 520px; }
}
@media (max-width: 960px) {
  .mcb-layout, .mcb-layout.mcb-no-cta, .mcb-layout.mcb-no-toc, .mcb-layout.mcb-no-toc.mcb-no-cta { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 2rem; }
  .mcb-aside { display: none; }
  .mcb-toc-mobile { display: block; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
  .mcb-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.15rem; cursor: pointer; list-style: none; font-size: .95rem; font-weight: 700; }
  .mcb-toc-mobile summary::-webkit-details-marker { display: none; }
  .mcb-toc-mobile summary span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 .5rem; border-radius: 999px; background: var(--bone); font-family: var(--mono); font-size: .74rem; }
  .mcb-toc-mobile[open] summary { border-bottom: 1px solid var(--line); }
  .mcb-toc-mobile .mcb-toc-list { padding: .7rem 1.15rem 1rem !important; }
  .mcb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcb-feat { grid-template-columns: 1fr; }
  .mcb-feat-img { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .mcb-cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .mcb-container { padding-left: 1.15rem; padding-right: 1.15rem; }
  .mcb-hero, .mcb-hero-list { padding: 2.6rem 0 2rem; }
  .mcb .mcb-title { font-size: 2rem; }
  .mcb-lead { font-size: 1.02rem; }
  .mcb-meta { display: flex; padding: .9rem 1rem; }
  .mcb-meta-facts { gap: 1.5rem; }
  .mcb-cover { margin-top: 1.5rem; }
  .mcb-cover img { border-radius: 16px; }
  .mcb-content { font-size: 1.02rem; line-height: 1.75; }
  .mcb-content h2 { margin-top: 2.5rem; }
  .mcb-content blockquote { padding: 1.2rem 1.2rem 1.2rem 1.3rem; font-size: 1.04rem; }
  .mcb-grid { grid-template-columns: 1fr; gap: 1rem; }
  .mcb-feat-body { padding: 1.4rem; }
  .mcb-feat-ft .mcb-btn { width: 100%; }
  .mcb-search { padding-left: .9rem; }
  .mcb .mcb-search button { padding: 0 1rem; }
  .mcb-cats { flex-wrap: nowrap; overflow-x: auto; margin: 1.6rem -1.15rem 0; padding: 0 1.15rem .3rem; scrollbar-width: none; }
  .mcb-cats::-webkit-scrollbar { display: none; }
  .mcb-sec-hd { flex-direction: column; align-items: flex-start; }
  .mcb-related, .mcb-cta { padding: 3.2rem 0; }
  .mcb-cta .mcb-btn { width: 100%; }
  .mcb-pagination .page-numbers.prev, .mcb-pagination .page-numbers.next { padding: 0 .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mcb *, .mcb *::before, .mcb *::after { transition: none !important; animation: none !important; }
}
body.mcb-on #wrapper,body.mcb-on #main{overflow:visible}
.mcb-hero-post .mcb-title{max-width:980px}
.mcb-feat .mcb-card-meta{margin-bottom:1.4rem}
/* Featured images with text (e.g. 1200x630 graphics): never crop, keep native ratio */
.mcb-cover img { max-height: none; height: auto !important; object-fit: contain; background: var(--bone); }
.mcb-card-img { aspect-ratio: auto; }
.mcb-card-img img { position: static; display: block; width: 100%; height: auto !important; object-fit: contain; }
.mcb-card-img .mcb-card-ph { position: relative; aspect-ratio: 1200 / 630; }
.mcb-feat { align-items: stretch; }
.mcb-feat-img { min-height: 0; display: flex; align-items: center; }
.mcb-feat-img img { position: static; display: block; width: 100%; height: auto !important; object-fit: contain; }
.mcb-feat-img .mcb-card-ph { position: relative; width: 100%; aspect-ratio: 1200 / 630; }
@media (max-width: 960px) { .mcb-feat-img { aspect-ratio: auto; } }
.mcb-single .mcb-cover { max-width: 1060px; }
.mcb-feat-img { background: #fff; padding: 1.5rem; border-right: 1px solid var(--line); }
.mcb-feat-img img { border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 960px) { .mcb-feat-img { padding: 1rem 1rem 0; border-right: 0; border-bottom: 0; } }
/* Tables: override theme (Flatsome) cell resets, captions and uppercase headers */
.mcb-content .mcb-table { background: #fff; }
.mcb-content table { min-width: 640px; table-layout: auto; }
.mcb-content table caption {
  caption-side: top; padding: .85rem 1.1rem !important; margin: 0;
  background: var(--bone); border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: .86rem; font-weight: 700; line-height: 1.45; color: var(--ink); text-align: left;
}
.mcb-content table th, .mcb-content table td,
.mcb-content table th:first-child, .mcb-content table td:first-child,
.mcb-content table th:last-child, .mcb-content table td:last-child {
  padding: .9rem 1.1rem !important; border-top: 0; border-left: 0; border-right: 0;
}
.mcb-content table th {
  text-transform: none !important; letter-spacing: 0 !important;
  font-family: var(--sans); font-size: .84rem; font-weight: 700; line-height: 1.35; white-space: nowrap;
}
.mcb-content table td { font-size: .9rem; line-height: 1.55; color: #2A2927; text-transform: none !important; letter-spacing: 0 !important; }
.mcb-content table td:first-child { font-weight: 700; color: var(--ink); }
.mcb-content table tr:hover td { background: #F7F6F2; }
.mcb-content .wp-block-table figcaption, .mcb-content .wp-element-caption { text-align: left; margin-top: .6rem; }
@media (max-width: 640px) {
  .mcb-content table th, .mcb-content table td,
  .mcb-content table th:first-child, .mcb-content table td:first-child,
  .mcb-content table th:last-child, .mcb-content table td:last-child { padding: .75rem .9rem !important; }
  .mcb-table { position: relative; }
}
