/* =========================================================
   MYPROFITDAY BLOG
========================================================= */

.mpd-blog{
    min-height:100vh;
    background:#07111F;
    color:#F8FAFC;
}

.mpd-blog *,
.mpd-blog *::before,
.mpd-blog *::after{
    box-sizing:border-box;
}

.mpd-blog-container{
    width:calc(100% - 48px);
    max-width:1180px;
    margin:0 auto;
}


/* =========================================================
   HERO
========================================================= */

.mpd-blog-hero{
    position:relative;
    overflow:hidden;

    padding:125px 0 105px;

    text-align:center;

    border-bottom:1px solid rgba(148,163,184,.08);
}


/* Soft green atmosphere */

.mpd-blog-hero::before{
    content:"";

    position:absolute;

    width:620px;
    height:420px;

    top:-210px;
    left:50%;

    transform:translateX(-50%);

    border-radius:50%;

    background:rgba(34,197,94,.10);

    filter:blur(110px);

    pointer-events:none;
}


.mpd-blog-hero .mpd-blog-container{
    position:relative;
    z-index:2;

    max-width:820px;
}


.mpd-blog-eyebrow{
    display:inline-block;

    margin-bottom:18px;

    color:#22C55E;

    font-size:12px;
    line-height:1;
    font-weight:800;

    letter-spacing:.17em;
    text-transform:uppercase;
}


.mpd-blog-hero h1{
    max-width:760px;

    margin:0 auto;

    color:#F8FAFC;

    font-size:clamp(48px,6vw,76px);
    line-height:.98;
    font-weight:800;

    letter-spacing:-.055em;
}


.mpd-blog-hero h1 span{
    color:#22C55E;
}


.mpd-blog-hero p{
    max-width:650px;

    margin:27px auto 0;

    color:#94A3B8;

    font-size:17px;
    line-height:1.75;
}


/* =========================================================
   BLOG CONTENT
========================================================= */

.mpd-blog-content{
    padding:28px 0 120px;
}


.mpd-blog-section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;

    gap:30px;

    margin-bottom:40px;
}


.mpd-blog-section-heading .mpd-blog-eyebrow{
    margin-bottom:10px;
}


.mpd-blog-section-heading h2{
    margin:0;

    color:#F8FAFC;

    font-size:32px;
    line-height:1.15;
    font-weight:750;

    letter-spacing:-.035em;
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.mpd-blog-grid{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:24px;
}


/* =========================================================
   ARTICLE CARD
========================================================= */

.mpd-blog-card{
    min-width:0;

    overflow:hidden;

    background:#0A1726;

    border:1px solid rgba(148,163,184,.11);
    border-radius:20px;

    box-shadow:
        0 18px 50px rgba(0,0,0,.15);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.mpd-blog-card:hover{
    transform:translateY(-5px);

    border-color:rgba(34,197,94,.27);

    box-shadow:
        0 25px 65px rgba(0,0,0,.27);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.mpd-blog-card-image{
    position:relative;

    display:block;

    width:100%;
    aspect-ratio:16 / 10;

    overflow:hidden;

    background:#0D1B2A;

    text-decoration:none;
}


.mpd-blog-card-image::after{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(7,17,31,.18) 100%
        );

    pointer-events:none;
}


.mpd-blog-card-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .45s ease;
}


.mpd-blog-card:hover
.mpd-blog-card-image img{
    transform:scale(1.035);
}


/* Placeholder when article has no featured image */

.mpd-blog-placeholder{
    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#22C55E;

    font-size:42px;

    background:
        radial-gradient(
            circle at center,
            rgba(34,197,94,.13),
            transparent 55%
        ),
        #0B1827;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.mpd-blog-card-content{
    padding:25px 25px 23px;
}


.mpd-blog-category{
    margin-bottom:13px;

    color:#22C55E;

    font-size:10px;
    line-height:1;
    font-weight:800;

    letter-spacing:.14em;

    text-transform:uppercase;
}


.mpd-blog-card-title{
    margin:0 0 14px;

    font-size:21px;
    line-height:1.3;
    font-weight:750;

    letter-spacing:-.025em;
}


.mpd-blog-card-title a{
    color:#F8FAFC;

    text-decoration:none;

    transition:color .2s ease;
}


.mpd-blog-card-title a:hover{
    color:#22C55E;
}


.mpd-blog-excerpt{
    min-height:72px;

    color:#94A3B8;

    font-size:14px;
    line-height:1.7;
}


/* =========================================================
   META
========================================================= */

.mpd-blog-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    margin-top:22px;
    padding-top:18px;

    border-top:
        1px solid rgba(148,163,184,.09);
}


.mpd-blog-meta span{
    color:#64748B;

    font-size:12px;
}


.mpd-blog-meta a{
    color:#CBD5E1;

    font-size:12px;
    font-weight:700;

    text-decoration:none;

    transition:
        color .2s ease,
        transform .2s ease;
}


.mpd-blog-meta a:hover{
    color:#22C55E;
}


/* =========================================================
   PAGINATION
========================================================= */

.mpd-blog-pagination{
    margin-top:60px;
}


.mpd-blog-pagination .nav-links{
    display:flex;
    align-items:center;
    justify-content:center;

    flex-wrap:wrap;

    gap:8px;
}


.mpd-blog-pagination .page-numbers{
    min-width:42px;
    height:42px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 14px;

    border:1px solid rgba(148,163,184,.12);
    border-radius:10px;

    background:#0A1726;

    color:#94A3B8;

    font-size:13px;
    font-weight:650;

    text-decoration:none;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.mpd-blog-pagination
.page-numbers:hover{
    color:#F8FAFC;

    border-color:
        rgba(34,197,94,.30);
}


.mpd-blog-pagination
.page-numbers.current{
    background:#22C55E;

    border-color:#22C55E;

    color:#04110A;
}


/* =========================================================
   EMPTY BLOG
========================================================= */

.mpd-blog-empty{
    max-width:650px;

    margin:40px auto 0;
    padding:70px 35px;

    text-align:center;

    background:#0A1726;

    border:
        1px solid rgba(148,163,184,.10);

    border-radius:22px;
}


.mpd-blog-empty-icon{
    width:55px;
    height:55px;

    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:15px;

    background:
        rgba(34,197,94,.10);

    color:#22C55E;

    font-size:25px;
}


.mpd-blog-empty h2{
    margin:0 0 12px;

    color:#F8FAFC;

    font-size:26px;
}


.mpd-blog-empty p{
    max-width:450px;

    margin:0 auto;

    color:#94A3B8;

    font-size:14px;
    line-height:1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1000px){

    .mpd-blog-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .mpd-blog-container{
        width:calc(100% - 32px);
    }


    .mpd-blog-hero{
        padding:90px 0 75px;
    }


    .mpd-blog-hero h1{
        font-size:clamp(43px,13vw,58px);
    }


    .mpd-blog-hero p{
        margin-top:22px;

        font-size:15px;
    }


    .mpd-blog-content{
        padding:65px 0 90px;
    }


    .mpd-blog-section-heading{
        margin-bottom:30px;
    }


    .mpd-blog-section-heading h2{
        font-size:27px;
    }


    .mpd-blog-grid{
        grid-template-columns:1fr;

        gap:20px;
    }


    .mpd-blog-excerpt{
        min-height:0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .mpd-blog-hero{
        padding:75px 0 65px;
    }


    .mpd-blog-card-content{
        padding:22px 20px;
    }


    .mpd-blog-meta{
        align-items:flex-start;
        flex-direction:column;

        gap:9px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion:reduce){

    .mpd-blog-card,
    .mpd-blog-card-image img{
        transition:none;
    }

}
/* =========================================================
   BLOG HEADER
========================================================= */

.mpd-blog-header{
    position:relative;
    z-index:100;

    width:100%;

    background:#07111F;

    border-bottom:
        1px solid rgba(148,163,184,.08);
}


.mpd-blog-header-inner{
    width:calc(100% - 20px);
    min-height:64px;
    gap:8px;
}

.mpd-blog-logo{
    font-size:13px;
    gap:6px;
    white-space:nowrap;
}

.mpd-blog-logo-image{
    width:27px;
    height:27px;
    border-radius:7px;
}

.mpd-blog-nav{
    gap:1px;
}

.mpd-blog-nav a{
    padding:7px 5px;
    font-size:10px;
    white-space:nowrap;
}


/* =========================================================
   RISK DISCLAIMER
========================================================= */

.mpd-risk-disclaimer{
    padding:32px 0;

    background:#081421;

    border-top:
        1px solid rgba(148,163,184,.08);

    border-bottom:
        1px solid rgba(148,163,184,.08);
}


.mpd-risk-disclaimer .mpd-blog-container{
    max-width:950px;

    text-align:center;
}


.mpd-risk-disclaimer strong{
    display:block;

    margin-bottom:9px;

    color:#CBD5E1;

    font-size:12px;
    font-weight:750;

    letter-spacing:.04em;
}


.mpd-risk-disclaimer p{
    margin:0;

    color:#64748B;

    font-size:11px;
    line-height:1.7;
}


/* =========================================================
   FOOTER
========================================================= */

.mpd-blog-footer{
    padding:27px 0;

    background:#07111F;
}


.mpd-blog-footer-inner{
    width:calc(100% - 48px);
    max-width:1180px;

    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:25px;
}


.mpd-blog-footer-brand{
    display:flex;
    align-items:center;

    gap:18px;
}


.mpd-blog-footer-brand a{
    color:#F8FAFC;

    font-size:14px;
    font-weight:800;

    text-decoration:none;
}


.mpd-blog-footer-brand span{
    color:#475569;

    font-size:11px;
}


.mpd-blog-footer-links{
    display:flex;
    align-items:center;

    gap:22px;
}


.mpd-blog-footer-links a{
    color:#64748B;

    font-size:11px;

    text-decoration:none;

    transition:color .2s ease;
}


.mpd-blog-footer-links a:hover{
    color:#22C55E;
}


/* =========================================================
   HEADER + FOOTER MOBILE
========================================================= */

@media (max-width:768px){

    .mpd-blog-header-inner{
        width:calc(100% - 32px);

        min-height:68px;
    }


    .mpd-blog-nav{
        gap:2px;
    }


    .mpd-blog-nav a{
        padding:8px 7px;

        font-size:11px;
    }



    .mpd-blog-footer-inner{
        width:calc(100% - 32px);

        flex-direction:column;

        text-align:center;
    }


    .mpd-blog-footer-brand{
        flex-direction:column;

        gap:5px;
    }

}
/* =========================================================
   MYPROFITDAY BLOG - HEADER
========================================================= */

.mpd-blog-header{
    position:relative;
    z-index:100;

    width:100%;

    background:#07111F;

    border-bottom:1px solid rgba(148,163,184,.08);
}


.mpd-blog-header-inner{
    width:calc(100% - 48px);
    max-width:1180px;

    min-height:76px;

    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;
}


/* =========================================================
   LOGO
========================================================= */

.mpd-blog-logo{
    display:flex;
    align-items:center;

    gap:10px;

    color:#F8FAFC;

    font-size:17px;
    font-weight:800;

    text-decoration:none;
}


.mpd-blog-logo:hover{
    color:#F8FAFC;
}


.mpd-blog-logo-image{
    display:block;

    width:36px;
    height:36px;

    object-fit:cover;

    border-radius:9px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.mpd-blog-nav{
    display:flex;
    align-items:center;

    gap:8px;
}


.mpd-blog-nav a{
    padding:9px 12px;

    border-radius:9px;

    color:#94A3B8;

    font-size:13px;
    font-weight:600;

    text-decoration:none;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.mpd-blog-nav a:hover{
    color:#F8FAFC;

    background:rgba(255,255,255,.035);
}


.mpd-blog-nav a.active{
    color:#F8FAFC;

    background:#0D1B2A;

    border:1px solid rgba(148,163,184,.12);
}


/* =========================================================
   TRADING RISK DISCLAIMER
========================================================= */

.mpd-risk-disclaimer{
    padding:34px 0;

    background:#081421;

    border-top:1px solid rgba(148,163,184,.08);
    border-bottom:1px solid rgba(148,163,184,.08);
}


.mpd-risk-disclaimer .mpd-blog-container{
    max-width:900px;

    text-align:center;
}


.mpd-risk-disclaimer strong{
    display:block;

    margin-bottom:9px;

    color:#CBD5E1;

    font-size:12px;
    font-weight:750;

    letter-spacing:.04em;
}


.mpd-risk-disclaimer p{
    margin:0;

    color:#64748B;

    font-size:11px;
    line-height:1.75;
}


/* =========================================================
   FOOTER
========================================================= */

.mpd-blog-footer{
    padding:27px 0;

    background:#07111F;
}


.mpd-blog-footer-inner{
    width:calc(100% - 48px);
    max-width:1180px;

    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:25px;
}


.mpd-blog-footer-brand{
    display:flex;
    align-items:center;

    gap:18px;
}


.mpd-blog-footer-brand a{
    color:#F8FAFC;

    font-size:14px;
    font-weight:800;

    text-decoration:none;
}


.mpd-blog-footer-brand a:hover{
    color:#22C55E;
}


.mpd-blog-footer-brand span{
    color:#475569;

    font-size:11px;
}


.mpd-blog-footer-links{
    display:flex;
    align-items:center;

    gap:22px;
}


.mpd-blog-footer-links a{
    color:#64748B;

    font-size:11px;

    text-decoration:none;

    transition:color .2s ease;
}


.mpd-blog-footer-links a:hover{
    color:#22C55E;
}


/* =========================================================
   HEADER + FOOTER MOBILE
========================================================= */

@media (max-width:768px){

    .mpd-blog-header-inner{
        width:calc(100% - 32px);

        min-height:68px;
    }


    .mpd-blog-logo{
        font-size:15px;
    }


    .mpd-blog-logo-image{
        width:32px;
        height:32px;

        border-radius:8px;
    }


    .mpd-blog-nav{
        gap:2px;
    }


    .mpd-blog-nav a{
        padding:8px 7px;

        font-size:11px;
    }


    .mpd-risk-disclaimer{
        padding:30px 0;
    }


    .mpd-risk-disclaimer p{
        font-size:10px;
        line-height:1.7;
    }


    .mpd-blog-footer-inner{
        width:calc(100% - 32px);

        flex-direction:column;

        text-align:center;
    }


    .mpd-blog-footer-brand{
        flex-direction:column;

        gap:5px;
    }

}
/* =========================================================
   MYPROFITDAY - SINGLE BLOG ARTICLE
========================================================= */

.mpd-single{
    min-height:100vh;

    padding:0 24px 110px;

    background:#07111F;
    color:#F8FAFC;
}


/* =========================================================
   ARTICLE HERO / TITLE
========================================================= */

.mpd-single-hero{
    padding:100px 0 55px;

    text-align:center;
}


.mpd-single-title-wrap{
    width:100%;
    max-width:850px;

    margin:0 auto;
}


.mpd-single-category{
    display:inline-block;

    margin-bottom:20px;

    color:#22C55E;

    font-size:11px;
    line-height:1;
    font-weight:800;

    letter-spacing:.16em;
    text-transform:uppercase;
}


.mpd-single-hero h1{
    margin:0;

    color:#F8FAFC;

    font-size:clamp(42px,5vw,66px);
    line-height:1.08;
    font-weight:800;

    letter-spacing:-.045em;
}

/* =========================================================
   FEATURED IMAGE - FIXED 16:9
========================================================= */

.mpd-single-featured{
    width:100%;
    max-width:850px;

    aspect-ratio:16 / 9;

    margin:0 auto 55px;

    overflow:hidden;

    border:1px solid rgba(148,163,184,.12);
    border-radius:18px;

    background:#0A1726;

    box-shadow:
        0 25px 65px rgba(0,0,0,.22);
}


.mpd-single-featured img{
    display:block;

    width:100%;
    height:100%;

    margin:0;

    object-fit:cover;
    object-position:center;
}

/* =========================================================
   ARTICLE CONTENT
========================================================= */

.mpd-single-content{
    width:100%;
    max-width:760px;

    margin:0 auto;

    color:#CBD5E1;

    font-size:17px;
    line-height:1.85;
}


/* Paragraphs */

.mpd-single-content p{
    margin:0 0 27px;
}


/* =========================================================
   HEADINGS
========================================================= */

.mpd-single-content h2{
    margin:60px 0 20px;

    color:#F8FAFC;

    font-size:32px;
    line-height:1.2;
    font-weight:800;

    letter-spacing:-.035em;
}


.mpd-single-content h3{
    margin:42px 0 16px;

    color:#F8FAFC;

    font-size:24px;
    line-height:1.3;
    font-weight:750;

    letter-spacing:-.025em;
}


.mpd-single-content h4{
    margin:35px 0 14px;

    color:#F8FAFC;

    font-size:19px;
    line-height:1.35;
    font-weight:750;
}


/* =========================================================
   LINKS
========================================================= */

.mpd-single-content a{
    color:#22C55E;

    font-weight:650;

    text-decoration:underline;
    text-decoration-color:rgba(34,197,94,.35);
    text-underline-offset:3px;

    transition:
        color .2s ease,
        text-decoration-color .2s ease;
}


.mpd-single-content a:hover{
    color:#4ADE80;

    text-decoration-color:#4ADE80;
}


/* =========================================================
   LISTS
========================================================= */

.mpd-single-content ul,
.mpd-single-content ol{
    margin:0 0 30px;
    padding-left:27px;
}


.mpd-single-content li{
    margin-bottom:10px;
    padding-left:5px;
}


.mpd-single-content li::marker{
    color:#22C55E;
}


/* =========================================================
   IMAGES INSIDE ARTICLES
========================================================= */

.mpd-single-content img{
    display:block;

    max-width:100%;
    height:auto;

    margin:38px auto;

    border-radius:16px;
}


.mpd-single-content figure{
    max-width:100%;

    margin:42px 0;
}


.mpd-single-content figure img{
    margin:0;
}


.mpd-single-content figcaption{
    margin-top:10px;

    color:#64748B;

    font-size:12px;
    line-height:1.6;

    text-align:center;
}


/* =========================================================
   BLOCKQUOTES
========================================================= */

.mpd-single-content blockquote{
    position:relative;

    margin:42px 0;
    padding:25px 28px;

    background:#0A1726;

    border:1px solid rgba(148,163,184,.10);
    border-left:3px solid #22C55E;

    border-radius:0 14px 14px 0;

    color:#CBD5E1;
}


.mpd-single-content blockquote p:last-child{
    margin-bottom:0;
}


/* =========================================================
   STRONG / EMPHASIS
========================================================= */

.mpd-single-content strong{
    color:#F8FAFC;

    font-weight:750;
}


/* =========================================================
   SEPARATORS
========================================================= */

.mpd-single-content hr{
    height:1px;

    margin:55px 0;

    border:0;

    background:rgba(148,163,184,.12);
}


/* =========================================================
   TABLES
========================================================= */

.mpd-single-content table{
    width:100%;

    margin:40px 0;

    border-collapse:collapse;

    overflow:hidden;

    background:#0A1726;

    border:
        1px solid rgba(148,163,184,.12);

    border-radius:14px;
}


.mpd-single-content th,
.mpd-single-content td{
    padding:14px 16px;

    border-bottom:
        1px solid rgba(148,163,184,.10);

    text-align:left;
}


.mpd-single-content th{
    color:#F8FAFC;

    background:#0D1B2A;

    font-size:13px;
    font-weight:750;
}


.mpd-single-content td{
    color:#94A3B8;

    font-size:14px;
}


/* =========================================================
   CODE
========================================================= */

.mpd-single-content code{
    padding:3px 6px;

    background:#0D1B2A;

    border-radius:5px;

    color:#4ADE80;

    font-size:.88em;
}


/* =========================================================
   PAGE BREAKS
========================================================= */

.mpd-single-pages{
    margin-top:45px;
    padding-top:25px;

    border-top:
        1px solid rgba(148,163,184,.10);

    color:#94A3B8;
}


/* =========================================================
   BACK TO BLOG
========================================================= */

.mpd-single-back{
    width:100%;
    max-width:760px;

    margin:65px auto 0;
    padding-top:30px;

    border-top:
        1px solid rgba(148,163,184,.10);
}


.mpd-single-back a{
    display:inline-flex;
    align-items:center;

    padding:11px 16px;

    background:#0A1726;

    border:
        1px solid rgba(148,163,184,.12);

    border-radius:10px;

    color:#CBD5E1;

    font-size:13px;
    font-weight:700;

    text-decoration:none;

    transition:
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.mpd-single-back a:hover{
    color:#22C55E;

    border-color:
        rgba(34,197,94,.30);

    transform:translateX(-3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .mpd-single{
        padding:
            0 16px 80px;
    }


    .mpd-single-hero{
        padding:
            70px 0 40px;
    }


    .mpd-single-hero h1{
        font-size:
            clamp(36px,10vw,50px);

        line-height:1.08;
    }


    .mpd-single-category{
        margin-bottom:16px;

        font-size:10px;
    }


    .mpd-single-featured{
        margin-bottom:45px;

        border-radius:16px;
    }


    .mpd-single-content{
        font-size:16px;
        line-height:1.8;
    }


    .mpd-single-content h2{
        margin-top:48px;

        font-size:28px;
    }


    .mpd-single-content h3{
        margin-top:36px;

        font-size:22px;
    }


    .mpd-single-content blockquote{
        padding:20px;

        margin:35px 0;
    }


    .mpd-single-back{
        margin-top:50px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .mpd-single-hero{
        padding:
            60px 0 35px;
    }


    .mpd-single-hero h1{
        font-size:36px;
    }


    .mpd-single-content{
        font-size:15px;
    }


    .mpd-single-content h2{
        font-size:25px;
    }


    .mpd-single-content h3{
        font-size:20px;
    }

}