/* Ingenio Editorial Blog V1.8.6 — public only, no admin CSS changes */
.ib-page,.ib-article{--ib-ink:#171c2e;--ib-muted:#69718a;--ib-purple:#5144e7;color:var(--ib-ink)}
.ib-page{max-width:1230px;margin:0 auto;padding:46px 0 65px}
.ib-page *, .ib-article *{box-sizing:border-box}
.ib-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:10px 0 54px;border-bottom:1px solid #dfe3ee}
.ib-eyebrow,.ib-overline,.ib-no,.ib-count{font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--ib-purple)}
.ib-eyebrow{display:flex;align-items:center;gap:12px}.ib-line{width:25px;height:2px;background:var(--ib-purple)}.ib-spark{color:#8b82e9}
.ib-intro h1{font-size:clamp(3.5rem,7.2vw,7.6rem);letter-spacing:-.073em;line-height:.99;margin:29px 0 22px;font-weight:790}
.ib-intro h1 em{font-style:normal;color:var(--ib-purple)}.ib-intro-copy>p{font-size:clamp(15px,1.5vw,19px);line-height:1.65;color:var(--ib-muted);max-width:560px;margin:0}
.ib-intro-side{text-align:right;padding-bottom:7px;flex-shrink:0}.ib-intro-side p{font-size:13px;line-height:1.8;color:#717990;margin:20px 0 0}
.ib-featured{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:0;overflow:hidden;background:#fff;border:1px solid #e2e6ef;border-radius:24px;margin-top:32px;box-shadow:0 15px 35px rgba(32,33,66,.035)}
.ib-featured-media{display:block;position:relative;min-height:390px;background:#eaeaf6;overflow:hidden}.ib-featured-image{width:100%;height:100%;min-height:390px;object-fit:cover;display:block;transition:transform .45s ease}.ib-featured-media:hover .ib-featured-image,.ib-story-media:hover .ib-story-image{transform:scale(1.035)}
.ib-featured-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(25px,4.2vw,62px)}
.ib-meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;color:#7c8295;font-size:12px}.ib-chip{background:#eeeafe;color:var(--ib-purple);padding:8px 11px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em}
.ib-featured-content h2{font-size:clamp(26px,2.8vw,42px);line-height:1.16;letter-spacing:-.045em;margin:24px 0 17px}.ib-featured-content h2 a,.ib-story h3 a{color:inherit;text-decoration:none}.ib-featured-content h2 a:hover,.ib-story h3 a:hover{color:var(--ib-purple)}
.ib-featured-content>p{font-size:15px;line-height:1.85;color:var(--ib-muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ib-read{margin-top:21px;text-decoration:none;background:var(--ib-purple);color:#fff!important;padding:13px 19px;border-radius:11px;font-weight:700;font-size:13px;display:inline-flex;gap:22px;align-items:center}.ib-read:hover{background:#392cc9}
.ib-placeholder{width:100%;height:100%;min-height:210px;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#ebeafb,#dcd9f6 48%,#f6f5fe);color:#42406c;font-size:44px;font-weight:850;letter-spacing:-.07em}.ib-period{color:var(--ib-purple)}
.ib-latest{padding-top:76px}.ib-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.ib-section-heading h2{font-size:clamp(26px,3.4vw,41px);letter-spacing:-.045em;line-height:1.1;margin:10px 0 0}.ib-count{color:#9299a9;white-space:nowrap;padding-bottom:4px}
.ib-filter{margin-bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ib-filter label{font-size:13px;color:#68728a;font-weight:600}.ib-search-wrap{width:min(360px,100%);display:flex;align-items:center;gap:11px;border:1px solid #e0e3ef;background:#fff;padding:11px 14px;border-radius:12px}.ib-search-wrap svg{width:17px;height:17px;flex:0 0 auto;color:#838a9c}.ib-search-wrap input{background:transparent;border:0;outline:0;min-width:0;width:100%;box-shadow:none;padding:0;font-size:13px;color:var(--ib-ink)}.ib-search-wrap:focus-within{outline:2px solid #a9a0f9;outline-offset:2px}
.ib-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ib-story{border:1px solid #e2e6ef;background:#fff;border-radius:19px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s,transform .2s}.ib-story:hover{box-shadow:0 15px 35px rgba(35,30,90,.08);transform:translateY(-2px)}
.ib-story-media{aspect-ratio:1.62;display:block;overflow:hidden;background:#eeeefa}.ib-story-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}.ib-story-body{padding:24px;display:flex;flex-direction:column;flex:1}.ib-story-date{font-size:11px;letter-spacing:.07em;color:#9097a8;font-weight:700;text-transform:uppercase}.ib-story h3{font-size:21px;line-height:1.32;letter-spacing:-.035em;margin:13px 0 12px}.ib-story p{color:var(--ib-muted);font-size:13px;line-height:1.75;margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ib-story-link{margin-top:auto;color:var(--ib-purple)!important;font-weight:750;text-decoration:none;display:flex;justify-content:space-between;font-size:13px}.ib-no-more{color:var(--ib-muted)}.ib-no-posts{text-align:center;border:1px dashed #d4d6eb;border-radius:20px;padding:70px 20px;margin-top:34px}.ib-no-posts h2{font-size:30px;margin:0 0 12px}.ib-no-posts p{color:var(--ib-muted)}
.ib-endcap{border-top:1px solid #e1e4ef;margin-top:85px;padding-top:23px;display:flex;justify-content:space-between;gap:10px;color:#9299aa;font-size:10px;letter-spacing:.15em;font-weight:800}
.ib-article{max-width:950px;margin:0 auto;padding:50px 0 85px}.ib-back{font-size:13px;color:var(--ib-purple)!important;text-decoration:none;font-weight:750}.ib-article-header{max-width:850px;margin:55px auto 35px;text-align:center}.ib-article-header .ib-eyebrow{justify-content:center}.ib-article h1{font-size:clamp(38px,5.5vw,75px);letter-spacing:-.065em;line-height:1.09;margin:23px 0}.ib-article-deck{font-size:clamp(17px,2vw,22px);line-height:1.7;color:var(--ib-muted);margin:0 auto;max-width:720px}.ib-article-byline{display:flex;align-items:center;justify-content:center;gap:11px;flex-wrap:wrap;font-size:13px;font-weight:650;margin-top:29px}.ib-article-byline time,.ib-dotsep{color:#9198a9}.ib-author-logo{display:inline-flex;justify-content:center;align-items:center;border-radius:10px;width:33px;height:33px;background:var(--ib-purple);color:#fff;font-size:19px;font-weight:850}.ib-article-cover{margin:36px auto 45px}.ib-article-cover img{display:block;width:100%;max-height:550px;object-fit:cover;border-radius:19px}.ib-article-prose{max-width:740px;margin:auto;font-size:18px;line-height:1.96;color:#30384b;overflow-wrap:anywhere}.ib-article-prose p{margin:0 0 1.55em}.ib-article-bottom{border-top:1px solid #dfe2ed;margin:70px auto 0;max-width:740px;padding-top:24px;display:flex;justify-content:space-between;gap:20px;color:#777f93}.ib-article-bottom a{color:var(--ib-purple);font-weight:750;text-decoration:none}
@media(max-width:940px){.ib-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ib-featured{grid-template-columns:1fr}.ib-featured-media,.ib-featured-image{min-height:280px;max-height:410px}.ib-featured-content{padding:33px}}
@media(max-width:600px){.ib-page{padding-top:18px}.ib-intro{display:block;padding-bottom:32px}.ib-intro h1{font-size:clamp(46px,12vw,68px);margin:24px 0 18px}.ib-intro-side{display:none}.ib-featured{margin-top:24px;border-radius:17px}.ib-featured-media,.ib-featured-image{min-height:220px;max-height:280px}.ib-featured-content{padding:24px}.ib-featured-content h2{font-size:28px}.ib-latest{padding-top:48px}.ib-section-heading{align-items:start}.ib-count{display:none}.ib-filter{display:block}.ib-filter label{display:block;margin-bottom:9px}.ib-search-wrap{width:100%}.ib-grid{grid-template-columns:1fr}.ib-endcap{margin-top:55px;line-height:1.6}.ib-article{padding-top:25px}.ib-article-header{margin-top:35px}.ib-article h1{font-size:clamp(35px,9vw,52px)}.ib-article-prose{font-size:16px;line-height:1.85}.ib-article-cover img{border-radius:12px}}

.ib-story[hidden], #ib-empty-search[hidden]{display:none!important}

/* =============================================================
   Ingenio Journal V1.8.6.1 — focused editorial refinements
   CSS-only: no PHP routes, image generation or database changes.
   ============================================================= */
/* More restrained editorial hero: latest story visible sooner */
.ib-page{max-width:1180px;padding-top:22px;padding-bottom:56px}
.ib-intro{align-items:center;min-height:0;padding:26px 0 32px;gap:36px}
.ib-intro h1{font-size:clamp(3.25rem,5.15vw,5.7rem);letter-spacing:-.065em;line-height:1.015;margin:17px 0 18px}
.ib-intro-copy>p{font-size:clamp(15px,1.25vw,17px);line-height:1.65;max-width:550px}
.ib-intro-side{padding-bottom:0;max-width:225px}
.ib-intro-side p{margin:11px 0 0;font-size:12px;line-height:1.7}
.ib-eyebrow,.ib-overline,.ib-no,.ib-count{letter-spacing:.13em}
.ib-featured{margin-top:23px;border-radius:20px;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);box-shadow:0 12px 34px rgba(26,29,66,.045)}
.ib-featured-media,.ib-featured-image{min-height:315px}
.ib-featured-media{aspect-ratio:1.54}
.ib-featured-image{height:100%;object-fit:cover}
.ib-featured-content{padding:clamp(24px,3vw,43px)}
.ib-featured-content h2{font-size:clamp(24px,2.35vw,34px);line-height:1.2;margin:17px 0 12px;overflow-wrap:anywhere}
.ib-featured-content>p{font-size:14px;line-height:1.75;-webkit-line-clamp:3}
.ib-read{padding:12px 18px;margin-top:13px;transition:background .2s ease,transform .2s ease}
.ib-read:hover{transform:translateY(-1px)}
.ib-latest{padding-top:53px}
.ib-section-heading{margin-bottom:18px}
.ib-section-heading h2{font-size:clamp(26px,2.75vw,36px)}
.ib-filter{margin-bottom:20px}
.ib-grid{gap:18px}
.ib-story{border-radius:17px}
.ib-story-body{padding:21px}
.ib-story h3{font-size:19px;line-height:1.35}
.ib-endcap{margin-top:56px}
/* Make navigation's blog destination recognizable while on blog pages. */
body:has(.ib-page) .public-nav a[href="/blog"],
body:has(.ib-article) .public-nav a[href="/blog"]{color:#5144e7;font-weight:800;text-decoration:underline;text-decoration-color:#5144e7;text-decoration-thickness:2px;text-underline-offset:7px}
/* More readable individual posts */
.ib-article{padding-top:36px}
.ib-article-header{margin-top:35px}
.ib-article h1{font-size:clamp(36px,4.7vw,64px);letter-spacing:-.055em}
.ib-article-cover{margin:28px auto 38px}
.ib-article-prose{font-size:17px;line-height:1.88}
/* Keyboard focus and reduced-motion accessibility */
.ib-page a:focus-visible,.ib-article a:focus-visible{outline:3px solid #8277ed;outline-offset:4px;border-radius:4px}
@media (prefers-reduced-motion:reduce){.ib-featured-image,.ib-story-image,.ib-story,.ib-read{transition:none!important;transform:none!important}}
@media(max-width:940px){
 .ib-intro{padding:15px 0 27px}
 .ib-featured{grid-template-columns:1fr}
 .ib-featured-media{aspect-ratio:1.9}
 .ib-featured-media,.ib-featured-image{min-height:0;max-height:none}
 .ib-featured-image{height:100%;aspect-ratio:1.9}
 .ib-featured-content{padding:28px}
 .ib-featured-content h2{font-size:clamp(24px,3.4vw,32px)}
}
@media(max-width:600px){
 .ib-page{padding-top:12px;padding-bottom:35px}
 .ib-intro{padding:12px 0 24px}
 .ib-intro h1{font-size:clamp(43px,10.2vw,60px);margin:14px 0 13px}
 .ib-intro-copy>p{font-size:15px;line-height:1.65}
 .ib-featured{margin-top:18px;border-radius:15px}
 .ib-featured-media,.ib-featured-image{aspect-ratio:1.55;min-height:0;max-height:none}
 .ib-featured-content{padding:21px}
 .ib-featured-content h2{font-size:26px;margin:15px 0 11px}
 .ib-latest{padding-top:39px}
 .ib-grid{gap:15px}
 .ib-story-body{padding:19px}
 .ib-story h3{font-size:19px}
 .ib-endcap{margin-top:40px}
 .ib-article{padding-top:20px}
 .ib-article-header{margin-top:25px}
 .ib-article h1{font-size:clamp(34px,8.4vw,49px)}
 .ib-article-prose{font-size:16px;line-height:1.82}
}

/* ============================================================
   Ingenio Journal V1.8.6.2 — article layout repair
   Protect article pages against inherited grid/flex/column rules.
   Targets only .ib-article; blog listing and admin are untouched.
   ============================================================ */
body .ib-article {
  display: block !important;
  width: min(100%, 960px) !important;
  max-width: 960px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: clamp(20px, 3vw, 42px) 0 80px !important;
  float: none !important;
  columns: auto !important;
  column-count: 1 !important;
}
body .ib-article > .ib-back { display: inline-flex !important; align-items:center; margin: 0 0 28px !important; }
body .ib-article > .ib-article-header {
  display: flex !important;
  flex-flow: column nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 860px !important;
  min-width: 0 !important;
  margin: 0 auto 34px !important;
  padding: 0 12px !important;
  float: none !important;
  columns: auto !important;
  column-count: 1 !important;
  text-align: center !important;
}
body .ib-article .ib-article-header > * {
  float: none !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body .ib-article .ib-article-header > .ib-eyebrow {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  letter-spacing: .15em !important;
  margin-bottom: 18px !important;
}
body .ib-article .ib-article-header > h1 {
  display: block !important;
  font-size: clamp(34px, 4.15vw, 56px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.048em !important;
  font-weight: 780 !important;
  max-width: 820px !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  text-wrap: balance;
}
body .ib-article .ib-article-header > .ib-article-deck {
  display: block !important;
  width: 100% !important;
  max-width: 710px !important;
  font-size: clamp(16px, 1.4vw, 19px) !important;
  line-height: 1.72 !important;
  font-weight: 400 !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  color: #66718b !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
body .ib-article .ib-article-header > .ib-article-byline {
  display: flex !important;
  width: auto !important;
  max-width: 100% !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  line-height: 1.5 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
}
body .ib-article .ib-article-header .ib-article-byline > * {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  float: none !important;
  position: static !important;
}
body .ib-article > .ib-article-cover,
body .ib-article > .ib-article-prose,
body .ib-article > .ib-article-bottom {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-column: 1 / -1 !important;
}
body .ib-article > .ib-article-cover { max-width: 900px !important; margin-top: 32px !important; margin-bottom: 44px !important; }
body .ib-article > .ib-article-cover img { display: block !important; width: 100% !important; height: auto !important; max-height: 520px !important; object-fit: cover !important; border-radius: 18px !important; }
body .ib-article > .ib-article-prose { max-width: 740px !important; line-height: 1.86 !important; }
body .ib-article > .ib-article-bottom { max-width: 740px !important; margin-top: 55px !important; }
@media (max-width: 700px) {
  body .ib-article { padding: 18px 0 48px !important; }
  body .ib-article > .ib-article-header { margin-bottom: 25px !important; padding: 0 4px !important; }
  body .ib-article .ib-article-header > h1 { font-size: clamp(30px, 8.3vw, 43px) !important; line-height: 1.17 !important; }
  body .ib-article .ib-article-header > .ib-article-deck { font-size: 16px !important; line-height: 1.65 !important; }
  body .ib-article > .ib-article-cover { margin-top: 20px !important; margin-bottom: 28px !important; }
  body .ib-article > .ib-article-cover img { border-radius: 12px !important; }
  body .ib-article > .ib-article-prose { font-size: 16px !important; line-height: 1.78 !important; }
}
