/* Blog templates restored from the original Elementor/Vamtam single-post template.
   Spec measured off the pre-migration render (raw/ crawl) at 390/768/1024/1280/1440/1920:
   two-column hero (eyebrow/title/author left, featured right), 1000px article column,
   1px section rules, and the "More ideas" 3-card row (also used as "What's new" on /ideas/).
   Card/arrow divergences from the theme demo are deliberate (no arrows, per site owner). */

/* ---- post page layout ---- */
.post-main{padding:0 20px}
.post-hero,.hero-rule,.post-main .prose{max-width:1000px;margin-left:auto;margin-right:auto}

.post-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:calc(120px - var(--chrome-header-h, 100px))}
.post-hero-text{width:100%}
.post-hero-media{width:100%;margin-top:34px}
.post-hero-media img{display:block;width:100%;height:auto}

.post-eyebrow{margin:0;font-size:16px;font-weight:500;line-height:1.4}
.post-hero h1{margin:10px 0 0;font-size:28px;font-weight:400;line-height:1.3;letter-spacing:0}
.byline{display:flex;align-items:flex-start;gap:25px;margin:10px 0 0}
.byline .avatar{display:block;width:70px;height:70px;border-radius:50%;object-fit:cover}
.byline .who{margin:19px 0 7px;font-size:20px;font-weight:500;line-height:1.3}
.byline .who br{display:none}
.byline .role{display:block;margin-top:0;font-size:17px;font-weight:400;line-height:24px}
.post-date{margin:10px 0 0;padding:9px 0 3px;font-size:9px;font-weight:500;line-height:1.2;letter-spacing:.05em;text-transform:uppercase}

.hero-rule{display:none}
.post-main .prose{margin-top:30px}

/* ---- article body ---- */
.post-main .prose{font-size:19px;line-height:1.5}
.post-main .prose p{margin:0 0 19px}
.post-main .prose hr{border:0;border-top:1px solid #000;margin:30px 0 0}
.post-main .prose h2{margin:30px 0 20px;font-size:20px;font-weight:500;line-height:1.3}
.post-main .prose h3{margin:11px 0 5px;font-size:18px;font-weight:700;line-height:1.3}
.post-main .prose ul{list-style:disc;margin:19px 0;padding-left:32px}
.post-main .prose ol{margin:19px 0;padding-left:32px}
.post-main .prose li{margin:0}
.post-main .prose li ul{margin:6px 0 0}
.post-main .prose .wgap{margin-top:20px}
.post-main .prose h3.wgap{margin-top:31px}
.post-main .prose a{text-decoration:underline;text-underline-offset:.2em}
.post-main .prose img{max-width:100%;height:auto}
.post-main .prose figure{margin:30px 0}
.post-main .prose figure img{display:block}
.post-main .prose figcaption{font-size:.85rem;opacity:.65;margin-top:.5rem}
.post-main .prose blockquote{margin:30px 0;padding:.4rem 0 .4rem 1.2rem;border-left:2px solid #000}
.post-main .prose blockquote p{margin:0}
.post-main .table-scroll{overflow-x:auto;margin:0 0 8px}
.post-main .prose .table-scroll+hr{margin-top:8px}
.post-main .table-scroll table{border-collapse:collapse;width:100%}
.post-main .prose th{padding:0 20px 12px 0;border-bottom:1px solid #000;vertical-align:bottom;text-align:left;color:#000;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.08em;text-transform:uppercase}
.post-main .prose td{padding:14px 20px 14px 0;border-bottom:1px solid rgba(0,0,0,.18);vertical-align:top;text-align:left;color:#383838;font-weight:400}
.post-main .prose th:last-child,.post-main .prose td:last-child{padding-right:0}
.post-main .prose td strong,.post-main .prose td b{font-weight:500;color:#000}
.post-main .prose td p{margin:0 0 .5rem}
.post-main .prose td p:last-child{margin-bottom:0}

/* ---- "More ideas" / "What's new" cards ---- */
.more-ideas{margin:0;padding-top:21px}
.more-ideas h2,.whats-new h2{margin:0;font-size:28px;font-weight:400;line-height:1.3}
.post-cards{margin-top:20px;display:flex;gap:5px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.post-cards::-webkit-scrollbar{display:none}
.post-card{display:block;flex:0 0 calc(50% - 2.5px);scroll-snap-align:start;color:#000;text-decoration:none}
.post-card img{display:block;width:100%;height:auto}
.post-card-date{display:inline-block;margin-top:16px;padding:5px 11px 4px;border:1px solid #000;border-radius:999px;font-size:10px;font-weight:500;line-height:1;letter-spacing:.08em;text-transform:uppercase}
.post-card-title{display:block;margin-top:20px;font-size:20px;font-weight:500;line-height:1.3}
.post-card-date+.post-card-title{margin-top:10px}

.whats-new{padding-top:40px}
.section-rule{border:0;border-top:1px solid #000;margin:40px 0 0}

@media (min-width:768px){
.post-main{padding:0 30px}
.post-hero{padding-top:calc(100px - var(--chrome-header-h, 100px))}
.post-main .table-scroll{margin-bottom:19px}
.post-main .prose th{padding-right:28px;font-size:12px}
.post-main .prose td{padding:16px 28px 16px 0}
.post-main .prose .wgap{margin-top:39px}
.post-main .prose h3.wgap{margin-top:51px}
.post-hero-text{width:47%}
.post-hero-media{width:45%;margin-top:0}
.post-hero h1{font-size:36px;line-height:1.1}
.byline .who{margin:15px 0 13px;font-size:24px;line-height:1.4}
.byline .role{margin-top:5px;line-height:22.4px}
.byline .avatar{margin-top:7px}
.more-ideas h2,.whats-new h2{line-height:1.1}
.hero-rule{display:block;border:0;border-top:1px solid #000;max-width:1000px;margin:70px auto 40px}
.post-main .prose{margin-top:0}
.post-main .prose p{margin-bottom:19px}
.post-main .prose hr{margin-top:63px}
.post-main .prose .table-scroll+hr{margin-top:40px}
.post-main .prose h2{margin:60px 0 40px;font-size:24px;line-height:1.4}
.post-main .prose h3{margin:12px 0 6px;font-size:20px}
.more-ideas{padding-top:60px}
.more-ideas h2,.whats-new h2{font-size:36px}
.post-cards{margin-top:40px;display:grid;grid-template-columns:repeat(3,1fr);gap:25px;overflow:visible}
.post-card{flex:none}
.post-card-title{font-size:24px;line-height:1.4}
}

@media (min-width:1280px){
.post-hero{padding-top:calc(180px - var(--chrome-header-h, 100px))}
.post-hero h1{line-height:1.3}
.more-ideas h2,.whats-new h2{line-height:1.3}
.post-main .prose .wgap{margin-top:40px}
.post-main .prose h3.wgap{margin-top:52px}
.post-hero h1{margin-top:25px;font-size:42px}
.byline{margin-top:25px}
.byline .avatar{width:85px;height:85px;margin-top:0}
.byline .who{margin:15px 0 14px}
.post-date{margin-top:25px;padding-top:8px}
.hero-rule{margin:70px auto 70px}
.byline .role{line-height:22.4px}
.post-main .prose{font-size:20px}
.post-main .prose p{margin-bottom:20px}
.post-main .prose hr{margin-top:64px}
.post-main .prose ul,.post-main .prose ol{margin:20px 0;padding-left:34px}
.post-main .prose .table-scroll+hr{margin-top:45px}
.post-cards{margin-top:60px}
.more-ideas h2,.whats-new h2{font-size:42px}
}
