/*
Theme Name: OriBridge Blog
Theme URI: https://oribridge.org/blog/
Description: OriBridge-branded child theme for the mature Astra parent theme.
Author: OriBridge
Template: astra
Version: 1.3.0
Text Domain: oribridge-blog
*/

@font-face {
  font-family: "Ori Source Sans";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Ori Source Serif";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ori-ink: #101212;
  --ori-ink-soft: #252422;
  --ori-porcelain: #f7f5f0;
  --ori-paper: #fffdfc;
  --ori-vermilion: #c4432f;
  --ori-vermilion-light: #f6ddd8;
  --ori-vermilion-dark: #922c22;
  --ori-forest: #1d4d46;
  --ori-blue: #315a73;
  --ori-copper: #b66a42;
  --ori-mist: #e9ece8;
  --ori-line: #d8d3cb;
  --ori-muted: #706b64;
  --ori-serif: "Ori Source Serif", "Noto Serif SC", "Songti SC", Georgia, serif;
  --ori-sans: "Ori Source Sans", "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button,
input,
select,
textarea {
  background: var(--ori-porcelain);
  color: var(--ori-ink);
  font-family: var(--ori-sans);
  font-size: 18px;
  line-height: 1.65;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
.entry-title,
.page-title,
.site-title {
  color: var(--ori-ink);
  font-family: var(--ori-serif);
  font-weight: 400;
  letter-spacing: 0;
}

a,
.entry-title a:hover,
.entry-meta a:hover {
  color: var(--ori-vermilion);
}

a:hover {
  color: var(--ori-vermilion-dark);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--ori-line);
  background: rgba(255, 253, 252, .95);
  backdrop-filter: blur(12px);
}

.ast-primary-header-bar {
  min-height: 82px;
  border-bottom: 0;
  background: transparent;
}

.site-branding .site-title a {
  color: var(--ori-ink);
  font-family: var(--ori-sans);
  font-size: 1.28rem;
  font-weight: 700;
}

.site-description {
  color: var(--ori-muted);
  font-size: .72rem;
  letter-spacing: .08em;
}

.main-header-menu > .menu-item > .menu-link {
  color: #40504d;
  font-size: .98rem;
  font-weight: 650;
}

.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .menu-item > .menu-link:hover {
  color: var(--ori-vermilion);
}

.ast-builder-button-wrap .ast-custom-button,
.wp-block-button__link,
input[type="submit"] {
  border: 1px solid var(--ori-vermilion);
  border-radius: 0;
  background: var(--ori-vermilion);
  color: #fff;
  font-weight: 700;
}

.ast-builder-button-wrap .ast-custom-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  border-color: var(--ori-vermilion-dark);
  background: var(--ori-vermilion-dark);
}

.oribridge-blog-intro {
  border-bottom: 1px solid var(--ori-line);
  background: var(--ori-paper);
  padding: clamp(4rem, 8vw, 7rem) 1.25rem 3rem;
}

.oribridge-blog-intro__inner {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.oribridge-blog-intro__eyebrow {
  margin: 0 0 1rem;
  color: var(--ori-vermilion);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.oribridge-blog-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  line-height: 1;
}

.oribridge-blog-intro p:last-child {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: #40504d;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.ast-separate-container #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-right-sidebar #primary {
  margin-top: 3rem;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  border: 1px solid var(--ori-line);
  background: var(--ori-paper);
  box-shadow: none;
}

.entry-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.entry-meta,
.entry-meta * {
  color: var(--ori-muted);
}

.entry-content {
  color: #3f4f4b;
}

.entry-content h2,
.entry-content h3 {
  color: var(--ori-ink);
  font-family: var(--ori-serif);
  font-weight: 400;
}

.entry-content blockquote {
  border-left: 3px solid var(--ori-copper);
  background: var(--ori-mist);
  color: #334541;
}

.ast-pagination .page-numbers.current,
.ast-pagination .page-numbers:hover {
  border-color: var(--ori-vermilion);
  background: var(--ori-vermilion);
  color: #fff;
}

.site-footer {
  background: var(--ori-ink);
  color: #e8efec;
}

.site-footer a {
  color: #dce5e1;
}

.site-footer a:hover {
  color: #f08a75;
}

@media (max-width: 921px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 17px;
  }

  .oribridge-blog-intro {
    padding-top: 3.5rem;
  }
}

/* OriBridge public templates */
.ori-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.ori-skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .7rem 1rem; }
.ori-skip:focus { top: 1rem; }
.ori-brand-line { height: 4px; background: linear-gradient(90deg, var(--ori-vermilion) 0 21%, var(--ori-forest) 21% 72%, var(--ori-blue) 72%); }
.ori-header { position: sticky; z-index: 60; top: 0; border-bottom: 1px solid rgba(238,243,247,.14); background: rgba(8,20,33,.94); backdrop-filter: blur(14px); }
.ori-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ori-brand { display: inline-flex; align-items: center; gap: .72rem; color: #eef3f7 !important; font-family: var(--ori-sans); font-size: 1.28rem; font-weight: 700; line-height: 1; text-decoration: none; }
.ori-brand img { width: 46px; height: 46px; border-radius: 50%; }
.ori-brand span { display: grid; gap: .22rem; }
.ori-brand small { color: #aeb9c3; font-family: "Noto Serif SC","Songti SC",serif; font-size: .68rem; font-weight: 500; letter-spacing: .08em; }
.ori-primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.ori-primary-nav a { color: #aeb9c3; font-size: .88rem; font-weight: 700; text-decoration: none; }
.ori-primary-nav a:hover, .ori-primary-nav .is-current { color: #ff947f; }
.ori-primary-nav .ori-nav-cta { min-height: 48px; display: inline-flex; align-items: center; border: 1px solid rgba(238,243,247,.72); padding: 0 1.15rem; color: #fff; }
.ori-primary-nav .ori-nav-cta:hover { background: #fff; color: #10243a; }
.ori-menu-toggle { display: none; border: 1px solid rgba(238,243,247,.3); background: transparent; color: #fff; padding: .55rem .8rem; }
.ori-blog-hero { border-bottom: 1px solid var(--ori-line); background: var(--ori-paper); padding: clamp(5rem, 8vw, 7rem) 0 5rem; }
.ori-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4.4rem; align-items: end; }
.ori-hero-grid > *, .ori-feature > *, .ori-section-head > *, .ori-method-grid > *, .ori-footer-grid > * { min-width: 0; }
.ori-eyebrow { margin: 0 0 1rem; color: var(--ori-vermilion); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ori-blog-hero h1 { max-width: 790px; margin: 0; font: 400 clamp(3.7rem, 7vw, 5.9rem)/.94 var(--ori-serif); letter-spacing: -.045em; }
.ori-blog-hero h1 em { color: var(--ori-vermilion); font-weight: 400; }
.ori-hero-grid > div:last-child > p { color: #40504d; font-size: 1.18rem; }
.ori-hero-meta { display: flex; gap: 1.8rem; margin-top: 2rem; border-top: 1px solid var(--ori-line); padding-top: 1.2rem; color: var(--ori-muted); font-size: .8rem; }
.ori-section { padding: clamp(4rem, 7vw, 5.5rem) 0; }
.ori-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.4rem; }
.ori-section-head h2 { max-width: 710px; margin: 0; font: 400 clamp(2.4rem, 5vw, 3.9rem)/1.02 var(--ori-serif); letter-spacing: -.035em; }
.ori-section-head h2, .ori-feature-copy h3, .ori-card-body h3, .ori-article h1 { overflow-wrap: anywhere; }
.ori-section-head > p, .ori-section-head > div + p { max-width: 440px; margin: 0; color: #4d5a56; }
.ori-feature { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 500px; border: 1px solid var(--ori-line); background: var(--ori-paper); }
.ori-feature-art { position: relative; overflow: hidden; min-height: 420px; background: var(--ori-forest); color: #fff; }
.ori-feature-art.has-image { display: block; background: #dfe5e1; }
.ori-feature-art.has-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ori-feature-art::before { content: ""; position: absolute; width: 520px; height: 520px; right: -130px; top: -190px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.ori-feature-art > div:last-child { position: absolute; left: 2.7rem; bottom: 2.5rem; }
.ori-feature-art strong { display: block; font: 400 2.2rem/1 var(--ori-serif); }
.ori-feature-art span { color: #c7dad4; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.ori-bridge { position: absolute; left: 12%; right: 12%; top: 45%; height: 2px; background: #f1c7b8; transform: rotate(-7deg); }
.ori-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.3rem, 5vw, 3.5rem); }
.ori-tag { color: var(--ori-vermilion); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ori-feature-copy h3 { margin: .9rem 0 1.2rem; font: 400 clamp(2rem, 3.5vw, 2.8rem)/1.06 var(--ori-serif); }
.ori-feature-copy h3 a, .ori-post-card h3 a { color: var(--ori-ink); text-decoration: none; }
.ori-feature-copy p { color: #495652; }
.ori-post-meta { margin: 1.2rem 0; color: var(--ori-muted); font-size: .78rem; }
.ori-text-link { color: var(--ori-vermilion); font-weight: 800; text-decoration: none; }
.ori-categories { background: var(--ori-ink); color: #fff; }
.ori-categories .ori-eyebrow { color: #f08a75; }
.ori-categories .ori-section-head > p, .ori-categories .ori-section-head > div + p { color: #b9c6c1; }
.ori-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #3a4441; border-left: 1px solid #3a4441; }
.ori-category { min-height: 205px; border-right: 1px solid #3a4441; border-bottom: 1px solid #3a4441; padding: 2rem; color: #fff !important; text-decoration: none; }
.ori-category > span { color: #f08a75; font-size: .75rem; font-weight: 800; }
.ori-category h3 { margin: 2.2rem 0 .6rem; color: #fff; font: 400 1.7rem/1.1 var(--ori-serif); }
.ori-category p { margin: 0; color: #aebbb7; font-size: .88rem; }
.ori-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ori-post-card { min-height: 370px; display: flex; flex-direction: column; border: 1px solid var(--ori-line); background: var(--ori-paper); }
.ori-card-art { min-height: 160px; display: block; overflow: hidden; background: var(--ori-mist); padding: 1.5rem; color: var(--ori-forest); font: 400 1.7rem/1.08 var(--ori-serif); text-decoration: none; }
.ori-card-art.has-image { padding: 0; }
.ori-card-art.has-image img { width: 100%; height: 190px; display: block; object-fit: cover; transition: transform .3s ease; }
.ori-post-card:hover .ori-card-art.has-image img { transform: scale(1.025); }
.ori-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.7rem; }
.ori-card-body h3 { margin: .65rem 0 .9rem; font: 400 1.75rem/1.1 var(--ori-serif); }
.ori-card-body p { color: #53605c; font-size: .92rem; }
.ori-card-body .ori-post-meta { margin-top: auto; }
.ori-method { background: var(--ori-mist); }
.ori-method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.ori-method h2 { margin: 0; font: 400 clamp(2.7rem,5vw,4rem)/1 var(--ori-serif); letter-spacing: -.035em; }
.ori-method ol { margin: 0; padding: 0; list-style: none; counter-reset: item; border-top: 1px solid #bcc5c1; }
.ori-method li { position: relative; padding: 1.5rem 0 1.5rem 4.4rem; border-bottom: 1px solid #bcc5c1; counter-increment: item; }
.ori-method li::before { content: "0" counter(item); position: absolute; left: 0; color: var(--ori-vermilion); font-size: .78rem; font-weight: 800; }
.ori-method h3 { margin: 0 0 .4rem; font: 400 1.45rem/1.15 var(--ori-serif); }
.ori-method p { margin: 0; color: #50605b; font-size: .9rem; }
.ori-cta { background: var(--ori-vermilion); padding: 5rem 0; color: #fff; text-align: center; }
.ori-cta .ori-eyebrow { color: #ffd6ce; }
.ori-cta h2 { margin: 0 0 2rem; color: #fff; font: 400 clamp(2.8rem,5vw,4.2rem)/1 var(--ori-serif); }
.ori-cta a { display: inline-flex; min-height: 50px; align-items: center; background: var(--ori-ink); padding: 0 1.5rem; color: #fff; font-weight: 800; text-decoration: none; }
.ori-footer { background: #040b13; padding: 4.3rem 0 1.7rem; color: #eef3f7; }
.ori-footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 5.5rem; }
.ori-footer-grid p { max-width: 430px; color: #71808e; }
.ori-footer-grid > div > a:last-child { color: #eef3f7; }
.ori-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; }
.ori-footer-links a { color: #71808e; text-decoration: none; }
.ori-footer-bottom { margin-top: 3rem; border-top: 1px solid rgba(238,243,247,.12); padding-top: 1.4rem; color: #71808e; font-size: .75rem; }
.ori-article-main { background: var(--ori-porcelain); padding: clamp(2.8rem,6vw,5.5rem) 1.25rem; }
.ori-article { width: min(980px,100%); margin: 0 auto; }
.ori-article-main .ori-article { margin-right: auto; margin-left: auto; border: 1px solid var(--ori-line); background: var(--ori-paper); padding: clamp(1.6rem,5vw,4.5rem); }
.ori-article header { width: min(100%, 790px); margin: 0 auto clamp(2rem,5vw,3.4rem); }
.ori-article h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--ori-serif);
  font-size: clamp(2.35rem,5.2vw,3.75rem);
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1.04;
  text-wrap: balance;
}
.ori-article-meta { margin-top: 1.1rem; color: var(--ori-muted); font-size: .88rem; }
.ori-article-hero { width: min(100%, 860px); margin: 0 auto clamp(2.8rem,6vw,4.6rem); }
.ori-article-hero img { width: 100%; height: auto; display: block; border: 1px solid var(--ori-line); }
.ori-article-content {
  width: min(100%, 720px);
  margin: 0 auto;
  color: #25312f;
  font-family: var(--ori-sans);
  font-size: clamp(1.02rem,1.5vw,1.12rem);
  line-height: 1.78;
}

/* Knowledge Base: a decision-led view over the same WordPress posts. */
.ori-kb { background: var(--ori-porcelain); }
.ori-kb-hero { border-bottom: 1px solid var(--ori-line); background: var(--ori-paper); padding: clamp(5rem,9vw,8rem) 0 clamp(4rem,7vw,6rem); }
.ori-kb-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem,7vw,6rem); align-items: end; }
.ori-kb-hero h1 { max-width: 850px; margin: 0; font: 400 clamp(3.3rem,7vw,6.2rem)/.95 var(--ori-serif); letter-spacing: -.045em; }
.ori-kb-lead { margin: 0; color: #40504d; font-size: clamp(1.08rem,2vw,1.3rem); }
.ori-kb-outcomes, .ori-hub-answer > div { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.ori-kb-outcomes span, .ori-hub-answer > div span { border: 1px solid var(--ori-line); background: var(--ori-paper); padding: .45rem .8rem; color: var(--ori-forest); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ori-kb-path { margin-top: 0; padding: 0; list-style: none; border-top: 1px solid var(--ori-line); counter-reset: kb-step; }
.ori-kb-path li { counter-increment: kb-step; }
.ori-kb-path a { display: grid; grid-template-columns: 64px 180px minmax(220px,.75fr) minmax(280px,1fr); gap: 1.4rem; align-items: center; border-bottom: 1px solid var(--ori-line); padding: 1.55rem .4rem; color: var(--ori-ink); text-decoration: none; transition: background .2s ease,padding .2s ease; }
.ori-kb-path a:hover { background: var(--ori-paper); padding-right: 1rem; padding-left: 1rem; }
.ori-kb-path span { color: var(--ori-vermilion); font-size: .78rem; font-weight: 800; }
.ori-kb-path small { color: var(--ori-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.ori-kb-path h3 { margin: 0; font: 400 1.45rem/1.15 var(--ori-serif); }
.ori-kb-path p { margin: 0; color: #53605c; font-size: .9rem; }
.ori-kb-centers { background: var(--ori-ink); color: #fff; }
.ori-kb-centers .ori-section-head h2 { color: #fff; }
.ori-kb-centers .ori-section-head > p { color: #aebbb7; }
.ori-kb-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid #3a4441; border-left: 1px solid #3a4441; }
.ori-kb-card { min-height: 290px; display: flex; flex-direction: column; border-right: 1px solid #3a4441; border-bottom: 1px solid #3a4441; padding: clamp(1.8rem,4vw,2.8rem); color: #fff !important; text-decoration: none; }
.ori-kb-card:last-child { grid-column: 1 / -1; min-height: 240px; }
.ori-kb-card > span { color: #f08a75; font-size: .76rem; font-weight: 800; }
.ori-kb-card h3 { max-width: 620px; margin: 2rem 0 .9rem; color: #fff; font: 400 clamp(1.7rem,3vw,2.35rem)/1.06 var(--ori-serif); }
.ori-kb-card p { max-width: 700px; margin: 0; color: #aebbb7; font-size: .92rem; }
.ori-kb-card small { margin-top: auto; padding-top: 1.4rem; color: #71817c; }
.ori-kb-types { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ori-line); border-left: 1px solid var(--ori-line); }
.ori-kb-types > div { min-height: 110px; display: flex; align-items: flex-end; border-right: 1px solid var(--ori-line); border-bottom: 1px solid var(--ori-line); background: var(--ori-paper); padding: 1.5rem; }
.ori-kb-types span { font: 400 1.25rem/1.15 var(--ori-serif); }
.ori-kb-evidence { background: var(--ori-mist); }
.ori-kb-evidence h2 { margin: 0; font: 400 clamp(2.6rem,5vw,4rem)/1 var(--ori-serif); }
.ori-kb-evidence ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bcc5c1; }
.ori-kb-evidence li { border-bottom: 1px solid #bcc5c1; padding: 1.25rem 0; }
.ori-kb-evidence h3 { margin: 0 0 .35rem; font: 400 1.35rem/1.15 var(--ori-serif); }
.ori-kb-evidence p { margin: 0; color: #50605b; font-size: .9rem; }
.ori-hub-hero { background: var(--ori-forest); padding: clamp(3rem,7vw,6rem) 0; color: #fff; }
.ori-hub-hero h1 { max-width: 900px; margin: 0; color: #fff; font: 400 clamp(3rem,7vw,5.4rem)/.98 var(--ori-serif); letter-spacing: -.04em; }
.ori-hub-question { max-width: 800px; margin: 1.5rem 0 0; color: #c7dad4; font-size: clamp(1.08rem,2vw,1.3rem); }
.ori-breadcrumbs { width: min(100%,790px); display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 auto 1.4rem; color: var(--ori-muted); font-size: .76rem; }
.ori-breadcrumbs a { color: var(--ori-muted); text-decoration: none; }
.ori-breadcrumbs--light { width: auto; margin: 0 0 2.5rem; color: #c7dad4; }
.ori-breadcrumbs--light a { color: #c7dad4; }
.ori-hub-answer { max-width: 930px; border-left: 4px solid var(--ori-vermilion); background: var(--ori-paper); padding: clamp(1.8rem,4vw,3rem); }
.ori-hub-answer > p:nth-child(2) { margin: 0; font: 400 clamp(1.55rem,3vw,2.2rem)/1.25 var(--ori-serif); }
.ori-primary-guide { padding-top: 0; }
.ori-primary-guide__grid { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--ori-line); background: var(--ori-paper); }
.ori-primary-guide__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,4rem); }
.ori-primary-guide__copy h2 { margin: .75rem 0 1.1rem; font: 400 clamp(2.1rem,4vw,3.4rem)/1.03 var(--ori-serif); letter-spacing: -.025em; }
.ori-primary-guide__copy h2 a { color: var(--ori-ink); text-decoration: none; }
.ori-primary-guide__copy > p:not(.ori-eyebrow) { max-width: 640px; color: #53605c; }
.ori-primary-guide__copy .ori-text-link { margin-top: 1rem; }
.ori-primary-guide__art { min-height: 390px; display: flex; align-items: center; justify-content: center; background: var(--ori-forest); color: #fff; font: 400 clamp(3rem,8vw,6rem)/1 var(--ori-serif); text-decoration: none; }
.ori-primary-guide__art.has-image { display: block; }
.ori-primary-guide__art img { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; }
.ori-hub-group:nth-of-type(even) { background: var(--ori-paper); }
.ori-empty-state { border: 1px solid var(--ori-line); background: var(--ori-paper); padding: clamp(2rem,5vw,4rem); text-align: center; }
.ori-empty-state h2 { max-width: 720px; margin: 0 auto 1rem; font: 400 clamp(2rem,4vw,3rem)/1.05 var(--ori-serif); }
.ori-knowledge-next { width: min(100%,720px); margin: clamp(3rem,7vw,5rem) auto 0; border-top: 1px solid var(--ori-line); border-bottom: 1px solid var(--ori-line); padding: 2rem 0; }
.ori-knowledge-next h2 { margin: 0 0 .8rem; font: 400 clamp(1.7rem,3vw,2.3rem)/1.1 var(--ori-serif); }
.ori-knowledge-next__hub { color: var(--ori-vermilion); font-weight: 800; text-decoration: none; }
.ori-knowledge-next ul { margin: 1.5rem 0 0; padding: 1.2rem 0 0 1.2rem; border-top: 1px solid var(--ori-line); }
.ori-knowledge-next li { margin: .55rem 0; }
.ori-knowledge-next li a { color: var(--ori-ink-soft); }

@media (max-width: 980px) {
  .ori-kb-hero__grid { grid-template-columns: 1fr; }
  .ori-kb-path a { grid-template-columns: 48px 1fr; }
  .ori-kb-path h3, .ori-kb-path p { grid-column: 2; }
  .ori-primary-guide__grid { grid-template-columns: 1fr; }
  .ori-primary-guide__art, .ori-primary-guide__art img { min-height: 280px; }
}

@media (max-width: 720px) {
  .ori-kb-grid, .ori-kb-types { grid-template-columns: 1fr; }
  .ori-kb-card:last-child { grid-column: auto; }
  .ori-kb-path a { grid-template-columns: 42px 1fr; gap: .65rem 1rem; }
  .ori-kb-path small { align-self: center; }
  .ori-kb-hero h1 { font-size: clamp(2.8rem,14vw,4.2rem); }
}
.ori-article-content > p { margin: 0 0 1.45em; }
.ori-article-content h2 {
  margin: clamp(2.8rem,6vw,4.4rem) 0 1rem;
  font-family: var(--ori-serif);
  font-size: clamp(1.8rem,3.4vw,2.45rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}
.ori-article-content h3 {
  margin: 2.2rem 0 .65rem;
  font-family: var(--ori-sans);
  font-size: clamp(1.18rem,2vw,1.38rem);
  font-weight: 750;
  line-height: 1.25;
}
.ori-article-content ul,
.ori-article-content ol { margin: 1.1rem 0 1.8rem; padding-left: 1.35rem; }
.ori-article-content li { margin-bottom: .55rem; }
.ori-article-content blockquote {
  margin: 2.4rem 0;
  border: 0;
  border-top: 1px solid var(--ori-line);
  border-bottom: 1px solid var(--ori-line);
  background: transparent;
  padding: 1.5rem .2rem;
  color: var(--ori-ink);
  font: 500 clamp(1.35rem,2.6vw,1.8rem)/1.38 var(--ori-serif);
}
.ori-article-content hr { margin: 3.2rem 0 2.3rem; border: 0; border-top: 1px solid var(--ori-line); }
.ori-article-content figure { margin: clamp(2.2rem,5vw,3.8rem) 0; }
.ori-article-content figure img { width: 100%; height: auto; display: block; }
.ori-article-content > p:has(> img:only-child) { margin: clamp(2.2rem,5vw,3.8rem) 0; }
.ori-article-content > p > img:only-child { width: 100%; height: auto; display: block; }
.ori-article-content figcaption { margin-top: .65rem; color: var(--ori-muted); font-size: .78rem; line-height: 1.45; }
.ori-article-content table { width: 100%; margin: 2rem 0; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.ori-article-content .ori-table-scroll { box-sizing: border-box; width: 100%; max-width: 100%; margin: 2rem 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.ori-article-content .ori-table-scroll table { width: max(100%, 680px); margin: 0; }
.ori-article-content th, .ori-article-content td { border-bottom: 1px solid var(--ori-line); padding: .85rem .75rem; text-align: left; vertical-align: top; }
.ori-article-content th { background: #f1eee8; color: var(--ori-ink); font-weight: 750; }
.ori-article-content a { text-underline-offset: .16em; text-decoration-thickness: .08em; }
.ori-article-content > :first-child { margin-top: 0; }
.ori-article-content .ori-reading-note {
  margin: 2.4rem 0;
  border-left: 3px solid var(--ori-vermilion);
  background: #f4f0ea;
  padding: 1.2rem 1.35rem;
}
.ori-layout-story .ori-article-content figure { width: min(920px, calc(100vw - 3rem)); margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.ori-layout-framework .ori-article-content h3 { border-top: 1px solid var(--ori-line); padding-top: 1rem; }
.ori-layout-field-note .ori-article-content blockquote { color: var(--ori-forest); }
.ori-author-card { width: min(100%,720px); margin: clamp(3.5rem,7vw,5.5rem) auto 0; border-top: 1px solid var(--ori-line); padding-top: 2rem; }
.ori-author-card h2 { margin: 0 0 .7rem; font: 500 clamp(1.65rem,3vw,2.1rem)/1.15 var(--ori-serif); }
.ori-author-card p { max-width: 620px; margin: 0 0 .65rem; color: #53605c; }
.ori-author-card__review { color: var(--ori-muted) !important; font-size: .86rem; }
.ori-author-archive { background: var(--ori-porcelain); }
.ori-author-hero { background: var(--ori-forest); padding: clamp(3.5rem,7vw,6.5rem) 0; color: #fff; }
.ori-author-hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem,7vw,6rem); align-items: end; }
.ori-author-hero h1 { margin: 0; color: #fff; font: 400 clamp(3rem,7vw,5.4rem)/.98 var(--ori-serif); letter-spacing: -.04em; }
.ori-author-role { margin: 1rem 0 0; color: #c7dad4; font-size: 1rem; font-weight: 700; }
.ori-author-brief { border-left: 3px solid var(--ori-vermilion); padding-left: clamp(1.4rem,4vw,2.5rem); }
.ori-author-brief p { margin: 0 0 1rem; color: #d7e2de; font-size: clamp(1rem,1.8vw,1.16rem); }
.ori-author-brief strong { color: #fff; }
.ori-author-pagination { margin-top: 2.5rem; }
.ori-author-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.ori-author-pagination .page-numbers { border: 1px solid var(--ori-line); background: var(--ori-paper); padding: .55rem .8rem; color: var(--ori-ink); text-decoration: none; }

@media (max-width: 960px) {
  .ori-primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #081421; padding: .8rem 1.5rem 1.2rem; }
  .ori-primary-nav.is-open { display: flex; }
  .ori-primary-nav a { padding: .75rem 0; }
  .ori-menu-toggle { display: block; }
  .ori-hero-grid, .ori-feature, .ori-method-grid, .ori-footer-grid { grid-template-columns: 1fr; }
  .ori-category-grid, .ori-latest-grid { grid-template-columns: 1fr 1fr; }
  .ori-author-hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .ori-container { width: min(calc(100% - 30px), 1180px); }
  .ori-nav { min-height: 70px; }
  .ori-brand img { width: 38px; height: 38px; }
  .ori-blog-hero { padding: 4.2rem 0; }
  .ori-blog-hero h1 { font-size: 3.2rem; }
  .ori-section-head { display: block; width: 100%; }
  .ori-section-head > p, .ori-section-head > div + p { margin-top: 1rem; }
  .ori-category-grid, .ori-latest-grid { grid-template-columns: 1fr; }
  .ori-feature-copy { padding: 2rem; }
  .ori-article-main { padding-right: .75rem; padding-left: .75rem; }
  .ori-article-main .ori-article { padding: 1.45rem 1.2rem 2.3rem; }
  .ori-article h1 { max-width: none; font-size: clamp(2rem,10.4vw,2.8rem); line-height: 1.07; }
  .ori-layout-story .ori-article-content figure { width: calc(100vw - 1.5rem); }
  .ori-article-meta { font-size: .8rem; line-height: 1.55; }
  .ori-article-content { font-size: 1rem; line-height: 1.72; }
  .ori-article-content .ori-table-scroll { margin-right: 0; margin-left: 0; border-right: 1px solid var(--ori-line); border-left: 1px solid var(--ori-line); }
  .ori-article-content .ori-table-scroll table { min-width: 680px; white-space: normal; }
}
