/* Leadership Bridge Institute — blog, post and migrated-page styles (extends styles.css) */
@media (max-width: 1180px) and (min-width: 901px) { .main-nav { gap: 16px; } .main-nav a { font-size: .88rem; } }

/* ---------- Shared ---------- */
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--navy-700); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.chip { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-700); background: var(--navy-100); padding: 4px 9px; border-radius: 999px; }
.chip-orange { color: var(--white); background: var(--orange); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Blog hero + filters ---------- */
.blog-hero { background: var(--paper); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.blog-hero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.015em; max-width: 900px; }
.blog-lede { color: var(--muted); font-size: 1.12rem; max-width: 720px; }
.blog-lede a { color: var(--navy-700); font-weight: 600; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.filter-chip { text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .15s, background .15s; }
.filter-chip:hover { border-color: var(--navy-700); }
.filter-chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

/* ---------- Featured post ---------- */
.featured-post { padding-top: clamp(32px, 5vw, 56px); }
.featured-link { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; text-decoration: none; color: inherit; }
.featured-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.featured-body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 12px 0 14px; }
.featured-body p:not(.post-card-meta) { color: var(--muted); font-size: 1.05rem; }
.featured-link:hover h2 { color: var(--navy-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card-media img, .post-card-ph { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; background: var(--navy-100); }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); margin: 0; }
.post-card-title { font-size: 1.14rem; line-height: 1.3; margin: 2px 0 0; color: var(--navy-800); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.post-card-excerpt { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.post-card-more { font-weight: 700; color: var(--orange); font-size: .92rem; margin-top: 6px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-weight: 600; color: var(--muted); }
.pager a { color: var(--navy-700); text-decoration: none; }

/* ---------- Homepage latest posts ---------- */
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.post-cta-band { background: var(--navy-900) radial-gradient(circle at 88% 15%, rgba(234,88,12,.28), transparent 55%); color: #dfe5f5; padding: clamp(48px, 7vw, 80px) 0; }
.post-cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.post-cta-band h2 { color: var(--white); margin-bottom: .35em; }
.post-cta-band p { margin: 0; font-size: 1.08rem; }
.post-cta-actions { display: flex; flex-direction: column; gap: 12px; }
.post-cta-actions .btn { justify-content: center; }

/* ---------- Post page ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .1s linear; }
.wrap-post { width: min(820px, 100% - 40px); }
.wrap-wide { width: min(1080px, 100% - 40px); }
.post-head { background: var(--paper); padding: clamp(36px, 5vw, 64px) 0 clamp(90px, 12vw, 150px); }
.post-head h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -0.015em; line-height: 1.12; }
.post-subtitle { font-size: 1.2rem; color: var(--muted); }
.post-byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.post-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.post-byline strong { display: block; color: var(--navy-800); }
.post-byline span { font-size: .9rem; color: var(--muted); }
.post-hero-img { margin: clamp(-120px, -10vw, -70px) auto 0; }
.post-hero-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: center; gap: 56px; padding: clamp(32px, 5vw, 56px) 0 24px; width: min(1080px, 100% - 40px); }
.post-aside { position: relative; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.aside-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--navy-800); margin: 0 0 8px; }
.aside-card p:not(.aside-kicker):not(.aside-title) { color: var(--muted); font-size: .95rem; }
.aside-link { display: block; margin-top: 14px; font-weight: 600; font-size: .92rem; color: var(--navy-700); text-decoration: none; }
.aside-link:hover { text-decoration: underline; }

/* Article typography (GrandRanker / WordPress HTML) */
.prose { font-size: 1.1rem; line-height: 1.75; color: #1f2937; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-serif); font-size: clamp(1.55rem, 2.6vw, 1.95rem); margin: 2em 0 .6em; line-height: 1.2; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.08rem; margin: 1.4em 0 .4em; color: var(--navy-800); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--navy-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange-dark); }
.prose img { border-radius: 10px; height: auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption, .prose .text-sm { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--brass); font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy-800); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); color: var(--navy-800); }
.prose iframe { max-width: 100%; border-radius: 10px; }
.prose .article-content-image { margin: 2em 0; }
.prose .article-answer { font-size: 1rem; }
.prose .cta-card a, .prose .cta-contact a { text-decoration: none; }
.prose .cta-action-button { color: var(--white) !important; }
.prose .cta-action-button[style*="transparent"], .prose .cta-action-button.gs-transparent { color: var(--orange) !important; }
.prose nav ul, .prose .table-of-contents ul { list-style: none; padding-left: 0; }
.prose details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
.prose summary { font-weight: 700; cursor: pointer; color: var(--navy-800); }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 2.2em 0; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-800); color: #dfe5f5; }
.inline-cta p { margin: 0; }
.inline-cta-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb489; }
.inline-cta-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; color: var(--white); line-height: 1.25; margin: 4px 0 !important; }
.inline-cta-text { font-size: .98rem; }
.prose .inline-cta a.btn { color: var(--white); text-decoration: none; }

.author-box { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--line); padding: 32px 0 24px; margin-top: 40px; font-size: 1rem; line-height: 1.6; }
.prose .author-box a { text-decoration: none; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.author-box p { margin: 0 0 6px; color: var(--muted); }
.author-box .author-name { font-weight: 800; color: var(--navy-800); font-size: 1.1rem; margin: 0; }
.author-box .author-title { font-size: .9rem; margin-bottom: 10px; }
.author-box a { font-weight: 700; color: var(--orange); text-decoration: none; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.related-head a { font-weight: 700; color: var(--navy-700); text-decoration: none; }
.related { background: var(--paper); }

/* ---------- Migrated WordPress pages (block markup compatibility) ---------- */
.wp-page { width: min(1080px, 100% - 40px); margin: 0 auto; padding: clamp(32px, 5vw, 56px) 0; font-size: 1.05rem; }
.wp-page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.2em; }
.wp-page .has-text-align-center { text-align: center; }
.wp-page .wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0; align-items: stretch; }
.wp-page .wp-block-column { flex: 1 1 0; min-width: 220px; }
.wp-page .wp-block-column.has-background, .wp-page .wp-block-column.has-border-color { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.wp-page .has-background:not(.wp-block-cover__background) { padding: 20px 22px; border-radius: 12px; }
.wp-page .is-vertically-aligned-center { align-self: center; }
.wp-page .wp-block-cover { position: relative; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); margin: 28px 0; background: var(--paper); overflow: hidden; }
.wp-page .wp-block-cover__background { display: none; }
.wp-page .wp-block-cover__inner-container { position: relative; }
.wp-page .wp-block-spacer { height: 24px !important; }
.wp-page .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0; }
.wp-page .wp-block-button__link, .wp-page .wp-element-button { display: inline-flex; padding: 14px 24px; border-radius: 999px; background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none; }
.wp-page .wp-block-image img, .wp-page .tiled-gallery__item img { border-radius: 12px; }
.wp-page .tiled-gallery__row { display: flex; gap: 12px; }
.wp-page .tiled-gallery__col { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.wp-page .has-large-font-size { font-size: 1.35rem; }
.wp-page .has-medium-font-size { font-size: 1.12rem; }
.wp-page .has-accent-3-color { color: var(--orange); }
.wp-page .has-contrast-3-color { color: var(--muted); }
.wp-page ul.wp-block-list { padding-left: 1.3em; }
.notfound { padding-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .post-layout { grid-template-columns: minmax(0, 720px); }
  .post-aside { display: none; }
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-link { grid-template-columns: 1fr; }
  .post-cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .prose { font-size: 1.04rem; }
  .author-box { flex-direction: column; }
  .wp-page .wp-block-column { min-width: 100%; }
  .wp-page .tiled-gallery__row { flex-direction: column; }
  .inline-cta .btn { width: 100%; justify-content: center; }
}
