/* =====================================================================

   ExpressPress - Public blog (blog.php / blog-post.php)

   assets/css/blog.css

   ---------------------------------------------------------------------

   Every selector is prefixed .ep-blog so nothing here can leak into, or

   be overridden by accident from, the rest of the site. Existing site

   components (header, footer, .btn-primary, .btn-secondary,

   .pd-section-badge, .shop-breadcrumb) are reused unchanged.

   Palette matches the site: deep navy, cyan #67e8f9, pink #ec4899.

   ===================================================================== */

.ep-blog {

    --ep-bg: var(--bg-dark, #050816);

    --ep-surface: var(--card-bg-dark, rgba(255,255,255,.08));

    --ep-surface-hover: var(--card-bg-alt, rgba(255,255,255,.12));

    --ep-border: var(--card-border-dark, rgba(255,255,255,.12));

    --ep-text: var(--text-on-dark-soft, #cbd5e1);

    --ep-heading: #ffffff;

    --ep-cyan: var(--accent-cyan, #67e8f9);

    --ep-pink: var(--accent-green, #2FA84F);

    --ep-gold: var(--accent-gold, #D4AF37);

    --ep-radius: 20px;

    background: var(--ep-bg);

    color: var(--ep-text);

    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    line-height: 1.7;

    overflow-x: clip;

}

.ep-blog *,

.ep-blog *::before,

.ep-blog *::after {

    box-sizing: border-box;

}

.ep-blog a {

    color: var(--ep-cyan);

}

.ep-blog-container {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 24px;

}

.ep-blog-container--narrow {

    max-width: 820px;

}

.ep-blog-gradient {

    background: linear-gradient(90deg, var(--accent-blue, #1E4FA8), var(--ep-pink), var(--ep-gold));

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;

}

/* ---------------------------------------------------------------------

   Hero / article header

   --------------------------------------------------------------------- */

.ep-blog-hero,

.ep-blog-article-header {

    position: relative;

    padding: 72px 0 56px;

    text-align: center;

    overflow: hidden;

    border-bottom: 1px solid var(--ep-border);

}

.ep-blog-glow {

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.22;

    pointer-events: none;

}

.ep-blog-glow-cyan { top: -180px; left: -120px; background: var(--ep-cyan); }

.ep-blog-glow-pink { top: -160px; right: -140px; background: var(--ep-pink); }

.ep-blog-hero h1,

.ep-blog-article-header h1 {

    margin: 18px 0 16px;

    color: var(--ep-heading);

    font-family: 'Poppins', 'Montserrat', sans-serif;

    font-weight: 800;

    line-height: 1.15;

    font-size: clamp(2rem, 4.5vw, 3.2rem);

}

.ep-blog-article-header h1 {

    font-size: clamp(1.8rem, 4vw, 2.8rem);

}

.ep-blog-lead {

    max-width: 680px;

    margin: 0 auto;

    font-size: 1.05rem;

}

.ep-blog-breadcrumb {

    justify-content: center;

    margin-bottom: 20px;

}

.ep-blog-badge {

    display: inline-flex;

}

.ep-blog-byline {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px 22px;

    margin-top: 6px;

    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.65);

}

.ep-blog-byline i {

    margin-right: 6px;

    color: var(--ep-cyan);

}

/* ---------------------------------------------------------------------

   Category tag + filter chips

   --------------------------------------------------------------------- */

.ep-blog-tag {

    display: inline-block;

    padding: 4px 12px;

    border-radius: 999px;

    border: 1px solid rgba(103, 232, 249, 0.35);

    background: rgba(103, 232, 249, 0.08);

    color: var(--ep-cyan) !important;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    text-decoration: none;

}

.ep-blog-tag:hover,

.ep-blog-tag:focus-visible {

    background: rgba(103, 232, 249, 0.18);

}

.ep-blog-filters {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;

    margin-bottom: 40px;

}

.ep-blog-chip {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 18px;

    border-radius: 999px;

    border: 1px solid var(--ep-border);

    background: var(--ep-surface);

    color: var(--ep-text) !important;

    font-size: 0.9rem;

    font-weight: 600;

    text-decoration: none;

    transition: background 0.2s, border-color 0.2s, color 0.2s;

}

.ep-blog-chip:hover,

.ep-blog-chip:focus-visible {

    background: var(--ep-surface-hover);

    border-color: rgba(103, 232, 249, 0.45);

}

.ep-blog-chip.is-active {

    background: linear-gradient(90deg, rgba(103, 232, 249, 0.2), rgba(47,168,79,.18));

    border-color: rgba(103, 232, 249, 0.6);

    color: #fff !important;

}

.ep-blog-chip-count {

    min-width: 22px;

    padding: 0 6px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.1);

    font-size: 0.75rem;

    text-align: center;

}

/* ---------------------------------------------------------------------

   Listing grid + cards

   --------------------------------------------------------------------- */

.ep-blog-listing {

    padding: 56px 0 88px;

}

.ep-blog-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

}

.ep-blog-card {

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border-radius: var(--ep-radius);

    border: 1px solid var(--ep-border);

    background: var(--ep-surface);

    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;

}

.ep-blog-card:hover,

.ep-blog-card:focus-within {

    transform: translateY(-4px);

    border-color: rgba(103, 232, 249, 0.4);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

}

.ep-blog-card-media {

    display: block;

    aspect-ratio: 16 / 10;

    background: #0b1226;

    overflow: hidden;

}

.ep-blog-card-media img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}

.ep-blog-card:hover .ep-blog-card-media img {

    transform: scale(1.04);

}

.ep-blog-card-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    font-size: 2.4rem;

    color: rgba(103, 232, 249, 0.55);

    background: linear-gradient(135deg, rgba(30,79,168,.17), rgba(47,168,79,.10), rgba(212,175,55,.10));

}

.ep-blog-card-body {

    display: flex;

    flex: 1;

    flex-direction: column;

    gap: 12px;

    padding: 22px 22px 24px;

}

.ep-blog-card-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px 12px;

    font-size: 0.8rem;

    color: rgba(255, 255, 255, 0.6);

}

.ep-blog-card-title {

    margin: 0;

    font-size: 1.2rem;

    font-weight: 700;

    line-height: 1.35;

}

.ep-blog-card-title a {

    color: var(--ep-heading) !important;

    text-decoration: none;

}

.ep-blog-card-title a:hover,

.ep-blog-card-title a:focus-visible {

    color: var(--ep-cyan) !important;

}

.ep-blog-card-excerpt {

    margin: 0;

    font-size: 0.93rem;

    display: -webkit-box;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

.ep-blog-readmore {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    padding-top: 6px;

    font-size: 0.9rem;

    font-weight: 700;

    color: var(--ep-cyan) !important;

    text-decoration: none;

}

.ep-blog-readmore i {

    transition: transform 0.2s ease;

}

.ep-blog-readmore:hover i,

.ep-blog-readmore:focus-visible i {

    transform: translateX(4px);

}

/* ---------------------------------------------------------------------

   Pagination

   --------------------------------------------------------------------- */

.ep-blog-pagination {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 56px;

}

.ep-blog-page-list {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin: 0;

    padding: 0;

    list-style: none;

}

.ep-blog-page-gap {

    padding: 0 4px;

    color: rgba(255, 255, 255, 0.5);

}

.ep-blog-page-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 44px;

    height: 44px;

    padding: 0 14px;

    border-radius: 12px;

    border: 1px solid var(--ep-border);

    background: var(--ep-surface);

    color: var(--ep-text) !important;

    font-size: 0.9rem;

    font-weight: 700;

    text-decoration: none;

    transition: background 0.2s, border-color 0.2s;

}

a.ep-blog-page-link:hover,

a.ep-blog-page-link:focus-visible {

    background: var(--ep-surface-hover);

    border-color: rgba(103, 232, 249, 0.5);

}

.ep-blog-page-link.is-current {

    background: linear-gradient(90deg, var(--accent-blue, #1E4FA8), var(--ep-pink), var(--ep-gold));

    border-color: transparent;

    color: #08102a !important;

}

/* ---------------------------------------------------------------------

   Empty / 404 / error states

   --------------------------------------------------------------------- */

.ep-blog-empty,

.ep-blog-message .ep-blog-container {

    max-width: 640px;

    margin: 0 auto;

    text-align: center;

}

.ep-blog-empty {

    padding: 56px 24px;

    border-radius: var(--ep-radius);

    border: 1px dashed var(--ep-border);

    background: var(--ep-surface);

}

.ep-blog-message {

    padding: 120px 0 140px;

}

.ep-blog-message h1,

.ep-blog-empty h2 {

    margin: 0 0 12px;

    color: var(--ep-heading);

    font-family: 'Poppins', 'Montserrat', sans-serif;

    font-weight: 800;

    font-size: clamp(1.6rem, 3.5vw, 2.3rem);

}

.ep-blog-message-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 72px;

    height: 72px;

    margin-bottom: 20px;

    border-radius: 50%;

    font-size: 1.8rem;

    color: var(--ep-cyan);

    background: rgba(103, 232, 249, 0.1);

    border: 1px solid rgba(103, 232, 249, 0.3);

}

.ep-blog-message-actions {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 14px;

    margin-top: 26px;

}

/* ---------------------------------------------------------------------

   Article

   --------------------------------------------------------------------- */

.ep-blog-featured {

    margin: -8px 0 40px;

    border-radius: var(--ep-radius);

    overflow: hidden;

    border: 1px solid var(--ep-border);

    background: #0b1226;

    transform: translateY(-24px);

}

.ep-blog-featured img {

    display: block;

    width: 100%;

    height: auto;

    max-height: 520px;

    object-fit: cover;

}

.ep-blog-article > .ep-blog-container {

    padding-top: 40px;

}

.ep-blog-article > .ep-blog-container:has(.ep-blog-featured) {

    padding-top: 0;

}

/* Typography for stored article HTML */

.ep-blog-content {

    font-size: 1.05rem;

    overflow-wrap: anywhere;

}

.ep-blog-content > *:first-child { margin-top: 0; }

.ep-blog-content > *:last-child  { margin-bottom: 0; }

.ep-blog-content h2,

.ep-blog-content h3,

.ep-blog-content h4,

.ep-blog-content h5,

.ep-blog-content h6 {

    margin: 2em 0 0.6em;

    color: var(--ep-heading);

    font-family: 'Montserrat', sans-serif;

    font-weight: 700;

    line-height: 1.3;

}

.ep-blog-content h2 { font-size: 1.75rem; }

.ep-blog-content h3 { font-size: 1.4rem; }

.ep-blog-content h4 { font-size: 1.15rem; }

.ep-blog-content h5,

.ep-blog-content h6 { font-size: 1rem; }

.ep-blog-content p,

.ep-blog-content ul,

.ep-blog-content ol,

.ep-blog-content blockquote,

.ep-blog-content pre,

.ep-blog-content figure {

    margin: 0 0 1.4em;

}

.ep-blog-content ul,

.ep-blog-content ol {

    padding-left: 1.5em;

}

.ep-blog-content li {

    margin-bottom: 0.45em;

}

.ep-blog-content a {

    text-decoration: underline;

    text-underline-offset: 3px;

}

.ep-blog-content strong,

.ep-blog-content b {

    color: #fff;

}

.ep-blog-content img {

    display: block;

    max-width: 100%;

    height: auto;

    margin: 1.6em auto;

    border-radius: 14px;

}

.ep-blog-content figure img {

    margin-bottom: 0.6em;

}

.ep-blog-content figcaption {

    font-size: 0.85rem;

    text-align: center;

    color: rgba(255, 255, 255, 0.55);

}

.ep-blog-content blockquote {

    padding: 18px 24px;

    border-left: 4px solid var(--ep-pink);

    border-radius: 0 14px 14px 0;

    background: var(--ep-surface);

    font-style: italic;

}

.ep-blog-content pre,

.ep-blog-content code,

.ep-blog-content kbd {

    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    font-size: 0.9em;

}

.ep-blog-content code,

.ep-blog-content kbd {

    padding: 2px 6px;

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.1);

}

.ep-blog-content pre {

    padding: 18px 20px;

    overflow-x: auto;

    border-radius: 14px;

    border: 1px solid var(--ep-border);

    background: #050816;

}

.ep-blog-content pre code {

    padding: 0;

    background: none;

}

.ep-blog-content hr {

    margin: 2.4em 0;

    border: 0;

    border-top: 1px solid var(--ep-border);

}

.ep-blog-content table {

    display: block;

    width: 100%;

    margin: 0 0 1.6em;

    overflow-x: auto;

    border-collapse: collapse;

    font-size: 0.95rem;

}

.ep-blog-content th,

.ep-blog-content td {

    padding: 10px 14px;

    border: 1px solid var(--ep-border);

    text-align: left;

    vertical-align: top;

}

.ep-blog-content th {

    background: var(--ep-surface-hover);

    color: #fff;

}

.ep-blog-article-footer {

    margin-top: 48px;

    padding-top: 24px;

    border-top: 1px solid var(--ep-border);

}

.ep-blog-article-footer .ep-blog-readmore {

    margin-top: 0;

    padding-top: 0;

}

.ep-blog-article-footer .ep-blog-readmore:hover i,

.ep-blog-article-footer .ep-blog-readmore:focus-visible i {

    transform: translateX(-4px);

}

/* ---------------------------------------------------------------------

   CTA + related

   --------------------------------------------------------------------- */

.ep-blog-cta {

    padding: 72px 0 24px;

}

.ep-blog-cta-box {

    padding: 44px 32px;

    text-align: center;

    border-radius: 28px;

    border: 1px solid var(--ep-border);

    background: linear-gradient(135deg, rgba(30,79,168,.17), rgba(47,168,79,.10), rgba(212,175,55,.10));

}

.ep-blog-cta-box h2 {

    margin: 0 0 10px;

    color: var(--ep-heading);

    font-family: 'Poppins', 'Montserrat', sans-serif;

    font-weight: 800;

    font-size: clamp(1.4rem, 3vw, 2rem);

}

.ep-blog-cta-box p {

    margin: 0;

}

.ep-blog-related {

    padding: 56px 0 96px;

}

.ep-blog-related-title {

    margin: 0 0 32px;

    text-align: center;

    color: var(--ep-heading);

    font-family: 'Poppins', 'Montserrat', sans-serif;

    font-weight: 800;

    font-size: clamp(1.4rem, 3vw, 2rem);

}

/* ---------------------------------------------------------------------

   Responsive

   --------------------------------------------------------------------- */

@media (max-width: 1024px) {

    .ep-blog-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}

@media (max-width: 640px) {

    .ep-blog-container {

        padding: 0 18px;

    }

    .ep-blog-hero,

    .ep-blog-article-header {

        padding: 48px 0 40px;

    }

    .ep-blog-grid {

        grid-template-columns: 1fr;

        gap: 22px;

    }

    .ep-blog-listing {

        padding: 40px 0 64px;

    }

    .ep-blog-content {

        font-size: 1rem;

    }

    .ep-blog-content h2 { font-size: 1.45rem; }

    .ep-blog-content h3 { font-size: 1.2rem; }

    .ep-blog-cta-box {

        padding: 32px 20px;

    }

    .ep-blog-message {

        padding: 80px 0 96px;

    }

    .ep-blog-featured {

        transform: none;

        margin-top: 24px;

    }

}

@media (prefers-reduced-motion: reduce) {

    .ep-blog-card,

    .ep-blog-card-media img,

    .ep-blog-readmore i {

        transition: none;

    }

    .ep-blog-card:hover,

    .ep-blog-card:focus-within {

        transform: none;

    }

    .ep-blog-card:hover .ep-blog-card-media img {

        transform: none;

    }

}

.ep-blog a:focus-visible,

.ep-blog-page-link:focus-visible {

    outline: 2px solid var(--ep-cyan);

    outline-offset: 3px;

}

/* ================================================================

   ExpressPress editorial refinement — public blog only

   Keep this section after the original rules.

   ================================================================ */

.ep-blog {

    --ep-bg: #f6f8fc;

    --ep-surface: #ffffff;

    --ep-surface-hover: #f1f7fb;

    --ep-border: #e4eaf2;

    --ep-text: #44536a;

    --ep-heading: #10213d;

    --ep-cyan: #087b96;

    --ep-pink: #c22d79;

    --ep-radius: 18px;

    background: var(--ep-bg);

    color: var(--ep-text);

}

.ep-blog a { color: #087b96; }

.ep-blog-hero, .ep-blog-article-header {

    background: linear-gradient(145deg, #0c1933 0%, #14294d 62%, #102c42 100%);

    padding: 84px 0 72px;

    border-bottom: 0;

}

.ep-blog-hero h1, .ep-blog-article-header h1 {

    color: #fff;

    max-width: 950px;

    margin: 16px auto 20px;

    letter-spacing: -0.035em;

    line-height: 1.14;

}

.ep-blog-hero .ep-blog-lead, .ep-blog-article-header .ep-blog-lead { color: #d0deec; }

.ep-blog-glow { opacity: .12; }

.ep-blog-breadcrumb, .ep-blog-breadcrumb a { color: #d9eaf6; }

.ep-blog-byline { color: #d1dfed; }

.ep-blog-byline i { color: #80e7f3; }

.ep-blog-hero .ep-blog-tag, .ep-blog-article-header .ep-blog-tag {

    color: #b8f5ff !important;

    border-color: rgba(184,245,255,.4);

    background: rgba(184,245,255,.1);

}

.ep-blog-listing { padding: 62px 0 96px; }

.ep-blog-filters { margin-bottom: 36px; }

.ep-blog-chip {

    background: #fff; color: #42536a !important;

    border-color: #dce5ef; box-shadow: 0 2px 8px rgba(16,33,61,.035);

}

.ep-blog-chip:hover, .ep-blog-chip:focus-visible { background: #eef8fc; border-color: #91cfdb; }

.ep-blog-chip.is-active { background: #102b4b; border-color: #102b4b; color: #fff !important; }

.ep-blog-chip-count { background: rgba(120,140,160,.15); }

.ep-blog-grid { gap: 26px; }

.ep-blog-card {

    background: #fff; border: 1px solid #e4eaf2;

    box-shadow: 0 10px 28px rgba(19,43,75,.055);

}

.ep-blog-card:hover, .ep-blog-card:focus-within {

    border-color: #bddce5;

    box-shadow: 0 18px 44px rgba(19,43,75,.13);

}

.ep-blog-card-media { background: #e8eef4; }

.ep-blog-card-body { padding: 26px; gap: 14px; }

.ep-blog-card-meta { color: #68798e; }

.ep-blog-card-title { font-size: 1.2rem; line-height: 1.4; }

.ep-blog-card-title a { color: #10213d !important; }

.ep-blog-card-title a:hover { color: #087b96 !important; }

.ep-blog-card-excerpt { color: #56677b; line-height: 1.75; }

.ep-blog-readmore { color: #087b96 !important; }

.ep-blog-tag { color: #087b96 !important; border-color: #b4dce4; background: #eaf8fb; }

.ep-blog-page-link { background: #fff; color: #2c4057 !important; border-color: #dce5ef; }

.ep-blog-page-link.is-current { background: #102b4b; border-color: #102b4b; color: #fff !important; }

.ep-blog-empty { background: #fff; border-color: #dce5ef; }

.ep-blog-message h1, .ep-blog-empty h2 { color: #10213d; }

.ep-blog-message-icon { background: #eaf8fb; }

.ep-blog-article > .ep-blog-container { padding-top: 52px; }

.ep-blog-container--narrow { max-width: 860px; }

.ep-blog-featured {

    border: 0; border-radius: 18px;

    box-shadow: 0 18px 48px rgba(16,33,61,.12);

    background: #e9eef5;

}

.ep-blog-content {

    color: #34445b;

    font-size: 1.075rem;

    line-height: 1.95;

    letter-spacing: .002em;

}

.ep-blog-content h2, .ep-blog-content h3,

.ep-blog-content h4, .ep-blog-content h5, .ep-blog-content h6 {

    color: #112544;

    letter-spacing: -.025em;

    line-height: 1.3;

}

.ep-blog-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2.1em; }

.ep-blog-content h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.ep-blog-content p, .ep-blog-content ul, .ep-blog-content ol { margin-bottom: 1.5em; }

.ep-blog-content li { padding-left: .2em; margin-bottom: .55em; }

.ep-blog-content a { color: #087b96; text-decoration-thickness: 1px; }

.ep-blog-content strong, .ep-blog-content b { color: #112544; }

.ep-blog-content blockquote { background: #eff6fb; border-left-color: #087b96; color: #29415b; }

.ep-blog-content code, .ep-blog-content kbd { background: #e9eef5; }

.ep-blog-content pre { background: #101d32; color: #f4f8ff; }

.ep-blog-content pre code { color: inherit; background: transparent; }

.ep-blog-content hr { border-top-color: #dce5ef; }

.ep-blog-content th, .ep-blog-content td { border-color: #dce5ef; }

.ep-blog-content th { background: #eef3f8; color: #10213d; }

.ep-blog-content figcaption { color: #64748b; }

.ep-blog-article-footer { border-top-color: #dce5ef; }

.ep-blog-cta-box {

    background: linear-gradient(135deg, #112b4e, #103c53);

    border: 0; box-shadow: 0 16px 44px rgba(16,33,61,.13);

    color: #e4eff7;

}

.ep-blog-cta-box h2 { color: #fff; }

.ep-blog-cta-box a { color: #a5f0ff; }

.ep-blog-related-title { color: #10213d; }

.ep-blog-card-placeholder { color: #087b96; background: #eaf4f8; }

.ep-blog a:focus-visible, .ep-blog-page-link:focus-visible { outline-color: #087b96; }

@media (max-width: 640px) {

    .ep-blog-hero, .ep-blog-article-header { padding: 54px 0 46px; }

    .ep-blog-hero h1, .ep-blog-article-header h1 { font-size: clamp(1.85rem, 7vw, 2.55rem); }

    .ep-blog-card-body { padding: 22px; }

    .ep-blog-article > .ep-blog-container { padding-top: 32px; }

    .ep-blog-content { font-size: 1rem; line-height: 1.85; }

    .ep-blog-cta-box { padding: 30px 22px; }

}

/* Site-theme alignment: original navy background remains unchanged. */

.ep-blog { background: var(--bg-dark, #050816); }

.ep-blog-hero, .ep-blog-article-header {

    padding-top: 190px;

    background: radial-gradient(circle at 15% 15%, rgba(30,79,168,.16), transparent 35%),

                radial-gradient(circle at 85% 20%, rgba(47,168,79,.10), transparent 36%),

                var(--bg-dark, #050816);

}

.ep-blog-hero h1, .ep-blog-article-header h1 {font-family:'Montserrat',sans-serif;font-weight:900;letter-spacing:-.035em;}

.ep-blog-card { border-radius:28px; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }

.ep-blog-card-body {padding:26px;}

.ep-blog-card-title {font-weight:900;}

.ep-blog-article {background:var(--bg-dark-alt,#0b1226);}

.ep-blog-article .ep-blog-container--narrow {max-width:900px;}

.ep-blog-content {font-size:1.065rem;line-height:1.95;color:#cbd5e1;}

.ep-blog-content h2 {font-size:clamp(1.45rem,2.5vw,1.9rem);font-weight:900;letter-spacing:-.025em;}

.ep-blog-content h3 {font-size:clamp(1.2rem,2vw,1.45rem);font-weight:800;}

.ep-blog-content p {margin-bottom:1.45em;}

.ep-blog-content li {padding-left:4px;}

.ep-blog-content a {color:var(--ep-cyan);text-decoration-thickness:1px;}

.ep-blog-content a:hover {color:#fff;}

.ep-blog-featured {border-radius:28px;}

.ep-blog-cta-box {background:linear-gradient(110deg,rgba(30,79,168,.19),rgba(47,168,79,.12),rgba(212,175,55,.11));}

.ep-blog-cta-box h2,.ep-blog-related-title {font-weight:900;}

.ep-blog-chip.is-active {background:linear-gradient(90deg,rgba(30,79,168,.32),rgba(47,168,79,.18));}

.ep-blog-page-link.is-current {background:linear-gradient(90deg,#1E4FA8,#2FA84F,#D4AF37);color:#fff!important;}

@media(max-width:640px){

 .ep-blog-hero,.ep-blog-article-header {padding-top:150px;}

 .ep-blog-card-body {padding:20px;}

 .ep-blog-content {font-size:1rem;line-height:1.85;}

 .ep-blog-article-header h1 {font-size:clamp(1.8rem,8vw,2.5rem);}

}

/* ExpressPress public blog — article text contrast fix.

   Load AFTER main style.css and blog.css. No layout/background changes. */

.ep-blog-article .ep-blog-article-header h1,

.ep-blog-article-header h1,

.ep-blog-article .ep-blog-content h1,

.ep-blog-article .ep-blog-content h2,

.ep-blog-article .ep-blog-content h3,

.ep-blog-article .ep-blog-content h4,

.ep-blog-article .ep-blog-content h5,

.ep-blog-article .ep-blog-content h6,

.ep-blog-content h1,

.ep-blog-content h2,

.ep-blog-content h3,

.ep-blog-content h4,

.ep-blog-content h5,

.ep-blog-content h6 {

    color: #f7f9ff !important;

    -webkit-text-fill-color: #f7f9ff !important;

}

.ep-blog-article .ep-blog-content p,

.ep-blog-article .ep-blog-content li,

.ep-blog-article .ep-blog-content blockquote,

.ep-blog-content p,

.ep-blog-content li {

    color: #d7e1f0;

}

.ep-blog-article .ep-blog-content strong,

.ep-blog-article .ep-blog-content b,

.ep-blog-content strong,

.ep-blog-content b {

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

    font-weight: 750;

}

.ep-blog-content a {

    color: #7cddf1;

    -webkit-text-fill-color: #7cddf1;

    text-underline-offset: 3px;

}

.ep-blog-content a:hover,

.ep-blog-content a:focus-visible {

    color: #ffffff;

    -webkit-text-fill-color: #ffffff;

}


/* ================================================================
   EXPRESSPRESS — ARTICLE EDITORIAL TYPOGRAPHY (October 2026)
   Scope: individual article only; preserve listing and site chrome.
   ================================================================ */
.ep-blog .ep-blog-article {
    background: var(--bg-dark-alt, #0b1226);
    color: #d7e1f0;
}
.ep-blog .ep-blog-article > .ep-blog-container,
.ep-blog .ep-blog-article .ep-blog-container--narrow {
    max-width: 850px;
}
.ep-blog .ep-blog-article .ep-blog-content {
    max-width: 760px;
    margin-inline: auto;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
    color: #cbd5e1;
    overflow-wrap: break-word;
}
.ep-blog .ep-blog-article .ep-blog-content > *:first-child { margin-top: 0; }
.ep-blog .ep-blog-article .ep-blog-content p {
    margin: 0 0 1.3rem;
    color: #cbd5e1;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}
.ep-blog .ep-blog-article .ep-blog-content h1,
.ep-blog .ep-blog-article .ep-blog-content h2,
.ep-blog .ep-blog-article .ep-blog-content h3,
.ep-blog .ep-blog-article .ep-blog-content h4,
.ep-blog .ep-blog-article .ep-blog-content h5,
.ep-blog .ep-blog-article .ep-blog-content h6 {
    font-family: 'Montserrat', system-ui, sans-serif;
    color: #f7f9ff !important;
    -webkit-text-fill-color: #f7f9ff !important;
    letter-spacing: -.025em;
    line-height: 1.35;
    font-weight: 700;
    text-wrap: pretty;
}
.ep-blog .ep-blog-article .ep-blog-content h1 { font-size: clamp(1.85rem, 3vw, 2.3rem); margin: 0 0 1.25rem; }
.ep-blog .ep-blog-article .ep-blog-content h2 {
    font-size: clamp(1.4rem, 2.3vw, 1.7rem);
    margin: 2.2rem 0 .85rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.ep-blog .ep-blog-article .ep-blog-content h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); margin: 1.75rem 0 .7rem; }
.ep-blog .ep-blog-article .ep-blog-content h4 { font-size: 1.05rem; margin: 1.4rem 0 .6rem; }
.ep-blog .ep-blog-article .ep-blog-content h5,
.ep-blog .ep-blog-article .ep-blog-content h6 { font-size: 1rem; margin: 1.25rem 0 .55rem; }
.ep-blog .ep-blog-article .ep-blog-content strong,
.ep-blog .ep-blog-article .ep-blog-content b {
    color: #f5f7fc !important;
    -webkit-text-fill-color: #f5f7fc !important;
    font-weight: 650;
}
.ep-blog .ep-blog-article .ep-blog-content ul,
.ep-blog .ep-blog-article .ep-blog-content ol {
    margin: .35rem 0 1.4rem;
    padding-left: 1.5rem;
    color: #cbd5e1;
}
.ep-blog .ep-blog-article .ep-blog-content ul { list-style: disc outside; }
.ep-blog .ep-blog-article .ep-blog-content ol { list-style: decimal outside; }
.ep-blog .ep-blog-article .ep-blog-content li { margin: 0 0 .5rem; padding-left: .15rem; line-height: 1.8; color: #cbd5e1; }
.ep-blog .ep-blog-article .ep-blog-content li::marker { color: #7cddf1; }
.ep-blog .ep-blog-article .ep-blog-content a {
    color: #7cddf1 !important;
    -webkit-text-fill-color: #7cddf1 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.ep-blog .ep-blog-article .ep-blog-content a:hover,
.ep-blog .ep-blog-article .ep-blog-content a:focus-visible {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
.ep-blog .ep-blog-article .ep-blog-content blockquote {
    margin: 1.65rem 0;
    padding: 18px 22px;
    border-left: 3px solid #d4af37;
    border-radius: 0 12px 12px 0;
    background: rgba(255,255,255,.045);
    color: #e0e8f4;
    font-style: normal;
}
.ep-blog .ep-blog-article .ep-blog-content blockquote p:last-child { margin-bottom: 0; }
.ep-blog .ep-blog-article .ep-blog-content img { max-width: 100%; height: auto; border-radius: 12px; }
.ep-blog .ep-blog-article .ep-blog-content table { max-width: 100%; }
.ep-blog .ep-blog-article .ep-blog-content th { color: #f7f9ff; background: rgba(255,255,255,.09); }
.ep-blog .ep-blog-article .ep-blog-content td { color: #d7e1f0; }
@media (max-width: 640px) {
    .ep-blog .ep-blog-article .ep-blog-content { font-size: 15px; line-height: 1.8; }
    .ep-blog .ep-blog-article .ep-blog-content h2 { margin-top: 1.85rem; }
    .ep-blog .ep-blog-article .ep-blog-content h3 { margin-top: 1.4rem; }
    .ep-blog .ep-blog-article .ep-blog-content p { margin-bottom: 1.15rem; }
}
