/* loomi-blog.css 2026-11-03 (Chris: "i love the hero but lets make that hero fit the rest of the page and maybe break it up") */

/* /learn/ hub hero intentionally untouched (Chris 2026-11-03: keep its shape and design) */

/* ---------- article pages: the hub hero's dark chart look carried onto every post ---------- */
.wrap{max-width:780px}
.post-hero{position:relative;width:min(1132px,calc(100vw - 32px));margin:22px 0 34px 50%;transform:translateX(-50%);
 border-radius:20px;overflow:hidden;color:#EDEADF;border:1px solid #DDD7CA;
 background:
  repeating-linear-gradient(90deg,rgba(159,212,232,.07) 0 1px,transparent 1px 64px),
  repeating-linear-gradient(0deg,rgba(159,212,232,.07) 0 1px,transparent 1px 64px),
  linear-gradient(135deg,#1B2A33 0%,#171816 100%);
 box-shadow:0 1px 2px rgba(30,29,27,.06),0 14px 36px rgba(30,29,27,.14)}
.post-hero::before,.post-hero::after{content:"";position:absolute;left:0;right:0;height:0;border-top:2px dashed rgba(159,212,232,.35);top:22%}
.post-hero::after{top:auto;bottom:18%;border-top-color:rgba(147,168,126,.4)}
.post-hero__in{position:relative;z-index:1;max-width:780px;margin:0 auto;padding:clamp(28px,5vw,56px) 24px clamp(30px,5vw,52px)}
.post-hero .crumb{margin:0;color:rgba(237,234,223,.7)}.post-hero .crumb a{color:#9FD4E8}
.post-hero h1{color:#fff;margin-top:12px;text-wrap:balance;display:block;padding:14px 18px;border-radius:14px;
 border:1px solid rgba(159,212,232,.55);background:rgba(159,212,232,.07);
 box-shadow:0 0 0 1px rgba(159,212,232,.10),0 0 22px rgba(159,212,232,.32),inset 0 0 28px rgba(159,212,232,.05)}
.post-hero .dek{color:rgba(237,234,223,.86);font-size:clamp(17px,2vw,19px)}
.post-hero .meta{color:rgba(237,234,223,.7);font-size:15px;align-items:center;gap:8px 14px;margin-top:22px;padding-top:18px;border-top:1px solid rgba(237,234,223,.14)}
.post-hero .meta a{color:#fff!important}
.post-hero .tag{color:#9FD4E8;background:rgba(159,212,232,.12);border-color:rgba(159,212,232,.35);font-size:13px}
article{padding:0 0 40px}
article p,article li{line-height:1.72}
.post-lead>p:first-child{font-family:var(--serif);font-size:21px;line-height:1.55;color:var(--ink)}
.post-lead{margin:0 0 8px}
.post-sec{background:#fff;border:1px solid #DDD7CA;border-radius:18px;padding:6px clamp(20px,3.6vw,34px) 18px;margin:22px 0;box-shadow:0 1px 2px rgba(30,29,27,.05),0 8px 24px rgba(30,29,27,.05)}
.post-sec>h2:first-child{margin-top:24px;padding-bottom:12px;border-bottom:1px solid #EFECE4;position:relative}
.post-sec>h2:first-child::before{content:"";display:block;width:34px;height:4px;border-radius:4px;background:var(--ice-grad);margin-bottom:12px}
.post-sec .stat-tbl{box-shadow:none;border:1px solid #EFECE4}
.post-sec .callout{background:#F7F5F0}
.post-sec--fit{background:linear-gradient(135deg,#EAF4FA 0%,#F4F2ED 100%);border-color:rgba(127,178,212,.45)}
.post-sec--fit>h2:first-child::before{background:var(--olive-deep)}
article blockquote{font-family:var(--serif);font-size:21px;line-height:1.45;border-left:4px solid var(--ice);padding:6px 0 6px 20px;margin:24px 0;color:var(--ink)}
.signoff{margin:30px 0 0;padding:16px 20px;border-radius:14px;background:#EDE9DF;font-size:16px}
.joinbox{background:#1E1D1B;color:#EDEADF;border:0;box-shadow:0 14px 36px rgba(30,29,27,.16)}
.joinbox h3{color:#fff}.joinbox p{color:rgba(237,234,223,.8)}.joinbox a{color:#9FD4E8}
.faq{background:#fff;border:1px solid #DDD7CA;border-radius:18px;padding:4px 24px;margin:18px 0 28px}
.faq details:first-child{border-top:0}
article>h2{margin-top:44px}
.related{border:1px solid #DDD7CA;border-radius:18px;background:#fff;padding:20px 24px 8px}
.related h3{margin-top:0}
.related a{border-top:1px solid #EFECE4}
@media(max-width:600px){
 .post-hero{width:calc(100vw - 20px);margin-top:12px;border-radius:16px}
 .post-hero__in{padding:26px 20px 28px}
 .post-sec{padding:4px 18px 14px;border-radius:14px}
 .post-lead>p:first-child{font-size:19px}
}

/* ---------- /learn/ below the hero (2026-11-03 v3): calendar, filters, cards, footer in the hero's dark-chart language ---------- */
.lh-cal{position:relative;border-radius:20px;overflow:hidden;padding:clamp(22px,3.4vw,36px);color:#EDEADF;border:1px solid #DDD7CA;
 background:repeating-linear-gradient(90deg,rgba(159,212,232,.07) 0 1px,transparent 1px 64px),repeating-linear-gradient(0deg,rgba(159,212,232,.07) 0 1px,transparent 1px 64px),linear-gradient(135deg,#1B2A33 0%,#171816 100%);
 box-shadow:0 1px 2px rgba(30,29,27,.06),0 14px 36px rgba(30,29,27,.14)}
.lh-cal .lh-listhead h2{color:#fff}
.lh-cal .cal-note{color:rgba(237,234,223,.7)}
.lh-cal .cal-month{background:rgba(255,255,255,.04);border:1px solid rgba(159,212,232,.18);box-shadow:none;backdrop-filter:blur(2px)}
.lh-cal .cal-month h3{color:#fff}.lh-cal .cal-month h3 span{color:#9FD4E8;font-size:14px}
.lh-cal .cal-dow span{color:rgba(237,234,223,.5);font-size:13px;letter-spacing:.08em}
.lh-cal .cal-day{color:rgba(237,234,223,.3)}
.lh-cal .cal-day.has{background:rgba(159,212,232,.16);border-color:rgba(159,212,232,.32);color:#EAF4FA}
.lh-cal .cal-day.has.l2{background:rgba(159,212,232,.34)}
.lh-cal .cal-day.has.l3{background:#7FB2D4;color:#16324A;border-color:#9FD4E8}
.lh-cal .cal-day.has:hover{box-shadow:0 6px 16px rgba(159,212,232,.3)}
.lh-cal .cal-day.has[aria-pressed="true"]{background:#93A87E;border-color:#B5C7A2;color:#171816}
.lh-cal .cal-day.has:focus-visible{outline-color:#9FD4E8}
.lh-listhead h2::before{content:"";display:block;width:34px;height:4px;border-radius:4px;background:var(--ice-grad);margin-bottom:12px}
.lh-filters{background:#fff;border:1px solid #DDD7CA;border-radius:99px;padding:4px;gap:4px}
.lh-filters button{border-color:transparent;background:transparent}
.lh-filters button:hover{background:#F4F2ED}
.lh-filters button[aria-pressed="true"]{background:#1E1D1B;color:#F4F2ED}
.lh-grid{gap:18px}
.lcard{position:relative;overflow:hidden;padding:24px 22px 20px}
.lcard::before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:var(--ice-grad);opacity:.85}
.lcard .k{display:inline-block;justify-self:start;font-size:12px;background:rgba(127,178,212,.14);border:1px solid rgba(127,178,212,.35);border-radius:99px;padding:3px 10px}
.lcard .d{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.lcard.feature{background:repeating-linear-gradient(90deg,rgba(159,212,232,.07) 0 1px,transparent 1px 64px),repeating-linear-gradient(0deg,rgba(159,212,232,.07) 0 1px,transparent 1px 64px),linear-gradient(135deg,#1B2A33 0%,#171816 100%);border-color:#2A3A44}
.lcard.feature .k{color:#9FD4E8;background:rgba(159,212,232,.12);border-color:rgba(159,212,232,.35)}
.lcard.feature .d{color:rgba(237,234,223,.75)}
.lcard.feature .by{border-top-color:rgba(237,234,223,.14);color:rgba(237,234,223,.6)}
.cal-status{background:#fff;border:1px solid #DDD7CA;border-radius:14px;padding:12px 16px}
footer{background:#1E1D1B;border-top:0;margin-top:60px}
footer .in{color:rgba(237,234,223,.65);line-height:1.8}
footer a{color:#9FD4E8}
footer nav{margin-top:8px}
@media(max-width:600px){.lh-cal{padding:20px 14px;border-radius:16px}.lh-filters{border-radius:16px}}

/* ---------- glowing outlined titles (Chris 2026-11-04): article H1 + /learn/ card titles; hero untouched ---------- */
.lcard .h{text-wrap:balance;display:block;padding:10px 12px;margin:2px 0;border-radius:10px;
 border:1px solid rgba(127,178,212,.42);background:rgba(127,178,212,.05);
 box-shadow:0 0 12px rgba(127,178,212,.18);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.lcard:hover .h{border-color:rgba(127,178,212,.72);background:rgba(127,178,212,.10);box-shadow:0 0 18px rgba(127,178,212,.36)}
.lcard.feature .h{border-color:rgba(159,212,232,.48);background:rgba(159,212,232,.08);box-shadow:0 0 14px rgba(159,212,232,.26)}
.lcard.feature:hover .h{border-color:rgba(159,212,232,.78);background:rgba(159,212,232,.12);box-shadow:0 0 22px rgba(159,212,232,.42)}
@media(max-width:600px){
 .post-hero h1{padding:12px 14px;border-radius:12px}
 .lcard .h{padding:8px 10px;border-radius:9px}
}

/* ---------- /learn/ hero: same shape and design, just larger (Chris 2026-11-03: "make the hero a little larger") ---------- */
.lh-hero{margin-inline:calc(50% - min(720px,50vw - 16px))}
.lh-tag{font-size:15px}.lh-tag .star{font-size:21px}
.lh-chips a{font-size:16px;padding:6px 16px}
.lh-big{padding:18px 24px}
.lh-big b{font-size:clamp(2.2rem,5vw,3.6rem)}
.lh-big span{font-size:15px}
.lh-stats{font-size:18px;gap:12px 36px}.lh-stats b{font-size:1.6rem}
.lh-main h1{font-size:clamp(2.6rem,6.6vw,5.2rem)}
.lh-cols{font-size:19px}
.lh-author b{font-size:1.5rem}.lh-author span{font-size:16px}
.lh-btn{font-size:17px;padding:16px 28px}
@media(max-width:600px){
 .lh-hero{margin-inline:-14px}
 .lh-chips a{font-size:14px;padding:4px 12px}
 .lh-big{padding:10px 14px}.lh-big span{font-size:12px}
 .lh-stats{font-size:16px;padding:0 14px}
 .lh-main{padding:0 14px}
}
