/* Blog, blog post and newsletter pages: same look as the redesigned product pages (navy #0b2035, orange #fd4f00) */
.page-hero { position: relative; padding: 170px 0 90px; min-height: 440px; display: flex; align-items: center; background: #0b2035 center / cover no-repeat; color: #fff; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 32, 53, .92) 0%, rgba(11, 32, 53, .7) 45%, rgba(11, 32, 53, .25) 100%); }
.page-hero .container { position: relative; }
.page-hero-text { max-width: 620px; }
.page-hero-eyebrow, .cp-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #fd4f00; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.page-hero-eyebrow::before, .cp-eyebrow::before { content: ""; width: 32px; height: 2px; background: #fd4f00; }
.page-hero h1 { color: #fff; font-size: 40px !important; font-weight: 700 !important; line-height: 1.15; margin-bottom: 12px; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
.page-hero-crumbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.page-hero-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .4); }
.page-hero-crumbs a { color: rgba(255, 255, 255, .8); }
.page-hero-crumbs a:hover { color: #fd4f00; text-decoration: none; }
.page-hero-crumbs span { color: #fd4f00; }

.cp-sec { padding: 80px 0; }
.cp-sec.alt { background: #f7f8fa; }
.cp-sec h2 { font-size: 32px !important; font-weight: 700 !important; color: #232425; line-height: 1.25; margin-bottom: 12px; }
.cp-sec h2 span { color: #fd4f00; }
.cp-lead { color: #4b5563; font-size: 16px; line-height: 1.75; max-width: 720px; }

/* category chips */
.cp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cp-chips a { padding: 8px 16px; border-radius: 50px; border: 1px solid #e3e6ec; background: #fff; color: #374151; font-size: 14px; font-weight: 600; transition: border-color .25s, color .25s, background .25s; }
.cp-chips a:hover, .cp-chips a.on { border-color: #fd4f00; color: #fd4f00; text-decoration: none; }
.cp-chips a.on { background: #fff4ee; }

/* cards */
.cp-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #eceef2; border-radius: 18px; overflow: hidden; color: inherit; transition: transform .3s, box-shadow .3s; }
.cp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(11, 32, 53, .35); text-decoration: none; color: inherit; }
.cp-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e5e7eb; }
.cp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cp-card:hover .cp-card-img img { transform: scale(1.05); }
.cp-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cp-meta { font-size: 12.5px; color: #6b7280; font-weight: 600; letter-spacing: .3px; margin-bottom: 8px; }
.cp-meta b { color: #fd4f00; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-right: 8px; }
.cp-card h3 { font-size: 19px; font-weight: 700; color: #232425; line-height: 1.35; margin-bottom: 10px; }
.cp-card p { color: #4b5563; font-size: 14.5px; line-height: 1.65; margin-bottom: 16px; }
.cp-more { margin-top: auto; color: #fd4f00; font-weight: 700; font-size: 14px; }

/* newsletter covers are portrait */
.cp-card.nl .cp-card-img { aspect-ratio: 3 / 4; }
.cp-card.nl .cp-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.cp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 50px; font-weight: 700; font-size: 14px; border: 1.5px solid #fd4f00; color: #fd4f00; background: transparent; }
.cp-btn:hover { background: #fd4f00; color: #fff; text-decoration: none; }
.cp-btn.solid { background: #fd4f00; color: #fff; }
.cp-btn.solid:hover { background: #d94300; border-color: #d94300; }

/* pagination */
.cp-pager { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.cp-pager a, .cp-pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #e3e6ec; color: #374151; font-weight: 700; }
.cp-pager a:hover { border-color: #fd4f00; color: #fd4f00; text-decoration: none; }
.cp-pager span.on { background: #fd4f00; border-color: #fd4f00; color: #fff; }

.cp-empty { text-align: center; padding: 60px 20px; border: 1px dashed #d6dae2; border-radius: 18px; color: #4b5563; }
.cp-empty h3 { font-size: 22px; color: #232425; margin-bottom: 8px; }

/* single post */
.post-hero { padding: 150px 0 60px; background: #0b2035; color: #fff; position: relative; overflow: hidden; }
.post-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(253, 79, 0, .35), transparent 70%); }
.post-hero .container { position: relative; }
.post-hero h1 { color: #fff; font-size: 40px !important; font-weight: 700 !important; line-height: 1.2; max-width: 860px; margin: 10px 0 14px; }
.post-hero .cp-meta { color: rgba(255, 255, 255, .7); font-size: 14px; }
.post-cover { margin-top: -10px; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -35px rgba(11, 32, 53, .5); }
.post-cover img { width: 100%; display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.post-body { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.85; color: #374151; }
.post-body h2 { font-size: 28px !important; color: #232425; margin: 38px 0 14px; }
.post-body h3 { font-size: 22px !important; color: #232425; margin: 30px 0 12px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: #fd4f00; text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 10px 0; }
.post-body blockquote { border-left: 4px solid #fd4f00; background: #fff7f2; padding: 14px 20px; border-radius: 0 12px 12px 0; margin: 22px 0; color: #232425; }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid #e3e6ec; padding: 10px 12px; text-align: left; }
.post-body th { background: #f7f8fa; }

/* CTA band */
.cp-cta { background: linear-gradient(135deg, #0f2a44, #16395c); border-radius: 22px; padding: 44px 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cp-cta h3 { color: #fff; font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.cp-cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.cp-cta .btn { border-radius: 50px; padding: 12px 26px; font-weight: 700; }

@media (max-width: 991px) {
    .page-hero { padding: 140px 0 70px; min-height: 380px; }
    .page-hero h1, .post-hero h1 { font-size: 32px !important; }
    .cp-sec { padding: 60px 0; }
}
@media (max-width: 767px) {
    .page-hero::before { background: linear-gradient(180deg, rgba(11, 32, 53, .6), rgba(11, 32, 53, .88)); }
    .page-hero h1, .post-hero h1 { font-size: 26px !important; }
    .post-body { font-size: 16px; }
    .cp-cta { padding: 32px 24px; }
}
